Merge branch 'gdb-9-branch' into amd-staging-rocgdb-9
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2020-02-07 Tom Tromey <tromey@adacore.com>
2
3 PR breakpoints/24915:
4 * gdb.base/annotate-symlink.exp: Use setup_xfail.
5
6 2020-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
7
8 * gdb.base/backtrace.c: New file.
9 * gdb.base/backtrace.exp: New file.
10
11 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
12
13 * gdb.base/jit-reader.exp (jit_reader_test): Rename
14 jit_function_00 to jit_function_stack_mangle.
15 * gdb.base/jithost.c (jit_function_t): Rename to...
16 (jit_function_stack_mangle_t): ... this.
17 (jit_function_add_t): New typedef.
18 (jit_function_00_code): Rename to...
19 (jit_function_stack_mangle_code): ... this, make static.
20 (jit_function_add_code): New.
21 (main): Generate "add" function and call it. Adjust to changes
22 in jithost_abi.
23 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
24 (struct jithost_abi) <begin, end>: Remove fields.
25 <object, function_stack_mangle, function_add>: New fields.
26 * gdb.base/jitreader.c (struct reader_state) <code_begin,
27 code_end>: Remove fields.
28 <func_stack_mangle>: New field.
29 (read_debug_info): Adjust to renaming, create block for "add"
30 function.
31 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
32
33 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
34
35 * gdb.base/options.exp: Add -raw-values in the print completion list.
36 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
37
38 2019-12-10 Kevin Buettner <kevinb@redhat.com>
39
40 * gdb.threads/omp-par-scope.c: New file.
41 * gdb/threads/omp-par-scope.exp: New file.
42
43 2019-12-10 Kevin Buettner <kevinb@redhat.com>
44
45 * lib/gdb.exp (support_nested_function_tests): New proc.
46
47 2019-12-10 Kevin Buettner <kevinb@redhat.com>
48
49 * lib/gdb.exp (gdb_compile_openmp): New proc.
50 (build_executable_from_specs): Add an "openmp" option.
51 (gdb_compile_pthreads): Add non-executable case.
52
53 2019-12-10 Tom Tromey <tromey@adacore.com>
54
55 * gdb.ada/unchecked_union.exp: New file.
56 * gdb.ada/unchecked_union/pck.adb: New file.
57 * gdb.ada/unchecked_union/pck.ads: New file.
58 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
59 * gdb-utils.exp (string_to_regexp): Also quote "?".
60
61 2019-12-10 George Barrett <bob@bob131.so>
62
63 Test scripted probe breakpoints.
64 * gdb.guile/scm-breakpoint.c (main): Add probe point.
65 * gdb.python/py-breakpoint.c (main): Likewise.
66 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
67 specifier test.
68 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
69
70 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
71
72 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
73 an rvalue parameter.
74 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
75 parameter.
76
77 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
78
79 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
80 modules.
81
82 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
83
84 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
85 broken version of GCC.
86
87 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
88
89 * gdb.fortran/info-modules.exp: Rewrite to make use of new
90 sym-info-cmds library.
91 * gdb.fortran/info-types.exp: Likewise.
92 * lib/sym-info-cmds.exp: New file.
93
94 2019-12-08 Tom de Vries <tdevries@suse.de>
95
96 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
97
98 2019-12-07 Keith Seitz <keiths@redhat.com>
99
100 * gdb.base/corefile-buildid-shlib-shr.c: New file.
101 * gdb.base/corefile-buildid-shlib.c: New file.
102 * gdb.base/corefile-buildid.c: New file.
103 * gdb.base/corefile-buildid.exp: New file.
104
105 2019-12-06 Tom de Vries <tdevries@suse.de>
106
107 * gdb.dwarf2/varval.exp: Add decl before def test.
108
109 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
110
111 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
112
113 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
114
115 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
116 CV and reference conversion for overload resolution.
117 * gdb.cp/rvalue-ref-overload.exp: Test it.
118
119 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
120
121 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
122 * gdb.base/frameapply.exp: Test faas without command.
123
124 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
125
126 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
127 Fortran tests.
128 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
129 order.
130
131 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
132
133 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
134 casting to type with no kind specified.
135 (test_basic_parsing_of_type_kinds): Additional tests for types
136 with no kind specified, and add tests for single/double
137 precision/complex types.
138
139 2019-12-04 Tom Tromey <tromey@adacore.com>
140
141 * gdb.base/endianity.c (struct other) <x>: New field.
142 (main): Initialize it.
143 * gdb.base/endianity.exp: Update.
144
145 2019-12-04 Tom Tromey <tromey@adacore.com>
146
147 * gdb.ada/scalar_storage/storage.adb: New file.
148 * gdb.ada/scalar_storage/pck.adb: New file.
149 * gdb.ada/scalar_storage/pck.ads: New file.
150 * gdb.ada/scalar_storage.exp: New file.
151
152 2019-12-04 Tom Tromey <tromey@adacore.com>
153
154 * gdb.base/endianity.c (struct otherendian) <f>: New field.
155 (main): Initialize it.
156 * gdb.base/endianity.exp: Update.
157
158 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
159
160 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
161
162 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
163
164 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
165 -symbol-info-module-functions and -symbol-info-module-variables.
166
167 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
168
169 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
170
171 2019-12-01 Richard Bunt <richard.bunt@arm.com>
172 Andrew Burgess <andrew.burgess@embecosm.com>
173
174 * gdb.fortran/derived-type-striding.exp: New file.
175 * gdb.fortran/derived-type-striding.f90: New file.
176 * gdb.fortran/array-slices.exp: New file.
177 * gdb.fortran/array-slices.f90: New file.
178
179 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
180
181 * gdb.base/define.exp: Test . in command names.
182 * gdb.base/setshow.exp: Update test, as . is now part of
183 command name.
184
185 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
186
187 * gdb.base/define-prefix.exp: New file.
188
189 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
190
191 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
192 compile.
193 (skip_btrace_pt_tests): Likewise.
194
195 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
196
197 * gdb.fortran/info-modules.exp: Compile source files in correct
198 order.
199
200 2019-11-27 Kevin Buettner <kevinb@redhat.com>
201
202 * gdb.dwarf2/imported-unit.exp: New file.
203 * gdb.dwarf2/imported-unit.c: New file.
204
205 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
206
207 * gdb.mi/mi-fortran-modules-2.f90: New file.
208 * gdb.mi/mi-fortran-modules.exp: New file.
209 * gdb.mi/mi-fortran-modules.f90: New file.
210
211 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
212
213 * gdb.mi/mi-sym-info-1.c: New file.
214 * gdb.mi/mi-sym-info-2.c: New file.
215 * gdb.mi/mi-sym-info.exp: New file.
216
217 2019-11-22 Tom Tromey <tromey@adacore.com>
218
219 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
220 * gdb.ada/tasks/foo.adb: Add another stopping location.
221
222 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
223
224 * gdb.base/endianity.c: New test.
225 * gdb.base/endianity.exp: New file.
226
227 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
228
229 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
230
231 2019-11-21 Tom de Vries <tdevries@suse.de>
232
233 PR gdb/24956
234 * gdb.base/ui-redirect.exp: Test output of user-defined command.
235
236 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
237
238 * gdb.python/py-progspace.exp: Add missing parentheses on some
239 'print' commands.
240
241 2019-11-19 Tom Tromey <tom@tromey.com>
242
243 * gdb.tui/winheight.exp: New file.
244
245 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
246
247 * gdb.base/ctf-whatis.c: Delete.
248 * gdb.base/ctf-whatis.exp: Delete.
249 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
250
251 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
252
253 * gdb.base/ctf-cvexpr.exp: Delete.
254 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
255
256 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
257
258 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
259 the compiler. Clean up header comment a little.
260 * gdb.base/ctf-ptype.exp: Likewise.
261 * gdb.base/ctf-whatis.exp: Likewise.
262 * lib/gdb.exp (skip_ctf_tests): New proc.
263
264 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
265
266 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
267 * gdb.tui/corefile-run.exp: New file.
268
269 2019-11-14 Tom Tromey <tromey@adacore.com>
270
271 * gdb.base/gdbvars.exp (test_convenience_variables): Add
272 regression tests.
273
274 2019-11-12 Tom Tromey <tom@tromey.com>
275
276 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
277 after any command. Expect prompt after WAIT_FOR is seen.
278 (enter_tui): Enable resize messages.
279 (command): Expect command in output.
280 (get_line): Avoid error when cursor appears to be off-screen.
281 (dump_screen): Include screen size in title.
282 (_do_resize): New proc, from "resize".
283 (resize): Rewrite. Do resize in two steps.
284 * gdb.tui/empty.exp (layouts): Fix entries.
285 (check_boxes): Remove xfail.
286 (check_text): Dump screen on failure.
287
288 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
289
290 * gdb.python/py-symbol.exp: Add test for
291 gdb.lookup_static_symbols.
292
293 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
294
295 * gdb.python/py-symbol.c: Declare and call function from new
296 py-symbol-2.c file.
297 * gdb.python/py-symbol.exp: Compile both source files, and add new
298 tests for gdb.lookup_static_symbol.
299 * gdb.python/py-symbol-2.c: New file.
300
301 2019-11-02 Tom de Vries <tdevries@suse.de>
302
303 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
304 * gdb.base/anon.exp: Same.
305 * gdb.base/auto-connect-native-target.exp: Same.
306 * gdb.base/call-ar-st.exp: Same.
307 * gdb.base/catch-syscall.exp: Same.
308 * gdb.base/commands.exp: Same.
309 * gdb.base/default.exp: Same.
310 * gdb.base/display.exp: Same.
311 * gdb.base/float.exp: Same.
312 * gdb.base/foll-fork.exp: Same.
313 * gdb.base/help.exp: Same.
314 * gdb.base/info-macros.exp: Same.
315 * gdb.base/info-proc.exp: Same.
316 * gdb.base/info-target.exp: Same.
317 * gdb.base/long_long.exp: Same.
318 * gdb.base/macscp.exp: Same.
319 * gdb.base/memattr.exp: Same.
320 * gdb.base/nofield.exp: Same.
321 * gdb.base/pointers.exp: Same.
322 * gdb.base/printcmds.exp: Same.
323 * gdb.base/ptype.exp: Same.
324 * gdb.base/restore.exp: Same.
325 * gdb.base/return.exp: Same.
326 * gdb.base/scope.exp: Same.
327 * gdb.base/set-noassign.exp: Same.
328 * gdb.base/setshow.exp: Same.
329 * gdb.base/shlib-call.exp: Same.
330 * gdb.base/signals.exp: Same.
331 * gdb.base/sigstep.exp: Same.
332 * gdb.base/skip.exp: Same.
333 * gdb.base/solib-symbol.exp: Same.
334 * gdb.base/stap-probe.exp: Same.
335 * gdb.base/step-line.exp: Same.
336 * gdb.base/step-test.exp: Same.
337 * gdb.base/style.exp: Same.
338 * gdb.base/varargs.exp: Same.
339 * gdb.base/vla-datatypes.exp: Same.
340 * gdb.base/vla-ptr.exp: Same.
341 * gdb.base/vla-sideeffect.exp: Same.
342 * gdb.base/volatile.exp: Same.
343 * gdb.base/watch-cond-infcall.exp: Same.
344 * gdb.base/watchpoint.exp: Same.
345
346 2019-11-02 Tom de Vries <tdevries@suse.de>
347
348 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
349 * gdb.cp/cpexprs.exp: Same.
350 * gdb.cp/except-multi-location.exp: Same.
351 * gdb.cp/exceptprint.exp: Same.
352 * gdb.cp/gdb2384.exp: Same.
353 * gdb.cp/inherit.exp: Same.
354 * gdb.cp/m-static.exp: Same.
355 * gdb.cp/meth-typedefs.exp: Same.
356 * gdb.cp/misc.exp: Same.
357 * gdb.cp/namespace.exp: Same.
358 * gdb.cp/non-trivial-retval.exp: Same.
359 * gdb.cp/overload.exp: Same.
360 * gdb.cp/pr17132.exp: Same.
361 * gdb.cp/re-set-overloaded.exp: Same.
362 * gdb.cp/rvalue-ref-types.exp: Same.
363 * gdb.cp/templates.exp: Same.
364
365 2019-11-01 Luis Machado <luis.machado@linaro.org>
366
367 PR gdb/25124
368
369 * gdb.arch/pr25124.S: New file.
370 * gdb.arch/pr25124.exp: New file.
371
372 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
373
374 * gdb.fortran/info-modules.exp: Update expected results, and add
375 additional tests for 'info module functinos', and 'info module
376 variables'.
377 * gdb.fortran/info-types.exp: Update expected results.
378 * gdb.fortran/info-types.f90: Extend testcase with additional
379 module variables and functions.
380
381 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
382
383 * gdb.fortran/info-modules.exp: New file.
384 * gdb.fortran/info-types.exp: Build with new file.
385 * gdb.fortran/info-types.f90: Include and use new module.
386 * gdb.fortran/info-types-2.f90: New file.
387
388 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
389
390 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
391 * gdb.base/settings.exp: Test all settings types using
392 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
393 that now verifies that the value of "maint show" is the same as
394 returned by the settings functions. Test the type of the
395 maintenance settings.
396 * gdb.base/default.exp: Update show_conv_list.
397
398 2019-10-31 Tom de Vries <tdevries@suse.de>
399
400 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
401 gdb_test.
402 * gdb.arch/amd64-disp-step.exp: Same.
403 * gdb.asm/asm-source.exp: Same.
404 * gdb.btrace/buffer-size.exp: Same.
405 * gdb.btrace/cpu.exp: Same.
406 * gdb.btrace/enable.exp: Same.
407 * gdb.dwarf2/count.exp: Same.
408 * gdb.dwarf2/dw2-ranges-func.exp: Same.
409 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
410 * gdb.fortran/vla-datatypes.exp: Same.
411 * gdb.fortran/vla-history.exp: Same.
412 * gdb.fortran/vla-ptype.exp: Same.
413 * gdb.fortran/vla-value.exp: Same.
414 * gdb.fortran/whatis_type.exp: Same.
415 * gdb.guile/guile.exp: Same.
416 * gdb.multi/tids.exp: Same.
417 * gdb.python/py-finish-breakpoint.exp: Same.
418 * gdb.python/py-framefilter.exp: Same.
419 * gdb.python/py-pp-registration.exp: Same.
420 * gdb.python/py-xmethods.exp: Same.
421 * gdb.python/python.exp: Same.
422 * gdb.server/connect-with-no-symbol-file.exp: Same.
423 * gdb.server/no-thread-db.exp: Same.
424 * gdb.server/run-without-local-binary.exp: Same.
425 * gdb.stabs/weird.exp: Same.
426 * gdb.threads/attach-many-short-lived-threads.exp: Same.
427 * gdb.threads/thread-find.exp: Same.
428 * gdb.threads/tls-shared.exp: Same.
429 * gdb.threads/tls.exp: Same.
430 * gdb.threads/wp-replication.exp: Same.
431 * gdb.trace/ax.exp: Same.
432 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
433
434 2019-10-31 Tom de Vries <tdevries@suse.de>
435
436 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
437 * gdb.ada/array_subscript_addr.exp: Same.
438 * gdb.ada/arrayidx.exp: Same.
439 * gdb.ada/arrayparam.exp: Same.
440 * gdb.ada/arrayptr.exp: Same.
441 * gdb.ada/boolean_expr.exp: Same.
442 * gdb.ada/call_pn.exp: Same.
443 * gdb.ada/complete.exp: Same.
444 * gdb.ada/fixed_cmp.exp: Same.
445 * gdb.ada/fun_addr.exp: Same.
446 * gdb.ada/funcall_param.exp: Same.
447 * gdb.ada/interface.exp: Same.
448 * gdb.ada/mod_from_name.exp: Same.
449 * gdb.ada/null_array.exp: Same.
450 * gdb.ada/packed_array.exp: Same.
451 * gdb.ada/packed_tagged.exp: Same.
452 * gdb.ada/print_chars.exp: Same.
453 * gdb.ada/print_pc.exp: Same.
454 * gdb.ada/ptype_arith_binop.exp: Same.
455 * gdb.ada/ptype_field.exp: Same.
456 * gdb.ada/ptype_tagged_param.exp: Same.
457 * gdb.ada/rec_return.exp: Same.
458 * gdb.ada/ref_tick_size.exp: Same.
459 * gdb.ada/str_ref_cmp.exp: Same.
460 * gdb.ada/taft_type.exp: Same.
461 * gdb.ada/tagged.exp: Same.
462 * gdb.ada/type_coercion.exp: Same.
463 * gdb.ada/uninitialized_vars.exp: Same.
464
465 2019-10-30 Tom de Vries <tdevries@suse.de>
466
467 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
468
469 2019-10-26 Tom de Vries <tdevries@suse.de>
470
471 * gdb.base/bigcore.c: Fix typos in comments.
472 * gdb.base/ctf-ptype.c: Same.
473 * gdb.base/long_long.c: Same.
474 * gdb.dwarf2/dw2-op-out-param.S: Same.
475 * gdb.python/py-evthreads.c: Same.
476 * gdb.reverse/i387-stack-reverse.c: Same.
477 * gdb.trace/tfile.c: Same.
478 * lib/compiler.c: Same.
479 * lib/compiler.cc: Same.
480
481 2019-10-25 Tom de Vries <tdevries@suse.de>
482
483 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
484 gdb_test_multiple calls.
485 * gdb.reverse/sigall-reverse.exp: Same.
486 * gdb.reverse/solib-precsave.exp: Same.
487 * gdb.reverse/solib-reverse.exp: Same.
488 * gdb.reverse/until-precsave.exp: Same.
489 * gdb.reverse/until-reverse.exp: Same.
490
491 2019-10-24 Tom de Vries <tdevries@suse.de>
492
493 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
494 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
495 kfail using -wrap pattern flag and convenience variable
496 gdb_test_name.
497
498 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
499
500 * gdb.python/py-progspace.exp: Add tests for the
501 Progspace.block_for_pc method.
502
503 2019-10-23 Tom Tromey <tom@tromey.com>
504
505 * configure: Rebuild.
506 * aclocal.m4: Use m4_include, not sinclude.
507
508 2019-10-21 Tom de Vries <tdevries@suse.de>
509
510 * gdb.base/infcall-nested-structs.c: Add
511 __attribute__((noinline,noclone)) to all functions.
512 (call_all): Add missing variable initialization. Simplify return value.
513 (breakpt): Increment volatile variable, to prevent call from being
514 optimized out.
515 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
516
517 2019-10-17 Tom de Vries <tdevries@suse.de>
518
519 * gdb.fortran/module.exp: Allow info variables to print info for files
520 other than module.f90.
521
522 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
523
524 * gdb.fortran/module.exp: Extend with 'info variables' test.
525
526 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
527
528 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
529 F77_FOR_TARGET.
530
531 2019-10-16 Tom de Vries <tdevries@suse.de>
532
533 PR tdep/25096
534 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
535
536 2019-10-16 Tom de Vries <tdevries@suse.de>
537
538 PR tdep/24104
539 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
540 Add KFAIL for PR tdep/25096.
541
542 2019-10-16 Tom de Vries <tdevries@suse.de>
543
544 PR testsuite/25059
545 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
546
547 2019-10-16 Tom de Vries <tdevries@suse.de>
548
549 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
550 as signed.
551
552 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
553
554 * gdb.mi/list-thread-groups-available.exp: Read entries one by
555 one instead of increasing timeout.
556
557 2019-10-13 Tom de Vries <tdevries@suse.de>
558
559 PR record/25038
560 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
561 * gdb.reverse/sigall-reverse.exp: Same.
562 * gdb.reverse/solib-precsave.exp: Same.
563 * gdb.reverse/solib-reverse.exp: Same.
564 * gdb.reverse/step-precsave.exp: Same.
565 * gdb.reverse/until-precsave.exp: Same.
566 * gdb.reverse/until-reverse.exp: Same.
567 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
568
569 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
570
571 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
572 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
573 (cmp_struct_05_01, cmp_struct_static_02_01)
574 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
575 comparisons.
576
577 2019-10-10 Tom de Vries <tdevries@suse.de>
578
579 PR testsuite/24888
580 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
581 gnatlink.
582
583 2019-10-09 Tom de Vries <tdevries@suse.de>
584
585 PR testsuite/25048
586 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
587
588 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
589
590 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
591 exceptions due to missing debug information.
592
593 2019-10-07 Tom de Vries <tdevries@suse.de>
594
595 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
596
597 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
598
599 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
600 * gdb.base/annota1.exp: Update to use gdb_test_name.
601
602 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
603
604 * gdb.base/ctf-whatis.exp: New file.
605 * gdb.base/ctf-whatis.c: New file.
606 * gdb.base/ctf-ptype.exp: New file.
607 * gdb.base/ctf-ptype.c: New file.
608 * gdb.base/ctf-constvars.exp: New file.
609 * gdb.base/ctf-constvars.c: New file.
610 * gdb.base/ctf-cvexpr.exp: New file.
611
612 2019-10-04 Tom de Vries <tdevries@suse.de>
613
614 * gdb.cp/local-static.c (main): Move declaration of int i out of the
615 for loop.
616
617 2019-10-03 Tom Tromey <tom@tromey.com>
618
619 PR rust/24976:
620 * gdb.rust/simple.rs (Union2): New type.
621 (main): Use Union2.
622 * gdb.rust/simple.exp: Add test.
623
624 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
625
626 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
627 nested function prefix.
628
629 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
630 Richard Bunt <richard.bunt@arm.com>
631 Andrew Burgess <andrew.burgess@embecosm.com>
632
633 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
634 nested functions.
635 * gdb.fortran/nested-funcs.f90: Update expected results.
636 * gdb.fortran/nested-funcs-2.exp: New file.
637 * gdb.fortran/nested-funcs-2.f90: New file.
638
639 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
640
641 * gdb.python/py-parameter.exp: Make test names unique.
642 * gdb.python/py-template.exp: Likewise.
643 * gdb.python/py-value.exp: Likewise.
644
645 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
646
647 * gdb.base/break-interp.exp: Reduce test name duplication.
648 * gdb.base/call-sc.exp: Likewise.
649 * gdb.base/callfuncs.exp: Likewise.
650 * gdb.base/charset.exp: Likewise.
651 * gdb.base/dump.exp: Likewise.
652 * gdb.base/ena-dis-br.exp: Likewise.
653 * gdb.base/relational.exp: Likewise.
654 * gdb.base/step-over-syscall.exp: Likewise.
655 * gdb.base/structs.exp: Likewise.
656
657 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
658
659 * gdb.linespec/explicit.exp: Make test names unique.
660 * gdb.linespec/ls-errs.exp: Likewise.
661
662 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
663
664 * gdb.reverse/break-precsave.exp: Make test names unique.
665 * gdb.reverse/break-reverse.exp: Likewise.
666 * gdb.reverse/finish-precsave.exp: Likewise.
667 * gdb.reverse/finish-reverse.exp: Likewise.
668 * gdb.reverse/machinestate-precsave.exp: Likewise.
669 * gdb.reverse/machinestate.exp: Likewise.
670 * gdb.reverse/readv-reverse.exp: Likewise.
671 * gdb.reverse/recvmsg-reverse.exp: Likewise.
672 * gdb.reverse/sigall-precsave.exp: Likewise.
673 * gdb.reverse/sigall-reverse.exp: Likewise.
674 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
675 * gdb.reverse/watch-precsave.exp: Likewise.
676 * gdb.reverse/watch-reverse.exp: Likewise.
677
678 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
679
680 * gdb.threads/stop-with-handle.c: New file.
681 * gdb.threads/stop-with-handle.exp: New file.
682
683 2019-10-03 Tom de Vries <tdevries@suse.de>
684
685 PR testsuite/25059
686 * gdb.base/list-missing-source.exp: Allowing the "Compilation
687 directory" line to be missing.
688
689 2019-10-03 Tom de Vries <tdevries@suse.de>
690
691 PR testsuite/25059
692 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
693 type optional.
694
695 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
696
697 * gdb.python/py-format-string.c (string.h): New include.
698 (main): Fill a_struct_with_union.the_union.an_int with bytes of
699 the same value, for endianness-independence.
700 * gdb.python/py-format-string.exp (default_regexp_dict)
701 (test_pretty_structs, test_format): Adjust expected output to the
702 changed initialization.
703
704 2019-10-02 Tom Tromey <tromey@adacore.com>
705
706 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
707
708 2019-10-02 Pedro Alves <palves@redhat.com>
709 Andrew Burgess <andrew.burgess@embecosm.com>
710
711 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
712 "print-file-var.h".
713 (this_version_id) Use ATTRIBUTE_VISIBILITY.
714 (get_version_1): Print this_version_id and its address.
715 Add extern "C" wrappers around interface functions.
716 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
717 "print-file-var.h".
718 (this_version_id) Use ATTRIBUTE_VISIBILITY.
719 (get_version_2): Print this_version_id and its address.
720 Add extern "C" wrappers around interface functions.
721 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
722 <stddef.h> and "print-file-var.h".
723 Add extern "C" wrappers around interface functions.
724 [VERSION_ID_MAIN] (this_version_id): Define.
725 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
726 * gdb.base/print-file-var.h: Add some #defines to simplify setting
727 up extern "C" blocks.
728 * gdb.base/print-file-var.exp (test): New, factored out from top
729 level.
730 (top level): Test all combinations of attribute hidden or not,
731 dlopen or not, and this_version_id symbol in main file or not.
732 Compile tests as both C++ and C, make test names unique.
733
734 2019-10-01 Tom Tromey <tom@tromey.com>
735
736 * gdb.base/style.exp: Test "show logging filename".
737
738 2019-10-01 Tom Tromey <tom@tromey.com>
739
740 * lib/gdb-utils.exp (style): Handle "metadata" argument.
741 * gdb.base/style.exp: Add metadata style test.
742
743 2019-10-01 Tom Tromey <tom@tromey.com>
744
745 * gdb.base/style.exp: Test "pwd".
746
747 2019-10-01 Tom Tromey <tom@tromey.com>
748
749 * gdb.base/style.exp: Update tests.
750
751 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
752
753 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
754 'six' to unsigned.
755 (s1): Initialize fields 'four' and 'six' instead of 'three' and
756 'five'. Use an all-ones bit pattern for each.
757 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
758 to its changed values.
759
760 2019-09-30 Tom Tromey <tromey@adacore.com>
761
762 * gdb.rust/traits.rs: Disable all warnings.
763
764 2019-09-29 Tom de Vries <tdevries@suse.de>
765
766 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
767
768 2019-09-29 Tom de Vries <tdevries@suse.de>
769
770 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
771
772 2019-09-27 Tom de Vries <tdevries@suse.de>
773
774 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
775
776 2019-09-27 Tom de Vries <tdevries@suse.de>
777
778 PR record/23188
779 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
780
781 2019-09-26 Tom Tromey <tromey@adacore.com>
782
783 * gdb.ada/py_taft.exp: New file.
784 * gdb.ada/py_taft/main.adb: New file.
785 * gdb.ada/py_taft/pkg.adb: New file.
786 * gdb.ada/py_taft/pkg.ads: New file.
787
788 2019-09-24 Tom de Vries <tdevries@suse.de>
789
790 PR gdb/24598
791 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
792
793 2019-09-22 Tom de Vries <tdevries@suse.de>
794
795 * gdb.base/restore.exp: Allow register variables to be optimized out at
796 -O0.
797
798 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
799
800 * gdb.arch/spu-info.exp: Remove file.
801 * gdb.arch/spu-info.c: Remove file.
802 * gdb.arch/spu-ls.exp: Remove file.
803 * gdb.arch/spu-ls.c: Remove file.
804
805 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
806 * gdb.asm/spu.inc: Remove file.
807
808 * gdb.base/dump.exp: Remove support for spu*-*-*.
809 * gdb.base/stack-checking.exp: Likewise.
810 * gdb.base/overlays.exp: Likewise.
811 * gdb.base/ovlymgr.c: Likewise.
812 * gdb.base/spu.ld: Remove file.
813
814 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
815 * gdb.cp/cpexprs.exp: Likewise.
816 * gdb.cp/exception.exp: Likewise.
817 * gdb.cp/gdb2495.exp: Likewise.
818 * gdb.cp/mb-templates.exp: Likewise.
819 * gdb.cp/pr9167.exp: Likewise.
820 * gdb.cp/userdef.exp: Likewise.
821
822 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
823
824 * gdb.cell: Remove directory.
825 * lib/cell.exp: Remove file.
826
827 2019-09-19 Tom de Vries <tdevries@suse.de>
828
829 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
830
831 2019-09-19 Tom de Vries <tdevries@suse.de>
832
833 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
834
835 2019-09-19 Tom de Vries <tdevries@suse.de>
836
837 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
838 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
839 (gdb_target_cmd): ... here.
840 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
841 value 2.
842
843 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
844
845 * gdb.base/source-dir.exp: Avoid having directory names in test
846 names.
847
848 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
849
850 * gdb.base/source-dir.exp: Add extra test for mapped compilation
851 directory.
852
853 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
854
855 * gdb.base/list-missing-source.exp: New file.
856
857 2019-09-14 Tom de Vries <tdevries@suse.de>
858
859 PR teststuite/24599
860 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
861 * lib/ada.exp (gnatmake_version_at_least): New proc.
862
863 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
864
865 * gdb.base/maint.exp: Use exec_has_index_section.
866
867 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
868
869 * gdb.base/maint.exp: Add test for 'maint info sections'.
870
871 2019-09-12 Tom de Vries <tdevries@suse.de>
872
873 * gdb.base/store.exp: Allow register variables to be optimized out at
874 -O0.
875
876 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
877
878 * gdb.ada/rdv_wait.exp: Update to new task names.
879 * gdb.base/task_switch_in_core.exp: Likewise.
880 * gdb.base/info_sources_base.c: Likewise.
881
882 2019-09-10 Tom Tromey <tromey@adacore.com>
883
884 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
885
886 2019-09-10 Tom Tromey <tromey@adacore.com>
887
888 * gdb.ada/dgopt.exp: New file.
889 * gdb.ada/dgopt/x.adb: New file.
890
891 2019-09-08 Tom Tromey <tom@tromey.com>
892
893 * gdb.tui/resize.exp: Remove setup_xfail.
894 * gdb.tui/regs.exp: Remove setup_xfail.
895 * gdb.tui/basic.exp: Remove setup_xfail.
896
897 2019-09-06 David Blaikie <dblaikie@gmail.com>
898
899 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
900 * gdb.cp/cplabel.exp: Ditto.
901 * gdb.linespec/ls-errs.exp: Ditto.
902
903 2019-09-05 Tom de Vries <tdevries@suse.de>
904
905 * lib/gdb.exp (cmp_file_string): New proc.
906 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
907 runto_main. Verify save breakpoints output.
908
909 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
910
911 * gdb.base/info-var.exp: Test info variables without running
912 to main, to avoid expect's buffer overflow.
913
914 2019-09-03 Tom Tromey <tromey@adacore.com>
915
916 * gdb.ada/bias.exp: New file.
917 * gdb.ada/bias/bias.adb: New file.
918 * gdb.ada/print_chars.exp: Add regression test.
919 * gdb.ada/print_chars/foo.adb (My_Character): New type.
920 (MC): New variable.
921
922 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
923
924 * gdb.base/argv0-symlink.exp: Run only on native target
925 and local host.
926
927 2019-08-29 Tom de Vries <tdevries@suse.de>
928
929 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
930 diverse debug info.
931 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
932
933 2019-08-28 Tom de Vries <tdevries@suse.de>
934
935 * gdb.base/info-var.exp: Allow info variables to print info for files
936 other than info-var-f1.c and info-var-f2.c.
937
938 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
939
940 * gdb.fortran/info-types.exp: Add module.
941 * gdb.fortran/info-types.f90: Update expected results.
942
943 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
944
945 * gdb.fortran/info-types.exp: New file.
946 * gdb.fortran/info-types.f90: New file.
947 * lib/fortran.exp (fortran_character1): New proc.
948
949 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
950
951 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
952 functions'. Reindent as needed.
953 * gdb.base/info-var-f1.c: New file.
954 * gdb.base/info-var-f2.c: New file.
955 * gdb.base/info-var.exp: New file.
956 * gdb.base/info-var.h: New file.
957
958 2019-08-26 Tom de Vries <tdevries@suse.de>
959
960 PR c++/24852
961 * gdb.cp/no-libstdcxx-probe.exp: New test.
962
963 2019-08-26 Tom de Vries <tdevries@suse.de>
964
965 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
966 * tests need to be skipped.
967 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
968 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
969 mi_skip_libstdcxx_probe_tests.
970
971 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
972
973 * gdb.python/py-xmethods.exp: Use raw strings when passing
974 arguments to SimpleXMethodMatcher.
975
976 2019-08-22 Tom de Vries <tdevries@suse.de>
977
978 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
979 more informative.
980
981 2019-08-21 Pedro Alves <palves@redhat.com>
982
983 * gdb.base/with.exp: Test "with" with no arguments.
984
985 2019-08-21 Tom de Vries <tdevries@suse.de>
986
987 * gdb.base/gdb-caching-proc.exp: Sort files.
988
989 2019-08-20 Tom de Vries <tdevries@suse.de>
990
991 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
992 compilation.
993
994 2019-08-16 Tom de Vries <tdevries@suse.de>
995
996 * gdb.base/compare-sections.exp ("after run to main"): Allow
997 mismatched read-only sections for PIE executables.
998
999 2019-08-16 Tom Tromey <tom@tromey.com>
1000
1001 * lib/tuiterm.exp (_csi_Z): New proc.
1002 * gdb.tui/basic.exp: Update window positions.
1003 * gdb.tui/empty.exp: Update window positions.
1004
1005 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1006
1007 * gdb.base/examine-backward.exp: Correct regexp for
1008 "examine 3 bytes backward from ${address_zero}".
1009
1010 2019-08-15 Tom Tromey <tom@tromey.com>
1011
1012 * gdb.tui/empty.exp: Enable resizing tests.
1013
1014 2019-08-15 Tom Tromey <tromey@adacore.com>
1015
1016 * gdb.ada/char_enum.exp: Add regression tests.
1017 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1018 and '0'.
1019 (Char, Gchar): Update.
1020 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1021
1022 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1023
1024 * gdb.python/python.exp: Expect a leading underscore on
1025 GdbOutput{,Error}File.
1026
1027 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1028
1029 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1030 Windows host.
1031
1032 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1033
1034 * gdb.base/batch-preserve-term-settings.exp
1035 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1036
1037 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1038
1039 * lib/gdb.exp: When running on a mingw target, replace
1040 /x/ with x:/.
1041
1042 2019-08-14 Alan Hayward <alan.hayward@arm.com>
1043
1044 * gdb.arch/aarch64-prologue.c: New test.
1045 * gdb.arch/aarch64-prologue.exp: New file.
1046
1047 2019-08-13 Tom de Vries <tdevries@suse.de>
1048
1049 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1050 Thread.
1051
1052 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1053
1054 * gdb.python/py-completion.exp: Download the .py file to the host
1055 and use its host pathname. Conditionalize tests that use
1056 tab completion and manipulate files on the build machine.
1057 * gdb.python/py-events.exp: Download the .py file to the host
1058 and use its host pathname.
1059 * gdb.python/py-evsignal.exp: Likewise.
1060 * gdb.python/py-evthreads.exp: Likewise.
1061 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1062 pathname syntax.
1063 * gdb.python/py-framefilter.exp: Download the .py file to the right
1064 place on the host. Match Windows pathname syntax.
1065 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1066 .py file to the host and use its host pathname.
1067 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1068 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1069 build pathname. Skip symlink test on Windows host. Add missing
1070 newline at end of file.
1071 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1072 and use its host pathname.
1073 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1074 * gdb.python/py-section-script.exp: Use host location of binfile
1075 on safe-path. Use correct path separator on Windows host.
1076 Reorder alternatives in gdb_test_multiple to prevent matching
1077 the wrong alternative on success.
1078 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1079
1080 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1081
1082 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1083 expect the GDB inferior to no longer immediately stop after
1084 being resumed with "signal SIGINT".
1085
1086 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1087
1088 * gdb.linespec/break-ask.exp: Generalize regexps to match
1089 Windows pathnames too.
1090
1091 2019-08-08 Tom de Vries <tdevries@suse.de>
1092
1093 PR testsuite/24862
1094 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1095
1096 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1097
1098 * gdb.base/style.exp: Update tests for help doc new invariants.
1099 * gdb.base/help.exp: Likewise.
1100
1101 2019-08-06 Tom Tromey <tom@tromey.com>
1102
1103 * gdb.base/style.exp: Add disassemble test.
1104 * gdb.base/style.c (some_called_function): New function.
1105 (main): Use it.
1106
1107 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1108
1109 * gdb.python/py-block.exp: Test dictionary access on blocks.
1110
1111 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1112
1113 PR gdb/24863
1114 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1115 -list-thread-groups --available test when running under
1116 check-read1.
1117
1118 2019-08-05 Tom de Vries <tdevries@suse.de>
1119
1120 PR testsuite/24863
1121 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1122 * gdb.base/help.exp: Use with_read1_timeout_factor.
1123 * gdb.base/info-macros.exp: Same.
1124 * gdb.cp/nested-types.exp: Same.
1125
1126 2019-08-05 Tom de Vries <tdevries@suse.de>
1127
1128 * lib/gdb.exp (version_at_least): Factor out of ...
1129 (tcl_version_at_least): ... here.
1130 (gdb_compile): Fail if pie results in non-PIE executable.
1131 (readelf_version, readelf_prints_pie): New proc.
1132 (exec_is_pie): Return -1 if unknown.
1133
1134 2019-08-05 Tom de Vries <tdevries@suse.de>
1135
1136 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1137
1138 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1139
1140 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1141
1142 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1143
1144 * lib/completion-support.exp (test_gdb_complete_none): Skip
1145 tab completion tests if no readline support.
1146 (test_gdb_complete_unique_re): Likewise.
1147 (test_gdb_complete_multiple): Likewise.
1148
1149 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1150
1151 * gdb.base/info_sources.exp: New file.
1152 * gdb.base/info_sources.c: New file.
1153 * gdb.base/info_sources_base.c: New file.
1154
1155 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1156
1157 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1158 prefix argument.
1159 (test_exit_status): Add prefix argument.
1160
1161 2019-08-01 Tom de Vries <tdevries@suse.de>
1162
1163 PR testsuite/24863
1164 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1165 calling exp_continue for new thread and thread exited messages.
1166
1167 2019-08-01 Tom de Vries <tdevries@suse.de>
1168
1169 PR testsuite/24863
1170 * gdb.base/structs.exp: Fix check-read1 timeout using
1171 gdb_test_sequence.
1172 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1173
1174 2019-08-01 Tom de Vries <tdevries@suse.de>
1175
1176 PR testsuite/24863
1177 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1178 line.
1179
1180 2019-08-01 Tom de Vries <tdevries@suse.de>
1181
1182 PR testsuite/24863
1183 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1184
1185 2019-07-30 Tom Tromey <tromey@adacore.com>
1186
1187 * gdb.ada/display_nested.exp: New file.
1188 * gdb.ada/display_nested/foo.adb: New file.
1189 * gdb.ada/display_nested/pack.adb: New file.
1190 * gdb.ada/display_nested/pack.ads: New file.
1191
1192 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1193
1194 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1195 namespace.
1196 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1197
1198 2019-07-30 Tom de Vries <tdevries@suse.de>
1199
1200 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1201 instead.
1202
1203 2019-07-30 Tom de Vries <tdevries@suse.de>
1204
1205 PR testsuite/24834
1206 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1207 (exec_is_pie): New proc.
1208
1209 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1210
1211 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1212
1213 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1214
1215 * gdb.python/py-objfile.c: Add global and static vars.
1216 * gdb.python/py-objfile.exp: Test new functions Objfile.
1217 lookup_global_symbol and lookup_static_symbol.
1218
1219 2019-07-29 Tom Tromey <tom@tromey.com>
1220
1221 * lib/tuiterm.exp (Term::_csi_@): New proc.
1222 (Term::_csi_X): Don't move cursor.
1223
1224 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1225
1226 * gdb.base/options.exp: Update backtrace - completion to
1227 new option -frame-info.
1228 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1229 Test new 'set print frame-info'. Test backtrace -frame-info
1230 overriding 'set print frame-info'.
1231 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1232 Test new 'set print frame-info'.
1233 Verify consistency of backtrace with and without filters, with and
1234 without -no-filters.
1235 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1236 default.
1237
1238 2019-07-29 Tom de Vries <tdevries@suse.de>
1239
1240 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1241 no arguments".
1242
1243 2019-07-29 Tom de Vries <tdevries@suse.de>
1244
1245 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1246 is a substring of the first for "complete non-unique file name".
1247
1248 2019-07-29 Tom de Vries <tdevries@suse.de>
1249
1250 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1251 with ".*".
1252
1253 2019-07-29 Tom de Vries <tdevries@suse.de>
1254
1255 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1256 Pass prompt_regexp parameter to gdb_test_multiple calls.
1257
1258 2019-07-29 Tom de Vries <tdevries@suse.de>
1259
1260 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1261 print registers" regexps.
1262
1263 2019-07-29 Tom de Vries <tdevries@suse.de>
1264
1265 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1266
1267 2019-07-29 Tom de Vries <tdevries@suse.de>
1268
1269 PR gdb/24855
1270 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1271 (skip_python_tests_prompt): Add prompt_regexp argument to
1272 gdb_test_multiple calls.
1273
1274 2019-07-27 Tom Tromey <tom@tromey.com>
1275
1276 * gdb.tui/main.exp: New file.
1277
1278 2019-07-27 Tom Tromey <tom@tromey.com>
1279
1280 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1281 optional.
1282 * gdb.tui/empty.exp: New file.
1283
1284 2019-07-27 Tom Tromey <tom@tromey.com>
1285
1286 * lib/tuiterm.exp (spawn): New proc.
1287 (Term::resize): New proc.
1288 * gdb.tui/resize.exp: New file.
1289
1290 2019-07-27 Tom Tromey <tom@tromey.com>
1291
1292 * gdb.tui/list.exp: New file.
1293
1294 2019-07-27 Tom Tromey <tom@tromey.com>
1295
1296 * gdb.tui/regs.exp: New file.
1297
1298 2019-07-27 Tom Tromey <tom@tromey.com>
1299
1300 * gdb.tui/basic.exp: Add "layout split" test.
1301
1302 2019-07-27 Tom Tromey <tom@tromey.com>
1303
1304 * gdb.tui/basic.exp: Add "layout asm" test.
1305
1306 2019-07-27 Tom Tromey <tom@tromey.com>
1307
1308 * lib/tuiterm.exp: New file.
1309 * gdb.tui/basic.exp: New file.
1310
1311 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1312
1313 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1314 Enable tests associated with this flag. Adjust regex
1315 referencing "foo_low" to now refer to "foo_cold" instead.
1316
1317 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1318
1319 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1320 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1321 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1322 foo_cold. Revise comments to match.
1323 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1324 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1325 were wrapped into this proc; Call do_test in loop from outermost
1326 level.
1327 (foo_low): Rename all occurrences to "foo_cold".
1328 (backtrace from baz): New test.
1329 (x2/i foo_cold): New test.
1330 (info line *foo_cold): New test.
1331
1332 2019-07-26 Tom de Vries <tdevries@suse.de>
1333
1334 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1335
1336 2019-07-25 Tom de Vries <tdevries@suse.de>
1337
1338 PR testsuite/24830
1339 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1340 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1341 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1342 (skip_libstdcxx_probe_tests): ... here.
1343 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1344
1345 2019-07-24 Tom de Vries <tdevries@suse.de>
1346
1347 PR testsuite/24807
1348 * gdb.objc/basicclass.m: Include stdio.h.
1349 * gdb.objc/nondebug.m: Same.
1350 * gdb.objc/objcdecode.m: Same.
1351
1352 2019-07-24 Tom de Vries <tdevries@suse.de>
1353
1354 PR testsuite/24612
1355 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1356 additional_flags.
1357
1358 2019-07-24 Tom de Vries <tdevries@suse.de>
1359
1360 PR testsuite/24831
1361 * gdb.multi/tids.exp: Update error messages for info threads.
1362
1363 2019-07-24 Tom de Vries <tdevries@suse.de>
1364
1365 * gdb.base/info-types.exp: Allow info types to print info for more than
1366 one file.
1367
1368 2019-07-23 Tom de Vries <tdevries@suse.de>
1369
1370 PR testsuite/24842
1371 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1372 gdb_spawn_with_cmdline_opts.
1373
1374 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1375
1376 * gdb.arch/arm-cmse-sgstubs.c: New test.
1377 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1378
1379 2019-07-23 Tom de Vries <tdevries@suse.de>
1380
1381 PR testsuite/24711
1382 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1383 issuing next command.
1384
1385 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1386
1387 * gdb.ada/info_auto_lang.exp: Update expected results.
1388 * gdb.base/info-types.c: Add additional types to check.
1389 * gdb.base/info-types.exp: Update expected results.
1390
1391 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1392
1393 * gdb.base/info-types.c: New file.
1394 * gdb.base/info-types.exp: New file.
1395
1396 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1397
1398 * gdb.arch/riscv-bp-infcall.c: New file.
1399 * gdb.arch/riscv-bp-infcall.exp: New file.
1400
1401 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1402
1403 PR breakpoints/24541
1404 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1405
1406 2019-07-14 Tom de Vries <tdevries@suse.de>
1407
1408 PR testsuite/24760
1409 * gdb.objc/basicclass.exp: Fix unterminated string.
1410
1411 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1412 Andrew Burgess <andrew.burgess@embecosm.com>
1413
1414 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1415 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1416 negative bounds.
1417 * gdb.fortran/vla-value.exp: Print elements of an array with
1418 negative bounds.
1419 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1420 testing.
1421
1422 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1423
1424 * gdb.base/options.exp (expect_string): Dequote strings in
1425 results.
1426 (test-string): Test strings with different quoting and reindent.
1427
1428 2019-07-10 Tom Tromey <tromey@adacore.com>
1429
1430 * gdb.ada/mi_ex_cond.exp: Update expected results.
1431 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1432 * gdb.ada/mi_catch_ex.exp: Update expected results.
1433 * gdb.ada/mi_catch_assert.exp: Update expected results.
1434 * gdb.ada/catch_ex.exp (catch_exception_info)
1435 (catch_exception_entry, catch_assert_entry)
1436 (catch_unhandled_entry): Update.
1437 * gdb.ada/catch_assert_if.exp: Update expected results.
1438
1439 2019-07-10 Richard Bunt <richard.bunt@arm.com>
1440 Stephen Roberts <stephen.roberts@arm.com>
1441
1442 * gdb.base/define.exp: Restore original prompt.
1443
1444 2019-07-09 Pedro Alves <palves@redhat.com>
1445
1446 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1447 breakpoints" output.
1448 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1449 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1450 throw" creates breakpoint.
1451 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1452 'type="catchpoint"'.
1453
1454 2019-07-09 Pedro Alves <palves@redhat.com>
1455
1456 PR c++/15468
1457 * gdb.cp/except-multi-location-lib.cc: New.
1458 * gdb.cp/except-multi-location-main.cc: New.
1459 * gdb.cp/except-multi-location.exp: New.
1460
1461 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1462
1463 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1464 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1465 argument and update callers.
1466
1467 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1468
1469 * gdb.arch/amd64-break-on-asm-line.S: New file.
1470 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1471
1472 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1473
1474 * gdb.base/printcmds.exp: Test printing C string and
1475 C wide string convenience vars without transiting via the inferior.
1476 Also make test names unique.
1477
1478 2019-07-08 Alan Hayward <alan.hayward@arm.com>
1479
1480 PR breakpoints/25011
1481 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1482
1483 2019-07-04 Pedro Alves <palves@redhat.com>
1484
1485 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1486 body returned ok(0), break(3) or continue(4).
1487 * gdb.testsuite/foreach_with_prefix.exp: New file.
1488
1489 2019-07-04 Alan Hayward <alan.hayward@arm.com>
1490
1491 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1492
1493 2019-07-03 Pedro Alves <palves@redhat.com>
1494
1495 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1496 "return -code".
1497
1498 2019-07-03 Pedro Alves <palves@redhat.com>
1499
1500 PR cli/24732
1501 * gdb.base/shell.exp: Load completion-support.exp.
1502 Adjust expected error output. Add completion tests.
1503
1504 2019-07-03 Pedro Alves <palves@redhat.com>
1505
1506 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1507 string_to_regexp.
1508
1509 2019-07-03 Pedro Alves <palves@redhat.com>
1510
1511 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1512 (expect_integer): Adjust to expect "-string".
1513 (expect_string): New.
1514 (all_options): Expect "-string".
1515 (test-flag, test-boolean): Adjust to expect "-string".
1516 (test-string): New proc.
1517 (top level): Call it.
1518
1519 2019-07-03 Pedro Alves <palves@redhat.com>
1520
1521 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1522 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1523 the expected output in the success.
1524
1525 2019-07-03 Pedro Alves <palves@redhat.com>
1526
1527 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1528 Split one gdb_test_multiple call in two to avoid a race.
1529
1530 2019-07-03 Pedro Alves <palves@redhat.com>
1531
1532 * gdb.base/with.c: New file.
1533 * gdb.base/with.exp: New file.
1534
1535 2019-07-03 Pedro Alves <palves@redhat.com>
1536
1537 * gdb.base/settings.exp: Replace all references to "maint
1538 test-settings set" with references to "maint set test-settings",
1539 and all references to "maint test-settings show" with references
1540 to "maint show test-settings".
1541
1542 2019-07-03 Pedro Alves <palves@redhat.com>
1543
1544 * gdb.base/settings.exp (test-string): Adjust expected out when
1545 testing "maint test-settings show filename"
1546
1547 2019-07-02 Pedro Alves <palves@redhat.com>
1548
1549 * gdb.base/options.exp (test-info-threads): New procedure.
1550 (top level): Call it.
1551
1552 2019-06-28 Tom Tromey <tromey@adacore.com>
1553
1554 * gdb.dwarf2/ada-linkage-name.c: New file.
1555 * gdb.dwarf2/ada-linkage-name.exp: New file.
1556
1557 2019-06-27 Tom Tromey <tromey@adacore.com>
1558
1559 PR c++/20020:
1560 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1561
1562 2019-06-26 Tom de Vries <tdevries@suse.de>
1563
1564 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1565
1566 2019-06-26 Tom de Vries <tdevries@suse.de>
1567
1568 * gdb.base/index-cache.exp: Add back missing debug option.
1569
1570 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1571
1572 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1573
1574 2019-06-25 Tom de Vries <tdevries@suse.de>
1575
1576 PR testsuite/24727
1577 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1578
1579 2019-06-24 Tom de Vries <tdevries@suse.de>
1580
1581 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1582
1583 2019-06-24 Tom de Vries <tdevries@suse.de>
1584
1585 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1586 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1587 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1588
1589 2019-06-24 Tom de Vries <tdevries@suse.de>
1590
1591 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1592
1593 2019-06-21 Tom de Vries <tdevries@suse.de>
1594
1595 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1596
1597 2019-06-21 Tom de Vries <tdevries@suse.de>
1598
1599 PR testsuite/24518
1600 PR ada/24713
1601 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1602 index.
1603
1604 2019-06-19 Tom Tromey <tromey@adacore.com>
1605
1606 * gdb.ada/length_cond.exp: Add intro comment.
1607
1608 2019-06-19 Tom Tromey <tromey@adacore.com>
1609
1610 * gdb.ada/length_cond.exp: New file.
1611 * gdb.ada/length_cond/length_cond.adb: New file.
1612 * gdb.ada/length_cond/pck.adb: New file.
1613 * gdb.ada/length_cond/pck.ads: New file.
1614
1615 2019-06-18 Tom de Vries <tdevries@suse.de>
1616
1617 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1618
1619 2019-06-18 Tom Tromey <tromey@adacore.com>
1620
1621 * gdb.base/list0.h: Add comment explaining control character.
1622
1623 2019-06-18 Tom de Vries <tdevries@suse.de>
1624
1625 * boards/fission.exp: Break up long debug_flags line.
1626
1627 2019-06-16 Tom de Vries <tdevries@suse.de>
1628
1629 PR gdb/24445
1630 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1631 generated index.
1632
1633 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1634
1635 PR gdb/24686
1636 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1637 improve detection of bug gdb/24541.
1638
1639 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1640
1641 PR gdb/24669
1642 * gdb.base/index-cache.exp (uses_readnow,
1643 expecting_index_cache_use): Define global variable.
1644 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1645 expecting_index_cache_use.
1646
1647 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1648 Andrew Burgess <andrew.burgess@embecosm.com>
1649
1650 * gdb.fortran/pointers.f90: New file.
1651 * gdb.fortran/print_type.exp: New file.
1652 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1653 * gdb.fortran/vla-type.exp: Likewise.
1654 * gdb.fortran/vla-value.exp: Likewise.
1655 * gdb.mi/mi-vla-fortran.exp: Likewise.
1656
1657 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1658
1659 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1660 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1661 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1662 as a stop reason.
1663
1664 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1665
1666 * gdb.base/annota1.exp: Update expected results.
1667 * gdb.cp/annota2.exp: Likewise.
1668 * gdb.cp/annota3.exp: Likewise.
1669
1670 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1671
1672 * gdb.base/style-logging.exp: Remove path from test name.
1673
1674 2019-06-14 Tom Tromey <tromey@adacore.com>
1675
1676 PR gdb/24502:
1677 * gdb.base/style-logging.exp: New file.
1678
1679 2019-06-14 Tom Tromey <tromey@adacore.com>
1680
1681 * gdb.base/symfile-warn.exp: New file.
1682 * gdb.base/symfile-warn.c: New file.
1683
1684 2019-06-14 Tom Tromey <tromey@adacore.com>
1685
1686 * gdb.base/annotate-symlink.exp: New file.
1687
1688 2019-06-14 Tom Tromey <tromey@adacore.com>
1689
1690 * gdb.ada/set_wstr.exp: Add reassignment test.
1691
1692 2019-06-14 Tom Tromey <tromey@adacore.com>
1693
1694 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1695 'unchecked_access and 'unrestricted_access as well.
1696
1697 2019-06-14 Tom Tromey <tromey@adacore.com>
1698
1699 PR ada/24539:
1700 * gdb.ada/vla.exp: Update tests.
1701 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1702 pragma.
1703
1704 2019-06-13 Pedro Alves <palves@redhat.com>
1705
1706 * gdb.base/settings.exp (test-integer): Test junk after
1707 "unlimited".
1708
1709 2019-06-13 Pedro Alves <palves@redhat.com>
1710
1711 * gdb.base/options.exp (test-thread-apply): New.
1712 (top level): Call it.
1713
1714 2019-06-13 Pedro Alves <palves@redhat.com>
1715
1716 * gdb.base/options.exp (test-frame-apply): New.
1717 (top level): Test print commands with different "frame apply"
1718 prefixes.
1719
1720 2019-06-13 Pedro Alves <palves@redhat.com>
1721
1722 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
1723 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1724 'max_completions' parameter and handle it.
1725 (test_gdb_completion_offers_commands): New.
1726
1727 2019-06-13 Pedro Alves <palves@redhat.com>
1728
1729 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1730
1731 2019-06-13 Pedro Alves <palves@redhat.com>
1732
1733 * gdb.base/options.exp (test-backtrace): New.
1734 (top level): Call it.
1735
1736 2019-06-13 Pedro Alves <palves@redhat.com>
1737
1738 * gdb.guile/scm-frame-args.exp: Use "set print
1739 raw-frame-arguments" instead of "set print raw frame-arguments".
1740 * gdb.python/py-frame-args.exp: Likewise.
1741
1742 2019-06-13 Pedro Alves <palves@redhat.com>
1743
1744 * gdb.compile/compile.exp: Adjust expected output to option
1745 processing changes.
1746
1747 2019-06-13 Pedro Alves <palves@redhat.com>
1748
1749 * gdb.base/options.exp: Build executable.
1750 (test-print): New procedure.
1751 (top level): Call it, once for "print" and another for "compile
1752 print".
1753
1754 2019-06-13 Pedro Alves <palves@redhat.com>
1755
1756 * gdb.base/options.c: New file.
1757 * gdb.base/options.exp: New file.
1758
1759 2019-06-13 Pedro Alves <palves@redhat.com>
1760
1761 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1762 that "o" is ambiguous.
1763
1764 2019-06-13 Pedro Alves <palves@redhat.com>
1765
1766 * gdb.base/settings.c: New file.
1767 * gdb.base/settings.exp: New file.
1768
1769 2019-06-13 Pedro Alves <palves@redhat.com>
1770
1771 * gdb.base/completion.exp: Fix comment typo.
1772
1773 2019-06-13 Pedro Alves <palves@redhat.com>
1774
1775 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1776 foo --1" test.
1777
1778 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1779
1780 * gdb.fortran/block-data.f: New.
1781 * gdb.fortran/block-data.exp: New.
1782
1783 2019-06-11 Tom de Vries <tdevries@suse.de>
1784
1785 PR testsuite/24521
1786 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1787 message.
1788
1789 2019-06-11 Tom de Vries <tdevries@suse.de>
1790
1791 PR testsuite/24521
1792 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1793
1794 2019-06-11 Tom de Vries <tdevries@suse.de>
1795
1796 * boards/readnow.exp: New file.
1797
1798 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1799
1800 * gdb.fortran/vla-sizeof.exp: Update expected results.
1801
1802 2019-06-06 Amos Bird <amosbird@gmail.com>
1803
1804 * gdb.base/annota1.exp (thread_switch): Add test for
1805 thread-exited annotation.
1806
1807 2019-06-06 Tom Tromey <tromey@adacore.com>
1808
1809 * gdb.base/maint.exp: Expect command started/finished output.
1810
1811 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1812
1813 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1814 comment.
1815 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1816
1817 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1818
1819 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1820 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1821 * gdb.arch/riscv-unwind-long-insn.c: New file.
1822 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1823
1824 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1825
1826 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1827
1828 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1829
1830 * lib/gdb.exp (help_list_trailer): New regexp variable
1831 factorizing the help trailer message.
1832 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1833 arg to allow to better factorize various tests.
1834 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1835 (test_prefix_command_help): Use help_list_trailer.
1836 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1837 * gdb.guile/scm-cmd.exp: Likewise.
1838 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1839 * gdb.base/help.exp: Use test_user_defined_class_help.
1840 * gdb.base/style.exp: Add tests for styling of help and apropos.
1841 * lib/gdb-utils.exp (style): Add title and highlight styles.
1842
1843 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1844
1845 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1846 $_shell_exitsignal.
1847 * gdb.base/default.exp: Update for new convenience variables.
1848
1849 2019-05-29 Tom Tromey <tromey@adacore.com>
1850
1851 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1852 to "break complete ada" test case's regexp.
1853
1854 2019-05-29 Tom Tromey <tromey@adacore.com>
1855
1856 PR c++/20020:
1857 * gdb.cp/constexpr-field.exp: New file.
1858 * gdb.cp/constexpr-field.cc: New file.
1859
1860 2019-05-29 Tom Tromey <tromey@adacore.com>
1861
1862 * gdb.base/finish.exp (finish_no_print): New proc.
1863 (finish_tests): Call it.
1864
1865 2019-05-24 Tom de Vries <tdevries@suse.de>
1866
1867 * gdb.dwarf2/gdb-add-index.exp: New file.
1868
1869 2019-05-22 Tom Tromey <tromey@adacore.com>
1870
1871 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1872 * gdb.base/style.exp: Use "style".
1873 * lib/gdb-utils.exp (style): New proc.
1874
1875 2019-05-22 Tom de Vries <tdevries@suse.de>
1876
1877 * gdb.base/align.exp: Require c++11.
1878
1879 2019-05-22 Tom de Vries <tdevries@suse.de>
1880
1881 PR testsuite/24586
1882 * gdb.python/py-mi-var-info-path-expression.exp: Call
1883 mi_skip_python_tests to check if python is supported.
1884
1885 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1886
1887 * gdb.arch/aarch64-pauth.c: New test.
1888 * gdb.arch/aarch64-pauth.exp: New file.
1889
1890 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1891
1892 * README (Re-running Tests Outside The Testsuite): New section.
1893
1894 2019-05-21 Tom de Vries <tdevries@suse.de>
1895
1896 * gdb.arch/amd64-eval.exp: Require c++11.
1897 * gdb.base/max-depth.exp: Same.
1898 * gdb.compile/compile-cplus-array-decay.exp: Same.
1899 * gdb.cp/meth-typedefs.exp: Same.
1900 * gdb.cp/subtypes.exp: Same.
1901 * gdb.cp/temargs.exp: Same.
1902
1903 2019-05-21 Alan Hayward <alan.hayward@arm.com>
1904
1905 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1906
1907 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1908
1909 PR gdb/18644
1910 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1911 * gdb.fortran/printing-types.exp: Add new test.
1912 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1913 testing.
1914 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1915 setup_kfail call.
1916
1917 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1918
1919 * README (Running the Testsuite): Change example.
1920 (Testsuite Parameters): Remove TRANSCRIPT.
1921 * lib/gdb.exp: Remove TRANSCRIPT check.
1922
1923 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1924
1925 * README (Testsuite Parameters): Add replay logging to
1926 GDBSERVER_DEBUG.
1927 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1928 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1929 as a comma separated list.
1930 (gdb_debug_init): Override procedure.
1931
1932 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1933
1934 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1935 (gdb_write_cmd_file): New procedure.
1936 * lib/gdbserver-support.exp (gdbserver_start): Call
1937 gdbserver_write_cmd_file.
1938 (gdbserver_write_cmd_file): New procedure.
1939
1940 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1941
1942 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1943 (delete_breakpoints): Likewise.
1944 (gdb_run_cmd): Likewise.
1945 (gdb_start_cmd): Likewise.
1946 (gdb_starti_cmd): Likewise.
1947 (gdb_internal_error_resync): Likewise.
1948 (gdb_test_multiple): Likewise.
1949 (gdb_reinitialize_dir): Likewise.
1950 (default_gdb_exit): Likewise.
1951 (gdb_file_cmd): Mark kill as optional.
1952 (default_gdb_start): Call gdb_stdin_log_init.
1953 (send_gdb): Call gdb_stdin_log_write.
1954 (rerun_to_main): Mark Y as an answer.
1955 (gdb_stdin_log_init): New function.
1956 (gdb_stdin_log_write): Likewise.
1957
1958 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1959
1960 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1961 * gdb.base/debug-expr.exp: Likewise.
1962 * gdb.base/foll-fork.exp: Likewise.
1963 * gdb.base/foll-vfork.exp: Likewise.
1964 * gdb.base/fork-print-inferior-events.exp: Likewise.
1965 * gdb.base/gdb-sigterm.exp: Likewise.
1966 * gdb.base/gdbinit-history.exp: Likewise.
1967 * gdb.base/osabi.exp: Likewise.
1968 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1969 * gdb.base/ui-redirect.exp: Likewise.
1970 * gdb.gdb/unittest.exp: Likewise.
1971 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
1972 * gdb.mi/mi-watch.exp: Likewise.
1973 * gdb.mi/new-ui-mi-sync.exp: Likewise.
1974 * gdb.mi/user-selected-context-sync.exp: Likewise.
1975 * gdb.python/python.exp: Disable debug test when debugging.
1976 * gdb.threads/check-libthread-db.exp: Disable when debugging.
1977 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
1978 Likewise.
1979 * gdb.threads/stepi-random-signal.exp: Likewise.
1980
1981 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1982
1983 * Makefile.in: Pass through GDB_DEBUG.
1984 * README (Testsuite Parameters): Add GDB_DEBUG.
1985 (gdb,debug): Add board setting.
1986 * lib/gdb.exp (default_gdb_start): Start debugging.
1987 (gdb_debug_enabled): New procedure.
1988 (gdb_debug_init): Likewise.
1989
1990 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1991
1992 * Makefile.in: Pass through GDB_DEBUG.
1993 * README (Testsuite Parameters): Add GDB_DEBUG.
1994 (gdb,debug): Add board setting.
1995 * lib/gdb.exp (default_gdb_start): Start debugging.
1996 (gdb_debug_enabled): New procedure.
1997 (gdb_debug_init): Likewise.
1998
1999 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2000
2001 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2002
2003 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2004
2005 * gdb.base/ui-redirect.exp: Test redirection.
2006
2007 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2008
2009 * gdb.mi/mi-complete.exp: New file.
2010 * gdb.mi/mi-complete.cc: Likewise.
2011
2012 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2013
2014 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2015 indexed and sliced arrays, and pointers to arrays.
2016
2017 2019-05-14 Tom Tromey <tromey@adacore.com>
2018
2019 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2020 styling test.
2021
2022 2019-05-14 Tom de Vries <tdevries@suse.de>
2023
2024 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2025 selection entry encoding.
2026
2027 2019-05-10 Tom Tromey <tromey@adacore.com>
2028
2029 * gdb.ada/info_exc.exp: Add "complete" test.
2030
2031 2019-05-09 Tom de Vries <tdevries@suse.de>
2032
2033 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2034 CU-relative.
2035
2036 2019-05-09 Tom de Vries <tdevries@suse.de>
2037
2038 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2039 CU-relative.
2040
2041 2019-05-08 Joel Brobecker <brobecker@adacore.com>
2042
2043 * gdb.ada/frame_arg_lang.exp: New testcase.
2044 * gdb.ada/frame_arg_lang/bla.adb: New file.
2045 * gdb.ada/frame_arg_lang/pck.ads: New file.
2046 * gdb.ada/frame_arg_lang/pck.adb: New file.
2047 * gdb.ada/frame_arg_lang/foo.c: New file.
2048
2049 2019-05-08 Tom Tromey <tromey@adacore.com>
2050
2051 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2052
2053 2019-05-08 Tom Tromey <tromey@adacore.com>
2054
2055 * gdb.base/ptype-offsets.exp: Update tests.
2056
2057 2019-05-08 Tom Tromey <tromey@adacore.com>
2058
2059 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2060 cases.
2061 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2062 "short".
2063
2064 2019-05-08 Tom Tromey <tromey@adacore.com>
2065
2066 * gdb.ada/vla.exp: New file.
2067 * gdb.ada/vla/vla.adb: New file.
2068
2069 2019-05-07 Tom de Vries <tdevries@suse.de>
2070
2071 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2072
2073 2019-05-07 Tom de Vries <tdevries@suse.de>
2074
2075 PR testsuite/24522
2076 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2077 section.
2078
2079 2019-05-07 Tom de Vries <tdevries@suse.de>
2080
2081 PR testsuite/24522
2082 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2083 .debug_aranges section.
2084
2085 2019-05-07 Tom de Vries <tdevries@suse.de>
2086
2087 PR testsuite/24159
2088 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2089
2090 2019-05-06 Tom de Vries <tdevries@suse.de>
2091
2092 * lib/gdb.exp (exec_has_index_section): New proc.
2093 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2094 section.
2095
2096 2019-05-04 Tom de Vries <tdevries@suse.de>
2097
2098 * boards/cc-with-debug-names.exp: New file.
2099
2100 2019-05-03 Tom Tromey <tromey@adacore.com>
2101
2102 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2103 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2104 * gdb.ada/char_enum.exp: Add test.
2105
2106 2019-05-03 Tom de Vries <tdevries@suse.de>
2107
2108 * boards/cc-with-gdb-index.exp: New file.
2109
2110 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2111
2112 * gdb.rust/simple.exp: Add new test case.
2113 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2114 (main): Initialise an instance of the new struct.
2115
2116 2019-05-01 Tom Tromey <tromey@adacore.com>
2117
2118 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2119 record.
2120 (NPR): New variable.
2121 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2122 test.
2123
2124 2019-05-01 Tom Tromey <tromey@adacore.com>
2125
2126 * gdb.ada/packed_array_assign.exp: Add packed assignment
2127 regression test.
2128
2129 2019-05-01 Tom de Vries <tdevries@suse.de>
2130
2131 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2132
2133 2019-05-01 Tom de Vries <tdevries@suse.de>
2134
2135 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2136
2137 2019-04-30 Ali Tamur <tamur@google.com>
2138
2139 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2140
2141 2019-04-30 Tom Tromey <tromey@adacore.com>
2142
2143 * lib/ada.exp (find_ada_tool): New proc.
2144 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2145 * gdb.ada/catch_ex_std.exp: New file.
2146 * gdb.ada/catch_ex_std/foo.adb: New file.
2147 * gdb.ada/catch_ex_std/some_package.adb: New file.
2148 * gdb.ada/catch_ex_std/some_package.ads: New file.
2149
2150 2019-04-30 Tom Tromey <tromey@adacore.com>
2151
2152 PR c++/24470:
2153 * gdb.cp/temargs.cc: Add test code from PR.
2154
2155 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2156
2157 * gdb.fortran/vla-datatypes.exp: Update expected results.
2158 * gdb.fortran/vla-ptype.exp: Likewise.
2159 * gdb.fortran/vla-type.exp: Likewise.
2160 * gdb.fortran/vla-value.exp: Likewise.
2161
2162 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2163
2164 * gdb.fortran/ptr-indentation.exp: Update expected results.
2165 * gdb.fortran/ptype-on-functions.exp: Likewise.
2166 * gdb.fortran/vla-ptr-info.exp: Likewise.
2167 * gdb.fortran/vla-value.exp: Likewise.
2168
2169 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2170
2171 * gdb.fortran/ptype-on-functions.exp: New file.
2172 * gdb.fortran/ptype-on-functions.f90: New file.
2173
2174 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2175
2176 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2177 case void string.
2178
2179 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2180
2181 * gdb.fortran/complex.exp: Expand.
2182 * gdb.fortran/complex.f: Renamed to...
2183 * gdb.fortran/complex.f90: ...this, and extended to add more
2184 complex values.
2185
2186 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2187
2188 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2189 MODULO, CMPLX.
2190
2191 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2192 Richard Bunt <richard.bunt@arm.com>
2193
2194 * gdb.base/max-depth.c: New file.
2195 * gdb.base/max-depth.exp: New file.
2196 * gdb.python/py-nested-maps.c: New file.
2197 * gdb.python/py-nested-maps.exp: New file.
2198 * gdb.python/py-nested-maps.py: New file.
2199 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2200 (test_all_common): Call test_max_depth.
2201 * gdb.fortran/max-depth.exp: New file.
2202 * gdb.fortran/max-depth.f90: New file.
2203 * gdb.go/max-depth.exp: New file.
2204 * gdb.go/max-depth.go: New file.
2205 * gdb.modula2/max-depth.exp: New file.
2206 * gdb.modula2/max-depth.c: New file.
2207 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2208
2209 2019-04-29 Tom de Vries <tdevries@suse.de>
2210
2211 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2212
2213 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2214
2215 * gdb.base/callexit.exp: Test may-call-functions off.
2216
2217 2019-04-25 Keith Seitz <keiths@redhat.com>
2218
2219 PR c++/24367
2220 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2221 (another_incomplete_struct, test_incomplete): New definitions.
2222 (main): Use new definitions.
2223 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2224 functions.
2225
2226 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2227
2228 PR corefiles/11608
2229 PR corefiles/18187
2230 * gdb.base/coredump-filter-build-id.exp: New file.
2231
2232 2019-04-25 Alan Hayward <alan.hayward@arm.com>
2233
2234 * Makefile.in: Pass through GDBSERVER_DEBUG.
2235 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2236 (gdbserver,debug): Add board setting.
2237 * gdb.trace/tspeed.exp: Skip when debugging.
2238 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2239 * lib/gdbserver-support.exp: Likewise
2240
2241 2019-04-24 Tom Tromey <tromey@adacore.com>
2242
2243 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2244 Rust.
2245
2246 2019-04-24 Tom Tromey <tromey@adacore.com>
2247
2248 * gdb.arch/amd64-eval.exp: Test bitfield return.
2249 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2250 (class Foo) <return_bitfields>: New method.
2251 (main): Call it.
2252
2253 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2254
2255 * gdb.cp/many-args.cc: New file.
2256 * gdb.cp/many-args.exp: New file.
2257
2258 2019-04-23 Tom de Vries <tdevries@suse.de>
2259
2260 PR gdb/24433
2261 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2262
2263 2019-04-23 Alan Hayward <alan.hayward@arm.com>
2264
2265 * gdb.trace/backtrace.exp: Use nopie flag.
2266 * gdb.trace/circ.exp: Likewise.
2267 * gdb.trace/collection.exp: Likewise.
2268 * gdb.trace/ftrace.exp: Likewise.
2269 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2270 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2271 * gdb.trace/qtro.exp: Likewise.
2272 * gdb.trace/read-memory.exp: Likewise.
2273 * gdb.trace/report.exp: Likewise.
2274 * gdb.trace/tfile.exp: Likewise.
2275 * gdb.trace/tfind.exp: Likewise.
2276 * gdb.trace/unavailable.exp: Likewise.
2277
2278 2019-04-22 Pedro Alves <palves@redhat.com>
2279
2280 * gdb.base/solib-probes-nosharedlibrary.c,
2281 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2282
2283 2019-04-19 Tom Tromey <tromey@adacore.com>
2284
2285 * gdb.ada/ptype_union.c: New file.
2286 * gdb.ada/ptype_union.exp: New file.
2287
2288 2019-04-19 Tom Tromey <tromey@adacore.com>
2289
2290 PR symtab/24423:
2291 * gdb.base/list0.h (foo): Add a control-l character.
2292
2293 2019-04-18 Tom de Vries <tdevries@suse.de>
2294
2295 PR gdb/24433
2296 * boards/local-board.exp: Set sysroot to "".
2297
2298 2019-04-18 Tom de Vries <tdevries@suse.de>
2299 Pedro Alves <palves@redhat.com>
2300
2301 PR gdb/24454
2302 * gdb.threads/vfork-follow-child-exec.c: New file.
2303 * gdb.threads/vfork-follow-child-exec.exp: New file.
2304 * gdb.threads/vfork-follow-child-exit.c: New file.
2305 * gdb.threads/vfork-follow-child-exit.exp: New file.
2306
2307 2019-04-15 Leszek Swirski <leszeks@google.com>
2308
2309 * gdb.arch/amd64-eval.cc: New file.
2310 * gdb.arch/amd64-eval.exp: New file.
2311
2312 2019-04-11 Alan Hayward <alan.hayward@arm.com>
2313
2314 * gdb.server/sysroot.c: New test.
2315 * gdb.server/sysroot.exp: New file.
2316 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2317 matching param.
2318
2319 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2320
2321 * gdb.base/align.exp: Extend test to cover structures containing
2322 only static fields.
2323
2324 2019-04-11 Tom de Vries <tdevries@suse.de>
2325
2326 * boards/cc-with-dwz-m.exp: New file.
2327 * boards/cc-with-dwz.exp: New file.
2328 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2329
2330 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
2331
2332 * gdb.base/start-cpp.exp: New file.
2333 * gdb.base/start-cpp.cc: New file.
2334
2335 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2336
2337 * gdb.python/py-thrhandle.exp: Adjust tests to call
2338 thread_from_handle instead of thread_from_thread_handle.
2339
2340 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2341
2342 * gdb.python/py-thrhandle.exp: Add tests for
2343 gdb.InferiorThread.handle.
2344
2345 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2346
2347 * gdb.python/py-function.exp: Check calling helper function from
2348 all languages.
2349 * lib/gdb.exp (gdb_supported_languages): New proc.
2350
2351 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2352
2353 * gdb.base/complex-parts.c: New file.
2354 * gdb.base/complex-parts.exp: New file.
2355
2356 2019-04-01 Tom Tromey <tromey@adacore.com>
2357
2358 PR symtab/23331:
2359 * gdb.dwarf2/dw2-ranges-main.c: New file.
2360 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2361 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2362
2363 2019-03-30 Simon Marchi <simark@simark.ca>
2364
2365 * gdb.base/default.exp: Add values for $_gdb_major and
2366 $_gdb_minor.
2367
2368 2019-03-29 Tom Tromey <tromey@adacore.com>
2369
2370 * gdb.base/help.exp: Tighten apropos regexp.
2371
2372 2019-03-29 Keith Seitz <keiths@redhat.com>
2373
2374 * gdb.fortran/array-bounds.exp: New file.
2375 * gdb.fortran/array-bounds.f90: New file.
2376
2377 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2378
2379 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2380
2381 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2382
2383 * gdb.multi/hello.c (main): Increase alarm timer.
2384
2385 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2386
2387 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2388 factor when no hardware watchpoint support.
2389
2390 2019-03-28 Alan Hayward <alan.hayward@arm.com>
2391 Pedro Alves <palves@redhat.com>
2392
2393 * boards/local-board.exp: set sysroot to /.
2394
2395 2019-03-27 Alan Hayward <alan.hayward@arm.com>
2396
2397 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2398 in child.
2399
2400 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2401
2402 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2403 field.
2404 (make_container): Initialise new field.
2405 * gdb.python/py-prettyprint.exp: Add new tests.
2406 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2407 <display_hint>: New method.
2408
2409 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2410
2411 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2412 gdb_continue_to_breakpoint more throughout this test.
2413 (run_lang_tests) Supply unique test names, and use
2414 gdb_test_no_output.
2415
2416 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2417
2418 * gdb.base/finish-pretty.exp: Update expected results.
2419 * gdb.base/pretty-print.c: New file.
2420 * gdb.base/pretty-print.exp: New file.
2421
2422 2019-03-25 Pedro Alves <palves@redhat.com>
2423
2424 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2425 move comments outside list. Append '-i "" eof' section.
2426
2427 2019-03-22 Alan Hayward <alan.hayward@arm.com>
2428
2429 PR testsuite/25016
2430 * README: Add pie options.
2431 * gdb.base/break-interp.exp: Ensure pie is disabled.
2432 * gdb.base/dump.exp: Likewise.
2433 * lib/gdb.exp (gdb_compile): Add pie option.
2434
2435 2019-03-19 Tom Tromey <tromey@adacore.com>
2436
2437 * gdb.mi/mi2-cli-display.c: New file.
2438 * gdb.mi/mi2-cli-display.exp: New file.
2439
2440 2019-03-18 Joel Brobecker <brobecker@adacore.com>
2441 Tom Tromey <tromey@adacore.com>
2442
2443 * gdb.ada/ptype_array/pck.adb: New file.
2444 * gdb.ada/ptype_array/pck.ads: New file.
2445 * gdb.ada/ptype_array/foo.adb: New file.
2446 * gdb.ada/ptype_array.exp: New file.
2447
2448 2019-03-14 Tom Tromey <tromey@adacore.com>
2449
2450 * gdb.base/style.exp: Add "set style sources" test.
2451
2452 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2453
2454 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2455 * mi-breakpoint-multiple-locations.exp: ... this.
2456 (make_breakpoints_pattern): New proc.
2457 (do_test): Add mi_version parameter, test -break-insert,
2458 -break-info and =breakpoint-created.
2459
2460 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2461
2462 * config/default.exp: Remove 'load_lib gdb.exp'.
2463 * config/monitor.exp: Likewise.
2464 * config/sid.exp: Likewise.
2465 * config/sim.exp: Likewise.
2466 * config/slite.exp: Likewise.
2467 * config/unix.exp: Likewise.
2468 * gdb.base/default.exp: Remove unhelpful comment.
2469
2470 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2471
2472 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2473
2474 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2475
2476 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2477
2478 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2479
2480 * gdb.fortran/type-kinds.exp: Update expected results.
2481
2482 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2483
2484 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2485
2486 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2487
2488 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2489 function.
2490 (test_basic_parsing_of_type_kinds): Expand types tested.
2491 (test_parsing_invalid_type_kinds): New function.
2492
2493 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2494
2495 * gdb.fortran/intrinsics.exp: New file.
2496 * gdb.fortran/intrinsics.f90: New file.
2497 * gdb.fortran/type-kinds.exp: New file.
2498
2499 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2500
2501 * gdb.fortran/dot-ops.exp: New file.
2502
2503 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2504
2505 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2506 Check upper and lower case logical literals.
2507
2508 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2509
2510 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2511 Remove duplicate tests.
2512
2513 2019-03-06 Alan Hayward <alan.hayward@arm.com>
2514
2515 * lib/gdb.exp (builtin_cd): rename of cd.
2516 (cd): Override builtin.
2517
2518 2019-03-06 Richard Bunt <richard.bunt@arm.com>
2519
2520 * gdb.fortran/function-calls.exp: New file.
2521 * gdb.fortran/function-calls.f90: New test.
2522
2523 2019-03-04 Richard Bunt <richard.bunt@arm.com>
2524
2525 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2526 on user program standard output.
2527 * gdb.fortran/short-circuit-argument-list.f90: Record function
2528 calls.
2529
2530 2019-02-28 Alan Hayward <alan.hayward@arm.com>
2531
2532 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2533 failure.
2534
2535 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2536
2537 PR gdb/8527
2538 * gdb.base/interrupt-daemon-attach.c,
2539 gdb.base/interrupt-daemon-attach.exp: New test.
2540
2541 2019-02-27 Pedro Alves <palves@redhat.com>
2542
2543 * gdb.base/page.exp: Add tests for "set width/height -1".
2544
2545 2019-02-27 Pedro Alves <palves@redhat.com>
2546
2547 * gdb.base/page.exp: Add tests for "set/show width/height" with
2548 "infinite" values.
2549
2550 2019-02-27 Tom Tromey <tromey@adacore.com>
2551
2552 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2553 2.4.
2554 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2555 workaround.
2556
2557 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2558
2559 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2560 tests for structs with static members.
2561
2562 2019-02-26 Tom Tromey <tromey@adacore.com>
2563
2564 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2565 ValueError, not TypeError.
2566
2567 2019-02-26 Kevin Buettner <kevinb@redhat.com>
2568
2569 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2570 call from main program.
2571
2572 2019-02-23 Joel Brobecker <brobecker@adacore.com>
2573
2574 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2575 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2576 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2577 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2578 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2579
2580 2019-02-22 Keith Seitz <keiths@redhat.com>
2581
2582 PR symtab/23853
2583 * gdb.base/symlink-sourcefile.c: New file.
2584 * gdb.base/symlink-sourcefile.exp: New file.
2585
2586 2019-02-20 Tom Tromey <tom@tromey.com>
2587
2588 * gdb.base/info_qt.exp: Update.
2589
2590 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2591
2592 * gdb.base/source.exp: Move "error in sourced script" code to
2593 the end.
2594 * gdb.base/source-error.gdb: Move contents to
2595 source-error-1.gdb. Add new code to source source-error-1.gdb.
2596 * gdb.base/source-error-1.gdb: New file, from previous
2597 source-error.gdb.
2598
2599 2019-02-17 Tom Tromey <tom@tromey.com>
2600
2601 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2602 for macro styling.
2603 * gdb.base/style.c (SOME_MACRO): New macro.
2604
2605 2019-02-17 Tom Tromey <tom@tromey.com>
2606
2607 * gdb.base/style.exp: Add line-wrapping tests.
2608 * gdb.base/page.exp: Add test for quitting during pagination.
2609
2610 2019-02-17 Joel Brobecker <brobecker@adacore.com>
2611
2612 * gdb.ada/big_packed_array: New testcase.
2613 * gdb.ada/homonym.exp: Fix incorrect expected output for
2614 "break <homonym__get_value>" test.
2615
2616 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
2617
2618 PR breakpoints/21870
2619 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2620 and prepare_for_testing. Add comment.
2621 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2622 redundant cleanup call. Clean up comment.
2623
2624 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
2625
2626 PR breakpoints/21870
2627 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2628 * gdb.arch/aarch64-dbreg-contents.c: New file.
2629
2630 2019-02-10 Joel Brobecker <brobecker@adacore.com>
2631
2632 * gdb.ada/mi_ref_changeable: New testcase.
2633
2634 2019-02-07 Alan Hayward <alan.hayward@arm.com>
2635
2636 * gdb.base/attach.exp: Add double attach test.
2637
2638 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2639
2640 * lib/gdb.exp (default_gdb_start): Don't match pagination
2641 prompt.
2642 (gdb_init): Set stty_init.
2643
2644 2019-01-27 Tom Tromey <tom@tromey.com>
2645
2646 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2647 skip_python_tests.
2648
2649 2019-01-24 Alan Hayward <alan.hayward@arm.com>
2650
2651 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2652 New structure.
2653 (struct struct_static_02_02): Likewise.
2654 (struct struct_static_02_03): Likewise.
2655 (struct struct_static_02_04): Likewise.
2656 (struct struct_static_04_01): Likewise.
2657 (struct struct_static_04_02): Likewise.
2658 (struct struct_static_04_03): Likewise.
2659 (struct struct_static_04_04): Likewise.
2660 (struct struct_static_06_01): Likewise.
2661 (struct struct_static_06_02): Likewise.
2662 (struct struct_static_06_03): Likewise.
2663 (struct struct_static_06_04): Likewise.
2664 (cmp_struct_static_02_01): Likewise.
2665 (cmp_struct_static_02_02): Likewise.
2666 (cmp_struct_static_02_03): Likewise.
2667 (cmp_struct_static_02_04): Likewise.
2668 (cmp_struct_static_04_01): Likewise.
2669 (cmp_struct_static_04_02): Likewise.
2670 (cmp_struct_static_04_03): Likewise.
2671 (cmp_struct_static_04_04): Likewise.
2672 (cmp_struct_static_06_01): Likewise.
2673 (cmp_struct_static_06_02): Likewise.
2674 (cmp_struct_static_06_03): Likewise.
2675 (cmp_struct_static_06_04): Likewise.
2676 (call_all): Test new structs.
2677 * gdb.base/infcall-nested-structs.exp: Likewise.
2678
2679 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2680 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2681
2682 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2683 * gdb.base/stack-protector.c: New test.
2684 * gdb.base/stack-protector.exp: New file.
2685 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2686 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2687 option.
2688 (gdb_compile): Remove stack protector for GCC and prevent
2689 recursion.
2690
2691 2019-01-16 Keith Seitz <keiths@redhat.com>
2692
2693 PR gdb/23773
2694 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2695
2696 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2697
2698 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2699 aliases.
2700 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2701 tests.
2702 * gdb.arch/powerpc-vector-regs.c: New file.
2703 * gdb.arch/powerpc-vector-regs.exp: New file.
2704
2705 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2706
2707 * gdb.arch/altivec-regs.exp: Fix the list passed to
2708 gdb_expect_list when testing "info vector".
2709
2710 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2711
2712 * gdb.base/style.exp: Don't include path in testname.
2713
2714 2019-01-10 Keith Seitz <keiths@redhat.com>
2715
2716 PR gdb/23712
2717 PR symtab/23010
2718 * gdb.dwarf2/multidictionary.exp: New file.
2719
2720 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2721
2722 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2723 (test_gnuv3_style_demangling): ... this.
2724 (test_lucid_style_demangling): Remove.
2725 (test_arm_style_demangling): Remove.
2726 (test_hp_style_demangling): Remove.
2727 (do_tests): Remove calls to the above.
2728
2729 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2730
2731 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2732 case.
2733
2734 2019-01-06 Tom Tromey <tom@tromey.com>
2735
2736 PR gdb/28155:
2737 * gdb.dwarf2/typedef-void-finish.exp: New file.
2738
2739 2018-12-28 Tom Tromey <tom@tromey.com>
2740 Simon Marchi <simark@simark.ca>
2741
2742 * gdb.base/jit-exec.exp: New file.
2743 * gdb.base/jit-exec.c: New file.
2744 * gdb.base/jit-execd.c: New file.
2745
2746 2018-12-28 Tom Tromey <tom@tromey.com>
2747
2748 * gdb.base/style.exp: Update test to check for address styling.
2749
2750 2018-12-28 Tom Tromey <tom@tromey.com>
2751
2752 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2753 message.
2754
2755 2018-12-28 Tom Tromey <tom@tromey.com>
2756
2757 * gdb.base/style.exp: Add test for version number styling.
2758
2759 2018-12-28 Tom Tromey <tom@tromey.com>
2760
2761 * gdb.base/style.exp: Add test for print_address_symbolic.
2762
2763 2018-12-28 Tom Tromey <tom@tromey.com>
2764
2765 * gdb.base/style.exp: Add test for breakpoint setting.
2766
2767 2018-12-28 Tom Tromey <tom@tromey.com>
2768
2769 * gdb.base/style.exp: Add test for variable names.
2770
2771 2018-12-28 Tom Tromey <tom@tromey.com>
2772
2773 * gdb.base/style.exp: New file.
2774 * gdb.base/style.c: New file.
2775
2776 2018-12-28 Tom Tromey <tom@tromey.com>
2777
2778 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2779 "dumb".
2780 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2781 the TERM environment variable.
2782
2783 2018-12-27 Tom Tromey <tom@tromey.com>
2784
2785 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2786 pagination test.
2787
2788 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2789
2790 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2791 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2792
2793 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2794
2795 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2796 Filename a.adb changed to bp_fun_addr.adb.
2797 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2798
2799 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2800
2801 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2802 non-PIE executables.
2803 * README: Mention the gdb,nopie_flag board setting.
2804 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2805 non-PIE executable.
2806 * gdb.arch/amd64-entry-value.exp: Likewise.
2807 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2808 * gdb.arch/i386-float.exp: Likewise.
2809 * gdb.arch/i386-signal.exp: Likewise.
2810 * gdb.mi/mi-reg-undefined.exp: Likewise.
2811
2812 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2813
2814 PR gdb/23974
2815 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2816
2817 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2818
2819 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2820 Update order of results accordingly.
2821
2822 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2823
2824 * gdb.base/annota1.exp: Update a test regexp.
2825
2826 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2827
2828 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2829
2830 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2831
2832 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2833 (reuse_time): Initialize to REUSE_TIME_CAP.
2834 (check_rc): New function.
2835 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2836 Check pthread_create rc.
2837 (spawner_thread_func): Check pthread_create and pthread_join rc.
2838
2839 2018-12-08 Pedro Alves <palves@redhat.com>
2840
2841 * gdb.base/list.exp (test_forward_search): Rename to ...
2842 (test_forward_reverse_search): ... this. Also test reverse-search
2843 and the forward-search alias.
2844
2845 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2846
2847 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2848 local timeout variable before return, and remove all local timeout
2849 variable entirely.
2850 (gdb_load): Likewise.
2851
2852 2018-12-01 Tom de Vries <tdevries@suse.de>
2853
2854 * gdb.base/gdb-caching-proc.exp: New file.
2855
2856 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2857
2858 * Makefile.in (TIMESTAMP): New variable.
2859 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2860 command.
2861 (check-single-racy): Likewise.
2862 (check/%.exp): Likewise.
2863 (check-racy/%.exp): Likewise.
2864 (workers/%.worker): Likewise.
2865 (build-perf): Likewise.
2866 (check-perf): Likewise.
2867 * README: Describe new "TS" and "TS_FORMAT" variables.
2868 * print-ts.py: New file.
2869
2870 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2871
2872 PR python/23714
2873 * gdb.python/python.exp: Test command repetition after
2874 gdb.execute.
2875
2876 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2877
2878 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2879 is correctly aligned.
2880
2881 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2882
2883 * gdb.ada/info_auto_lang.exp: New testcase.
2884 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2885 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2886 * gdb.ada/info_auto_lang/some_c.c: New file.
2887
2888 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2889
2890 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2891 FUNC_lang language syntax.
2892
2893 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2894
2895 * gdb.base/info_minsym.c: New file.
2896 * gdb.base/info_minsym.exp: New file.
2897
2898 2018-11-19 Tom Tromey <tom@tromey.com>
2899
2900 PR rust/23625:
2901 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2902 * gdb.rust/expr.exp: Update expected output. Change one test.
2903
2904 2018-11-19 Tom Tromey <tom@tromey.com>
2905
2906 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2907
2908 2018-11-19 Pedro Alves <palves@redhat.com>
2909
2910 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2911 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2912 see the expected warning.
2913
2914 2018-11-16 Alan Hayward <alan.hayward@arm.com>
2915
2916 PR gdb/22736:
2917 * gdb.cp/infcall-nodebug-lib.c: New test.
2918 * gdb.cp/infcall-nodebug-main.c: New test.
2919 * gdb.cp/infcall-nodebug.exp: New file.
2920
2921 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2922
2923 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2924 completer tests.
2925
2926 2018-11-09 Tom de Vries <tdevries@suse.de>
2927
2928 * gdb.base/msym-lang.c: New test.
2929 * gdb.base/msym-lang.exp: New file.
2930 * gdb.base/msym-lang-main.c: New test.
2931
2932 2018-11-08 Tom Tromey <tom@tromey.com>
2933
2934 PR gdb/23555:
2935 PR gdb/23838:
2936 * gdb.base/warning.exp: New file.
2937
2938 2018-11-08 Jan Beulich <jbeulich@suse.com>
2939
2940 * testsuite/gdb.arch/i386-avx512.c,
2941 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2942
2943 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2944
2945 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2946 point hardware.
2947
2948 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2949
2950 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2951 * gdb.dwarf2/missing-type-name.exp: New file.
2952
2953 2018-11-06 Tom de Vries <tdevries@suse.de>
2954
2955 * gdb.base/many-headers.c: New test.
2956 * gdb.base/many-headers.exp: New file.
2957
2958 2018-11-06 Jim Wilson <jimw@sifive.com>
2959
2960 * gdb.base/code_elim.exp: For riscv, set additional_flags
2961 to include -msmall-data-limit=0.
2962
2963 2018-11-01 Joel Brobecker <brobecker@adacore.com>
2964
2965 * gdb.ada/watch_minus_l: New testcase.
2966
2967 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2968
2969 * gdb.arch/aix-sighandle.c: New file.
2970 * gdb.arch/aix-sighandle.exp: New file.
2971
2972 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2973
2974 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
2975 registers being unions.
2976
2977 2018-10-31 Tom de Vries <tdevries@suse.de>
2978
2979 * lib/valgrind.exp: New file.
2980 (vgdb_start, vgdb_stop): New procs, factored out of ...
2981 * gdb.base/valgrind-bt.exp: ... here, ...
2982 * gdb.base/valgrind-disp-step.exp: ... here and ...
2983 * gdb.base/valgrind-infcall.exp: ... here.
2984
2985 2018-10-31 Tom de Vries <tdevries@suse.de>
2986
2987 * lib/gdb.exp (get_valueof): Don't output read value in test name.
2988
2989 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
2990
2991 * gdb.dwarf2/void-type.c: New file.
2992 * gdb.dwarf2/void-type.exp: New file.
2993
2994 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2995
2996 * gdb.base/info_qt.c: New file.
2997 * gdb.base/info_qt.exp: New file.
2998
2999 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3000
3001 * gdb.arch/powerpc-htm-regs.c: New file.
3002 * gdb.arch/powerpc-htm-regs.exp: New file.
3003
3004 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3005
3006 * gdb.arch/powerpc-tar.c: New file.
3007 * gdb.arch/powerpc-tar.exp: New file.
3008
3009 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3010
3011 * gdb.arch/powerpc-ppr-dscr.c: New file.
3012 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3013
3014 2018-10-25 Tom de Vries <tdevries@suse.de>
3015
3016 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3017
3018 2018-10-24 Tom de Vries <tdevries@suse.de>
3019
3020 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3021 longer exists error.
3022
3023 2018-10-24 Tom de Vries <tdevries@suse.de>
3024
3025 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3026
3027 2018-10-24 Tom de Vries <tdevries@suse.de>
3028
3029 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3030 --db-attach in valgrind.
3031
3032 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3033
3034 * gdb.arch/riscv-reg-aliases.c: New file.
3035 * gdb.arch/riscv-reg-aliases.exp: New file.
3036
3037 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3038
3039 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3040
3041 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3042
3043 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3044
3045 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3046
3047 * gdb.cp/ovldbreak.exp: Fix regexps.
3048
3049 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3050
3051 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3052
3053 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3054
3055 PR cli/23785
3056 * gdb.base/restore.exp: New test to check if "restore" with an
3057 invalid file doesn't segfault.
3058
3059 2018-10-18 Tom de Vries <tdevries@suse.de>
3060
3061 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3062 * gdb.ada/excep_handle.exp: Same.
3063 * gdb.ada/mi_string_access.exp: Same.
3064 * gdb.ada/mi_var_union.exp: Same.
3065 * gdb.arch/arc-analyze-prologue.exp: Same.
3066 * gdb.arch/arc-decode-insn.exp: Same.
3067 * gdb.base/readnever.exp: Same.
3068 * gdb.fortran/printing-types.exp: Same.
3069 * gdb.guile/scm-lazy-string.exp: Same.
3070
3071 2018-10-16 Tom de Vries <tdevries@suse.de>
3072
3073 PR gdb/23730
3074 * gdb.base/catch-follow-exec.c: Add copyright notice.
3075 * gdb.base/catch-follow-exec.exp: Rewrite to use
3076 gdb_spawn_with_cmdline_opts. Require gdb-native.
3077
3078 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3079
3080 * gdb.trace/actions-changed.exp: Check for arch support.
3081 * gdb.trace/actions.exp: Likewise.
3082 * gdb.trace/ax.exp: Likewise.
3083 * gdb.trace/backtrace.exp: Likewise.
3084 * gdb.trace/change-loc.exp: Likewise.
3085 * gdb.trace/deltrace.exp: Likewise.
3086 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3087 * gdb.trace/ftrace.exp: Likewise.
3088 * gdb.trace/infotrace.exp: Check for arch support.
3089 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3090 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3091 * gdb.trace/mi-tsv-changed.exp: Likewise.
3092 * gdb.trace/packetlen.exp: Likewise.
3093 * gdb.trace/passc-dyn.exp: Likewise.
3094 * gdb.trace/passcount.exp: Likewise.
3095 * gdb.trace/pending.exp: Likewise.
3096 * gdb.trace/range-stepping.exp: Check for shlib support.
3097 * gdb.trace/report.exp: Check for arch support.
3098 * gdb.trace/save-trace.exp: Likewise.
3099 * gdb.trace/signal.exp: Check for signal support.
3100 * gdb.trace/tfind.exp: Check for arch support.
3101 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3102 * gdb.trace/trace-common.h: Add comment.
3103 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3104 * gdb.trace/trace-enable-disable.exp: Likewise.
3105 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3106 * gdb.trace/tracecmd.exp: Check for arch support.
3107 * gdb.trace/tspeed.exp: Check for shlib and target support.
3108 * gdb.trace/tstatus.exp: Check for arch support.
3109 * gdb.trace/tsv.exp: Likewise.
3110 * gdb.trace/while-dyn.exp: Likewise.
3111 * gdb.trace/while-stepping.exp: Likewise.
3112 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3113
3114 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3115
3116 * gdb.trace/tspeed.exp: Remove nowarnings.
3117 (prepare_for_trace_test): Declare "global ipalib".
3118 * gdb.trace/tspeed.c: Include unistd.h.
3119 (main): Remove superfluous printf argument.
3120
3121 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3122
3123 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3124 directory prefix on the filename.
3125
3126 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3127
3128 * gdb.gdb/unittest.exp: Update expected message informing that
3129 selftests have been disabled.
3130 * gdb.server/unittest.exp: Likewise.
3131
3132 2018-10-09 Tom de Vries <tdevries@suse.de>
3133
3134 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3135 with runto_main.
3136
3137 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3138
3139 PR c++/16841
3140 * gdb.cp/virtbase2.cc: New file.
3141 * gdb.cp/virtbase2.exp: New file.
3142
3143 2018-10-06 Tom Tromey <tom@tromey.com>
3144
3145 PR python/19399:
3146 * gdb.python/py-inferior.exp: Add architecture test.
3147
3148 2018-10-06 Tom Tromey <tom@tromey.com>
3149
3150 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3151 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3152
3153 2018-10-06 Tom Tromey <tom@tromey.com>
3154
3155 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3156 of a "throw" catchpoint.
3157
3158 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3159
3160 * gdb.base/info-proc.exp: Update string expected from "help info
3161 proc".
3162
3163 2018-10-04 Tom Tromey <tom@tromey.com>
3164
3165 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3166 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3167 (test_initial_complaints, test_empty_complaints): Update.
3168 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3169
3170 2018-10-04 Tom Tromey <tom@tromey.com>
3171
3172 PR cli/19551:
3173 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3174 * lib/gdb.exp (gdb_file_cmd): Update.
3175 * gdb.stabs/weird.exp (print_weird_var): Update.
3176 * gdb.server/solib-list.exp: Update.
3177 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3178 * gdb.mi/mi-cli.exp: Update.
3179 * gdb.linespec/linespec.exp: Update.
3180 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3181 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3182 * gdb.cp/cp-relocate.exp: Update.
3183 * gdb.base/sym-file.exp: Update.
3184 * gdb.base/relocate.exp: Update.
3185 * gdb.base/readnever.exp: Update.
3186 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3187 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3188 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3189 * gdb.base/code_elim.exp: Update.
3190 * gdb.base/break-unload-file.exp (test_break): Update.
3191 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3192 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3193 Update.
3194 * gdb.base/attach.exp (do_attach_tests): Update.
3195 * gdb.base/sepdebug.exp: Update.
3196 * gdb.python/py-section-script.exp: Update.
3197
3198 2018-10-04 Tom Tromey <tom@tromey.com>
3199
3200 PR cli/22234:
3201 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3202 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3203 output.
3204
3205 2018-10-04 Tom Tromey <tom@tromey.com>
3206
3207 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3208 set width and height to 0.
3209 (test_command_line_attach_run): Use -quiet.
3210
3211 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3212
3213 * lib/gdb.exp (skip_ifunc_tests): New.
3214 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3215 other compile failures.
3216 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3217
3218 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3219
3220 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3221 is_amd64_regs_target.
3222
3223 2018-10-01 Alan Hayward <alan.hayward@arm.com>
3224
3225 * gdb.arch/aarch64-sighandler-regs.c: New test.
3226 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3227 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3228
3229 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3230
3231 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3232 assembly.
3233
3234 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3235
3236 * gdb.base/frame-selection.exp: New file.
3237 * gdb.base/frame-selection.c: New file.
3238
3239 2018-09-27 Alan Hayward <alan.hayward@arm.com>
3240
3241 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3242 pthread barrier.
3243 (main): Likewise.
3244
3245 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3246
3247 * gdb.base/large-frame-1.c: New file.
3248 * gdb.base/large-frame-2.c: New file.
3249 * gdb.base/large-frame.exp: New file.
3250 * gdb.base/large-frame.h: New file.
3251
3252 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3253
3254 PR gdb/20948
3255 * gdb.base/write_mem.exp: New test.
3256 * gdb.base/write_mem.c: Likewise.
3257
3258 2018-09-23 Tom Tromey <tom@tromey.com>
3259
3260 PR python/18852:
3261 * gdb.python/py-parameter.exp: Add test for parameter that throws
3262 on "set".
3263
3264 2018-09-23 Tom Tromey <tom@tromey.com>
3265
3266 PR python/17284:
3267 * gdb.python/py-template.exp (test_template_arg): Add test for
3268 negative template argument number.
3269
3270 2018-09-23 Tom Tromey <tom@tromey.com>
3271
3272 PR python/14062:
3273 * gdb.python/python.exp: Add test for post_event error.
3274
3275 2018-09-23 Tom Tromey <tom@tromey.com>
3276
3277 PR python/18170:
3278 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3279 convert pointers to int and long.
3280
3281 2018-09-23 Tom Tromey <tom@tromey.com>
3282
3283 PR python/20126:
3284 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3285 signed-ness conversion tests.
3286
3287 2018-09-23 Tom Tromey <tom@tromey.com>
3288
3289 PR python/18352;
3290 * gdb.python/py-value.exp (test_float_conversion): New proc.
3291 Use it.
3292
3293 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3294
3295 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3296
3297 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3298
3299 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3300 no readline.
3301 * gdb.base/utf8-identifiers.exp: Likewise.
3302 * gdb.cp/cpcompletion.exp: Likewise.
3303 * gdb.linespec/cpcompletion.exp: Likewise.
3304 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3305 * gdb.linespec/cpls-ops.exp: Likewise.
3306
3307 2018-09-19 Richard Bunt <richard.bunt@arm.com>
3308 Chris January <chris.january@arm.com>
3309
3310 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3311 * gdb.fortran/short-circuit-argument-list.exp: New file.
3312 * gdb.fortran/short-circuit-argument-list.f90: New test.
3313
3314 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3315
3316 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3317 "arch=" keyword when executing "-stack-list-frames".
3318
3319 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3320
3321 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3322 "arch=" keyword when executing "-stack-list-frames".
3323
3324 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3325
3326 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3327 break ada".
3328
3329 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3330
3331 PR python/23669
3332 * gdb.python/python.exp: Test gdb.execute("show commands").
3333
3334 2018-09-16 Tom Tromey <tom@tromey.com>
3335
3336 * gdb.base/new-ui.exp (do_execution_tests): Update.
3337 * gdb.base/dbx.exp (test_breakpoints): Update.
3338
3339 2018-09-14 Alan Hayward <alan.hayward@arm.com>
3340
3341 * lib/gdb.exp (gdb_simple_compile): Add proc.
3342 (is_elf_target): Use gdb_simple_compile.
3343 (skip_altivec_tests): Likewise.
3344 (skip_vsx_tests): Likewise.
3345 (skip_tsx_tests): Likewise.
3346 (skip_btrace_tests): Likewise.
3347 (skip_btrace_pt_tests): Likewise.
3348 (gdb_can_simple_compile): Likewise.
3349 (gdb_has_argv0): Likewise.
3350 (gdb_target_symbol_prefix): Likewise.
3351 (target_supports_scheduler_locking): Likewise.
3352
3353 2018-09-13 Tom Tromey <tom@tromey.com>
3354
3355 * Makefile.in (TAGS): Recognize proc_with_prefix and
3356 gdb_caching_proc.
3357
3358 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3359
3360 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3361 method.
3362
3363 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3364
3365 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3366 and a few other Inferior properties when the Inferior is no
3367 longer valid.
3368
3369 2018-09-13 Tom Tromey <tom@tromey.com>
3370
3371 PR rust/23650:
3372 * gdb.rust/simple.exp: Add test for enum field access error.
3373
3374 2018-09-13 Tom Tromey <tom@tromey.com>
3375
3376 PR rust/23626:
3377 * gdb.rust/simple.rs (EmptyEnum): New type.
3378 (main): Use it.
3379 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3380
3381 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3382
3383 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3384 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3385 * gdb.python/py-symtab.exp: Update test printing an objfile.
3386
3387 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3388
3389 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3390 object.
3391
3392 2018-09-12 Alan Hayward <alan.hayward@arm.com>
3393
3394 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3395 (support_complex_tests): Use gdb_can_simple_compile.
3396 (is_ilp32_target): Likewise.
3397 (is_lp64_target): Likewise.
3398 (is_64_target): Likewise.
3399 (is_amd64_regs_target): Likewise.
3400 (is_aarch32_target): Likewise.
3401 (gdb_int128_helper): Likewise.
3402
3403 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3404
3405 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3406
3407 2018-09-10 Jerome Guitton <guitton@adacore.com>
3408
3409 * gdb.ada/same_component_name: Add test for case of tagged record
3410 with variable-length fields.
3411
3412 2018-09-10 Xavier Roirand <roirand@adacore.com>
3413
3414 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3415 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3416 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3417 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3418
3419 2018-09-10 Xavier Roirand <roirand@adacore.com>
3420
3421 * gdb.ada/mi_string_access.exp: New testcase.
3422 * gdb.ada/mi_string_access/bar.adb: New file.
3423 * gdb.ada/mi_string_access/pck.adb: New file.
3424 * gdb.ada/mi_string_access/pck.asd: New file.
3425
3426 2018-09-10 Xavier Roirand <roirand@adacore.com>
3427
3428 * gdb.ada/mi_var_union.exp: New testcase.
3429 * gdb.ada/mi_var_union/bar.adb: New file.
3430 * gdb.ada/mi_var_union/pck.adb: New file.
3431 * gdb.ada/mi_var_union/pck.asd: New file.
3432
3433 2018-09-08 Tom Tromey <tom@tromey.com>
3434
3435 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3436
3437 2018-09-08 Tom Tromey <tom@tromey.com>
3438
3439 PR python/16047:
3440 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3441 (register_pretty_printers): Register new printer.
3442 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3443 test.
3444 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3445 (an_int_type3): New global.
3446
3447 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3448
3449 * gdb.ada/expr_with_funcall: New testcase.
3450
3451 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3452
3453 * gdb.ada/packed_array_assign: New testcase.
3454
3455 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3456
3457 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3458 names, and add test prefixes to make test names unique.
3459
3460 2018-09-05 Tom de Vries <tdevries@suse.de>
3461
3462 * gdb.dwarf2/varval.exp: Add test.
3463
3464 2018-09-04 Gary Benson <gbenson@redhat.com>
3465
3466 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3467 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3468
3469 2018-08-31 Tom Tromey <tom@tromey.com>
3470
3471 * gdb.rust/simple.rs: Rename second variable "v".
3472
3473 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3474
3475 * gdb.base/funcargs.c (use_a): New function.
3476 (recurse): Call use_a.
3477
3478 2018-08-29 Keith Seitz <keiths@redhat.com>
3479
3480 * gdb.compile/compile-cplus-anonymous.cc: New file.
3481 * gdb.compile/compile-cplus-anonymous.exp: New file.
3482 * gdb.compile/compile-cplus-array-decay.cc: New file.
3483 * gdb.compile/compile-cplus-array-decay.exp: New file.
3484 * gdb.compile/compile-cplus-inherit.cc: New file.
3485 * gdb.compile/compile-cplus-inherit.exp: New file.
3486 * gdb.compile/compile-cplus-member.cc: New file.
3487 * gdb.compile/compile-cplus-member.exp: New file.
3488 * gdb.compile/compile-cplus-method.cc: New file.
3489 * gdb.compile/compile-cplus-method.exp: New file.
3490 * gdb.compile/compile-cplus-mod.c: "New" file.
3491 * gdb.compile/compile-cplus-namespace.cc: New file.
3492 * gdb.compile/compile-cplus-namespace.exp: New file.
3493 * gdb.compile/compile-cplus-nested.cc: New file.
3494 * gdb.compile/compile-cplus-nested.exp: New file.
3495 * gdb.compile/compile-cplus-print.c: "New" file.
3496 * gdb.compile/compile-cplus-print.exp: "New" file.
3497 * gdb.compile/compile-cplus-virtual.cc: New file.
3498 * gdb.compile/compile-cplus-virtual.exp: New file.
3499 * gdb.compile/compile-cplus.c: "New" file.
3500 * gdb.compile/compile-cplus.exp: "New" file.
3501 * lib/compile-support.exp: New file.
3502
3503 2018-08-16 Gary Benson <gbenson@redhat.com>
3504
3505 PR gdb/13000:
3506 * gdb.base/batch-exit-status.exp: New file.
3507 * gdb.base/batch-exit-status.good-commands: Likewise.
3508 * gdb.base/batch-exit-status.bad-commands: Likewise.
3509
3510 2018-08-29 Alan Hayward <alan.hayward@arm.com>
3511
3512 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3513 (struct struct02): Likewise.
3514 (struct struct03): Likewise.
3515 (struct struct04): Likewise.
3516 (struct struct_01_01): New struct.
3517 (struct struct_01_02): Likewise.
3518 (struct struct_01_03): Likewise.
3519 (struct struct_01_04): Likewise.
3520 (struct struct_02_01): Likewise.
3521 (struct struct_02_02): Likewise.
3522 (struct struct_02_03): Likewise.
3523 (struct struct_02_04): Likewise.
3524 (struct struct_04_01): Likewise.
3525 (struct struct_04_02): Likewise.
3526 (struct struct_04_03): Likewise.
3527 (struct struct_04_04): Likewise.
3528 (struct struct_05_01): Likewise.
3529 (struct struct_05_02): Likewise.
3530 (struct struct_05_03): Likewise.
3531 (struct struct_05_04): Likewise.
3532 (cmp_struct01): Remove function.
3533 (cmp_struct02): Likewise.
3534 (cmp_struct03): Likewise.
3535 (cmp_struct04): Likewise.
3536 (cmp_struct_01_01): Add Function.
3537 (cmp_struct_01_02): Likewise.
3538 (cmp_struct_01_03): Likewise.
3539 (cmp_struct_01_04): Likewise.
3540 (cmp_struct_02_01): Likewise.
3541 (cmp_struct_02_02): Likewise.
3542 (cmp_struct_02_03): Likewise.
3543 (cmp_struct_02_04): Likewise.
3544 (cmp_struct_04_01): Likewise.
3545 (cmp_struct_04_02): Likewise.
3546 (cmp_struct_04_03): Likewise.
3547 (cmp_struct_04_04): Likewise.
3548 (cmp_struct_05_01): Likewise.
3549 (cmp_struct_05_02): Likewise.
3550 (cmp_struct_05_03): Likewise.
3551 (cmp_struct_05_04): Likewise.
3552 (call_all): Add new structs.
3553 * gdb.base/infcall-nested-structs.exp: Likewise.
3554
3555 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3556
3557 * gdb.python/py-framefilter-mi.exp: Update regexp to
3558 check for "arch" field in frame output.
3559
3560 2018-08-23 Kevin Buettner <kevinb@redhat.com>
3561
3562 * gdb.dwarf2/dw2-ranges-func.c: New file.
3563 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3564
3565 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3566
3567 * gdb.base/term.exp: Compare terminal settings with values from
3568 the inferior.
3569 * gdb.base/term.c: Get and set terminal settings.
3570
3571 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3572
3573 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3574 accommodate new "arch" field in frame output.
3575 * gdb.mi/mi-return.exp: Likewise.
3576 * gdb.mi/mi-stack.exp: Likewise.
3577 * gdb.mi/mi-syn-frame.exp: Likewise.
3578 * gdb.mi/user-selected-context-sync.exp: Likewise.
3579
3580 2018-08-19 Michael Spang <spang@google.com>
3581
3582 PR gdb/11786
3583 * gdb.base/gcore-tls-pie.c: New file.
3584 * gdb.base/gcore-tls-pie.exp: New file.
3585
3586 2018-08-18 Kevin Buettner <kevinb@redhat.com>
3587
3588 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
3589 * gdb.dwarf2/varval.c: New file.
3590 * gdb.dwarf2/varval.exp: New file.
3591
3592 2018-08-17 Alan Hayward <alan.hayward@arm.com>
3593
3594 PR gdb/18931
3595 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3596
3597 2018-08-16 Keith Seitz <keiths@redhat.com>
3598
3599 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3600 tests expected to pass.
3601
3602 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3603
3604 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3605 -data-disassemble -a.
3606 (test_disassembly_bogus_args): Likewise.
3607
3608 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3609
3610 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3611
3612 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3613
3614 * gdb.base/vla-optimized-out.exp: Add new test.
3615
3616 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3617
3618 * gdb.base/vla-optimized-out-o3.exp: Delete.
3619 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3620 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3621 deleted tests.
3622
3623 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3624
3625 PR gdb/18050:
3626 * gdb.server/extended-remote-restart.c: New file.
3627 * gdb.server/extended-remote-restart.exp: New file.
3628
3629 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3630
3631 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3632 "set variable index = 42".
3633
3634 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3635
3636 * boards/index-cache-gdb.exp: New file.
3637 * gdb.dwarf2/index-cache.exp: New file.
3638 * gdb.dwarf2/index-cache.c: New file.
3639 * gdb.base/maint.exp: Check if we are using the index cache.
3640
3641 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3642
3643 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3644 MAKEFLAGS.
3645
3646 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3647
3648 * dg-extract-results.sh: Move to toplevel contrib.
3649 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3650 * Makefile.in (check-parallel-racy): Likewise.
3651
3652 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3653
3654 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3655 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3656 tests if the target supports scheduler locking.
3657
3658 2018-08-04 Tom de Vries <tdevries@suse.de>
3659
3660 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3661
3662 2018-08-02 Tom Tromey <tom@tromey.com>
3663
3664 PR symtab/16842.
3665 * gdb.cp/temargs.exp: Test "info address" of a template
3666 parameter.
3667
3668 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3669
3670 * gdb.python/py-mi-var-info-path-expression.c: New file.
3671 * gdb.python/py-mi-var-info-path-expression.py: New file.
3672 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3673
3674 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3675
3676 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3677 error after "cannot resolve name" string.
3678
3679 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3680
3681 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3682 started.
3683 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3684
3685 2018-07-28 Tom de Vries <tdevries@suse.de>
3686
3687 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3688
3689 2018-07-26 Tom de Vries <tdevries@suse.de>
3690
3691 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3692
3693 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3694
3695 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3696 is visible.
3697
3698 2018-07-26 Tom de Vries <tdevries@suse.de>
3699
3700 PR breakpoints/23366
3701 * gdb.base/catch-follow-exec.c: New test.
3702 * gdb.base/catch-follow-exec.exp: New file.
3703
3704 2018-07-25 Tom de Vries <tdevries@suse.de>
3705
3706 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3707 vla-optimized-out.c.
3708
3709 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3710
3711 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3712 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3713
3714 2018-07-20 Tom de Vries <tdevries@suse.de>
3715
3716 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3717 NOCLONE macro.
3718 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3719
3720 2018-07-19 Tom de Vries <tdevries@suse.de>
3721
3722 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3723 regular expression.
3724
3725 2018-07-18 Tom de Vries <tdevries@suse.de>
3726
3727 * gdb.base/vla-optimized-out.c: New test.
3728 * gdb.base/vla-optimized-out.exp: New file.
3729
3730 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3731
3732 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3733 message "No address associated with hostname" when gdbserver
3734 cannot resolve the hostname.
3735
3736 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3737
3738 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3739 Add some test prefixes to make tests unique.
3740
3741 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3742
3743 * gdb.base/frameapply.c: New file.
3744 * gdb.base/frameapply.exp: New file.
3745
3746 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3747
3748 * gdb.base/skip.exp: Update expected error message.
3749
3750 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3751 Jan Kratochvil <jan.kratochvil@redhat.com>
3752 Paul Fertser <fercerpav@gmail.com>
3753 Tsutomu Seki <sekiriki@gmail.com>
3754
3755 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3756 parameter.
3757 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3758 by default.
3759 * boards/native-gdbserver.exp: Likewise.
3760 * gdb.server/run-without-local-binary.exp: Improve regexp used
3761 for detecting when a remote debugging connection succeeds.
3762 * gdb.server/server-connect.exp: New file.
3763 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3764 Do not prefix the port number with ":".
3765 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3766 support for detecting and using it. Add '$debughost_gdbserver'
3767 to the list of arguments used to start gdbserver. Handle case
3768 when gdbserver cannot resolve a network name.
3769
3770 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3771
3772 PR c++/23373
3773 * gdb.base/ptype-offsets.cc (struct static_member): New
3774 struct.
3775 (main) <stmember>: New variable.
3776 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3777 with a static member in it.
3778
3779 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3780
3781 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3782 watchpoints enabled and disabled.
3783
3784 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3785
3786 * gdb.base/examine-backward.exp: Still run tests around address
3787 0x0, even if address 0x0 is not readable. Update the pattern for
3788 matching address 0x0 in expected output.
3789
3790 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3791
3792 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3793 malloc/free.
3794
3795 2018-07-04 Tom de Vries <tdevries@suse.de>
3796
3797 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3798
3799 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3800
3801 PR tdep/8282
3802 * gdb.arch/mips-disassembler-options.exp: New test.
3803 * gdb.arch/mips-disassembler-options.s: New test source.
3804
3805 2018-06-29 Pedro Alves <palves@redhat.com>
3806
3807 * gdb.threads/names.exp: Adjust expected "info threads" output.
3808
3809 2018-06-29 Pedro Alves <palves@redhat.com>
3810
3811 * gdb.opt/inline-break.exp (line number, address): Add "info
3812 break" tests.
3813
3814 2018-06-29 Pedro Alves <palves@redhat.com>
3815
3816 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3817 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3818 number and address and running to them.
3819
3820 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3821
3822 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3823
3824 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3825
3826 * lib/compiler.c: Remove executable permission flag.
3827
3828 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3829
3830 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3831 code.
3832 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3833
3834 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3835
3836 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3837
3838 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3839
3840 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3841 address argument is omitted.
3842
3843 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3844
3845 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3846
3847 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
3848
3849 PR gdb/21695
3850 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3851 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3852
3853 2018-06-26 Tom Tromey <tom@tromey.com>
3854
3855 PR rust/22574:
3856 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3857 * gdb.rust/simple.rs (struct SimpleLayout): New.
3858
3859 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3860
3861 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3862 "info registers" output.
3863
3864 2018-06-21 Richard Bunt <richard.bunt@arm.com>
3865
3866 * gdb.base/watchpoint-hw-attach.c: New test.
3867 * gdb.base/watchpoint-hw-attach.exp: New file.
3868
3869 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3870
3871 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3872 through /bin/sh.
3873 * boards/dwarf4-gdb-index.exp: Likewise.
3874 * boards/fission-dwp.exp: Likewise.
3875
3876 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3877
3878 * gdb.base/float128.exp: Add comment and improved fail message
3879 to the failure case of "print large128" test.
3880
3881 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3882
3883 * configure.ac: Remove AC_PREREQ.
3884 * configure: Re-generate.
3885
3886 2018-06-19 Pedro Alves <palves@redhat.com>
3887
3888 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3889 (func_extern_caller): New.
3890 (main): Call func_extern_caller.
3891 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3892 logic change.
3893
3894 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
3895
3896 PR gdb/16841
3897 * gdb.cp/typedef-base.cc: New file.
3898 * gdb.cp/typedef-base.exp: New file.
3899
3900 2018-06-18 Tom de Vries <tdevries@suse.de>
3901
3902 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3903
3904 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3905 Richard Bunt <Richard.Bunt@arm.com>
3906
3907 * gdb.threads/attach-slow-waitpid.c: New file.
3908 * gdb.threads/attach-slow-waitpid.exp: New file.
3909 * gdb.threads/slow-waitpid.c: New file.
3910
3911 2018-06-14 Pedro Alves <palves@redhat.com>
3912
3913 * gdb.base/fork-running-state.c: Include <errno.h>.
3914 (exit_if_relative_exits): New.
3915 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3916 exits.
3917 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3918 child exits.
3919
3920 2018-06-14 Tom de Vries <tdevries@suse.de>
3921
3922 PR cli/22573
3923 * gdb.base/finish-pretty.c: New test.
3924 * gdb.base/finish-pretty.exp: New file.
3925
3926 2018-06-14 Pedro Alves <palves@redhat.com>
3927
3928 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3929 gdb's expected startup output.
3930
3931 2018-06-14 Pedro Alves <palves@redhat.com>
3932
3933 * lib/selftest-support.exp (selftest_setup): Remove inlined
3934 function handling.
3935
3936 2018-06-14 Tom de Vries <tdevries@suse.de>
3937
3938 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3939 matching of breakpoint printing.
3940
3941 2018-06-13 Tom de Vries <tdevries@suse.de>
3942
3943 PR testsuite/23269
3944 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3945 (fork_child): ... here, and ...
3946 (fork_parent): ... here.
3947
3948 2018-06-12 Tom de Vries <tdevries@suse.de>
3949
3950 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3951
3952 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3953 Stephen Roberts <stephen.roberts@arm.com>
3954
3955 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3956 rewrite test to describe action performed, rather than possible
3957 failure.
3958
3959 2018-06-08 Gary Benson <gbenson@redhat.com>
3960
3961 * gdb.threads/check-libthread-db.exp: New file.
3962 * gdb.threads/check-libthread-db.c: Likewise.
3963
3964 2018-06-05 Tom Tromey <tom@tromey.com>
3965
3966 * gdb.base/default.exp: Update expected "show version" output.
3967
3968 2018-06-05 Tom Tromey <tom@tromey.com>
3969
3970 PR cli/12326:
3971 * gdb.cp/static-print-quit.exp: Update.
3972 * lib/gdb.exp (pagination_prompt): Update.
3973 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
3974 * gdb.python/python.exp: Update.
3975
3976 2018-06-04 Joel Brobecker <brobecker@adacore.com>
3977
3978 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
3979
3980 2018-06-01 Joel Brobecker <brobecker@adacore.com>
3981
3982 * gdb.ada/bp_fun_addr: New testcase.
3983
3984 2018-06-01 Tom Tromey <tom@tromey.com>
3985
3986 * gdb.xml/tdesc-regs.exp (load_description): Update expected
3987 results.
3988 * gdb.dwarf2/method-ptr.exp: Set language to C++.
3989 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
3990 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
3991 * gdb.base/maint.exp (maint_pass_if): Update.
3992
3993 2018-05-31 Maciej W. Rozycki <macro@mips.com>
3994
3995 * gdb.base/endian.exp: New test.
3996 * gdb.base/endian.c: New test source.
3997
3998 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
3999
4000 PR gdb/23203
4001 * gdb.base/bt-selected-frame.c: New file.
4002 * gdb.base/bt-selected-frame.exp: New file.
4003 * lib/gdb.exp (get_current_frame_number): New function.
4004
4005 2018-05-24 Maciej W. Rozycki <macro@mips.com>
4006 Pedro Alves <palves@redhat.com>
4007
4008 * gdb.threads/tls-core.c: Include <stdlib.h>
4009 (thread_proc): Call `abort'.
4010 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4011 (tls_core_test): New procedure, bits factored out from ...
4012 (top level): ... here. Test both native cores and gcore cores.
4013
4014 2018-05-23 Tom Tromey <tom@tromey.com>
4015
4016 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4017
4018 2018-05-23 Tom Tromey <tom@tromey.com>
4019
4020 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4021 symfile_complaints.
4022 (test_short_complaints): Likewise.
4023 (test_empty_complaints): Likewise.
4024 (test_initial_complaints): Update.
4025
4026 2018-05-23 Tom Tromey <tom@tromey.com>
4027
4028 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4029
4030 2018-05-23 Tom Tromey <tom@tromey.com>
4031
4032 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4033 (test_short_complaints): Update.
4034
4035 2018-05-22 Pedro Alves <palves@redhat.com>
4036
4037 * gdb.base/remote.exp: Only gdb_start after compiling the
4038 testcase. Issue "disconnect" before testing "set remote" command
4039 defaults. Issue clean_restart before running to main.
4040
4041 2018-05-22 Pedro Alves <palves@redhat.com>
4042
4043 * gdb.base/remote.exp: Adjust expected output of "show remote
4044 memory-write-packet-size". Add tests for "set remote
4045 memory-write-packet-size 0" and "set remote
4046 memory-write-packet-size fixed/limit".
4047
4048 2018-05-22 Pedro Alves <palves@redhat.com>
4049
4050 PR gdb/22973
4051 * gdb.base/utf8-identifiers.c: New file.
4052 * gdb.base/utf8-identifiers.exp: New file.
4053
4054 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4055
4056 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4057
4058 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4059
4060 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4061
4062 2018-05-18 Tom Tromey <tom@tromey.com>
4063
4064 * gdb.base/ptype-offsets.exp: Update.
4065
4066 2018-05-17 Keith Seitz <keiths@redhat.com>
4067
4068 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4069 in expected breakpoint stop locations.
4070 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4071 move to proper scope to test variable values.
4072 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4073 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4074 New functions.
4075 (main): Call not_inline_func3.
4076 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4077 inline_func1, inline_func2, and inline_func3. Test that when each
4078 breakpoint is hit, GDB properly reports both the stop location
4079 and the backtrace. Repeat tests for temporary breakpoints.
4080
4081 2018-05-15 Maciej W. Rozycki <macro@mips.com>
4082
4083 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4084 rather then trying to access it in determining whether the PID
4085 of `gdbserver' could have been retrieved.
4086
4087 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4088
4089 * gdb.arch/amd64-init-x87-values.S: New file.
4090 * gdb.arch/amd64-init-x87-values.exp: New file.
4091
4092 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4093
4094 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4095
4096 2018-05-04 Tom Tromey <tom@tromey.com>
4097
4098 PR python/22730:
4099 * gdb.python/python.exp: Test multi-line execute.
4100
4101 2018-05-04 Tom Tromey <tom@tromey.com>
4102
4103 PR python/22731:
4104 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4105
4106 2018-05-04 Tom Tromey <tom@tromey.com>
4107
4108 PR gdb/11750:
4109 * gdb.base/define.exp: Test defining a user command inside a user
4110 command.
4111 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4112
4113 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4114 Pedro Alves <palves@redhat.com>
4115
4116 PR breakpoints/19806 and support for PR external/20207.
4117 * gdb.base/watchpoint-unaligned.c: New file.
4118 * gdb.base/watchpoint-unaligned.exp: New file.
4119
4120 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4121
4122 * gdb.base/maint.exp: Make test names unique, use
4123 test_prefix_command_help to test 'help maint info', and remove
4124 repeated test of 'help maint'.
4125
4126 2018-05-04 Tom Tromey <tom@tromey.com>
4127
4128 PR gdb/22619:
4129 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4130 behavior.
4131
4132 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4133
4134 * gdb.base/maint.exp: Process output from 'maint print registers'
4135 line at a time.
4136
4137 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4138
4139 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4140 timeout.
4141
4142 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4143
4144 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4145 filter pattern.
4146
4147 2018-05-02 Pedro Alves <palves@redhat.com>
4148
4149 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4150 to_log_command renames.
4151 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4152
4153 2018-05-02 Tom Tromey <tom@tromey.com>
4154
4155 * gdb.python/py-parameter.exp: Set test message.
4156
4157 2018-05-02 Tom Tromey <tom@tromey.com>
4158
4159 PR python/20084:
4160 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4161 PARAM_ZUINTEGER_UNLIMITED tests.
4162
4163 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4164
4165 PR rust/23124
4166 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4167 when casting.
4168
4169 2018-04-30 Tom Tromey <tom@tromey.com>
4170
4171 * gdb.python/py-type.exp: Check align attribute.
4172 * gdb.python/py-type.c: New "aligncheck" global.
4173
4174 2018-04-30 Tom Tromey <tom@tromey.com>
4175
4176 PR exp/17095:
4177 * gdb.dwarf2/dw2-align.exp: New file.
4178 * gdb.cp/align.exp: New file.
4179 * gdb.base/align.exp: New file.
4180 * lib/gdb.exp (gdb_int128_helper): New proc.
4181 (has_int128_c, has_int128_cxx): New caching procs.
4182
4183 2018-04-27 Tom Tromey <tom@tromey.com>
4184
4185 PR rust/22545:
4186 * gdb.rust/simple.exp: Add inclusive range tests.
4187
4188 2018-04-26 Pedro Alves <palves@redhat.com>
4189
4190 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4191 ifunc breakpoint locations correctly of ifunc breakpoints set
4192 while the program resolves the ifunc.
4193
4194 2018-04-26 Pedro Alves <palves@redhat.com>
4195
4196 * gdb.base/gnu-ifunc-final.c: New file.
4197 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4198 * gdb.base/gnu-ifunc.exp (executable): Delete.
4199 (staticexecutable): Adjust.
4200 (lib_opts, exec_opts): Delete.
4201 (make_binsuffix, build, set-break): New procedures.
4202 (misc_tests): New, with tests factored out from the top level.
4203 (top level): Test different combinations of ifunc resolver name,
4204 resolver with and with debug info, and ifunc target with and
4205 without debug info. Wrap static tests with with_target_prefix.
4206
4207 2018-04-26 Pedro Alves <palves@redhat.com>
4208
4209 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4210 return type" warnings.
4211
4212 2018-04-25 Pedro Alves <palves@redhat.com>
4213
4214 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4215 killed".
4216 * gdb.base/kill-after-signal.exp: Likewise.
4217 * gdb.threads/kill.exp: Likewise.
4218
4219 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4220 Sergio Durigan Junior <sergiodj@redhat.com>
4221 Pedro Alves <palves@redhat.com>
4222
4223 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4224 regexps to expect for '[Inferior ... detached]' as well.
4225 * gdb.base/attach.exp: Likewise.
4226 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4227 "gdb_continue_to_end".
4228 (test_catch_syscall_with_wrong_args): Likewise.
4229 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4230 ']'. Don't set 'verbose' on.
4231 * gdb.base/foll-vfork.exp: Likewise.
4232 * gdb.base/fork-print-inferior-events.c: New file.
4233 * gdb.base/fork-print-inferior-events.exp: New file.
4234 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4235 '[Inferior ... has been killed]' message.
4236 * gdb.base/kill-after-signal.exp: Likewise.
4237 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4238 detach message.
4239 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4240 message.
4241 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4242 regexps to expect for '[Inferior ... detached]' as well.
4243 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4244
4245 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4246
4247 PR gdb/23104
4248 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4249
4250 2018-04-19 Richard Bunt <richard.bunt@arm.com>
4251
4252 * gdb.threads/multiple-successive-infcall.c: New test.
4253 * gdb.threads/multiple-successive-infcall.exp: New file.
4254
4255 2018-04-17 Tom Tromey <tom@tromey.com>
4256
4257 * gdb.rust/simple.rs (Union): New type.
4258 (main): New local "u".
4259 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4260
4261 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4262
4263 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4264 number information in output of "whereis" command.
4265 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4266
4267 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4268
4269 * gdb.ada/info_types.exp: Adjust expected output to the line
4270 numbers now printed by "info var/func/type".
4271 * gdb.base/completion.exp: Likewise.
4272 * gdb.base/included.exp: Likewise.
4273 * gdb.cp/cp-relocate.exp: Likewise.
4274 * gdb.cp/cplusfuncs.exp: Likewise.
4275 * gdb.cp/namespace.exp: Likewise.
4276 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4277
4278 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4279
4280 * gdb.btrace/cpu.exp: New.
4281
4282 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4283
4284 * gdb.base/step-indirect-call-thunk.exp: New.
4285 * gdb.base/step-indirect-call-thunk.c: New.
4286 * gdb.reverse/step-indirect-call-thunk.exp: New.
4287 * gdb.reverse/step-indirect-call-thunk.c: New.
4288
4289 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4290
4291 * gdb.base/pie-fork.c: New file.
4292 * gdb.base/pie-fork.exp: New file.
4293
4294 2018-04-11 Tom Tromey <tom@tromey.com>
4295
4296 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4297
4298 2018-04-10 Pedro Alves <palves@redhat.com>
4299
4300 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4301 exits. Instead loop running forever.
4302 (fork_parent): Run forever too.
4303
4304 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4305
4306 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4307 mi_continue_to_line.
4308 * gdb.mi/mi-stack.c (callee4): Add comment.
4309
4310 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4311
4312 * gdb.mi/mi-stack.exp: Fix indentation.
4313
4314 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4315
4316 PR gdb/22979
4317 * gdb.arch/amd64-osabi.exp: New file.
4318
4319 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4320
4321 PR gdb/22980
4322 * gdb.base/osabi.exp: New file.
4323
4324 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
4325
4326 * gdb.cp/static-typedef-print.exp: New file.
4327 * gdb.cp/static-typedef-print.cc: New file.
4328
4329 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4330
4331 * gdb.ada/varsize_limit: New testcase.
4332
4333 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4334
4335 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4336
4337 * gdb.ada/notcplusplus: New testcase.
4338
4339 * gdb.base/c-linkage-name.c: New file.
4340 * gdb.base/c-linkage-name.exp: New testcase.
4341
4342 2018-03-26 Tom Tromey <tom@tromey.com>
4343
4344 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4345 * gdb.python/py-framefilter.py (name_error): New global.
4346 (ErrorInName.function): Use name_error.
4347
4348 2018-03-26 Tom Tromey <tom@tromey.com>
4349
4350 PR backtrace/15582:
4351 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4352
4353 2018-03-23 Keith Seitz <keiths@redhat.com>
4354
4355 PR c++/22968
4356 * gdb.cp/subtypes.exp: New file.
4357 * gdb.cp/subtypes.h: New file.
4358 * gdb.cp/subtypes.cc: New file.
4359 * gdb.cp/subtypes-2.cc: New file.
4360
4361 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4362
4363 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4364 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4365 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4366 -nostartfiles when compiling the test. Confirm that all registers
4367 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4368
4369 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4370
4371 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4372 option, syntax was wrong anyway.
4373 * gdb.arch/arm-disp-step.exp: Likewise.
4374 * gdb.arch/sparc64-regs.exp: Likewise.
4375 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4376 option, syntax was wrong anyway, switch to use
4377 prepare_for_testing.
4378 * gdb.arch/i386-disp-step.exp: Likewise.
4379
4380 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4381
4382 * gdb.ada/exec_changed.exp: Replace "target_info exists
4383 use_gdb_stub" by "use_gdb_stub".
4384 * gdb.ada/start.exp: Likewise.
4385 * gdb.base/async-shell.exp: Likewise.
4386 * gdb.base/attach-pie-misread.exp: Likewise.
4387 * gdb.base/attach-wait-input.exp: Likewise.
4388 * gdb.base/break-entry.exp: Likewise.
4389 * gdb.base/break-interp.exp: Likewise.
4390 * gdb.base/dprintf-detach.exp: Likewise.
4391 * gdb.base/nostdlib.exp: Likewise.
4392 * gdb.base/solib-nodir.exp: Likewise.
4393 * gdb.base/statistics.exp: Likewise.
4394 * gdb.base/testenv.exp: Likewise.
4395 * gdb.mi/mi-exec-run.exp: Likewise.
4396 * gdb.mi/mi-start.exp: Likewise.
4397 * gdb.multi/dummy-frame-restore.exp: Likewise.
4398 * gdb.multi/multi-arch-exec.exp: Likewise.
4399 * gdb.multi/multi-arch.exp: Likewise.
4400 * gdb.multi/tids.exp: Likewise.
4401 * gdb.multi/watchpoint-multi.exp: Likewise.
4402 * gdb.python/py-events.exp: Likewise.
4403 * gdb.threads/attach-into-signal.exp: Likewise.
4404 * gdb.threads/attach-stopped.exp: Likewise.
4405 * gdb.threads/threadapply.exp: Likewise.
4406 * lib/selftest-support.exp: Likewise.
4407
4408 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4409
4410 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4411
4412 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4413
4414 * gdb.perf/template-breakpoints.cc: New file.
4415 * gdb.perf/template-breakpoints.exp: New file.
4416 * gdb.perf/template-breakpoints.py: New file.
4417
4418 2018-03-19 Tom Tromey <tom@tromey.com>
4419
4420 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4421 y0.
4422 * gdb.rust/simple.exp: Test bare identifier form of struct
4423 initializer.
4424
4425 2018-03-19 Tom Tromey <tom@tromey.com>
4426
4427 * gdb.gdb/observer.exp: Remove.
4428
4429 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4430
4431 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4432 "qualified" option when setting breakpoints.
4433 * gdb.trace/backtrace.exp: Likewise.
4434 * gdb.trace/circ.exp: Likewise.
4435 * gdb.trace/collection.exp: Likewise.
4436 * gdb.trace/disconnected-tracing.exp: Likewise.
4437 * gdb.trace/ftrace-lock.exp: Likewise.
4438 * gdb.trace/ftrace.exp: Likewise.
4439 * gdb.trace/infotrace.exp: Likewise.
4440 * gdb.trace/packetlen.exp: Likewise.
4441 * gdb.trace/passc-dyn.exp: Likewise.
4442 * gdb.trace/qtro.exp: Likewise.
4443 * gdb.trace/read-memory.exp: Likewise.
4444 * gdb.trace/report.exp: Likewise.
4445 * gdb.trace/signal.exp: Likewise.
4446 * gdb.trace/status-stop.exp: Likewise.
4447 * gdb.trace/strace.exp: Likewise.
4448 * gdb.trace/tfind.exp: Likewise.
4449 * gdb.trace/trace-break.exp: Likewise.
4450 * gdb.trace/trace-condition.exp: Likewise.
4451 * gdb.trace/trace-mt.exp: Likewise.
4452 * gdb.trace/tstatus.exp: Likewise.
4453 * gdb.trace/tsv.exp: Likewise.
4454 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4455 * gdb.trace/unavailable.exp: Likewise.
4456 * gdb.trace/while-dyn.exp: Likewise.
4457
4458 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4459
4460 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4461 that libinproctrace is copied to the target.
4462
4463 2018-03-14 Tom Tromey <tom@tromey.com>
4464
4465 PR cli/14977:
4466 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4467 a null pointer.
4468 * gdb.base/wchar.exp: Likewise.
4469
4470 2018-03-14 Tom Tromey <tom@tromey.com>
4471
4472 PR cli/19918:
4473 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4474 flag.
4475
4476 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4477
4478 PR gdb/22841
4479 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4480 "target" to remote_exec.
4481
4482 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4483
4484 PR gdb/22841
4485 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4486 ${board}_upload): Remove.
4487
4488 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4489
4490 * gdb.cp/watch-cp.cc: New test.
4491 * gdb.cp/watch-cp.exp: New file.
4492
4493 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4494
4495 * gdb.base/infcall-nested-structs.exp: New file.
4496 * gdb.base/infcall-nested-structs.c: New file.
4497 * gdb.base/float.exp: Add riscv support.
4498
4499 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4500
4501 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4502 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4503
4504 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4505
4506 * gdb.server/abspath.exp: New file.
4507 * lib/gdb.exp (with_cwd): New procedure.
4508
4509 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4510
4511 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4512 use it.
4513 (gdb_is_target_remote_prompt): New proc.
4514 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4515 (gdb_is_target_native): Pass prompt parameter to
4516 gdb_is_target_1.
4517
4518 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4519
4520 * gdb.base/load-command.c: New file.
4521 * gdb.base/load-command.exp: New file.
4522 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4523 (gdb_is_target_1): ...this, and generalize for other targets
4524 than just remote.
4525 (gdb_is_target_remote): Use gdb_is_target_1.
4526 (gdb_is_target_native): use gdb_is_target_1.
4527
4528 2018-02-26 Tom Tromey <tom@tromey.com>
4529
4530 PR python/16497:
4531 * gdb.python/py-framefilter.exp: Update test.
4532
4533 2018-02-26 Tom Tromey <tom@tromey.com>
4534
4535 * gdb.dwarf2/variant.c: New file.
4536 * gdb.dwarf2/variant.exp: New file.
4537
4538 2018-02-26 Tom Tromey <tom@tromey.com>
4539
4540 * gdb.rust/simple.exp: Accept more possible results in enum test.
4541
4542 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4543
4544 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4545 parentheses.
4546
4547 2018-02-23 Maciej W. Rozycki <macro@mips.com>
4548
4549 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4550 name of a variable: $actual_linejj -> $actual_line.
4551
4552 2018-02-21 John Baldwin <jhb@FreeBSD.org>
4553
4554 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4555
4556 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4557
4558 * gdb.btrace/buffer-size.exp: Do not force BTS.
4559
4560 2018-02-14 Pedro Alves <palves@redhat.com>
4561
4562 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4563 getting a "Quit".
4564
4565 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4566
4567 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4568 Fix test name.
4569
4570 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4571
4572 * gdb.cp/m-static.exp: Check type of optimized out static
4573 member.
4574
4575 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4576
4577 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4578 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4579
4580 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4581 Leszek Swirski <leszeks@google.com>
4582
4583 * gdb.python/py-prettyprint.c
4584 (struct to_string_returns_value_inner,
4585 struct to_string_returns_value_wrapper): New.
4586 (main): Add tsrvw variable.
4587 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4588 ToStringReturnsValueWrapper): New classes.
4589 (register_pretty_printers): Register new pretty-printers.
4590 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4591 recursive pretty printer.
4592 * gdb.python/py-mi.exp: Likewise.
4593
4594 2018-02-01 Leszek Swirski <leszeks@google.com>
4595
4596 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4597 functions with the same name as an include file are parsed
4598 correctly.
4599
4600 2018-02-01 Yao Qi <yao.qi@linaro.org>
4601
4602 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4603 "\[^\r\n\]*".
4604
4605 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4606
4607 * gdb.arch/powerpc-prologue-frame.s: New file.
4608 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4609 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4610
4611 2018-01-31 Joel Brobecker <brobecker@adacore.com>
4612
4613 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4614
4615 2018-01-30 Pedro Alves <palves@redhat.com>
4616
4617 PR gdb/13211
4618 * gdb.base/interrupt-daemon.c: New.
4619 * gdb.base/interrupt-daemon.exp: New.
4620 * gdb.multi/multi-term-settings.c: New.
4621 * gdb.multi/multi-term-settings.exp: New.
4622
4623 2018-01-30 Joel Brobecker <brobecker@adacore.com>
4624
4625 * gdb.base/break.exp: Save the location where the breakpoint
4626 on break.c:47 was actually inserted when debugging the version
4627 compiled at -O2 and use it in the expected output of the "info
4628 break" test performed soon after.
4629
4630 2018-01-22 Pedro Alves <palves@redhat.com>
4631 Sergio Durigan Junior <sergiodj@redhat.com>
4632
4633 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4634 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4635
4636 2018-01-22 Joel Brobecker <brobecker@adacore.com>
4637
4638 * gdb.base/break-include.c, gdb.base/break-include.inc,
4639 gdb.base/break-include.exp: New files.
4640 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4641 line number now being the actual line number where the breakpoint
4642 was inserted.
4643 * gdb.mi/mi-break.exp: Likewise.
4644 * gdb.mi/mi-reverse.exp: Likewise.
4645 * gdb.mi/mi-simplerun.exp: Ditto.
4646
4647 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4648
4649 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4650 varobj.
4651 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4652
4653 2018-01-21 Don Breazeal <donb@codesourcery.com>
4654 Andrew Burgess <andrew.burgess@embecosm.com>
4655
4656 * gdb.mi/basics.c: Add new global.
4657 * gdb.mi/mi-frame-regs.exp: New file.
4658 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4659 case.
4660
4661 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4662
4663 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4664 non-parameter, and on an unknown symbol.
4665
4666 2018-01-19 Tom Tromey <tom@tromey.com>
4667
4668 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4669 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4670
4671 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4672
4673 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4674 setrlimit and chdir to int.
4675
4676 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4677
4678 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4679 function.
4680 (my_tend): Likewise.
4681 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4682 rationale of avoiding FP- and vector instructions.
4683
4684 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4685
4686 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4687 "info reg" with "\[ \t\]*".
4688 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4689 "\[ \t\]+".
4690 * gdb.arch/s390-multiarch.exp: Ditto.
4691 * gdb.base/pc-fp.exp: Ditto.
4692 * gdb.reverse/i386-precsave.exp: Ditto.
4693 * gdb.reverse/i386-reverse.exp: Ditto.
4694 * gdb.reverse/i387-env-reverse.exp: Ditto.
4695 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4696
4697 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4698
4699 * lib/gdb.exp (gdb_compile): Re-enable use of
4700 universal_compile_options for languages other than Rust.
4701
4702 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4703
4704 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4705
4706 2018-01-17 Mike Gulick <mgulick@mathworks.com>
4707
4708 PR gdb/16577
4709 * gdb.base/solib-vanish.exp: New.
4710 * gdb.base/solib-vanish-main.c: New.
4711 * gdb.base/solib-vanish-lib1.c: New.
4712 * gdb.base/solib-vanish-lib2.c: New.
4713
4714 2018-01-17 Yao Qi <yao.qi@linaro.org>
4715
4716 * gdb.compile/compile.exp: Match the address printed for
4717 frame in the output of command "bt".
4718
4719 2018-01-15 Tom Tromey <tom@tromey.com>
4720
4721 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4722 compute sp_reg.
4723
4724 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4725
4726 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4727 to prepare.
4728 (prepare): Return 0 on error, 1 on success.
4729
4730 2018-01-12 Pedro Alves <palves@redhat.com>
4731
4732 * gdb.base/continue-after-aborted-step-over.c: New.
4733 * gdb.base/continue-after-aborted-step-over.exp: New.
4734
4735 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4736
4737 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4738 options when not creating an executable.
4739
4740 2018-01-11 Pedro Alves <palves@redhat.com>
4741
4742 PR remote/22597
4743 * gdb.server/stop-reply-no-thread.c: New file.
4744 * gdb.server/stop-reply-no-thread.exp: New file.
4745
4746 2018-01-10 Pedro Alves <palves@redhat.com>
4747
4748 PR gdb/22670
4749 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4750 functions too. Test setting breakpoints and printing C functions
4751 with no debug info too.
4752 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4753
4754 2018-01-10 Pedro Alves <palves@redhat.com>
4755
4756 PR gdb/22670
4757 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4758 a fail.
4759
4760 2018-01-10 Pedro Alves <palves@redhat.com>
4761
4762 PR gdb/22670
4763 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4764
4765 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4766
4767 * gdb.server/unittest.exp: Match the output in non-development
4768 mode.
4769
4770 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4771
4772 * gdb.gdb/unittest.exp: Match output in non-development mode.
4773
4774 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4775
4776 * gdb.ada/access_tagged_param.exp: Relax expected output
4777 for value of "ObjL" in "continue" to pck.inspect breakpoint
4778 test.
4779
4780 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4781
4782 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4783 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4784
4785 2018-01-05 Pedro Alves <palves@redhat.com>
4786
4787 PR gdb/18653
4788 * gdb.base/libsegfault.exp: New.
4789
4790 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4791
4792 PR gdb/22670
4793 * gdb.ada/access_tagged_param.exp: New file.
4794 * gdb.ada/access_tagged_param/foo.adb: New file.
4795
4796 2018-01-05 Pedro Alves <palves@redhat.com>
4797
4798 PR gdb/22670
4799 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4800 exercise lower case too, and to exercise both full matching and
4801 wild matching.
4802
4803 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4804
4805 * gdb.ada/rename_subscript_param: New testcase.
4806
4807 2018-01-05 Jerome Guitton <guitton@adacore.com>
4808
4809 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4810
4811 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4812
4813 * gdb.ada/convvar_comp: New testcase.
4814
4815 2018-01-05 Xavier Roirand <roirand@adacore.com>
4816
4817 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4818 (My_Table): New global variable.
4819 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4820
4821 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4822
4823 PR gdb/22670
4824 * gdb.ada/maint_with_ada: New testcase.
4825
4826 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4827
4828 PR gdb/22670
4829 * gdb.ada/bp_c_mixed_case: New testcase.
4830
4831 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4832
4833 PR gdb/22670
4834 * gdb.ada/complete.exp: Add "complete break ada" test.
4835
4836 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4837
4838 PR gdb/22670
4839 * gdb.ada/info_addr_mixed_case: New testcase.
4840
4841 2018-01-03 Xavier Roirand <roirand@adacore.com>
4842
4843 * gdb.ada/excep_handle.exp: New testcase.
4844 * gdb.ada/excep_handle/foo.adb: New file.
4845 * gdb.ada/excep_handle/pck.ads: New file.
4846
4847 2018-01-03 Joel Brobecker <brobecker@adacore.com>
4848
4849 * gdb.base/step-line.c: Add extra empty line in copyright header.
4850 * gdb.base/step-line.inp: Likewise.
4851
4852 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4853
4854 * gdb.ada/dyn_stride.exp: Add slice test.
4855
4856 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4857
4858 * gdb.ada/dyn_stride: New testcase.
4859
4860 2017-12-27 Stafford Horne <shorne@gmail.com>
4861
4862 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4863 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4864
4865 2017-12-27 Stafford Horne <shorne@gmail.com>
4866
4867 * gdb.base/reggroups.c: New file.
4868 * gdb.base/reggroups.exp: New file.
4869
4870 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4871
4872 * gdb.dwarf2/ada-valprint-error.c: New file.
4873 * gdb.dwarf2/ada-valprint-error.exp: New file.
4874
4875 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4876
4877 * gdb.ada/assign_arr: New testcase.
4878
4879 2017-12-18 Xavier Roirand <roirand@adacore.com>
4880
4881 * gdb.ada/funcall_ptr: New testcase.
4882
4883 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4884
4885 PR cli/16224
4886 * gdb.base/ptype-offsets.cc: New file.
4887 * gdb.base/ptype-offsets.exp: New file.
4888
4889 2017-12-15 Yao Qi <yao.qi@linaro.org>
4890
4891 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4892 if XML is disabled.
4893
4894 2017-12-15 Xavier Roirand <roirand@adacore.com>
4895
4896 * gdb.ada/same_component_name: New testcase.
4897
4898 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4899
4900 * gdb.ada/str_binop_equal: New testcase.
4901
4902 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4903
4904 * gdb.ada/task_switch_in_core: New testcase.
4905
4906 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4907
4908 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4909 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4910 call test_bkpt_qualified.
4911 (test_bkpt_qualified): New proc.
4912
4913 2017-12-13 Pedro Alves <palves@redhat.com>
4914
4915 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4916 Tighten regexp by matching with an anchor.
4917
4918 2017-12-13 Pedro Alves <palves@redhat.com>
4919
4920 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4921 ("expression with namespace"): New set of tests.
4922 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4923 (Nested::Test_NS::qux): New.
4924 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4925 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4926
4927 2017-12-13 Joel Brobecker <brobecker@adacore.com>
4928
4929 * gdb.base/server-del-break.c: New file.
4930 * gdb.base/server-del-break.exp: New file.
4931
4932 2017-12-12 Stafford Horne <shorne@gmail.com>
4933
4934 * gdb.xml/tdesc-regs.exp: Add or1k support.
4935
4936 2017-12-12 Stafford Horne <shorne@gmail.com>
4937
4938 * gdb.base/bp-permanent.c: Define nop of or1k.
4939
4940 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4941
4942 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4943 output with components being reordered.
4944
4945 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4946
4947 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4948 output with components being reordered.
4949
4950 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4951 Pedro Alves <palves@redhat.com>
4952
4953 * gdb.base/maint.exp (check for .gdb_index): Check also for
4954 .debug_names.
4955 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4956 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4957 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4958 (.gdb_index used after symbol reloading): Support also .debug_names.
4959 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4960
4961 2017-12-08 Yao Qi <yao.qi@linaro.org>
4962
4963 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4964 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4965
4966 2017-12-08 Yao Qi <yao.qi@linaro.org>
4967
4968 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4969 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
4970
4971 2017-12-08 Yao Qi <yao.qi@linaro.org>
4972
4973 * gdb.arch/aarch64-tagged-pointer.c: New file.
4974 * gdb.arch/aarch64-tagged-pointer.exp: New file.
4975
4976 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
4977
4978 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
4979 "int".
4980
4981 2017-12-07 Keith Seitz <keiths@redhat.com>
4982
4983 PR breakpoints/22569
4984 * gdb.linespec/ls-errs.exp: Change expected result of "break
4985 -source this file has spaces.c -line 3".
4986 Check that an explicit source file followed by whitespace is
4987 identified as an invalid explicit location.
4988
4989 2017-12-07 Keith Seitz <keiths@redhat.com>
4990
4991 * gdb.cp/nested-types.cc: New file.
4992 * gdb.cp/nested-types.exp: New file.
4993 * lib/cp-support.exp: Load data-structures.exp library.
4994 (debug_cp_test_ptype_class): New global.
4995 (cp_ptype_class_verbose, next_line): New procedures.
4996 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
4997 Add and document new return value.
4998 Switch the list of lines to a queue.
4999 Add support for new `type' key for nested type definitions.
5000 Add debugging/troubleshooting messages.
5001 * lib/data-structures.exp: New file.
5002
5003 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5004
5005 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5006 with proc_with_prefix, don't use with_test_prefix.
5007
5008 2017-12-07 Tom Tromey <tom@tromey.com>
5009
5010 * gdb.base/break.exp: Add test for empty "commands".
5011
5012 2017-12-07 Yao Qi <yao.qi@linaro.org>
5013
5014 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5015 malloc and catch syscall.
5016
5017 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5018
5019 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
5020 tests for explicit locations.
5021
5022 2017-12-06 Pedro Alves <palves@redhat.com>
5023
5024 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5025 force-disabling XML descriptions.
5026
5027 2017-12-04 Pedro Alves <palves@redhat.com>
5028
5029 PR gdb/22499
5030 * gdb.arch/amd64-disp-step-avx.S: New file.
5031 * gdb.arch/amd64-disp-step-avx.exp: New file.
5032
5033 2017-12-03 Pedro Alves <palves@redhat.com>
5034
5035 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5036 and <string.h>.
5037 (parent_function): Print distinct messages when waitpid fails, or
5038 the child exits with a signal, or the child exits for an unhandled
5039 reason.
5040 * gdb.threads/process-dies-while-detaching.exp
5041 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5042 it. Wait for both inferior output and GDB's prompt. Use an
5043 indirect spawn id list.
5044 (do_detach): New parameter 'child_exit'. Use it to compute
5045 expected inferior output.
5046 (test_detach, test_detach_watch, test_detach_killed_outside):
5047 Adjust to pass down the expected child exit kind.
5048
5049 2017-12-01 Joel Brobecker <brobecker@adacore.com>
5050 Sergio Durigan Junior <sergiodj@redhat.com>
5051 Pedro Alves <palves@redhat.com>
5052
5053 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5054
5055 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5056
5057 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5058 to 'symbol-file' and 'add-symbol-file' can be
5059 position-independent.
5060
5061 2017-12-01 Yao Qi <yao.qi@linaro.org>
5062
5063 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5064 the URL in copyright header.
5065 * gdb.arch/aarch64-fp.exp: Likewise.
5066 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5067 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5068 * gdb.base/expand-psymtabs.exp: Likewise.
5069 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5070 * gdb.fortran/common-block.exp: Likewise.
5071 * gdb.fortran/common-block.f90: Likewise.
5072 * gdb.fortran/logical.exp: Likewise.
5073 * gdb.fortran/vla-datatypes.f90: Likewise.
5074 * gdb.fortran/vla-sub.f90: Likewise.
5075
5076 2017-11-30 Joel Brobecker <brobecker@adacore.com>
5077
5078 * gdb.ada/repeat_dyn: New testcase.
5079
5080 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5081
5082 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5083 Update for changed thread numbering.
5084 * gdb.cell/bt.exp: Update for changed GDB output.
5085
5086 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5087
5088 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5089 setting isremote by hand.
5090 * boards/dwarf4-gdb-index.exp: Likewise.
5091 * boards/fission.exp: Likewise.
5092 * boards/stabs.exp: Likewise.
5093
5094 2017-11-30 Pedro Alves <palves@redhat.com>
5095
5096 * gdb.linespec/cpls-ops.exp
5097 (check_explicit_skips_function_argument): Extract the underlying
5098 type of size_t instead of hardcoding it.
5099
5100 2017-11-29 Pedro Alves <palves@redhat.com>
5101
5102 PR c++/19436
5103 * gdb.linespec/cpls-abi-tag.cc: New file.
5104 * gdb.linespec/cpls-abi-tag.exp: New file.
5105
5106 2017-11-29 Pedro Alves <palves@redhat.com>
5107
5108 * gdb.base/langs.exp: Use -qualified.
5109 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5110 it.
5111 * gdb.cp/namespace.exp: Use -qualified.
5112 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5113 (overload-3, template-overload, template-ret-type, const-overload)
5114 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5115 procedures.
5116 (test_driver): Call them.
5117 * gdb.cp/save-bp-qualified.cc: New.
5118 * gdb.cp/save-bp-qualified.exp: New.
5119 * gdb.linespec/explicit.exp: Test -qualified.
5120 * lib/completion-support.exp (completion::explicit_opts_list): Add
5121 "-qualified".
5122 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5123
5124 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5125
5126 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5127
5128 2017-11-29 Tom Tromey <tom@tromey.com>
5129
5130 * gdb.base/relocate.exp: Update invalid argument test.
5131 Add new tests for invalid arguments.
5132
5133 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5134
5135 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5136 Return 0 as a long.
5137 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5138
5139 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5140
5141 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5142 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5143 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5144 func ().
5145 * gdb.cp/shadow.cc (B.func): Return 0.
5146
5147 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5148
5149 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5150 expected output in gdb_expect call to allow the exception
5151 message to be present as well. Fix syntax confusion to avoid
5152 TCL thinking that exception_name is an array.
5153
5154 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5155
5156 * gdb.arch/spu-info.c: Include <unistd.h>.
5157 (do_signal_test): Fix broken calls to write.
5158 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5159 Fix checks for empty mailboxes. Update signal tests for corrected
5160 do_signal_test routine. Allow nonzero event status.
5161 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5162 * gdb.cell/arch.exp: Use standard_output_file.
5163 * gdb.cell/break.exp: Likewise.
5164 * gdb.cell/bt.exp: Likewise.
5165 * gdb.cell/core.exp: Likewise.
5166 * gdb.cell/dwarfaddr.exp: Likewise.
5167 * gdb.cell/ea-cache.exp: Likewise.
5168 * gdb.cell/ea-standalone.exp: Likewise.
5169 * gdb.cell/f-regs.exp: Likewise.
5170 * gdb.cell/fork.exp: Likewise.
5171 * gdb.cell/gcore.exp: Likewise.
5172 * gdb.cell/mem-access.exp: Likewise.
5173 * gdb.cell/ptype.exp: Likewise.
5174 * gdb.cell/registers.exp: Likewise.
5175 * gdb.cell/sizeof.exp: Likewise.
5176 * gdb.cell/solib-symbol.exp: Likewise.
5177 * gdb.cell/solib.exp: Likewise.
5178
5179 2017-11-25 Pedro Alves <palves@redhat.com>
5180
5181 * gdb.base/complete-empty.exp: New file.
5182 * gdb.base/completion.exp: Adjust.
5183
5184 2017-11-25 Pedro Alves <palves@redhat.com>
5185
5186 * gdb.linespec/cpls-ops.cc: New file.
5187 * gdb.linespec/cpls-ops.exp: New file.
5188 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5189 factored out from ...
5190 (test_complete_prefix_range): ... this.
5191
5192 2017-11-24 Pedro Alves <palves@redhat.com>
5193
5194 * gdb.linespec/cpcompletion.exp: New file.
5195 * gdb.linespec/cpls-hyphen.cc: New file.
5196 * gdb.linespec/cpls.cc: New file.
5197 * gdb.linespec/cpls2.cc: New file.
5198 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5199 test to use test_gdb_complete_unique. Add label completion,
5200 keyword completion and explicit location completion tests.
5201 * lib/completion-support.exp: New file.
5202
5203 2017-11-24 Joel Brobecker <brobecker@adacore.com>
5204
5205 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5206 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5207 when hitting an exception catchpoint.
5208
5209 2017-11-22 Yao Qi <yao.qi@linaro.org>
5210
5211 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5212
5213 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5214
5215 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5216 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5217 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5218
5219 2017-11-22 Yao Qi <yao.qi@linaro.org>
5220
5221 * gdb.base/info-os.exp: Pass pthreads.
5222 * gdb.multi/multi-attach.exp: Likewise.
5223
5224 2017-11-22 Yao Qi <yao.qi@linaro.org>
5225
5226 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5227 compiler.
5228
5229 2017-11-22 Yao Qi <yao.qi@linaro.org>
5230
5231 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5232 * gdb.base/break-interp.exp: Likewise.
5233 * gdb.base/jit-attach-pie.exp: Likewise.
5234
5235 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5236
5237 * gdb.base/float128.c (large128): New variable.
5238 * gdb.base/float128.exp: Add test to print largest __float128 value.
5239
5240 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5241
5242 * gdb.arch/vsx-regs.exp: Update register content checks.
5243
5244 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5245
5246 * gdb.arch/ppc-longdouble.exp: New file.
5247 * gdb.arch/ppc-longdouble.c: Likewise.
5248
5249 2017-11-21 Pedro Alves <palves@redhat.com>
5250
5251 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5252
5253 2017-11-20 Pedro Alves <palves@redhat.com>
5254
5255 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5256 (long_double_typedef): New typedefs.
5257 Use DEF on double and long double.
5258 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5259 cases.
5260 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5261 and 'long_double_ptr_same_size' locals. Use them to decide
5262 whether cast from array/function to float is valid/invalid.
5263
5264 2017-11-17 Tom Tromey <tom@tromey.com>
5265
5266 * gdb.rust/traits.rs: New file.
5267 * gdb.rust/traits.exp: New file.
5268
5269 2017-11-17 Joel Brobecker <brobecker@adacore.com>
5270
5271 * gdb.ada/minsyms: New testcase.
5272
5273 2017-11-16 Pedro Alves <palves@redhat.com>
5274
5275 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5276 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5277
5278 2017-11-16 Pedro Alves <palves@redhat.com>
5279
5280 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5281 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5282
5283 2017-11-16 Pedro Alves <palves@redhat.com>
5284
5285 * gdb.server/reconnect-ctrl-c.c: New file.
5286 * gdb.server/reconnect-ctrl-c.exp: New file.
5287
5288 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5289
5290 * gdb.python/py-rbreak.exp: New file.
5291 * gdb.python/py-rbreak.c: New file.
5292 * gdb.python/py-rbreak-func2.c: New file.
5293
5294 2017-11-16 Pedro Alves <palves@redhat.com>
5295
5296 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5297 pattern.
5298 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5299 GDB.
5300
5301 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5302
5303 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5304 regex.
5305
5306 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5307
5308 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5309 test names.
5310
5311 2017-11-09 Pedro Alves <palves@redhat.com>
5312
5313 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5314 factored out from ...
5315 (top level): ... here, and adjusted to avoid expecting beyond the
5316 prompt in a single gdb_test_multiple.
5317
5318 2017-11-09 Pedro Alves <palves@redhat.com>
5319
5320 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5321 output.
5322 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5323 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5324 * gdb.server/ext-run.exp ("kill" test): Likewise.
5325 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5326
5327 2017-11-09 Pedro Alves <palves@redhat.com>
5328
5329 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5330 match till end of line.
5331
5332 2017-11-09 Pedro Alves <palves@redhat.com>
5333
5334 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5335
5336 2017-11-09 Pedro Alves <palves@redhat.com>
5337
5338 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5339 New procedures, factored out from ...
5340 (top level): ... here, and adjusted to avoid expecting beyond the
5341 prompt in one go.
5342
5343 2017-11-09 Pedro Alves <palves@redhat.com>
5344
5345 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5346 output. Fix '?' match.
5347
5348 2017-11-08 Joel Brobecker <brobecker@adacore.com>
5349
5350 * gdb.ada/scoped_watch: New testcase.
5351 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5352 which is actually correct.
5353 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5354 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5355
5356 2017-11-08 Pedro Alves <palves@redhat.com>
5357
5358 * gdb.gdb/complaints.exp (test_initial_complaints)
5359 (test_serial_complaints, test_short_complaints): Call
5360 complaint_internal instead of complaint.
5361
5362 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5363
5364 * gdb.threads/tls-core.c: New file.
5365 * gdb.threads/tls-core.exp: Likewise.
5366
5367 2017-11-08 Pedro Alves <palves@redhat.com>
5368
5369 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5370 (p Exported_Capitalized): New test.
5371 (p exported_capitalized): New test.
5372
5373 2017-11-07 Pedro Alves <palves@redhat.com>
5374
5375 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5376
5377 2017-11-07 Pedro Alves <palves@redhat.com>
5378
5379 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5380 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5381 (disable_invalid, disable_inverted, disable_negative): New
5382 procedures.
5383 ("bad numbers"): New set of tests.
5384
5385 2017-11-07 Pedro Alves <palves@redhat.com>
5386
5387 * gdb.cp/ena-dis-br-range.exp: Add tests.
5388
5389 2017-11-07 Pedro Alves <palves@redhat.com>
5390
5391 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5392
5393 2017-11-07 Xavier Roirand <roirand@adacore.com>
5394 Pedro Alves <palves@redhat.com>
5395
5396 * gdb.base/ena-dis-br.exp: Add reference to
5397 gdb.cp/ena-dis-br-range.exp.
5398 * gdb.cp/ena-dis-br-range.exp: New file.
5399 * gdb.cp/ena-dis-br-range.cc: New file.
5400
5401 2017-11-06 Pedro Alves <palves@redhat.com>
5402
5403 * gdb.base/attach-non-pgrp-leader.c: New.
5404 * gdb.base/attach-non-pgrp-leader.exp: New.
5405
5406 2017-11-06 Pedro Alves <palves@redhat.com>
5407
5408 * configure.ac: No longer check for termio.h and sgtty.h.
5409 * configure: Regenerate.
5410 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5411 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5412 Remove termio and sgtty code.
5413
5414 2017-11-03 Yao Qi <yao.qi@linaro.org>
5415
5416 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5417 in GDB is disabled.
5418
5419 2017-11-03 Yao Qi <yao.qi@linaro.org>
5420
5421 * gdb.python/py-thrhandle.exp: Skip it if python is not
5422 enabled.
5423
5424 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5425
5426 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5427 as a breakpoint command.
5428
5429 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5430
5431 PR python/21213
5432 * gdb.python/py-infthread.exp: Test calling
5433 InferiorThread.inferior () multiple times in a row.
5434
5435 2017-10-27 Keith Seitz <keiths@redhat.com>
5436
5437 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5438 Test "info break" for every inlined function breakpoint.
5439
5440 2017-10-27 Yao Qi <yao.qi@linaro.org>
5441
5442 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5443
5444 2017-10-26 Patrick Frants <osscontribute@gmail.com>
5445
5446 * gdb.cp/classes.exp (test_static_members): Test printing
5447 Outer::instance.
5448 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5449 (Inner::instance, Outer::instance): New.
5450
5451 2017-10-24 Pedro Alves <palves@redhat.com>
5452
5453 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5454 extra console" test in two stages.
5455
5456 2017-10-24 Pedro Alves <palves@redhat.com>
5457
5458 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5459
5460 2017-10-24 Pedro Alves <palves@redhat.com>
5461
5462 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5463 loop.
5464
5465 2017-10-24 Pedro Alves <palves@redhat.com>
5466
5467 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5468 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5469
5470 2017-10-24 Pedro Alves <palves@redhat.com>
5471
5472 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5473 parameter and handle it. Don't output read value in test name.
5474
5475 2017-10-24 Pedro Alves <palves@redhat.com>
5476
5477 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5478 custom test name.
5479
5480 2017-10-24 Pedro Alves <palves@redhat.com>
5481
5482 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5483 include the unstable output directory name in the test's name.
5484 (initial_setup_simple) <'set args'>: Use custom test name.
5485
5486 2017-10-24 Pedro Alves <palves@redhat.com>
5487
5488 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5489 with explicit test name.
5490
5491 2017-10-20 Pedro Alves <palves@redhat.com>
5492
5493 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5494 'wait -i'. Use gdb_assert and remote_close.
5495
5496 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5497
5498 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5499 number from variable rather than hard-coded.
5500
5501 2017-10-19 Pedro Alves <palves@redhat.com>
5502
5503 * gdb.base/long-inferior-output.c: New file.
5504 * gdb.base/long-inferior-output.exp: New file.
5505
5506 2017-11-18 Keith Seitz <keiths@redhat.com>
5507
5508 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5509 method.
5510 (main): Call it.
5511 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5512 Add additional user-defined conversion operator tests.
5513
5514 2017-10-17 Pedro Alves <palves@redhat.com>
5515
5516 * boards/native-stdio-gdbserver.exp: Load "local-board".
5517
5518 2017-10-17 Pedro Alves <palves@redhat.com>
5519
5520 * gdb.base/quit-live.c: New file.
5521 * gdb.base/quit-live.exp: New file.
5522
5523 2017-10-16 Keith Seitz <keiths@redhat.com>
5524
5525 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5526 (class_with_protected_typedef, class_with_private_typedef)
5527 (struct_with_public_typedef, struct_with_protected_typedef)
5528 (struct_with_private_typedef): New classes/structs.
5529 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5530 typedefs and access specifiers.
5531
5532 2017-10-16 Pedro Alves <palves@redhat.com>
5533 Simon Marchi <simon.marchi@polymtl.ca>
5534
5535 * README (Local vs Remote vs Native): New section.
5536 * boards/local-board.exp: New file, with bits factored out from
5537 ...
5538 * boards/native-extended-gdbserver.exp: ... here. Load
5539 "local-board".
5540 * boards/native-gdbserver.exp: Load "local-board".
5541 (${board}_spawn, ${board}_exec): Delete.
5542 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5543 ...
5544 * boards/stdio-gdbserver-base.exp: ... this new file.
5545 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5546 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5547 procedure.
5548 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5549 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5550 stdio_gdbserver_command.
5551 (${board}_get_remote_address, ${board}_get_comm_port)
5552 (${board}_download, ${board}_upload): Delete.
5553 (get_target_remote_pipe_cmd): New.
5554
5555 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5556
5557 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5558 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5559 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5560 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5561 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5562 remove with_test_prefix.
5563
5564 2017-10-13 Pedro Alves <palves@redhat.com>
5565
5566 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5567 * gdb.base/annota1.exp: Use it instead of is_remote.
5568 * gdb.base/annota3.exp: Use it instead of is_remote.
5569 * gdb.cp/annota2.exp: Use it instead of is_remote.
5570 * gdb.cp/annota3.exp: Use it instead of is_remote.
5571 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5572
5573 2017-10-13 Pedro Alves <palves@redhat.com>
5574
5575 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5576 (test_num_test_vars, run_and_count_vars, find_env)
5577 (test_set_unset_env, test_inherit_env_var): New procedures.
5578 (top level): Use them.
5579
5580 2017-10-13 Pedro Alves <palves@redhat.com>
5581
5582 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5583 also skip on stub-like targets.
5584
5585 2017-10-13 Pedro Alves <palves@redhat.com>
5586
5587 PR gdb/22293
5588 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5589 (top level): Move some tests to ...
5590 (test_not_found): ... this new procedure.
5591 (top level): Call it.
5592
5593 2017-10-13 Pedro Alves <palves@redhat.com>
5594
5595 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5596 expect different "info terminal" output if testing with a
5597 non-native target.
5598
5599 2017-10-13 Pedro Alves <palves@redhat.com>
5600 Simon Marchi <simon.marchi@polymtl.ca>
5601
5602 PR python/12966
5603 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5604
5605 2017-10-13 Pedro Alves <palves@redhat.com>
5606
5607 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5608 already.
5609
5610 2017-10-13 Pedro Alves <palves@redhat.com>
5611
5612 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5613 is_remote.
5614
5615 2017-10-13 Pedro Alves <palves@redhat.com>
5616
5617 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5618 is_remote.
5619
5620 2017-10-13 Pedro Alves <palves@redhat.com>
5621
5622 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5623 is set.
5624 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5625 instead of is_remote.
5626
5627 2017-10-13 Pedro Alves <palves@redhat.com>
5628
5629 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5630 (top level): Add comment.
5631
5632 2017-10-13 Pedro Alves <palves@redhat.com>
5633
5634 * gdb.base/remote.exp (top level): Fix comment typo and add
5635 missing return.
5636
5637 2017-10-13 Pedro Alves <palves@redhat.com>
5638 Simon Marchi <simon.marchi@polymtl.ca>
5639
5640 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5641 calls and add comments. Skip test if use_gdb_stub is set.
5642 (top level): Use "set cwd" command instead of "cd" command.
5643
5644 2017-10-13 Pedro Alves <palves@redhat.com>
5645
5646 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5647 is_remote target check.
5648
5649 2017-10-13 Pedro Alves <palves@redhat.com>
5650
5651 * gdb.base/scope.exp: Use build_executable + clean_restart +
5652 gdb_file_cmd instead of prepare_for_testing and no longer skip
5653 "before run" tests on is_remote target boards. Update comments.
5654 * boards/native-extended-gdbserver.exp
5655 (extended_gdbserver_load_last_file): New, factored out from ...
5656 (gdb_load): ... this. Move further below and add comment.
5657 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5658
5659 2017-10-12 Pedro Alves <palves@redhat.com>
5660
5661 * gdb.base/attach.exp: Remove references to gdb64.
5662 * gdb.base/dbx.exp: Remove references to gdb64.
5663
5664 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5665 Pedro Alves <palves@redhat.com>
5666
5667 * gdb.base/label.exp: Remove is_remote target check.
5668
5669 2017-10-12 Pedro Alves <palves@redhat.com>
5670
5671 * gdb.base/auvx.exp (coredir): Update comment.
5672 (top level) <core_works>: Use "set cwd" command instead of "cd"
5673 command.
5674
5675 2017-10-12 Pedro Alves <palves@redhat.com>
5676 Simon Marchi <simon.marchi@polymtl.ca>
5677
5678 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5679 target boards.
5680
5681 2017-10-12 Pedro Alves <palves@redhat.com>
5682 Simon Marchi <simon.marchi@polymtl.ca>
5683
5684 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5685 Instead skip if there's any gdb_protocol set.
5686
5687 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5688 Pedro Alves <palves@redhat.com>
5689
5690 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5691
5692 2017-10-12 Pedro Alves <palves@redhat.com>
5693 Simon Marchi <simon.marchi@polymtl.ca>
5694
5695 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5696 instead of on dejagnu remote boards.
5697
5698 2017-10-12 Pedro Alves <palves@redhat.com>
5699 Simon Marchi <simon.marchi@polymtl.ca>
5700
5701 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5702 checks. Use build_executable + clean_restart instead of
5703 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5704 of enabling non-stop after starting gdb.
5705
5706 2017-10-12 Pedro Alves <palves@redhat.com>
5707
5708 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5709 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5710 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5711 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5712
5713 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5714
5715 * gdb.arch/arc-tdesc-cpu.exp: New file.
5716 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5717
5718 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5719
5720 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5721
5722 2017-10-10 Pedro Alves <palves@redhat.com>
5723
5724 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5725 expect CLI output.
5726
5727 2017-10-10 Pedro Alves <palves@redhat.com>
5728
5729 * lib/selftest-support.exp (selftest_setup): Update for
5730 captured_command_loop's prototype change.
5731
5732 2017-10-09 Pedro Alves <palves@redhat.com>
5733
5734 Test both arch1=>arch2 and arch2=>arch1.
5735
5736 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5737 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5738 factored out to...
5739 (append_arch1_options, append_arch2_options, append_arch_options)
5740 (build_executables): New procedures.
5741 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5742 local.
5743 (top level): Add new 'first_arch' testing axis.
5744
5745 2017-10-09 Pedro Alves <palves@redhat.com>
5746
5747 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5748 (barrier): New.
5749 (thread_start, all_started): New functions.
5750 (main): Spawn new thread and wait until it is scheduled.
5751 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5752 option.
5753 (do_test): Add 'selected_thread' parameter. Run to all_started
5754 instead of main. Explicitly set the breakpoint at main. Switch
5755 to the SELECTED_THREAD thread.
5756 (top level): Test handling the exec event with either the main
5757 thread or the second thread selected.
5758
5759 2017-10-09 Pedro Alves <palves@redhat.com>
5760
5761 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5762 logic. Move STOP marker after the value checks.
5763 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5764 regexp.
5765
5766 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5767
5768 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5769
5770 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5771
5772 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5773 integer-to-dfp conversion.
5774 * gdb.base/dfp-test.exp: Likewise.
5775
5776 2017-10-04 Pedro Alves <palves@redhat.com>
5777
5778 * gdb.multi/hangout.c: Include <unistd.h>.
5779 (hangout_loop): New function.
5780 (main): Call alarm. Call hangout_loop in a loop.
5781 * gdb.multi/hello.c: Include <unistd.h>.
5782 (hello_loop): New function.
5783 (main): Call alarm. Call hangout_loop in a loop.
5784 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5785 inferior with the other selected.
5786
5787 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5788
5789 * gdb.mi/list-thread-groups-available.exp: New file.
5790 * gdb.mi/list-thread-groups-available.c: New file.
5791
5792 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5793
5794 * gdb.base/set-cwd.exp: Make it available on
5795 native-extended-gdbserver.
5796
5797 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5798
5799 * gdb.base/set-cwd.c: New file.
5800 * gdb.base/set-cwd.exp: Likewise.
5801
5802 2017-10-02 Tom Tromey <tom@tromey.com>
5803
5804 PR rust/22236:
5805 * gdb.rust/simple.rs (main): New variable "fslice".
5806 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5807
5808 2017-10-02 Tom Tromey <tom@tromey.com>
5809
5810 * gdb.rust/simple.exp: Test ptype of a slice.
5811
5812 2017-10-02 Tom Tromey <tom@tromey.com>
5813
5814 * gdb.rust/simple.exp: Test index of slice.
5815
5816 2017-09-27 Tom Tromey <tom@tromey.com>
5817
5818 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5819
5820 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5821 Pedro Alves <palves@redhat.com>
5822
5823 * gdb.base/compare-sections.exp (get value of read-only section): Read
5824 as unsigned value.
5825 (corrupt read-only section): Likewise and don't set written if patching
5826 failed.
5827
5828 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5829
5830 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5831 files.
5832
5833 2017-09-20 Pedro Alves <palves@redhat.com>
5834
5835 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5836 symbol names in gdb's output.
5837 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5838
5839 2017-09-20 Pedro Alves <palves@redhat.com>
5840
5841 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5842 Rename to ...
5843 (test_list_ambiguous_symbol): ... this and add a symbol name
5844 parameter. Adjust.
5845 (test_list_ambiguous_function): Reimplement on top of
5846 test_list_ambiguous_symbol and also test listing ambiguous
5847 variables.
5848 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5849 (ambiguous_fun): ... this.
5850 (ambiguous_var): New.
5851 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5852 (ambiguous_fun): ... this.
5853 (ambiguous_var): New.
5854
5855 2017-09-19 John Baldwin <jhb@FreeBSD.org>
5856
5857 * gdb.base/starti.c: New file.
5858 * gdb.base/starti.exp: New file.
5859 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5860
5861 2017-09-14 Pedro Alves <palves@redhat.com>
5862
5863 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5864 (top level): Use it instead of runto.
5865
5866 2017-09-11 Tom Tromey <tom@tromey.com>
5867
5868 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5869
5870 2017-09-11 Tom Tromey <tom@tromey.com>
5871
5872 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5873 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5874
5875 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5876
5877 * gdb.fortran/printing-types.exp: New file.
5878 * gdb.fortran/printing-types.exp: New file.
5879
5880 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5881
5882 * gdb.fortran/vla-ptype.exp: Fix typos.
5883 * gdb.fortran/vla-value.exp: Same.
5884
5885 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5886
5887 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5888 * gdb.mi/mi-var-child-f.exp: Likewise.
5889 * gdb.mi/mi-vla-fortran.exp: Likewise.
5890
5891 2017-09-08 Frank Penczek <frank.penczek@intel.com>
5892 Christoph Weinmann <christoph.t.weinmann@intel.com>
5893 Bernhard Heckel <bernhard.heckel@intel.com>
5894
5895 * gdb.fortran/ptr-indentation.f90: New file.
5896 * gdb.fortran/ptr-indentation.exp: New file.
5897
5898 2017-09-05 Tom Tromey <tom@tromey.com>
5899
5900 PR gdb/22010:
5901 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5902
5903 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5904
5905 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5906
5907 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5908
5909 * gdb.threads/tls-nodebug-pie.c: New file.
5910 * gdb.threads/tls-nodebug-pie.exp: New file.
5911
5912 2017-09-05 Tom Tromey <tom@tromey.com>
5913
5914 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5915 for rust.
5916
5917 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5918
5919 * gdb.multi/multi-arch-exec.exp: Test with different
5920 "follow-exec-mode" settings.
5921 (do_test): New procedure.
5922
5923 2017-09-04 Pedro Alves <palves@redhat.com>
5924
5925 * gdb.base/func-static.c (S::method const, S::method volatile)
5926 (S::method volatile const): New methods.
5927 (c_s, v_s, cv_s): New instances.
5928 (main): Call method() on them.
5929 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5930 (cannot_resolve): New procedure.
5931 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5932 print-quote-unquoted columns.
5933 (do_test): Test printing each scope too.
5934
5935 2017-09-04 Pedro Alves <palves@redhat.com>
5936
5937 * gdb.base/local-static.exp: Also test with
5938 class::method::variable wholly quoted.
5939 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5940
5941 2017-09-04 Pedro Alves <palves@redhat.com>
5942
5943 * gdb.base/local-static.c: New.
5944 * gdb.base/local-static.cc: New.
5945 * gdb.base/local-static.exp: New.
5946
5947 2017-09-04 Pedro Alves <palves@redhat.com>
5948
5949 * gdb.asm/asm-source.exp: Add casts to int.
5950 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5951 (dataglobal64_1, dataglobal64_2): New globals.
5952 * gdb.base/nodebug.exp: Test different expressions involving the
5953 new globals, with print, whatis and ptype. Add casts to int.
5954 * gdb.base/solib-display.exp: Add casts to int.
5955 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5956 * gdb.cp/m-static.exp: Add cast to int.
5957 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5958 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5959 tls variable with no debug info without a cast. Test with a cast
5960 to int too.
5961 * gdb.trace/entry-values.exp: Add casts.
5962
5963 2017-09-04 Pedro Alves <palves@redhat.com>
5964
5965 * gdb.base/nodebug.exp: Test that ptype's error about functions
5966 with unknown return type includes the function name too.
5967
5968 2017-09-04 Pedro Alves <palves@redhat.com>
5969
5970 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
5971 return type of munmap in infcall.
5972 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
5973 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
5974 type of ftell in infcall.
5975 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
5976 type of getpid in infcall.
5977 * gdb.base/infcall-exec.exp: Cast return type of execlp in
5978 infcall.
5979 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
5980 Bail on failure to extract the pid.
5981 * gdb.base/nodebug.c: #include <stdint.h>.
5982 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
5983 New functions.
5984 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
5985 Change expected output of print/whatis/ptype with functions with
5986 no debug info. Test all supported languages. Call
5987 test_call_promotion.
5988 * gdb.compile/compile.exp: Adjust expected output to expect
5989 warning.
5990 * gdb.threads/siginfo-threads.exp: Likewise.
5991
5992 2017-09-04 Pedro Alves <palves@redhat.com>
5993
5994 * gdb.base/callfuncs.exp (do_function_calls): New parameter
5995 "prototypes". Test calling float functions via prototyped and
5996 unprototyped function pointers.
5997 (perform_all_tests): New parameter "prototypes". Pass it down.
5998 (top level): Pass down "prototypes" parameter to
5999 perform_all_tests.
6000
6001 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6002
6003 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6004 Test with nested loops.
6005
6006 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6007
6008 * gdb.base/commands.exp: Call the new procedures.
6009 (loop_break_test, loop_continue_test): New procedures.
6010
6011 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6012
6013 * gdb.base/commands.exp: Call new procedure.
6014 (define_if_without_arg_test): New procedure.
6015
6016 2017-09-04 Pedro Alves <palves@redhat.com>
6017
6018 * gdb.base/list-ambiguous.exp: New file.
6019 * gdb.base/list-ambiguous0.c: New file.
6020 * gdb.base/list-ambiguous1.c: New file.
6021 * gdb.base/list.exp (test_list_range): Adjust expected output.
6022
6023 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6024
6025 * gdb.base/share-env-with-gdbserver.c: New file.
6026 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6027
6028 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6029
6030 * gdb.base/commands.exp (gdbvar_simple_if_test,
6031 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6032 progvar_simple_if_test, progvar_simple_while_test,
6033 progvar_complex_if_while_test, user_defined_command_test,
6034 user_defined_command_args_eval,
6035 user_defined_command_args_stack_test,
6036 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6037 temporary_breakpoint_commands,
6038 gdb_test_no_prompt, redefine_hook_test,
6039 redefine_backtrace_test): Remove "global gdb_prompt".
6040
6041 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6042
6043 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6044 New proc, call it from toplevel.
6045
6046 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6047
6048 PR remote/21852
6049 * gdb.server/normal.c: New file, copied from gdb.base.
6050 * gdb.server/run-without-local-binary.exp: New file.
6051
6052 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
6053
6054 * gdb.arch/sparc64-adi.exp: New file.
6055 * gdb.arch/sparc64-adi.c: New file.
6056
6057 2017-08-22 Pedro Alves <palves@redhat.com>
6058
6059 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6060 (top level): Add "list all overloads" tests.
6061
6062 2017-08-22 Tom Tromey <tom@tromey.com>
6063
6064 * gdb.gdb/xfullpath.exp: Remove.
6065
6066 2017-08-21 Pedro Alves <palves@redhat.com>
6067
6068 PR gdb/19487
6069 * gdb.base/symbol-alias.c: New.
6070 * gdb.base/symbol-alias2.c: New.
6071 * gdb.base/symbol-alias.exp: New.
6072
6073 2017-08-21 Pedro Alves <palves@redhat.com>
6074
6075 * gdb.base/dfp-test.c
6076 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6077 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6078 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6079 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6080 * gdb.base/whatis-ptype-typedefs.c: New.
6081 * gdb.base/whatis-ptype-typedefs.exp: New.
6082 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6083 (an_int, an_int_type, an_int_type2): New globals.
6084 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6085 involving typedefs and cast expressions.
6086 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6087 (lookup_typedefs_function): New.
6088 (typedefs_pretty_printers_dict): New.
6089 (top level): Register lookup_typedefs_function in
6090 gdb.pretty_printers.
6091
6092 2017-08-18 Yao Qi <yao.qi@linaro.org>
6093
6094 * gdb.server/unittest.exp: New.
6095
6096 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6097
6098 PR gdb/21954
6099 * gdb.base/environ.exp: Add test to check if 'unset environment'
6100 works.
6101
6102 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6103
6104 * lib/gdb.exp (universal_compile_options): New caching proc.
6105 (gdb_compile): Suppress GCC's coloring of messages.
6106
6107 2017-08-14 Tom Tromey <tom@tromey.com>
6108
6109 PR gdb/21675:
6110 * gdb.base/printcmds.exp (test_radices): New function.
6111 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6112 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6113 * lib/gdb.exp (get_integer_valueof): Use p/d.
6114
6115 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6116
6117 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6118 characters.
6119
6120 2017-08-05 Tom Tromey <tom@tromey.com>
6121
6122 * gdb.rust/simple.exp: Allow String to appear in a different
6123 namespace.
6124
6125 2017-07-26 Yao Qi <yao.qi@linaro.org>
6126
6127 * gdb.gdb/unittest.exp: Invoke command
6128 "maintenance check xml-descriptions".
6129
6130 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6131
6132 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6133 calling context.
6134 (hex128): Drop erroneous calculation of parameters.
6135
6136 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6137
6138 * gdb.python/py-unwind.exp: Disable stack protection when
6139 building test file.
6140
6141 2017-07-20 Pedro Alves <palves@redhat.com>
6142
6143 * gdb.base/default.exp (set language): Adjust expected output.
6144
6145 2017-07-20 Pedro Alves <palves@redhat.com>
6146
6147 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6148 (test_minsym): ... this, and make static.
6149 (get_pck__foo__bar__minsym): Rename to ...
6150 (get_test_minsym): ... this.
6151 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6152 symbol names and comments.
6153 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6154 (get_test_minsym): ... this.
6155 (pck__foo__bar__minsym__2): Rename to ...
6156 (test_minsym): ... this.
6157 (main): Adjust.
6158
6159 2017-07-17 Pedro Alves <palves@redhat.com>
6160
6161 * gdb.base/completion.exp: Adjust expected output.
6162 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6163 the completer works.
6164
6165 2017-07-17 Pedro Alves <palves@redhat.com>
6166
6167 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6168
6169 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6170
6171 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6172
6173 2017-07-14 Tom Tromey <tom@tromey.com>
6174
6175 PR rust/21764:
6176 * gdb.rust/simple.exp: Add tests.
6177
6178 2017-07-14 Tom Tromey <tom@tromey.com>
6179
6180 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6181
6182 2017-07-14 Pedro Alves <palves@redhat.com>
6183
6184 * gdb.linespec/base/one/thefile.cc (z1): New function.
6185 * gdb.linespec/base/two/thefile.cc (z2): New function.
6186 * gdb.linespec/linespec.exp: Add tests.
6187
6188 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6189
6190 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6191 to mi_create_breakpoint.
6192
6193 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6194
6195 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6196 mi_create_breakpoint.
6197
6198 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6199
6200 * gdb.dlang/demangle.exp: Update for demangling changes.
6201
6202 2017-07-09 Tom Tromey <tom@tromey.com>
6203
6204 * gdb.dwarf2/shortpiece.exp: New file.
6205
6206 2017-07-06 David Blaikie <dblaikie@gmail.com>
6207
6208 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6209 built from fissiont-multi-cu{1,2}.c.
6210 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6211 except putting 'main' and 'func' in separate CUs in the same DWO file.
6212 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6213 test.
6214 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6215 test.
6216
6217 2017-07-06 Pedro Alves <palves@redhat.com>
6218
6219 * gdb.python/py-unwind.exp: Test flushregs.
6220
6221 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6222
6223 PR cli/21688
6224 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6225 tests for alias commands and trailing whitespace.
6226
6227 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6228
6229 PR cli/21688
6230 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6231 procedure. Call it.
6232
6233 2017-06-29 Pedro Alves <palves@redhat.com>
6234
6235 * gdb.base/printcmds.exp: Add tests.
6236
6237 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6238
6239 PR gdb/21337
6240 * gdb.base/reread-readsym.exp: New file.
6241 * gdb.base/reread-readsym.c: New file.
6242
6243 2017-06-21 Kevin Buettner <kevinb@redhat.com>
6244
6245 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6246 subpattern.
6247
6248 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6249
6250 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6251 extended mnemonic.
6252 * gdb.arch/powerpc-power9.s: Likewise.
6253
6254 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6255
6256 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6257 on 32-bit x86 targets. Exploit is_*_target macros where
6258 appropriate.
6259
6260 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6261
6262 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6263 register pieces.
6264
6265 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6266
6267 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6268 located in one or more DWARF pieces.
6269
6270 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6271
6272 * lib/gdb.exp (get_endianness): New proc.
6273 * gdb.arch/aarch64-fp.exp: Use it.
6274 * gdb.arch/altivec-regs.exp: Likewise.
6275 * gdb.arch/e500-regs.exp: Likewise.
6276 * gdb.arch/vsx-regs.exp: Likewise.
6277 * gdb.base/dump.exp: Likewise.
6278 * gdb.base/funcargs.exp: Likewise.
6279 * gdb.base/gnu_vector.exp: Likewise.
6280 * gdb.dwarf2/formdata16.exp: Likewise.
6281 * gdb.dwarf2/implptrpiece.exp: Likewise.
6282 * gdb.dwarf2/nonvar-access.exp: Likewise.
6283 * gdb.python/py-inferior.exp: Likewise.
6284 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6285
6286 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6287
6288 PR gdb/21226
6289 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6290 stack value pieces are taken from the LSB end.
6291
6292 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6293
6294 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6295 variable at nonzero offset.
6296
6297 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6298
6299 * gdb.dwarf2/var-access.c: New file.
6300 * gdb.dwarf2/var-access.exp: New test.
6301 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6302
6303 2017-06-12 Tom Tromey <tom@tromey.com>
6304
6305 * gdb.dwarf2/formdata16.exp: Add tests.
6306
6307 2017-06-12 Tom Tromey <tom@tromey.com>
6308
6309 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6310
6311 2017-06-12 Tom Tromey <tom@tromey.com>
6312
6313 PR exp/16225:
6314 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6315 * gdb.arch/vsx-regs.exp: Update tests.
6316 * gdb.arch/s390-vregs.exp (hex128): New proc.
6317 Update test.
6318 * gdb.arch/altivec-regs.exp: Update tests.
6319
6320 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6321
6322 * gdb.base/startup-with-shell.c: New file.
6323 * gdb.base/startup-with-shell.exp: Likewise.
6324
6325 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6326
6327 * gdb.server/non-existing-program.exp: Update regex in order to
6328 reflect the fact that gdbserver is now using fork_inferior (with a
6329 shell) to startup the inferior.
6330
6331 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6332
6333 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6334 support function calls from GDB.
6335
6336 2017-05-21 Tom Tromey <tom@tromey.com>
6337
6338 PR rust/21466:
6339 * gdb.rust/unsized.exp: New file.
6340 * gdb.rust/unsized.rs: New file.
6341
6342 2017-05-19 Tom Tromey <tom@tromey.com>
6343
6344 PR rust/21484:
6345 * gdb.rust/watch.exp: New file.
6346 * gdb.rust/watch.rs: New file.
6347
6348 2017-05-18 Tom Tromey <tom@tromey.com>
6349
6350 * gdb.rust/simple.exp: Allow Box to be qualified.
6351
6352 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6353
6354 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6355
6356 2017-05-18 Pedro Alves <palves@redhat.com>
6357
6358 * gdb.base/fileio.c (test_write, test_read, test_close)
6359 (test_fstat): Don't print 'ret' in the fail path.
6360
6361 2017-05-18 Pedro Alves <palves@redhat.com>
6362
6363 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6364 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6365 (test_system, test_rename, test_unlink, test_time): Change
6366 prototypes.
6367 * gdb.base/fileio.exp (stop_msg): Adjust.
6368
6369 2017-05-18 Pedro Alves <palves@redhat.com>
6370
6371 * gdb.base/fileio.c (null_str): New global.
6372 (test_stat): Use it.
6373 * gdb.base/fileio.exp: Remove nowarnings.
6374
6375 2017-05-17 Yao Qi <yao.qi@linaro.org>
6376
6377 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6378
6379 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6380
6381 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6382 argument command.
6383 (top-level): Invoke test_set_inferior_tty.
6384
6385 2017-05-04 Pedro Alves <palves@redhat.com>
6386
6387 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6388 Add parens to print call for Python 3.
6389
6390 2017-05-03 Keith Seitz <keiths@redhat.com>
6391
6392 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6393 (main): Call it.
6394
6395 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6396
6397 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6398 to prev and next.
6399
6400 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6401
6402 * gdb.python/py-record-btrace.exp: Remove test for
6403 gdb.BtraceInstruction.error.
6404
6405 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6406
6407 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6408
6409 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6410
6411 * gdb.python/py-record-btrace-threads.c: New file.
6412 * gdb.python/py-record-btrace-threads.exp: New file.
6413
6414 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6415
6416 PR testsuite/8595
6417 * gdb.base/environ.exp: Make test available in all architectures.
6418 Move bits related to "info program" testing to
6419 gdb.base/info-program.exp. Rewrite tests to use the two new
6420 procedures mentione below.
6421 (test_set_show_env_var) New procedure.
6422 (test_set_show_env_var_equal): Likewise.
6423 * gdb.base/info-program.exp: New file.
6424
6425 2017-04-27 Keith Seitz <keiths@redhat.com>
6426
6427 * gdb.cp/oranking.cc (test15): New function.
6428 (main): Call test15 and declare additional variables for testing.
6429 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6430 "p foo101('abc')" tests.
6431 Add tests for cv qualifier overloads.
6432 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6433 "lvalue reference overload" test.
6434 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6435 "print value of f1 on Child&& in f2" test.
6436
6437 2017-04-19 Pedro Alves <palves@redhat.com>
6438
6439 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6440 procedure.
6441 (top level): Call it.
6442 * lib/gdb.exp (gdb_define_cmd): New procedure.
6443
6444 2017-04-12 Pedro Alves <palves@redhat.com>
6445
6446 PR gdb/21323
6447 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6448 (wchar): New global.
6449 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6450 (do_test_wide_char, wide_char_types_no_program, top level): Add
6451 wchar_t testing.
6452
6453 2017-04-12 Pedro Alves <palves@redhat.com>
6454
6455 PR c++/21323
6456 * gdb.cp/wide_char_types.c: New file.
6457 * gdb.cp/wide_char_types.exp: New file.
6458
6459 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6460
6461 PR gdb/21352
6462 * gdb.trace/tsv.exp: Add test for "tsave -r".
6463
6464 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6465
6466 * gdb.dlang/watch-loc.c: New file.
6467 * gdb.dlang/watch-loc.exp: New file.
6468
6469 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6470
6471 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6472
6473 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6474
6475 * gdb.arch/arc-analyze-prologue.S: New file.
6476 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6477
6478 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6479
6480 * gdb.arch/arc-decode-insn.S: New file.
6481 * gdb.arch/arc-decode-insn.exp: Likewise.
6482
6483 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6484
6485 PR tdep/20928
6486 * gdb.arch/sparc64-regs.exp: New file.
6487 * gdb.arch/sparc64-regs.S: Likewise.
6488
6489 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6490
6491 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6492 and memory view on Python 3.
6493
6494 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
6495 Keith Seitz <keiths@redhat.com>
6496
6497 PR gdb/14441
6498 * gdb.cp/demangle.exp: Add rvalue reference tests.
6499 * gdb.cp/rvalue-ref-casts.cc: New file.
6500 * gdb.cp/rvalue-ref-casts.exp: New file.
6501 * gdb.cp/rvalue-ref-overload.cc: New file.
6502 * gdb.cp/rvalue-ref-overload.exp: New file.
6503 * gdb.cp/rvalue-ref-params.cc: New file.
6504 * gdb.cp/rvalue-ref-params.exp: New file.
6505 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6506 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6507 * gdb.cp/rvalue-ref-types.cc: New file.
6508 * gdb.cp/rvalue-ref-types.exp: New file.
6509 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6510 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6511
6512 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6513
6514 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6515 New procedure.
6516
6517 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6518
6519 * lib/mi-support.exp (mi_gdb_test): Add additional message
6520 for unexpected output.
6521
6522 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6523
6524 * gdb.base/examine-backward.c (Barrier): New character array
6525 constant, to ensure that TestStrings is preceded by a string
6526 terminator.
6527
6528 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6529
6530 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6531 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6532 and implicit pointer into such a location.
6533
6534 2017-03-16 Doug Evans <dje@google.com>
6535
6536 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6537
6538 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6539
6540 * gdb.cp/m-static.exp: Fix expectation for prototype of
6541 test5.single_constructor and single_constructor::single_constructor.
6542
6543 2017-03-16 Doug Evans <dje@google.com>
6544
6545 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6546 * gdb.guile/scm-lazy-string.c: New file.
6547 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6548 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6549 for pointer, array, typedef lazy strings.
6550
6551 2017-03-16 Doug Evans <dje@google.com>
6552
6553 PR python/17728, python/18439, python/18779
6554 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6555 * gdb.python/py-lazy-string.c (pointer): New typedef.
6556 (main): New locals ptr, array, typedef_ptr.
6557 * gdb.python/py-value.exp: Move lazy string tests to ...
6558 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6559 array, typedef lazy strings.
6560
6561 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6562
6563 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6564 Add optional 'test' parameter.
6565
6566 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6567
6568 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6569 Skip for versions of DejaGnu < 1.5.
6570
6571 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6572
6573 * lib/gdb.exp (dejagnu_version): New proc.
6574 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6575 Use dejagnu_version.
6576
6577 2017-03-10 Keith Seitz <keiths@redhat.com>
6578
6579 PR c++/8128
6580 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6581 type from destructor regexps.
6582 Add a branch which actually passes the test.
6583 Adjust "ptype t5i" test names.
6584
6585 2017-03-08 Pedro Alves <palves@redhat.com>
6586
6587 * gdb.base/step-over-exit.exp: Add explicit test message.
6588
6589 2017-03-08 Pedro Alves <palves@redhat.com>
6590
6591 PR gdb/18360
6592 * gdb.threads/interrupt-while-step-over.c: New file.
6593 * gdb.threads/interrupt-while-step-over.exp: New file.
6594
6595 2017-03-08 Pedro Alves <palves@redhat.com>
6596
6597 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6598 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6599
6600 2017-03-08 Pedro Alves <palves@redhat.com>
6601
6602 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6603 PKRU as not supported as a PASS.
6604
6605 2017-03-08 Pedro Alves <palves@redhat.com>
6606
6607 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6608 prefix instead of $binfile1/$binfile2.
6609 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6610 in test message.
6611 * gdb.python/py-completion.exp: Use "load python file" as test
6612 messages instead of unstable path names.
6613
6614 2017-03-08 Pedro Alves <palves@redhat.com>
6615 Jan Kratochvil <jan.kratochvil@redhat.com>
6616
6617 PR cli/21218
6618 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6619 New proc.
6620 (top level): Call it.
6621
6622 2017-03-08 Pedro Alves <palves@redhat.com>
6623
6624 PR tui/21216
6625 * gdb.tui/tui-nl-filtered-output.exp: New file.
6626
6627 2017-03-08 Pedro Alves <palves@redhat.com>
6628
6629 * gdb.base/completion.exp: Move TUI completion tests to ...
6630 * gdb.tui/completion.exp: ... this new file.
6631
6632 2017-03-08 Pedro Alves <palves@redhat.com>
6633
6634 * gdb.base/tui-disasm-long-lines.c,
6635 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6636 gdb.base/tui-layout.exp: Move to ...
6637 * gdb.tui/: ... this new directory.
6638
6639 2017-03-07 Pedro Alves <palves@redhat.com>
6640
6641 * gdb.base/tui-layout.c: New file.
6642 * gdb.base/tui-layout.exp: New file.
6643
6644 2017-03-07 Pedro Alves <palves@redhat.com>
6645
6646 * gdb.base/tui-layout.c: Rename to ...
6647 * gdb.base/tui-disasm-long-lines.c: ... this.
6648 * gdb.base/tui-layout.exp: Rename to ...
6649 * gdb.base/tui-disasm-long-lines.exp: ... this.
6650
6651 2017-03-07 Pedro Alves <palves@redhat.com>
6652
6653 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6654
6655 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6656
6657 * i386-mpx-call.c: New file.
6658 * i386-mpx-call.exp: New file.
6659
6660 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6661
6662 * gdb.arch/powerpc-power.exp: Delete test.
6663 * gdb.arch/powerpc-power.s: Likewise.
6664 * gdb.disasm/disassembler-options.exp: New test.
6665 * gdb.arch/powerpc-altivec.exp: Likewise.
6666 * gdb.arch/powerpc-altivec.s: Likewise.
6667 * gdb.arch/powerpc-altivec2.exp: Likewise.
6668 * gdb.arch/powerpc-altivec2.s: Likewise.
6669 * gdb.arch/powerpc-altivec3.exp: Likewise.
6670 * gdb.arch/powerpc-altivec3.s: Likewise.
6671 * gdb.arch/powerpc-power7.exp: Likewise.
6672 * gdb.arch/powerpc-power7.s: Likewise.
6673 * gdb.arch/powerpc-power8.exp: Likewise.
6674 * gdb.arch/powerpc-power8.s: Likewise.
6675 * gdb.arch/powerpc-power9.exp: Likewise.
6676 * gdb.arch/powerpc-power9.s: Likewise.
6677 * gdb.arch/powerpc-vsx.exp: Likewise.
6678 * gdb.arch/powerpc-vsx.s: Likewise.
6679 * gdb.arch/powerpc-vsx2.exp: Likewise.
6680 * gdb.arch/powerpc-vsx2.s: Likewise.
6681 * gdb.arch/powerpc-vsx3.exp: Likewise.
6682 * gdb.arch/powerpc-vsx3.s: Likewise.
6683 * gdb.arch/arm-disassembler-options.exp: Likewise.
6684 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6685 * gdb.arch/s390-disassembler-options.exp: Likewise.
6686
6687 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
6688
6689 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6690 (check_supported_features): ... this. Changed return type to void.
6691 (supports_rdseed): New static global.
6692 (rdseed): Check supports_rdseed.
6693 (initialize): Call check_supported_features.
6694
6695 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6696
6697 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6698 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6699 and lqarx/stqcx.
6700 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6701 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6702
6703 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6704
6705 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6706 uppercase.
6707
6708 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6709
6710 * gdb.dwarf2/formdata16.c: New file.
6711 * gdb.dwarf2/formdata16.exp: New file.
6712 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6713
6714 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6715
6716 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6717 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6718 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6719 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6720 DW_AT_GNU_*.
6721
6722 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6723
6724 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6725
6726 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6727
6728 PR gdb/21164
6729 * gdb.base/maint.exp: Add testcases for when the commands do
6730 not have arguments.
6731
6732 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6733
6734 * gdb.cp/chained-calls.exp: Use p instead of P.
6735
6736 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6737
6738 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6739 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6740
6741 2017-02-14 Tom Tromey <tom@tromey.com>
6742
6743 PR python/13598:
6744 * gdb.python/py-events.exp: Add before_prompt event tests.
6745
6746 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6747
6748 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6749
6750 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6751
6752 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6753 (main): Call my_unique_function_name.
6754 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6755 completion of patterns with a single match.
6756 Add missing -re switches to gdb_test_multiple calls.
6757
6758 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6759
6760 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6761 return if core file is not recognized.
6762
6763 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6764
6765 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6766 and extra UIs.
6767
6768 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6769
6770 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6771 proc_with_prefix.
6772
6773 2017-02-10 Tom Tromey <tom@tromey.com>
6774
6775 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6776
6777 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6778
6779 PR gdb/21122
6780 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6781
6782 2017-02-08 Jerome Guitton <guitton@adacore.com>
6783
6784 * gdb.base/define.exp: Add test for command abbreviations
6785 in define.
6786
6787 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6788
6789 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6790 * gdb.reverse/insn-reverse-x86.c: New file.
6791
6792 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6793
6794 PR tdep/20936
6795 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6796
6797 2017-02-03 Tom Tromey <tom@tromey.com>
6798
6799 PR rust/21097:
6800 * gdb.rust/simple.exp: Add new tests.
6801
6802 2017-02-02 Pedro Alves <palves@redhat.com>
6803
6804 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6805 tests.
6806
6807 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6808
6809 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6810 taking a 2-byte value out of a 4-byte DWARF implicit value on
6811 big-endian targets.
6812 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6813 logic. Add test cases for DW_OP_implicit.
6814
6815 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6816
6817 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6818
6819 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6820
6821 * gdb.btrace/enable.exp: Call gdb_exit before
6822 skip_gdbserver_tests.
6823
6824 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6825
6826 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6827 GDBFLAGS.
6828
6829 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6830
6831 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6832 the test is skipped.
6833 * gdb.btrace/data.exp: Likewise.
6834 * gdb.btrace/delta.exp: Likewise.
6835 * gdb.btrace/dlopen.exp: Likewise.
6836 * gdb.btrace/enable-running.exp: Likewise.
6837 * gdb.btrace/enable.exp: Likewise.
6838 * gdb.btrace/exception.exp: Likewise.
6839 * gdb.btrace/function_call_history.exp: Likewise.
6840 * gdb.btrace/gcore.exp: Likewise.
6841 * gdb.btrace/instruction_history.exp: Likewise.
6842 * gdb.btrace/multi-thread-step.exp: Likewise.
6843 * gdb.btrace/nohist.exp: Likewise.
6844 * gdb.btrace/non-stop.exp: Likewise.
6845 * gdb.btrace/reconnect.exp: Likewise.
6846 * gdb.btrace/record_goto-step.exp: Likewise.
6847 * gdb.btrace/record_goto.exp: Likewise.
6848 * gdb.btrace/rn-dl-bind.exp: Likewise.
6849 * gdb.btrace/segv.exp: Likewise.
6850 * gdb.btrace/step.exp: Likewise.
6851 * gdb.btrace/stepi.exp: Likewise.
6852 * gdb.btrace/tailcall-only.exp: Likewise.
6853 * gdb.btrace/tailcall.exp: Likewise.
6854 * gdb.btrace/tsx.exp: Likewise.
6855 * gdb.btrace/unknown_functions.exp: Likewise.
6856 * gdb.btrace/vdso.exp: Likewise.
6857
6858 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6859
6860 * gdb.btrace/enable-running.c: New.
6861 * gdb.btrace/enable-running.exp: New.
6862
6863 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6864
6865 * gdb.arch/amd64-gs_base.c: New file.
6866 * gdb.arch/amd64-gs_base.exp: New file.
6867
6868 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6869
6870 * lib/memory.exp: Remove spurious empty newlines.
6871
6872 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6873
6874 * gdb.python/py-bad-printers.exp: Load python file using "source".
6875 * gdb.python/py-events.exp: Likewise.
6876 * gdb.python/py-evsignal.exp: Likewise.
6877 * gdb.python/py-evthreads.exp: Likewise.
6878 * gdb.python/py-frame-args.exp: Likewise.
6879 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6880 * gdb.python/py-framefilter-mi.exp: Likewise.
6881 * gdb.python/py-framefilter.exp: Likewise.
6882 * gdb.python/py-mi.exp: Likewise.
6883 * gdb.python/py-pp-maint.exp: Likewise.
6884 * gdb.python/py-pp-registration.exp: Likewise.
6885 * gdb.python/py-prettyprint.exp: Likewise.
6886 (run_lang_tests): Likewise.
6887 * gdb.python/py-typeprint.exp: Likewise.
6888
6889 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6890
6891 * lib/memory.exp: New file.
6892 * lib/gdb.exp: Load memory.exp.
6893 * gdb.base/memattr.exp (delete_memory): Move proc to
6894 lib/memory.exp and rename to delete_memory_regions.
6895 Replace delete_memory with delete_memory_regions.
6896 Cleanup memory regions before tests.
6897 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6898 before tests.
6899
6900 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6901
6902 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6903 files.
6904 (initialize): New function conditionally defined.
6905 (testcases): Move within conditional block.
6906 (main): Call initialize.
6907 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6908 of gdb.reverse/insn-reverse.c.
6909 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6910 gdb.reverse/insn-reverse.c.
6911
6912 2017-01-26 Yao Qi <yao.qi@linaro.org>
6913
6914 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6915 disassemble on address 0.
6916
6917 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6918 Yao Qi <yao.qi@linaro.org>
6919
6920 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6921 * gdb.dwarf2/implptr-64bit.S: Remove.
6922 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6923 variables in caller's context. Add DW_OP_implicit_value.
6924
6925 2017-01-25 Yao Qi <yao.qi@linaro.org>
6926
6927 * lib/dwarf.exp (Dwarf::_location): Handle
6928 DW_OP_GNU_implicit_pointer with proper size.
6929
6930 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6931
6932 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6933 and add untested calls.
6934
6935 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6936
6937 * gdb.python/python.exp: Check line number against what GDB thinks
6938 the line number is for func1.
6939
6940 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6941
6942 * gdb.dlang/debug-expr.exp: New file.
6943
6944 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
6945
6946 Fix test names for the following files:
6947
6948 * gdb.ada/exec_changed.exp
6949 * gdb.ada/info_types.exp
6950 * gdb.arch/aarch64-atomic-inst.exp
6951 * gdb.arch/aarch64-fp.exp
6952 * gdb.arch/altivec-abi.exp
6953 * gdb.arch/altivec-regs.exp
6954 * gdb.arch/amd64-byte.exp
6955 * gdb.arch/amd64-disp-step.exp
6956 * gdb.arch/amd64-dword.exp
6957 * gdb.arch/amd64-entry-value-inline.exp
6958 * gdb.arch/amd64-entry-value-param.exp
6959 * gdb.arch/amd64-entry-value-paramref.exp
6960 * gdb.arch/amd64-entry-value.exp
6961 * gdb.arch/amd64-i386-address.exp
6962 * gdb.arch/amd64-invalid-stack-middle.exp
6963 * gdb.arch/amd64-invalid-stack-top.exp
6964 * gdb.arch/amd64-optimout-repeat.exp
6965 * gdb.arch/amd64-prologue-skip.exp
6966 * gdb.arch/amd64-prologue-xmm.exp
6967 * gdb.arch/amd64-stap-special-operands.exp
6968 * gdb.arch/amd64-stap-wrong-subexp.exp
6969 * gdb.arch/amd64-tailcall-cxx.exp
6970 * gdb.arch/amd64-tailcall-noret.exp
6971 * gdb.arch/amd64-tailcall-ret.exp
6972 * gdb.arch/amd64-tailcall-self.exp
6973 * gdb.arch/amd64-word.exp
6974 * gdb.arch/arm-bl-branch-dest.exp
6975 * gdb.arch/arm-disp-step.exp
6976 * gdb.arch/arm-neon.exp
6977 * gdb.arch/arm-single-step-kernel-helper.exp
6978 * gdb.arch/avr-flash-qualifier.exp
6979 * gdb.arch/disp-step-insn-reloc.exp
6980 * gdb.arch/e500-abi.exp
6981 * gdb.arch/e500-regs.exp
6982 * gdb.arch/ftrace-insn-reloc.exp
6983 * gdb.arch/i386-avx512.exp
6984 * gdb.arch/i386-bp_permanent.exp
6985 * gdb.arch/i386-byte.exp
6986 * gdb.arch/i386-cfi-notcurrent.exp
6987 * gdb.arch/i386-disp-step.exp
6988 * gdb.arch/i386-dr3-watch.exp
6989 * gdb.arch/i386-float.exp
6990 * gdb.arch/i386-gnu-cfi.exp
6991 * gdb.arch/i386-mpx-map.exp
6992 * gdb.arch/i386-mpx-sigsegv.exp
6993 * gdb.arch/i386-mpx-simple_segv.exp
6994 * gdb.arch/i386-mpx.exp
6995 * gdb.arch/i386-permbkpt.exp
6996 * gdb.arch/i386-prologue.exp
6997 * gdb.arch/i386-signal.exp
6998 * gdb.arch/i386-size-overlap.exp
6999 * gdb.arch/i386-unwind.exp
7000 * gdb.arch/i386-word.exp
7001 * gdb.arch/mips-fcr.exp
7002 * gdb.arch/powerpc-d128-regs.exp
7003 * gdb.arch/powerpc-stackless.exp
7004 * gdb.arch/ppc64-atomic-inst.exp
7005 * gdb.arch/s390-stackless.exp
7006 * gdb.arch/s390-tdbregs.exp
7007 * gdb.arch/s390-vregs.exp
7008 * gdb.arch/sparc-sysstep.exp
7009 * gdb.arch/thumb-bx-pc.exp
7010 * gdb.arch/thumb-singlestep.exp
7011 * gdb.arch/thumb2-it.exp
7012 * gdb.arch/vsx-regs.exp
7013 * gdb.asm/asm-source.exp
7014 * gdb.base/a2-run.exp
7015 * gdb.base/advance.exp
7016 * gdb.base/all-bin.exp
7017 * gdb.base/anon.exp
7018 * gdb.base/args.exp
7019 * gdb.base/arithmet.exp
7020 * gdb.base/async-shell.exp
7021 * gdb.base/async.exp
7022 * gdb.base/attach-pie-noexec.exp
7023 * gdb.base/attach-twice.exp
7024 * gdb.base/auto-load.exp
7025 * gdb.base/bang.exp
7026 * gdb.base/bitfields.exp
7027 * gdb.base/break-always.exp
7028 * gdb.base/break-caller-line.exp
7029 * gdb.base/break-entry.exp
7030 * gdb.base/break-inline.exp
7031 * gdb.base/break-on-linker-gcd-function.exp
7032 * gdb.base/break-probes.exp
7033 * gdb.base/break.exp
7034 * gdb.base/breakpoint-shadow.exp
7035 * gdb.base/call-ar-st.exp
7036 * gdb.base/call-sc.exp
7037 * gdb.base/call-signal-resume.exp
7038 * gdb.base/call-strs.exp
7039 * gdb.base/callfuncs.exp
7040 * gdb.base/catch-fork-static.exp
7041 * gdb.base/catch-gdb-caused-signals.exp
7042 * gdb.base/catch-load.exp
7043 * gdb.base/catch-signal-fork.exp
7044 * gdb.base/catch-signal.exp
7045 * gdb.base/catch-syscall.exp
7046 * gdb.base/charset.exp
7047 * gdb.base/checkpoint.exp
7048 * gdb.base/chng-syms.exp
7049 * gdb.base/code-expr.exp
7050 * gdb.base/code_elim.exp
7051 * gdb.base/commands.exp
7052 * gdb.base/completion.exp
7053 * gdb.base/complex.exp
7054 * gdb.base/cond-expr.exp
7055 * gdb.base/condbreak.exp
7056 * gdb.base/consecutive.exp
7057 * gdb.base/continue-all-already-running.exp
7058 * gdb.base/coredump-filter.exp
7059 * gdb.base/corefile.exp
7060 * gdb.base/dbx.exp
7061 * gdb.base/debug-expr.exp
7062 * gdb.base/define.exp
7063 * gdb.base/del.exp
7064 * gdb.base/disabled-location.exp
7065 * gdb.base/disasm-end-cu.exp
7066 * gdb.base/disasm-optim.exp
7067 * gdb.base/display.exp
7068 * gdb.base/duplicate-bp.exp
7069 * gdb.base/ena-dis-br.exp
7070 * gdb.base/ending-run.exp
7071 * gdb.base/enumval.exp
7072 * gdb.base/environ.exp
7073 * gdb.base/eu-strip-infcall.exp
7074 * gdb.base/eval-avoid-side-effects.exp
7075 * gdb.base/eval-skip.exp
7076 * gdb.base/exitsignal.exp
7077 * gdb.base/expand-psymtabs.exp
7078 * gdb.base/filesym.exp
7079 * gdb.base/find-unmapped.exp
7080 * gdb.base/finish.exp
7081 * gdb.base/float.exp
7082 * gdb.base/foll-exec-mode.exp
7083 * gdb.base/foll-exec.exp
7084 * gdb.base/foll-fork.exp
7085 * gdb.base/fortran-sym-case.exp
7086 * gdb.base/freebpcmd.exp
7087 * gdb.base/func-ptr.exp
7088 * gdb.base/func-ptrs.exp
7089 * gdb.base/funcargs.exp
7090 * gdb.base/gcore-buffer-overflow.exp
7091 * gdb.base/gcore-relro-pie.exp
7092 * gdb.base/gcore-relro.exp
7093 * gdb.base/gcore.exp
7094 * gdb.base/gdb1090.exp
7095 * gdb.base/gdb11530.exp
7096 * gdb.base/gdb11531.exp
7097 * gdb.base/gdb1821.exp
7098 * gdb.base/gdbindex-stabs.exp
7099 * gdb.base/gdbvars.exp
7100 * gdb.base/hbreak.exp
7101 * gdb.base/hbreak2.exp
7102 * gdb.base/included.exp
7103 * gdb.base/infcall-input.exp
7104 * gdb.base/inferior-died.exp
7105 * gdb.base/infnan.exp
7106 * gdb.base/info-macros.exp
7107 * gdb.base/info-os.exp
7108 * gdb.base/info-proc.exp
7109 * gdb.base/info-shared.exp
7110 * gdb.base/info-target.exp
7111 * gdb.base/infoline.exp
7112 * gdb.base/interp.exp
7113 * gdb.base/interrupt.exp
7114 * gdb.base/jit-reader.exp
7115 * gdb.base/jit-simple.exp
7116 * gdb.base/kill-after-signal.exp
7117 * gdb.base/kill-detach-inferiors-cmd.exp
7118 * gdb.base/label.exp
7119 * gdb.base/langs.exp
7120 * gdb.base/ldbl_e308.exp
7121 * gdb.base/line-symtabs.exp
7122 * gdb.base/linespecs.exp
7123 * gdb.base/list.exp
7124 * gdb.base/long_long.exp
7125 * gdb.base/longest-types.exp
7126 * gdb.base/maint.exp
7127 * gdb.base/max-value-size.exp
7128 * gdb.base/memattr.exp
7129 * gdb.base/mips_pro.exp
7130 * gdb.base/morestack.exp
7131 * gdb.base/moribund-step.exp
7132 * gdb.base/multi-forks.exp
7133 * gdb.base/nested-addr.exp
7134 * gdb.base/nextoverexit.exp
7135 * gdb.base/noreturn-finish.exp
7136 * gdb.base/noreturn-return.exp
7137 * gdb.base/nostdlib.exp
7138 * gdb.base/offsets.exp
7139 * gdb.base/opaque.exp
7140 * gdb.base/pc-fp.exp
7141 * gdb.base/permissions.exp
7142 * gdb.base/print-symbol-loading.exp
7143 * gdb.base/prologue-include.exp
7144 * gdb.base/psymtab.exp
7145 * gdb.base/ptype.exp
7146 * gdb.base/random-signal.exp
7147 * gdb.base/randomize.exp
7148 * gdb.base/range-stepping.exp
7149 * gdb.base/readline-ask.exp
7150 * gdb.base/recpar.exp
7151 * gdb.base/recurse.exp
7152 * gdb.base/relational.exp
7153 * gdb.base/restore.exp
7154 * gdb.base/return-nodebug.exp
7155 * gdb.base/return.exp
7156 * gdb.base/run-after-attach.exp
7157 * gdb.base/save-bp.exp
7158 * gdb.base/scope.exp
7159 * gdb.base/sect-cmd.exp
7160 * gdb.base/set-lang-auto.exp
7161 * gdb.base/set-noassign.exp
7162 * gdb.base/setvar.exp
7163 * gdb.base/sigall.exp
7164 * gdb.base/sigbpt.exp
7165 * gdb.base/siginfo-addr.exp
7166 * gdb.base/siginfo-infcall.exp
7167 * gdb.base/siginfo-obj.exp
7168 * gdb.base/siginfo.exp
7169 * gdb.base/signals-state-child.exp
7170 * gdb.base/signest.exp
7171 * gdb.base/sigstep.exp
7172 * gdb.base/sizeof.exp
7173 * gdb.base/skip.exp
7174 * gdb.base/solib-corrupted.exp
7175 * gdb.base/solib-nodir.exp
7176 * gdb.base/solib-search.exp
7177 * gdb.base/stack-checking.exp
7178 * gdb.base/stale-infcall.exp
7179 * gdb.base/stap-probe.exp
7180 * gdb.base/start.exp
7181 * gdb.base/step-break.exp
7182 * gdb.base/step-bt.exp
7183 * gdb.base/step-line.exp
7184 * gdb.base/step-over-exit.exp
7185 * gdb.base/step-over-syscall.exp
7186 * gdb.base/step-resume-infcall.exp
7187 * gdb.base/step-test.exp
7188 * gdb.base/store.exp
7189 * gdb.base/structs3.exp
7190 * gdb.base/sym-file.exp
7191 * gdb.base/symbol-without-target_section.exp
7192 * gdb.base/term.exp
7193 * gdb.base/testenv.exp
7194 * gdb.base/ui-redirect.exp
7195 * gdb.base/until.exp
7196 * gdb.base/unwindonsignal.exp
7197 * gdb.base/value-double-free.exp
7198 * gdb.base/vla-datatypes.exp
7199 * gdb.base/vla-ptr.exp
7200 * gdb.base/vla-sideeffect.exp
7201 * gdb.base/volatile.exp
7202 * gdb.base/watch-cond-infcall.exp
7203 * gdb.base/watch-cond.exp
7204 * gdb.base/watch-non-mem.exp
7205 * gdb.base/watch-read.exp
7206 * gdb.base/watch-vfork.exp
7207 * gdb.base/watchpoint-cond-gone.exp
7208 * gdb.base/watchpoint-delete.exp
7209 * gdb.base/watchpoint-hw-hit-once.exp
7210 * gdb.base/watchpoint-hw.exp
7211 * gdb.base/watchpoint-stops-at-right-insn.exp
7212 * gdb.base/watchpoints.exp
7213 * gdb.base/wchar.exp
7214 * gdb.base/whatis-exp.exp
7215 * gdb.btrace/buffer-size.exp
7216 * gdb.btrace/data.exp
7217 * gdb.btrace/delta.exp
7218 * gdb.btrace/dlopen.exp
7219 * gdb.btrace/enable.exp
7220 * gdb.btrace/exception.exp
7221 * gdb.btrace/function_call_history.exp
7222 * gdb.btrace/gcore.exp
7223 * gdb.btrace/instruction_history.exp
7224 * gdb.btrace/nohist.exp
7225 * gdb.btrace/reconnect.exp
7226 * gdb.btrace/record_goto-step.exp
7227 * gdb.btrace/record_goto.exp
7228 * gdb.btrace/rn-dl-bind.exp
7229 * gdb.btrace/segv.exp
7230 * gdb.btrace/step.exp
7231 * gdb.btrace/stepi.exp
7232 * gdb.btrace/tailcall-only.exp
7233 * gdb.btrace/tailcall.exp
7234 * gdb.btrace/tsx.exp
7235 * gdb.btrace/unknown_functions.exp
7236 * gdb.btrace/vdso.exp
7237 * gdb.compile/compile-ifunc.exp
7238 * gdb.compile/compile-ops.exp
7239 * gdb.compile/compile-print.exp
7240 * gdb.compile/compile-setjmp.exp
7241 * gdb.cp/abstract-origin.exp
7242 * gdb.cp/ambiguous.exp
7243 * gdb.cp/annota2.exp
7244 * gdb.cp/annota3.exp
7245 * gdb.cp/anon-ns.exp
7246 * gdb.cp/anon-struct.exp
7247 * gdb.cp/anon-union.exp
7248 * gdb.cp/arg-reference.exp
7249 * gdb.cp/baseenum.exp
7250 * gdb.cp/bool.exp
7251 * gdb.cp/breakpoint.exp
7252 * gdb.cp/bs15503.exp
7253 * gdb.cp/call-c.exp
7254 * gdb.cp/casts.exp
7255 * gdb.cp/chained-calls.exp
7256 * gdb.cp/class2.exp
7257 * gdb.cp/classes.exp
7258 * gdb.cp/cmpd-minsyms.exp
7259 * gdb.cp/converts.exp
7260 * gdb.cp/cp-relocate.exp
7261 * gdb.cp/cpcompletion.exp
7262 * gdb.cp/cpexprs.exp
7263 * gdb.cp/cplabel.exp
7264 * gdb.cp/cplusfuncs.exp
7265 * gdb.cp/cpsizeof.exp
7266 * gdb.cp/ctti.exp
7267 * gdb.cp/derivation.exp
7268 * gdb.cp/destrprint.exp
7269 * gdb.cp/dispcxx.exp
7270 * gdb.cp/enum-class.exp
7271 * gdb.cp/exception.exp
7272 * gdb.cp/exceptprint.exp
7273 * gdb.cp/expand-psymtabs-cxx.exp
7274 * gdb.cp/expand-sals.exp
7275 * gdb.cp/extern-c.exp
7276 * gdb.cp/filename.exp
7277 * gdb.cp/formatted-ref.exp
7278 * gdb.cp/fpointer.exp
7279 * gdb.cp/gdb1355.exp
7280 * gdb.cp/gdb2495.exp
7281 * gdb.cp/hang.exp
7282 * gdb.cp/impl-this.exp
7283 * gdb.cp/infcall-dlopen.exp
7284 * gdb.cp/inherit.exp
7285 * gdb.cp/iostream.exp
7286 * gdb.cp/koenig.exp
7287 * gdb.cp/local.exp
7288 * gdb.cp/m-data.exp
7289 * gdb.cp/m-static.exp
7290 * gdb.cp/mb-ctor.exp
7291 * gdb.cp/mb-inline.exp
7292 * gdb.cp/mb-templates.exp
7293 * gdb.cp/member-name.exp
7294 * gdb.cp/member-ptr.exp
7295 * gdb.cp/meth-typedefs.exp
7296 * gdb.cp/method.exp
7297 * gdb.cp/method2.exp
7298 * gdb.cp/minsym-fallback.exp
7299 * gdb.cp/misc.exp
7300 * gdb.cp/namelessclass.exp
7301 * gdb.cp/namespace-enum.exp
7302 * gdb.cp/namespace-nested-import.exp
7303 * gdb.cp/namespace.exp
7304 * gdb.cp/nextoverthrow.exp
7305 * gdb.cp/no-dmgl-verbose.exp
7306 * gdb.cp/non-trivial-retval.exp
7307 * gdb.cp/noparam.exp
7308 * gdb.cp/nsdecl.exp
7309 * gdb.cp/nsimport.exp
7310 * gdb.cp/nsnested.exp
7311 * gdb.cp/nsnoimports.exp
7312 * gdb.cp/nsrecurs.exp
7313 * gdb.cp/nsstress.exp
7314 * gdb.cp/nsusing.exp
7315 * gdb.cp/operator.exp
7316 * gdb.cp/oranking.exp
7317 * gdb.cp/overload-const.exp
7318 * gdb.cp/overload.exp
7319 * gdb.cp/ovldbreak.exp
7320 * gdb.cp/ovsrch.exp
7321 * gdb.cp/paren-type.exp
7322 * gdb.cp/parse-lang.exp
7323 * gdb.cp/pass-by-ref.exp
7324 * gdb.cp/pr-1023.exp
7325 * gdb.cp/pr-1210.exp
7326 * gdb.cp/pr-574.exp
7327 * gdb.cp/pr10687.exp
7328 * gdb.cp/pr12028.exp
7329 * gdb.cp/pr17132.exp
7330 * gdb.cp/pr17494.exp
7331 * gdb.cp/pr9067.exp
7332 * gdb.cp/pr9167.exp
7333 * gdb.cp/pr9631.exp
7334 * gdb.cp/printmethod.exp
7335 * gdb.cp/psmang.exp
7336 * gdb.cp/psymtab-parameter.exp
7337 * gdb.cp/ptype-cv-cp.exp
7338 * gdb.cp/ptype-flags.exp
7339 * gdb.cp/re-set-overloaded.exp
7340 * gdb.cp/ref-types.exp
7341 * gdb.cp/rtti.exp
7342 * gdb.cp/scope-err.exp
7343 * gdb.cp/shadow.exp
7344 * gdb.cp/smartp.exp
7345 * gdb.cp/static-method.exp
7346 * gdb.cp/static-print-quit.exp
7347 * gdb.cp/temargs.exp
7348 * gdb.cp/templates.exp
7349 * gdb.cp/try_catch.exp
7350 * gdb.cp/typedef-operator.exp
7351 * gdb.cp/typeid.exp
7352 * gdb.cp/userdef.exp
7353 * gdb.cp/using-crash.exp
7354 * gdb.cp/var-tag.exp
7355 * gdb.cp/virtbase.exp
7356 * gdb.cp/virtfunc.exp
7357 * gdb.cp/virtfunc2.exp
7358 * gdb.cp/vla-cxx.exp
7359 * gdb.disasm/t01_mov.exp
7360 * gdb.disasm/t02_mova.exp
7361 * gdb.disasm/t03_add.exp
7362 * gdb.disasm/t04_sub.exp
7363 * gdb.disasm/t05_cmp.exp
7364 * gdb.disasm/t06_ari2.exp
7365 * gdb.disasm/t07_ari3.exp
7366 * gdb.disasm/t08_or.exp
7367 * gdb.disasm/t09_xor.exp
7368 * gdb.disasm/t10_and.exp
7369 * gdb.disasm/t11_logs.exp
7370 * gdb.disasm/t12_bit.exp
7371 * gdb.disasm/t13_otr.exp
7372 * gdb.dlang/circular.exp
7373 * gdb.dwarf2/arr-stride.exp
7374 * gdb.dwarf2/arr-subrange.exp
7375 * gdb.dwarf2/atomic-type.exp
7376 * gdb.dwarf2/bad-regnum.exp
7377 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7378 * gdb.dwarf2/callframecfa.exp
7379 * gdb.dwarf2/clztest.exp
7380 * gdb.dwarf2/corrupt.exp
7381 * gdb.dwarf2/data-loc.exp
7382 * gdb.dwarf2/dup-psym.exp
7383 * gdb.dwarf2/dw2-anon-mptr.exp
7384 * gdb.dwarf2/dw2-anonymous-func.exp
7385 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7386 * gdb.dwarf2/dw2-bad-unresolved.exp
7387 * gdb.dwarf2/dw2-basic.exp
7388 * gdb.dwarf2/dw2-canonicalize-type.exp
7389 * gdb.dwarf2/dw2-case-insensitive.exp
7390 * gdb.dwarf2/dw2-common-block.exp
7391 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7392 * gdb.dwarf2/dw2-compressed.exp
7393 * gdb.dwarf2/dw2-const.exp
7394 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7395 * gdb.dwarf2/dw2-cu-size.exp
7396 * gdb.dwarf2/dw2-dup-frame.exp
7397 * gdb.dwarf2/dw2-entry-value.exp
7398 * gdb.dwarf2/dw2-icycle.exp
7399 * gdb.dwarf2/dw2-ifort-parameter.exp
7400 * gdb.dwarf2/dw2-inline-break.exp
7401 * gdb.dwarf2/dw2-inline-param.exp
7402 * gdb.dwarf2/dw2-intercu.exp
7403 * gdb.dwarf2/dw2-intermix.exp
7404 * gdb.dwarf2/dw2-lexical-block-bare.exp
7405 * gdb.dwarf2/dw2-linkage-name-trust.exp
7406 * gdb.dwarf2/dw2-minsym-in-cu.exp
7407 * gdb.dwarf2/dw2-noloc.exp
7408 * gdb.dwarf2/dw2-op-call.exp
7409 * gdb.dwarf2/dw2-op-out-param.exp
7410 * gdb.dwarf2/dw2-opt-structptr.exp
7411 * gdb.dwarf2/dw2-param-error.exp
7412 * gdb.dwarf2/dw2-producer.exp
7413 * gdb.dwarf2/dw2-ranges-base.exp
7414 * gdb.dwarf2/dw2-ref-missing-frame.exp
7415 * gdb.dwarf2/dw2-reg-undefined.exp
7416 * gdb.dwarf2/dw2-regno-invalid.exp
7417 * gdb.dwarf2/dw2-restore.exp
7418 * gdb.dwarf2/dw2-restrict.exp
7419 * gdb.dwarf2/dw2-single-line-discriminators.exp
7420 * gdb.dwarf2/dw2-strp.exp
7421 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7422 * gdb.dwarf2/dw2-unresolved.exp
7423 * gdb.dwarf2/dw2-var-zero-addr.exp
7424 * gdb.dwarf2/dw4-sig-types.exp
7425 * gdb.dwarf2/dwz.exp
7426 * gdb.dwarf2/dynarr-ptr.exp
7427 * gdb.dwarf2/enum-type.exp
7428 * gdb.dwarf2/gdb-index.exp
7429 * gdb.dwarf2/implptr-64bit.exp
7430 * gdb.dwarf2/implptr-optimized-out.exp
7431 * gdb.dwarf2/implptr.exp
7432 * gdb.dwarf2/implref-array.exp
7433 * gdb.dwarf2/implref-const.exp
7434 * gdb.dwarf2/implref-global.exp
7435 * gdb.dwarf2/implref-struct.exp
7436 * gdb.dwarf2/mac-fileno.exp
7437 * gdb.dwarf2/main-subprogram.exp
7438 * gdb.dwarf2/member-ptr-forwardref.exp
7439 * gdb.dwarf2/method-ptr.exp
7440 * gdb.dwarf2/missing-sig-type.exp
7441 * gdb.dwarf2/nonvar-access.exp
7442 * gdb.dwarf2/opaque-type-lookup.exp
7443 * gdb.dwarf2/pieces-optimized-out.exp
7444 * gdb.dwarf2/pieces.exp
7445 * gdb.dwarf2/pr10770.exp
7446 * gdb.dwarf2/pr13961.exp
7447 * gdb.dwarf2/staticvirtual.exp
7448 * gdb.dwarf2/subrange.exp
7449 * gdb.dwarf2/symtab-producer.exp
7450 * gdb.dwarf2/trace-crash.exp
7451 * gdb.dwarf2/typeddwarf.exp
7452 * gdb.dwarf2/valop.exp
7453 * gdb.dwarf2/watch-notconst.exp
7454 * gdb.fortran/array-element.exp
7455 * gdb.fortran/charset.exp
7456 * gdb.fortran/common-block.exp
7457 * gdb.fortran/complex.exp
7458 * gdb.fortran/derived-type-function.exp
7459 * gdb.fortran/derived-type.exp
7460 * gdb.fortran/logical.exp
7461 * gdb.fortran/module.exp
7462 * gdb.fortran/multi-dim.exp
7463 * gdb.fortran/nested-funcs.exp
7464 * gdb.fortran/print-formatted.exp
7465 * gdb.fortran/subarray.exp
7466 * gdb.fortran/vla-alloc-assoc.exp
7467 * gdb.fortran/vla-datatypes.exp
7468 * gdb.fortran/vla-history.exp
7469 * gdb.fortran/vla-ptr-info.exp
7470 * gdb.fortran/vla-ptype-sub.exp
7471 * gdb.fortran/vla-ptype.exp
7472 * gdb.fortran/vla-sizeof.exp
7473 * gdb.fortran/vla-type.exp
7474 * gdb.fortran/vla-value-sub-arbitrary.exp
7475 * gdb.fortran/vla-value-sub-finish.exp
7476 * gdb.fortran/vla-value-sub.exp
7477 * gdb.fortran/vla-value.exp
7478 * gdb.fortran/whatis_type.exp
7479 * gdb.go/chan.exp
7480 * gdb.go/handcall.exp
7481 * gdb.go/hello.exp
7482 * gdb.go/integers.exp
7483 * gdb.go/methods.exp
7484 * gdb.go/package.exp
7485 * gdb.go/strings.exp
7486 * gdb.go/types.exp
7487 * gdb.go/unsafe.exp
7488 * gdb.guile/scm-arch.exp
7489 * gdb.guile/scm-block.exp
7490 * gdb.guile/scm-breakpoint.exp
7491 * gdb.guile/scm-cmd.exp
7492 * gdb.guile/scm-disasm.exp
7493 * gdb.guile/scm-equal.exp
7494 * gdb.guile/scm-frame-args.exp
7495 * gdb.guile/scm-frame-inline.exp
7496 * gdb.guile/scm-frame.exp
7497 * gdb.guile/scm-iterator.exp
7498 * gdb.guile/scm-math.exp
7499 * gdb.guile/scm-objfile.exp
7500 * gdb.guile/scm-ports.exp
7501 * gdb.guile/scm-symbol.exp
7502 * gdb.guile/scm-symtab.exp
7503 * gdb.guile/scm-value-cc.exp
7504 * gdb.guile/types-module.exp
7505 * gdb.linespec/break-ask.exp
7506 * gdb.linespec/cpexplicit.exp
7507 * gdb.linespec/explicit.exp
7508 * gdb.linespec/keywords.exp
7509 * gdb.linespec/linespec.exp
7510 * gdb.linespec/ls-dollar.exp
7511 * gdb.linespec/ls-errs.exp
7512 * gdb.linespec/skip-two.exp
7513 * gdb.linespec/thread.exp
7514 * gdb.mi/mi-async.exp
7515 * gdb.mi/mi-basics.exp
7516 * gdb.mi/mi-break.exp
7517 * gdb.mi/mi-catch-load.exp
7518 * gdb.mi/mi-cli.exp
7519 * gdb.mi/mi-cmd-param-changed.exp
7520 * gdb.mi/mi-console.exp
7521 * gdb.mi/mi-detach.exp
7522 * gdb.mi/mi-disassemble.exp
7523 * gdb.mi/mi-eval.exp
7524 * gdb.mi/mi-file-transfer.exp
7525 * gdb.mi/mi-file.exp
7526 * gdb.mi/mi-fill-memory.exp
7527 * gdb.mi/mi-inheritance-syntax-error.exp
7528 * gdb.mi/mi-linespec-err-cp.exp
7529 * gdb.mi/mi-logging.exp
7530 * gdb.mi/mi-memory-changed.exp
7531 * gdb.mi/mi-read-memory.exp
7532 * gdb.mi/mi-record-changed.exp
7533 * gdb.mi/mi-reg-undefined.exp
7534 * gdb.mi/mi-regs.exp
7535 * gdb.mi/mi-return.exp
7536 * gdb.mi/mi-reverse.exp
7537 * gdb.mi/mi-simplerun.exp
7538 * gdb.mi/mi-solib.exp
7539 * gdb.mi/mi-stack.exp
7540 * gdb.mi/mi-stepi.exp
7541 * gdb.mi/mi-syn-frame.exp
7542 * gdb.mi/mi-until.exp
7543 * gdb.mi/mi-var-block.exp
7544 * gdb.mi/mi-var-child.exp
7545 * gdb.mi/mi-var-cmd.exp
7546 * gdb.mi/mi-var-cp.exp
7547 * gdb.mi/mi-var-display.exp
7548 * gdb.mi/mi-var-invalidate.exp
7549 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7550 * gdb.mi/mi-vla-fortran.exp
7551 * gdb.mi/mi-watch.exp
7552 * gdb.mi/mi2-var-child.exp
7553 * gdb.mi/user-selected-context-sync.exp
7554 * gdb.modula2/unbounded-array.exp
7555 * gdb.multi/dummy-frame-restore.exp
7556 * gdb.multi/multi-arch-exec.exp
7557 * gdb.multi/multi-arch.exp
7558 * gdb.multi/tids.exp
7559 * gdb.multi/watchpoint-multi.exp
7560 * gdb.opencl/callfuncs.exp
7561 * gdb.opencl/convs_casts.exp
7562 * gdb.opencl/datatypes.exp
7563 * gdb.opencl/operators.exp
7564 * gdb.opencl/vec_comps.exp
7565 * gdb.opt/clobbered-registers-O2.exp
7566 * gdb.opt/inline-break.exp
7567 * gdb.opt/inline-bt.exp
7568 * gdb.opt/inline-cmds.exp
7569 * gdb.opt/inline-locals.exp
7570 * gdb.pascal/case-insensitive-symbols.exp
7571 * gdb.pascal/floats.exp
7572 * gdb.pascal/gdb11492.exp
7573 * gdb.python/lib-types.exp
7574 * gdb.python/py-arch.exp
7575 * gdb.python/py-as-string.exp
7576 * gdb.python/py-bad-printers.exp
7577 * gdb.python/py-block.exp
7578 * gdb.python/py-breakpoint-create-fail.exp
7579 * gdb.python/py-breakpoint.exp
7580 * gdb.python/py-caller-is.exp
7581 * gdb.python/py-cmd.exp
7582 * gdb.python/py-explore-cc.exp
7583 * gdb.python/py-explore.exp
7584 * gdb.python/py-finish-breakpoint.exp
7585 * gdb.python/py-finish-breakpoint2.exp
7586 * gdb.python/py-frame-args.exp
7587 * gdb.python/py-frame-inline.exp
7588 * gdb.python/py-frame.exp
7589 * gdb.python/py-framefilter-mi.exp
7590 * gdb.python/py-infthread.exp
7591 * gdb.python/py-lazy-string.exp
7592 * gdb.python/py-linetable.exp
7593 * gdb.python/py-mi-events.exp
7594 * gdb.python/py-mi-objfile.exp
7595 * gdb.python/py-mi.exp
7596 * gdb.python/py-objfile.exp
7597 * gdb.python/py-pp-integral.exp
7598 * gdb.python/py-pp-maint.exp
7599 * gdb.python/py-pp-re-notag.exp
7600 * gdb.python/py-pp-registration.exp
7601 * gdb.python/py-recurse-unwind.exp
7602 * gdb.python/py-strfns.exp
7603 * gdb.python/py-symbol.exp
7604 * gdb.python/py-symtab.exp
7605 * gdb.python/py-sync-interp.exp
7606 * gdb.python/py-typeprint.exp
7607 * gdb.python/py-unwind-maint.exp
7608 * gdb.python/py-unwind.exp
7609 * gdb.python/py-value-cc.exp
7610 * gdb.python/py-xmethods.exp
7611 * gdb.reverse/amd64-tailcall-reverse.exp
7612 * gdb.reverse/break-precsave.exp
7613 * gdb.reverse/break-reverse.exp
7614 * gdb.reverse/consecutive-precsave.exp
7615 * gdb.reverse/consecutive-reverse.exp
7616 * gdb.reverse/finish-precsave.exp
7617 * gdb.reverse/finish-reverse-bkpt.exp
7618 * gdb.reverse/finish-reverse.exp
7619 * gdb.reverse/fstatat-reverse.exp
7620 * gdb.reverse/getresuid-reverse.exp
7621 * gdb.reverse/i386-precsave.exp
7622 * gdb.reverse/i386-reverse.exp
7623 * gdb.reverse/i386-sse-reverse.exp
7624 * gdb.reverse/i387-env-reverse.exp
7625 * gdb.reverse/i387-stack-reverse.exp
7626 * gdb.reverse/insn-reverse.exp
7627 * gdb.reverse/machinestate-precsave.exp
7628 * gdb.reverse/machinestate.exp
7629 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7630 * gdb.reverse/pipe-reverse.exp
7631 * gdb.reverse/readv-reverse.exp
7632 * gdb.reverse/recvmsg-reverse.exp
7633 * gdb.reverse/rerun-prec.exp
7634 * gdb.reverse/s390-mvcle.exp
7635 * gdb.reverse/step-precsave.exp
7636 * gdb.reverse/step-reverse.exp
7637 * gdb.reverse/time-reverse.exp
7638 * gdb.reverse/until-precsave.exp
7639 * gdb.reverse/until-reverse.exp
7640 * gdb.reverse/waitpid-reverse.exp
7641 * gdb.reverse/watch-precsave.exp
7642 * gdb.reverse/watch-reverse.exp
7643 * gdb.rust/generics.exp
7644 * gdb.rust/methods.exp
7645 * gdb.rust/modules.exp
7646 * gdb.rust/simple.exp
7647 * gdb.server/connect-with-no-symbol-file.exp
7648 * gdb.server/ext-attach.exp
7649 * gdb.server/ext-restart.exp
7650 * gdb.server/ext-wrapper.exp
7651 * gdb.server/file-transfer.exp
7652 * gdb.server/server-exec-info.exp
7653 * gdb.server/server-kill.exp
7654 * gdb.server/server-mon.exp
7655 * gdb.server/wrapper.exp
7656 * gdb.stabs/exclfwd.exp
7657 * gdb.stabs/gdb11479.exp
7658 * gdb.threads/clone-new-thread-event.exp
7659 * gdb.threads/corethreads.exp
7660 * gdb.threads/current-lwp-dead.exp
7661 * gdb.threads/dlopen-libpthread.exp
7662 * gdb.threads/gcore-thread.exp
7663 * gdb.threads/sigstep-threads.exp
7664 * gdb.threads/watchpoint-fork.exp
7665 * gdb.trace/actions-changed.exp
7666 * gdb.trace/backtrace.exp
7667 * gdb.trace/change-loc.exp
7668 * gdb.trace/circ.exp
7669 * gdb.trace/collection.exp
7670 * gdb.trace/disconnected-tracing.exp
7671 * gdb.trace/ftrace.exp
7672 * gdb.trace/mi-trace-frame-collected.exp
7673 * gdb.trace/mi-trace-unavailable.exp
7674 * gdb.trace/mi-traceframe-changed.exp
7675 * gdb.trace/mi-tsv-changed.exp
7676 * gdb.trace/no-attach-trace.exp
7677 * gdb.trace/passc-dyn.exp
7678 * gdb.trace/qtro.exp
7679 * gdb.trace/range-stepping.exp
7680 * gdb.trace/read-memory.exp
7681 * gdb.trace/save-trace.exp
7682 * gdb.trace/signal.exp
7683 * gdb.trace/status-stop.exp
7684 * gdb.trace/tfile.exp
7685 * gdb.trace/trace-break.exp
7686 * gdb.trace/trace-buffer-size.exp
7687 * gdb.trace/trace-condition.exp
7688 * gdb.trace/tracefile-pseudo-reg.exp
7689 * gdb.trace/tstatus.exp
7690 * gdb.trace/unavailable.exp
7691 * gdb.trace/while-dyn.exp
7692 * gdb.trace/while-stepping.exp
7693
7694 2016-12-22 Doug Evans <xdje42@gmail.com>
7695
7696 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7697 and msymbols.
7698
7699 2016-12-19 Yao Qi <yao.qi@linaro.org>
7700
7701 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7702 (test_with_self): Don't call do_steps_and_nexts, and remove
7703 code about stepping into xmalloc.
7704
7705 2016-12-09 Yao Qi <yao.qi@linaro.org>
7706
7707 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7708
7709 2016-12-09 Yao Qi <yao.qi@linaro.org>
7710
7711 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7712
7713 2016-12-09 Pedro Alves <palves@redhat.com>
7714
7715 * gdb.base/all-architectures-0.exp: New file.
7716 * gdb.base/all-architectures-1.exp: New file.
7717 * gdb.base/all-architectures-2.exp: New file.
7718 * gdb.base/all-architectures-3.exp: New file.
7719 * gdb.base/all-architectures-4.exp: New file.
7720 * gdb.base/all-architectures-5.exp: New file.
7721 * gdb.base/all-architectures-6.exp: New file.
7722 * gdb.base/all-architectures-7.exp: New file.
7723 * gdb.base/all-architectures.exp.in: New file.
7724
7725 2016-12-09 Yao Qi <yao.qi@linaro.org>
7726
7727 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7728
7729 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7730
7731 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7732 possible.
7733 Remove useless pattern-matching code.
7734
7735 2016-12-02 Pedro Alves <palves@redhat.com>
7736
7737 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7738 procedure.
7739 (top level): Call it.
7740
7741 2016-12-02 Pedro Alves <palves@redhat.com>
7742
7743 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7744 New procedure.
7745 (top level): Call it.
7746
7747 2016-12-02 Pedro Alves <palves@redhat.com>
7748
7749 PR cli/20559
7750 * gdb.base/commands.exp (user_defined_command_args_eval): New
7751 procedure.
7752 (top level): Call it.
7753
7754 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7755
7756 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7757 timeout handling.
7758
7759 2016-12-02 Tom Tromey <tom@tromey.com>
7760
7761 * gdb.dwarf2/main-subprogram.c: New file.
7762 * gdb.dwarf2/main-subprogram.exp: New file.
7763
7764 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7765
7766 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7767 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7768 gdb_test_no_output for a couple of cases.
7769 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7770
7771 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7772
7773 Fix test names and standardize compilation error messages throughout
7774 the following files:
7775
7776 * gdb.ada/start.exp
7777 * gdb.arch/alpha-step.exp
7778 * gdb.arch/e500-prologue.exp
7779 * gdb.arch/ftrace-insn-reloc.exp
7780 * gdb.arch/gdb1291.exp
7781 * gdb.arch/gdb1431.exp
7782 * gdb.arch/gdb1558.exp
7783 * gdb.arch/i386-dr3-watch.exp
7784 * gdb.arch/i386-sse-stack-align.exp
7785 * gdb.arch/ia64-breakpoint-shadow.exp
7786 * gdb.arch/pa-nullify.exp
7787 * gdb.arch/powerpc-aix-prologue.exp
7788 * gdb.arch/thumb-bx-pc.exp
7789 * gdb.base/annota1.exp
7790 * gdb.base/annota3.exp
7791 * gdb.base/arrayidx.exp
7792 * gdb.base/assign.exp
7793 * gdb.base/attach.exp
7794 * gdb.base/auxv.exp
7795 * gdb.base/bang.exp
7796 * gdb.base/bfp-test.exp
7797 * gdb.base/bigcore.exp
7798 * gdb.base/bitfields2.exp
7799 * gdb.base/break-fun-addr.exp
7800 * gdb.base/break-probes.exp
7801 * gdb.base/call-rt-st.exp
7802 * gdb.base/callexit.exp
7803 * gdb.base/catch-fork-kill.exp
7804 * gdb.base/charset.exp
7805 * gdb.base/checkpoint.exp
7806 * gdb.base/comprdebug.exp
7807 * gdb.base/constvars.exp
7808 * gdb.base/coredump-filter.exp
7809 * gdb.base/cursal.exp
7810 * gdb.base/cvexpr.exp
7811 * gdb.base/detach.exp
7812 * gdb.base/display.exp
7813 * gdb.base/dmsym.exp
7814 * gdb.base/dprintf-pending.exp
7815 * gdb.base/dso2dso.exp
7816 * gdb.base/dtrace-probe.exp
7817 * gdb.base/dump.exp
7818 * gdb.base/enum_cond.exp
7819 * gdb.base/exe-lock.exp
7820 * gdb.base/exec-invalid-sysroot.exp
7821 * gdb.base/execl-update-breakpoints.exp
7822 * gdb.base/exprs.exp
7823 * gdb.base/fileio.exp
7824 * gdb.base/find.exp
7825 * gdb.base/finish.exp
7826 * gdb.base/fixsection.exp
7827 * gdb.base/foll-vfork.exp
7828 * gdb.base/frame-args.exp
7829 * gdb.base/gcore.exp
7830 * gdb.base/gdb1250.exp
7831 * gdb.base/global-var-nested-by-dso.exp
7832 * gdb.base/gnu-ifunc.exp
7833 * gdb.base/hashline1.exp
7834 * gdb.base/hashline2.exp
7835 * gdb.base/hashline3.exp
7836 * gdb.base/hbreak-in-shr-unsupported.exp
7837 * gdb.base/huge.exp
7838 * gdb.base/infcall-input.exp
7839 * gdb.base/info-fun.exp
7840 * gdb.base/info-shared.exp
7841 * gdb.base/jit-simple.exp
7842 * gdb.base/jit-so.exp
7843 * gdb.base/jit.exp
7844 * gdb.base/jump.exp
7845 * gdb.base/label.exp
7846 * gdb.base/lineinc.exp
7847 * gdb.base/logical.exp
7848 * gdb.base/longjmp.exp
7849 * gdb.base/macscp.exp
7850 * gdb.base/miscexprs.exp
7851 * gdb.base/new-ui-echo.exp
7852 * gdb.base/new-ui-pending-input.exp
7853 * gdb.base/new-ui.exp
7854 * gdb.base/nodebug.exp
7855 * gdb.base/nofield.exp
7856 * gdb.base/offsets.exp
7857 * gdb.base/overlays.exp
7858 * gdb.base/pending.exp
7859 * gdb.base/pointers.exp
7860 * gdb.base/pr11022.exp
7861 * gdb.base/printcmds.exp
7862 * gdb.base/prologue.exp
7863 * gdb.base/ptr-typedef.exp
7864 * gdb.base/realname-expand.exp
7865 * gdb.base/relativedebug.exp
7866 * gdb.base/relocate.exp
7867 * gdb.base/remote.exp
7868 * gdb.base/reread.exp
7869 * gdb.base/return2.exp
7870 * gdb.base/savedregs.exp
7871 * gdb.base/sep.exp
7872 * gdb.base/sepdebug.exp
7873 * gdb.base/sepsymtab.exp
7874 * gdb.base/set-inferior-tty.exp
7875 * gdb.base/setshow.exp
7876 * gdb.base/shlib-call.exp
7877 * gdb.base/sigaltstack.exp
7878 * gdb.base/siginfo-addr.exp
7879 * gdb.base/signals.exp
7880 * gdb.base/signull.exp
7881 * gdb.base/sigrepeat.exp
7882 * gdb.base/so-impl-ld.exp
7883 * gdb.base/solib-display.exp
7884 * gdb.base/solib-overlap.exp
7885 * gdb.base/solib-search.exp
7886 * gdb.base/solib-symbol.exp
7887 * gdb.base/structs.exp
7888 * gdb.base/structs2.exp
7889 * gdb.base/symtab-search-order.exp
7890 * gdb.base/twice.exp
7891 * gdb.base/unload.exp
7892 * gdb.base/varargs.exp
7893 * gdb.base/watchpoint-solib.exp
7894 * gdb.base/watchpoint.exp
7895 * gdb.base/whatis.exp
7896 * gdb.base/wrong_frame_bt_full.exp
7897 * gdb.btrace/dlopen.exp
7898 * gdb.cell/ea-standalone.exp
7899 * gdb.cell/ea-test.exp
7900 * gdb.cp/dispcxx.exp
7901 * gdb.cp/gdb2384.exp
7902 * gdb.cp/method2.exp
7903 * gdb.cp/nextoverthrow.exp
7904 * gdb.cp/pr10728.exp
7905 * gdb.disasm/am33.exp
7906 * gdb.disasm/h8300s.exp
7907 * gdb.disasm/mn10300.exp
7908 * gdb.disasm/sh3.exp
7909 * gdb.dwarf2/dw2-dir-file-name.exp
7910 * gdb.fortran/complex.exp
7911 * gdb.fortran/library-module.exp
7912 * gdb.guile/scm-pretty-print.exp
7913 * gdb.guile/scm-symbol.exp
7914 * gdb.guile/scm-type.exp
7915 * gdb.guile/scm-value.exp
7916 * gdb.linespec/linespec.exp
7917 * gdb.mi/gdb701.exp
7918 * gdb.mi/gdb792.exp
7919 * gdb.mi/mi-breakpoint-changed.exp
7920 * gdb.mi/mi-dprintf-pending.exp
7921 * gdb.mi/mi-dprintf.exp
7922 * gdb.mi/mi-exit-code.exp
7923 * gdb.mi/mi-pending.exp
7924 * gdb.mi/mi-solib.exp
7925 * gdb.mi/new-ui-mi-sync.exp
7926 * gdb.mi/pr11022.exp
7927 * gdb.mi/user-selected-context-sync.exp
7928 * gdb.opt/solib-intra-step.exp
7929 * gdb.python/py-events.exp
7930 * gdb.python/py-finish-breakpoint.exp
7931 * gdb.python/py-mi.exp
7932 * gdb.python/py-prettyprint.exp
7933 * gdb.python/py-shared.exp
7934 * gdb.python/py-symbol.exp
7935 * gdb.python/py-template.exp
7936 * gdb.python/py-type.exp
7937 * gdb.python/py-value.exp
7938 * gdb.reverse/solib-precsave.exp
7939 * gdb.reverse/solib-reverse.exp
7940 * gdb.server/solib-list.exp
7941 * gdb.stabs/weird.exp
7942 * gdb.threads/reconnect-signal.exp
7943 * gdb.threads/stepi-random-signal.exp
7944 * gdb.trace/actions.exp
7945 * gdb.trace/ax.exp
7946 * gdb.trace/backtrace.exp
7947 * gdb.trace/change-loc.exp
7948 * gdb.trace/deltrace.exp
7949 * gdb.trace/ftrace-lock.exp
7950 * gdb.trace/ftrace.exp
7951 * gdb.trace/infotrace.exp
7952 * gdb.trace/mi-tracepoint-changed.exp
7953 * gdb.trace/packetlen.exp
7954 * gdb.trace/passcount.exp
7955 * gdb.trace/pending.exp
7956 * gdb.trace/range-stepping.exp
7957 * gdb.trace/report.exp
7958 * gdb.trace/stap-trace.exp
7959 * gdb.trace/tfind.exp
7960 * gdb.trace/trace-break.exp
7961 * gdb.trace/trace-condition.exp
7962 * gdb.trace/trace-enable-disable.exp
7963 * gdb.trace/trace-mt.exp
7964 * gdb.trace/tracecmd.exp
7965 * gdb.trace/tspeed.exp
7966 * gdb.trace/tsv.exp
7967 * lib/perftest.exp
7968
7969 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7970
7971 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
7972 with gdb_test_no_output.
7973 Use command as test name.
7974
7975 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7976
7977 Fix test names starting with uppercase throughout the files.
7978
7979 * gdb.ada/assign_1.exp
7980 * gdb.ada/boolean_expr.exp
7981 * gdb.base/arrayidx.exp
7982 * gdb.base/del.exp
7983 * gdb.base/gcore-buffer-overflow.exp
7984 * gdb.base/testenv.exp
7985 * gdb.compile/compile.exp
7986 * gdb.python/py-framefilter-invalidarg.exp
7987 * gdb.python/py-framefilter.exp
7988
7989 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7990
7991 Fix test names starting with uppercase throughout the files.
7992
7993 * gdb.ada/array_return.exp
7994 * gdb.ada/expr_delims.exp
7995 * gdb.ada/mi_dyn_arr.exp
7996 * gdb.ada/mi_interface.exp
7997 * gdb.ada/mi_var_array.exp
7998 * gdb.ada/watch_arg.exp
7999 * gdb.arch/alpha-step.exp
8000 * gdb.arch/altivec-regs.exp
8001 * gdb.arch/e500-regs.exp
8002 * gdb.arch/powerpc-d128-regs.exp
8003 * gdb.base/arrayidx.exp
8004 * gdb.base/break.exp
8005 * gdb.base/checkpoint.exp
8006 * gdb.base/debug-expr.exp
8007 * gdb.base/dmsym.exp
8008 * gdb.base/radix.exp
8009 * gdb.base/sepdebug.exp
8010 * gdb.base/testenv.exp
8011 * gdb.base/watch_thread_num.exp
8012 * gdb.base/watchpoint-cond-gone.exp
8013 * gdb.cell/break.exp
8014 * gdb.cell/ea-cache.exp
8015 * gdb.compile/compile.exp
8016 * gdb.cp/gdb2495.exp
8017 * gdb.gdb/selftest.exp
8018 * gdb.gdb/xfullpath.exp
8019 * gdb.go/hello.exp
8020 * gdb.go/integers.exp
8021 * gdb.objc/basicclass.exp
8022 * gdb.pascal/hello.exp
8023 * gdb.pascal/integers.exp
8024 * gdb.python/py-breakpoint.exp
8025 * gdb.python/py-cmd.exp
8026 * gdb.python/py-linetable.exp
8027 * gdb.python/py-xmethods.exp
8028 * gdb.python/python.exp
8029 * gdb.reverse/consecutive-precsave.exp
8030 * gdb.reverse/finish-precsave.exp
8031 * gdb.reverse/i386-precsave.exp
8032 * gdb.reverse/machinestate-precsave.exp
8033 * gdb.reverse/sigall-precsave.exp
8034 * gdb.reverse/solib-precsave.exp
8035 * gdb.reverse/step-precsave.exp
8036 * gdb.reverse/until-precsave.exp
8037 * gdb.reverse/watch-precsave.exp
8038 * gdb.threads/leader-exit.exp
8039 * gdb.threads/pthreads.exp
8040 * gdb.threads/wp-replication.exp
8041 * gdb.trace/actions.exp
8042 * gdb.trace/mi-tsv-changed.exp
8043 * gdb.trace/tsv.exp
8044
8045 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8046
8047 Fix test names starting with uppercase throughout the files.
8048
8049 * gdb.arch/i386-bp_permanent.exp
8050 * gdb.arch/i386-gnu-cfi.exp
8051 * gdb.base/disasm-end-cu.exp
8052 * gdb.base/macscp.exp
8053 * gdb.base/pending.exp
8054 * gdb.base/watch_thread_num.exp
8055 * gdb.cp/exception.exp
8056 * gdb.cp/gdb2495.exp
8057 * gdb.cp/local.exp
8058 * gdb.python/py-evsignal.exp
8059 * gdb.python/python.exp
8060 * gdb.trace/tracecmd.exp
8061
8062 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8063
8064 Fix test names starting with uppercase throughout the files.
8065
8066 * gdb.base/charset.exp
8067 * gdb.base/eval.exp
8068 * gdb.base/multi-forks.exp
8069 * gdb.guile/scm-progspace.exp
8070 * gdb.opencl/datatypes.exp
8071 * gdb.python/py-block.exp
8072 * gdb.python/py-function.exp
8073 * gdb.python/py-symbol.exp
8074 * gdb.python/py-symtab.exp
8075 * gdb.python/py-xmethods.exp
8076 * gdb.reverse/break-precsave.exp
8077 * gdb.reverse/break-reverse.exp
8078 * gdb.reverse/consecutive-precsave.exp
8079 * gdb.reverse/consecutive-reverse.exp
8080 * gdb.reverse/finish-precsave.exp
8081 * gdb.reverse/finish-reverse-bkpt.exp
8082 * gdb.reverse/finish-reverse.exp
8083 * gdb.reverse/fstatat-reverse.exp
8084 * gdb.reverse/getresuid-reverse.exp
8085 * gdb.reverse/i386-precsave.exp
8086 * gdb.reverse/i386-reverse.exp
8087 * gdb.reverse/i386-sse-reverse.exp
8088 * gdb.reverse/i387-stack-reverse.exp
8089 * gdb.reverse/insn-reverse.exp
8090 * gdb.reverse/machinestate-precsave.exp
8091 * gdb.reverse/machinestate.exp
8092 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8093 * gdb.reverse/pipe-reverse.exp
8094 * gdb.reverse/readv-reverse.exp
8095 * gdb.reverse/recvmsg-reverse.exp
8096 * gdb.reverse/rerun-prec.exp
8097 * gdb.reverse/s390-mvcle.exp
8098 * gdb.reverse/sigall-precsave.exp
8099 * gdb.reverse/sigall-reverse.exp
8100 * gdb.reverse/solib-precsave.exp
8101 * gdb.reverse/solib-reverse.exp
8102 * gdb.reverse/step-precsave.exp
8103 * gdb.reverse/step-reverse.exp
8104 * gdb.reverse/time-reverse.exp
8105 * gdb.reverse/until-precsave.exp
8106 * gdb.reverse/until-reverse.exp
8107 * gdb.reverse/waitpid-reverse.exp
8108 * gdb.reverse/watch-precsave.exp
8109 * gdb.reverse/watch-reverse.exp
8110
8111 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8112
8113 Fix test names starting with uppercase throughout the files.
8114
8115 * gdb.arch/i386-mpx-simple_segv.exp
8116 * gdb.arch/i386-mpx.exp
8117 * gdb.arch/i386-permbkpt.exp
8118 * gdb.arch/pa-nullify.exp
8119 * gdb.arch/powerpc-d128-regs.exp
8120 * gdb.arch/vsx-regs.exp
8121 * gdb.base/bfp-test.exp
8122 * gdb.base/break.exp
8123 * gdb.base/breakpoint-shadow.exp
8124 * gdb.base/callfuncs.exp
8125 * gdb.base/charset.exp
8126 * gdb.base/commands.exp
8127 * gdb.base/completion.exp
8128 * gdb.base/dfp-test.exp
8129 * gdb.base/echo.exp
8130 * gdb.base/ending-run.exp
8131 * gdb.base/eval.exp
8132 * gdb.base/expand-psymtabs.exp
8133 * gdb.base/float128.exp
8134 * gdb.base/floatn.exp
8135 * gdb.base/foll-exec-mode.exp
8136 * gdb.base/gdb1056.exp
8137 * gdb.base/gdb11531.exp
8138 * gdb.base/kill-after-signal.exp
8139 * gdb.base/multi-forks.exp
8140 * gdb.base/overlays.exp
8141 * gdb.base/pending.exp
8142 * gdb.base/sepdebug.exp
8143 * gdb.base/testenv.exp
8144 * gdb.base/valgrind-db-attach.exp
8145 * gdb.base/watch_thread_num.exp
8146 * gdb.base/watchpoint-cond-gone.exp
8147 * gdb.base/watchpoint.exp
8148 * gdb.base/watchpoints.exp
8149 * gdb.cp/arg-reference.exp
8150 * gdb.cp/baseenum.exp
8151 * gdb.cp/operator.exp
8152 * gdb.cp/shadow.exp
8153 * gdb.dwarf2/dw2-op-out-param.exp
8154 * gdb.dwarf2/dw2-reg-undefined.exp
8155 * gdb.go/chan.exp
8156 * gdb.go/hello.exp
8157 * gdb.go/integers.exp
8158 * gdb.go/methods.exp
8159 * gdb.go/package.exp
8160 * gdb.guile/scm-parameter.exp
8161 * gdb.guile/scm-progspace.exp
8162 * gdb.guile/scm-value.exp
8163 * gdb.mi/mi-pending.exp
8164 * gdb.mi/user-selected-context-sync.exp
8165 * gdb.multi/multi-attach.exp
8166 * gdb.multi/tids.exp
8167 * gdb.opt/clobbered-registers-O2.exp
8168 * gdb.pascal/floats.exp
8169 * gdb.pascal/integers.exp
8170 * gdb.python/py-block.exp
8171 * gdb.python/py-events.exp
8172 * gdb.python/py-parameter.exp
8173 * gdb.python/py-symbol.exp
8174 * gdb.python/py-symtab.exp
8175 * gdb.python/py-type.exp
8176 * gdb.python/py-value.exp
8177 * gdb.python/py-xmethods.exp
8178 * gdb.python/python.exp
8179 * gdb.reverse/break-precsave.exp
8180 * gdb.reverse/consecutive-precsave.exp
8181 * gdb.reverse/finish-precsave.exp
8182 * gdb.reverse/i386-precsave.exp
8183 * gdb.reverse/machinestate-precsave.exp
8184 * gdb.reverse/sigall-precsave.exp
8185 * gdb.reverse/solib-precsave.exp
8186 * gdb.reverse/step-precsave.exp
8187 * gdb.reverse/until-precsave.exp
8188 * gdb.reverse/watch-precsave.exp
8189 * gdb.server/ext-attach.exp
8190 * gdb.server/ext-restart.exp
8191 * gdb.server/ext-run.exp
8192 * gdb.server/ext-wrapper.exp
8193 * gdb.stabs/gdb11479.exp
8194 * gdb.stabs/weird.exp
8195 * gdb.threads/attach-many-short-lived-threads.exp
8196 * gdb.threads/kill.exp
8197 * gdb.threads/watchpoint-fork.exp
8198
8199 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8200
8201 Fix test names starting with uppercase throughout all the files below.
8202
8203 * gdb.ada/array_return.exp
8204 * gdb.ada/catch_ex.exp
8205 * gdb.ada/info_exc.exp
8206 * gdb.ada/mi_catch_ex.exp
8207 * gdb.ada/mi_dyn_arr.exp
8208 * gdb.ada/mi_ex_cond.exp
8209 * gdb.ada/mi_exc_info.exp
8210 * gdb.ada/mi_interface.exp
8211 * gdb.ada/mi_task_arg.exp
8212 * gdb.ada/mi_task_info.exp
8213 * gdb.ada/mi_var_array.exp
8214 * gdb.arch/alpha-step.exp
8215 * gdb.arch/amd64-disp-step.exp
8216 * gdb.arch/arm-disp-step.exp
8217 * gdb.arch/disp-step-insn-reloc.exp
8218 * gdb.arch/e500-prologue.exp
8219 * gdb.arch/ftrace-insn-reloc.exp
8220 * gdb.arch/gdb1558.exp
8221 * gdb.arch/i386-bp_permanent.exp
8222 * gdb.arch/i386-disp-step.exp
8223 * gdb.arch/i386-float.exp
8224 * gdb.arch/i386-gnu-cfi.exp
8225 * gdb.arch/ia64-breakpoint-shadow.exp
8226 * gdb.arch/mips16-thunks.exp
8227 * gdb.arch/pa-nullify.exp
8228 * gdb.arch/powerpc-aix-prologue.exp
8229 * gdb.arch/powerpc-power.exp
8230 * gdb.arch/ppc-dfp.exp
8231 * gdb.arch/s390-tdbregs.exp
8232 * gdb.arch/spu-info.exp
8233 * gdb.arch/spu-ls.exp
8234 * gdb.arch/thumb-bx-pc.exp
8235 * gdb.base/advance.exp
8236 * gdb.base/annota-input-while-running.exp
8237 * gdb.base/arrayidx.exp
8238 * gdb.base/asmlabel.exp
8239 * gdb.base/async.exp
8240 * gdb.base/attach-wait-input.exp
8241 * gdb.base/auto-connect-native-target.exp
8242 * gdb.base/batch-preserve-term-settings.exp
8243 * gdb.base/bfp-test.exp
8244 * gdb.base/bigcore.exp
8245 * gdb.base/bp-permanent.exp
8246 * gdb.base/break-always.exp
8247 * gdb.base/break-fun-addr.exp
8248 * gdb.base/break-idempotent.exp
8249 * gdb.base/break-main-file-remove-fail.exp
8250 * gdb.base/break-probes.exp
8251 * gdb.base/break-unload-file.exp
8252 * gdb.base/break.exp
8253 * gdb.base/call-ar-st.exp
8254 * gdb.base/call-rt-st.exp
8255 * gdb.base/call-sc.exp
8256 * gdb.base/call-signal-resume.exp
8257 * gdb.base/call-strs.exp
8258 * gdb.base/callexit.exp
8259 * gdb.base/callfuncs.exp
8260 * gdb.base/catch-gdb-caused-signals.exp
8261 * gdb.base/catch-signal-siginfo-cond.exp
8262 * gdb.base/catch-syscall.exp
8263 * gdb.base/compare-sections.exp
8264 * gdb.base/cond-eval-mode.exp
8265 * gdb.base/condbreak-call-false.exp
8266 * gdb.base/consecutive-step-over.exp
8267 * gdb.base/cursal.exp
8268 * gdb.base/disabled-location.exp
8269 * gdb.base/disasm-end-cu.exp
8270 * gdb.base/display.exp
8271 * gdb.base/double-prompt-target-event-error.exp
8272 * gdb.base/dprintf-bp-same-addr.exp
8273 * gdb.base/dprintf-detach.exp
8274 * gdb.base/dprintf-next.exp
8275 * gdb.base/dprintf-non-stop.exp
8276 * gdb.base/dprintf-pending.exp
8277 * gdb.base/dso2dso.exp
8278 * gdb.base/ending-run.exp
8279 * gdb.base/enum_cond.exp
8280 * gdb.base/examine-backward.exp
8281 * gdb.base/exe-lock.exp
8282 * gdb.base/exec-invalid-sysroot.exp
8283 * gdb.base/execl-update-breakpoints.exp
8284 * gdb.base/execution-termios.exp
8285 * gdb.base/fileio.exp
8286 * gdb.base/fixsection.exp
8287 * gdb.base/foll-exec-mode.exp
8288 * gdb.base/foll-exec.exp
8289 * gdb.base/fork-running-state.exp
8290 * gdb.base/frame-args.exp
8291 * gdb.base/fullpath-expand.exp
8292 * gdb.base/func-ptr.exp
8293 * gdb.base/gcore-relro-pie.exp
8294 * gdb.base/gdb1090.exp
8295 * gdb.base/gdb1555.exp
8296 * gdb.base/global-var-nested-by-dso.exp
8297 * gdb.base/gnu-ifunc.exp
8298 * gdb.base/hbreak-in-shr-unsupported.exp
8299 * gdb.base/hbreak-unmapped.exp
8300 * gdb.base/hook-stop.exp
8301 * gdb.base/infcall-input.exp
8302 * gdb.base/info-fun.exp
8303 * gdb.base/info-shared.exp
8304 * gdb.base/interrupt-noterm.exp
8305 * gdb.base/jit-so.exp
8306 * gdb.base/jit.exp
8307 * gdb.base/line-symtabs.exp
8308 * gdb.base/list.exp
8309 * gdb.base/longjmp.exp
8310 * gdb.base/macscp.exp
8311 * gdb.base/max-value-size.exp
8312 * gdb.base/nodebug.exp
8313 * gdb.base/nofield.exp
8314 * gdb.base/overlays.exp
8315 * gdb.base/paginate-after-ctrl-c-running.exp
8316 * gdb.base/paginate-bg-execution.exp
8317 * gdb.base/paginate-inferior-exit.exp
8318 * gdb.base/pending.exp
8319 * gdb.base/pr11022.exp
8320 * gdb.base/printcmds.exp
8321 * gdb.base/ptr-typedef.exp
8322 * gdb.base/ptype.exp
8323 * gdb.base/randomize.exp
8324 * gdb.base/range-stepping.exp
8325 * gdb.base/realname-expand.exp
8326 * gdb.base/relativedebug.exp
8327 * gdb.base/remote.exp
8328 * gdb.base/savedregs.exp
8329 * gdb.base/sepdebug.exp
8330 * gdb.base/set-noassign.exp
8331 * gdb.base/shlib-call.exp
8332 * gdb.base/shreloc.exp
8333 * gdb.base/sigaltstack.exp
8334 * gdb.base/sigbpt.exp
8335 * gdb.base/siginfo-addr.exp
8336 * gdb.base/siginfo-obj.exp
8337 * gdb.base/siginfo-thread.exp
8338 * gdb.base/signest.exp
8339 * gdb.base/signull.exp
8340 * gdb.base/sigrepeat.exp
8341 * gdb.base/skip.exp
8342 * gdb.base/so-impl-ld.exp
8343 * gdb.base/solib-corrupted.exp
8344 * gdb.base/solib-disc.exp
8345 * gdb.base/solib-display.exp
8346 * gdb.base/solib-overlap.exp
8347 * gdb.base/solib-search.exp
8348 * gdb.base/solib-symbol.exp
8349 * gdb.base/source-execution.exp
8350 * gdb.base/sss-bp-on-user-bp-2.exp
8351 * gdb.base/sss-bp-on-user-bp.exp
8352 * gdb.base/stack-checking.exp
8353 * gdb.base/stale-infcall.exp
8354 * gdb.base/step-break.exp
8355 * gdb.base/step-line.exp
8356 * gdb.base/step-over-exit.exp
8357 * gdb.base/step-test.exp
8358 * gdb.base/structs.exp
8359 * gdb.base/sym-file.exp
8360 * gdb.base/symtab-search-order.exp
8361 * gdb.base/term.exp
8362 * gdb.base/type-opaque.exp
8363 * gdb.base/unload.exp
8364 * gdb.base/until-nodebug.exp
8365 * gdb.base/until.exp
8366 * gdb.base/unwindonsignal.exp
8367 * gdb.base/watch-cond.exp
8368 * gdb.base/watch-non-mem.exp
8369 * gdb.base/watch_thread_num.exp
8370 * gdb.base/watchpoint-reuse-slot.exp
8371 * gdb.base/watchpoint-solib.exp
8372 * gdb.base/watchpoint.exp
8373 * gdb.btrace/dlopen.exp
8374 * gdb.cell/arch.exp
8375 * gdb.cell/break.exp
8376 * gdb.cell/bt.exp
8377 * gdb.cell/core.exp
8378 * gdb.cell/data.exp
8379 * gdb.cell/dwarfaddr.exp
8380 * gdb.cell/ea-cache.exp
8381 * gdb.cell/ea-standalone.exp
8382 * gdb.cell/ea-test.exp
8383 * gdb.cell/f-regs.exp
8384 * gdb.cell/fork.exp
8385 * gdb.cell/gcore.exp
8386 * gdb.cell/mem-access.exp
8387 * gdb.cell/ptype.exp
8388 * gdb.cell/registers.exp
8389 * gdb.cell/sizeof.exp
8390 * gdb.cell/solib-symbol.exp
8391 * gdb.cell/solib.exp
8392 * gdb.compile/compile-tls.exp
8393 * gdb.cp/exception.exp
8394 * gdb.cp/gdb2495.exp
8395 * gdb.cp/local.exp
8396 * gdb.cp/mb-inline.exp
8397 * gdb.cp/mb-templates.exp
8398 * gdb.cp/pr10687.exp
8399 * gdb.cp/pr9167.exp
8400 * gdb.cp/scope-err.exp
8401 * gdb.cp/templates.exp
8402 * gdb.cp/virtfunc.exp
8403 * gdb.dwarf2/dw2-dir-file-name.exp
8404 * gdb.dwarf2/dw2-single-line-discriminators.exp
8405 * gdb.fortran/complex.exp
8406 * gdb.fortran/library-module.exp
8407 * gdb.guile/guile.exp
8408 * gdb.guile/scm-cmd.exp
8409 * gdb.guile/scm-frame-inline.exp
8410 * gdb.guile/scm-objfile.exp
8411 * gdb.guile/scm-pretty-print.exp
8412 * gdb.guile/scm-symbol.exp
8413 * gdb.guile/scm-type.exp
8414 * gdb.guile/scm-value.exp
8415 * gdb.linespec/keywords.exp
8416 * gdb.linespec/ls-errs.exp
8417 * gdb.linespec/macro-relative.exp
8418 * gdb.linespec/thread.exp
8419 * gdb.mi/mi-breakpoint-changed.exp
8420 * gdb.mi/mi-dprintf-pending.exp
8421 * gdb.mi/mi-fullname-deleted.exp
8422 * gdb.mi/mi-logging.exp
8423 * gdb.mi/mi-pending.exp
8424 * gdb.mi/mi-solib.exp
8425 * gdb.mi/new-ui-mi-sync.exp
8426 * gdb.mi/user-selected-context-sync.exp
8427 * gdb.multi/dummy-frame-restore.exp
8428 * gdb.multi/multi-arch-exec.exp
8429 * gdb.multi/remove-inferiors.exp
8430 * gdb.multi/watchpoint-multi-exit.exp
8431 * gdb.opt/solib-intra-step.exp
8432 * gdb.perf/backtrace.exp
8433 * gdb.perf/single-step.exp
8434 * gdb.perf/skip-command.exp
8435 * gdb.perf/skip-prologue.exp
8436 * gdb.perf/solib.exp
8437 * gdb.python/lib-types.exp
8438 * gdb.python/py-as-string.exp
8439 * gdb.python/py-bad-printers.exp
8440 * gdb.python/py-block.exp
8441 * gdb.python/py-breakpoint.exp
8442 * gdb.python/py-cmd.exp
8443 * gdb.python/py-events.exp
8444 * gdb.python/py-evthreads.exp
8445 * gdb.python/py-finish-breakpoint.exp
8446 * gdb.python/py-finish-breakpoint2.exp
8447 * gdb.python/py-frame-inline.exp
8448 * gdb.python/py-frame.exp
8449 * gdb.python/py-inferior.exp
8450 * gdb.python/py-infthread.exp
8451 * gdb.python/py-mi.exp
8452 * gdb.python/py-objfile.exp
8453 * gdb.python/py-pp-maint.exp
8454 * gdb.python/py-pp-registration.exp
8455 * gdb.python/py-prettyprint.exp
8456 * gdb.python/py-recurse-unwind.exp
8457 * gdb.python/py-shared.exp
8458 * gdb.python/py-symbol.exp
8459 * gdb.python/py-symtab.exp
8460 * gdb.python/py-template.exp
8461 * gdb.python/py-type.exp
8462 * gdb.python/py-unwind-maint.exp
8463 * gdb.python/py-unwind.exp
8464 * gdb.python/py-value.exp
8465 * gdb.python/python.exp
8466 * gdb.reverse/finish-reverse-bkpt.exp
8467 * gdb.reverse/insn-reverse.exp
8468 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8469 * gdb.reverse/solib-precsave.exp
8470 * gdb.reverse/solib-reverse.exp
8471 * gdb.stabs/gdb11479.exp
8472 * gdb.stabs/weird.exp
8473 * gdb.threads/fork-child-threads.exp
8474 * gdb.threads/fork-plus-threads.exp
8475 * gdb.threads/fork-thread-pending.exp
8476 * gdb.threads/forking-threads-plus-breakpoint.exp
8477 * gdb.threads/hand-call-in-threads.exp
8478 * gdb.threads/interrupted-hand-call.exp
8479 * gdb.threads/linux-dp.exp
8480 * gdb.threads/local-watch-wrong-thread.exp
8481 * gdb.threads/next-while-other-thread-longjmps.exp
8482 * gdb.threads/non-ldr-exit.exp
8483 * gdb.threads/pending-step.exp
8484 * gdb.threads/print-threads.exp
8485 * gdb.threads/process-dies-while-detaching.exp
8486 * gdb.threads/process-dies-while-handling-bp.exp
8487 * gdb.threads/pthreads.exp
8488 * gdb.threads/queue-signal.exp
8489 * gdb.threads/reconnect-signal.exp
8490 * gdb.threads/signal-command-handle-nopass.exp
8491 * gdb.threads/signal-command-multiple-signals-pending.exp
8492 * gdb.threads/signal-delivered-right-thread.exp
8493 * gdb.threads/signal-sigtrap.exp
8494 * gdb.threads/sigthread.exp
8495 * gdb.threads/staticthreads.exp
8496 * gdb.threads/stepi-random-signal.exp
8497 * gdb.threads/thread-unwindonsignal.exp
8498 * gdb.threads/thread_check.exp
8499 * gdb.threads/thread_events.exp
8500 * gdb.threads/tid-reuse.exp
8501 * gdb.threads/tls-nodebug.exp
8502 * gdb.threads/tls-shared.exp
8503 * gdb.threads/tls-so_extern.exp
8504 * gdb.threads/tls.exp
8505 * gdb.threads/wp-replication.exp
8506 * gdb.trace/actions-changed.exp
8507 * gdb.trace/actions.exp
8508 * gdb.trace/backtrace.exp
8509 * gdb.trace/change-loc.exp
8510 * gdb.trace/collection.exp
8511 * gdb.trace/deltrace.exp
8512 * gdb.trace/disconnected-tracing.exp
8513 * gdb.trace/entry-values.exp
8514 * gdb.trace/ftrace-lock.exp
8515 * gdb.trace/ftrace.exp
8516 * gdb.trace/infotrace.exp
8517 * gdb.trace/mi-trace-frame-collected.exp
8518 * gdb.trace/mi-trace-unavailable.exp
8519 * gdb.trace/mi-traceframe-changed.exp
8520 * gdb.trace/mi-tracepoint-changed.exp
8521 * gdb.trace/mi-tsv-changed.exp
8522 * gdb.trace/no-attach-trace.exp
8523 * gdb.trace/packetlen.exp
8524 * gdb.trace/passc-dyn.exp
8525 * gdb.trace/passcount.exp
8526 * gdb.trace/pending.exp
8527 * gdb.trace/pr16508.exp
8528 * gdb.trace/qtro.exp
8529 * gdb.trace/range-stepping.exp
8530 * gdb.trace/read-memory.exp
8531 * gdb.trace/report.exp
8532 * gdb.trace/save-trace.exp
8533 * gdb.trace/signal.exp
8534 * gdb.trace/stap-trace.exp
8535 * gdb.trace/status-stop.exp
8536 * gdb.trace/strace.exp
8537 * gdb.trace/tfile.exp
8538 * gdb.trace/tfind.exp
8539 * gdb.trace/trace-break.exp
8540 * gdb.trace/trace-condition.exp
8541 * gdb.trace/trace-enable-disable.exp
8542 * gdb.trace/trace-mt.exp
8543 * gdb.trace/tracecmd.exp
8544 * gdb.trace/tracefile-pseudo-reg.exp
8545 * gdb.trace/tspeed.exp
8546 * gdb.trace/tstatus.exp
8547 * gdb.trace/tsv.exp
8548 * gdb.trace/unavailable.exp
8549 * gdb.trace/while-dyn.exp
8550 * gdb.trace/while-stepping.exp
8551 * lib/gdb-guile.exp
8552 * lib/gdb.exp
8553 * lib/mi-support.exp
8554 * lib/pascal.exp
8555 * lib/perftest.exp
8556 * lib/prelink-support.exp
8557 * lib/selftest-support.exp
8558
8559 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8560
8561 * Makefile.in: Include disable-implicit-rules.mk.
8562
8563 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8564
8565 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8566 non-byte-aligned bit fields.
8567
8568 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8569
8570 PR gdb/12616
8571 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8572 respects the DW_AT_data_bit_offset attribute.
8573
8574 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8575
8576 * gdb.base/default.exp: Fix output of "set language".
8577
8578 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8579
8580 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8581 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8582 make.
8583 * configure.ac: Remove checks for the make program.
8584 * configure: Re-generate.
8585
8586 2016-11-16 Kevin Buettner <kevinb@redhat.com>
8587
8588 * gdb.python/py-recurse-unwind.c (main): Add loop.
8589 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8590 to read_register() and gdb.parse_and_eval(). Make each code
8591 call a separate case that can be individually tested.
8592 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8593 proc. Call cont_and_backtrace for each of the code paths that
8594 we want to test in the unwinder.
8595
8596 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8597
8598 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8599 the definition of struct S.
8600
8601 2016-11-11 Catherine Moore <clm@codesourcery.com>
8602
8603 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8604
8605 2016-11-09 Pedro Alves <palves@redhat.com>
8606
8607 * gdb.base/commands.exp (runto_or_return): New procedure.
8608 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8609 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8610 (progvar_simple_while_test, progvar_complex_if_while_test)
8611 (if_while_breakpoint_command_test)
8612 (infrun_breakpoint_command_test, breakpoint_command_test)
8613 (user_defined_command_test, watchpoint_command_test)
8614 (test_command_prompt_position, redefine_hook_test)
8615 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8616 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8617 multi_line_input and multi_line. Remove gdb_expect and
8618 gdb_stop_suppressing_tests uses.
8619 * lib/gdb.exp (valnum_re): New global.
8620 (multi_line_input): New procedure.
8621
8622 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8623
8624 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8625 Remove.
8626 (test_setup): Define with proc_with_prefix.
8627 (test_cli_inferior): Likewise.
8628 (test_cli_thread): Likewise.
8629 (test_cli_frame): Likewise.
8630 (test_cli_select_frame): Likewise.
8631 (test_cli_up_down): Likewise.
8632 (test_mi_thread_select): Likewise.
8633 (test_mi_stack_select_frame): Likewise.
8634 (test_cli_in_mi_inferior): Likewise.
8635 (test_cli_in_mi_thread): Likewise.
8636 (test_cli_in_mi_frame): Likewise.
8637 (top level): Do not use with_test_prefix_procname.
8638
8639 2016-11-09 Pedro Alves <palves@redhat.com>
8640
8641 * gdb.base/commands.exp (gdbvar_simple_if_test)
8642 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8643 (progvar_simple_if_test, progvar_simple_while_test)
8644 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8645 (infrun_breakpoint_command_test, breakpoint_command_test)
8646 (user_defined_command_test, watchpoint_command_test)
8647 (test_command_prompt_position, deprecated_command_test)
8648 (bp_deleted_in_command, temporary_breakpoint_commands)
8649 (stray_arg0_test, source_file_with_indented_comment)
8650 (recursive_source_test, if_commands_test)
8651 (error_clears_commands_left, redefine_hook_test)
8652 (redefine_backtrace_test): Use proc_with_prefix.
8653 * lib/gdb.exp (proc_with_prefix): New proc.
8654
8655 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8656
8657 * gdb.base/tui-layout.c: New file.
8658 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8659 disassembly window contains very long lines.
8660
8661 2016-11-08 Tom Tromey <tom@tromey.com>
8662
8663 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8664 depend on Python 2.
8665
8666 2016-11-08 Tom Tromey <tom@tromey.com>
8667
8668 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8669 New method.
8670
8671 2016-10-29 Manish Goregaokar <manish@mozilla.com>
8672
8673 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
8674
8675 2016-10-27 Manish Goregaokar <manish@mozilla.com>
8676
8677 * gdb.rust/simple.rs: Add test for univariant enums without
8678 discriminants and for encoded struct-like enums.
8679
8680 2016-10-28 Pedro Alves <palves@redhat.com>
8681
8682 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8683 gdb_test_multiple, tighten regexps and match symtabs and line
8684 tables incrementally.
8685
8686 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
8687
8688 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8689 general.
8690
8691 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
8692
8693 * gdb.base/exec-invalid-sysroot.exp: New file.
8694
8695 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8696
8697 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8698
8699 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8700
8701 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8702
8703 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8704
8705 * gdb.base/killed-outside.exp: Remove $options from a call to
8706 `prepare_for_testing'.
8707
8708 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8709
8710 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8711 Change test message.
8712
8713 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8714
8715 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8716 Update comment.
8717
8718 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8719
8720 * gdb.trace/mi-trace-save.exp: New file.
8721
8722 2016-10-13 Yao Qi <yao.qi@linaro.org>
8723
8724 * gdb.base/code_elim.exp (get_var_address): Remove.
8725 * gdb.base/relocate.exp: Likewise.
8726 * gdb.base/shreloc.exp: Likewise.
8727 * lib/gdb.exp (get_var_address): New.
8728
8729 2016-10-13 Yao Qi <yao.qi@linaro.org>
8730
8731 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8732 floating point tests if $skip_float_test is false.
8733
8734 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
8735
8736 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8737 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8738 argc values.
8739 Add 1 to argc so we guarantee distinct initial/modified argc values.
8740
8741 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8742
8743 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8744
8745 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8746
8747 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8748 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8749 * gdb.arch/vsx-regs.exp: Likewise.
8750
8751 2016-10-07 Yao Qi <yao.qi@linaro.org>
8752
8753 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8754
8755 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8756
8757 * gdb.python/python.exp: Test decode_line("*0").
8758
8759 2016-10-06 Doug Evans <dje@google.com>
8760
8761 * gdb.python/py-value.exp (test_value_creation): Add test for large
8762 unsigned 64-bit value.
8763
8764 2016-10-06 Tom Tromey <tom@tromey.com>
8765
8766 * gdb.compile/compile.exp: Change java tests to rust.
8767 * gdb.base/setshow.exp: Change java tests to rust.
8768 * gdb.base/default.exp: Remove java from language list.
8769 * README (Examples): Update language example.
8770 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8771 test.
8772 * lib/gdb.exp (skip_java_tests): Remove.
8773 * lib/java.exp: Remove.
8774 * gdb.java: Remove.
8775
8776 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8777
8778 * gdb.arch/mips-fcr.exp: New test.
8779 * gdb.arch/mips-fcr.c: Source for the new test.
8780
8781 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8782
8783 * gdb.base/solib-disc.exp: Use `standard_output_file'
8784 throughout.
8785
8786 2016-10-06 Pedro Alves <palves@redhat.com>
8787
8788 * gdb.base/jit-simple-dl.c: New file.
8789 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8790 * gdb.base/jit-simple.c: ... this.
8791 * gdb.base/jit-simple.exp (jit_run): Delete.
8792 (build_jit): New proc.
8793 (jit_test_reread): Recompile either the main program or the shared
8794 library, depending on what is being tested. Skip changing address
8795 if caller wants to. Compare before/after addresses. If testing
8796 standalone, explicitly load the binary. Test "maint info
8797 breakpoints".
8798 (top level): Add "standalone vs shared lib" and "change address"
8799 vs "same address" axes.
8800
8801 2016-10-06 Pedro Alves <palves@redhat.com>
8802
8803 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8804 call.
8805 (jit_run): Delete.
8806 (jit_test_reread): Use with_test_prefix. Reload the main binary
8807 explicitly. Compare the before/after addresses of the JIT
8808 descriptor.
8809
8810 2016-08-15 Doug Evans <dje@google.com>
8811
8812 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8813 for single bitfields is bool.
8814 * gdb.xml/tdesc-regs.exp: Ditto.
8815
8816 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8817
8818 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8819
8820 2016-10-05 Yao Qi <yao.qi@linaro.org>
8821
8822 * lib/gdb.exp (support_complex_tests): Return zero if
8823 gdb_skip_float_test return true.
8824
8825 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8826 Simon Marchi <simon.marchi@ericsson.com>
8827
8828 PR gdb/20487
8829 * gdb.mi/user-selected-context-sync.exp: New file.
8830 * gdb.mi/user-selected-context-sync.c: New file.
8831
8832 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8833 Simon Marchi <simon.marchi@ericsson.com>
8834
8835 PR gdb/20487
8836 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8837 =thread-select-event check.
8838
8839 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8840
8841 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8842 the compulsory L operand changes.
8843 * gdb.arch/powerpc-power.s: Likewise.
8844
8845 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8846
8847 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8848 * gdb.base/jit-attach-pie.c: New file.
8849 * gdb.base/jit-attach-pie.exp: New file.
8850
8851 2016-09-28 Pedro Alves <palves@redhat.com>
8852
8853 * gdb.base/infcall-input.c: New file.
8854 * gdb.base/infcall-input.exp: New file.
8855
8856 2016-09-22 Yao Qi <yao.qi@linaro.org>
8857
8858 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8859 (gdb_exit): Rename it to ...
8860 (gdbserver_gdb_exit): ... Close GDBserver.
8861 (gdb_exit): New proc, call gdbserver_gdb_exit.
8862 (mi_gdb_exit): Likewise.
8863
8864 2016-09-22 Yao Qi <yao.qi@linaro.org>
8865
8866 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8867 path.
8868 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8869 Remove duplication.
8870
8871 2016-09-22 Yao Qi <yao.qi@linaro.org>
8872
8873 * lib/gdbserver-support.exp: Check the existence of
8874 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8875
8876 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8877
8878 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8879
8880 2016-09-21 Tom Tromey <tom@tromey.com>
8881
8882 PR gdb/20604:
8883 * gdb.base/quit.exp: New file.
8884
8885 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8886
8887 * .gitignore: New file.
8888
8889 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8890
8891 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8892 throughout.
8893
8894 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8895
8896 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8897
8898 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8899
8900 * gdb.cp/casts.cc (decltype): Move it ...
8901 (main): ... with its call to ...
8902 * gdb.cp/casts03.cc: ... a new file.
8903 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8904
8905 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8906
8907 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8908
8909 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8910
8911 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8912 and sync up the test with tests in gas/testsuite/gas/ppc.
8913 * gdb.arch/powerpc-power.exp: Likewise.
8914
8915 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8916
8917 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8918
8919 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8920 Jan Kratochvil <jan.kratochvil@redhat.com>
8921
8922 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8923 make m1's definition to be different from m2's. Use 'dummy' as an
8924 argument for probe 'two'.
8925
8926 2016-09-10 Jon Beniston <jon@beniston.com>
8927
8928 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8929 for sim target.
8930
8931 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8932
8933 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8934 variable declaration.
8935 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8936 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8937 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8938 received HWCAP as its argument.
8939
8940 2016-09-06 Pedro Alves <palves@redhat.com>
8941
8942 * gdb.base/new-ui-pending-input.c: New file.
8943 * gdb.base/new-ui-pending-input.exp: New file.
8944 * gdb.exp (clear_gdb_spawn_id): New procedure.
8945 (with_spawn_id): Check whether gdb_spawn_id exists before
8946 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8947 on exit.
8948
8949 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8950
8951 * gdb.base/float128.c: New file.
8952 * gdb.base/float128.exp: Likewise.
8953 * gdb.base/floatn.c: Likewise.
8954 * gdb.base/floatn.exp: Likewise.
8955
8956 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8957
8958 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8959
8960 2016-09-05 Pedro Alves <palves@redhat.com>
8961
8962 PR backtrace/19927
8963 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8964 unwinders are immediately called as side effect of "source" or
8965 "disable unwinder" commands.
8966 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8967
8968 2016-09-02 Yao Qi <yao.qi@linaro.org>
8969
8970 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
8971 is true and $type is "float" or "double".
8972
8973 2016-09-02 Yao Qi <yao.qi@linaro.org>
8974
8975 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
8976 true.
8977 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
8978 * gdb.base/call-rt-st.exp: Likewise.
8979 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
8980 return value instead of gdb,skip_float_test.
8981 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
8982 (do_function_calls): Use its return value instead of
8983 gdb,skip_float_test.
8984 * gdb.base/finish.exp: Likewise.
8985 * gdb.base/funcargs.exp: Likewise.
8986 * gdb.base/return.exp: Likewise.
8987 * gdb.base/return2.exp: Likewise.
8988 * gdb.base/varargs.exp: Likewise.
8989 * lib/gdb.exp (gdb_skip_float_test): Change it to
8990 gdb_caching_proc. Detect the broken ptrace on arm-linux.
8991
8992 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
8993
8994 * gdb.multi/tids.exp: Test "thread apply all".
8995
8996 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8997
8998 * gdb.base/default.exp (tty): Remove.
8999
9000 2016-08-24 Kevin Buettner <kevinb@redhat.com>
9001
9002 * gdb.python/py-recurse-unwind.c: New file.
9003 * gdb.python/py-recurse-unwind.py: New file.
9004 * gdb.python/py-recurse-unwind.exp: New file.
9005
9006 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9007
9008 * gdb.base/set-inferior-tty.exp: New file.
9009 * gdb.base/set-inferior-tty.c: New file.
9010
9011 2016-08-23 Pedro Alves <palves@redhat.com>
9012
9013 PR gdb/20494
9014 * gdb.base/new-ui-echo.c: New file.
9015 * gdb.base/new-ui-echo.exp: New file.
9016
9017 2016-08-23 Yao Qi <yao.qi@linaro.org>
9018
9019 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9020 gdbserver_spawn.
9021 * gdb.server/connect-without-multi-process.exp (do_test):
9022 Likewise.
9023
9024 2016-08-23 Yao Qi <yao.qi@linaro.org>
9025
9026 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9027 standalone_txt. Delete gdb_txt and standalone_txt on host
9028 and target. Spawn the binary on target. Copy files from
9029 target to host.
9030
9031 2016-08-22 Pedro Alves <palves@redhat.com>
9032
9033 PR gdb/20505
9034 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9035 with_test_prefix. Factor out bits to ...
9036 (test_no_vdso): ... this new procedure.
9037
9038 2016-08-19 Carl Love <cel@us.ibm.com>
9039
9040 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9041 maintaining separate logic for constructing the output path.
9042 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9043 * gdb.arch/ppc-dfp.exp: Likewise.
9044 * gdb.arch/ppc-fp.exp: Likewise.
9045 * gdb.arch/vsx-regs.exp: Likewise.
9046 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9047 binprefix for generating the additional binary files.
9048
9049 2016-08-19 Pedro Alves <palves@redhat.com>
9050
9051 * gdb.trace/mi-trace-frame-collected.exp
9052 (test_trace_frame_collected): On x32, expect two registers.
9053
9054 2016-08-18 Carl Love <cel@us.ibm.com>
9055
9056 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9057 and sync up the test with tests in gas/testsuite/gas/ppc.
9058 * gdb.arch/powerpc-power.exp: Likewise.
9059
9060 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9061
9062 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9063 expected error message.
9064
9065 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9066
9067 * gdb.multi/remove-inferiors.exp: New file.
9068 * gdb.multi/remove-inferiors.c: New file.
9069
9070 2016-08-12 Yao Qi <yao.qi@linaro.org>
9071
9072 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9073 argument list.
9074
9075 2016-08-10 Pedro Alves <palves@redhat.com>
9076
9077 PR gdb/19187
9078 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9079 setup_kfails.
9080
9081 2016-08-09 Pedro Alves <palves@redhat.com>
9082 Simon Marchi <simon.marchi@ericsson.com>
9083
9084 PR gdb/20418
9085 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9086 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9087
9088 2016-08-09 Pedro Alves <palves@redhat.com>
9089
9090 PR mi/20431
9091 * gdb.mi/mi-cmd-error.exp: New file.
9092
9093 2016-08-09 Pedro Alves <palves@redhat.com>
9094
9095 PR gdb/18653
9096 * gdb.base/signals-state-child.c: New file.
9097 * gdb.base/signals-state-child.exp: New file.
9098 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9099
9100 2016-08-09 Pedro Alves <palves@redhat.com>
9101
9102 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9103
9104 2016-08-03 Tom Tromey <tom@tromey.com>
9105
9106 PR python/18565:
9107 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9108
9109 2016-08-01 Yao Qi <yao.qi@linaro.org>
9110
9111 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9112 variable mode to "multi-process" if $multi_process is 1, otherwise
9113 set it to "single-process".
9114
9115 2016-08-01 Yao Qi <yao.qi@linaro.org>
9116
9117 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9118 * gdb.cp/cpexprs.exp: Likewise.
9119 * gdb.cp/m-static.exp: Likewise.
9120
9121 2016-07-26 Tom Tromey <tom@tromey.com>
9122
9123 PR python/20190:
9124 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9125 test.
9126
9127 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9128
9129 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9130 selecting assembly source files.
9131 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9132 assembly source files.
9133 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9134 assembly source files.
9135 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9136 selecting assembly source files.
9137
9138 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9139
9140 * gdb.base/new-ui.exp (do_test_invalid_args): New
9141 procedure.
9142
9143 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9144
9145 * gdb.btrace/reconnect.c: New file.
9146 * gdb.btrace/reconnect.exp: New file.
9147
9148 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9149
9150 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9151 to test_catch_syscall_group.
9152 (test_catch_syscall_group): New.
9153
9154 2016-07-21 Tom Tromey <tom@tromey.com>
9155
9156 * gdb.rust/simple.rs (main): Use empty struct expression.
9157 * gdb.rust/simple.exp: Add tests for empty struct expression.
9158
9159 2016-07-21 Yao Qi <yao.qi@linaro.org>
9160
9161 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9162 if gdb_skip_xml_test is true on some targets.
9163
9164 2016-07-21 Yao Qi <yao.qi@linaro.org>
9165
9166 * gdb.server/solib-list.exp: Unset last_loaded_file.
9167
9168 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9169
9170 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9171 "step into captured_main (args)".
9172
9173 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9174
9175 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9176
9177 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9178
9179 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9180
9181 2016-07-19 Pedro Alves <palves@redhat.com>
9182
9183 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9184 * gdb.opt/inline-bt.exp: Likewise.
9185 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9186 additional_flags=-Winline.
9187 * gdb.opt/inline-locals.exp: Likewise.
9188 * gdb.opt/inline-markers.c (ATTR): Define.
9189 (inlined_fn): Use it.
9190
9191 2016-07-19 Yao Qi <yao.qi@linaro.org>
9192
9193 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9194 (test_with_self): Remove some code. Remove argument executable.
9195 (top-level): Use do_self_tests.
9196
9197 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
9198 Don Breazeal <donb@codesourcery.com>
9199
9200 * gdb.base/maint.exp: Escape paths used in regular expressions.
9201 * gdb.stabs/weird.exp: Likewise.
9202
9203 2016-07-13 Tom Tromey <tom@tromey.com>
9204
9205 PR python/15620, PR python/18620:
9206 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9207 (test_bkpt_events): New procs.
9208
9209 2016-07-13 Tom Tromey <tom@tromey.com>
9210
9211 PR python/17698:
9212 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9213 test.
9214 (test_watchpoints): Likewise.
9215 (test_bkpt_pending): New proc.
9216
9217 2016-07-13 Tom Tromey <tom@tromey.com>
9218
9219 PR cli/18053:
9220 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9221 completion test.
9222
9223 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9224
9225 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9226 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9227 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9228 f_label.
9229 (g): Rename g_end_lbl to g_label.
9230 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9231 low_pc and high_pc.
9232 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9233
9234 2016-07-12 Tom Tromey <tom@tromey.com>
9235
9236 PR python/19293:
9237 * gdb.python/py-unwind-maint.exp: Update tests.
9238
9239 2016-07-12 Yao Qi <yao.qi@linaro.org>
9240
9241 * lib/selftest-support.exp (selftest_setup): Match the output
9242 when captured_main is inlined.
9243
9244 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9245
9246 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9247 New variables.
9248 (print this%a, print this%b, print this): New tests.
9249 * gdb.fortran/derived-types.f90 (this): New object and
9250 initialization.
9251
9252 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9253
9254 * gdb.ada/arraydim.exp: Remove extra directory level in build
9255 directory.
9256
9257 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9258
9259 * lib/ada.exp: Remove extra directory level in build directory.
9260 * gdb.ada/cond_lang.exp: Likewise.
9261 * gdb.ada/exec_changed.exp: Likewise.
9262 * gdb.ada/lang_switch.exp: Likewise.
9263
9264 2016-07-06 Manish Goregaokar <manish@mozilla.com>
9265
9266 * simple.rs: Add test for raw pointer subscripting.
9267 * simple.exp: Add test expectations.
9268
9269 2016-07-05 Yao Qi <yao.qi@linaro.org>
9270
9271 * gdb.mi/mi-reverse.exp: Match =record-started output.
9272
9273 2016-07-01 Pedro Alves <palves@redhat.com>
9274
9275 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9276 procedure.
9277 (jit_reader_test): Test the jit reader's unwinder.
9278 * gdb.base/jithost.c (jit_function_00_code): New global.
9279 (main): Use memcpy to fill in the mmapped code, instead of poking
9280 bytes manually here.
9281 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9282 value.
9283 (read_debug_info): Save the function's range.
9284 (read_sp): New function.
9285 (unwind_frame): Use it. Also unwind RBP.
9286 (get_frame_id): Use read_sp.
9287 (gdb_init_reader): Use calloc instead of malloc.
9288 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9289 parameter. Use gdb_test_multiple.
9290
9291 2016-07-01 Pedro Alves <palves@redhat.com>
9292 Antoine Tremblay <antoine.tremblay@ericsson.com>
9293
9294 * gdb.threads/process-dies-while-detaching.c: New file.
9295 * gdb.threads/process-dies-while-detaching.exp: New file.
9296
9297 2016-07-01 Pedro Alves <palves@redhat.com>
9298
9299 * gdb.multi/watchpoint-multi-exit.c: New file.
9300 * gdb.multi/watchpoint-multi-exit.exp: New file.
9301
9302 2016-06-30 Pedro Alves <palves@redhat.com>
9303
9304 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9305 unset inferior_spawn_id.
9306
9307 2016-06-30 Pedro Alves <palves@redhat.com>
9308
9309 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9310 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9311
9312 2016-06-29 Yao Qi <yao.qi@linaro.org>
9313
9314 * gdb.base/return.c: Add copyright header.
9315
9316 2016-06-29 Tom Tromey <tom@tromey.com>
9317
9318 PR python/20129:
9319 * gdb.python/py-framefilter.exp: Add tests for setting priority
9320 and disabling of non-existent frame filter.
9321
9322 2016-06-29 Yao Qi <yao.qi@linaro.org>
9323
9324 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9325 0x0f07ff.
9326
9327 2016-06-28 Yao Qi <yao.qi@linaro.org>
9328
9329 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9330 triplets. Start gdb, execute catch syscall, and continue. Check
9331 gdb's output to determine catch syscall is supported.
9332
9333 2016-06-27 Manish Goregaokar <manish@mozilla.com>
9334
9335 * gdb.rust/simple.rs: Add test for returning unit in a function.
9336 * gdb.rust/simple.exp: Add expectation for functions returning
9337 unit.
9338
9339 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9340
9341 * gdb.python/py-breakpoint-create-fail.c,
9342 gdb.python/py-breakpoint-create-fail.exp,
9343 gdb.python/py-breakpoint-create-fail.py: New testcase.
9344
9345 2016-06-25 Manish Goregaokar <manish@mozilla.com>
9346
9347 PR gdb/20239
9348 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9349 * gdb.rust/simple.exp: Add test expectations for new NonZero
9350 tests.
9351
9352 2016-06-24 David Taylor <dtaylor@emc.com>
9353
9354 * gdb.base/offsets.exp: New file.
9355 * gdb.base/offsets.c: New file.
9356
9357 2016-06-23 Tom Tromey <tom@tromey.com>
9358
9359 PR gdb/16483:
9360 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9361 before any filters are loaded.
9362
9363 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9364
9365 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9366 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9367 structs.
9368 * gdb.fortran/derived-type-function.exp: New file.
9369 * gdb.fortran/derived-type-function.f90: New file.
9370
9371
9372 2016-06-21 Pedro Alves <palves@redhat.com>
9373
9374 * gdb.base/new-ui.exp: New file.
9375 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9376 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9377 (with_spawn_id): New procedure.
9378
9379 2016-06-21 Pedro Alves <palves@redhat.com>
9380
9381 * gdb.mi/mi-exec-run.exp: New file.
9382
9383 2016-06-21 Pedro Alves <palves@redhat.com>
9384
9385 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9386 breakpoint command's output on the main UI.
9387 (test_break): New procedure, factored out from calls in the top
9388 level.
9389 (top level): Use foreach_with_prefix to test MI as main UI and as
9390 separate UI.
9391
9392 2016-06-21 Pedro Alves <palves@redhat.com>
9393
9394 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9395 (test_awatch_creation_and_listing)
9396 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9397 Remove 'type' parameter.
9398 (test_watchpoint_all): New parameter mi_mode. Remove
9399 with_test_prefix.
9400 (top level): Use foreach_with_prefix, and add main/separate UI MI
9401 testing axis.
9402
9403 2016-06-21 Pedro Alves <palves@redhat.com>
9404
9405 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9406 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9407 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9408 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9409 (gdb_main_spawn_id, mi_spawn_id): Declare and
9410 comment.
9411 (mi_create_inferior_pty): New procedure,
9412 factored out from default_mi_gdb_start.
9413 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9414 procedures.
9415 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9416 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9417 Use mi_create_inferior_pty.
9418 (mi_gdb_start): Use eval to pass down args list.
9419
9420 2016-06-21 Pedro Alves <palves@redhat.com>
9421
9422 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9423 * gdb.opt/inline-cmds.exp: Add MI tests.
9424
9425 2016-06-21 Pedro Alves <palves@redhat.com>
9426
9427 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9428
9429 2016-06-21 Pedro Alves <palves@redhat.com>
9430
9431 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9432 (top level): Use it instead of mi_execute_to.
9433
9434 2016-06-21 Pedro Alves <palves@redhat.com>
9435
9436 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9437 (cont_handler_str): New.
9438 (signal_stop_handler): Set stop_handler_str instead of printing to
9439 stdout.
9440 (continue_handler): Set cont_handler_str instead of printing to
9441 stdout.
9442 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9443 mi_send_resuming_command. Print stop_handler_str and
9444 cont_handler_str instead of expecting the python events print
9445 directly.
9446
9447 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9448
9449 * gdb.base/jit-reader.exp: New file.
9450 * gdb.base/jithost.c: New file.
9451 * gdb.base/jithost.h: New file.
9452 * gdb.base/jitreader.c : New file.
9453 * gdb.base/jit-protocol.h: New file.
9454
9455 2016-06-17 Yao Qi <yao.qi@linaro.org>
9456
9457 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9458 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9459 and detach-on-fork. Adjust tests.
9460 (top level): Invoke break_cond_on_syscall with combinations of
9461 syscall, follow-fork-mode and detach-on-fork.
9462
9463 2016-06-17 Yao Qi <yao.qi@linaro.org>
9464
9465 * gdb.base/step-over-exit.c: New.
9466 * gdb.base/step-over-exit.exp: New.
9467
9468 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9469
9470 * gdb.base/float.exp: Add target check for nds32*-*-*.
9471 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9472
9473 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9474
9475 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9476 for unsupported target features.
9477 * gdb.base/call-rt-st.exp: Likewise.
9478 * gdb.base/call-sc.exp: Likewise.
9479 * gdb.base/call-signal-resume.exp: Likewise.
9480 * gdb.base/call-strs.exp: Likewise.
9481 * gdb.base/callexit.exp: Likewise.
9482 * gdb.base/callfuncs.exp: Likewise.
9483 * gdb.base/nodebug.exp: Likewise.
9484 * gdb.base/printcmds.exp: Likewise.
9485 * gdb.base/ptype.exp: Likewise.
9486 * gdb.base/structs.exp: Likewise.
9487 * gdb.base/unwindonsignal.exp: Likewise.
9488 * gdb.cp/gdb2495.exp: Likewise.
9489 * gdb.cp/templates.exp: Likewise.
9490 * gdb.cp/virtfunc.exp: Likewise.
9491 * gdb.threads/hand-call-in-threads.exp: Likewise.
9492 * gdb.threads/interrupted-hand-call.exp: Likewise.
9493 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9494
9495 2016-06-10 Tom Tromey <tom@tromey.com>
9496
9497 PR rust/20110:
9498 * gdb.rust/expr.exp: Add test for integer constant larger than
9499 i32.
9500
9501 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9502
9503 * gdb.fortran/nested-funcs.exp: New.
9504 * gdb.fortran/nested-funcs.f90: New.
9505
9506 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9507
9508 * gdb.base/examine-backward.c: New file.
9509 * gdb.base/examine-backward.exp: New file.
9510
9511 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9512
9513 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9514 matching.
9515
9516 2016-06-02 Tom Tromey <tom@tromey.com>
9517
9518 PR python/18984:
9519 * gdb.python/py-shared.exp: Add solib_name test.
9520
9521 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9522
9523 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9524
9525 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9526
9527 PR c++/19893
9528 * gdb.dwarf2/implref.exp: Rename to...
9529 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9530 * gdb.dwarf2/implref-array.c: New file.
9531 * gdb.dwarf2/implref-array.exp: Likewise.
9532 * gdb.dwarf2/implref-global.c: Likewise.
9533 * gdb.dwarf2/implref-global.exp: Likewise.
9534 * gdb.dwarf2/implref-struct.c: Likewise.
9535 * gdb.dwarf2/implref-struct.exp: Likewise.
9536
9537 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9538
9539 * gdb.trace/trace-condition.exp: Add 64bit tests.
9540
9541 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9542
9543 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9544 bits types.
9545 (main): Adapt to 8 to 64 bits types.
9546 * gdb.trace/trace-condition.exp: Add new tests.
9547
9548 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9549
9550 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9551
9552 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9553
9554 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9555 Move condition tests...
9556 * gdb.trace/trace-condition.exp: Here.
9557
9558 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9559
9560 * gdb.trace/trace-condition.exp: Add counter-case tests.
9561
9562 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9563
9564 PR c++/15231
9565 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9566 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9567
9568 2016-05-27 Pedro Alves <palves@redhat.com>
9569
9570 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9571 New procedure.
9572 (top level): Call it, and bail out of DejaGnu is known to be bad.
9573
9574 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9575
9576 * gdb.base/whatis.c: Extend the test case.
9577 * gdb.base/whatis.exp: Add additional tests.
9578
9579 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9580
9581 * gdb.fortran/type.f90: Add pointer variable.
9582 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9583
9584 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9585
9586 * gdb.fortran/vla-type.exp: Fix testcase name.
9587
9588 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9589
9590 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9591
9592 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9593
9594 * gdb.fortran/type.f90: Add nested structures.
9595 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9596 * gdb.fortran/derived-type.exp: Adapt expected output.
9597 * gdb.fortran/vla-type.exp: Adapt expected output.
9598
9599 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9600
9601 * gdb.fortran/whatis_type.exp: Adapt expected output.
9602
9603 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9604
9605 * gdb.fortran/print_type.exp: Fix expected output.
9606 * gdb.fortran/whatis_type.exp: Fix expected output.
9607
9608 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9609
9610 * gdb.fortran/whatis_type.exp: Use multi_line.
9611
9612 2016-05-24 Tom Tromey <tom@tromey.com>
9613
9614 PR python/17386:
9615 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9616 use value as an index.
9617
9618 2016-05-23 Tom Tromey <tom@tromey.com>
9619
9620 PR python/17981:
9621 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9622 no-breakpoint case.
9623
9624 2016-05-24 Pedro Alves <palves@redhat.com>
9625
9626 PR gdb/19828
9627 * gdb.threads/clone-attach-detach.c: New file.
9628 * gdb.threads/clone-attach-detach.exp: New file.
9629
9630 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9631
9632 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9633
9634 2016-05-23 Tom Tromey <tom@tromey.com>
9635
9636 PR python/19438, PR python/18393:
9637 * gdb.python/py-progspace.exp: Add "dir" test.
9638 * gdb.python/py-objfile.exp: Add "dir" test.
9639
9640 2016-05-23 Yao Qi <yao.qi@linaro.org>
9641
9642 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9643 * gdb.arch/thumb2-it.exp: Likewise.
9644
9645 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9646
9647 * gdb.mi/mi-threads-interrupt.c: New file.
9648 * gdb.mi/mi-threads-interrupt.exp: New file.
9649
9650 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9651
9652 PR gdb/18077
9653 * gdb.mi/mi-async-run.exp: New file.
9654 * gdb.mi/mi-async-run.c: New file.
9655
9656 2016-05-17 Tom Tromey <tom@tromey.com>
9657 Manish Goregaokar <manishsmail@gmail.com>
9658
9659 * lib/rust-support.exp: New file.
9660 * lib/gdb.exp (skip_rust_tests): New proc.
9661 (build_executable_from_specs): Handle rust.
9662 * lib/future.exp (gdb_find_rustc): New proc.
9663 (gdb_default_target_compile): Handle rust.
9664 * gdb.rust/expr.exp: New file.
9665 * gdb.rust/generics.exp: New file.
9666 * gdb.rust/generics.rs: New file.
9667 * gdb.rust/methods.exp: New file.
9668 * gdb.rust/methods.rs: New file.
9669 * gdb.rust/modules.exp: New file.
9670 * gdb.rust/modules.rs: New file.
9671 * gdb.rust/simple.exp: New file.
9672 * gdb.rust/simple.rs: New file.
9673
9674 2016-05-17 Tom Tromey <tom@tromey.com>
9675
9676 * gdb.base/default.exp (set language): Add rust.
9677
9678 2016-05-17 Tom Tromey <tom@tromey.com>
9679
9680 * gdb.gdb/unittest.exp: New file.
9681
9682 2016-05-16 Yao Qi <yao.qi@linaro.org>
9683
9684 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9685 shell_prompt. Update shell_prompt_re.
9686
9687 2016-05-12 Doug Evans <dje@google.com>
9688
9689 PR symtab/19999
9690 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9691 $options when building executable.
9692 * gdb.dwarf2/fission-loclists-pie.S: New file.
9693 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9694
9695 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9696
9697 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
9698 of [is_remote target],
9699
9700 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9701
9702 * lib/gdb.exp (use_gdb_stub): New procedure.
9703
9704 2016-05-03 Yunlian Jiang <yunlian@google.com>
9705 Doug Evans <dje@google.com>
9706
9707 PR symtab/19914
9708 * gdb.dwarf2/dwp-sepdebug.c: New file.
9709 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9710
9711 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9712
9713 * gdb.base/detach.exp: Remove is_remote check.
9714
9715 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9716
9717 * gdb.base/annota-input-while-running.exp: Don't check for
9718 [is_remote target]. Enable annotations after running to main.
9719 Remove unused "set test..." line.
9720
9721 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9722
9723 * gdb.trace/trace-enable-disable.exp: New file.
9724 * gdb.trace/trace-enable-disable.c: New file.
9725
9726 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9727
9728 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9729 use it in info sharedlibrary test.
9730 * gdb.trace/ftrace-lock.exp: Likewise.
9731 * gdb.trace/ftrace.exp: Likewise.
9732 * gdb.trace/range-stepping.exp: Likewise.
9733 * gdb.trace/trace-break.exp: Likewise.
9734 * gdb.trace/trace-condition.exp: Likewise.
9735 * gdb.trace/trace-mt.exp: Likewise.
9736
9737 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9738
9739 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9740 (gdb_load_shlib): ... this.
9741 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9742 gdb_load_shlib.
9743 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9744 * gdb.base/ctxobj.exp: Likewise.
9745 * gdb.base/dprintf-pending.exp: Likewise.
9746 * gdb.base/dso2dso.exp: Likewise.
9747 * gdb.base/fixsection.exp: Likewise.
9748 * gdb.base/gcore-relro.exp: Likewise.
9749 * gdb.base/gdb1555.exp: Likewise.
9750 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9751 * gdb.base/gnu-ifunc.exp: Likewise.
9752 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9753 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9754 * gdb.base/pending.exp: Likewise.
9755 * gdb.base/print-file-var.exp: Likewise.
9756 * gdb.base/print-symbol-loading.exp: Likewise.
9757 * gdb.base/shlib-call.exp: Likewise.
9758 * gdb.base/shreloc.exp: Likewise.
9759 * gdb.base/so-impl-ld.exp: Likewise.
9760 * gdb.base/solib-disc.exp: Likewise.
9761 * gdb.base/solib-nodir.exp: Likewise.
9762 * gdb.base/solib-overlap.exp: Likewise.
9763 * gdb.base/solib-symbol.exp: Likewise.
9764 * gdb.base/solib-weak.exp (do_test): Likewise.
9765 * gdb.base/sym-file.exp: Likewise.
9766 * gdb.base/symtab-search-order.exp: Likewise.
9767 * gdb.base/type-opaque.exp: Likewise.
9768 * gdb.base/unload.exp: Likewise.
9769 * gdb.base/watchpoint-solib.exp: Likewise.
9770 * gdb.compile/compile.exp: Likewise.
9771 * gdb.cp/gdb2384.exp: Likewise.
9772 * gdb.cp/infcall-dlopen.exp: Likewise.
9773 * gdb.cp/re-set-overloaded.exp: Likewise.
9774 * gdb.fortran/library-module.exp: Likewise.
9775 * gdb.opt/solib-intra-step.exp: Likewise.
9776 * gdb.python/py-finish-breakpoint.exp: Likewise.
9777 * gdb.python/py-shared.exp: Likewise.
9778 * gdb.reverse/solib-precsave.exp: Likewise.
9779 * gdb.reverse/solib-reverse.exp: Likewise.
9780 * gdb.server/solib-list.exp: Likewise.
9781 * gdb.threads/dlopen-libpthread.exp: Likewise.
9782 * gdb.threads/tls-shared.exp: Likewise.
9783 * gdb.threads/tls-so_extern.exp: Likewise.
9784 * gdb.trace/change-loc.exp: Likewise.
9785 * gdb.trace/ftrace-lock.exp: Likewise.
9786 * gdb.trace/ftrace.exp: Likewise.
9787 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9788 * gdb.trace/pending.exp: Likewise.
9789 * gdb.trace/range-stepping.exp: Likewise.
9790 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9791 (strace_info_marker): Likewise.
9792 (strace_probe_marker): Likewise.
9793 (strace_trace_on_same_addr): Likewise.
9794 (strace_trace_on_diff_addr): Likewise.
9795 * gdb.trace/trace-break.exp: Likewise.
9796 * gdb.trace/trace-condition.exp: Likewise.
9797 * gdb.trace/trace-mt.exp: Likewise.
9798
9799 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9800
9801 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9802 result of gdb_remote_download.
9803 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9804 * gdb.base/dso2dso.exp: Likewise.
9805 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9806 * gdb.base/print-file-var.exp: Likewise.
9807 * gdb.base/shlib-call.exp: Likewise.
9808 * gdb.base/shreloc.exp: Likewise.
9809 * gdb.base/solib-overlap.exp: Likewise.
9810 * gdb.base/solib-weak.exp (do_test): Likewise.
9811 * gdb.base/unload.exp: Likewise.
9812
9813 2016-04-27 Yao Qi <yao.qi@linaro.org>
9814
9815 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9816 exists.
9817
9818 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9819
9820 * vla-type.exp: Print structure from toplevel.
9821
9822 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9823
9824 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9825 of dynamic types.
9826 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9827 of dynamic types.
9828
9829 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9830
9831 * gdb.fortran/vla-type.f90: New file.
9832 * gdb.fortran/vla-type.exp: New file.
9833
9834 2016-04-25 Yao Qi <yao.qi@linaro.org>
9835
9836 * gdb.base/branch-to-self.c: New file.
9837 * gdb.base/branch-to-self.exp: New file.
9838
9839 2016-04-22 Yao Qi <yao.qi@linaro.org>
9840
9841 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9842 more after $hex.
9843
9844 2016-04-22 Yao Qi <yao.qi@linaro.org>
9845
9846 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9847 * gdb.base/annota3.exp: Likewise.
9848
9849 2016-04-22 Yao Qi <yao.qi@linaro.org>
9850
9851 * gdb.reverse/step-precsave.exp: Do one step and test program
9852 stops in "callee" and do multiple steps until program goes out
9853 of "callee".
9854 * gdb.reverse/step-reverse.exp: Likewise.
9855
9856 2016-04-22 Yao Qi <yao.qi@linaro.org>
9857
9858 * gdb.trace/signal.exp: Also pass if
9859 $tracepoint_hits($i) > $iterations.
9860
9861 2016-04-22 Yao Qi <yao.qi@linaro.org>
9862
9863 * gdb.trace/signal.c: New file.
9864 * gdb.trace/signal.exp: New file.
9865
9866 2016-04-19 Doug Evans <xdje42@gmail.com>
9867
9868 * gdb.base/bad-file.exp: New file.
9869
9870 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9871
9872 * gdb.dwarf2/implref.exp: New file.
9873
9874 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9875
9876 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9877 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9878 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9879 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9880 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9881 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9882 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9883 * lib/fortran.exp (fortran_int4): New procedure.
9884 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9885 (fortran_logical4): Likewise.
9886
9887 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9888
9889 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9890
9891 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9892
9893 * lib/compiler.c: Add Intel specific preprocessor macros.
9894 * lib/compiler.cc: Likewise.
9895
9896 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
9897
9898 * gdb.server/connect-with-no-symbol-file.c: New file.
9899 * gdb.server/connect-with-no-symbol-file.exp: New file.
9900
9901 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9902
9903 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9904
9905 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9906
9907 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9908 standard output directory.
9909
9910 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9911
9912 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9913
9914 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9915
9916 * gdb.btrace/instruction_history.c (loop): Add declaration.
9917
9918 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9919
9920 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9921
9922 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9923
9924 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9925 parentheses to print.
9926 (continue_handler): Likewise.
9927
9928 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9929
9930 * gdb.server/solib-list.exp: Remove is_remote check.
9931 Pass shlib= to gdb_compile. Don't link shared library with
9932 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9933 Run binary filename through "readlink -f" on the target.
9934
9935 2016-04-08 Pedro Alves <palves@redhat.com>
9936
9937 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9938 interpreter filename as argument to gdbserver_spawn.
9939 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9940 Return empty if $last_loaded_file does not exist.
9941
9942 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9943
9944 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9945 * gdb.base/jit-main.c: Use exit after usage.
9946
9947 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9948
9949 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9950 GDBHISTSIZE prior to the tests.
9951 * gdb.base/gdbinit-history.exp: Likewise.
9952
9953 2016-04-07 Pedro Alves <palves@redhat.com>
9954
9955 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9956 instead of build_executable. Use gdb_load_shlibs.
9957
9958 2016-04-07 Yao Qi <yao.qi@linaro.org>
9959
9960 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9961 Execute "si" command.
9962
9963 2016-04-07 Yao Qi <yao.qi@linaro.org>
9964
9965 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9966 number instead of the comments on some line.
9967
9968 2016-04-06 Don Breazeal <donb@codesourcery.com>
9969
9970 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
9971 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
9972
9973 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
9974
9975 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
9976 standard_output_file. Remove unused binfile variable.
9977
9978 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
9979
9980 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
9981 * gdb.python/py-mi-objfile.exp: Match "list main" output
9982 in console format.
9983
9984 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9985
9986 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
9987 absolute.
9988
9989 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
9990
9991 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
9992 absolute.
9993 * gdb.trace/ftrace.exp: Likewise.
9994 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
9995 targets as well.
9996 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
9997 (gdb_load_shlibs): Copy libraries to test directory when testing
9998 natively. Only set solib-search-path if testing remotely.
9999 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10000
10001 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10002
10003 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10004 gdb_download. Use it even if the target is not remote.
10005 * gdb.base/jit.exp (compile_jit_test): Likewise.
10006 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10007 output directory if the destination board is local, otherwise use
10008 the standard remote_download from DejaGnu.
10009 (gdb_download): Remove.
10010 (gdb_load_shlibs): Use gdb_remote_download instead of
10011 gdb_download.
10012 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10013 Use gdb_remote_download instead of gdb_download. Use it even if
10014 the target is not remote.
10015 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10016 instead of gdb_download.
10017
10018 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10019
10020 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10021 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10022 run.
10023
10024 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
10025
10026 PR gdb/19820
10027 * gdb.base/printcmds.exp: Add artificial arrays tests.
10028
10029 2016-03-31 Pedro Alves <palves@redhat.com>
10030
10031 PR gdb/19858
10032 * gdb.base/jit-main.c: Include unistd.h.
10033 (ATTACH): Define to 0 if not already defined.
10034 (wait_for_gdb, mypid): New globals.
10035 (WAIT_FOR_GDB): New macro.
10036 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10037 some breakpoint locations.
10038 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10039 New procedures.
10040 (one_jit_test): Add REATTACH parameter, and handle it. Use
10041 continue_to_test_location.
10042 (top level): Test attach, and adjusts calls to one_jit_test.
10043
10044 2016-03-31 Pedro Alves <palves@redhat.com>
10045
10046 PR gdb/19858
10047 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10048 BINSUFFIX parameter, and handle it.
10049 (top level): Adjust calls compile_jit_test.
10050
10051 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
10052
10053 PR python/19743
10054 * gdb.python/py-mi-events-gdb.py: New file.
10055 * gdb.python/py-mi-events.c: New file.
10056 * gdb.python/py-mi-events.exp: New file.
10057
10058 2016-03-30 Yao Qi <yao.qi@linaro.org>
10059
10060 * gdb.reverse/until-precsave.exp: Match function name only.
10061 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10062 Move malloc to a condition block.
10063 * gdb.reverse/until-reverse.exp: Match function name only.
10064
10065 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10066
10067 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10068 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10069 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10070 variable for GPR 0 instead of assuming it is register 0.
10071 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10072 * lib/trace-support.exp: Add s390 registers.
10073
10074 2016-03-29 Yao Qi <yao.qi@linaro.org>
10075
10076 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10077
10078 2016-03-24 Yao Qi <yao.qi@linaro.org>
10079
10080 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10081 test message.
10082
10083 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10084
10085 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10086 maintaining separate logic for constructing the output path.
10087
10088 2016-03-16 Don Breazeal <donb@codesourcery.com>
10089
10090 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10091 Retry fork and waitpid on interrupted system call errors.
10092 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10093 Use with_timeout_factor to increase timeout by factor of 10.
10094
10095 2016-03-15 Don Breazeal <donb@codesourcery.com>
10096
10097 * gdb.cp/scope-err.cc: New test program.
10098 * gdb.cp/scope-err.exp: New test script.
10099 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10100 lines and "set breakpoint here" comment.
10101 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10102 Fixed some whitespace and format issues.
10103 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10104 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10105
10106 2016-03-15 Doug Evans <dje@google.com>
10107
10108 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10109 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10110 All callers updated. Add tests for enums, mixed flags register.
10111
10112 2016-03-15 Doug Evans <dje@google.com>
10113
10114 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10115 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10116
10117 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10118
10119 * gdb.base/default.exp: Add $_as_string to the list of expected
10120 convenience functions.
10121
10122 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10123
10124 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10125
10126 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10127
10128 * gdb.python/py-as-string.exp: New file.
10129 * gdb.python/py-as-string.c: New file.
10130
10131 2016-03-09 Pedro Alves <palves@redhat.com>
10132
10133 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10134 signal" -> "Thread NN received signal" output change.
10135 * gdb.threads/ia64-sigill.exp: Likewise.
10136 * gdb.threads/linux-dp.exp: Likewise.
10137 * gdb.threads/manythreads.exp: Likewise.
10138 * gdb.threads/pending-step.exp: Likewise.
10139 * gdb.threads/print-threads.exp: Likewise.
10140 * gdb.threads/sigstep-threads.exp: Likewise.
10141 * gdb.threads/staticthreads.exp: Likewise.
10142 * gdb.threads/tls.exp: Likewise.
10143
10144 2016-03-09 Pedro Alves <palves@redhat.com>
10145
10146 * gdb.base/command-line-input.exp: New file.
10147
10148 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10149
10150 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10151 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10152 * gdb.trace/pending.exp: Accept leading dot before function name.
10153 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10154 * lib/trace-support.exp: Set registers for ppc.
10155
10156 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10157
10158 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10159 use it for disassembly; accept .main in addition to main in backtrace.
10160
10161 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10162 Marcin Kościelnicki <koriakin@0x04.net>
10163
10164 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10165 (gdb_recursion_test_ptr): New global variable.
10166 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10167 gdb_recursion_test.
10168 (gdb_c_test): Ditto.
10169
10170 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10171
10172 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10173 ordering.
10174
10175 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10176
10177 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10178 (bar): Add bar_start_lbl label.
10179 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10180 of foo/bar for emitting DWARF and tracing.
10181
10182 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10183
10184 * analyze-racy-logs.py: Set executable bit.
10185
10186 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10187
10188 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10189 (CHECK_TARGET_TMP): Likewise.
10190 (check-single-racy): New rule.
10191 (check-parallel-racy): Likewise.
10192 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10193 (do-check-parallel-racy): New rule.
10194 (check-racy/%.exp): Likewise.
10195 * README (Racy testcases): New section.
10196 * analyze-racy-logs.py: New file.
10197
10198 2016-03-03 Doug Evans <dje@google.com>
10199
10200 * gdb.base/skip.exp: Use with_test_prefix.
10201
10202 2016-03-03 Yao Qi <yao.qi@linaro.org>
10203
10204 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10205 Invoke step_over_syscall "clone" and break_cond_on_syscall
10206 "clone".
10207 * gdb.base/step-over-clone.c: New file.
10208
10209 2016-03-03 Yao Qi <yao.qi@linaro.org>
10210
10211 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10212 code format.
10213
10214 2016-03-03 Yao Qi <yao.qi@linaro.org>
10215
10216 * gdb.base/disp-step-fork.c: Rename to ...
10217 * gdb.base/step-over-fork.c: ... it. New file.
10218 * gdb.base/disp-step-vfork.c: Rename to ...
10219 * gdb.base/step-over-vfork.c: ... it. New file.
10220 * gdb.base/disp-step-syscall.exp: Rename to ...
10221 * gdb.base/step-over-syscall.exp: ... it. New file.
10222 (disp_step_cross_syscall): Rename to ...
10223 (step_over_syscall): ... it.
10224
10225 2016-03-03 Yao Qi <yao.qi@linaro.org>
10226
10227 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10228 If target supports condition evaluation on target, invoke
10229 break_cond_on_syscall for fork and vfork.
10230
10231 2016-03-03 Yao Qi <yao.qi@linaro.org>
10232
10233 * gdb.base/disp-step-syscall.exp: Don't invoke
10234 support_displaced_stepping.
10235 (disp_step_cross_syscall): Test with displaced stepping off and
10236 on if supported.
10237
10238 2016-03-03 Yao Qi <yao.qi@linaro.org>
10239
10240 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10241 proc.
10242 (setup): New proc.
10243 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10244 and setup.
10245
10246 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10247
10248 * gdb.fortran/vla-history.exp: Remove breakpoint.
10249
10250 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10251
10252 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10253 exceeds timeout.
10254
10255 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10256
10257 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10258 breakpoint.
10259
10260 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10261
10262 * gdb.mi/vla.f90: Nullify pointer after declaration.
10263
10264 2016-03-01 Pedro Alves <palves@redhat.com>
10265
10266 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10267
10268 2016-03-01 Pedro Alves <palves@redhat.com>
10269
10270 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10271 before anything else.
10272 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10273 _GNU_SOURCE here.
10274 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10275 before anything else.
10276 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10277
10278 2016-03-01 Pedro Alves <palves@redhat.com>
10279
10280 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10281
10282 2016-03-01 Yao Qi <yao.qi@linaro.org>
10283
10284 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10285 prepare_for_testing.
10286
10287 2016-03-01 Yao Qi <yao.qi@linaro.org>
10288
10289 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10290
10291 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10292
10293 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10294 manually constructing the output path.
10295
10296 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10297
10298 * gdb.arch/s390-stackless.S: New.
10299 * gdb.arch/s390-stackless.exp: New.
10300
10301 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10302
10303 * gdb.dlang/circular.c: New file.
10304 * gdb.dlang/circular.exp: New file.
10305
10306 2016-02-26 Yao Qi <yao.qi@linaro.org>
10307
10308 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10309 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10310 (testcases): Update.
10311
10312 2016-02-26 Yao Qi <yao.qi@linaro.org>
10313
10314 * gdb.reverse/aarch64.c: Rename to ...
10315 * gdb.reverse/insn-reverse.c: ... it.
10316 * gdb.reverse/aarch64.exp: Rename to ...
10317 * gdb.reverse/insn-reverse.exp: ... it.
10318
10319 2016-02-26 Yao Qi <yao.qi@linaro.org>
10320
10321 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10322 (testcase_ftype): New.
10323 (testcases): New array.
10324 (n_testcases): New.
10325 (main): Call each element in testcases.
10326 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10327 (read_testcase): New.
10328 Do the tests in a loop.
10329
10330 2016-02-25 Yao Qi <yao.qi@linaro.org>
10331
10332 * gdb.base/branches.c: Remove.
10333
10334 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10335
10336 PR gdb/13808
10337 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10338
10339 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10340
10341 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10342
10343 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10344
10345 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10346 change x86_64 call_insn to 'callq'.
10347
10348 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10349
10350 * gdb.trace/tfile-avx.c: Move to...
10351 * gdb.trace/tracefile-pseudo-reg.c: Here.
10352 * gdb.trace/tfile-avx.exp: Move to...
10353 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10354
10355 2016-02-24 Gary Benson <gbenson@redhat.com>
10356
10357 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10358 message on attach.
10359
10360 2016-02-23 Doug Evans <dje@google.com>
10361
10362 * gdb.base/skip.c (test_skip): New function.
10363 (end_test_skip_file_and_function): New function.
10364 (test_skip_file_and_function): New function.
10365 * gdb.base/skip1.c (test_skip): New function.
10366 (skip1_test_skip_file_and_function): New function.
10367 * gdb.base/skip.exp: Add tests for new skip options.
10368 * gdb.base/skip-solib.exp: Update expected output.
10369 * gdb.perf/skip-command.cc: New file.
10370 * gdb.perf/skip-command.exp: New file.
10371 * gdb.perf/skip-command.py: New file.
10372
10373 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10374
10375 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10376 info registers pattern.
10377
10378 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10379
10380 * lib/future.exp: Add D support.
10381 (gdb_find_gdc): New proc.
10382 (gdb_default_target_compile): Add D support.
10383
10384 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
10385
10386 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10387 user+system time.
10388 (trace_speed_test): Determine the iteration count for a time
10389 between 15..30 seconds.
10390
10391 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10392
10393 * gdb.arch/i386-mpx-sigsegv.c: New file.
10394 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10395 * gdb.arch/i386-mpx-simple_segv.c: New file.
10396 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10397
10398 2016-02-18 Yao Qi <yao.qi@linaro.org>
10399
10400 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10401 Don't call setup_kfail.
10402
10403 2016-02-18 Yao Qi <yao.qi@linaro.org>
10404
10405 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10406 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10407
10408 2016-02-16 Doug Evans <dje@google.com>
10409
10410 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10411 * gdb.base/skip1.c: Ditto.
10412 * gdb.base/skip.exp: Whitespace cleanup.
10413
10414 2016-02-16 Don Breazeal <donb@codesourcery.com>
10415
10416 PR remote/19496
10417 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10418 Remove kfail for PR remote/19496.
10419
10420 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10421
10422 * lib/gdb.exp (standard_temp_file): Return a path specific to
10423 the runtest invocation.
10424
10425 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10426
10427 * gdb.trace/save-trace.exp: Change relative path to be in the
10428 standard output directory.
10429
10430 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10431
10432 * gdb.arch/i386-prologue.c: Add missing prototypes.
10433
10434 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10435
10436 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10437 * gdb.arch/i386-prologue.exp: Likewise.
10438 * gdb.arch/i386-size.exp: Likewise.
10439
10440 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10441
10442 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10443 define object file path.
10444 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10445 file path.
10446 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10447 standard_output_file to define binfile.
10448
10449 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10450
10451 Fix compatibility with recent gfortran-5.3.1.
10452 * gdb.fortran/vla-history.exp (print vla1 allocated)
10453 (print vla2 allocated, print $2, print $3): Remove
10454 (print $4): Rename to ...
10455 (print $2): ... here.
10456 (print $9): Rename to ...
10457 (print $5): ... here.
10458 (print $10): Rename to ...
10459 (print $6): ... here.
10460 * gdb.fortran/vla.f90: Add pvla initialization.
10461
10462 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10463
10464 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10465 New test.
10466 * gdb.fortran/vla-value-sub.exp: Likewise.
10467
10468 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10469
10470 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10471
10472 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10473
10474 * i386-biarch-core.exp: Define corefile using
10475 standard_output_file.
10476
10477 2016-02-12 Yao Qi <yao.qi@linaro.org>
10478
10479 * gdb.arch/arm-single-step-kernel-helper.c: New.
10480 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10481
10482 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10483
10484 * gdb.btrace/tailcall-only.exp: New.
10485 * gdb.btrace/tailcall-only.c: New.
10486 * gdb.btrace/x86_64-tailcall-only.S: New.
10487 * gdb.btrace/i686-tailcall-only.S: New.
10488
10489 2016-02-11 Pedro Alves <palves@redhat.com>
10490
10491 * README (Parallel testing): Add missing double quotes.
10492
10493 2016-02-11 Pedro Alves <palves@redhat.com>
10494
10495 * README (Parallel testing): New section.
10496 (GDB_PARALLEL): Rewrite.
10497 (FORCE_PARALLEL): Document.
10498
10499 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10500
10501 * gdb.trace/tfile-avx.c: New test.
10502 * gdb.trace/tfile-avx.exp: New test.
10503
10504 2016-02-09 Keith Seitz <keiths@redhat.com>
10505
10506 PR breakpoints/19546
10507 * gdb.base/infcall-exec.c: New file.
10508 * gdb.base/infcall-exec2.c: New file.
10509 * gdb.base/infcall-exec.exp: New file.
10510
10511 2016-02-09 Keith Seitz <keiths@redhat.com>
10512
10513 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10514 (toplevel): Call test_bkpt_address.
10515
10516 2016-02-09 Keith Seitz <keiths@redhat.com>
10517
10518 PR python/19506
10519 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10520 (toplevel): Call test_bkpt_address.
10521
10522 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10523
10524 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10525 to AC_OUTPUT.
10526 * configure: Regenerate.
10527
10528 2016-02-09 Pedro Alves <palves@redhat.com>
10529
10530 PR breakpoints/19548
10531 * gdb.base/execl-update-breakpoints.c (some_function): New
10532 function.
10533 (main): Call it.
10534 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10535 Tighten expected GDB output.
10536
10537 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10538
10539 * Makefile.in (ALL_SUBDIRS): Remove.
10540 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10541 (distclean maintainer-clean realclean): Likewise.
10542 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10543 * configure: Regenerate.
10544 * gdb.ada/Makefile.in: Delete.
10545 * gdb.arch/Makefile.in: Likewise.
10546 * gdb.asm/Makefile.in: Likewise.
10547 * gdb.base/Makefile.in: Likewise.
10548 * gdb.btrace/Makefile.in: Likewise.
10549 * gdb.cell/Makefile.in: Likewise.
10550 * gdb.compile/Makefile.in: Likewise.
10551 * gdb.cp/Makefile.in: Likewise.
10552 * gdb.disasm/Makefile.in: Likewise.
10553 * gdb.dlang/Makefile.in: Likewise.
10554 * gdb.dwarf2/Makefile.in: Likewise.
10555 * gdb.fortran/Makefile.in: Likewise.
10556 * gdb.gdb/Makefile.in: Likewise.
10557 * gdb.go/Makefile.in: Likewise.
10558 * gdb.guile/Makefile.in: Likewise.
10559 * gdb.java/Makefile.in: Likewise.
10560 * gdb.linespec/Makefile.in: Likewise.
10561 * gdb.mi/Makefile.in: Likewise.
10562 * gdb.modula2/Makefile.in: Likewise.
10563 * gdb.multi/Makefile.in: Likewise.
10564 * gdb.objc/Makefile.in: Likewise.
10565 * gdb.opencl/Makefile.in: Likewise.
10566 * gdb.opt/Makefile.in: Likewise.
10567 * gdb.pascal/Makefile.in: Likewise.
10568 * gdb.perf/Makefile.in: Likewise.
10569 * gdb.python/Makefile.in: Likewise.
10570 * gdb.reverse/Makefile.in: Likewise.
10571 * gdb.server/Makefile.in: Likewise.
10572 * gdb.stabs/Makefile.in: Likewise.
10573 * gdb.threads/Makefile.in: Likewise.
10574 * gdb.trace/Makefile.in: Likewise.
10575 * gdb.xml/Makefile.in: Likewise.
10576 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10577 GDB_PARALLEL.
10578 (standard_output_file): Remove check for GDB_PARALLEL, always
10579 return path in outputs/$subdir/$testname.
10580
10581 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10582
10583 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10584 (site.exp): Assign abs_srcdir to tcl's srcdir.
10585
10586 2016-02-04 Yao Qi <yao.qi@linaro.org>
10587
10588 * gdb.base/foll-exec-mode.c: Include limits.h.
10589 (main): Add parameters argc and argv. Get directory from
10590 argv[0].
10591 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10592 compilation.
10593 * gdb.base/foll-exec.c: Include limits.h.
10594 (main): Add parameters argc and argv.
10595 Get directory from argv[0].
10596 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10597 Adjust tests on the number of lines as source code changed.
10598 * gdb.base/foll-vfork-exit.c: Include limits.h.
10599 (main): Add one line of statement before vfork.
10600 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10601 (main): Add parameters argc and argv. Get directory from
10602 argv[0].
10603 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10604 (setup_gdb): Set tbreak to skip some source lines.
10605 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10606 (main): Add parameters argc and argv. Get directory from
10607 argv[0].
10608 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10609 compilation.
10610 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10611 (main): Add parameters argc and argv. Get directory from
10612 argv[0].
10613 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10614 compilation.
10615
10616 2016-02-01 Doug Evans <dje@google.com>
10617
10618 * gdb.base/skip.exp: Clean up multiple references to same test name.
10619
10620 2016-02-01 Pedro Alves <palves@redhat.com>
10621
10622 PR remote/19496
10623 * gdb.threads/forking-threads-plus-breakpoint.exp
10624 (displaced_stepping_supported): New global.
10625 (probe_displaced_stepping_support): New procedure.
10626 (do_test): Add 'displaced' parameter, and use it.
10627 (top level): Check for displaced stepping support. Add displaced
10628 stepping on/off testing axis.
10629
10630 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10631
10632 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10633 pointer. Don't perform further tests on the unassociated pointer
10634 if the first test fails.
10635
10636 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10637
10638 * gdb.base/max-value-size.c: New file.
10639 * gdb.base/max-value-size.exp: New file.
10640 * gdb.base/huge.exp: Disable max-value-size for this test.
10641
10642 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10643
10644 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10645
10646 2016-01-28 Yao Qi <yao.qi@linaro.org>
10647
10648 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10649
10650 2016-01-25 Pedro Alves <palves@redhat.com>
10651
10652 PR threads/19461
10653 * gdb.base/fork-running-state.c: New file.
10654 * gdb.base/fork-running-state.exp: New file.
10655
10656 2016-01-25 Pedro Alves <palves@redhat.com>
10657
10658 PR gdb/19494
10659 * gdb.base/catch-fork-kill.c: New file.
10660 * gdb.base/catch-fork-kill.exp: New file.
10661
10662 2016-01-25 Pedro Alves <palves@redhat.com>
10663
10664 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10665 Delete, moved to lib/gdb.exp.
10666 * gdb.threads/forking-threads-plus-breakpoint.exp
10667 (foreach_with_prefix): Likewise.
10668 * gdb.threads/process-dies-while-handling-bp.exp
10669 (foreach_with_prefix): Likewise.
10670 * lib/gdb.exp (foreach_with_prefix): New procedure.
10671
10672 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10673
10674 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10675 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10676
10677 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10678
10679 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10680 endian targets.
10681
10682 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10683 Pedro Alves <palves@redhat.com>
10684
10685 Fix testsuite compatibility with Guile.
10686 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10687 number.
10688
10689 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10690
10691 Fix testsuite compatibility with Guile.
10692 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10693 (thread 1): New test for backtrace through signal handler.
10694
10695 2016-01-22 Yao Qi <yao.qi@linaro.org>
10696
10697 PR testsuite/19491
10698 * gdb.base/multi-forks.c: Include
10699 ../lib/unbuffer_output.c
10700 (main): Call gdb_unbuffer_output.
10701
10702 2016-01-21 Doug Evans <dje@google.com>
10703
10704 * lib/ada.exp (gdb_compile_ada): Fix typo.
10705
10706 2016-01-21 Joel Brobecker <brobecker@adacore.com>
10707
10708 * gdb.base/break-fun-addr.exp: New file.
10709 * gdb.base/break-fun-addr1.c: New file.
10710 * gdb.base/break-fun-addr2.c: New file.
10711
10712 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10713
10714 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10715 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10716 enum flag values.
10717
10718 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10719
10720 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10721 when GDB can not set the vector return value. Add more comments
10722 for clarification.
10723
10724 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10725
10726 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10727 command.
10728
10729 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10730
10731 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10732
10733 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10734
10735 * Makefile.in (check-single): Pass --status to runtest.
10736 (check/%.exp): Likewise.
10737
10738 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10739
10740 * Makefile.in (check-parallel): Propagate return code from make
10741 do-check-parallel.
10742
10743 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10744
10745 * gdb.trace/ftrace.exp: Fix expected message on continue.
10746 * gdb.trace/pending.exp: Fix expected message on continue.
10747 * gdb.trace/trace-break.exp: Fix expected message on continue.
10748
10749 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10750
10751 * lib/gdb.exp (gdb_test): Remove unused global references.
10752
10753 2016-01-18 Pedro Alves <palves@redhat.com>
10754
10755 * gdb.base/async-shell.exp: Adjust expected output.
10756 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10757 * gdb.base/siginfo-thread.exp: Adjust expected output.
10758 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10759 * gdb.java/jnpe.exp: Adjust expected output.
10760 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10761 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10762 * gdb.threads/leader-exit.exp: Adjust expected output.
10763 * gdb.threads/manythreads.exp: Adjust expected output.
10764 * gdb.threads/pthreads.exp: Adjust expected output.
10765 * gdb.threads/schedlock.exp: Adjust expected output.
10766 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10767 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10768 expected output.
10769 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10770 output.
10771 * gdb.threads/sigthread.exp: Adjust expected output.
10772 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10773
10774 2016-01-18 Yao Qi <yao.qi@linaro.org>
10775
10776 * gdb.guile/scm-section-script.c: Replace @progbits with
10777 %progbits.
10778 * gdb.python/py-section-script.c: Likewise.
10779
10780 2016-01-15 Pedro Alves <palves@redhat.com>
10781
10782 * gdb.multi/tids.exp: Test star wildcard ranges.
10783
10784 2016-01-15 Pedro Alves <palves@redhat.com>
10785
10786 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10787 command from "thread apply" invocation.
10788 (thr_apply_info_thr_invalid): Default the expected output to the
10789 input tid list.
10790 (top level): Add tests that use convenience variables. Add tests
10791 for "thread apply" with a valid TID list, but missing the command.
10792
10793 2016-01-13 Pedro Alves <palves@redhat.com>
10794
10795 * gdb.base/default.exp: Expect $_gthread as well.
10796 * gdb.multi/tids.exp: Test $_gthread.
10797 * gdb.threads/thread-specific.exp: Test $_gthread.
10798
10799 2016-01-13 Pedro Alves <palves@redhat.com>
10800
10801 * gdb.multi/tids.exp: Test "info threads -gid".
10802
10803 2016-01-13 Pedro Alves <palves@redhat.com>
10804
10805 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10806 Breakpoint.thread.
10807 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10808
10809 2016-01-07 Pedro Alves <palves@redhat.com>
10810
10811 * gdb.base/break.exp: Adjust to output changes.
10812 * gdb.base/hbreak2.exp: Likewise.
10813 * gdb.base/sepdebug.exp: Likewise.
10814 * gdb.base/watch_thread_num.exp: Likewise.
10815 * gdb.linespec/keywords.exp: Likewise.
10816 * gdb.multi/info-threads.exp: Likewise.
10817 * gdb.threads/thread-find.exp: Likewise.
10818 * gdb.multi/tids.c: New file.
10819 * gdb.multi/tids.exp: New file.
10820
10821 2016-01-13 Pedro Alves <palves@redhat.com>
10822
10823 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10824
10825 2016-01-13 Pedro Alves <palves@redhat.com>
10826
10827 * gdb.base/default.exp: Expect $_inferior as well.
10828 * gdb.multi/base.exp: Test $_inferior.
10829
10830 2016-01-13 Pedro Alves <palves@redhat.com>
10831
10832 PR breakpoints/19388
10833 * gdb.base/catch-signal-siginfo-cond.c: New file.
10834 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10835
10836 2016-01-12 Josh Stone <jistone@redhat.com>
10837 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10838
10839 * gdb.base/catch-syscall.c (do_execve): New variable.
10840 (main): Conditionally trigger an execve.
10841 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10842 (test_catch_syscall_execve): New, check entry/return across execve.
10843 (do_syscall_tests): Call test_catch_syscall_execve.
10844
10845 2016-01-12 Pedro Alves <palves@redhat.com>
10846
10847 * gdb.base/random-signal.exp (do_test): New procedure, with body
10848 of testcase moved in.
10849
10850 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10851 Pedro Alves <palves@redhat.com>
10852
10853 * gdb.base/funcargs.exp (finish from indirectly called function):
10854 Reintroduce the case for 'First'.
10855
10856 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10857 Pedro Alves <palves@redhat.com>
10858
10859 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10860 (tcatch_vfork_then_child_follow_exec)
10861 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10862 identification.
10863
10864 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10865
10866 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10867 and repeats to unlimited.
10868 * gdb.python/py-value.exp: Likewise.
10869 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10870 and repeats to unlimited.
10871
10872 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10873
10874 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10875 and reordering the functions.
10876 * gdb.multi/hangout.c: Likewise.
10877 * gdb.multi/hello.c: Likewise.
10878
10879 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10880
10881 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10882 absolute.
10883 (SingleStatisticTestResult.report): Use dict.keys instead of
10884 dict.iterkeys.
10885
10886 2016-01-06 Pedro Alves <palves@redhat.com>
10887
10888 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10889
10890 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10891
10892 * gdb.btrace/dlopen.exp: New.
10893 * gdb.btrace/dlopen.c: New.
10894 * gdb.btrace/dlopen-dso.c: New.
10895
10896 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10897
10898 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10899 PATTERN argument is optional.
10900
10901 2015-12-24 Joel Brobecker <brobecker@adacore.com>
10902
10903 * lib/ada.exp (target_compile_ada_from_dir): New function.
10904 (gdb_compile_ada): Reimplement avoiding the use of project files.
10905 * gdb.ada/gnat_ada.gpr: Delete.
10906 * gdb.ada/cond_lang.exp: Adjust test to make path before
10907 filename optional.
10908 * gdb.ada/small_reg_param.exp: Likewise.
10909
10910 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10911
10912 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10913
10914 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10915
10916 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10917 case.
10918
10919 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10920
10921 * gdb.base/break.exp: Remove dead code.
10922 * gdb.base/sepdebug.exp: Likewise.
10923
10924 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10925
10926 * gdb.asm/asm-source.exp: Remove HP-UX references.
10927 * gdb.base/annota1.exp: Likewise.
10928 * gdb.base/annota3.exp: Likewise.
10929 * gdb.base/attach.exp: Likewise.
10930 * gdb.base/bigcore.exp: Likewise.
10931 * gdb.base/break.exp: Likewise.
10932 * gdb.base/call-ar-st.exp: Likewise.
10933 * gdb.base/callfuncs.exp: Likewise.
10934 * gdb.base/catch-fork-static.exp: Likewise.
10935 * gdb.base/display.exp: Likewise.
10936 * gdb.base/foll-exec-mode.exp: Likewise.
10937 * gdb.base/foll-exec.exp: Likewise.
10938 * gdb.base/foll-fork.exp: Likewise.
10939 * gdb.base/foll-vfork.exp: Likewise.
10940 * gdb.base/funcargs.exp: Likewise.
10941 * gdb.base/hbreak2.exp: Likewise.
10942 * gdb.base/inferior-died.exp: Likewise.
10943 * gdb.base/interrupt.exp: Likewise.
10944 * gdb.base/multi-forks.exp: Likewise.
10945 * gdb.base/nodebug.exp: Likewise.
10946 * gdb.base/sepdebug.exp: Likewise.
10947 * gdb.base/solib1.c: Likewise.
10948 * gdb.base/step-test.exp: Likewise.
10949 * gdb.mi/non-stop.c: Likewise.
10950 * gdb.mi/pthreads.c: Likewise.
10951 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10952 * gdb.threads/pthreads.c: Likewise.
10953 * gdb.threads/staticthreads.exp: Likewise.
10954 * lib/future.exp: Likewise.
10955 * lib/gdb.exp: Likewise.
10956 * gdb.base/so-indr-cl.c: Remove.
10957 * gdb.base/so-indr-cl.exp: Likewise.
10958 * gdb.base/solib.c: Likewise.
10959 * gdb.base/solib.exp: Likewise.
10960 * gdb.base/solib2.c: Likewise.
10961
10962 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10963
10964 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10965 * gdb.base/call-ar-st.exp: Likewise.
10966 * gdb.base/callfuncs.exp: Likewise.
10967 * gdb.base/condbreak.exp: Likewise.
10968 * gdb.base/constvars.exp: Likewise.
10969 * gdb.base/hbreak2.exp: Likewise.
10970 * gdb.base/langs.exp: Likewise.
10971 * gdb.base/list.exp: Likewise.
10972 * gdb.base/long_long.exp: Likewise.
10973 * gdb.base/ptype.exp: Likewise.
10974 * gdb.base/scope.exp: Likewise.
10975 * gdb.base/signals.exp: Likewise.
10976 * gdb.base/so-impl-ld.exp: Likewise.
10977 * gdb.base/varargs.exp: Likewise.
10978 * gdb.base/volatile.exp: Likewise.
10979 * gdb.base/whatis.exp: Likewise.
10980 * gdb.cp/cplusfuncs.exp: Likewise.
10981 * gdb.cp/inherit.exp: Likewise.
10982 * gdb.cp/local.exp: Likewise.
10983 * gdb.cp/member-ptr.exp: Likewise.
10984 * gdb.cp/method.exp: Likewise.
10985 * gdb.cp/overload.exp: Likewise.
10986 * gdb.cp/templates.exp: Likewise.
10987 * gdb.stabs/weird.exp: Likewise.
10988 * lib/compiler.c: Likewise.
10989 * lib/compiler.cc: Likewise.
10990 * lib/cp-support.exp: Likewise.
10991 * lib/gdb.exp: Likewise.
10992
10993 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
10994
10995 * configure.ac: Remove HP-UX case.
10996 * configure: Regenerate.
10997
10998 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
10999
11000 * lib/gdb.exp (gdb_compile): Add function doc.
11001
11002 2015-12-17 Pedro Alves <palves@redhat.com>
11003
11004 PR threads/19354
11005 * gdb.multi/info-threads.exp: New file.
11006
11007 2015-12-15 Yao Qi <yao.qi@linaro.org>
11008
11009 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11010 is aarch64*-*-*.
11011
11012 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11013
11014 * gdb.base/history-duplicates.exp: Skip if no readline support.
11015
11016 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11017
11018 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11019
11020 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11021
11022 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11023
11024 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11025
11026 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11027 ctrl-C if nointerrupts target property is set.
11028 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11029 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11030 * gdb.base/paginate-bg-execution.exp: Likewise.
11031 * gdb.base/paginate-execution-startup.exp: Likewise.
11032 * gdb.base/random-signal.exp: Likewise.
11033 * gdb.base/range-stepping.exp: Likewise.
11034 * gdb.cp/annota2.exp: Likewise.
11035 * gdb.cp/annota3.exp: Likewise.
11036 * gdb.gdb/selftest.exp: Likewise.
11037 * gdb.threads/continue-pending-status.exp: Likewise.
11038 * gdb.threads/leader-exit.exp: Likewise.
11039 * gdb.threads/manythreads.exp: Likewise.
11040 * gdb.threads/pthreads.exp: Likewise.
11041 * gdb.threads/schedlock.exp: Likewise.
11042 * gdb.threads/sigthread.exp: Likewise.
11043
11044 2015-12-11 Don Breazeal <donb@codesourcery.com>
11045
11046 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11047 remote.
11048 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11049 * gdb.base/foll-exec.exp (main): Enable for target remote.
11050 * gdb.base/foll-fork.exp (main): Likewise.
11051 * gdb.base/foll-vfork.exp (main): Likewise.
11052 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11053 (proc continue_to_exit_bp_loc): Use clean_restart.
11054 * gdb.base/pie-execl.exp (main): Disable for target remote.
11055 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11056 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11057 * gdb.threads/execl.exp (main): Likewise.
11058 * gdb.threads/fork-child-threads.exp (main): Likewise.
11059 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11060 remote.
11061 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11062 remote.
11063 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11064 pid.tid style ptids, instead of just tid.
11065 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11066 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11067 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11068 ptids, instead of just tid.
11069
11070 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11071
11072 * gdb.base/list.exp (test_list_forward): Add end of file error
11073 test.
11074 (test_repeat_list_command): Add end of file error test.
11075 (test_list_backwards): Add beginning of file error test.
11076
11077 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11078
11079 * gdb.base/list.exp (test_list_invalid_args): New function,
11080 defined, and called.
11081
11082 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11083
11084 * gdb.base/list.exp (test_list): Make test names unique.
11085
11086 2015-12-11 Yao Qi <yao.qi@linaro.org>
11087
11088 * gdb.base/coremaker2.c: Remove.
11089
11090 2015-12-10 Pedro Alves <palves@redhat.com>
11091
11092 * gdb.multi/base.exp: Remove stale "spaces" references.
11093
11094 2015-12-10 Pedro Alves <palves@redhat.com>
11095
11096 * gdb.multi/base.exp: Don't use nowarnings.
11097 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11098 * gdb.multi/hangout.c: Include stdio.h.
11099 * gdb.multi/hello.c: Include stdlib.h.
11100 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11101 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11102 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11103
11104 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11105
11106 * gdb.dwarf2/dw2-ranges-base.c: New file.
11107 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11108 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11109 support additional line table, and debug ranges generation.
11110 (Dwarf::ranges): New function, generate .debug_ranges.
11111 (Dwarf::lines): Support generating simple line table programs.
11112 (Dwarf::assemble): Initialise new namespace variables.
11113
11114 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11115
11116 * gdb.base/async.exp (proc test_background): Add case for
11117 asynchronous execution not supported.
11118
11119 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11120
11121 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11122 format and change test names to make them unique.
11123
11124 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11125 Pedro Alves <pedro@redhat.com>
11126
11127 PR gdb/18702
11128 Add checking of floatformats setup on x86_64 hosts.
11129 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11130 (smallval, bigval): New labels/constants.
11131 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11132 float" after loading bigval and smallval.
11133
11134 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11135
11136 * gdb.ada/fun_overload_menu.exp: New testcase.
11137 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11138
11139 2015-12-04 Josh Stone <jistone@redhat.com>
11140
11141 * gdb.base/catch-fork-static.exp: New.
11142
11143 2015-12-03 Yao Qi <yao.qi@linaro.org>
11144
11145 * gdb.base/sizeof.c: Don't include stdio.h and
11146 ../lib/unbuffer_output.c.
11147 (main): New variable 'size' and 'value'. Remove printf and
11148 gdb_unbuffer_output. Assign return value to size and value.
11149 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11150 at the beginning.
11151 (check_sizeof): Check the result by printing variable 'size'.
11152 (check_valueof): Check the result by printing variable 'value'.
11153
11154 2015-12-01 Yao Qi <yao.qi@linaro.org>
11155
11156 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11157 for aarch64*-*-linux* target.
11158
11159 2015-11-30 Pedro Alves <palves@redhat.com>
11160
11161 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11162
11163 2015-11-30 Pedro Alves <palves@redhat.com>
11164
11165 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11166 Handle non-stop mode vCont replies.
11167
11168 2015-11-30 Pedro Alves <palves@redhat.com>
11169
11170 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11171 prepare_for_testing. Start gdb with "set non-stop on" appended to
11172 GDBFLAGS. Lax expected stop output.
11173
11174 2015-11-27 Yao Qi <yao.qi@linaro.org>
11175
11176 * gdb.arch/arm-neon.exp: New.
11177 * gdb.arch/arm-neon.c: New.
11178
11179 2015-11-27 Yao Qi <yao.qi@linaro.org>
11180
11181 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11182
11183 2015-11-27 Yao Qi <yao.qi@linaro.org>
11184
11185 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11186 frames-invalid annotation.
11187
11188 2015-11-27 Yao Qi <yao.qi@linaro.org>
11189
11190 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11191
11192 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11193
11194 * gdb.threads/names.exp: New file.
11195 * gdb.threads/names.c: New file.
11196 * README: Mention gdb,no_thread_names.
11197
11198 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11199
11200 PR 19297
11201 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11202 support" error.
11203
11204 2015-11-24 Pedro Alves <palves@redhat.com>
11205
11206 PR 17539
11207 * gdb.base/display.exp: Expect displays to be sorted in ascending
11208 order. Use multi_line.
11209 * gdb.base/solib-display.exp: Likewise.
11210
11211 2015-11-24 Pedro Alves <palves@redhat.com>
11212
11213 PR 17539
11214 * gdb.base/display.exp: Expect displays to be sorted in ascending
11215 order. Use multi_line.
11216 * gdb.base/solib-display.exp: Likewise.
11217
11218 2015-11-24 Pedro Alves <palves@redhat.com>
11219
11220 PR 17539
11221 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11222 threads in ascending order.
11223 * gdb.base/foll-fork.exp: Likewise.
11224 * gdb.base/foll-vfork.exp: Likewise.
11225 * gdb.base/multi-forks.exp: Likewise.
11226 * gdb.mi/mi-nonstop.exp: Likewise.
11227 * gdb.mi/mi-nsintrall.exp: Likewise.
11228 * gdb.multi/base.exp: Likewise.
11229 * gdb.multi/multi-arch.exp: Likewise.
11230 * gdb.python/py-inferior.exp: Likewise.
11231 * gdb.threads/break-while-running.exp: Likewise.
11232 * gdb.threads/execl.exp: Likewise.
11233 * gdb.threads/gcore-thread.exp: Likewise.
11234 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11235 * gdb.threads/kill.exp: Likewise.
11236 * gdb.threads/linux-dp.exp: Likewise.
11237 * gdb.threads/multiple-step-overs.exp: Likewise.
11238 * gdb.threads/next-bp-other-thread.exp: Likewise.
11239 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11240 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11241 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11242 * gdb.threads/thread-find.exp: Likewise.
11243 * gdb.threads/tls.exp: Likewise.
11244 * lib/mi-support.exp (mi_reverse_list): Delete.
11245 (mi_check_thread_states): No longer reverse list.
11246
11247 2015-11-24 Pedro Alves <palves@redhat.com>
11248
11249 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11250 use lowercase.
11251
11252 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11253
11254 * gdb.trace/actions.c: Include trace-common.h.
11255 (main): Add a location for a fast tracepoint.
11256 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11257 the normal tracepoints.
11258 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11259
11260 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11261
11262 * save-trace.exp: Factor out code to these...
11263 (gdb_save_tracepoints): New.
11264 (gdb_load_tracepoints): New.
11265 (do_save_load_test): New.
11266
11267 2015-11-23 Kevin Buettner <kevinb@redhat.com>
11268
11269 * gdb.base/asmlabel.exp: New test.
11270 * gdb.base/asmlabel.c: New test case.
11271
11272 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11273
11274 * gdb.base/wrong_frame_bt_full-main.c: New file.
11275 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11276 * gdb.base/wrong_frame_bt_full.exp: New file.
11277
11278 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11279
11280 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11281
11282 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11283
11284 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11285 pstate register when comparing registers values in
11286 sparc64-*-linux-gnu targets to avoid spurious differences.
11287
11288 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11289
11290 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11291
11292 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11293
11294 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11295 as type argument to gdb_compile.
11296 * gdb.base/nested-subp2.exp: Likewise.
11297 * gdb.base/nested-subp3.exp: Likewise.
11298
11299 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11300
11301 * lib/dwarf.exp (_note): Fix left shift of negative value.
11302 * gdb.trace/trace-condition.exp: Likewise.
11303
11304 2015-11-13 Yao Qi <yao.qi@linaro.org>
11305
11306 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11307 comments about d10v.
11308 (test_scalar_returns): Likewise.
11309 * gdb.base/d10v.ld: Remove.
11310 * gdb.base/overlays.exp: Remove the target triplet checking for
11311 d10v-*-*.
11312 * gdb.base/structs.exp (test_struct_returns): Remove the
11313 comments about d10v.
11314 (test_struct_calls): Likewise.
11315
11316 2015-11-13 Yao Qi <yao.qi@linaro.org>
11317
11318 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11319 * gdb.base/gnu_vector.c: Don't include stdio.h.
11320 (main): Don't print res and call add_some_intvecs.
11321
11322 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11323
11324 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11325 macro.
11326 (func5): Removed.
11327 (func4): Use FAST_TRACEPOINT_LABEL.
11328 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11329 macro.
11330 (func): Removed.
11331 (thread_function): Use FAST_TRACEPOINT_LABEL.
11332 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11333 (func): Remove.
11334 (marker): Use FAST_TRACEPOINT_LABEL.
11335 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11336 (pendfunc1): Remove.
11337 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11338 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11339 (foo): Remove.
11340 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11341 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11342 macro.
11343 (func): Remove.
11344 (marker): Use FAST_TRACEPOINT_LABEL.
11345 * gdb.trace/trace-common.h: New header.
11346 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11347 macro.
11348 (func): Remove.
11349 (marker): Use FAST_TRACEPOINT_LABEL.
11350 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11351 (func): Remove.
11352 (thread_function): Use FAST_TRACEPOINT_LABEL.
11353
11354 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11355
11356 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11357 in front.
11358 * gdb.trace/change-loc.exp: Use global pcreg definition.
11359 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11360 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11361 in front.
11362 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11363 * gdb.trace/pending.exp: Likewise.
11364 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11365 * gdb.trace/trace-break.exp: Likewise.
11366 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11367 in front.
11368 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11369 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11370 in front.
11371 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11372
11373 2015-11-09 Joel Brobecker <brobecker@adacore.com>
11374
11375 * gdb.ada/fin_fun_out: New testcase.
11376
11377 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11378
11379 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11380 value associated with DW_AT_byte_size.
11381 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11382 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11383 DW_AT_upper_bound.
11384
11385 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11386
11387 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11388 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11389 version.
11390 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11391 gdb.dwarf2/dw2-canonicalize-type.exp,
11392 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11393 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11394 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11395 provided by gdb_target_symbol_prefix_flags_asm.
11396 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11397 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11398 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11399 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11400 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11401 macros where needed). Use this macro for symbols which require
11402 the prefix provided by SYMBOL_PREFIX.
11403
11404 2015-11-05 Kevin Buettner <kevinb@redhat.com>
11405
11406 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11407 New procs.
11408 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11409 representing expressions, of more than one list element.
11410 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11411 to prepend linker symbol prefix to f.
11412 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11413 table_1 and table_2.
11414 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11415 Likewise, for f and g.
11416 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11417 for ptr.
11418 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11419 for main.
11420 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11421 table_1_ptr and table_2_ptr.
11422
11423 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11424 Joel Brobecker <brobecker@adacore.com>
11425
11426 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11427
11428 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11429
11430 * gdb.reverse/s390-mvcle.c: New test.
11431 * gdb.reverse/s390-mvcle.exp: New file.
11432 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11433
11434 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11435
11436 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11437
11438 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11439
11440 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11441 reaching marker2.
11442 * gdb.reverse/getresuid-reverse.exp: Likewise.
11443 * gdb.reverse/pipe-reverse.exp: Likewise.
11444 * gdb.reverse/readv-reverse.exp: Likewise.
11445 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11446 * gdb.reverse/time-reverse.exp: Likewise.
11447 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11448
11449 2015-10-30 Yao Qi <yao.qi@linaro.org>
11450
11451 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11452 (empty_cycle): Remove.
11453 (main): Don't call empty_cycle. Don't use watch_count_done.
11454 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11455 empty_cycle. Rewrite the code counting HW watchpoints.
11456
11457 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11458
11459 * gdb.reverse/fstatat-reverse.c: New test.
11460 * gdb.reverse/fstatat-reverse.exp: New file.
11461 * gdb.reverse/getresuid-reverse.c: New test.
11462 * gdb.reverse/getresuid-reverse.exp: New file.
11463 * gdb.reverse/pipe-reverse.c: New test.
11464 * gdb.reverse/pipe-reverse.exp: New file.
11465 * gdb.reverse/readv-reverse.c: New test.
11466 * gdb.reverse/readv-reverse.exp: New file.
11467 * gdb.reverse/recvmsg-reverse.c: New test.
11468 * gdb.reverse/recvmsg-reverse.exp: New file.
11469 * gdb.reverse/time-reverse.c: New test.
11470 * gdb.reverse/time-reverse.exp: New file.
11471 * gdb.reverse/waitpid-reverse.c: New test.
11472 * gdb.reverse/waitpid-reverse.exp: New file.
11473
11474 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11475
11476 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11477
11478 2015-10-26 Doug Evans <dje@google.com>
11479
11480 PR symtab/17391
11481 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11482 * gdb.dwarf2/bad-regnum.c: New file.
11483 * gdb.dwarf2/bad-regnum.exp: New file.
11484
11485 2015-10-26 Doug Evans <dje@google.com>
11486
11487 PR python/18938
11488 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11489 file.
11490
11491 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11492
11493 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11494 for a change by "Mention language in compile error message".
11495
11496 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11497
11498 PR python/18073
11499 * gdb.python/py-type.c (C::a_method): New.
11500 (C::a_const_method): New.
11501 (C::a_static_method): New.
11502 (a_function): New.
11503 * gdb.python/py-type.exp (test_fields): Test getting fields
11504 from function and method.
11505
11506 2015-10-21 Keven Boell <keven.boell@intel.com>
11507
11508 * gdb.fortran/vla-alloc-assoc.exp: New file.
11509 * gdb.fortran/vla-datatypes.exp: New file.
11510 * gdb.fortran/vla-datatypes.f90: New file.
11511 * gdb.fortran/vla-history.exp: New file.
11512 * gdb.fortran/vla-ptype-sub.exp: New file.
11513 * gdb.fortran/vla-ptype.exp: New file.
11514 * gdb.fortran/vla-sizeof.exp: New file.
11515 * gdb.fortran/vla-sub.f90: New file.
11516 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11517 * gdb.fortran/vla-value-sub-finish.exp: New file.
11518 * gdb.fortran/vla-value-sub.exp: New file.
11519 * gdb.fortran/vla-value.exp: New file.
11520 * gdb.fortran/vla-ptr-info.exp: New file.
11521 * gdb.mi/mi-vla-fortran.exp: New file.
11522 * gdb.mi/vla.f90: New file.
11523
11524 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11525
11526 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11527 of hardwired timeout value.
11528
11529 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11530 Pedro Alves <palves@redhat.com>
11531
11532 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11533 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11534
11535 2015-10-19 Josh Stone <jistone@redhat.com>
11536
11537 * gdb.base/catch-syscall.c: Include <sched.h>.
11538 (unknown_syscall): New variable.
11539 (main): Trigger a vfork and an unknown syscall.
11540 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11541 (unknown_syscall_number): Likewise.
11542 (check_call_to_syscall): Accept an optional syscall pattern.
11543 (check_return_from_syscall): Likewise.
11544 (check_continue): Likewise.
11545 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11546 (test_catch_syscall_skipping_return): New test toggling off 'catch
11547 syscall' to step over the syscall return, then toggling back on.
11548 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11549 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11550 (do_syscall_tests): Call test_catch_syscall_without_args and
11551 test_catch_syscall_mid_vfork.
11552 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11553 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11554
11555 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
11556
11557 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11558 print g_vE): Add new pass patterns.
11559 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11560 print various symbol names for vptr fields.
11561
11562 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11563
11564 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11565 results.
11566
11567 2015-10-12 Yao Qi <yao.qi@linaro.org>
11568
11569 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11570
11571 2015-10-12 Yao Qi <yao.qi@linaro.org>
11572
11573 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11574 is aarch64*-*-linux*.
11575
11576 2015-10-12 Yao Qi <yao.qi@linaro.org>
11577
11578 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11579 (can_relocate_bcond_true): ... it.
11580 (can_relocate_bcond_false): New function.
11581 (foo): Likewise.
11582 (can_relocate_bl): Likewise.
11583 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11584 can_relocate_bl.
11585
11586 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11587
11588 * gdb.base/nested-addr.c: New file.
11589 * gdb.base/nested-addr.exp: New testcase.
11590
11591 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11592
11593 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11594 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11595 its output. Ignore the output of "record goto begin" and instead
11596 check that GDB is replaying.
11597
11598 2015-10-09 Pedro Alves <palves@redhat.com>
11599
11600 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11601 (top level): Use it in the run with no args test.
11602
11603 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11604
11605 * gdb.dlang/properties.exp: New file.
11606
11607 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11608
11609 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11610 whether or not address 0x1000 is mapped on the target.
11611
11612 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11613
11614 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11615 build.
11616
11617 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11618
11619 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11620 instruction-history test.
11621
11622 2015-09-28 Doug Evans <dje@google.com>
11623
11624 * gdb.base/gcore.c (array_func): Add reference to static_array.
11625
11626 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11627
11628 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11629 source line.
11630
11631 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11632
11633 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11634 short or char as base type.
11635
11636 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11637
11638 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11639 to allow any size enum.
11640
11641 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11642
11643 * gdb.ada/array_ptr_renaming.exp: New testcase.
11644 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11645 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11646
11647 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11648
11649 * gdb.trace/ftrace-lock.c: New file.
11650 * gdb.trace/ftrace-lock.exp: New file.
11651
11652 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11653
11654 * gdb.arch/insn-reloc.c: New file.
11655 * gdb.arch/ftrace-insn-reloc.exp: New file.
11656
11657 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11658
11659 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11660 instruction.
11661 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11662 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11663 * gdb.trace/range-stepping.c: Likewise.
11664 * gdb.trace/trace-break.c: Likewise.
11665 * gdb.trace/trace-mt.c (thread_function): Likewise.
11666 * gdb.trace/ftrace.c (marker): Likewise.
11667 * gdb.trace/trace-condition.c (marker): Likewise.
11668 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11669 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11670 is_aarch64_target.
11671
11672 2015-09-18 Doug Evans <xdje42@gmail.com>
11673
11674 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11675 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11676
11677 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11678
11679 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11680 the breakpoint.
11681
11682 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11683
11684 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11685 the pending breakpoint. Remove timeout override for "Run till
11686 MI pending breakpoint on pendfunc3 on thread 2" test.
11687
11688 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11689
11690 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11691 filename pattern.
11692
11693 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11694
11695 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11696 in breakpoint filename pattern.
11697
11698 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11699
11700 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11701
11702 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11703
11704 * gdb.linespec/explicit.exp: Check for readline support for
11705 tab-completion tests. Fix obvious typo.
11706
11707 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11708
11709 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11710 and replay.
11711
11712 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11713
11714 * gdb.btrace/non-stop.c: New.
11715 * gdb.btrace/non-stop.exp: New.
11716
11717 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11718 Yao Qi <yao.qi@linaro.org>
11719
11720 * gdb.trace/trace-condition.c: New file.
11721 * gdb.trace/trace-condition.exp: New file.
11722
11723 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
11724
11725 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11726 for testing bytecode compilation.
11727
11728 2015-09-16 Pedro Alves <palves@redhat.com>
11729 Sandra Loosemore <sandra@codesourcery.com>
11730
11731 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11732 (SECONDS): Redefine.
11733 (main): Call pthread_kill and alarm early.
11734 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11735 support.
11736 (test): If the target can't hardware step and doesn't support
11737 displaced stepping, increase the timeout.
11738
11739 2015-09-16 Pedro Alves <palves@redhat.com>
11740
11741 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11742 (enable_debug): New procedures.
11743 (test): Use them. Bail out if waiting for threads fails.
11744 (top level): Bail out if a test fails.
11745
11746 2015-09-16 Yao Qi <yao.qi@linaro.org>
11747
11748 * gdb.asm/asm-source.exp: Set asm-arch for
11749 aarch64*-*-* target.
11750 * gdb.asm/aarch64.inc: New file.
11751
11752 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11753
11754 * gdb.ada/array_of_variable_length.exp: New testcase.
11755 * gdb.ada/array_of_variable_length/foo.adb: New file.
11756 * gdb.ada/array_of_variable_length/pck.adb: New file.
11757 * gdb.ada/array_of_variable_length/pck.ads: New file.
11758
11759 2015-09-15 Doug Evans <dje@google.com>
11760
11761 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11762 of function static local variable.
11763
11764 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11765
11766 * gdb.threads/tls-so_extern.exp: New test file.
11767 * gdb.threads/tls-so_extern.c: New test file.
11768 * gdb.threads/tls-so_extern_main.c: New test file.
11769
11770 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11771
11772 * gdb.opt/solib-intra-step-lib.c: New file.
11773 * gdb.opt/solib-intra-step-main.c: New file.
11774 * gdb.opt/solib-intra-step.exp: New file.
11775
11776 2015-09-15 Pedro Alves <palves@redhat.com>
11777
11778 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11779 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11780
11781 2015-09-14 Pedro Alves <palves@redhat.com>
11782
11783 * gdb.base/hook-stop-continue.c: Delete.
11784 * gdb.base/hook-stop-continue.exp: Delete.
11785 * gdb.base/hook-stop-frame.c: Delete.
11786 * gdb.base/hook-stop-frame.exp: Delete.
11787 * gdb.base/hook-stop.c: New file.
11788 * gdb.base/hook-stop.exp: New file.
11789
11790 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11791
11792 * gdb.ada/access_to_packed_array.exp: New testcase.
11793 * gdb.ada/access_to_packed_array/foo.adb: New file.
11794 * gdb.ada/access_to_packed_array/pack.adb: New file.
11795 * gdb.ada/access_to_packed_array/pack.ads: New file.
11796
11797 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11798
11799 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11800 buffer size test.
11801
11802 2015-09-11 Don Breazeal <donb@codesourcery.com>
11803
11804 * gdb.base/foll-exec.c: Add copyright header. Fix
11805 formatting issues.
11806 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11807 (do_exec_tests): Use clean_restart in place of zap_session,
11808 and for test initialization. Fix formatting issues. Use
11809 fail in place of perror.
11810 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11811 an expect statement to match an expression with output from
11812 the program under debug.
11813 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11814 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11815 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11816 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11817 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11818
11819 2015-09-09 Doug Evans <dje@google.com>
11820
11821 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11822
11823 2015-09-09 Doug Evans <dje@google.com>
11824
11825 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11826
11827 2015-09-09 Doug Evans <dje@google.com>
11828
11829 * gdb.base/savedregs.exp: Fix typo.
11830
11831 2015-09-09 Pedro Alves <palves@redhat.com>
11832
11833 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11834
11835 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11836
11837 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11838 command actually switches threads. Give up on remaining
11839 tests if target fails to stop at breakpoint.
11840
11841 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11842
11843 * gdb.ada/funcall_char.exp: New testcase.
11844 * gdb.ada/funcall_char/foo.adb: New file.
11845
11846 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11847
11848 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11849 expected outputs. Add two testcases for completing ambiguous
11850 functions.
11851 * gdb.ada/complete/aux_pck.adb: New file.
11852 * gdb.ada/complete/aux_pck.ads: New file.
11853 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11854 Ambiguous_Func functions.
11855 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11856 * gdb.ada/complete/pck.adb: Likewise.
11857
11858 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11859
11860 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11861 failures to run the test program under GDB.
11862
11863 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
11864
11865 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11866 to C.
11867
11868 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11869
11870 * gdb.base/run-after-attach.exp: New test file.
11871 * gdb.base/run-after-attach.c: New test file.
11872
11873 2015-08-26 Don Breazeal <donb@codesourcery.com>
11874
11875 * gdb.base/foll-exec-2.c: New test program.
11876 * gdb.base/foll-exec-2.exp: New test.
11877
11878 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11879
11880 * gdb.base/nested-subp1.exp: New file.
11881 * gdb.base/nested-subp1.c: New file.
11882 * gdb.base/nested-subp2.exp: New file.
11883 * gdb.base/nested-subp2.c: New file.
11884 * gdb.base/nested-subp3.exp: New file.
11885 * gdb.base/nested-subp3.c: New file.
11886
11887 2015-08-24 Pedro Alves <palves@redhat.com>
11888
11889 * gdb.server/connect-without-multi-process.c: New file.
11890 * gdb.server/connect-without-multi-process.exp: New file.
11891
11892 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11893
11894 * gdb.opt/inline-markers.c: Make z int.
11895
11896 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11897
11898 * gdb.opt/inline-markers.c: Make z volatile.
11899
11900 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11901
11902 * gdb.opt/inline-bt.c: New volatile global z.
11903 * gdb.opt/inline-cmds.c: Likewise.
11904 * gdb.opt/inline-locals.c: Likewise.
11905 * gdb.opt/inline-markers.c: New extern global z.
11906 (marker): Use z.
11907 (inline_fn): Likewise.
11908
11909 2015-08-24 Pedro Alves <palves@redhat.com>
11910
11911 * config/m32r-stub.exp: Remove file.
11912 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11913 * gdb.base/call-rt-st.exp: Likewise.
11914 * gdb.base/call-strs.exp: Likewise.
11915 * gdb.base/default.exp: Remove references to h8300-*-hms and
11916 *-*-udi*.
11917 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11918
11919 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11920
11921 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11922 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11923 and "return" use KFAIL when GDB can not read/write the vector
11924 return value.
11925
11926 2015-08-21 Gary Benson <gbenson@redhat.com>
11927
11928 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11929
11930 2015-08-20 Pedro Alves <palves@redhat.com>
11931
11932 * gdb.server/solib-list.exp: No longer expect an interior stop in
11933 non-stop mode.
11934
11935 2015-08-20 Pedro Alves <palves@redhat.com>
11936
11937 * gdb.server/connect-stopped-target.c: New file.
11938 * gdb.server/connect-stopped-target.exp: New file.
11939
11940 2015-08-20 Pedro Alves <palves@redhat.com>
11941
11942 * gdb.dwarf2/comp-unit-lang.exp: New file.
11943 * gdb.dwarf2/comp-unit-lang.c: New file.
11944
11945 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11946
11947 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11948 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11949
11950 2015-08-19 Kevin Buettner <kevinb@redhat.com>
11951
11952 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11953 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11954
11955 2015-08-18 Doug Evans <dje@google.com>
11956 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11957
11958 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11959 skip_python_tests. New arg prompt_regexp.
11960 (skip_python_tests): New function.
11961 * lib/mi-support.exp (mi_skip_python_tests): New function.
11962 * gdb.python/py-mi-objfile-gdb.py: New file.
11963 * gdb.python/py-mi-objfile.c: New file.
11964 * gdb.python/py-mi-objfile.exp: New file.
11965
11966 2015-08-17 Keith Seitz <keiths@redhat.com>
11967
11968 * gdb.linespec/explicit.exp: Move strace test from here ...
11969 * gdb.trace/strace.exp: ... to here.
11970
11971 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
11972
11973 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
11974 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
11975
11976 2015-08-14 Doug Evans <xdje42@gmail.com>
11977
11978 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
11979 inferior before selecting a new file.
11980
11981 2015-08-14 Doug Evans <xdje42@gmail.com>
11982
11983 * gdb.mi/mi-disassemble.exp: Update.
11984 * gdb.base/disasm-optim.S: New file.
11985 * gdb.base/disasm-optim.c: New file.
11986 * gdb.base/disasm-optim.h: New file.
11987 * gdb.base/disasm-optim.exp: New file.
11988
11989 2015-08-14 Keith Seitz <keiths@redhat.com>
11990
11991 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
11992 "evaluated-by".
11993
11994 2015-08-13 Joel Brobecker <brobecker@adacore.com>
11995
11996 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
11997
11998 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
11999
12000 * gdb.ada/fun_renaming.exp: New testcase.
12001 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12002 * gdb.ada/fun_renaming/pack.adb: New file.
12003 * gdb.ada/fun_renaming/pack.ads: New file.
12004
12005 2015-08-12 Keith Seitz <keiths@redhat.com>
12006
12007 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12008 gdb_get_line_number.
12009
12010 2015-08-12 Joel Brobecker <brobecker@adacore.com>
12011
12012 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12013 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12014 gdb.base/dso2dso.exp: New files.
12015
12016 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12017 Pedro Alves <palves@redhat.com>
12018 Keith Seitz <keiths@redhat.com>
12019
12020 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12021 GDBFLAGS.
12022
12023 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12024
12025 * gdb.base/gdbhistsize-history.exp
12026 (test_histsize_history_setting): Use save_vars.
12027 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12028 Use save_vars.
12029 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12030 * gdb.base/readline.exp: Use save_vars.
12031
12032 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12033
12034 * lib/gdb.exp (save_vars): New proc.
12035
12036 2015-08-11 Keith Seitz <keiths@redhat.com>
12037
12038 * gdb.base/help.exp: Update help_breakpoint_text.
12039
12040 2015-08-11 Keith Seitz <keiths@redhat.com>
12041
12042 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12043 (at toplevel): Call test_explicit_breakpoints.
12044 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12045 breakpoints.
12046 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12047 breakpoint conditions, "-cond".
12048
12049 2015-08-11 Keith Seitz <keiths@redhat.com>
12050
12051 * gdb.linespec/3explicit.c: New file.
12052 * gdb.linespec/cpexplicit.cc: New file.
12053 * gdb.linespec/cpexplicit.exp: New file.
12054 * gdb.linespec/explicit.c: New file.
12055 * gdb.linespec/explicit.exp: New file.
12056 * gdb.linespec/explicit2.c: New file.
12057 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12058 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12059 before using in the matching pattern.
12060 Clarify that `prefix' is a regular expression.
12061
12062 2015-08-11 Keith Seitz <keiths@redhat.com>
12063
12064 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12065 test.
12066 Add tests for missing ",FMT" and ",".
12067
12068 2015-08-10 Doug Evans <dje@google.com>
12069 Keith Seitz <keiths@redhat.com>
12070
12071 PR gdb/17960
12072 * gdb.base/completion.exp: Add location completer tests.
12073
12074 2015-08-07 Pedro Alves <palves@redhat.com>
12075
12076 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12077 tests here.
12078 (top level): Run do_test with and without displaced stepping.
12079
12080 2015-08-07 Pedro Alves <palves@redhat.com>
12081
12082 * gdb.base/valgrind-disp-step.c: New file.
12083 * gdb.base/valgrind-disp-step.exp: New file.
12084
12085 2015-08-07 Pedro Alves <palves@redhat.com>
12086
12087 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12088 Delete function.
12089 (main): Add alarm. Run an infinite loop instead of calling
12090 wait_threads.
12091 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12092 comment.
12093 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12094 Delete function.
12095 (main): Add alarm. Run an infinite loop instead of calling
12096 wait_threads.
12097 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12098 comment.
12099
12100 2015-08-07 Pedro Alves <palves@redhat.com>
12101
12102 * gdb.base/checkpoint-ns.exp: New file.
12103 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12104 standard_testfile.
12105
12106 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12107
12108 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12109 * gdb.btrace/instruction_history.exp: Update.
12110 * gdb.btrace/tsx.exp: New.
12111 * gdb.btrace/tsx.c: New.
12112
12113 2015-08-06 Pedro Alves <palves@redhat.com>
12114
12115 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12116 increase timeout.
12117 * gdb.reverse/until-precsave.exp: Bump timeouts.
12118
12119 2015-08-06 Pedro Alves <palves@redhat.com>
12120
12121 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12122
12123 2015-08-06 Pedro Alves <palves@redhat.com>
12124
12125 PR gdb/18749
12126 * gdb.threads/process-dies-while-handling-bp.c: New file.
12127 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12128
12129 2015-08-06 Pedro Alves <palves@redhat.com>
12130
12131 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12132 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12133
12134 2015-08-05 Pedro Alves <palves@redhat.com>
12135
12136 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12137 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12138
12139 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12140
12141 * gdb.base/bp-permanent.exp: Report test as unsupported if
12142 the target cannot stop at the permanent breakpoint.
12143
12144 2015-08-03 Doug Evans <dje@google.com>
12145
12146 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12147 10000.
12148
12149 2015-08-03 Doug Evans <dje@google.com>
12150
12151 * Makefile.in (workers/%.worker, build-perf): New rule.
12152 (GDB_PERFTEST_MODE): New variable.
12153 (check-perf): Use it.
12154 (clean): Clean up gdb.perf parallel build subdirs.
12155 * lib/build-piece.exp: New file.
12156 * lib/gdb.exp (make_gdb_parallel_path): New function
12157 (standard_output_file, standard_temp_file): Call it.
12158 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12159 of $GDB_PARALLEL.
12160 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12161
12162 2015-08-03 Doug Evans <dje@google.com>
12163
12164 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12165 (LOG_FILE_NAME): New global.
12166 (TextReporter.__init__): Initialize self.txt_sum.
12167 (TextReporter.report): Add support for multiple data-points.
12168 Move report to perftest.sum, put raw data in perftest.log.
12169 (TextReporter.start): Open sum and log files.
12170 (TextReporter.end): Close sum and log files.
12171 * gdb.perf/lib/perftest/testresult.py
12172 (SingleStatisticTestResult.record): Handle multiple data-points.
12173
12174 2015-07-31 Pedro Alves <palves@redhat.com>
12175
12176 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12177 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12178 kill_wait_spawned_process instead of explicit "kill -9".
12179 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12180 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12181 kill_wait_spawned_process.
12182 * gdb.base/attach-twice.exp: Likewise.
12183 * gdb.base/attach.exp: Likewise.
12184 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12185 gdb_test_multiple.
12186 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12187 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12188 kill_wait_spawned_process.
12189 * gdb.base/valgrind-infcall.exp: Likewise.
12190 * gdb.multi/multi-attach.exp: Likewise.
12191 * gdb.python/py-prompt.exp: Likewise.
12192 * gdb.python/py-sync-interp.exp: Likewise.
12193 * gdb.server/ext-attach.exp: Likewise.
12194 * gdb.threads/attach-into-signal.exp (corefunc): Use
12195 spawn_wait_for_attach, spawn_id_get_pid and
12196 kill_wait_spawned_process.
12197 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12198 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12199 spawn_id_get_pid and kill_wait_spawned_process.
12200 * gdb.threads/attach-stopped.exp (corefunc): Use
12201 spawn_wait_for_attach, spawn_id_get_pid and
12202 kill_wait_spawned_process.
12203 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12204 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12205 kill_wait_spawned_process instead of explicit "kill -9".
12206 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12207 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12208 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12209 processes. Don't map cygwin/windows pids here. Now returns a
12210 spawn id list.
12211
12212 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12213
12214 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12215 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12216 correct patch.
12217
12218 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12219
12220 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12221
12222 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12223
12224 Reapply:
12225 2014-05-21 Mark Wielaard <mjw@redhat.com>
12226
12227 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12228
12229 2015-07-30 Pedro Alves <palves@redhat.com>
12230
12231 * linux-low.c (handle_extended_wait): Set the child's last
12232 reported status to TARGET_WAITKIND_STOPPED.
12233
12234 2015-07-30 Pedro Alves <palves@redhat.com>
12235
12236 PR threads/18600
12237 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12238 only shows inferior 1.
12239
12240 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12241 Pedro Alves <palves@redhat.com>
12242
12243 PR threads/18600
12244 * gdb.threads/fork-plus-threads.c: New file.
12245 * gdb.threads/fork-plus-threads.exp: New file.
12246
12247 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12248
12249 * gdb.base/batch-preserve-term-settings.exp
12250 (test_terminal_settings_preserved_after_cli_exit): Use
12251 send_quit_command.
12252
12253 2015-07-29 Pedro Alves <palves@redhat.com>
12254 Don Breazeal <donb@codesourcery.com>
12255
12256 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12257 output from both inferior_spawn_id and gdb_spawn_id.
12258
12259 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12260
12261 * gdb.threads/attach-into-signal.exp (corefunc): Use
12262 with_test_prefix on nested loops, uniquefying the test messages.
12263
12264 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12265
12266 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12267 commit.
12268
12269 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12270
12271 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12272 New proc.
12273 (test_terminal_settings_preserved_after_sigterm): New test.
12274
12275 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12276
12277 * gdb.base/batch-preserve-term-settings.exp
12278 (test_terminal_settings_preserved_after_cli_exit): New test.
12279
12280 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12281
12282 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12283 manipulation of saved_gdbflags.
12284 (test_terminal_settings_preserved): Remove global declaration of
12285 the unused variable pagination_prompt. Remove manipulation of
12286 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12287 GDBFLAGS.
12288
12289 2015-07-29 Pedro Alves <palves@redhat.com>
12290
12291 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12292
12293 2015-07-29 Pedro Alves <palves@redhat.com>
12294
12295 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12296 at the top.
12297
12298 2015-07-29 Pedro Alves <palves@redhat.com>
12299
12300 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12301 (main): Call gdb_unbuffer_output.
12302 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12303 (main): Call gdb_unbuffer_output.
12304 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12305 (main): Call gdb_unbuffer_output.
12306 * gdb.base/call-strs.exp: Adjust to step over the
12307 gdb_unbuffer_output call.
12308 * gdb.base/catch-gdb-caused-signals.c: Include
12309 "../lib/unbuffer_output.c".
12310 (main): Call gdb_unbuffer_output.
12311 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12312 (main): Call gdb_unbuffer_output.
12313 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12314 (main): Call gdb_unbuffer_output.
12315 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12316 (main): Call gdb_unbuffer_output.
12317 * gdb.base/shlib-call.exp: Adjust to step over the
12318 gdb_unbuffer_output call.
12319 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12320 (main): Call gdb_unbuffer_output.
12321 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12322 (main): Call gdb_unbuffer_output.
12323 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12324 (main): Rename to ...
12325 (test): ... this.
12326 (main): Reimplement.
12327 * gdb.base/varargs.exp: Run to test instead of to main.
12328 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12329 (main): Call gdb_unbuffer_output.
12330
12331 2015-07-29 Pedro Alves <palves@redhat.com>
12332
12333 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12334 factore out from mi_continue_dprintf. For call-style dprintfs,
12335 expect dprintf output out of $inferior_spawn_id.
12336 (mi_continue_dprintf): Use mi_expect_dprintf.
12337 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12338 (main): Call gdb_unbuffer_output.
12339
12340 2015-07-29 Pedro Alves <palves@redhat.com>
12341
12342 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12343 (default_mi_gdb_start): Set inferior_spawn_id instead of
12344 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12345 gdb_spawn_id.
12346 (mi_gdb_test): Always expect inferior output from both
12347 $inferior_spawn_id and $gdb_spawn_id.
12348
12349 2015-07-29 Pedro Alves <palves@redhat.com>
12350
12351 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12352 send_inferior and $inferior_spawn_id.
12353
12354 2015-07-29 Pedro Alves <palves@redhat.com>
12355
12356 * gdb.gdb/complaints.exp (test_initial_complaints)
12357 (test_serial_complaints, test_short_complaints): Use
12358 gdb_test_stdio.
12359 (test_empty_complaint): Handle $inferior_spawn_id !=
12360 $gdb_spawn_id.
12361
12362 2015-07-29 Pedro Alves <palves@redhat.com>
12363
12364 * gdb.base/varargs.exp: Use gdb_test_stdio.
12365
12366 2015-07-29 Pedro Alves <palves@redhat.com>
12367
12368 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12369
12370 2015-07-29 Pedro Alves <palves@redhat.com>
12371
12372 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12373
12374 2015-07-29 Pedro Alves <palves@redhat.com>
12375
12376 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12377 parameter into two new parameters, "inf_result" and "gdb_result".
12378 Expect inferior output and gdb output from $inferior_spawn_id and
12379 $gdb_spawn_id, respectively. Adjust all callers.
12380
12381 2015-07-29 Pedro Alves <palves@redhat.com>
12382
12383 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12384 of gdb_test_sequence.
12385
12386 2015-07-29 Pedro Alves <palves@redhat.com>
12387
12388 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12389 (saw_spurious_output): Expect inferior output from
12390 $inferior_spawn_id. Use gdb_test_stdio.
12391
12392 2015-07-29 Pedro Alves <palves@redhat.com>
12393
12394 * gdb.base/dprintf.exp: Use standard_testfile. Change
12395 prepare_for_testing call.
12396 (srcfile): Don't set.
12397 (restart): New procedure.
12398 (test_dprintf): New procecure, use to continue over dprintfs.
12399 (test_call, test_agent): New procedures, tests moved here.
12400 Restart gdb and recreate dprintfs. Adjust expected output.
12401
12402 2015-07-29 Pedro Alves <palves@redhat.com>
12403
12404 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12405
12406 2015-07-29 Pedro Alves <palves@redhat.com>
12407
12408 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12409
12410 2015-07-29 Pedro Alves <palves@redhat.com>
12411
12412 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12413 gdb_test_stdio.
12414
12415 2015-07-29 Pedro Alves <palves@redhat.com>
12416
12417 * lib/gdb.exp (gdb_test_stdio): New procedure.
12418
12419 2015-07-29 Pedro Alves <palves@redhat.com>
12420
12421 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12422
12423 2015-07-29 Pedro Alves <palves@redhat.com>
12424
12425 * gdb.base/call-signal-resume.exp: Remove check for
12426 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12427 * gdb.base/unwindonsignal.exp: Likewise.
12428 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12429 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12430
12431 2015-07-29 Pedro Alves <palves@redhat.com>
12432
12433 * gdb.base/siginfo-addr.c (pass): New function.
12434 (handler): Call it iff si_addr is correct.
12435 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12436 Set a breakpoint at "pass" and continue to it.
12437
12438 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12439
12440 * gdb.python/py-objfile.exp: Make some tests have unique names.
12441 * gdb.python/py-pp-registration.exp: Likewise.
12442
12443 2015-07-28 Pedro Alves <palves@redhat.com>
12444
12445 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12446
12447 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12448
12449 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12450
12451 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12452
12453 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12454
12455 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12456
12457 * gdb.base/gdb-sigterm-2.exp: New test.
12458
12459 2015-07-25 Doug Evans <xdje42@gmail.com>
12460
12461 Revert:
12462 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12463 (workers/%.worker, build-perf): New rule.
12464 (GDB_PERFTEST_MODE): New variable.
12465 (check-perf): Use it.
12466 (clean): Clean up gdb.perf parallel build subdirs.
12467 * lib/build-piece.exp: New file.
12468 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12469 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12470 name.
12471 (standard_temp_file): Ditto.
12472 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12473 of $GDB_PARALLEL.
12474
12475 2015-07-24 Doug Evans <dje@google.com>
12476
12477 * gdb.perf/lib/perftest/utils.py: New file.
12478 * gdb.perf/gm-hello.cc: New file.
12479 * gdb.perf/gm-pervasive-typedef.cc: New file.
12480 * gdb.perf/gm-pervasive-typedef.h: New file.
12481 * gdb.perf/gm-std.cc: New file.
12482 * gdb.perf/gm-std.h: New file.
12483 * gdb.perf/gm-use-cerr.cc: New file.
12484 * gdb.perf/gm-utils.h: New file.
12485 * gdb.perf/gmonster-null-lookup.py: New file.
12486 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12487 * gdb.perf/gmonster-print-cerr.py: New file.
12488 * gdb.perf/gmonster-ptype-string.py: New file.
12489 * gdb.perf/gmonster-runto-main.py: New file.
12490 * gdb.perf/gmonster-select-file.py: New file.
12491 * gdb.perf/gmonster1-null-lookup.exp: New file.
12492 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12493 * gdb.perf/gmonster1-print-cerr.exp: New file.
12494 * gdb.perf/gmonster1-ptype-string.exp: New file.
12495 * gdb.perf/gmonster1-runto-main.exp: New file.
12496 * gdb.perf/gmonster1-select-file.exp: New file.
12497 * gdb.perf/gmonster1.cc: New file.
12498 * gdb.perf/gmonster1.exp: New file.
12499 * gdb.perf/gmonster2-null-lookup.exp: New file.
12500 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12501 * gdb.perf/gmonster2-print-cerr.exp: New file.
12502 * gdb.perf/gmonster2-ptype-string.exp: New file.
12503 * gdb.perf/gmonster2-runto-main.exp: New file.
12504 * gdb.perf/gmonster2-select-file.exp: New file.
12505 * gdb.perf/gmonster2.cc: New file.
12506 * gdb.perf/gmonster2.exp: New file.
12507
12508 2015-07-24 Doug Evans <dje@google.com>
12509
12510 * gdb.perf/README: New file.
12511 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12512 * lib/gen-perf-test.exp: New file.
12513
12514 2015-07-24 Doug Evans <dje@google.com>
12515
12516 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12517 (PerfTest::startup): New function.
12518 (PerfTest::run): Return result of calling body.
12519 (PerfTest::assemble): Rewrite.
12520 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12521 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12522 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12523 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12524 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12525
12526 2015-07-24 Doug Evans <dje@google.com>
12527
12528 * lib/gdb.exp (clean_restart): Make executable optional.
12529
12530 2015-07-24 Doug Evans <dje@google.com>
12531
12532 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12533 compiler_info references.
12534 * gdb.cp/temargs.exp: Ditto.
12535 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12536 (get_compiler_info): Early exit if already computed. Set compiler_info
12537 to "unknown" if there was a problem.
12538 (test_compiler_info): Add function comment. Call get_compiler_info.
12539
12540 2015-07-24 Doug Evans <dje@google.com>
12541
12542 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12543 (workers/%.worker, build-perf): New rule.
12544 (GDB_PERFTEST_MODE): New variable.
12545 (check-perf): Use it.
12546 (clean): Clean up gdb.perf parallel build subdirs.
12547 * lib/build-piece.exp: New file.
12548 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12549 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12550 name.
12551 (standard_temp_file): Ditto.
12552 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12553 of $GDB_PARALLEL.
12554
12555 2015-07-24 Doug Evans <dje@google.com>
12556
12557 * lib/future.exp (gdb_default_target_compile): New option
12558 "early_flags".
12559 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12560 --as-needed.
12561
12562 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12563
12564 * gdb.base/catch-syscall.exp: Call gdb_exit before
12565 gdb_skip_xml_test.
12566
12567 2015-07-24 Pedro Alves <palves@redhat.com>
12568
12569 * gdb.python/py-events.exp: Accept output between the stop event
12570 and the prompt.
12571 * gdb.python/py-evsignal.exp: Likewise.
12572 * gdb.python/py-evthreads.exp: Likewise.
12573
12574 2015-07-24 Pedro Alves <palves@redhat.com>
12575
12576 PR gdb/18717
12577 * gdb.threads/non-ldr-exit.c: New file.
12578 * gdb.threads/non-ldr-exit.exp: New file.
12579
12580 2015-07-24 Yao Qi <yao.qi@linaro.org>
12581
12582 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12583 restarting process.
12584
12585 2015-07-24 Yao Qi <yao.qi@linaro.org>
12586
12587 * gdb.server/ext-restart.exp: New file.
12588
12589 2015-07-24 Yao Qi <yao.qi@linaro.org>
12590
12591 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12592 argument options.
12593 * gdb.server/ext-wrapper.exp: New file.
12594
12595 2015-07-23 Doug Evans <dje@google.com>
12596
12597 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12598 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12599
12600 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12601
12602 * gdb.ada/var_arr_typedef.exp: New testcase.
12603 * gdb.ada/var_arr_typedef/pack.adb: New file.
12604 * gdb.ada/var_arr_typedef/pack.ads: New file.
12605 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12606
12607 2015-07-20 Joel Brobecker <brobecker@adacore.com>
12608
12609 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12610
12611 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12612
12613 * gdb.arch/i386-biarch-core.exp: Replace istarget
12614 by "complete set gnutarget". Remove expectation for the "core-file"
12615 command.
12616
12617 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12618
12619 Revert the previous commit:
12620 Tests for validate symbol file using build-id.
12621
12622 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12623
12624 Tests for validate symbol file using build-id.
12625 * gdb.base/solib-mismatch-lib.c: New file.
12626 * gdb.base/solib-mismatch-libmod.c: New file.
12627 * gdb.base/solib-mismatch.c: New file.
12628 * gdb.base/solib-mismatch.exp: New file.
12629
12630 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12631
12632 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12633 nios2-*-linux*.
12634 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12635 * gdb.base/siginfo.exp: Likewise.
12636 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12637
12638 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12639
12640 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12641 Move it to ...
12642 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12643 ... here.
12644 * gdb.trace/range-stepping.exp: Check that the target supports
12645 range stepping.
12646
12647 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12648
12649 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12650
12651 2015-07-14 Pedro Alves <palves@redhat.com>
12652
12653 * gdb.base/killed-outside.exp: New file.
12654 * gdb.base/killed-outside.c: New file.
12655
12656 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12657
12658 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12659 (n at main): New.
12660 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12661
12662 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12663
12664 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12665 infcall tests instead of setting up for KFAIL.
12666
12667 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12668
12669 * gdb.btrace/record_goto-step.exp: New.
12670
12671 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12672
12673 PR compile/18484
12674 * gdb.compile/compile.c (struct struct_type): Add volatile to
12675 selffield's type.
12676 * gdb.compile/compile.exp
12677 (compile code struct_object.selffield = &struct_object): Skip further
12678 struct_object tests if this one xfails.
12679
12680 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
12681
12682 PR exp/18617
12683 * gdb.trace/ax.exp: Add test.
12684
12685 2015-07-07 Yao Qi <yao.qi@linaro.org>
12686
12687 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12688 instead of istarget "aarch64*-*-*".
12689 * gdb.arch/aarch64-fp.exp: Likewise.
12690 * gdb.base/float.exp: Likewise.
12691 * gdb.reverse/aarch64.exp: Likewise.
12692 * lib/gdb.exp (is_aarch64_target): New proc.
12693
12694 2015-07-07 Yao Qi <yao.qi@linaro.org>
12695
12696 * lib/gdb.exp (is_aarch32_target): New proc.
12697 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12698 instead of "istarget "arm*-*-*"".
12699 * gdb.arch/arm-disp-step.exp: Likewise.
12700 * gdb.arch/thumb-bx-pc.exp: Likewise.
12701 * gdb.arch/thumb-prologue.exp: Likewise.
12702 * gdb.arch/thumb-singlestep.exp: Likewise.
12703 * gdb.base/disp-step-syscall.exp: Likewise.
12704 * gdb.base/float.exp: Likewise.
12705
12706 2015-07-07 Yao Qi <yao.qi@linaro.org>
12707
12708 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12709 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12710
12711 2015-07-07 Yao Qi <yao.qi@linaro.org>
12712
12713 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12714 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12715 if it exists.
12716 * gdb.multi/multi-arch.exp: Likewise.
12717
12718 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12719
12720 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12721 print.
12722
12723 2015-07-07 Yao Qi <yao.qi@linaro.org>
12724
12725 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12726
12727 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12728
12729 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12730 '[' and ']' characters.
12731
12732 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12733
12734 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12735
12736 2015-06-29 Pedro Alves <palves@redhat.com>
12737
12738 PR threads/18127
12739 * gdb.threads/hand-call-new-thread.c: New file.
12740 * gdb.threads/hand-call-new-thread.c: New file.
12741
12742 2015-06-26 Keith Seitz <keiths@redhat.com>
12743 Doug Evans <dje@google.com>
12744
12745 PR 16253
12746 * gdb.cp/var-tag-2.cc: New file.
12747 * gdb.cp/var-tag-3.cc: New file.
12748 * gdb.cp/var-tag-4.cc: New file.
12749 * gdb.cp/var-tag.cc: New file.
12750 * gdb.cp/var-tag.exp: New file.
12751
12752 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12753
12754 * gdb.base/history-duplicates.exp: New test.
12755
12756 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12757
12758 * gdb.base/completion.exp: Test the completion of the "focus"
12759 command.
12760
12761 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12762
12763 * gdb.arch/amd64-prologue-skip.S: New file.
12764 * gdb.arch/amd64-prologue-skip.exp: New file.
12765
12766 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12767
12768 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12769 is_address_zero_readable check.
12770
12771 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12772
12773 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12774 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12775
12776 2015-06-24 Yao Qi <yao.qi@linaro.org>
12777
12778 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12779 linux targets.
12780
12781 2015-06-24 Yao Qi <yao.qi@linaro.org>
12782
12783 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12784 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12785 * gdb.base/siginfo-thread.exp: Likewise.
12786
12787 2015-06-22 Yao Qi <yao.qi@linaro.org>
12788
12789 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12790
12791 2015-06-22 Yao Qi <yao.qi@linaro.org>
12792
12793 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12794 aarch64*-*-*.
12795 (skip_hw_watchpoint_tests): Likewise.
12796
12797 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12798
12799 * gdb.base/gdbinit-history.exp: Test the interaction between
12800 setting GDBHISTSIZE and setting the history size via .gdbinit.
12801
12802 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12803
12804 PR gdb/16999
12805 * gdb.base/gdbhistsize-history.exp: New test.
12806
12807 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12808
12809 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12810 with GDBHISTSIZE.
12811 * gdb.base/readline.exp: Likewise.
12812
12813 2015-06-17 Yao Qi <yao.qi@linaro.org>
12814
12815 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12816 line.
12817
12818 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12819
12820 * gdb.base/gdbinit-history.exp: Add test case to check that
12821 an unlimited history file does not get truncated on exit.
12822
12823 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12824
12825 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12826 (VECTOR): New macro. Use it...
12827 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12828 ...for these typedefs.
12829 (int8, char1, int1, double1): New typedefs.
12830 (struct just_int2, struct two_int2): New structures.
12831 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12832 (add_structvecs, add_singlevecs): New functions.
12833 (main): Call add_some_intvecs twice.
12834 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12835 the compile and exit upon failure. Try compiling for the "native"
12836 architecture. Test inferior function calls with vector arguments
12837 and vector return value handling with "finish" and "return".
12838
12839 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12840
12841 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12842 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12843 PE file.
12844 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12845
12846 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12847
12848 PR breakpoints/16465
12849 * gdb.mi/mi-dprintf-pending.c: New file.
12850 * gdb.mi/mi-dprintf-pending.exp: New test.
12851 * gdb.mi/mi-dprintf-pendshr.c: New file.
12852
12853 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12854 Mircea Gherzan <mircea.gherzan@intel.com>
12855
12856 * gdb.arch/i386-mpx-map.c: New file.
12857 * gdb.arch/i386-mpx-map.exp: New File.
12858
12859 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12860
12861 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12862 * gdb.arch/i386-mpx.exp: Indentation fixed.
12863
12864 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12865
12866 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12867 function and improved indentation.
12868 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12869 gdb_test_multiple. Added additional tests to skip the test.
12870
12871 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12872
12873 * gdb.arch/i386-avx512.c: Change path in include file.
12874 * gdb.arch/i386-avx512.exp: Change include dir path
12875 compilation flag.
12876 * gdb.arch/i386-mpx.c: Change path in include file.
12877 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12878 flag.
12879
12880 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12881
12882 * gdb.compile/compile-print.exp (compile print *vararray@3)
12883 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12884
12885 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12886
12887 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12888 (do not keep jit in memory): ... this.
12889 (expect 5): Change it to ...
12890 (expect no 5): ... this.
12891
12892 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12893
12894 PR gdb/15564
12895 * gdb.mi/mi-detach.exp: New file.
12896
12897 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12898
12899 PR symtab/18392
12900 * gdb.arch/amd64-tailcall-self.S: New file.
12901 * gdb.arch/amd64-tailcall-self.c: New file.
12902 * gdb.arch/amd64-tailcall-self.exp: New file.
12903
12904 2015-05-28 Don Breazeal <donb@codesourcery.com>
12905
12906 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12907 tests for remote targets by checking is_target_gdbserver.
12908
12909 2015-05-27 Doug Evans <dje@google.com>
12910
12911 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12912 * gdb.dwarf2/opaque-type-lookup.c: New file.
12913 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12914
12915 2015-05-26 Doug Evans <dje@google.com>
12916
12917 * gdb.cp/iostream.cc: New file.
12918 * gdb.cp/iostream.exp: New file.
12919
12920 2015-05-26 Doug Evans <dje@google.com>
12921
12922 * gdb.dwarf2/dw2-op-call.exp: Update.
12923 * gdb.dwarf2/dw4-sig-types.exp: Update.
12924 * gdb.dwarf2/implptr.exp: Update.
12925 * gdb.mi/mi-cmd-param-changed.exp: Update.
12926
12927 2015-05-26 Doug Evans <dje@google.com>
12928
12929 * gdb.python/py-lazy-string.c: New file.
12930 * gdb.python/py-lazy-string.exp: New file.
12931 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12932 (main): Update. Add estring3.
12933 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12934 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12935
12936 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12937 Yao Qi <yao.qi@linaro.org>
12938
12939 * gdb.reverse/aarch64.c: New.
12940 * gdb.reverse/aarch64.exp: New.
12941
12942 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12943
12944 * lib/gdb.exp (supports_process_record): Return true for
12945 aarch64*-linux*.
12946 (supports_reverse): Likewise.
12947
12948 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12949
12950 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12951 Use with_test_prefix.
12952
12953 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12954
12955 * gdb.base/completion.exp: Add test for completion of layout
12956 names.
12957
12958 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12959
12960 * lib/gdb.exp (skip_tui_tests): New proc.
12961 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12962
12963 2015-05-19 Pedro Alves <palves@redhat.com>
12964
12965 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12966 Save the whole env array instead of just HOME. Unset HISTSIZE in
12967 the environment while testing. Restore whole environment
12968 afterwards.
12969
12970 2015-05-16 Doug Evans <xdje42@gmail.com>
12971
12972 * gdb.guile/scm-ports.c: New file.
12973 * gdb.guile/scm-ports.exp: Add memory port tests.
12974
12975 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12976
12977 * gdb.compile/compile-print.c: New file.
12978 * gdb.compile/compile-print.exp: New file.
12979
12980 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12981
12982 * gdb.compile/compile-ops.exp: Cast param to void.
12983 * gdb.compile/compile.exp: Complete type for _gdb_expr.
12984 (compile code struct_object.selffield = &struct_object): Add xfail.
12985
12986 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12987
12988 * gdb.ada/arr_enum_with_gap: New testcase.
12989
12990 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12991
12992 * gdb.ada/byte_packed_arr: New testcase.
12993
12994 2015-05-15 Joel Brobecker <brobecker@adacore.com>
12995
12996 * gdb.ada/pckd_neg: New testcase.
12997
12998 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
12999
13000 PR gdb/17820
13001 * gdb.base/gdbinit-history.exp: New test.
13002 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13003 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13004
13005 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13006
13007 * gdb.python/py-xmethods.cc: Enhance test case.
13008 * gdb.python/py-xmethods.exp: New tests.
13009 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13010 function.
13011 (B_indexoper): Likewise.
13012 (global_dm_list) : Add new xmethod worker functions.
13013
13014 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13015
13016 * gdb.base/coredump-filter.exp: Correctly unset
13017 "coredump_var_addr" array.
13018
13019 2015-05-08 Pedro Alves <palves@redhat.com>
13020
13021 * gdb.server/non-existing-program.exp: Unset spawn_id.
13022
13023 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13024
13025 PR python/18291
13026 * gdb.python/py-xmethods.exp: Add tests.
13027
13028 2015-05-08 Yao Qi <yao.qi@linaro.org>
13029
13030 PR gdb/18208
13031 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13032 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13033 function set_coredump_filter, and remove remote_exec call.
13034 Remove argument ipid. Callers update.
13035 (top level): Don't get inferior's PID.
13036
13037 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13038
13039 * gdb.base/watch_thread_num.exp: Skip test on targets without
13040 access watchpoints.
13041
13042 2015-05-06 Pedro Alves <palves@redhat.com>
13043
13044 PR server/18081
13045 * gdb.server/non-existing-program.exp: New file.
13046
13047 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13048
13049 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13050
13051 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13052
13053 * gdb.ada/out_of_line_in_inlined: New testcase.
13054
13055 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13056
13057 * gdb.ada/var_rec_arr: New testcase.
13058
13059 2015-04-30 Yao Qi <yao.qi@linaro.org>
13060
13061 * gdb.base/break-idempotent.exp: If
13062 skip_hw_watchpoint_multi_tests returns true, skip the tests
13063 on "rwatch" and "awatch".
13064
13065 2015-04-30 Yao Qi <yao.qi@linaro.org>
13066
13067 * gdb.base/relativedebug.exp: Invoke gdb command
13068 "info sharedlibrary", and if libc.so doesn't have debug info,
13069 skip the test.
13070
13071 2015-04-29 Doug Evans <dje@google.com>
13072
13073 * gdb.python/py-xmethods.exp: Add ptype tests.
13074 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13075 get_result_type method.
13076
13077 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13078
13079 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13080 the target does not support hardware watchpoints.
13081
13082 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13083
13084 * gdb.base/break-always.exp: Abort testing if writing to memory
13085 causes an error.
13086
13087 2015-04-28 Doug Evans <dje@google.com>
13088
13089 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13090 * gdb.python/py-pp-registration.exp: ... here. New file.
13091 * gdb.python/py-pp-registration.c: New file.
13092 * gdb.python/py-pp-registration.py: New file.
13093
13094 2015-04-28 Doug Evans <dje@google.com>
13095
13096 * gdb.python/py-bad-printers.c: New file.
13097 * gdb.python/py-bad-printers.py: New file.
13098 * gdb.python/py-bad-printers.exp: New file.
13099
13100 2015-04-28 Sasha Smundak <asmundak@google.com>
13101
13102 * gdb.python/py-type.exp: New test.
13103
13104 2015-04-28 Andy Wingo <wingo@igalia.com>
13105
13106 * gdb.python/py-parameter.exp:
13107 * gdb.guile/scm-parameter.exp: Escape the path that we are
13108 matching against, as it might contain characters that are special
13109 to regular expressions.
13110
13111 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13112
13113 * gdb.ada/rec_comp: New testcase.
13114
13115 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13116
13117 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13118 before using it.
13119
13120 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13121
13122 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13123 new tests for verilog output.
13124
13125 2015-04-24 Yao Qi <yao.qi@linaro.org>
13126
13127 * boards/remote-gdbserver-on-localhost.exp: New file.
13128
13129 2015-04-23 Pedro Alves <palves@redhat.com>
13130
13131 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13132 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13133 "end of file", remove $inferior_spawn_id from the indirect list.
13134
13135 2015-04-23 Pedro Alves <palves@redhat.com>
13136
13137 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13138
13139 2015-04-23 Pedro Alves <palves@redhat.com>
13140
13141 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13142 on $any_spawn_id instead of only on $gdb_spawn_id.
13143
13144 2015-04-21 Pierre Muller <muller@sourceware.org>
13145
13146 PR pascal/17815
13147 * lib/pascal.exp (gpc_compile): Add new option "class".
13148 (fpc_compile): Likewise.
13149 * gdb.pascal/case-insensitive-symbols.pas: New file.
13150 * gdb.pascal/case-insensitive-symbols.exp: New file.
13151
13152 2015-04-20 Gary Benson <gbenson@redhat.com>
13153
13154 * gdb.base/attach.exp: Fix three extended remote failures.
13155
13156 2015-04-17 Gary Benson <gbenson@redhat.com>
13157
13158 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13159 the main executable over the remote protocol.
13160
13161 2015-04-16 Pedro Alves <palves@redhat.com>
13162
13163 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13164 a new gdbserver if gdbserver_reconnect_p is set.
13165
13166 2015-04-16 Pedro Alves <palves@redhat.com>
13167
13168 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13169 is set, don't exit gdbserver.
13170
13171 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13172
13173 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13174 appropriate .insn, such that an older assembler can be used.
13175 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13176 the z/Architecture instruction set on 31-bit targets as well.
13177
13178 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13179
13180 * gdb.go/handcall.exp: Remove all logic related to the first
13181 breakpoint and rely on go_runto_main instead.
13182 * gdb.go/strings.exp: Likewise.
13183 * gdb.go/unsafe.exp: Likewise.
13184 * gdb.go/hello.exp: Likewise. Also rename the remaining
13185 breakpoint marker to "breakpoint 1".
13186 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13187 * gdb.go/strings.go: Likewise.
13188 * gdb.go/unsafe.go: Likewise.
13189 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13190 "set breakpoint 2 here" and rename the remaining breakpoint marker
13191 to "breakpoint 1".
13192
13193 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13194
13195 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13196 if itertools.imap is not present.
13197 * gdb.python/py-objfile.exp: Add parentheses.
13198 * gdb.python/py-type.exp: Same.
13199 * gdb.python/py-unwind-maint.py: Same.
13200
13201 2015-04-15 Yao Qi <yao.qi@linaro.org>
13202
13203 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13204 of ":$ptr_size" and set its form explicitly.
13205
13206 2015-04-15 Pedro Alves <palves@redhat.com>
13207 Yao Qi <yao.qi@linaro.org>
13208
13209 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13210 timeout by factor of 4.
13211 (test_regular_watch): Likewise.
13212 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13213 * gdb.reverse/sigall-reverse.exp: Likewise.
13214 * gdb.reverse/until-precsave.exp: Likewise.
13215 * lib/gdb.exp (with_timeout_factor): New proc.
13216 (gdb_expect): Move some code to ...
13217 (get_largest_timeout): ... here. New procedure.
13218
13219 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
13220
13221 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13222
13223 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13224
13225 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13226 to write to the .text section.
13227
13228 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13229
13230 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13231 Handle the case of targets that do not provide PID information.
13232
13233 2015-04-13 Yao Qi <yao.qi@linaro.org>
13234
13235 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13236 and use expect instead of gdb_expect.
13237
13238 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13239
13240 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13241 "coredump_var_addr" to avoid naming conflict with other testcases.
13242
13243 2015-04-10 Pedro Alves <palves@redhat.com>
13244
13245 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13246 gdb_test_sequence and gdb_assert.
13247
13248 2015-04-10 Pedro Alves <palves@redhat.com>
13249
13250 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13251 test messages that don't include the breakpoint address.
13252
13253 2015-04-10 Yao Qi <yao.qi@linaro.org>
13254
13255 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13256 false for some offset and width combinations which aren't
13257 supported by linux kernel.
13258
13259 2015-04-10 Pedro Alves <palves@redhat.com>
13260
13261 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13262 procedure, factored out from ...
13263 (top level): ... here. Add "set displaced-stepping" testing axis.
13264 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13265 parameter "displaced". Use it.
13266 (top level): Use foreach and add "set displaced-stepping" testing
13267 axis.
13268
13269 2015-04-10 Pedro Alves <palves@redhat.com>
13270
13271 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13272 Remove comment.
13273 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13274 both the address of the instruction that triggers the watchpoint
13275 and the address of the instruction immediately after, and use
13276 those addresses for the test. Fix comment.
13277
13278 2015-04-10 Pedro Alves <palves@redhat.com>
13279
13280 * gdb.base/sigstep.exp (breakpoint_to_handler)
13281 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13282 Test "backtrace" in handler.
13283 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13284 (top level): Add new "displaced" test axis to
13285 breakpoint_to_handler, breakpoint_to_handler_entry and
13286 breakpoint_over_handler.
13287
13288 2015-04-10 Pedro Alves <palves@redhat.com>
13289
13290 PR gdb/18216
13291 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13292
13293 2015-04-10 Yao Qi <yao.qi@linaro.org>
13294
13295 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13296 (test_add_rn_pc): New function.
13297 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13298 (top level): Invoke test_add_rn_pc.
13299
13300 2015-04-10 Pedro Alves <palves@redhat.com>
13301
13302 PR gdb/13858
13303 * gdb.base/step-over-no-symbols.exp: New file.
13304
13305 2015-04-09 Andy Wingo <wingo@igalia.com>
13306
13307 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13308 after the Python tests.
13309
13310 2015-04-08 Keith Seitz <keiths@redhat.com>
13311
13312 PR python/16699
13313 * gdb.python/py-completion.exp: New tests for completion.
13314 * gdb.python/py-completion.py (CompleteLimit1): New class.
13315 (CompleteLimit2): Likewise.
13316 (CompleteLimit3): Likewise.
13317 (CompleteLimit4): Likewise.
13318 (CompleteLimit5): Likewise.
13319 (CompleteLimit6): Likewise.
13320 (CompleteLimit7): Likewise.
13321
13322 2015-04-08 Pedro Alves <palves@redhat.com>
13323
13324 PR gdb/18214
13325 PR gdb/18216
13326 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13327 function.
13328 (main): Install it as SIGUSR1 handler.
13329 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13330 parameter. Always use "setup" as prefix. Toggle "set
13331 displaced-stepping" off/on depending on global. Don't switch to
13332 thread 1 here.
13333 (top level): Add displaced stepping "off/on" test axis. Update
13334 "setup" calls. Wrap each subtest with with_test_prefix. Test
13335 continuing with a queued signal in each thread.
13336
13337 2015-04-08 Pedro Alves <palves@redhat.com>
13338
13339 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13340 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13341 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13342 Return early if running to main fails.
13343 * gdb.trace/while-stepping.exp: Likewise.
13344
13345 2015-04-07 Pedro Alves <palves@redhat.com>
13346
13347 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13348 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13349 interact with inferior program.
13350
13351 2015-04-07 Pedro Alves <palves@redhat.com>
13352
13353 * lib/gdb.exp (inferior_spawn_id): New global.
13354 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13355 spawn id after processing the user code.
13356 (default_gdb_start): Set inferior_spawn_id.
13357 (send_inferior): New procedure.
13358 * lib/gdbserver-support.exp (gdbserver_start): Set
13359 inferior_spawn_id.
13360 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13361
13362 2015-04-07 Pedro Alves <palves@redhat.com>
13363
13364 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13365 * lib/gdbserver-support.exp (gdbserver_start): Make
13366 $server_spawn_id global.
13367 (gdbserver_start): Don't wait for gdbserver's spawn id with
13368 expect_background.
13369 (close_gdbserver): New procedure.
13370 (gdb_exit): Rename the default version and reimplement.
13371
13372 2015-04-07 Pedro Alves <palves@redhat.com>
13373
13374 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13375 append the substituted item, not the original item.
13376
13377 2015-04-07 Pedro Alves <palves@redhat.com>
13378
13379 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13380 gdb_expect.
13381
13382 2015-04-07 Pedro Alves <palves@redhat.com>
13383
13384 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13385 output appearing once only.
13386
13387 2015-04-07 Pedro Alves <palves@redhat.com>
13388
13389 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13390 that doesn't expect anything. Return early if running to main
13391 fails.
13392
13393 2015-04-07 Yao Qi <yao.qi@linaro.org>
13394
13395 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13396 (child_function): Call alarm.
13397 (main): Move call to alarm into the loop.
13398 * gdb.threads/non-stop-fair-events.exp: Build program with
13399 -DTIMEOUT=$timeout.
13400
13401 2015-04-06 Doug Evans <xdje42@gmail.com>
13402
13403 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13404 Fix dest parameter to board_info.
13405 (fpc_compile): Ditto.
13406 (gdb_compile_pascal): Rename dest arg to destfile.
13407
13408 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13409
13410 * gdb.ada/funcall_ref.exp: New file.
13411 * gdb.ada/funcall_ref/foo.adb: New file.
13412
13413 2015-04-02 Yao Qi <yao.qi@linaro.org>
13414
13415 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13416 is remote.
13417
13418 2015-04-02 Gary Benson <gbenson@redhat.com>
13419
13420 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13421
13422 2015-04-01 Sasha Smundak <asmundak@google.com>
13423
13424 * gdb.python/py-unwind-maint.c: New file.
13425 * gdb.python/py-unwind-maint.exp: New test.
13426 * gdb.python/py-unwind-maint.py: New file.
13427 * gdb.python/py-unwind.c: New file.
13428 * gdb.python/py-unwind.exp: New test.
13429 * gdb.python/py-unwind.py: New test.
13430
13431 2015-04-01 Pedro Alves <palves@redhat.com>
13432
13433 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13434 to fail instead of non-existent $test.
13435
13436 2015-04-01 Pedro Alves <palves@redhat.com>
13437
13438 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13439 GDBFLAGS if not empty.
13440
13441 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13442
13443 * gdb.ada/complete.exp: Remove "multi_line".
13444 * gdb.ada/info_exc.exp: Remove "multi_line".
13445 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13446 * gdb.ada/ptype_field.exp: Remove "multi_line".
13447 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13448 * gdb.ada/tagged.exp: Remove "multi_line".
13449 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13450 [multi_line ...]
13451 * gdb.btrace/delta.exp: Likewise.
13452 * gdb.btrace/exception.exp: Likewise.
13453 * gdb.btrace/function_call_history.exp: Likewise.
13454 * gdb.btrace/instruction_history.exp: Likewise.
13455 * gdb.btrace/nohist.exp: Likewise.
13456 * gdb.btrace/record_goto.exp: Likewise.
13457 * gdb.btrace/segv.exp: Likewise.
13458 * gdb.btrace/stepi.exp: Likewise.
13459 * gdb.btrace/tailcall.exp: Likewise.
13460 * gdb.btrace/unknown_functions.exp: Likewise.
13461 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13462 * lib/gdb.exp: Add the "multi_line" helper.
13463
13464 2015-04-01 Pedro Alves <palves@redhat.com>
13465
13466 * gdb.threads/tid-reuse.c: New file.
13467 * gdb.threads/tid-reuse.exp: New file.
13468
13469 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13470
13471 PR corefiles/16092
13472 * gdb.base/coredump-filter.c: New file.
13473 * gdb.base/coredump-filter.exp: Likewise.
13474
13475 2015-03-27 Petr Machata <pmachata@redhat.com>
13476
13477 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13478 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13479 (Dwarf::assemble): Initialize them.
13480 (Dwarf::lines): New function.
13481
13482 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13483
13484 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13485 SYMBOL_PREFIX for x86_64-*-cygwin.
13486
13487 2015-03-26 Andy Wingo <wingo@igalia.com>
13488
13489 PR symtab/18148
13490 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13491 const_value but not a location.
13492 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13493 location defined in non-main CUs are visible.
13494
13495 2015-03-26 Yao Qi <yao.qi@linaro.org>
13496
13497 PR testsuite/18139
13498 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13499 Add a line number entry for the same line.
13500 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13501 Add a line number entry for the same line.
13502
13503 2015-03-26 Yao Qi <yao.qi@linaro.org>
13504
13505 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13506 .int 0.
13507 (func): Likewise. Add .Lfunc_1 label.
13508 Use .Lfunc_1 label.
13509 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13510 .int 0.
13511 (func): Likewise.
13512 Use .Lfunc_1 label.
13513
13514 2015-03-26 Yao Qi <yao.qi@linaro.org>
13515
13516 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13517 Call gdb_compile instead to compile each .s files without debug
13518 information.
13519
13520 2015-03-26 Yao Qi <yao.qi@linaro.org>
13521
13522 * gdb.base/savedregs.exp (process_saved_regs): Make
13523 "Saved registers:" optional in the pattern.
13524
13525 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13526
13527 * gdb.btrace/next.exp: Merged into step.exp.
13528 * gdb.btrace/finish.exp: Merged into step.exp.
13529 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13530 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13531 "record goto" and checking the exact replay position.
13532 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13533 check for "Recording format" in "info record" output.
13534 * gdb.btrace/record_goto.exp: Choose test file based on target.
13535 * gdb.btrace/x86-record_goto.S: Renamed into ...
13536 * gdb.btrace/x86_64-record_goto.S: ... this.
13537 * gdb.btrace/i686-record_goto.S: New.
13538 * gdb.btrace/x86-tailcall.S: Renamed into ...
13539 * gdb.btrace/x86_64-tailcall.S: ... this.
13540 * gdb.btrace/i686-tailcall.S: New.
13541 * gdb.btrace/x86-tailcall.c: Renamed into ...
13542 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13543 separate statements. Update test.
13544 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13545 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13546 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13547 * gdb.btrace/tailcall.exp: Choose test file based on target.
13548 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13549
13550 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13551
13552 * gdb.btrace/exception.exp: Increase BTS buffer size.
13553
13554 2015-03-24 Pedro Alves <palves@redhat.com>
13555
13556 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13557
13558 2015-03-24 Pedro Alves <palves@redhat.com>
13559
13560 * gdb.threads/schedlock.exp (test_step): No longer expect that
13561 "set scheduler-locking step" with "next" over a function call runs
13562 threads unlocked.
13563
13564 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13565
13566 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13567
13568 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13569
13570 PR breakpoints/16466
13571 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13572 * gdb.mi/mi-pending.c (thread_func): New function.
13573 (int main): Add threading support required.
13574 * gdb.mi/mi-pending.exp: Add tests for this issue.
13575 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13576 (pendfunc2): Remove stdio dependency.
13577 * gdb.mi/mi-pendshr2.c: New file.
13578
13579 2015-03-23 Keith Seitz <keiths@redhat.com>
13580
13581 * gdb.linespec/keywords.c: New file.
13582 * gdb.linespec/keywords.exp: New file.
13583
13584 2015-03-23 Keith Seitz <keiths@redhat.com>
13585
13586 PR gdb/18021
13587 * gdb.dwarf2/staticvirtual.exp: New test.
13588
13589 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13590
13591 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13592 * README: Remove HP-UX and gdb.hp.
13593 (configuration):
13594 * configure: Regenerate.
13595 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13596 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13597 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13598 gdb.hp/gdb.defects/Makefile.
13599 * gdb.hp/Makefile.in: File deleted.
13600 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13601 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13602 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13603 * gdb.hp/gdb.aCC/run.c: File deleted.
13604 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13605 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13606 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13607 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13608 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13609 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13610 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13611 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13612 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13613 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13614 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13615 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13616 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13617 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13618 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13619 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13620 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13621 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13622 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13623 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13624 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13625 * gdb.hp/gdb.compat/average.c: File deleted.
13626 * gdb.hp/gdb.compat/sum.c: File deleted.
13627 * gdb.hp/gdb.compat/xdb.c: File deleted.
13628 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13629 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13630 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13631 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13632 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13633 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13634 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13635 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13636 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13637 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13638 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13639 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13640 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13641 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13642 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13643 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13644 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13645 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13646 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13647 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13648 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13649 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13650 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13651 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13652 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13653 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13654 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13655 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13656 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13657 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13658 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13659 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13660 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13661 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13662 * gdb.hp/tools/odump: File deleted.
13663
13664 2015-03-19 Pedro Alves <palves@redhat.com>
13665
13666 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13667 (saw_thread_3): New globals.
13668 (top level): Increment them when an event for the corresponding
13669 thread is seen.
13670 (no thread starvation): New test.
13671
13672 2015-03-19 Pedro Alves <palves@redhat.com>
13673
13674 * gdb.threads/continue-pending-status.c: New file.
13675 * gdb.threads/continue-pending-status.exp: New file.
13676
13677 2015-03-18 Pedro Alves <palves@redhat.com>
13678
13679 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13680 Use gdb_is_target_remote instead of is_remote. Use
13681 gdb_test_multiple instead of gdb_expect. Exit early if
13682 gdb_test_multiple hits its internal matches. Tighten stepi tests
13683 expected output. Fail on exit with any signal, instead of just
13684 SIGILL.
13685
13686 2015-03-18 Yao Qi <yao.qi@linaro.org>
13687
13688 PR tdep/18107
13689 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13690 variable.
13691 * gdb.base/catch-syscall.exp: Don't skip it on
13692 aarch64*-*-linux* target. Remove elements in all_syscalls.
13693 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13694 target.
13695 (setup_all_syscalls): New proc.
13696
13697 2015-03-16 Yao Qi <yao.qi@linaro.org>
13698
13699 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13700 (top level): Skip tests if valid_addr_p returns false for
13701 $cmd1 or $cmd2.
13702
13703 2015-03-11 Andy Wingo <wingo@igalia.com>
13704
13705 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13706
13707 2015-03-11 Yao Qi <yao.qi@linaro.org>
13708
13709 * gdb.base/catch-syscall.exp: Fix typo in comments.
13710
13711 2015-03-11 Yao Qi <yao.qi@linaro.org>
13712
13713 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13714
13715 2015-03-09 Pedro Alves <palves@redhat.com>
13716
13717 * dg-extract-results.py: Delete.
13718
13719 2015-03-09 Pedro Alves <palves@redhat.com>
13720
13721 Merge dg-extract-results.sh from GCC upstream (r218843).
13722
13723 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13724 * dg-extract-results.sh: Use --text with grep to avoid issues with
13725 binary files. Fall back to cat -v, if that doesn't work.
13726
13727 2015-03-05 Pedro Alves <palves@redhat.com>
13728
13729 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13730
13731 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13732
13733 * lib/mi-support.exp (mi_expect_interrupt): Accept
13734 alternative event for when in all-stop mode.
13735
13736 2015-03-04 Pedro Alves <palves@redhat.com>
13737
13738 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13739
13740 2015-03-04 Mark Kettenis <kettenis@gnu.org>
13741
13742 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13743
13744 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13745
13746 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13747 regexps for GDB's current line display, accept a hex address
13748 preceding the line number.
13749
13750 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13751
13752 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13753 the 'arch1' variable for "s390*-linux*" targets.
13754
13755 2015-03-04 Pedro Alves <palves@redhat.com>
13756
13757 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13758 (main): Pass missing retval argument to pthread_join call.
13759
13760 2015-03-02 Pedro Alves <palves@redhat.com>
13761
13762 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13763 (top level): Call do_test with non-stop as well.
13764
13765 2015-03-02 Pedro Alves <palves@redhat.com>
13766
13767 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13768 -1.
13769
13770 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13771
13772 * gdb.arch/s390-vregs.exp: New test.
13773 * gdb.arch/s390-vregs.S: New file.
13774
13775 2015-02-27 Pedro Alves <palves@redhat.com>
13776
13777 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13778 call to catch_command_errors.
13779 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13780 catch_command_errors.
13781
13782 2015-02-27 Pedro Alves <palves@redhat.com>
13783
13784 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13785 "true" for boolean result.
13786 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13787 prototype of main.
13788
13789 2015-02-27 Pedro Alves <palves@redhat.com>
13790
13791 * lib/unbuffer_output.c: New file.
13792 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13793 (main): Call gdb_unbuffer_output.
13794
13795 2015-02-27 Yao Qi <yao.qi@linaro.org>
13796
13797 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13798 target.
13799
13800 2015-02-26 Doug Evans <dje@google.com>
13801
13802 * gdb.cp/class2.cc (Dbase, D): New classes.
13803 (main): New local delta.
13804 * gdb.cp/class2.exp: Test printing delta.
13805 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13806 (dynbar): New global.
13807 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13808
13809 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13810
13811 * gdb.compile/compile-ifunc.c: New file.
13812 * gdb.compile/compile-ifunc.exp: New file.
13813
13814 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13815
13816 * gdb.base/structs.exp: Check for correct struct on finish.
13817
13818 2015-02-26 Yao Qi <yao.qi@linaro.org>
13819
13820 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13821 is zero.
13822
13823 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13824
13825 * gdb.arch/cordic.ko.bz2: New file.
13826 * gdb.arch/cordic.ko.debug.bz2: New file.
13827 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13828
13829 2015-02-25 Yao Qi <yao.qi@linaro.org>
13830
13831 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13832 aarch64*-*-* target.
13833
13834 2015-02-23 Pedro Alves <palves@redhat.com>
13835
13836 * lib/gdb.exp (delete_breakpoints): Rewrite using
13837 gdb_test_multiple.
13838
13839 2015-02-23 Pedro Alves <palves@redhat.com>
13840
13841 * gdb.base/info-os.c: Include stdlib.h.
13842
13843 2015-02-22 Doug Evans <xdje42@gmail.com>
13844
13845 PR symtab/17855
13846 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13847 is read after symbols have been re-read.
13848 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13849 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13850
13851 2015-02-21 Doug Evans <dje@google.com>
13852
13853 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13854
13855 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13856
13857 PR corefiles/17808
13858 * gdb.arch/i386-biarch-core.core.bz2: New file.
13859 * gdb.arch/i386-biarch-core.exp: New file.
13860
13861 2015-02-21 Pedro Alves <palves@redhat.com>
13862
13863 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13864 runto_main fails.
13865
13866 2015-02-20 Pedro Alves <palves@redhat.com>
13867
13868 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13869 info probes.
13870
13871 2015-02-20 Pedro Alves <palves@redhat.com>
13872
13873 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13874
13875 2015-02-20 Pedro Alves <palves@redhat.com>
13876
13877 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13878 clean_restart before gdb_target_supports_trace.
13879
13880 2015-02-20 Pedro Alves <palves@redhat.com>
13881
13882 PR threads/18006
13883 * gdb.threads/clone-thread_db.c: New file.
13884 * gdb.threads/clone-thread_db.exp: New file.
13885
13886 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13887
13888 PR breakpoints/16812
13889 * gdb.base/catch-gdb-caused-signals.c: New file.
13890 * gdb.base/catch-gdb-caused-signals.exp: New file.
13891
13892 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13893
13894 * configure: Regenerated.
13895 * configure.ac: Use GDB_AC_TRANSFORM.
13896 * aclocal.m4: sinclude ../transform.m4.
13897
13898 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13899
13900 * lib/dtrace.exp: New file.
13901 * gdb.base/dtrace-probe.exp: Likewise.
13902 * gdb.base/dtrace-probe.d: Likewise.
13903 * gdb.base/dtrace-probe.c: Likewise.
13904 * lib/pdtrace.in: Likewise.
13905 * configure.ac: Output variables with the transformed names of
13906 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13907 * configure: Regenerated.
13908
13909 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13910
13911 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13912 expected message when trying to access $_probe_* convenience
13913 variables while not on a probe.
13914
13915 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13916
13917 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13918
13919 2015-02-11 Pedro Alves <pedro@codesourcery.com>
13920
13921 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13922 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13923
13924 2015-02-10 Doug Evans <xdje42@gmail.com>
13925
13926 * lib/gdb.exp (gdb_load): Always return a result.
13927
13928 2015-02-10 Pedro Alves <palves@redhat.com>
13929
13930 * gdb.threads/signal-sigtrap.c: New file.
13931 * gdb.threads/signal-sigtrap.exp: New file.
13932
13933 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13934
13935 * gdb.trace/no-attach-trace.c: New file.
13936 * gdb.trace/no-attach-trace.exp: New file.
13937
13938 2015-02-09 Mark Wielaard <mjw@redhat.com>
13939
13940 * gdb.dwarf2/atomic.c: New file.
13941 * gdb.dwarf2/atomic-type.exp: Likewise.
13942
13943 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13944
13945 * gdb.btrace/buffer-size.exp: Update "info record" output.
13946 * gdb.btrace/delta.exp: Update "info record" output.
13947 * gdb.btrace/enable.exp: Update "info record" output.
13948 * gdb.btrace/finish.exp: Update "info record" output.
13949 * gdb.btrace/instruction_history.exp: Update "info record" output.
13950 * gdb.btrace/next.exp: Update "info record" output.
13951 * gdb.btrace/nexti.exp: Update "info record" output.
13952 * gdb.btrace/step.exp: Update "info record" output.
13953 * gdb.btrace/stepi.exp: Update "info record" output.
13954 * gdb.btrace/nohist.exp: Update "info record" output.
13955
13956 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13957
13958 * gdb.btrace/buffer-size: New.
13959
13960 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13961
13962 * gdb.btrace/delta.exp: Update "info record" output.
13963 * gdb.btrace/enable.exp: Update "info record" output.
13964 * gdb.btrace/finish.exp: Update "info record" output.
13965 * gdb.btrace/instruction_history.exp: Update "info record" output.
13966 * gdb.btrace/next.exp: Update "info record" output.
13967 * gdb.btrace/nexti.exp: Update "info record" output.
13968 * gdb.btrace/step.exp: Update "info record" output.
13969 * gdb.btrace/stepi.exp: Update "info record" output.
13970 * gdb.btrace/nohist.exp: Update "info record" output.
13971
13972 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
13973
13974 PR gdb/15678
13975 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
13976
13977 2015-02-06 Pedro Alves <palves@redhat.com>
13978
13979 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
13980 macro.
13981 (seconds_left, again): New globals.
13982 (main): Wait seconds_left in a 1-second sleep loop instead of
13983 sleeping 180 seconds. If 'again' is set, reset the seconds
13984 counter.
13985 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
13986 'again' in the inferior before detaching. Print the seconds left.
13987 (options): New global.
13988 (top level): Build program with -DTIMEOUT=$timeout.
13989
13990 2015-02-06 Pedro Alves <palves@redhat.com>
13991
13992 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
13993 determine how many seconds to pass to 'alarm'.
13994 * gdb.base/gdb-sigterm.exp (top level): Build program with
13995 -DTIMEOUT=$timeout.
13996 (do_test): Return success/failure indication. Add more verbose
13997 logging. Don't fail if 200 single steps are seen. Instead, fail
13998 when the test times out.
13999 (passes): New global.
14000 (top level): Break the testing loop if testing fails on any
14001 iteration. Use gdb_assert.
14002
14003 2015-02-04 Don Breazeal <donb@codesourcery.com>
14004
14005 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14006 and initialize them.
14007 (ipc_cleanup): New function.
14008 (main): Don't declare shmid, semid, and msqid. Add a call to
14009 atexit so that we call ipc_cleanup on exit.
14010
14011 2015-02-04 Pedro Alves <palves@redhat.com>
14012
14013 * boards/native-extended-gdbserver.exp: Remove any target variant
14014 specifications from the board name before clearing the isremote
14015 flag from board_info.
14016
14017 2015-01-31 Doug Evans <xdje42@gmail.com>
14018
14019 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14020
14021 2015-01-31 Gary Benson <gbenson@redhat.com>
14022
14023 * gdb.base/completion.exp: Disable completion limiting for
14024 existing tests. Add new tests to check completion limiting.
14025 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14026
14027 2015-01-31 Doug Evans <xdje42@gmail.com>
14028
14029 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14030
14031 2015-01-31 Doug Evans <xdje42@gmail.com>
14032
14033 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14034 entries. Duplicate file section script entries.
14035 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14036 inlined entries. Add test for safe-path rejection.
14037 * gdb.python/py-section-script.c: Add duplicate inlined section script
14038 entries. Duplicate file section script entries.
14039 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14040 inlined entries. Add test for safe-path rejection.
14041
14042 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14043
14044 * gdb.ada/disc_arr_bound: New testcase.
14045
14046 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14047
14048 * gdb.ada/mi_var_array: New testcase.
14049
14050 2015-01-27 Doug Evans <dje@google.com>
14051
14052 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14053 Add test for objfile.filename, objfile.username after objfile
14054 has been unloaded.
14055
14056 2015-01-26 Joel Brobecker <brobecker@adacore.com>
14057
14058 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14059 the second test to print the name attribute of value
14060 returned by the call to gdb.lookup_type, and adjust
14061 the expected output accordingly.
14062
14063 2015-01-25 Mark Wielaard <mjw@redhat.com>
14064
14065 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14066 * gdb.base/disp-step-fork.c: Include unistd.h.
14067 * gdb.base/siginfo-obj.c: Include stdio.h.
14068 * gdb.base/siginfo-thread.c: Likewise.
14069 * gdb.mi/non-stop.c: Include unistd.h.
14070 * gdb.mi/nsthrexec.c: Include stdio.h.
14071 * gdb.mi/pthreads.c: Include unistd.h.
14072 * gdb.modula2/unbounded1.c (main): Declare returns int.
14073 * gdb.reverse/consecutive-reverse.c: Likewise.
14074 * gdb.threads/create-fail.c: Include unistd.h.
14075 * gdb.threads/killed.c: Likewise.
14076 * gdb.threads/linux-dp.c: Likewise.
14077 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14078 * gdb.threads/non-ldr-exc-2.c: Likewise.
14079 * gdb.threads/non-ldr-exc-3.c: Likewise.
14080 * gdb.threads/non-ldr-exc-4.c: Likewise.
14081 * gdb.threads/pthreads.c: Include unistd.h.
14082 (main): Declare returns int.
14083 * gdb.threads/tls-main.c (foo): New declaration.
14084 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14085
14086 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14087
14088 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14089 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14090
14091 2015-01-15 Mark Wielaard <mjw@redhat.com>
14092
14093 * gdb.base/noreturn-return.c: New file.
14094 * gdb.base/noreturn-return.exp: New file.
14095 * gdb.base/noreturn-finish.c: New file.
14096 * gdb.base/noreturn-finish.exp: New file.
14097
14098 2015-01-23 Pedro Alves <palves@redhat.com>
14099
14100 * gdb.threads/continue-pending-after-query.c: New file.
14101 * gdb.threads/continue-pending-after-query.exp: New file.
14102
14103 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14104 Simon Marchi <simon.marchi@ericsson.com>
14105
14106 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14107 * gdb.base/valgrind-db-attach.exp: Same.
14108 * gdb.base/valgrind-infcall.exp: Same.
14109 * lib/mi-support.exp (default_mi_gdb_start): Same.
14110 * lib/prompt.exp (default_prompt_gdb_start): Same.
14111 * lib/gdb.exp (default_gdb_spawn): Same.
14112 (gdb_interact): New.
14113
14114
14115 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14116
14117 * gdb.compile/compile.exp (pointer to jit function): New test.
14118
14119 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14120
14121 * lib/gdb.exp (supports_process_record): Return true for
14122 powerpc*-*-linux*.
14123 (supports_reverse): Likewise.
14124
14125 2015-01-15 Don Breazeal <donb@codesourcery.com>
14126
14127 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14128 instead of checking whether the target board is remote and
14129 use spawn_wait_for_attach instead of exec/sleep.
14130 * gdb.base/attach-twice.exp: Likewise.
14131
14132 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14133
14134 * gdb.ada/var_arr_attrs: New testcase.
14135
14136 2015-01-14 Pedro Alves <palves@redhat.com>
14137 Joel Brobecker <brobecker@adacore.com>
14138
14139 PR gdb/17525
14140 * gdb.base/bp-cmds-execution-x-script.c: New file.
14141 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14142 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14143
14144 2015-01-14 Pedro Alves <palves@redhat.com>
14145
14146 PR cli/17828
14147 * gdb.base/batch-preserve-term-settings.c: New file.
14148 * gdb.base/batch-preserve-term-settings.exp: New file.
14149
14150 2015-01-13 Doug Evans <dje@google.com>
14151
14152 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14153 binary.
14154
14155 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14156
14157 * Makefile.in (clean mostlyclean): Do not delete *.py.
14158
14159 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14160
14161 * gdb.python/py-lookup-type.exp: New file.
14162
14163 2015-01-12 Pedro Alves <palves@redhat.com>
14164
14165 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14166 restore GDBFLAGS before returning.
14167
14168 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14169
14170 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14171 is_amd64_regs_target and is_x86_like_target.
14172
14173 2015-01-11 Doug Evans <xdje42@gmail.com>
14174
14175 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14176 is given without an explicit form.
14177 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14178 attributes.
14179 * gdb.dwarf/corrupt.exp: Ditto.
14180 * gdb.dwarf2/enum-type.exp: Ditto.
14181 * gdb.trace/entry-values.exp: Ditto.
14182 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14183
14184 2015-01-11 Doug Evans <xdje42@gmail.com>
14185
14186 PR gdb/15830
14187 * gdb.base/maint.exp: Remove references to "maint demangle".
14188 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14189 Add tests for explicitly specifying language to demangle.
14190 * gdb.dlang/demangle.exp: Ditto.
14191
14192 2015-01-09 Pedro Alves <palves@redhat.com>
14193
14194 * gdb.threads/non-stop-fair-events.c: New file.
14195 * gdb.threads/non-stop-fair-events.exp: New file.
14196
14197 2015-01-09 Pedro Alves <palves@redhat.com>
14198
14199 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14200 the global scope. Set a breakpoint after all threads are started
14201 rather than stepping over two source lines. Expect the prompt.
14202 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14203 global.
14204 (NUM): Now 15.
14205 (main): Use threads_started_barrier to wait for all threads to
14206 start. Main thread no longer calls thread_function. Exit after
14207 180 seconds.
14208 (loop): New function.
14209 (thread_function): Wait on threads_started_barrier barrier. Call
14210 'loop' at each iteration.
14211 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14212 threads have started, instead of hardcoding number of "next"
14213 steps. Use an access watchpoint instead of a write watchpoint.
14214
14215 2015-01-09 Pedro Alves <palves@redhat.com>
14216
14217 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14218 (thread_func): Wait on barrier.
14219 (main): Wait for all threads to start before stopping GDB.
14220 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14221 global.
14222 (thread1_func, thread2_func): Wait on barrier.
14223 (main): Wait for all threads to start before stopping GDB.
14224 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14225 New global.
14226 (thread1_func, thread2_func): Wait on barrier.
14227 (main): Wait for all threads to start before stopping GDB.
14228
14229 2015-01-09 Pedro Alves <palves@redhat.com>
14230
14231 * gdb.threads/attach-many-short-lived-threads.c: New file.
14232 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14233
14234 2014-01-09 Pedro Alves <palves@redhat.com>
14235
14236 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14237 instead of to thread 2.
14238 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14239 Add barrier around each pthread_create call instead of around all
14240 calls.
14241 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14242 Set a break on thread_function and have the child threads hit it
14243 one at at a time.
14244
14245 2015-01-09 Pedro Alves <palves@redhat.com>
14246
14247 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14248 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14249 false.
14250 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14251 checking whether the target board is remote.
14252 * gdb.multi/multi-attach.exp: Likewise.
14253 * gdb.python/py-sync-interp.exp: Likewise.
14254 * gdb.server/ext-attach.exp: Likewise.
14255 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14256 tests that need to attach, instead of checking whether the target
14257 board is remote at the top of the file.
14258
14259 2015-01-08 Yao Qi <yao@codesourcery.com>
14260
14261 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14262
14263 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14264
14265 Fix testcase compilation.
14266 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14267
14268 2015-01-06 Joel Brobecker <brobecker@adacore.com>
14269
14270 * gdb.python/py-type.exp: Add a couple test about empty
14271 array creation, and negative-length array creation.
14272
14273 2015-01-02 Doug Evans <xdje42@gmail.com>
14274
14275 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14276
14277 2015-01-02 Doug Evans <dje@google.com>
14278
14279 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14280
14281 2014-12-29 Yao Qi <yao@codesourcery.com>
14282
14283 * gdb.trace/entry-values.exp: Update comments. Rename variable
14284 bar_call_foo to returned_from_foo.
14285
14286 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14287
14288 PR gdb/17394
14289 * gdb.linespec/break-asm-file.c: New file.
14290 * gdb.linespec/break-asm-file.exp: New file.
14291 * gdb.linespec/break-asm-file0.s: New file.
14292 * gdb.linespec/break-asm-file1.s: New file.
14293
14294 2014-12-18 Nigel Stephens <nigel@mips.com>
14295 Maciej W. Rozycki <macro@codesourcery.com>
14296
14297 * gdb.base/float.exp: Handle the new output from "info float" on
14298 MIPS targets.
14299
14300 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14301
14302 Fix MinGW compilation.
14303 * gdb.compile/compile-ops.exp: Update untested message if
14304 !skip_compile_feature_tests.
14305 * gdb.compile/compile-setjmp.exp: Likewise.
14306 * gdb.compile/compile-tls.exp: Likewise.
14307 * gdb.compile/compile.exp: Likewise.
14308 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14309 supported on this host".
14310
14311 2014-12-16 Doug Evans <xdje42@gmail.com>
14312
14313 * boards/stabs.exp: New file.
14314
14315 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14316
14317 * gdb.base/completion.exp: Adjust to format changes of "maint
14318 print user-registers".
14319
14320 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
14321
14322 PR server/17457
14323 * gdb.arch/aarch64-fp.c: New file.
14324 * gdb.arch/aarch64-fp.exp: New file.
14325
14326 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14327
14328 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14329 r210637, r210913, r211666, r215400, r215817).
14330
14331 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14332 * dg-extract-results.py: New file.
14333 * dg-extract-results.sh: Use it if the environment seems
14334 suitable.
14335
14336 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14337
14338 * dg-extract-results.py (parse_run): Handle warnings that
14339 are printed before a test harness is run.
14340
14341 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14342
14343 * dg-extract-results.py (Named): Remove __cmp__ method.
14344 (output_variation): Use a key to sort variation.harnesses.
14345
14346 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14347
14348 * dg-extract-results.py: For Python 3, force sys.stdout to
14349 handle surrogate escape sequences.
14350 (safe_open): New function.
14351 (output_segment, main): Use it.
14352
14353 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14354
14355 * dg-extract-results.py (Prog.result_re): Include options
14356 in test name.
14357
14358 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14359
14360 * dg-extract-results.py (output_variation): Always sort if
14361 do_sum.
14362
14363 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14364
14365 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14366 as long as we get pagination notifications.
14367
14368 2014-12-15 Jason Merrill <jason@redhat.com>
14369
14370 * Makefile.in (check-gdb.%): Restore.
14371 * README: Mention it.
14372
14373 2014-12-13 Joel Brobecker <brobecker@adacore.com>
14374
14375 * gdb.ada/str_uninit: New testcase.
14376
14377 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14378
14379 PR symtab/17642
14380 * gdb.base/vla-stub-define.c: New file.
14381 * gdb.base/vla-stub.c: New file.
14382 * gdb.base/vla-stub.exp: New file.
14383
14384 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14385 Jan Kratochvil <jan.kratochvil@redhat.com>
14386 Tom Tromey <tromey@redhat.com>
14387
14388 * configure.ac: Add gdb.compile/.
14389 * configure: Regenerate.
14390 * gdb.compile/Makefile.in: New file.
14391 * gdb.compile/compile-ops.exp: New file.
14392 * gdb.compile/compile-ops.c: New file.
14393 * gdb.compile/compile-tls.c: New file.
14394 * gdb.compile/compile-tls.exp: New file.
14395 * gdb.compile/compile-constvar.S: New file.
14396 * gdb.compile/compile-constvar.c: New file.
14397 * gdb.compile/compile-mod.c: New file.
14398 * gdb.compile/compile-nodebug.c: New file.
14399 * gdb.compile/compile-setjmp-mod.c: New file.
14400 * gdb.compile/compile-setjmp.c: New file.
14401 * gdb.compile/compile-setjmp.exp: New file.
14402 * gdb.compile/compile-shlib.c: New file.
14403 * gdb.compile/compile.c: New file.
14404 * gdb.compile/compile.exp: New file.
14405 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14406
14407 2014-12-12 Tom Tromey <tromey@redhat.com>
14408
14409 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14410 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14411
14412 2014-12-12 Doug Evans <dje@google.com>
14413
14414 * lib/gdb-python.exp (get_python_valueof): New function.
14415 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14416
14417 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14418
14419 * gdb.base/completion.exp: Add test for completion of "info
14420 registers ".
14421
14422 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14423
14424 * gdb.base/func-ptrs.c: New file.
14425 * gdb.base/func-ptrs.exp: New file.
14426
14427 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14428
14429 PR breakpoints/17012
14430 * gdb.base/dprintf-detach.c: New file.
14431 * gdb.base/dprintf-detach.exp: New file.
14432
14433 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14434
14435 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14436 * lib/gdb.exp (target_is_gdbserver): New procedure.
14437
14438 2014-12-08 Doug Evans <dje@google.com>
14439
14440 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14441
14442 2014-12-05 Yao Qi <yao@codesourcery.com>
14443
14444 * gdb.guile/scm-error.exp: Remove the third argument to
14445 gdb_remote_download.
14446 * gdb.guile/scm-frame-args.exp: Likewise.
14447 * gdb.guile/scm-section-script.exp: Likewise.
14448
14449 2014-12-05 Yao Qi <yao@codesourcery.com>
14450
14451 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14452
14453 2014-12-04 Doug Evans <dje@google.com>
14454
14455 * gdb.python/py-objfile.exp: Add tests for
14456 objfile.add_separate_debug_file.
14457
14458 2014-12-04 Doug Evans <dje@google.com>
14459
14460 * lib/gdb.exp (get_build_id): New function.
14461 (build_id_debug_filename_get): Rewrite to use it.
14462 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14463
14464 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14465
14466 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14467 `method(long)', not just 0x0.
14468 * gdb.cp/nsalias.exp: Align code labels to 4.
14469 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14470 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14471 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14472 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14473 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14474 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14475
14476 2014-12-02 Doug Evans <dje@google.com>
14477
14478 PR symtab/17602
14479 * gdb.cp/anon-ns.cc: Move guts of this file to ...
14480 * gdb.cp/anon-ns2.cc: ... here. New file.
14481 * gdb.cp/anon-ns.exp: Update.
14482
14483 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
14484
14485 * gdb.python/py-events.py (inferior_call_handler): New.
14486 (register_changed_handler, memory_changed_handler): New.
14487 (test_events.invoke): Register new handlers.
14488 * gdb.python/py-events.exp: Add tests for inferior call,
14489 memory_changed and register_changed events.
14490
14491 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14492
14493 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14494 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14495 if the linker doesn't understand this.
14496
14497 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14498
14499 * gdb.python/python.exp: Change expected reply to help().
14500
14501 2014-12-01 Yao Qi <yao@codesourcery.com>
14502
14503 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14504 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14505 * configure: Re-generated.
14506
14507 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14508
14509 * gdb.cp/chained-calls.cc: New file.
14510 * gdb.cp/chained-calls.exp: New file.
14511 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14512
14513 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14514
14515 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14516 * gdb.dwarf2/symtab-producer.exp: Same.
14517 * gdb.gdb/python-interrupts.exp: Same.
14518 * gdb.gdb/python-selftest.exp: Same.
14519 * gdb.python/py-linetable.exp: Same.
14520 * gdb.python/py-type.exp: Same.
14521 * gdb.python/py-value-cc.exp: Same.
14522 * gdb.python/py-value.exp: Same.
14523
14524 2014-11-28 Yao Qi <yao@codesourcery.com>
14525
14526 * gdb.base/break-probes.exp: Match library name prefixed with
14527 sysroot.
14528
14529 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14530
14531 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14532 test expected output. Add parentheses for the call to print.
14533 Remove L suffix from integers.
14534
14535 2014-11-26 Doug Evans <dje@google.com>
14536
14537 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14538
14539 2014-11-22 Yao Qi <yao@codesourcery.com>
14540
14541 * gdb.trace/entry-values.c: Remove asms.
14542 (foo): Add foo_label.
14543 (bar): Add bar_label.
14544 * gdb.trace/entry-values.exp: Remove code computing foo's
14545 length and bar's length.
14546 (Dwarf::assemble): Invoke function_range for bar and use
14547 MACRO_AT_func for foo.
14548
14549 2014-11-22 Yao Qi <yao@codesourcery.com>
14550
14551 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14552 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14553 Use .Lgcc43_procstart instead of gcc43.
14554
14555 2014-11-21 Joel Brobecker <brobecker@adacore.com>
14556
14557 * gdb.ada/n_arr_bound: New testcase.
14558
14559 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14560
14561 PR breakpoints/10737
14562 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14563 test_catch_syscall_multi_arch.
14564 (test_catch_syscall_multi_arch): New function.
14565
14566 2014-11-20 Doug Evans <xdje42@gmail.com>
14567
14568 * gdb.base/maint.exp: Update expected output.
14569
14570 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14571
14572 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14573 4-byte instruction on S390.
14574
14575 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14576
14577 * gdb.ada/arr_arr: New testcase.
14578
14579 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14580
14581 * gdb.ada/pkd_arr_elem: New Testcase.
14582
14583 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
14584
14585 * gdb.reverse/break-precsave: Expect completion message for
14586 core file reads.
14587 * gdb.reverse/consecutive-precsave.exp: Likewise.
14588 * gdb.reverse/finish-precsave.exp: Likewise.
14589 * gdb.reverse/i386-precsave.exp: Likewise.
14590 * gdb.reverse/machinestate-precsave.exp: Likewise.
14591 * gdb.reverse/sigall-precsave.exp: Likewise.
14592 * gdb.reverse/solib-precsave.exp: Likewise.
14593 * gdb.reverse/step-precsave.exp: Likewise.
14594 * gdb.reverse/until-precsave.exp: Likewise.
14595 * gdb.reverse/watch-precsave.exp: Likewise.
14596
14597 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14598
14599 * gdb.base/bp-permanent.c: Include unistd.h.
14600 * gdb.python/py-framefilter-mi.c (main): Add return type.
14601 * gdb.python/py-framefilter.c (main): Likewise.
14602 * gdb.trace/actions-changed.c (main): Likewise.
14603
14604 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14605
14606 * gdb.mi/until.c: Add eye-catchers.
14607 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14608 line numbers.
14609
14610 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14611
14612 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14613 function header variants in break1.c.
14614 * gdb.base/ena-dis-br.exp: Likewise.
14615 * gdb.base/hbreak2.exp: Likewise.
14616 * gdb.reverse/until-precsave.exp: Drop references to removed
14617 non-prototype function header variants in ur1.c.
14618 * gdb.reverse/until-reverse.exp: Likewise.
14619
14620 2014-11-17 Petr Machata <pmachata@redhat.com>
14621
14622 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14623 ${_cu_offset_size} bytes abbrev offset.
14624
14625 2014-11-15 Doug Evans <xdje42@gmail.com>
14626
14627 PR symtab/17559
14628 * gdb.base/line-symtabs.exp: New file.
14629 * gdb.base/line-symtabs.c: New file.
14630 * gdb.base/line-symtabs.h: New file.
14631
14632 2014-11-14 Yao Qi <yao@codesourcery.com>
14633
14634 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14635 (func): Add label func_label.
14636 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14637 Replace low_pc and high_pc with MACRO_AT_range.
14638 Replace name, low_pc and high_pc with MACRO_AT_func.
14639
14640 2014-11-14 Yao Qi <yao@codesourcery.com>
14641
14642 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14643 Replace name, low_pc and high_pc with MACRO_AT_func.
14644
14645 2014-11-14 Yao Qi <yao@codesourcery.com>
14646
14647 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14648 produce debug information.
14649 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14650
14651 2014-11-14 Yao Qi <yao@codesourcery.com>
14652
14653 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14654 object and get function length.
14655 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14656 with MACRO_AT_func.
14657 (top-level): Replace gdb_compile and clean_restart with
14658 prepare_for_testing.
14659 * gdb.dwarf2/main.c (main): Add label main_label.
14660
14661 2014-11-14 Yao Qi <yao@codesourcery.com>
14662
14663 * lib/dwarf.exp (function_range): New procedure.
14664 (Dwarf::_handle_macro_at_func): New procedure.
14665 (Dwarf::_handle_macro_at_range): New procedure.
14666 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14667
14668 2014-11-14 Yao Qi <yao@codesourcery.com>
14669
14670 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14671 (_handle_attribute): New procedure.
14672
14673 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14674
14675 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14676 * gdb.base/call-sc.c (zed): Likewise.
14677 * gdb.base/checkpoint.c (main): Likewise.
14678 * gdb.base/dump.c (main): Likewise.
14679 * gdb.base/gcore.c (main): Likewise.
14680 * gdb.base/huge.c (main): Likewise.
14681 * gdb.base/multi-forks.c (main): Likewise.
14682 * gdb.base/pr10179-a.c (main): Likewise.
14683 * gdb.base/savedregs.c (main): Likewise.
14684 * gdb.base/sigaltstack.c (main): Likewise.
14685 * gdb.base/siginfo.c (main): Likewise.
14686 * gdb.base/structs.c (zed): Likewise.
14687 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14688 * gdb.mi/mi-syn-frame.c (main): Likewise.
14689 * gdb.mi/until.c (foo, main): Likewise.
14690 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14691 * gdb.base/solib-weak.c (foo): Declare.
14692 * gdb.base/attach-twice.c: Include stdio.h.
14693 * gdb.base/weaklib1.c: Likewise.
14694 * gdb.base/weaklib2.c: Likewise.
14695 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14696 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14697 unistd.h.
14698 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14699 * gdb.mi/mi-exit-code.c: Likewise.
14700 * gdb.base/break-interp-lib.c: Include string.h.
14701 * gdb.base/coremaker.c: Likewise.
14702 * gdb.base/testenv.c: Likewise.
14703 * gdb.python/py-finish-breakpoint.c: Likewise.
14704 * gdb.base/inferior-died.c: Include sys/wait.h.
14705 * gdb.base/fileio.c: Include time.h.
14706 * gdb.base/async-shell.c: Include unistd.h.
14707 * gdb.base/dprintf-non-stop.c: Likewise.
14708 * gdb.base/info-os.c: Likewise.
14709 * gdb.mi/mi-console.c: Likewise.
14710 * gdb.mi/watch-nonstop.c: Likewise.
14711 * gdb.python/py-events.c: Likewise.
14712 * gdb.base/async.c (baz): Move up before its invocation.
14713 * gdb.base/code_elim2.c (my_global_func): Likewise.
14714 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14715 * gdb.base/advance.c (func2): Likewise.
14716
14717 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14718
14719 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14720 variant.
14721 * gdb.base/annota3.c: Likewise.
14722 * gdb.base/async.c: Likewise.
14723 * gdb.base/average.c: Likewise.
14724 * gdb.base/call-ar-st.c: Likewise.
14725 * gdb.base/call-rt-st.c: Likewise.
14726 * gdb.base/call-sc.c: Likewise.
14727 * gdb.base/call-strs.c: Likewise.
14728 * gdb.base/ending-run.c: Likewise.
14729 * gdb.base/execd-prog.c: Likewise.
14730 * gdb.base/exprs.c: Likewise.
14731 * gdb.base/foll-exec.c: Likewise.
14732 * gdb.base/foll-fork.c: Likewise.
14733 * gdb.base/foll-vfork.c: Likewise.
14734 * gdb.base/funcargs.c: Likewise.
14735 * gdb.base/gcore.c: Likewise.
14736 * gdb.base/jump.c: Likewise.
14737 * gdb.base/langs0.c: Likewise.
14738 * gdb.base/langs1.c: Likewise.
14739 * gdb.base/langs2.c: Likewise.
14740 * gdb.base/mips_pro.c: Likewise.
14741 * gdb.base/nodebug.c: Likewise.
14742 * gdb.base/opaque0.c: Likewise.
14743 * gdb.base/opaque1.c: Likewise.
14744 * gdb.base/recurse.c: Likewise.
14745 * gdb.base/run.c: Likewise.
14746 * gdb.base/scope0.c: Likewise.
14747 * gdb.base/scope1.c: Likewise.
14748 * gdb.base/setshow.c: Likewise.
14749 * gdb.base/setvar.c: Likewise.
14750 * gdb.base/shmain.c: Likewise.
14751 * gdb.base/shr1.c: Likewise.
14752 * gdb.base/shr2.c: Likewise.
14753 * gdb.base/sigall.c: Likewise.
14754 * gdb.base/signals.c: Likewise.
14755 * gdb.base/so-indr-cl.c: Likewise.
14756 * gdb.base/solib2.c: Likewise.
14757 * gdb.base/structs.c: Likewise.
14758 * gdb.base/sum.c: Likewise.
14759 * gdb.base/vforked-prog.c: Likewise.
14760 * gdb.base/watchpoint.c: Likewise.
14761 * gdb.reverse/shr2.c: Likewise.
14762 * gdb.reverse/until-reverse.c: Likewise.
14763 * gdb.reverse/ur1.c: Likewise.
14764 * gdb.reverse/watch-reverse.c: Likewise.
14765
14766 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14767
14768 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14769 variant.
14770 * gdb.base/sepdebug.exp: Drop references to removed code.
14771
14772 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14773
14774 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14775 variant. Preserve original line numbering.
14776 * gdb.base/list1.c: Likewise.
14777
14778 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14779
14780 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14781 variant.
14782 * gdb.base/break1.c: Likewise.
14783 * gdb.base/break.exp: Drop references to removed code.
14784
14785 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14786
14787 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14788 variant.
14789
14790 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14791
14792 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14793
14794 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14795
14796 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14797 logic into perform_all_tests() and invoke it with and without
14798 function header prototypes.
14799 (do_function_calls): Remove conditional XFAIL for PR 5318.
14800 (rerun_and_prepare): Remove duplicate code.
14801 (perform_all_tests): New. Main logic moved here.
14802
14803 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14804
14805 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14806 code guarded by #ifdef NO_PROTOTYPES.
14807 (t_double_many_args): Likewise.
14808 (DEF_FUNC_MANY_ARGS_1): Likewise.
14809 (DEF_FUNC_VALUES_1): Likewise.
14810 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14811 guarded by #ifdef PROTOTYPES.
14812
14813 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14814
14815 * gdb.mi/mi-console.c: Add eye-catcher.
14816 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14817 instead of literal line number.
14818
14819 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14820
14821 * gdb.base/shr2.c: Add eye-catcher.
14822 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14823 line number.
14824
14825 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14826
14827 * gdb.base/jump.c: Add eye-catchers.
14828 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14829 numbers.
14830
14831 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14832
14833 * gdb.base/execd-prog.c: Add eye-catchers.
14834 * gdb.base/foll-exec.c: Likewise.
14835 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14836 line numbers.
14837
14838 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14839
14840 * gdb.base/ending-run.c: Add eye-catchers.
14841 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14842 literal line numbers.
14843
14844 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14845
14846 * gdb.base/call-rt-st.c: Add eye-catchers.
14847 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14848 literal line numbers.
14849
14850 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14851
14852 * gdb.base/call-ar-st.c: Add eye-catchers.
14853 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14854 literal line numbers.
14855
14856 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14857
14858 * gdb.base/average.c: Add eye-catchers.
14859 * gdb.base/sum.c: Likewise.
14860 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14861 regexps dynamically.
14862
14863 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14864
14865 * gdb.base/solib1.c: Add eye-catchers.
14866 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14867 literal line numbers.
14868
14869 2014-11-12 Pedro Alves <palves@redhat.com>
14870
14871 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14872 leader has exited.
14873
14874 2014-11-12 Pedro Alves <palves@redhat.com>
14875
14876 * gdb.arch/i386-bp_permanent.c: New file.
14877 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14878 (srcfile): Set to i386-bp_permanent.c.
14879 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14880 that stepi does not execute the 'leave' instruction, instead of
14881 testing it does execute.
14882 * gdb.base/bp-permanent.c: New file.
14883 * gdb.base/bp-permanent.exp: New file.
14884
14885 2014-11-10 Doug Evans <xdje42@gmail.com>
14886
14887 PR symtab/17564
14888 * gdb.base/symtab-search-order.exp: New file.
14889 * gdb.base/symtab-search-order.c: New file.
14890 * gdb.base/symtab-search-order-1.c: New file.
14891 * gdb.base/symtab-search-order-shlib-1.c: New file.
14892
14893 2014-11-07 Pedro Alves <palves@redhat.com>
14894
14895 PR gdb/17511
14896 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14897 i?86-*-linux*.
14898
14899 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14900
14901 PR c++/17494
14902 * gdb.cp/pr17494.cc: New file.
14903 * gdb.cp/pr17494.exp: New file.
14904
14905 2014-11-02 Yao Qi <yao@codesourcery.com>
14906
14907 * gdb.python/python.exp: Get working directory and match the
14908 output of "set extended-prompt \\w " with it.
14909
14910 2014-10-30 Doug Evans <dje@google.com>
14911
14912 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14913 in objfiles.
14914 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14915 in progspaces.
14916
14917 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
14918
14919 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14920 * gdb.base/realname-expand.exp: Likewise.
14921 * gdb.linespec/macro-relative.exp: Likewise.
14922
14923 2014-10-29 Pedro Alves <palves@redhat.com>
14924
14925 PR gdb/17408
14926 * gdb.threads/schedlock.c (some_function): New function.
14927 (call_function): New global.
14928 (MAYBE_CALL_SOME_FUNCTION): New macro.
14929 (thread_function): Call it.
14930 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14931 and use it instead of a global counter. Adjust all callers.
14932 (get_current_thread): Use "find current thread" for test message
14933 here rather than having all callers pass down the same string.
14934 (goto_loop): New procedure, factored out from ...
14935 (my_continue): ... this.
14936 (step_ten_loops): Change parameter from test message to command to
14937 use. Adjust.
14938 (list_count): Delete global.
14939 (check_result): New procedure, factored out from duplicate top
14940 level code.
14941 (continue tests): Wrap in with_test_prefix.
14942 (test_step): New procedure, factored out from duplicate top level
14943 code.
14944 (top level): Test "step" in combination with all scheduler-locking
14945 modes. Test "next" in combination with all scheduler-locking
14946 modes, and in combination with stepping over a function call or
14947 not.
14948 * gdb.threads/next-bp-other-thread.c: New file.
14949 * gdb.threads/next-bp-other-thread.exp: New file.
14950
14951 2014-10-29 Pedro Alves <palves@redhat.com>
14952
14953 PR python/17372
14954 * gdb.python/python.exp: Test a multi-line command that spawns
14955 interactive Python.
14956 * gdb.base/multi-line-starts-subshell.exp: New file.
14957
14958 2014-10-29 Yao Qi <yao@codesourcery.com>
14959
14960 * gdb.base/fileio.exp: Make directories on host.
14961
14962 2014-10-29 Yao Qi <yao@codesourcery.com>
14963
14964 * gdb.base/fileio.c (test_write): Close the file.
14965
14966 2014-10-28 Pedro Alves <palves@redhat.com>
14967
14968 PR gdb/12623
14969 * gdb.base/sigstep.c (no_handler): New global.
14970 (main): If 'no_handler is true, set the signal handlers to
14971 SIG_IGN.
14972 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
14973 with_sw_watch and no_handler parameters. Handle them.
14974 (top level) <stepping over handler when stopped at a breakpoint
14975 test>: Add a test axis for testing with a software watchpoint, and
14976 another for testing with the signal handler set to SIG_IGN.
14977 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
14978 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
14979
14980 2014-10-28 Pedro Alves <palves@redhat.com>
14981
14982 PR gdb/17511
14983 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
14984 * gdb.base/sigstep.exp (other_handler_location): New global.
14985 (advance): Support stepping into the signal handler, and running
14986 commands while in the handler.
14987 (in_handler_map): New global.
14988 (top level): In the advance test, add combinations for getting
14989 into the handler with stepping commands, and for running commands
14990 in the handler. Add comment descripting the advancei tests.
14991
14992 2014-10-28 Pedro Alves <palves@redhat.com>
14993
14994 * gdb.base/sigstep.exp: Use build_executable instead of
14995 prepare_for_testing.
14996 (top level): Move code that starts GDB, runs to main and creates a
14997 display to ...
14998 (restart): ... this new procedure.
14999 (top level): Move backtrace from signal handler test to ...
15000 (validate_backtrace): ... this new procedure.
15001 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15002 with_test_prefix. Always restart GDB.
15003 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15004 with_test_prefix. Always restart GDB. No need to delete
15005 breakpoints after the test.
15006 (test_skip_handler): Remove prefix parameter.
15007 (skip_over_handler, breakpoint_to_handler)
15008 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15009 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15010 restart GDB. No need to delete breakpoints after the test.
15011 (top level): Use foreach to call the test procedures with
15012 different commands.
15013
15014 2014-10-28 Pedro Alves <palves@redhat.com>
15015
15016 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15017 instead of GNATS numbers.
15018 * gdb.base/sigbpt.exp: Likewise.
15019 * gdb.base/siginfo.exp: Likewise.
15020 * gdb.base/sigstep.exp: Likewise.
15021
15022 2014-10-27 Pedro Alves <palves@redhat.com>
15023
15024 * gdb.base/sigstep.c (dummy): New global.
15025 (main): Issue a couple writes to the new global.
15026 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15027 procedures.
15028 (skip_over_handler): Use test_skip_handler.
15029 (top level): Call skip_over_handler for stepi and nexti too.
15030 (breakpoint_over_handler): Use test_skip_handler.
15031 (top level): Call breakpoint_over_handler for stepi and nexti too.
15032
15033 2014-10-27 Yao Qi <yao@codesourcery.com>
15034
15035 * gdb.trace/tfile.c (adjust_function_address)
15036 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15037 function descriptor.
15038
15039 2014-10-24 Don Breazeal <donb@codesourcery.com>
15040
15041 * gdb.base/foll-fork.exp (test_follow_fork,
15042 catch_fork_child_follow): Check for updated fork messages emitted
15043 from infrun.c.
15044 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15045 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15046 vfork_and_exec_child_follow_through_step): Check for updated vfork
15047 messages emitted from infrun.c.
15048
15049 2014-10-24 Pedro Alves <palves@redhat.com>
15050
15051 * gdb.base/corefile.exp: Remove references to ultrix.
15052 * gdb.base/interrupt.exp: Likewise.
15053 * gdb.base/whatis.exp: Likewise.
15054 * gdb.gdb/selftest.exp: Likewise.
15055 * gdb.threads/manythreads.exp: Likewise.
15056 * gdb.threads/print-threads.exp: Likewise.
15057 * gdb.threads/pthreads.exp:: Likewise.
15058 * gdb.threads/schedlock.exp: Likewise.
15059
15060 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15061
15062 * gdb.cp/non-trivial-retval.cc: Add a test case.
15063 * gdb.cp/non-trivial-retval.exp: Add a test.
15064
15065 2014-10-20 Yao Qi <yao@codesourcery.com>
15066
15067 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15068 * gdb.python/py-objfile-script-gdb.py: New file.
15069 * gdb.python/py-objfile-script.exp: Update reference to
15070 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15071 of remote_download. Remove the dest file.
15072
15073 2014-10-20 Yao Qi <yao@codesourcery.com>
15074
15075 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15076 * gdb.base/step-line.exp: Likewise.
15077 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15078 * gdb.dwarf2/dw2-basic.exp: Likewise.
15079 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15080 * gdb.dwarf2/dw2-filename.exp: Likewise.
15081 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15082 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15083 * gdb.dwarf2/dw2-producer.exp: Likewise.
15084 * gdb.dwarf2/mac-fileno.exp: Likewise.
15085 * gdb.python/py-frame-args.exp: Likewise.
15086 * gdb.python/py-framefilter.exp: Likewise.
15087 * gdb.python/py-mi.exp: Likewise.
15088 * gdb.python/py-objfile-script.exp: Likewise
15089 * gdb.python/py-pp-integral.exp: Likewise.
15090 * gdb.python/py-pp-re-notag.exp: Likewise.
15091 * gdb.python/py-prettyprint.exp: Likewise.
15092 * gdb.python/py-section-script.exp: Likewise.
15093 * gdb.python/py-typeprint.exp: Likewise.
15094 * gdb.python/py-xmethods.exp: Likewise.
15095 * gdb.stabs/weird.exp: Likewise.
15096 * gdb.xml/tdesc-regs.exp: Likewise.
15097
15098 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15099
15100 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15101 (out_cu): Use addr_len for the size of addresses.
15102 (out_line): Likewise. Size DW_LNE_set_address instruction
15103 according to addr_len.
15104 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15105 (FUNC): Add START_INSNS to definition.
15106
15107 2014-10-18 Yao Qi <yao@codesourcery.com>
15108
15109 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15110 gdb_has_argv0 return true.
15111 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15112 check [target_info exists noargs], check [gdb_has_argv0]
15113 instead.
15114 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15115 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15116 procedures.
15117
15118 2014-10-17 Doug Evans <dje@google.com>
15119
15120 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15121 event.
15122 * gdb.python/py-events.py: Add clear_objfiles event.
15123
15124 2014-10-17 Doug Evans <dje@google.com>
15125
15126 * gdb.python/py-objfile.exp: Test progspace attribute.
15127
15128 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15129
15130 * gdb.guile/scm-breakpoint.exp: Do not assume any
15131 directory separators when matching source file paths.
15132 * gdb.python/py-breakpoint.exp: Likewise.
15133 * gdb.reverse/break-precsave.exp: Likewise.
15134 * gdb.reverse/break-reverse.exp: Likewise.
15135 * gdb.reverse/consecutive-precsave.exp: Likewise.
15136 * gdb.reverse/finish-precsave.exp: Likewise.
15137 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15138 * gdb.reverse/finish-reverse.exp: Likewise.
15139 * gdb.reverse/i386-precsave.exp: Likewise.
15140 * gdb.reverse/i387-env-reverse.exp: Likewise.
15141 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15142 * gdb.reverse/machinestate-precsave.exp: Likewise.
15143 * gdb.reverse/machinestate.exp: Likewise.
15144 * gdb.reverse/sigall-precsave.exp: Likewise.
15145 * gdb.reverse/solib-precsave.exp: Likewise.
15146 * gdb.reverse/step-precsave.exp: Likewise.
15147 * gdb.reverse/until-precsave.exp: Likewise.
15148 * gdb.reverse/watch-precsave.exp: Likewise.
15149 * gdb.reverse/watch-reverse.exp: Likewise.
15150
15151 2014-10-17 Yao Qi <yao@codesourcery.com>
15152
15153 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15154 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15155
15156 2014-10-17 Pedro Alves <palves@redhat.com>
15157
15158 PR gdb/17471
15159 * gdb.base/bg-execution-repeat.c: New file.
15160 * gdb.base/bg-execution-repeat.exp: New file.
15161
15162 2014-10-17 Pedro Alves <palves@redhat.com>
15163
15164 PR gdb/17300
15165 * gdb.base/continue-all-already-running.c: New file.
15166 * gdb.base/continue-all-already-running.exp: New file.
15167
15168 2014-10-17 Pedro Alves <palves@redhat.com>
15169
15170 PR gdb/17472
15171 * gdb.base/annota-input-while-running.c: New file.
15172 * gdb.base/annota-input-while-running.exp: New file.
15173
15174 2014-10-17 Pedro Alves <palves@redhat.com>
15175
15176 * gdb.base/callfuncs.exp: emove references to osf.
15177 * gdb.base/sigall.exp: Likewise.
15178 * gdb.gdb/selftest.exp: Likewise.
15179 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15180 * gdb.mi/non-stop.c: Likewise.
15181 * gdb.mi/pthreads.c: Likewise.
15182 * gdb.reverse/sigall-precsave.exp: Likewise.
15183 * gdb.reverse/sigall-reverse.exp: Likewise.
15184 * gdb.threads/pthreads.c: Likewise.
15185 * gdb.threads/pthreads.exp: Likewise.
15186
15187 2014-10-17 Yao Qi <yao@codesourcery.com>
15188
15189 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15190 check 'target_info exists noargs'.
15191 (test_command_prompt_position): Likewise.
15192 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15193 Remove "set args".
15194 (progvar_simple_while_test): Likewise.
15195 (progvar_complex_if_while_test): Likewise.
15196 (if_while_breakpoint_command_test): Likewise.
15197 (infrun_breakpoint_command_test): Likewise.
15198 (breakpoint_command_test): Likewise.
15199 (watchpoint_command_test): Likewise.
15200 (bp_deleted_in_command_test): Likewise.
15201 (temporary_breakpoint_commands): Likewise.
15202
15203 2014-10-16 Yao Qi <yao@codesourcery.com>
15204
15205 * gdb.base/remotetimeout.exp: Remove noargs checking.
15206
15207 2014-10-15 Pedro Alves <palves@redhat.com>
15208
15209 PR breakpoints/9649
15210 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15211 * gdb.base/breakpoint-in-ro-region.exp
15212 (probe_target_hardware_step): New procedure.
15213 (top level): Probe hardware stepping and hardware breakpoint
15214 support. Test stepping through a read-only region, with both
15215 "breakpoint auto-hw" on and off and both "always-inserted" on and
15216 off.
15217
15218 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15219
15220 * gdb.dlang/demangle.exp: Update for demangling changes.
15221
15222 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15223
15224 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15225 * gdb.cp/non-trivial-retval.exp: Add new tests.
15226
15227 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15228
15229 PR c++/13403
15230 PR c++/15154
15231 * gdb.cp/non-trivial-retval.cc: New file.
15232 * gdb.cp/non-trivial-retval.exp: New file.
15233
15234 2014-10-15 Yao Qi <yao@codesourcery.com>
15235
15236 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15237 remote host.
15238
15239 2014-10-15 Yao Qi <yao@codesourcery.com>
15240
15241 * gdb.python/py-symbol.exp: Match file base name if host is
15242 remote, otherwise match file name with dir name.
15243 * gdb.python/py-symtab.exp: Likewise.
15244 * gdb.python/python.exp: Likewise.
15245
15246 2014-10-15 Yao Qi <yao@codesourcery.com>
15247
15248 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15249 pattern.
15250 * gdb.python/py-symtab.exp: Likewise.
15251 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15252 locationn.
15253
15254 2014-10-14 Joel Brobecker <brobecker@adacore.com>
15255
15256 * gdb.ada/addr_arith: New testcase.
15257
15258 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15259
15260 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15261 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15262 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15263 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15264
15265 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15266
15267 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15268 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15269 * gdb.arch/stap-eval-lang-ada.exp: New file.
15270
15271 2014-10-14 Yao Qi <yao@codesourcery.com>
15272
15273 * gdb.mi/mi-var-child.c (nothing1): New function.
15274 (nothing2): New function.
15275 (do_children_tests): Set function pointers by nothing1 and
15276 nothing2.
15277 * gdb.mi/mi-var-child.exp: Step over new added statements.
15278 Update test to match the new output.
15279 * gdb.mi/var-cmd.c (nothing1): New function.
15280 (nothing2): New function.
15281 (do_children_tests): Set function pointers by nothing1 and
15282 nothing2.
15283 * gdb.mi/mi-var-display.exp: Update test to match output.
15284 Step to the line specified by $line_dct_nothing.
15285 Increase the number of lines to step.
15286
15287 2014-10-14 Yao Qi <yao@codesourcery.com>
15288
15289 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15290 tests.
15291 * gdb.mi/mi2-var-child.exp: Likewise.
15292
15293 2014-10-13 Doug Evans <dje@google.com>
15294
15295 * gdb.python/py-objfile.exp: Change name of file name test.
15296
15297 2014-10-13 Doug Evans <dje@google.com>
15298
15299 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15300 from the start of the CU.
15301
15302 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15303 Yao Qi <yao@codesourcery.com>
15304
15305 Fix "save breakpoints" for "catch" command.
15306 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15307 Remove -nonewline. Match also the added "main" line.
15308
15309 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15310
15311 Fix "save breakpoints" for "disable $bpnum" command.
15312 * gdb.base/save-bp.c (main): Add label.
15313 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15314
15315 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15316
15317 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15318
15319 2014-10-11 Yao Qi <yao@codesourcery.com>
15320
15321 * gdb.server/server-kill.exp: Execute command
15322 "set remote trace-status-packet on" before "tstatus".
15323
15324 2014-10-11 Yao Qi <yao@codesourcery.com>
15325
15326 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15327 (main): Call getppid.
15328 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15329 and continue to it. Read variable "server_pid".
15330
15331 2014-10-11 Yao Qi <yao@codesourcery.com>
15332
15333 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15334
15335 2014-10-11 Yao Qi <yao@codesourcery.com>
15336
15337 * gdb.threads/thread-find.exp: Don't execute command
15338 "info threads".
15339 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15340 * gdb.threads/linux-dp.exp: Don't check the condition
15341 $threads_created equals to zero.
15342
15343 2014-10-10 Pedro Alves <palves@redhat.com>
15344
15345 * gdb.base/bigcore.exp: Remove references to IRIX.
15346 * gdb.base/funcargs.exp: Likewise.
15347 * gdb.base/interrupt.exp: Likewise.
15348 * gdb.base/mips_pro.exp: Likewise.
15349 * gdb.base/nodebug.exp: Likewise.
15350 * gdb.base/setvar.exp: Likewise.
15351 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15352
15353 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15354 Pedro Alves <palves@redhat.com>
15355
15356 PR symtab/14466
15357 * gdb.base/vdso-warning.c: New file.
15358 * gdb.base/vdso-warning.exp: New file.
15359
15360 2014-10-02 Doug Evans <dje@google.com>
15361
15362 * gdb.base/structs.c (main): Don't run forever.
15363
15364 2014-10-02 Pedro Alves <palves@redhat.com>
15365
15366 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15367 (top level) <stop threads 1, stop threads 2>: Use it.
15368
15369 2014-10-02 Pedro Alves <palves@redhat.com>
15370
15371 * gdb.threads/break-while-running.exp (test): Add new
15372 'update_thread_list' argument. Skip "info threads" if false.
15373 (top level): Add new 'update_thread_list' axis.
15374
15375 2014-10-02 Pedro Alves <palves@redhat.com>
15376
15377 PR breakpoints/17431
15378 * gdb.base/execl-update-breakpoints.c: New file.
15379 * gdb.base/execl-update-breakpoints.exp: New file.
15380
15381 2014-10-01 Pedro Alves <palves@redhat.com>
15382
15383 * gdb.base/breakpoint-in-ro-region.c: New file.
15384 * gdb.base/breakpoint-in-ro-region.exp: New file.
15385
15386 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15387
15388 * gdb.mi/mi-exit-code.exp: New file.
15389 * gdb.mi/mi-exit-code.c: New file.
15390
15391 2014-09-30 Yao Qi <yao@codesourcery.com>
15392
15393 * lib/prelink-support.exp (build_executable_own_libs): Error if
15394 the target isn't native.
15395
15396 2014-09-30 Yao Qi <yao@codesourcery.com>
15397
15398 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15399 false.
15400
15401 2014-09-22 Pedro Alves <palves@redhat.com>
15402
15403 * gdb.threads/break-while-running.exp: New file.
15404 * gdb.threads/break-while-running.c: New file.
15405
15406 2014-09-19 Yao Qi <yao@codesourcery.com>
15407
15408 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15409 Invoke test. Restart GDB with --readnow and invoke test again.
15410
15411 2014-09-19 Yao Qi <yao@codesourcery.com>
15412
15413 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15414 proc set_breakpoint_on_gcd_function. Invoke
15415 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15416 invoke set_breakpoint_on_gcd_function again.
15417
15418 2014-09-18 Doug Evans <dje@google.com>
15419
15420 * gdb.dwarf2/symtab-producer.exp: New file.
15421
15422 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15423
15424 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15425 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15426 * gdb.base/global-var-nested-by-dso.c: Likewise.
15427 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15428
15429 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15430 Pedro Alves <palves@redhat.com>
15431
15432 * gdb.base/watch-bitfields.exp: Pass string other than test file
15433 name to prepare_for_testing.
15434 (watch): New procedure.
15435 (expect_watchpoint): Use with_test_prefix.
15436 (top level): Factor out tests to ...
15437 (test_watch_location, test_regular_watch): ... these new
15438 procedures, and use with_test_prefix and gdb_continue_to_end.
15439
15440 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15441
15442 PR breakpoints/12526
15443 * gdb.base/watch-bitfields.exp: New file.
15444 * gdb.base/watch-bitfields.c: New file.
15445
15446 2014-09-16 Pedro Alves <palves@redhat.com>
15447
15448 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15449 software and hardware addresses, not software address against
15450 itself.
15451
15452 2014-09-16 Pedro Alves <palves@redhat.com>
15453
15454 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15455 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15456
15457 2014-09-16 Pedro Alves <palves@redhat.com>
15458
15459 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15460 files.
15461 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15462 "*-*-vxworks*" throughout.
15463 * gdb.base/break.exp: Likewise.
15464 * gdb.base/default.exp: Likewise.
15465 * gdb.base/scope.exp: Likewise.
15466 * gdb.base/sepdebug.exp: Likewise.
15467 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15468 throughout.
15469 * gdb.base/run.c: Likewise.
15470 * gdb.base/sepdebug.c: Likewise.
15471 * gdb.hp/gdb.aCC/run.c: Likewise.
15472 * gdb.reverse/until-reverse.c: Likewise.
15473 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15474
15475 2014-09-16 Yao Qi <yao@codesourcery.com>
15476
15477 * boards/local-remote-host-native.exp: New file.
15478
15479 2014-09-14 Doug Evans <xdje42@gmail.com>
15480
15481 * gdb.threads/queue-signal.c (thread_count): New variable.
15482 (thread_count_mutex, thread_count_condvar): New variables.
15483 (incr_thread_count, wait_all_threads_running): New functions.
15484 (main): Wait for all threads to be in their thread functions.
15485
15486 2014-09-13 Doug Evans <xdje42@gmail.com>
15487
15488 * gdb.threads/queue-signal.c: New file.
15489 * gdb.threads/queue-signal.exp: New file.
15490
15491 2014-09-13 Doug Evans <xdje42@gmail.com>
15492
15493 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15494 be consistent with what default_gdb_init uses.
15495 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15496 the plain text of the prompt. Add some logging printfs.
15497 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15498
15499 2014-09-12 Pedro Alves <palves@redhat.com>
15500
15501 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15502 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15503 * gdb.arch/i386-size-overlap.exp: Likewise.
15504 * gdb.arch/i386-size.exp: Likewise.
15505 * gdb.arch/i386-unwind.exp: Likewise.
15506 * gdb.base/a2-run.exp: Likewise.
15507 * gdb.base/break.exp: Likewise.
15508 * gdb.base/charset.exp: Likewise.
15509 * gdb.base/chng-syms.exp: Likewise.
15510 * gdb.base/commands.exp: Likewise.
15511 * gdb.base/dbx.exp: Likewise.
15512 * gdb.base/find.exp: Likewise.
15513 * gdb.base/funcargs.exp: Likewise.
15514 * gdb.base/jit-simple.exp: Likewise.
15515 * gdb.base/reread.exp: Likewise.
15516 * gdb.base/sepdebug.exp: Likewise.
15517 * gdb.base/step-bt.exp: Likewise.
15518 * gdb.cp/mb-inline.exp: Likewise.
15519 * gdb.cp/mb-templates.exp: Likewise.
15520 * gdb.objc/basicclass.exp: Likewise.
15521 * gdb.threads/killed.exp: Likewise.
15522
15523 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15524
15525 PR tdep/17379
15526 * gdb.arch/powerpc-stackless.S: New file.
15527 * gdb.arch/powerpc-stackless.exp: New file.
15528
15529 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15530
15531 * gdb.base/attach.c: Include unistd.h.
15532 (main): Call alarm. Add label postloop.
15533 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15534 gdb_breakpoint, gdb_continue_to_breakpoint.
15535 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15536
15537 2014-09-11 Pedro Alves <palves@redhat.com>
15538
15539 PR gdb/17347
15540 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15541 * gdb.base/attach.exp (test_command_line_attach_run): New
15542 procedure.
15543 (top level): Call it.
15544
15545 2014-09-11 Pedro Alves <palves@redhat.com>
15546
15547 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15548 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15549 (do_command_attach_tests): Use spawn_wait_for_attach.
15550 * gdb.base/solib-overlap.exp: Likewise.
15551 * gdb.multi/multi-attach.exp: Likewise.
15552 * gdb.python/py-prompt.exp: Likewise.
15553 * gdb.python/py-sync-interp.exp: Likewise.
15554 * gdb.server/ext-attach.exp: Likewise.
15555
15556 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15557
15558 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15559 command in testcase. Simplify testcase.
15560
15561 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15562
15563 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15564
15565 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15566
15567 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15568
15569 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15570
15571 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15572
15573 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15574
15575 * gdb.dwarf2/dynarr-ptr.c: New file.
15576 * gdb.dwarf2/dynarr-ptr.exp: New file.
15577
15578 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15579
15580 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15581 of 30 rather than hardcoding 120 for a slow test case. Take the
15582 `gdb,timeout' target setting into account for this calculation.
15583 Don't extend the timeout for the test cases that don't need it.
15584
15585 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15586
15587 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15588 a factor of 2 for a slow test case. Take the `gdb,timeout'
15589 target setting into account for this calculation.
15590 * gdb.reverse/until-precsave.exp: Increase the timeout by
15591 a factor of 15 and 3 respectively rather than adding 120
15592 for a pair of slow test cases. Take the `gdb,timeout'
15593 target setting into account for this calculation.
15594
15595 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15596
15597 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15598 timeout, don't pass one down to gdb_expect.
15599 (gdb_expect): Rework timeout selection.
15600
15601 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15602
15603 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15604 exception on timeout.
15605 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15606 (gdbserver_start_extended): Catch any `gdbserver_start' error
15607 exceptions.
15608 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15609 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15610 `gdbserver_gdb_load' error exceptions.
15611
15612 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15613
15614 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15615 120 on waiting for the TCP socket to open.
15616
15617 2014-09-09 Doug Evans <xdje42@gmail.com>
15618
15619 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15620 _caller_matches, _any_caller_is, _any_caller_matches.
15621
15622 2014-09-09 Doug Evans <xdje42@gmail.com>
15623
15624 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15625
15626 2014-09-09 Yao Qi <yao@codesourcery.com>
15627
15628 * gdb.mi/mi-var-display.exp: Set print symbol off.
15629
15630 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15631
15632 PR gdb/17035
15633 * gdb.base/commands.exp: Add tests to verify user-defined
15634 commands with empty bodies.
15635 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15636 python commands in `show user command`.
15637 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15638 scheme commands in `show user command`.
15639
15640 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15641
15642 PR python/17355
15643 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15644 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15645 * gdb.python/py-framefilter-invalidarg.exp: New file.
15646 * gdb.python/py-framefilter-invalidarg.py: New file.
15647
15648 2014-09-06 Doug Evans <xdje42@gmail.com>
15649
15650 PR 15276
15651 * gdb.python/py-caller-is.c: New file.
15652 * gdb.python/py-caller-is.exp: New file.
15653
15654 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15655
15656 PR gdb/17235
15657 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15658 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15659
15660 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15661
15662 PR fortran/17237
15663 * gdb.fortran/print-formatted.exp: New file.
15664 * gdb.fortran/print-formatted.f90: Likewise.
15665
15666 2014-09-03 Sasha Smundak <asmundak@google.com>
15667
15668 * gdb.python/py-frame.exp: Test Frame.read_register.
15669
15670 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15671
15672 PR python/16699
15673 * gdb.python/py-completion.exp: New file.
15674 * gdb.python/py-completion.py: Likewise.
15675
15676 2014-08-28 Doug Evans <dje@google.com>
15677
15678 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15679 eax,etc. are live with values set by gdb and thus the compiler can't
15680 use them.
15681 * gdb.arch/i386-pseudo.c (main): Ditto.
15682
15683 2014-08-27 Doug Evans <dje@google.com>
15684
15685 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15686
15687 2014-08-25 Doug Evans <dje@google.com>
15688
15689 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15690 (main): Ditto.
15691
15692 2014-08-25 Doug Evans <dje@google.com>
15693
15694 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15695
15696 2014-08-24 Yao Qi <yao@codesourcery.com>
15697
15698 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15699 symbol off.
15700 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15701
15702 2014-08-22 Doug Evans <dje@google.com>
15703
15704 PR 17276
15705 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15706 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15707 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15708
15709 2014-08-22 Yao Qi <yao@codesourcery.com>
15710
15711 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15712 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15713 * gdb.python/python.exp: Likewise. Use .py file on the host
15714 instead of the build.
15715
15716 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15717
15718 * gdb.threads/gcore-stale-thread.c: New file.
15719 * gdb.threads/gcore-stale-thread.exp: New file.
15720
15721 2014-08-21 Pedro Alves <palves@redhat.com>
15722
15723 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15724 * gdb.base/gcore-relro-pie.exp: Likewise.
15725 * gdb.base/gcore-relro.exp: Likewise.
15726 * gdb.base/gcore.exp: Likewise.
15727 * gdb.base/print-symbol-loading.exp: Likewise.
15728 * gdb.threads/gcore-thread.exp: Likewise.
15729 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15730
15731 2014-08-20 Pedro Alves <palves@redhat.com>
15732 Jan Kratochvil <jan.kratochvil@redhat.com>
15733
15734 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15735 configure.
15736 (EXPECT): Handle READ1 being set.
15737 (all): Depend on EXTRA_RULES.
15738 (check-read1, expect-read1, read1.so, read1): New rules.
15739 * README (Testsuite Parameters): Document the READ1 make variable.
15740 (Race detection): New section.
15741 * configure: Regenerate.
15742 * configure.ac: If build==host==target, and running under a
15743 GNU/glibc system, add read1 to the extra Makefile rules.
15744 (EXTRA_RULES): AC_SUBST it.
15745 * lib/read1.c: New file.
15746
15747 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15748
15749 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15750 the handling of variables declared as a typedef to an array
15751 which a DW_AT_data_location attribute.
15752
15753 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15754 Pedro Alves <palves@redhat.com>
15755
15756 PR symtab/14604
15757 PR symtab/14605
15758 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15759 gdb_test.
15760
15761 2014-08-19 Pedro Alves <palves@redhat.com>
15762
15763 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15764
15765 2014-08-19 Yao Qi <yao@codesourcery.com>
15766
15767 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15768 right line.
15769
15770 2014-08-18 David Blaikie <dblaikie@gmail.com>
15771
15772 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15773
15774 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15775
15776 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15777 attribute in array range.
15778
15779 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15780
15781 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15782
15783 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15784
15785 PR c++/17132
15786 * gdb.cp/pr17132.cc: New file.
15787 * gdb.cp/pr17132.exp: New file.
15788
15789 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15790
15791 * gdb.python/py-xmethods.py (A_getarrayind)
15792 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15793 Use 'print' with function call syntax.
15794 (E_method_matcher.match): Fix tab vs space indentation mixup.
15795
15796 2014-08-15 Yao Qi <yao@codesourcery.com>
15797
15798 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15799 false.
15800
15801 2014-08-15 Yao Qi <yao@codesourcery.com>
15802
15803 * gdb.cp/casts.exp: Set print symbol off.
15804 * gdb.cp/class2.exp: Likewise.
15805 * gdb.cp/overload.exp: Likewise.
15806 * gdb.cp/templates.exp: Likewise.
15807
15808 2014-08-11 Doug Evans <dje@google.com>
15809
15810 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15811 (test_load_shlib): Update.
15812
15813 2014-08-09 Yao Qi <yao@codesourcery.com>
15814
15815 * gdb.base/display.exp: Invoke is_address_zero_readable.
15816 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15817 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15818 * gdb.base/hbreak-unmapped.exp: Return if
15819 is_address_zero_readable returns true.
15820 * gdb.base/signest.exp: Likewise.
15821 * gdb.base/signull.exp: Likewise.
15822 * gdb.base/sigbpt.exp: Likewise.
15823 * gdb.guile/scm-disasm.exp: Do the test if
15824 is_address_zero_readable returns false.
15825 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15826 * gdb.python/py-arch.exp: Likewise.
15827 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15828 * lib/gdb.exp (is_address_zero_readable): New proc.
15829
15830 2014-08-09 Yao Qi <yao@codesourcery.com>
15831
15832 PR testsuite/13443
15833 * gdb.mi/mi-var-display.exp: Make test messages unique.
15834
15835 2014-08-04 Tom Tromey <tromey@redhat.com>
15836
15837 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15838 target 0".
15839
15840 2014-08-04 Tom Tromey <tromey@redhat.com>
15841
15842 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15843 "target_resume".
15844
15845 2014-08-01 Joel Brobecker <brobecker@adacore.com>
15846
15847 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15848 inner_vla_struct_object_size.
15849 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15850 as xfail.
15851
15852 2014-07-30 Pedro Alves <palves@redhat.com>
15853
15854 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15855 comment.
15856
15857 2014-07-29 Yao Qi <yao@codesourcery.com>
15858
15859 PR gdb/17206
15860 * gdb.base/until-nodebug.exp: New.
15861
15862 2014-07-28 Doug Evans <xdje42@gmail.com>
15863
15864 PR guile/17203
15865 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15866 previously existing parameter, and previously ambiguously spelled
15867 parameter.
15868
15869 2014-07-28 Will Newton <will.newton@linaro.org>
15870
15871 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15872
15873 2014-07-26 Ludovic Courtès <ludo@gnu.org>
15874 Doug Evans <xdje42@gmail.com>
15875
15876 PR guile/17146
15877 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15878
15879 2014-07-25 Pedro Alves <palves@redhat.com>
15880
15881 * gdb.threads/signal-command-handle-nopass.c: New file.
15882 * gdb.threads/signal-command-handle-nopass.exp: New file.
15883 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15884 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15885 * gdb.threads/signal-delivered-right-thread.c: New file.
15886 * gdb.threads/signal-delivered-right-thread.exp: New file.
15887
15888 2014-07-25 Pedro Alves <palves@redhat.com>
15889
15890 * gdb.base/double-prompt-target-event-error.exp
15891 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15892 match.
15893 (cancel_pagination_in_target_event): Rework double prompt
15894 detection.
15895 * gdb.base/paginate-after-ctrl-c-running.exp
15896 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15897 <return>' match.
15898 * gdb.base/paginate-bg-execution.exp
15899 (test_bg_execution_pagination_return)
15900 (test_bg_execution_pagination_cancel): Remove '-notransfer
15901 <return>' matches.
15902 * gdb.base/paginate-execution-startup.exp
15903 (test_fg_execution_pagination_return)
15904 (test_fg_execution_pagination_cancel): Remove '-notransfer
15905 <return>' matches.
15906 * gdb.base/paginate-inferior-exit.exp
15907 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15908 match.
15909 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15910 * lib/gdb.exp (pagination_prompt): Run text through
15911 string_to_regexp.
15912 (gdb_test_multiple): Match $pagination_prompt instead of
15913 "<return>".
15914 (string_to_regexp): Move to lib/gdb-utils.exp.
15915
15916 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15917
15918 * gdb.arch/amd64-entry-value-paramref.S: New file.
15919 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15920 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15921 * gdb.arch/amd64-optimout-repeat.S: New file.
15922 * gdb.arch/amd64-optimout-repeat.c: New file.
15923 * gdb.arch/amd64-optimout-repeat.exp: New file.
15924
15925 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15926
15927 PR gdb/17170
15928 * gdb.base/statistics.exp: New file.
15929
15930 2014-07-17 Doug Evans <dje@google.com>
15931
15932 PR gdb/17170
15933 * gdb.base/maint.exp: Update testing of per-command stats.
15934
15935 2014-07-16 Pedro Alves <palves@redhat.com>
15936
15937 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15938 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15939 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15940 (tfile_write_buf): New functions.
15941 (add_memory_block): Rewrite using the above.
15942 (adjust_function_address): New function.
15943 (FUNCTION_ADDRESS): New macro.
15944 (write_basic_trace_file): Remove short_x local, and use
15945 tfile_write_16. Change type of func_addr local to unsigned long
15946 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15947 here. Cast argument of add_memory_block to char pointer.
15948 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15949 (main): Remove parameters.
15950 * gdb.trace/tfile.exp: Remove nowarnings.
15951
15952 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15953
15954 * gdb.base/debug-expr.exp: Test string evaluation with
15955 "debug expression" on.
15956
15957 2014-07-15 Pedro Alves <palves@redhat.com>
15958
15959 * gdb.base/reread.exp: Use clean_restart.
15960
15961 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15962
15963 * gdb.arch/avr-flash-qualifer.c: New.
15964 * gdb.arch/avr-flash-qualifer.exp: New.
15965
15966 2014-07-14 Pedro Alves <palves@redhat.com>
15967
15968 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15969 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
15970
15971 2014-07-14 Pedro Alves <palves@redhat.com>
15972
15973 * gdb.base/double-prompt-target-event-error.c: New file.
15974 * gdb.base/double-prompt-target-event-error.exp: New file.
15975
15976 2014-07-14 Pedro Alves <palves@redhat.com>
15977
15978 PR gdb/17072
15979 * gdb.base/paginate-inferior-exit.c: New file.
15980 * gdb.base/paginate-inferior-exit.exp: New file.
15981
15982 2014-07-14 Pedro Alves <palves@redhat.com>
15983
15984 PR gdb/17072
15985 * gdb.base/paginate-bg-execution.c: New file.
15986 * gdb.base/paginate-bg-execution.exp: New file.
15987
15988 2014-07-14 Pedro Alves <palves@redhat.com>
15989
15990 PR gdb/17072
15991 * gdb.base/paginate-execution-startup.c: New file.
15992 * gdb.base/paginate-execution-startup.exp: New file.
15993 * lib/gdb.exp (pagination_prompt): New global.
15994 (default_gdb_spawn): New procedure, factored out from
15995 default_gdb_spawn.
15996 (default_gdb_start): Adjust to call default_gdb_spawn.
15997 (gdb_spawn): New procedure.
15998
15999 2014-07-14 Pedro Alves <palves@redhat.com>
16000
16001 * lib/gdb.exp (gdb_assert): New procedure.
16002 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16003
16004 2014-07-14 Pedro Alves <palves@redhat.com>
16005
16006 * gdb.base/execution-termios.c: New file.
16007 * gdb.base/execution-termios.exp: New file.
16008
16009 2014-07-14 Tom Tromey <tromey@redhat.com>
16010
16011 * gdb.cp/vla-cxx.cc: New file.
16012 * gdb.cp/vla-cxx.exp: New file.
16013
16014 2014-07-14 Tom Tromey <tromey@redhat.com>
16015
16016 * gdb.reverse/rerun-prec.c: New file.
16017 * gdb.reverse/rerun-prec.exp: New file.
16018
16019 2014-07-12 Maciej W. Rozycki <macro@mips.com>
16020 Maciej W. Rozycki <macro@codesourcery.com>
16021
16022 * lib/gdb-utils.exp: New file.
16023 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16024 inline `gdb_init_command' processing.
16025 (gdb_start_cmd): Likewise.
16026 * lib/mi-support.exp (mi_run_cmd): Likewise.
16027 * README: Document `gdb_init_command' and `gdb_init_commands'.
16028
16029 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16030
16031 Fix false FAIL running under a very long directory name.
16032 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16033 and "set print elements 10000". Twice.
16034
16035 2014-07-11 Yao Qi <yao@codesourcery.com>
16036
16037 * gdb.base/exprs.exp: "set print symbol off".
16038
16039 2014-07-11 Pedro Alves <palves@redhat.com>
16040
16041 * gdb.threads/kill.c: New file.
16042 * gdb.threads/kill.exp: New file.
16043
16044 2014-07-10 Yao Qi <yao@codesourcery.com>
16045
16046 * gdb.trace/tfile.c (write_basic_trace_file)
16047 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16048 address written to trace file.
16049
16050 2014-07-09 Pedro Alves <palves@redhat.com>
16051
16052 * gdb.base/attach-wait-input.exp: New file.
16053 * gdb.base/attach-wait-input.c: New file.
16054
16055 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16056
16057 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16058 setting up test structures.
16059 (main): Call new test function.
16060 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16061 test function, continue into test function and walk test
16062 structures.
16063
16064 2014-07-02 Yao Qi <yao@codesourcery.com>
16065
16066 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16067 'bar_start' at the beginning of functions 'foo' and 'bar'
16068 respectively.
16069 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16070 instead of 'foo' and 'bar'.
16071
16072 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16073
16074 * gdb.btrace/segv.exp: New.
16075 * gdb.btrace/segv.c: New.
16076
16077 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
16078
16079 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16080 instruction.
16081
16082 2014-06-30 Mark Wielaard <mjw@redhat.com>
16083
16084 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16085 vulture, vilify, villar): New volatile array constants.
16086 (vindictive, vegetation): New const volatile array constants.
16087 * gdb.base/volatile.exp: Test volatile and const volatile array
16088 types.
16089
16090 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16091
16092 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16093 target lacks support for awatch, rwatch, or hbreak.
16094
16095 2014-06-27 Yao Qi <yao@codesourcery.com>
16096
16097 * gdb.multi/dummy-frame-restore.exp: New.
16098 * gdb.multi/dummy-frame-restore.c: New.
16099
16100 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16101
16102 * gdb.btrace/gcore.exp: New.
16103
16104 2014-06-23 Pedro Alves <palves@redhat.com>
16105
16106 * gdb.base/watchpoint-reuse-slot.c: New file.
16107 * gdb.base/watchpoint-reuse-slot.exp: New file.
16108
16109 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16110
16111 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16112 progspace's filename in 'info', 'enable' and 'disable' command
16113 tests.
16114
16115 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16116
16117 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16118 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16119 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16120
16121 2014-06-20 Gary Benson <gbenson@redhat.com>
16122
16123 * gdb.arch/i386-avx.exp: Fix include file location.
16124 * gdb.arch/i386-sse.exp: Likewise.
16125
16126 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16127
16128 * gdb.dlang/expression.exp: New file.
16129
16130 2014-06-19 Pedro Alves <palves@redhat.com>
16131
16132 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16133 out from ...
16134 (top level): ... here. Iterate running tests under different
16135 scheduler-locking settings.
16136
16137 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16138
16139 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16140 to DW_FORM_addr and use non-zero addresses.
16141
16142 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16143
16144 PR gdb/17017
16145 * gdb.python/py-xmethods.cc: Add global function call counters and
16146 increment them in their respective functions. Remove "cout"
16147 statements.
16148 * gdb.python/py-xmethods.exp: Make tests check the global function
16149 call counters instead of depending on inferior IO.
16150
16151 2014-06-18 Don Breazeal <donb@codesourcery.com>
16152
16153 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16154 Deleted procedure.
16155 (explicit_fork_parent_follow): Deleted procedure.
16156 (explicit_fork_child_follow): Deleted procedure.
16157 (test_follow_fork): New procedure.
16158 (do_fork_tests): Replace calls to deleted procedures with
16159 calls to test_follow_fork and reset GDB for subsequent
16160 procedure calls.
16161
16162 2014-06-17 Yao Qi <yao@codesourcery.com>
16163
16164 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16165 CP1252.
16166
16167 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16168
16169 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16170 Initialize ptr and S explicitly.
16171 (skip_type_update_when_not_use_rtti_test): Likewise.
16172
16173 2014-06-16 Keith Seitz <keiths@redhat.com>
16174
16175 PR mi/15863
16176 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16177 the inferior is started.
16178
16179 2014-06-16 Pedro Alves <palves@redhat.com>
16180
16181 * gdb.base/break-main-file-remove-fail.c: New file.
16182 * gdb.base/break-main-file-remove-fail.exp: New file.
16183 * gdb.base/break-unload-file.exp: Use build_executable instead of
16184 prepare_for_testing.
16185 (test_break): New parameter "initial_load". Handle it.
16186 (top level): Add initial_load cmdline/file axis.
16187
16188 2014-06-12 Tom Tromey <tromey@redhat.com>
16189
16190 * gdb.base/completion.exp: Don't use directory name in test.
16191
16192 2014-06-09 Gary Benson <gbenson@redhat.com>
16193
16194 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16195 separate the always-available ANSI-standard signals from the
16196 signals that require checking.
16197 (main): Likewise.
16198 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16199 Likewise.
16200 (main): Likewise.
16201
16202 2014-06-07 Keith Seitz <keiths@redhat.com>
16203
16204 Revert:
16205 PR c++/16253
16206 * gdb.cp/var-tag.cc: New file.
16207 * gdb.cp/var-tag.exp: New file.
16208 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16209 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16210 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16211 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16212
16213 2014-06-06 Doug Evans <xdje42@gmail.com>
16214
16215 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16216
16217 2014-06-06 Pedro Alves <palves@redhat.com>
16218
16219 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16220 in target debug output instead of looking at RSP packets,
16221 disabling the test on any target that uses hardware stepping.
16222 Update comments.
16223
16224 2014-06-06 Pedro Alves <palves@redhat.com>
16225
16226 * gdb.base/break-unload-file.exp: Fix typo.
16227
16228 2014-06-06 Yao Qi <yao@codesourcery.com>
16229
16230 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16231 from "jit_function" to "^jit_function".
16232
16233 2014-06-06 Yao Qi <yao@codesourcery.com>
16234
16235 * gdb.base/async.c (foo): Add one statement.
16236 * gdb.base/async.exp: Get the next instruction address and
16237 match the output of "nexti" by instruction address. Match
16238 the hex address in the output of "finish".
16239
16240 2014-06-06 Gary Benson <gbenson@redhat.com>
16241
16242 * gdb.base/call-signals.c: Remove preprocessor conditionals
16243 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16244 SIGSEGV and SIGTERM.
16245 * gdb.base/sigall.c: Likewise.
16246 * gdb.base/unwindonsignal.c: Likewise.
16247 * gdb.reverse/sigall-reverse.c: Likewise.
16248
16249 2014-06-06 Yao Qi <yao@codesourcery.com>
16250
16251 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16252 readable, skip the test.
16253
16254 2014-06-06 Yao Qi <yao@codesourcery.com>
16255
16256 * gdb.threads/staticthreads.c (thread_function): Move the line
16257 setting breakpoint on forward.
16258 * gdb.threads/staticthreads.exp: Update comments.
16259
16260 2014-06-05 Ludovic Courtès <ludo@gnu.org>
16261
16262 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16263 "history-append! type error".
16264
16265 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16266
16267 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16268 erroneous dprintf expected input.
16269
16270 2014-06-04 Doug Evans <xdje42@gmail.com>
16271
16272 * gdb.guile/scm-generics.exp: Delete.
16273
16274 2014-06-04 Doug Evans <xdje42@gmail.com>
16275
16276 * gdb.guile/scm-breakpoint.exp: Update.
16277 Add tests for breakpoint registration.
16278
16279 2014-06-04 Tom Tromey <tromey@redhat.com>
16280
16281 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16282 VLA-in-union.
16283 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16284 inner_vla_struct, vla_union types. Initialize objects of those
16285 types and compute their sizes.
16286
16287 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16288 Hui Zhu <hui@codesourcery.com>
16289
16290 * gdb.base/fileio.exp: Add test for shell not available as well as
16291 available.
16292 * gdb.base/fileio.c (test_system): Check for shell twice.
16293
16294 2014-06-04 Yao Qi <yao@codesourcery.com>
16295
16296 * gdb.base/auto-connect-native-target.exp: Remove redundant
16297 space from the regexp pattern.
16298
16299 2014-06-04 Yao Qi <yao@codesourcery.com>
16300
16301 * gdb.base/default.exp: Replace "child" with "native" in
16302 regexp pattern.
16303
16304 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16305
16306 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16307 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16308 * gdb.python/py-xmethods.py: Python script supporting the
16309 new testcase and tests.
16310
16311 2014-06-03 Joel Brobecker <brobecker@adacore.com>
16312 Pedro Alves <palves@redhat.com>
16313
16314 PR breakpoints/17000
16315 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16316 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16317
16318 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16319
16320 * gdb.base/subst.exp: Add tests to verify partial path matching
16321 output.
16322
16323 2014-06-03 Pedro Alves <palves@redhat.com>
16324
16325 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16326 target that doesn't use software single-stepping.
16327
16328 2014-06-03 Pedro Alves <palves@redhat.com>
16329
16330 PR breakpoints/17000
16331 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16332 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16333
16334 2014-06-02 Doug Evans <xdje42@gmail.com>
16335
16336 * gdb.guile/scm-parameter.exp: New file.
16337
16338 2014-06-02 Doug Evans <xdje42@gmail.com>
16339
16340 * gdb.guile/scm-cmd.c: New file.
16341 * gdb.guile/scm-cmd.exp: New file.
16342
16343 2014-06-02 Doug Evans <xdje42@gmail.com>
16344
16345 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16346 pretty-printer lookup.
16347 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16348 (make-pp_s-printer): Call it.
16349 (make-pretty-printer-from-dict): New function.
16350 (lookup-pretty-printer-maker-from-dict): New function.
16351 (*pretty-printer*): Simplify.
16352 (make-objfile-pp_s-printer): New function.
16353 (install-objfile-pretty-printers!): New function.
16354 (make-progspace-pp_s-printer): New function.
16355 (install-progspace-pretty-printers!): New function.
16356 * gdb.guile/scm-progspace.c: New file.
16357 * gdb.guile/scm-progspace.exp: New file.
16358
16359 2014-06-02 Pedro Alves <palves@redhat.com>
16360
16361 * gdb.base/dprintf-bp-same-addr.c: New file.
16362 * gdb.base/dprintf-bp-same-addr.exp: New file.
16363
16364 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16365
16366 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16367 * gdb.arch/powerpc-power.s: Likewise.
16368
16369 2014-06-02 Joel Brobecker <brobecker@adacore.com>
16370
16371 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16372
16373 2014-06-01 Yao Qi <yao@codesourcery.com>
16374
16375 * gdb.base/watchpoint.exp (test_watch_location): Check null
16376 pointer can be dereferenced. If not, do the test, otherwise
16377 skip it.
16378
16379 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16380
16381 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16382 results.
16383 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16384
16385 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16386
16387 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16388 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16389 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16390 * gdb.arch/amd64-invalid-stack-top.c: New file.
16391 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16392
16393 2014-05-30 Pedro Alves <palves@redhat.com>
16394
16395 PR breakpoints/17000
16396 * gdb.base/sss-bp-on-user-bp.c: New file.
16397 * gdb.base/sss-bp-on-user-bp.exp: New file.
16398
16399 2014-05-30 David Blaikie <dblaikie@gmail.com>
16400
16401 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16402 gnu_inline semantics via attribute.
16403 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16404 source explicitly specifies the required semantics.
16405
16406 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16407
16408 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16409
16410 2014-05-29 Pedro Alves <palves@redhat.com>
16411 Tom Tromey <tromey@redhat.com>
16412
16413 * gdb.base/async-shell.exp: Don't enable target-async.
16414 * gdb.base/async.exp
16415 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16416 parameter. Adjust.
16417 (top level): Don't test with "target-async".
16418 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16419 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16420 * gdb.base/inferior-died.exp: Don't enable target-async.
16421 * gdb.base/interrupt-noterm.exp: Likewise.
16422 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16423 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16424 * gdb.mi/mi-nonstop.exp: Likewise.
16425 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16426 * gdb.mi/mi-nsintrall.exp: Likewise.
16427 * gdb.mi/mi-nsmoribund.exp: Likewise.
16428 * gdb.mi/mi-nsthrexec.exp: Likewise.
16429 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16430 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16431 * gdb.python/py-evsignal.exp: Don't enable target-async.
16432 * gdb.python/py-evthreads.exp: Likewise.
16433 * gdb.python/py-prompt.exp: Likewise.
16434 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16435 * gdb.server/solib-list.exp: Don't enable target-async.
16436 * gdb.threads/thread-specific-bp.exp: Likewise.
16437 * lib/mi-support.exp: Adjust to use mi-async.
16438
16439 2014-05-29 Pedro Alves <palves@redhat.com>
16440
16441 PR gdb/13860
16442 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16443 reason, even in sync mode.
16444
16445 2014-05-29 Pedro Alves <palves@redhat.com>
16446 Hui Zhu <hui@codesourcery.com>
16447
16448 PR PR15693
16449 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16450 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16451 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16452 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16453
16454 2014-05-28 Joel Brobecker <brobecker@adacore.com>
16455
16456 * config/monitor.exp (gdb_target_monitor): Replace use of
16457 "set remotebaud" by "set serial baud".
16458
16459 2014-05-26 Andy Wingo <wingo@igalia.com>
16460
16461 * gdb.guile/scm-breakpoint.exp:
16462 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16463 properties instead of gdb-object-properties.
16464
16465 2014-05-26 Yao Qi <yao@codesourcery.com>
16466
16467 * gdb.server/no-thread-db.exp: Specify source file name
16468 explicitly when setting a breakpoint.
16469
16470 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16471
16472 * gdb.btrace/vdso.c: New.
16473 * gdb.btrace/vdso.exp: New.
16474
16475 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16476
16477 * gdb.base/gcore.exp (capture_command_output): Move ...
16478 * lib/gdb.exp (capture_command_output): ... here.
16479
16480 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16481
16482 * gdb.btrace/data.exp: Test memory access during btrace replay.
16483
16484 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16485
16486 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16487
16488 2014-05-21 Pedro Alves <palves@redhat.com>
16489
16490 PR gdb/13860
16491 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16492 (top level): Test that output related to execution commands is
16493 sent to the console with CLI commands, but not with MI commands.
16494 Test that breakpoint events are always mirrored to the console.
16495 Also expect the new source line to be output after a "next" in
16496 async mode too. Make it a pass/fail test.
16497 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16498 output.
16499 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16500
16501 2014-05-21 Pedro Alves <palves@redhat.com>
16502
16503 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16504 Use them to test variations of "list" after reaching a breakpoint.
16505 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16506 Test "list" with listsize 10 after reaching a breakpoint.
16507 * gdb.python/python.exp (decode_line current location line
16508 number): Adjust expected line number.
16509
16510 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16511
16512 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16513 behavior for $args, pass it directly to "run".
16514
16515 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16516
16517 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16518 30000 to 65536.
16519
16520 2014-05-21 Pedro Alves <palves@redhat.com>
16521
16522 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16523 auto-connect-native-target off".
16524 * gdb.base/auto-connect-native-target.c: New file.
16525 * gdb.base/auto-connect-native-target.exp: New file.
16526
16527 2014-05-21 Pedro Alves <palves@redhat.com>
16528
16529 * gdb.base/default.exp: Test "target native" instead of "target
16530 child".
16531
16532 2014-05-21 Mark Wielaard <mjw@redhat.com>
16533
16534 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16535
16536 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16537
16538 Fix TLS access for -static -pthread.
16539 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16540 <HAVE_TLS> (thread_function, main): Initialize it.
16541 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16542 Add clean_restart.
16543 <$have_tls != "">: Check TLSVAR.
16544
16545 2014-05-21 Pedro Alves <palves@redhat.com>
16546
16547 * gdb.base/dcache-line-read-error.c: New.
16548 * gdb.base/dcache-line-read-error.exp: New.
16549
16550 2014-05-20 Pedro Alves <palves@redhat.com>
16551
16552 * gdb.base/compare-sections.c: New file.
16553 * gdb.base/compare-sections.exp: New file.
16554
16555 2014-05-20 Pedro Alves <palves@redhat.com>
16556
16557 * gdb.base/break-idempotent.c: New file.
16558 * gdb.base/break-idempotent.exp: New file.
16559
16560 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16561
16562 * gdb.btrace/nohist.exp: New.
16563
16564 2014-05-20 Yao Qi <yao@codesourcery.com>
16565
16566 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16567 gdb.reverse directory and gdb_reverse_timeout exists in board
16568 setting.
16569 * README: Document gdb_reverse_timeout.
16570
16571 2014-05-20 Yao Qi <yao@codesourcery.com>
16572
16573 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16574 'test_file_name'. Treat args as a string instead of a list.
16575 (gdb_init): Rename argument 'args' by 'test_file_name'.
16576
16577 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16578
16579 * gdb.arch/powerpc-power.exp: New file.
16580 * gdb.arch/powerpc-power.s: New file.
16581
16582 2014-05-16 Doug Evans <dje@google.com>
16583
16584 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
16585 * gdb.base/completion.exp: Check that all expected files exist
16586 before doing file completion.
16587
16588 2014-05-16 Doug Evans <dje@google.com>
16589
16590 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16591 Update.
16592 (do_syscall_tests_without_xml): Update.
16593
16594 2014-05-16 Pedro Alves <palves@redhat.com>
16595
16596 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16597 instead of "unknown output after running".
16598
16599 2014-05-16 Yao Qi <yao@codesourcery.com>
16600
16601 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16602 file1.txt from host at the end.
16603 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16604
16605 2014-05-15 Doug Evans <dje@google.com>
16606
16607 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16608 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16609 loading file. Add test for TU lookup.
16610
16611 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16612
16613 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16614 calling "-exec-arguments" or "set args" before running the
16615 inferior.
16616
16617 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16618
16619 * lib/mi-support.exp (mi_expect_stop): Expect message for
16620 inferiors that exit with non-zero exit code.
16621
16622 2014-05-14 Yao Qi <yao@codesourcery.com>
16623
16624 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16625 match absolute path on remote host.
16626 (test_file_list_exec_source_files): Remove "/" from the
16627 pattern.
16628
16629 2014-05-14 Yao Qi <yao@codesourcery.com>
16630
16631 * boards/local-remote-host-notty.exp (${board}_file): New
16632 proc.
16633
16634 2014-05-07 Kyle McMartin <kyle@redhat.com>
16635
16636 Pushed by Joel Brobecker <brobecker@adacore.com>.
16637 * gdb.arch/aarch64-atomic-inst.c: New file.
16638 * gdb.arch/aarch64-atomic-inst.exp: New file.
16639
16640 2014-05-07 Yao Qi <yao@codesourcery.com>
16641
16642 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16643 in current context" too.
16644
16645 2014-05-05 Keith Seitz <keiths@redhat.com>
16646
16647 * gdb.linespec/ls-dollar.exp: Add test for linespec
16648 file:convenience_variable.
16649
16650 2014-05-05 Yao Qi <yao@codesourcery.com>
16651
16652 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16653 traceframes into tfile and ctf trace files. Read data from
16654 trace file and test collected data.
16655 (gdb_collect_locals_test): Likewise.
16656 (gdb_unavailable_registers_test): Likewise.
16657 (gdb_unavailable_floats): Likewise.
16658 (gdb_collect_globals_test): Likewise.
16659 (top-level): Append "ctf" to trace_file_targets if GDB
16660 supports.
16661
16662 2014-05-05 Yao Qi <yao@codesourcery.com>
16663
16664 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16665 code to ...
16666 (gdb_collect_args_test_1): ... it. New proc.
16667 (gdb_collect_locals_test): Move some code to ...
16668 (gdb_collect_locals_test_1): ... it. New proc.
16669 (gdb_unavailable_registers_test): Move some code to ...
16670 (gdb_unavailable_registers_test_1): ... it. New proc.
16671 (gdb_unavailable_floats): Move some code to ...
16672 (gdb_unavailable_floats_1): ... it. New proc.
16673
16674 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16675
16676 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16677 probes to test for bitness recognition.
16678 * gdb.arch/amd64-stap-optional-prefix.exp
16679 (test_probe_value_without_reg): New procedure.
16680 Add code to test for different kinds of bitness.
16681
16682 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16683
16684 PR breakpoints/16889
16685 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16686 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16687
16688 2014-05-01 Pedro Alves <palves@redhat.com>
16689
16690 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16691 gdb_file_cmd if no file is specified.
16692 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16693 last_loaded_file to set the remote exec-file.
16694
16695 2014-05-01 Pedro Alves <palves@redhat.com>
16696
16697 * boards/local-remote-host.exp: New file.
16698
16699 2014-05-01 Pedro Alves <palves@redhat.com>
16700
16701 * boards/local-remote-host.exp: Rename to ...
16702 * boards/local-remote-host-notty.exp: ... this.
16703
16704 2014-04-28 Joel Brobecker <brobecker@adacore.com>
16705
16706 * gdb.ada/dyn_arrayidx: New testcase.
16707
16708 2014-04-26 Yao Qi <yao@codesourcery.com>
16709
16710 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16711 and compute the length of function main. Save it in
16712 $main_length.
16713 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16714 (top-level): Use gdb_compile to compile objects into
16715 executable and restart GDB. Remove invocation to
16716 prepare_for_testing.
16717
16718 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16719 Pedro Alves <palves@redhat.com>
16720
16721 PR server/16255
16722 * gdb.multi/multi-attach.c: New file.
16723 * gdb.multi/multi-attach.exp: New file.
16724
16725 2014-04-25 Pedro Alves <palves@redhat.com>
16726
16727 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16728 user.
16729 (top level): Test that "set remote conditional-breakpoints-packet
16730 off" works as intended.
16731 * gdb.base/dprintf.exp: Test that "set remote
16732 breakpoint-commands-packet off" works as intended.
16733 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16734 New function.
16735 (top level): Call it.
16736 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16737 remote fast-tracepoints-packet off" works as intended.
16738 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16739 * lib/gdb.exp (gdb_is_target_remote): ... here.
16740
16741 2014-04-24 David Blaikie <dblaikie@gmail.com>
16742
16743 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16744 ensure clang would not discard them.
16745 * gdb.base/gdbvars.c: Ditto.
16746 * gdb.base/memattr.c: Ditto.
16747 * gdb.base/whatis.c: Ditto.
16748 * gdb.python/py-prettyprint.c: Ditto.
16749 * gdb.trace/actions.c: Ditto.
16750 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16751 ensure clang would not discard it.
16752
16753 2014-04-24 David Blaikie <dblaikie@gmail.com>
16754
16755 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16756 clang to emit the full definition of type required by the test
16757 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16758
16759 2014-04-24 David Blaikie <dblaikie@gmail.com>
16760
16761 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16762 coax Clang into emitting the definition of the type.
16763 * gdb.cp/pr10728-x.h (y): Ditto.
16764 * gdb.cp/pr10728-y.cc (y): Ditto.
16765
16766 2014-04-24 David Blaikie <dblaikie@gmail.com>
16767
16768 * gdb.base/label.exp: XFAIL label related tests under Clang.
16769 * gdb.cp/cplabel.exp: Ditto.
16770 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16771 under Clang those using labels.
16772
16773 2014-04-25 Yao Qi <yao@codesourcery.com>
16774
16775 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16776 double_label.
16777 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16778 partial_label and double_label.
16779
16780 2014-04-24 David Blaikie <dblaikie@gmail.com>
16781
16782 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16783
16784 2014-04-24 David Blaikie <dblaikie@gmail.com>
16785
16786 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16787 of the function to work across GCC and Clang.
16788 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16789 pointer types (const void ** const V void **).
16790
16791 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16792 Walfred Tedeschi <walfred.tedeschi@intel.com>
16793
16794 * Makefile.in (EXECUTABLES): Added i386-avx512.
16795 * gdb.arch/i386-avx512.c: New file.
16796 * gdb.arch/i386-avx512.exp: Likewise.
16797
16798 2014-04-23 Keith Seitz <keiths@redhat.com>
16799
16800 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16801 (mi_make_breakpoint_table): New procedure.
16802 (mi_create_breakpoint): Use mi_make_breakpoint
16803 and return the result.
16804 (mi_make_breakpoint): New procedure.
16805 (mi_build_kv_pairs): New procedure.
16806
16807 * gdb.mi/mi-break.exp: Remove unused globals,
16808 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16809 All callers updated.
16810 * gdb.mi/mi-dprintf.exp: Use variable to track command
16811 number.
16812 Update all callers of mi_create_breakpoint and use
16813 mi_make_breakpoint_table.
16814 Remove any unused global variables.
16815 * gdb.mi/mi-nonstop.exp: Likewise.
16816 * gdb.mi/mi-nsintrall.exp: Likewise.
16817 * gdb.mi/mi-nsmoribund.exp: Likewise.
16818 * gdb.mi/mi-nsthrexec.exp: Likewise.
16819 * gdb.mi/mi-reverse.exp: Likewise.
16820 * gdb.mi/mi-simplerun.exp: Likewise.
16821 * gdb.mi/mi-stepn.exp: Likewise.
16822 * gdb.mi/mi-syn-frame.exp: Likewise.
16823 * gdb.mi/mi-until.exp: Likewise.
16824 * gdb.mi/mi-var-cp.exp: Likewise.
16825 * gdb.mi/mi-var-display.exp: Likewise.
16826 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16827 * gdb.mi/mi2-var-child.exp: Likewise.
16828 * gdb.mi/mi-vla-c99.exp: Likewise.
16829 * lib/mi-support.exp: Likewise.
16830
16831 From Ian Lance Taylor <iant@cygnus.com>:
16832 * lib/gdb.exp (parse_args): New procedure.
16833
16834 2014-04-23 Pedro Alves <palves@redhat.com>
16835
16836 * gdb.base/break-unload-file.c: New file.
16837 * gdb.base/break-unload-file.exp: New file.
16838 * gdb.base/sym-file-lib.c (baz): New function.
16839 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16840 field.
16841 (load): Store the segment's mapped size.
16842 (unload): New function.
16843 (unload_shlib): New function.
16844 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16845 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16846 set a breakpoint at baz, and call it.
16847 * gdb.base/sym-file.exp: New tests for stale breakpoint
16848 instructions.
16849
16850 2014-04-23 Pedro Alves <palves@redhat.com>
16851
16852 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16853 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16854 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16855 * gdb.base/hbreak-unmapped.c: New file.
16856 * gdb.base/hbreak-unmapped.exp: New file.
16857 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16858 * lib/gdb.exp (gdb_is_target_remote): ... here.
16859
16860 2014-04-22 Pedro Alves <palves@redhat.com>
16861
16862 * gdb.base/consecutive-step-over.c: New file.
16863 * gdb.base/consecutive-step-over.exp: New file.
16864
16865 2014-04-22 Pedro Alves <palves@redhat.com>
16866
16867 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16868 instead of send_gdb/gdb_expect.
16869
16870 2014-04-22 Yao Qi <yao@codesourcery.com>
16871
16872 * lib/trace-support.exp (generate_tracefile): New procedure.
16873 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16874 return 0.
16875 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16876 if generate_tracefile returns 1.
16877
16878 2014-04-18 Tom Tromey <palves@redhat.com>
16879 Pedro alves <tromey@redhat.com>
16880
16881 PR backtrace/15558
16882 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16883 with a backtrace limit.
16884 * gdb.python/py-frame-inline.exp: Test running to an inline
16885 function with a backtrace limit, and printing the newest frame.
16886 * gdb.python/py-frame-inline.c (main): Call f.
16887
16888 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16889
16890 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16891
16892 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16893
16894 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16895 Drop prefix from unsupported source file path.
16896
16897 2014-04-17 Yao Qi <yao@codesourcery.com>
16898
16899 * lib/gdb.exp (with_target_charset): New proc.
16900 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16901 with_target_charset.
16902 (test_print_strings): Likewise.
16903 (test_repeat_bytes): Likewise.
16904 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16905 for some tests.
16906
16907 2014-04-16 Keith Seitz <keiths@redhat.com>
16908
16909 PR gdb/15827
16910 * gdb.dwarf2/corrupt.c: New file.
16911 * gdb.dwarf2/corrupt.exp: New file.
16912
16913 2014-04-16 Keith Seitz <keiths@redhat.com>
16914
16915 PR c++/16597
16916 * gdb.cp/namelessclass.cc: New file.
16917 * gdb.cp/namelessclass.exp: New file.
16918 * gdb.cp/namelessclass.S: New file.
16919
16920 2014-04-16 Doug Evans <dje@google.com>
16921
16922 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16923 Add comment.
16924 (gdbserver_default_get_comm_port): New function.
16925 (gdbserver_start): Check if board file provided
16926 "gdbserver,get_comm_port" and use it if so.
16927 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16928 (gdb,socketport): Set to "stdio".
16929 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16930 (stdio_gdbserver_template): Delete.
16931 (${board}_get_remote_address): Update.
16932 (${board}_build_remote_cmd): Delete.
16933 (${board}_get_comm_port): New function.
16934 (${board}_spawn): Update.
16935 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16936 Delete.
16937 (${board}_get_remote_address): Update.
16938 (${board}_get_comm_port): New function.
16939
16940 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
16941
16942 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16943 appearing in any order.
16944
16945 2014-04-15 Doug Evans <dje@google.com>
16946
16947 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16948 uninitialized value of "description".
16949
16950 2014-04-15 Keith Seitz <keiths@redhat.com>
16951
16952 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16953 Remove unused globals.
16954 (test_running_the_program): Likewise.
16955 (test_controlled_execution): Likewise.
16956 (test_controlling_breakpoints): Likewise.
16957 (test_program_termination): Likewise.
16958
16959 2014-04-15 Keith Seitz <keiths@redhat.com>
16960
16961 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16962 unused globals.
16963 (test_rbreak_creation_and_listing): Likewise.
16964 (test_ignore_count): Likewise.
16965 (test_error): Likewise.
16966
16967 2014-04-15 Pedro Alves <palves@redhat.com>
16968
16969 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
16970 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
16971 sym-file-loader.c.
16972 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16973 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16974 to sym-file-loader.c.
16975 (struct library): Forward declare.
16976 (load_shlib, lookup_function): Change prototypes.
16977 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16978 (translate_offset): Remove declarations.
16979 (get_text_addr): New declaration.
16980 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
16981 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
16982 sym-file-loader.h.
16983 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
16984 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
16985 here from sym-file-loader.h.
16986 (struct library): New structure.
16987 (load_shlib, lookup_function): Change prototypes and adjust to
16988 work with a struct library.
16989 (find_shstrtab, find_strtab, find_shdr, find_symtab)
16990 (translate_offset): Make static.
16991 (get_text_addr): New function.
16992 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
16993
16994 2014-04-15 Pedro Alves <palves@redhat.com>
16995
16996 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
16997
16998 2014-04-15 Pedro Alves <palves@redhat.com>
16999
17000 * gdb.base/sym-file-loader.c: Include <limits.h>.
17001 (SELF_LINK): New define.
17002 (get_origin): New function.
17003 (load_shlib): Use it.
17004 * gdb.base/sym-file.exp: Don't early return if the target is
17005 remote. Use runto_main, and issue fail is that fails. Use
17006 gdb_load_shlibs.
17007 (shlib_name): Delete.
17008 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17009
17010 2014-04-15 Pedro Alves <palves@redhat.com>
17011
17012 * gdb.base/sym-file.exp: Remove regex characters from test
17013 message. Don't refer to breakpoint numbers in test messages.
17014
17015 2014-04-14 Keith Seitz <keiths@redhat.com>
17016
17017 PR c++/16253
17018 * gdb.cp/var-tag.cc: New file.
17019 * gdb.cp/var-tag.exp: New file.
17020 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17021 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17022 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17023 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17024
17025 2014-04-14 Tom Tromey <tromey@redhat.com>
17026
17027 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17028 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17029 type.
17030 * gdb.cp/enum-class.exp: New file.
17031 * gdb.cp/enum-class.cc: New file.
17032
17033 2014-04-14 Tom Tromey <tromey@redhat.com>
17034
17035 * gdb.dwarf2/enum-type.exp: New file.
17036
17037 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17038
17039 * gdb.mi/mi-vla-c99.exp: New file.
17040 * gdb.mi/vla.c: New file.
17041
17042 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17043
17044 * gdb.base/vla-datatypes.c: New file.
17045 * gdb.base/vla-datatypes.exp: New file.
17046
17047 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17048
17049 * gdb.base/vla-ptr.c: New file.
17050 * gdb.base/vla-ptr.exp: New file.
17051
17052 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17053
17054 * gdb.dwarf2/count.exp: New file.
17055
17056 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17057
17058 * gdb.base/vla-sideeffect.c: New file.
17059 * gdb.base/vla-sideeffect.exp: New file.
17060
17061 2014-04-14 David Blaikie <dblaikie@gmail.com>
17062
17063 * gdb.mi/non-stop.c: Add return value for non-void function return
17064 statement.
17065 * gdb.threads/staticthreads.c: Ditto.
17066
17067 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17068 Doug Evans <xdje42@gmail.com>
17069
17070 * gdb.guile/scm-value.c: Improve test case.
17071 * gdb.guile/scm-value.exp: Add new test.
17072
17073 2014-04-11 David Blaikie <dblaikie@gmail.com>
17074
17075 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17076 override Clang's default.
17077
17078 2014-04-11 Joel Brobecker <brobecker@adacore.com>
17079
17080 Revert the following changes (regressions):
17081
17082 * gdb.base/vla-sideeffect.c: New file.
17083 * gdb.base/vla-sideeffect.exp: New file.
17084
17085 * gdb.dwarf2/count.exp: New file.
17086
17087 * gdb.base/vla-multi.c: New file.
17088 * gdb.base/vla-multi.exp: New file.
17089
17090 * gdb.base/vla-ptr.c: New file.
17091 * gdb.base/vla-ptr.exp: New file.
17092
17093 * gdb.base/vla-datatypes.c: New file.
17094 * gdb.base/vla-datatypes.exp: New file.
17095
17096 * gdb.mi/mi-vla-c99.exp: New file.
17097 * gdb.mi/vla.c: New file.
17098
17099 2014-04-11 Keith Seitz <keiths@redhat.com>
17100
17101 PR c++/16675
17102 * gdb.cp/cpsizeof.exp: New file.
17103 * gdb.cp/cpsizeof.cc: New file.
17104
17105 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17106
17107 * gdb.mi/mi-vla-c99.exp: New file.
17108 * gdb.mi/vla.c: New file.
17109
17110 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17111
17112 * gdb.base/vla-datatypes.c: New file.
17113 * gdb.base/vla-datatypes.exp: New file.
17114
17115 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17116
17117 * gdb.base/vla-ptr.c: New file.
17118 * gdb.base/vla-ptr.exp: New file.
17119
17120 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17121
17122 * gdb.base/vla-multi.c: New file.
17123 * gdb.base/vla-multi.exp: New file.
17124
17125 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17126
17127 * gdb.dwarf2/count.exp: New file.
17128
17129 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17130
17131 * gdb.base/vla-sideeffect.c: New file.
17132 * gdb.base/vla-sideeffect.exp: New file.
17133
17134 2014-04-11 Yao Qi <yao@codesourcery.com>
17135
17136 * gdb.base/completion.exp: Check file exists before running tests
17137 on file completion.
17138
17139 2014-04-10 Pedro Alves <palves@redhat.com>
17140
17141 * gdb.base/cond-eval-mode.c: New file.
17142 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17143 prepare_for_testing to build the new file. Check result of
17144 runto_main.
17145 (test_break, test_watch): New procedures.
17146 (top level): Use them.
17147
17148 2014-04-08 Pierre Muller <muller@sourceware.org>
17149
17150 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17151 Ctrl-V use for mingw hosts.
17152
17153 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17154
17155 * gdb.python/py-value.c: Improve test case.
17156 * gdb.python/py-value.exp: Add new test.
17157
17158 2014-04-07 David Blaikie <dblaikie@gmail.com>
17159
17160 * lib/compiler.c: Identify the clang compiler.
17161 * lib/compiler.cc: Ditto.
17162
17163 2014-04-03 Yao Qi <yao@codesourcery.com>
17164
17165 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17166
17167 2014-04-01 Anton Blanchard <anton@samba.org>
17168
17169 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17170 messages unique.
17171
17172 2014-04-01 Anton Blanchard <anton@samba.org>
17173
17174 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17175 prepare_for_testing.
17176
17177 2014-04-01 Anton Blanchard <anton@samba.org>
17178
17179 * gdb.arch/ppc64-atomic-inst.c: Remove.
17180 * gdb.arch/ppc64-atomic-inst.S: New file.
17181 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17182
17183 2014-03-31 Doug Evans <dje@google.com>
17184
17185 * gdb.base/print-symbol-loading-lib.c: New file.
17186 * gdb.base/print-symbol-loading-main.c: New file.
17187 * gdb.base/print-symbol-loading.exp: New file.
17188
17189 2014-03-31 Yao Qi <yao@codesourcery.com>
17190
17191 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17192
17193 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17194
17195 * gdb.ada/mi_dyn_arr: New testcase.
17196
17197 2014-03-27 Doug Evans <dje@google.com>
17198
17199 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17200
17201 2014-03-27 Yao Qi <yao@codesourcery.com>
17202
17203 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17204 if target is nios2-*-*.
17205
17206 2014-03-26 Yao Qi <yao@codesourcery.com>
17207
17208 * lib/gdb.exp (readline_is_used): New proc.
17209 * gdb.base/completion.exp: Move tests on command complete up.
17210 Skip the rest of tests if readline is not used.
17211 * gdb.ada/complete.exp: Skp the test if readline is not
17212 used.
17213 * gdb.base/filesym.exp: Likewise.
17214 * gdb.base/macscp.exp: Likewise.
17215 * gdb.base/readline-ask.exp: Likewise.
17216 * gdb.base/readline.exp: Likewise.
17217 * gdb.python/py-cmd.exp: Likewise.
17218 * gdb.trace/tfile.exp: Likewise.
17219
17220 2014-03-26 Yao Qi <yao@codesourcery.com>
17221
17222 * gdb.base/macscp.exp: Fix code format issues.
17223
17224 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17225
17226 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17227 * gdb.asm/powerpc64le.inc: New file.
17228
17229 2014-03-25 Pedro Alves <palves@redhat.com>
17230 Doug Evans <dje@google.com>
17231
17232 * gdb.base/source-execution.c: New file.
17233 * gdb.base/source-execution.exp: New file.
17234 * gdb.base/source-execution.gdb: New file.
17235
17236 2014-03-24 Doug Evans <dje@google.com>
17237
17238 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17239 using fission.
17240
17241 2014-03-24 Hui Zhu <hui@codesourcery.com>
17242 Pedro Alves <palves@redhat.com>
17243
17244 PR breakpoints/16101
17245 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17246 test pass/fail messages. Detect missing support for dprintf when
17247 breakpoints are actually inserted.
17248 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17249 breakpoints are actually inserted.
17250 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17251 fails.
17252
17253 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17254
17255 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17256
17257 2014-03-22 Doug Evans <xdje42@gmail.com>
17258
17259 * gdb.python/python.exp (python not supported): Verify multi-line
17260 python command issues an error.
17261 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17262 guile command issues an error.
17263
17264 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17265
17266 * gdb.threads/thread-specific.exp: Handle the lack of usable
17267 $this_breakpoint and $this_thread.
17268
17269 2014-03-21 Hui Zhu <hui@codesourcery.com>
17270
17271 * gdb.base/attach.exp (do_command_attach_tests): New.
17272
17273 2014-03-20 Tom Tromey <tromey@redhat.com>
17274 Pedro Alves <palves@redhat.com>
17275
17276 PR cli/15718
17277 * gdb.base/condbreak-call-false.c: New file.
17278 * gdb.base/condbreak-call-false.exp: New file.
17279
17280 2014-03-20 Pedro Alves <palves@redhat.com>
17281
17282 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17283 Delete.
17284 (block_signals, unblock_signals): Delete.
17285 (child_function_2, main): Remove references to deleted variable
17286 and functions.
17287
17288 2014-03-20 Pedro Alves <palves@redhat.com>
17289
17290 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17291 Use pthread_kill to signal thread 2.
17292 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17293 Adjust to make the test send itself a signal rather than using the
17294 host's "kill" command.
17295
17296 2014-03-20 Pedro Alves <palves@redhat.com>
17297
17298 * gdb.threads/multiple-step-overs.c: New file.
17299 * gdb.threads/multiple-step-overs.exp: New file.
17300 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17301 Adjust expected infrun debug output.
17302
17303 2014-03-20 Pedro Alves <palves@redhat.com>
17304
17305 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17306 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17307
17308 2014-03-20 Pedro Alves <palves@redhat.com>
17309
17310 PR breakpoints/7143
17311 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17312 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17313 of gdb_test_multiple.
17314 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17315 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17316
17317 2014-03-20 Pedro Alves <palves@redhat.com>
17318
17319 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17320 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17321
17322 2014-03-19 Pedro Alves <palves@redhat.com>
17323
17324 * gdb.base/async.exp: Remove early return.
17325
17326 2014-03-19 Pedro Alves <palves@redhat.com>
17327
17328 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17329
17330 2014-03-19 Pedro Alves <palves@redhat.com>
17331
17332 * gdb.base/async.exp (test_background): Expect \r\n after
17333 "completed." in the fail pattern.
17334
17335 2014-03-19 Pedro Alves <palves@redhat.com>
17336
17337 * gdb.base/async.exp (test_background): New procedure.
17338 Use it for all background execution command tests.
17339
17340 2014-03-19 Pedro Alves <palves@redhat.com>
17341
17342 * gdb.base/async.exp: Use prepare_for_testing.
17343
17344 2014-03-19 Pedro Alves <palves@redhat.com>
17345
17346 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17347 the same line.
17348
17349 2014-03-19 Pedro Alves <palves@redhat.com>
17350
17351 * gdb.base/async.c (main): Add "jump here" and "until here" line
17352 marker comments.
17353 * gdb.base/async.exp (jump_here): New global.
17354 (jump& test): Use it.
17355 (until_here): New global.
17356 (until& test): Use it.
17357
17358 2014-03-19 Pedro Alves <palves@redhat.com>
17359
17360 * gdb.base/async.exp: Don't frob gdb_protocol.
17361
17362 2014-03-18 Doug Evans <xdje42@gmail.com>
17363
17364 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17365 Fix spelling of exec-done-display.
17366
17367 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17368
17369 PR gdb/15358
17370 * gdb.base/gdb-sigterm.c: New file.
17371 * gdb.base/gdb-sigterm.exp: New file.
17372
17373 2014-03-18 Pedro Alves <palves@redhat.com>
17374
17375 PR gdb/13860
17376 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17377 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17378 solib-event.
17379
17380 2014-03-17 Joel Brobecker <brobecker@adacore.com>
17381
17382 * gdb.ada/pckd_arr_ren: New testcase.
17383
17384 2014-03-13 Doug Evans <xdje42@gmail.com>
17385
17386 PR guile/16612
17387 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17388 collect after discarding symbols.
17389
17390 2014-03-13 Ludovic Courtès <ludo@gnu.org>
17391 Doug Evans <xdje42@gmail.com>
17392
17393 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17394 to history survives a gc.
17395
17396 2014-03-13 Pedro Alves <palves@redhat.com>
17397
17398 * gdb.base/default.exp: Don't test "target procfs".
17399
17400 2014-03-13 Pedro Alves <palves@redhat.com>
17401
17402 * gdb.base/default.exp: Update "target child" and "target procfs"
17403 tests to not expect "Unix".
17404
17405 2014-03-12 Tom Tromey <tromey@redhat.com>
17406
17407 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17408 New procs. Add target-async tests.
17409 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17410 Add target-async tests.
17411
17412 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17413
17414 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17415 'func_start' and 'func_end' for the beginning and end of the
17416 function code, respectively.
17417 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17418 'func_end' instead of 'func' and 'main'.
17419
17420 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17421
17422 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17423 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17424 generate the debug info assembler source.
17425
17426 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17427
17428 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17429 * gdb.dwarf2/arr-subrange.exp: Likewise.
17430 * gdb.dwarf2/dwz.exp: Likewise.
17431 * gdb.dwarf2/method-ptr.exp: Likewise.
17432 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17433 * gdb.dwarf2/subrange.exp: Likewise.
17434 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17435 * gdb.dwarf2/implptrpiece.exp: Likewise.
17436 * gdb.dwarf2/nostaticblock.exp: Likewise.
17437
17438 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17439
17440 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17441 directory to absolute path name arguments.
17442
17443 2014-03-10 Joel Brobecker <brobecker@adacore.com>
17444
17445 * gdb.ada/tagged_access: New testcase.
17446
17447 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17448
17449 * gdb.btrace/data.exp: Update expected output.
17450
17451 2014-03-06 Yao Qi <yao@codesourcery.com>
17452
17453 * gdb.trace/pr16508.exp: New file.
17454
17455 2014-03-05 Pedro Alves <palves@redhat.com>
17456
17457 PR gdb/16575
17458 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17459 procedure.
17460 (top level): Adjust to use it. Add tests that exercise breakpoint
17461 interaction with the code-cache.
17462
17463 2014-02-26 Ludovic Courtès <ludo@gnu.org>
17464
17465 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17466 test for 'history-append!'.
17467
17468 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17469
17470 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17471 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17472 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17473 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17474 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17475 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17476
17477 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17478
17479 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17480 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17481 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17482
17483 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17484
17485 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17486
17487 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17488
17489 * gdb.dwarf2/arr-stride.c: New file.
17490 * gdb.dwarf2/arr-stride.exp: New file.
17491
17492 2014-02-26 Pedro Alves <palves@redhat.com>
17493
17494 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17495 that won't ever trigger. Make sure that GDB reports the correct
17496 breakpoint that caused the stop.
17497
17498 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17499
17500 PR gdb/16626
17501 * gdb.base/auto-load-script: New file.
17502 * gdb.base/auto-load.c: New file.
17503 * gdb.base/auto-load.exp: New file.
17504
17505 PR gdb/16626
17506 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17507
17508 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17509
17510 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17511 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17512
17513 2014-02-24 Doug Evans <dje@google.com>
17514
17515 * lib/gdb.exp (run_on_host): Log error output if program fails.
17516
17517 2014-02-21 Pedro Alves <palves@redhat.com>
17518
17519 * gdb.threads/step-after-sr-lock.c: Rename to ...
17520 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17521 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17522 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17523 ... this.
17524
17525 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17526
17527 PR tdep/16397
17528 * gdb.arch/amd64-stap-special-operands.exp: New file.
17529 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17530 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17531 * gdb.arch/amd64-stap-triplet.S: Likewise.
17532 * gdb.arch/amd64-stap-triplet.c: Likewise.
17533
17534 2014-02-20 Joel Brobecker <brobecker@adacore.com>
17535
17536 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17537 in .section pseudo-op.
17538
17539 2014-02-20 lin zuojian <manjian2006@gmail.com>
17540 Joel Brobecker <brobecker@adacore.com>
17541 Doug Evans <xdje42@gmail.com>
17542
17543 PR symtab/16581
17544 * gdb.dwarf2/dw2-icycle.S: New file.
17545 * gdb.dwarf2/dw2-icycle.c: New file.
17546 * gdb.dwarf2/dw2-icycle.exp: New file.
17547
17548 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17549
17550 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17551 operations on gdb.Value objects.
17552 * gdb.python/py-value-cc.exp: Add new test to test operations on
17553 gdb.Value objects.
17554
17555 2014-02-18 Doug Evans <dje@google.com>
17556
17557 * Makefile.in (TESTS): New variable.
17558 (expanded_tests, expanded_tests_or_none): New variables
17559 (check-single): Pass $(expanded_tests_or_none) to runtest.
17560 (check-parallel): Only run tests in $(TESTS) if non-empty.
17561 (check/no-matching-tests-found): New rule.
17562 * README: Document TESTS makefile variable.
17563
17564 2014-02-18 Doug Evans <dje@google.com>
17565
17566 * Makefile.in (check-parallel): rm -rf outputs temp.
17567
17568 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17569
17570 Fix "ERROR: no fileid for" in the testsuite.
17571 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17572
17573 2014-02-12 Doug Evans <dje@google.com>
17574
17575 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17576 (MISCELLANEOUS): New variable.
17577 (clean): rm -rf $(MISCELLANEOUS).
17578 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17579 dwp live in the same directory as symlinks, with each symlink pointed
17580 to a differently named file in a different directory.
17581
17582 2014-02-11 Doug Evans <dje@google.com>
17583
17584 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17585 of Tcl file commands.
17586
17587 2014-02-10 Mark Kettenis <kettenis@gnu.org>
17588
17589 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17590 "kill -SIGUSR1 -1".
17591
17592 2014-02-10 Joel Brobecker <brobecker@adacore.com>
17593
17594 * gdb.ada/tick_length_array_enum_idx: New testcase.
17595
17596 2014-02-10 Doug Evans <xdje42@gmail.com>
17597
17598 * configure.ac (AC_OUTPUT): Add gdb.guile.
17599 * configure: Regenerate.
17600 * lib/gdb-guile.exp: New file.
17601 * lib/gdb.exp (get_target_charset): New function.
17602 * gdb.base/help.exp: Update expected output from "apropos apropos".
17603 * gdb.guile/Makefile.in: New file.
17604 * gdb.guile/guile.exp: New file.
17605 * gdb.guile/scm-arch.c: New file.
17606 * gdb.guile/scm-arch.exp: New file.
17607 * gdb.guile/scm-block.c: New file.
17608 * gdb.guile/scm-block.exp: New file.
17609 * gdb.guile/scm-breakpoint.c: New file.
17610 * gdb.guile/scm-breakpoint.exp: New file.
17611 * gdb.guile/scm-disasm.c: New file.
17612 * gdb.guile/scm-disasm.exp: New file.
17613 * gdb.guile/scm-equal.c: New file.
17614 * gdb.guile/scm-equal.exp: New file.
17615 * gdb.guile/scm-error.exp: New file.
17616 * gdb.guile/scm-error.scm: New file.
17617 * gdb.guile/scm-frame-args.c: New file.
17618 * gdb.guile/scm-frame-args.exp: New file.
17619 * gdb.guile/scm-frame-args.scm: New file.
17620 * gdb.guile/scm-frame-inline.c: New file.
17621 * gdb.guile/scm-frame-inline.exp: New file.
17622 * gdb.guile/scm-frame.c: New file.
17623 * gdb.guile/scm-frame.exp: New file.
17624 * gdb.guile/scm-generics.exp: New file.
17625 * gdb.guile/scm-gsmob.exp: New file.
17626 * gdb.guile/scm-iterator.c: New file.
17627 * gdb.guile/scm-iterator.exp: New file.
17628 * gdb.guile/scm-math.c: New file.
17629 * gdb.guile/scm-math.exp: New file.
17630 * gdb.guile/scm-objfile-script-gdb.in: New file.
17631 * gdb.guile/scm-objfile-script.c: New file.
17632 * gdb.guile/scm-objfile-script.exp: New file.
17633 * gdb.guile/scm-objfile.c: New file.
17634 * gdb.guile/scm-objfile.exp: New file.
17635 * gdb.guile/scm-ports.exp: New file.
17636 * gdb.guile/scm-pretty-print.c: New file.
17637 * gdb.guile/scm-pretty-print.exp: New file.
17638 * gdb.guile/scm-pretty-print.scm: New file.
17639 * gdb.guile/scm-section-script.c: New file.
17640 * gdb.guile/scm-section-script.exp: New file.
17641 * gdb.guile/scm-section-script.scm: New file.
17642 * gdb.guile/scm-symbol.c: New file.
17643 * gdb.guile/scm-symbol.exp: New file.
17644 * gdb.guile/scm-symtab-2.c: New file.
17645 * gdb.guile/scm-symtab.c: New file.
17646 * gdb.guile/scm-symtab.exp: New file.
17647 * gdb.guile/scm-type.c: New file.
17648 * gdb.guile/scm-type.exp: New file.
17649 * gdb.guile/scm-value-cc.cc: New file.
17650 * gdb.guile/scm-value-cc.exp: New file.
17651 * gdb.guile/scm-value.c: New file.
17652 * gdb.guile/scm-value.exp: New file.
17653 * gdb.guile/source2.scm: New file.
17654 * gdb.guile/types-module.cc: New file.
17655 * gdb.guile/types-module.exp: New file.
17656
17657 2014-02-10 Yao Qi <yao@codesourcery.com>
17658
17659 PR testsuite/16543
17660 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17661 * configure: Regenerated.
17662 * Makefile.in: New file.
17663
17664 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17665
17666 * gdb.python/py-framefilter.exp: Fix typo.
17667
17668 2014-02-08 Yao Qi <yao@codesourcery.com>
17669
17670 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17671 that no =breakpoint-modified is emitted when breakpoints are
17672 modified through MI commands.
17673
17674 2014-02-07 Pedro Alves <pedro@codesourcery.com>
17675 Pedro Alves <palves@redhat.com>
17676
17677 * gdb.threads/step-after-sr-lock.c: New file.
17678 * gdb.threads/step-after-sr-lock.exp: New file.
17679
17680 2014-02-07 Pedro Alves <palves@redhat.com>
17681
17682 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17683
17684 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17685
17686 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17687 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17688
17689 2014-02-06 Doug Evans <xdje42@gmail.com>
17690
17691 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17692 output.
17693
17694 * gdb.gdb/python-interrupts.exp: New file.
17695
17696 2014-02-05 Yao Qi <yao@codesourcery.com>
17697
17698 * gdb.trace/report.exp (use_collected_data): Test the output
17699 of "info threads" and "info inferiors".
17700
17701 2014-02-05 Yao Qi <yao@codesourcery.com>
17702
17703 Revert this patch:
17704
17705 2013-05-24 Yao Qi <yao@codesourcery.com>
17706
17707 * gdb.trace/tfile.exp: Test inferior and thread.
17708
17709 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17710
17711 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17712 on a function.
17713 * gdb.base/step-bt.c: Call hello via function pointer to make
17714 sure its first instruction is executed on powerpc64le-linux.
17715
17716 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17717
17718 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17719
17720 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17721
17722 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17723 of the test patterns for use on little-endian systems.
17724
17725 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17726
17727 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17728 (decimal_vector): Fix for little-endian.
17729
17730 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17731
17732 * gdb.arch/sparc-sysstep.exp: New file.
17733 * gdb.arch/sparc-sysstep.c: Likewise.
17734
17735 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17736
17737 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17738
17739 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17740
17741 2014-01-23 Tom Tromey <tromey@redhat.com>
17742
17743 * gdb.ada/array_char_idx: New testcase.
17744
17745 2014-01-23 Tom Tromey <tromey@redhat.com>
17746
17747 PR python/16487:
17748 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17749 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17750 classes.
17751
17752 2014-01-23 Tom Tromey <tromey@redhat.com>
17753
17754 PR python/16491:
17755 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17756 string from an inferior frame.
17757 * gdb.python/py-framefilter-mi.exp: Update.
17758
17759 2014-01-22 Doug Evans <dje@google.com>
17760
17761 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17762
17763 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17764
17765 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17766
17767 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17768
17769 * gdb.trace/entry-values.exp: Remove excess space character from
17770 regex patterns. Handle s390 call instruction.
17771
17772 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17773
17774 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17775 define "*_start" label. Make "name" static.
17776 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17777 ${name} by references to ${name}_start.
17778
17779 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17780
17781 * gdb.base/info-macros.exp: Remove "debug" from the compile
17782 options.
17783
17784 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17785
17786 * gdb.dlang/demangle.exp: New file.
17787
17788 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17789
17790 * gdb.dlang/primitive-types.exp: New file.
17791
17792 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17793
17794 * configure.ac: Create gdb.dlang/Makefile.
17795 * configure: Regenerate.
17796 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17797 * gdb.dlang/Makefile.in: New file.
17798 * lib/d-support.exp: New file.
17799 * lib/gdb.exp (skip_d_tests): New proc.
17800
17801 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17802
17803 * gdb.btrace/delta.exp: Check reverse stepi.
17804 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17805 * gdb.btrace/finish.exp: New.
17806 * gdb.btrace/next.exp: New.
17807 * gdb.btrace/nexti.exp: New.
17808 * gdb.btrace/record_goto.c: Add comments.
17809 * gdb.btrace/step.exp: New.
17810 * gdb.btrace/stepi.exp: New.
17811 * gdb.btrace/multi-thread-step.c: New.
17812 * gdb.btrace/multi-thread-step.exp: New.
17813 * gdb.btrace/rn-dl-bind.c: New.
17814 * gdb.btrace/rn-dl-bind.exp: New.
17815 * gdb.btrace/data.c: New.
17816 * gdb.btrace/data.exp: New.
17817 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17818
17819 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17820
17821 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17822 * gdb.btrace/exception.exp: Update.
17823 * gdb.btrace/instruction_history.exp: Update.
17824 * gdb.btrace/record_goto.exp: Update.
17825 * gdb.btrace/tailcall.exp: Update.
17826 * gdb.btrace/unknown_functions.exp: Update.
17827 * gdb.btrace/delta.exp: New.
17828
17829 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17830
17831 * gdb.btrace/record_goto.exp: Add backtrace test.
17832 * gdb.btrace/tailcall.exp: Add backtrace test.
17833
17834 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17835
17836 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17837 * gdb.btrace/record_goto.c: New.
17838 * gdb.btrace/record_goto.exp: New.
17839 * gdb.btrace/x86-record_goto.S: New.
17840
17841 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17842
17843 * gdb.btrace/function_call_history.exp: Update tests.
17844 * gdb.btrace/instruction_history.exp: Update tests.
17845
17846 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17847
17848 * gdb.btrace/function_call_history.exp: Fix expected field
17849 order for "record function-call-history".
17850 Add new tests for "record function-call-history /c".
17851 * gdb.btrace/exception.cc: New.
17852 * gdb.btrace/exception.exp: New.
17853 * gdb.btrace/tailcall.exp: New.
17854 * gdb.btrace/x86-tailcall.S: New.
17855 * gdb.btrace/x86-tailcall.c: New.
17856 * gdb.btrace/unknown_functions.c: New.
17857 * gdb.btrace/unknown_functions.exp: New.
17858 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17859
17860 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17861
17862 * gdb.btrace/instruction_history.exp: Update.
17863 * gdb.btrace/function_call_history.exp: Update.
17864
17865 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17866
17867 * gdb.btrace/function_call_history.exp: Fix expected function
17868 trace.
17869 * gdb.btrace/instruction_history.exp: Initialize traced.
17870 Remove traced_functions.
17871
17872 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17873
17874 * gdb.btrace/function_call_history.exp: Update
17875 * gdb.btrace/instruction_history.exp: Update.
17876
17877 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17878
17879 * gdb.btrace/enable.exp: Update expected text.
17880
17881 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17882
17883 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17884 bytes.
17885
17886 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17887
17888 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17889
17890 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
17891
17892 * lib/gdb.exp (supports_process_record): Return true for
17893 arm*-linux*. (supports_reverse): Likewise.
17894
17895 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17896
17897 PR python/15464
17898 PR python/16113
17899 * gdb.python/py-type.c: Enhance test case.
17900 * gdb.python/py-value-cc.cc: Likewise
17901 * gdb.python/py-type.exp: Add new tests.
17902 * gdb.python/py-value-cc.exp: Likewise
17903
17904 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17905 Pedro Alves <palves@redhat.com>
17906
17907 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17908 Make "name" extern.
17909 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17910 references to ${name}_start by references to ${name}.
17911
17912 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17913
17914 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17915
17916 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17917
17918 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17919
17920 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17921 Pedro Alves <palves@redhat.com>
17922
17923 * gdb.mi/mi-info-os.exp: Connect to the target with
17924 mi_gdb_target_load.
17925
17926 2014-01-08 Pedro Alves <palves@redhat.com>
17927
17928 * gdb.threads/reconnect-signal.c: New file.
17929 * gdb.threads/reconnect-signal.exp: New file.
17930
17931 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17932
17933 * gdb.base/source-dir.exp: New file.
17934
17935 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17936
17937 * gdb.ada/mi_interface: New testcase.
17938
17939 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17940
17941 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17942 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17943 gdb.ada/pp-rec-component/pck.ads: New files.
17944
17945 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17946
17947 * gdb.python/py-pp-integral.c: New file.
17948 * gdb.python/py-pp-integral.py: New file.
17949 * gdb.python/py-pp-integral.exp: New file.
17950
17951 For older changes see ChangeLog-1993-2013.
17952 \f
17953 ;; Local Variables:
17954 ;; mode: change-log
17955 ;; left-margin: 8
17956 ;; fill-column: 74
17957 ;; version-control: never
17958 ;; End:
17959
17960 Copyright 2014-2020 Free Software Foundation, Inc.
17961 Copying and distribution of this file, with or without modification,
17962 are permitted provided the copyright notice and this notice are preserved.
This page took 0.457523 seconds and 4 git commands to generate.