Handle CRLF when reading XML on Windows
[deliverable/binutils-gdb.git] / gdb / testsuite / ChangeLog
1 2019-12-11 Tom Tromey <tromey@adacore.com>
2
3 * gdb.xml/tdesc-arch.exp (set_arch): Add "trans_mode" parameter.
4 Add crlf test.
5
6 2019-12-18 Simon Marchi <simon.marchi@efficios.com>
7
8 * gdb.base/default.exp: Update value of $_gdb_major.
9
10 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
11
12 * gdb.base/skip.exp: Fix test failure observed with gcc-9.2.0.
13
14 2019-12-17 Bernd Edlinger <bernd.edlinger@hotmail.de>
15
16 * gdb.base/skip.exp: Whitespace fix.
17
18 2019-12-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
19
20 * gdb.base/skip-inline.c: New file.
21 * gdb.base/skip-inline.exp: New file.
22
23 2019-12-16 Simon Marchi <simon.marchi@polymtl.ca>
24
25 * gdb.base/jit-reader.exp (jit_reader_test): Rename
26 jit_function_00 to jit_function_stack_mangle.
27 * gdb.base/jithost.c (jit_function_t): Rename to...
28 (jit_function_stack_mangle_t): ... this.
29 (jit_function_add_t): New typedef.
30 (jit_function_00_code): Rename to...
31 (jit_function_stack_mangle_code): ... this, make static.
32 (jit_function_add_code): New.
33 (main): Generate "add" function and call it. Adjust to changes
34 in jithost_abi.
35 * gdb.base/jithost.h (struct jithost_abi_bounds): New.
36 (struct jithost_abi) <begin, end>: Remove fields.
37 <object, function_stack_mangle, function_add>: New fields.
38 * gdb.base/jitreader.c (struct reader_state) <code_begin,
39 code_end>: Remove fields.
40 <func_stack_mangle>: New field.
41 (read_debug_info): Adjust to renaming, create block for "add"
42 function.
43 (read_sp, unwind_frame, get_frame_id): Adjust to other changes.
44
45 2019-12-11 Tom Tromey <tom@tromey.com>
46
47 * gdb.tui/resize.exp: Fix regexp.
48 * gdb.tui/regs.exp: Fix regexps.
49 * gdb.tui/main.exp: Fix regexp.
50
51 2019-12-11 Tom Tromey <tom@tromey.com>
52
53 * gdb.tui/resize.exp: Update.
54 * gdb.tui/empty.exp (layouts): Update.
55
56 2019-12-11 Tom Tromey <tom@tromey.com>
57
58 * gdb.tui/regs.exp: Update.
59 * gdb.tui/empty.exp (layouts): Update.
60 * gdb.tui/basic.exp: Update.
61 * lib/tuiterm.exp (_check_box): Don't check bottom border.
62
63 2019-12-11 Philippe Waroquiers <philippe.waroquiers@skynet.be>
64
65 * gdb.base/options.exp: Add -raw-values in the print completion list.
66 * gdb.python/py-prettyprint.exp: Add tests for -raw-values.
67
68 2019-12-10 Kevin Buettner <kevinb@redhat.com>
69
70 * gdb.threads/omp-par-scope.c: New file.
71 * gdb/threads/omp-par-scope.exp: New file.
72
73 2019-12-10 Kevin Buettner <kevinb@redhat.com>
74
75 * lib/gdb.exp (support_nested_function_tests): New proc.
76
77 2019-12-10 Kevin Buettner <kevinb@redhat.com>
78
79 * lib/gdb.exp (gdb_compile_openmp): New proc.
80 (build_executable_from_specs): Add an "openmp" option.
81 (gdb_compile_pthreads): Add non-executable case.
82
83 2019-12-10 Tom Tromey <tromey@adacore.com>
84
85 * gdb.ada/unchecked_union.exp: New file.
86 * gdb.ada/unchecked_union/pck.adb: New file.
87 * gdb.ada/unchecked_union/pck.ads: New file.
88 * gdb.ada/unchecked_union/unchecked_union.adb: New file.
89 * gdb-utils.exp (string_to_regexp): Also quote "?".
90
91 2019-12-10 George Barrett <bob@bob131.so>
92
93 Test scripted probe breakpoints.
94 * gdb.guile/scm-breakpoint.c (main): Add probe point.
95 * gdb.python/py-breakpoint.c (main): Likewise.
96 * gdb.guile/scm-breakpoint.exp (test_bkpt_probe): Add probe
97 specifier test.
98 * gdb.python/py-breakpoint.exp (test_bkpt_probe): Likewise.
99
100 2019-12-09 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
101
102 * gdb.cp/rvalue-ref-overload.cc (g): New function that takes
103 an rvalue parameter.
104 * gdb.cp/rvalue-ref-overload.exp: Test calling it with an lvalue
105 parameter.
106
107 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
108
109 * gdb.mi/mi-fortran-modules.exp: Add patterns to skip system
110 modules.
111
112 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
113
114 * gdb.fortran/derived-type-striding.exp: KFAIL if we are using a
115 broken version of GCC.
116
117 2019-12-09 Andrew Burgess <andrew.burgess@embecosm.com>
118
119 * gdb.fortran/info-modules.exp: Rewrite to make use of new
120 sym-info-cmds library.
121 * gdb.fortran/info-types.exp: Likewise.
122 * lib/sym-info-cmds.exp: New file.
123
124 2019-12-08 Tom de Vries <tdevries@suse.de>
125
126 * gdb.dwarf2/imported-unit.exp: Fix inter-CU references.
127
128 2019-12-07 Keith Seitz <keiths@redhat.com>
129
130 * gdb.base/corefile-buildid-shlib-shr.c: New file.
131 * gdb.base/corefile-buildid-shlib.c: New file.
132 * gdb.base/corefile-buildid.c: New file.
133 * gdb.base/corefile-buildid.exp: New file.
134
135 2019-12-06 Tom de Vries <tdevries@suse.de>
136
137 * gdb.dwarf2/varval.exp: Add decl before def test.
138
139 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
140
141 * gdb.cp/rvalue-ref-overload.exp: Minor cleanup.
142
143 2019-12-06 Tankut Baris Aktemur <tankut.baris.aktemur@intel.com>
144
145 * gdb.cp/rvalue-ref-overload.cc: Add a case that involves both
146 CV and reference conversion for overload resolution.
147 * gdb.cp/rvalue-ref-overload.exp: Test it.
148
149 2019-12-06 Philippe Waroquiers <philippe.waroquiers@skynet.be>
150
151 * gdb.threads/pthreads.exp: Test taas and tfaas without command.
152 * gdb.base/frameapply.exp: Test faas without command.
153
154 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
155
156 * lib/gdb.exp (gdb_compile): Add -J compiler option when building
157 Fortran tests.
158 * gdb.mi/mi-fortran-modules.exp: Compile source files in correct
159 order.
160
161 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
162
163 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Handle
164 casting to type with no kind specified.
165 (test_basic_parsing_of_type_kinds): Additional tests for types
166 with no kind specified, and add tests for single/double
167 precision/complex types.
168
169 2019-12-04 Tom Tromey <tromey@adacore.com>
170
171 * gdb.base/endianity.c (struct other) <x>: New field.
172 (main): Initialize it.
173 * gdb.base/endianity.exp: Update.
174
175 2019-12-04 Tom Tromey <tromey@adacore.com>
176
177 * gdb.ada/scalar_storage/storage.adb: New file.
178 * gdb.ada/scalar_storage/pck.adb: New file.
179 * gdb.ada/scalar_storage/pck.ads: New file.
180 * gdb.ada/scalar_storage.exp: New file.
181
182 2019-12-04 Tom Tromey <tromey@adacore.com>
183
184 * gdb.base/endianity.c (struct otherendian) <f>: New field.
185 (main): Initialize it.
186 * gdb.base/endianity.exp: Update.
187
188 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
189
190 * gdb.mi/mi-sym-info.exp: Add tests for -max-results parameter.
191
192 2019-12-04 Andrew Burgess <andrew.burgess@embecosm.com>
193
194 * gdb.mi/mi-fortran-modules.exp: Add additional tests for
195 -symbol-info-module-functions and -symbol-info-module-variables.
196
197 2019-12-01 Andrew Burgess <andrew.burgess@embecosm.com>
198
199 * gdb.fortran/array-slices.exp: Add test for dynamic strings.
200
201 2019-12-01 Richard Bunt <richard.bunt@arm.com>
202 Andrew Burgess <andrew.burgess@embecosm.com>
203
204 * gdb.fortran/derived-type-striding.exp: New file.
205 * gdb.fortran/derived-type-striding.f90: New file.
206 * gdb.fortran/array-slices.exp: New file.
207 * gdb.fortran/array-slices.f90: New file.
208
209 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
210
211 * gdb.base/define.exp: Test . in command names.
212 * gdb.base/setshow.exp: Update test, as . is now part of
213 command name.
214
215 2019-11-30 Philippe Waroquiers <philippe.waroquiers@skynet.be>
216
217 * gdb.base/define-prefix.exp: New file.
218
219 2019-11-28 Andrew Burgess <andrew.burgess@embecosm.com>
220
221 * lib/gdb.exp (skip_btrace_tests): Return 1 if the test fails to
222 compile.
223 (skip_btrace_pt_tests): Likewise.
224
225 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
226
227 * gdb.fortran/info-modules.exp: Compile source files in correct
228 order.
229
230 2019-11-27 Kevin Buettner <kevinb@redhat.com>
231
232 * gdb.dwarf2/imported-unit.exp: New file.
233 * gdb.dwarf2/imported-unit.c: New file.
234
235 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
236
237 * gdb.mi/mi-fortran-modules-2.f90: New file.
238 * gdb.mi/mi-fortran-modules.exp: New file.
239 * gdb.mi/mi-fortran-modules.f90: New file.
240
241 2019-11-27 Andrew Burgess <andrew.burgess@embecosm.com>
242
243 * gdb.mi/mi-sym-info-1.c: New file.
244 * gdb.mi/mi-sym-info-2.c: New file.
245 * gdb.mi/mi-sym-info.exp: New file.
246
247 2019-11-22 Tom Tromey <tromey@adacore.com>
248
249 * gdb.ada/tasks.exp: Add -ada-task-info regression test.
250 * gdb.ada/tasks/foo.adb: Add another stopping location.
251
252 2019-11-21 Peeter Joot <peeter.joot@lzlabs.com>
253
254 * gdb.base/endianity.c: New test.
255 * gdb.base/endianity.exp: New file.
256
257 2019-11-21 Lukas Durfina <ldurfina@tachyum.com>
258
259 * gdb.arch/amd64-eval.exp: Skip test if target is not x86-64.
260
261 2019-11-21 Tom de Vries <tdevries@suse.de>
262
263 PR gdb/24956
264 * gdb.base/ui-redirect.exp: Test output of user-defined command.
265
266 2019-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
267
268 * gdb.python/py-progspace.exp: Add missing parentheses on some
269 'print' commands.
270
271 2019-11-19 Tom Tromey <tom@tromey.com>
272
273 * gdb.tui/winheight.exp: New file.
274
275 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
276
277 * gdb.base/ctf-whatis.c: Delete.
278 * gdb.base/ctf-whatis.exp: Delete.
279 * gdb.base/whatis.exp: Rewrite to compile as both dwarf and ctf.
280
281 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
282
283 * gdb.base/ctf-cvexpr.exp: Delete.
284 * gdb.base/cvexpr.exp: Rewrite to compile as both dwarf and ctf.
285
286 2019-11-19 Andrew Burgess <andrew.burgess@embecosm.com>
287
288 * gdb.base/ctf-constvars.exp: Skip test if CTF is not supported in
289 the compiler. Clean up header comment a little.
290 * gdb.base/ctf-ptype.exp: Likewise.
291 * gdb.base/ctf-whatis.exp: Likewise.
292 * lib/gdb.exp (skip_ctf_tests): New proc.
293
294 2019-11-18 Sergio Durigan Junior <sergiodj@redhat.com>
295
296 https://bugzilla.redhat.com/show_bug.cgi?id=1765117
297 * gdb.tui/corefile-run.exp: New file.
298
299 2019-11-14 Tom Tromey <tromey@adacore.com>
300
301 * gdb.base/gdbvars.exp (test_convenience_variables): Add
302 regression tests.
303
304 2019-11-12 Tom Tromey <tom@tromey.com>
305
306 * lib/tuiterm.exp (_accept): Add wait_for parameter. Check output
307 after any command. Expect prompt after WAIT_FOR is seen.
308 (enter_tui): Enable resize messages.
309 (command): Expect command in output.
310 (get_line): Avoid error when cursor appears to be off-screen.
311 (dump_screen): Include screen size in title.
312 (_do_resize): New proc, from "resize".
313 (resize): Rewrite. Do resize in two steps.
314 * gdb.tui/empty.exp (layouts): Fix entries.
315 (check_boxes): Remove xfail.
316 (check_text): Dump screen on failure.
317
318 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
319
320 * gdb.python/py-symbol.exp: Add test for
321 gdb.lookup_static_symbols.
322
323 2019-11-10 Andrew Burgess <andrew.burgess@embecosm.com>
324
325 * gdb.python/py-symbol.c: Declare and call function from new
326 py-symbol-2.c file.
327 * gdb.python/py-symbol.exp: Compile both source files, and add new
328 tests for gdb.lookup_static_symbol.
329 * gdb.python/py-symbol-2.c: New file.
330
331 2019-11-02 Tom de Vries <tdevries@suse.de>
332
333 * gdb.base/advance.exp: Drop superfluous 3rd argument to gdb_test.
334 * gdb.base/anon.exp: Same.
335 * gdb.base/auto-connect-native-target.exp: Same.
336 * gdb.base/call-ar-st.exp: Same.
337 * gdb.base/catch-syscall.exp: Same.
338 * gdb.base/commands.exp: Same.
339 * gdb.base/default.exp: Same.
340 * gdb.base/display.exp: Same.
341 * gdb.base/float.exp: Same.
342 * gdb.base/foll-fork.exp: Same.
343 * gdb.base/help.exp: Same.
344 * gdb.base/info-macros.exp: Same.
345 * gdb.base/info-proc.exp: Same.
346 * gdb.base/info-target.exp: Same.
347 * gdb.base/long_long.exp: Same.
348 * gdb.base/macscp.exp: Same.
349 * gdb.base/memattr.exp: Same.
350 * gdb.base/nofield.exp: Same.
351 * gdb.base/pointers.exp: Same.
352 * gdb.base/printcmds.exp: Same.
353 * gdb.base/ptype.exp: Same.
354 * gdb.base/restore.exp: Same.
355 * gdb.base/return.exp: Same.
356 * gdb.base/scope.exp: Same.
357 * gdb.base/set-noassign.exp: Same.
358 * gdb.base/setshow.exp: Same.
359 * gdb.base/shlib-call.exp: Same.
360 * gdb.base/signals.exp: Same.
361 * gdb.base/sigstep.exp: Same.
362 * gdb.base/skip.exp: Same.
363 * gdb.base/solib-symbol.exp: Same.
364 * gdb.base/stap-probe.exp: Same.
365 * gdb.base/step-line.exp: Same.
366 * gdb.base/step-test.exp: Same.
367 * gdb.base/style.exp: Same.
368 * gdb.base/varargs.exp: Same.
369 * gdb.base/vla-datatypes.exp: Same.
370 * gdb.base/vla-ptr.exp: Same.
371 * gdb.base/vla-sideeffect.exp: Same.
372 * gdb.base/volatile.exp: Same.
373 * gdb.base/watch-cond-infcall.exp: Same.
374 * gdb.base/watchpoint.exp: Same.
375
376 2019-11-02 Tom de Vries <tdevries@suse.de>
377
378 * gdb.cp/anon-union.exp: Drop superfluous 3rd argument to gdb_test.
379 * gdb.cp/cpexprs.exp: Same.
380 * gdb.cp/except-multi-location.exp: Same.
381 * gdb.cp/exceptprint.exp: Same.
382 * gdb.cp/gdb2384.exp: Same.
383 * gdb.cp/inherit.exp: Same.
384 * gdb.cp/m-static.exp: Same.
385 * gdb.cp/meth-typedefs.exp: Same.
386 * gdb.cp/misc.exp: Same.
387 * gdb.cp/namespace.exp: Same.
388 * gdb.cp/non-trivial-retval.exp: Same.
389 * gdb.cp/overload.exp: Same.
390 * gdb.cp/pr17132.exp: Same.
391 * gdb.cp/re-set-overloaded.exp: Same.
392 * gdb.cp/rvalue-ref-types.exp: Same.
393 * gdb.cp/templates.exp: Same.
394
395 2019-11-01 Luis Machado <luis.machado@linaro.org>
396
397 PR gdb/25124
398
399 * gdb.arch/pr25124.S: New file.
400 * gdb.arch/pr25124.exp: New file.
401
402 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
403
404 * gdb.fortran/info-modules.exp: Update expected results, and add
405 additional tests for 'info module functinos', and 'info module
406 variables'.
407 * gdb.fortran/info-types.exp: Update expected results.
408 * gdb.fortran/info-types.f90: Extend testcase with additional
409 module variables and functions.
410
411 2019-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
412
413 * gdb.fortran/info-modules.exp: New file.
414 * gdb.fortran/info-types.exp: Build with new file.
415 * gdb.fortran/info-types.f90: Include and use new module.
416 * gdb.fortran/info-types-2.f90: New file.
417
418 2019-10-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
419
420 * gdb.base/setshow.exp: Test $_gdb_setting and $_gdb_setting_str.
421 * gdb.base/settings.exp: Test all settings types using
422 $_gdb_maint_setting and $_gdb_maint_setting_str in proc_show_setting,
423 that now verifies that the value of "maint show" is the same as
424 returned by the settings functions. Test the type of the
425 maintenance settings.
426 * gdb.base/default.exp: Update show_conv_list.
427
428 2019-10-31 Tom de Vries <tdevries@suse.de>
429
430 * gdb.arch/amd64-disp-step-avx.exp: Drop superfluous 3rd argument to
431 gdb_test.
432 * gdb.arch/amd64-disp-step.exp: Same.
433 * gdb.asm/asm-source.exp: Same.
434 * gdb.btrace/buffer-size.exp: Same.
435 * gdb.btrace/cpu.exp: Same.
436 * gdb.btrace/enable.exp: Same.
437 * gdb.dwarf2/count.exp: Same.
438 * gdb.dwarf2/dw2-ranges-func.exp: Same.
439 * gdb.dwarf2/dw2-ranges-psym.exp: Same.
440 * gdb.fortran/vla-datatypes.exp: Same.
441 * gdb.fortran/vla-history.exp: Same.
442 * gdb.fortran/vla-ptype.exp: Same.
443 * gdb.fortran/vla-value.exp: Same.
444 * gdb.fortran/whatis_type.exp: Same.
445 * gdb.guile/guile.exp: Same.
446 * gdb.multi/tids.exp: Same.
447 * gdb.python/py-finish-breakpoint.exp: Same.
448 * gdb.python/py-framefilter.exp: Same.
449 * gdb.python/py-pp-registration.exp: Same.
450 * gdb.python/py-xmethods.exp: Same.
451 * gdb.python/python.exp: Same.
452 * gdb.server/connect-with-no-symbol-file.exp: Same.
453 * gdb.server/no-thread-db.exp: Same.
454 * gdb.server/run-without-local-binary.exp: Same.
455 * gdb.stabs/weird.exp: Same.
456 * gdb.threads/attach-many-short-lived-threads.exp: Same.
457 * gdb.threads/thread-find.exp: Same.
458 * gdb.threads/tls-shared.exp: Same.
459 * gdb.threads/tls.exp: Same.
460 * gdb.threads/wp-replication.exp: Same.
461 * gdb.trace/ax.exp: Same.
462 * lib/gdb.exp (gdb_test_exact, help_test_raw): Same.
463
464 2019-10-31 Tom de Vries <tdevries@suse.de>
465
466 * gdb.ada/array_bounds.exp: Drop superfluous 3rd argument to gdb_test.
467 * gdb.ada/array_subscript_addr.exp: Same.
468 * gdb.ada/arrayidx.exp: Same.
469 * gdb.ada/arrayparam.exp: Same.
470 * gdb.ada/arrayptr.exp: Same.
471 * gdb.ada/boolean_expr.exp: Same.
472 * gdb.ada/call_pn.exp: Same.
473 * gdb.ada/complete.exp: Same.
474 * gdb.ada/fixed_cmp.exp: Same.
475 * gdb.ada/fun_addr.exp: Same.
476 * gdb.ada/funcall_param.exp: Same.
477 * gdb.ada/interface.exp: Same.
478 * gdb.ada/mod_from_name.exp: Same.
479 * gdb.ada/null_array.exp: Same.
480 * gdb.ada/packed_array.exp: Same.
481 * gdb.ada/packed_tagged.exp: Same.
482 * gdb.ada/print_chars.exp: Same.
483 * gdb.ada/print_pc.exp: Same.
484 * gdb.ada/ptype_arith_binop.exp: Same.
485 * gdb.ada/ptype_field.exp: Same.
486 * gdb.ada/ptype_tagged_param.exp: Same.
487 * gdb.ada/rec_return.exp: Same.
488 * gdb.ada/ref_tick_size.exp: Same.
489 * gdb.ada/str_ref_cmp.exp: Same.
490 * gdb.ada/taft_type.exp: Same.
491 * gdb.ada/tagged.exp: Same.
492 * gdb.ada/type_coercion.exp: Same.
493 * gdb.ada/uninitialized_vars.exp: Same.
494
495 2019-10-30 Tom de Vries <tdevries@suse.de>
496
497 * lib/gdb.exp (gdb_test_multiple): Handle -early pattern flag.
498
499 2019-10-26 Tom de Vries <tdevries@suse.de>
500
501 * gdb.base/bigcore.c: Fix typos in comments.
502 * gdb.base/ctf-ptype.c: Same.
503 * gdb.base/long_long.c: Same.
504 * gdb.dwarf2/dw2-op-out-param.S: Same.
505 * gdb.python/py-evthreads.c: Same.
506 * gdb.reverse/i387-stack-reverse.c: Same.
507 * gdb.trace/tfile.c: Same.
508 * lib/compiler.c: Same.
509 * lib/compiler.cc: Same.
510
511 2019-10-25 Tom de Vries <tdevries@suse.de>
512
513 * gdb.reverse/sigall-precsave.exp: Use -wrap and $gdb_test_name in
514 gdb_test_multiple calls.
515 * gdb.reverse/sigall-reverse.exp: Same.
516 * gdb.reverse/solib-precsave.exp: Same.
517 * gdb.reverse/solib-reverse.exp: Same.
518 * gdb.reverse/until-precsave.exp: Same.
519 * gdb.reverse/until-reverse.exp: Same.
520
521 2019-10-24 Tom de Vries <tdevries@suse.de>
522
523 * lib/gdb.exp (gdb_test_multiple): Add -wrap pattern flag.
524 * gdb.reverse/step-precsave.exp: Rewrite gdb_test_multiple containing
525 kfail using -wrap pattern flag and convenience variable
526 gdb_test_name.
527
528 2019-10-24 Andrew Burgess <andrew.burgess@embecosm.com>
529
530 * gdb.python/py-progspace.exp: Add tests for the
531 Progspace.block_for_pc method.
532
533 2019-10-23 Tom Tromey <tom@tromey.com>
534
535 * configure: Rebuild.
536 * aclocal.m4: Use m4_include, not sinclude.
537
538 2019-10-21 Tom de Vries <tdevries@suse.de>
539
540 * gdb.base/infcall-nested-structs.c: Add
541 __attribute__((noinline,noclone)) to all functions.
542 (call_all): Add missing variable initialization. Simplify return value.
543 (breakpt): Increment volatile variable, to prevent call from being
544 optimized out.
545 * gdb.base/infcall-nested-structs.exp: Compile with -O2.
546
547 2019-10-17 Tom de Vries <tdevries@suse.de>
548
549 * gdb.fortran/module.exp: Allow info variables to print info for files
550 other than module.f90.
551
552 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
553
554 * gdb.fortran/module.exp: Extend with 'info variables' test.
555
556 2019-10-16 Andrew Burgess <andrew.burgess@embecosm.com>
557
558 * boards/cc-with-tweaks.exp: Setup F90_FOR_TARGET and
559 F77_FOR_TARGET.
560
561 2019-10-16 Tom de Vries <tdevries@suse.de>
562
563 PR tdep/25096
564 * gdb.base/infcall-nested-structs.exp: Remove PR25096 KFAILs.
565
566 2019-10-16 Tom de Vries <tdevries@suse.de>
567
568 PR tdep/24104
569 * gdb.base/infcall-nested-structs.exp: Remove XFAIL for PR tdep/24104.
570 Add KFAIL for PR tdep/25096.
571
572 2019-10-16 Tom de Vries <tdevries@suse.de>
573
574 PR testsuite/25059
575 * gdb.cp/local-static.exp (do_test): Add xfails for gcc PR debug/55541.
576
577 2019-10-16 Tom de Vries <tdevries@suse.de>
578
579 * gdb.base/jit-reader.exp: Allow non-pointer registers to be printed
580 as signed.
581
582 2019-10-14 Simon Marchi <simon.marchi@polymtl.ca>
583
584 * gdb.mi/list-thread-groups-available.exp: Read entries one by
585 one instead of increasing timeout.
586
587 2019-10-13 Tom de Vries <tdevries@suse.de>
588
589 PR record/25038
590 * gdb.reverse/sigall-precsave.exp: Add PR record/25038 KFAIL.
591 * gdb.reverse/sigall-reverse.exp: Same.
592 * gdb.reverse/solib-precsave.exp: Same.
593 * gdb.reverse/solib-reverse.exp: Same.
594 * gdb.reverse/step-precsave.exp: Same.
595 * gdb.reverse/until-precsave.exp: Same.
596 * gdb.reverse/until-reverse.exp: Same.
597 * lib/gdb.exp (gdb_continue_to_breakpoint): Same.
598
599 2019-10-10 Andreas Arnez <arnez@linux.ibm.com>
600
601 * gdb.base/infcall-nested-structs.c (cmp_struct_02_01)
602 (cmp_struct_02_02, cmp_struct_04_01, cmp_struct_04_02)
603 (cmp_struct_05_01, cmp_struct_static_02_01)
604 (cmp_struct_static_04_01, cmp_struct_static_06_01): Fix redundant
605 comparisons.
606
607 2019-10-10 Tom de Vries <tdevries@suse.de>
608
609 PR testsuite/24888
610 * lib/ada.exp (target_compile_ada_from_dir): Route -pie/-no-pie to
611 gnatlink.
612
613 2019-10-09 Tom de Vries <tdevries@suse.de>
614
615 PR testsuite/25048
616 * gdb.rust/simple.exp: Add xfails for incorrect DWARF.
617
618 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
619
620 * gdb.ada/catch_ex_std.exp: Handle being unabled to catch Ada
621 exceptions due to missing debug information.
622
623 2019-10-07 Tom de Vries <tdevries@suse.de>
624
625 * gdb.base/default.exp: Expect _gdb_major/_gdb_minor to be 9.1.
626
627 2019-10-07 Andrew Burgess <andrew.burgess@embecosm.com>
628
629 * lib/gdb.exp (gdb_test_multiple): Add gdb_test_name mechanism.
630 * gdb.base/annota1.exp: Update to use gdb_test_name.
631
632 2019-10-07 Weimin Pan <weimin.pan@oracle.com>
633
634 * gdb.base/ctf-whatis.exp: New file.
635 * gdb.base/ctf-whatis.c: New file.
636 * gdb.base/ctf-ptype.exp: New file.
637 * gdb.base/ctf-ptype.c: New file.
638 * gdb.base/ctf-constvars.exp: New file.
639 * gdb.base/ctf-constvars.c: New file.
640 * gdb.base/ctf-cvexpr.exp: New file.
641
642 2019-10-04 Tom de Vries <tdevries@suse.de>
643
644 * gdb.cp/local-static.c (main): Move declaration of int i out of the
645 for loop.
646
647 2019-10-03 Tom Tromey <tom@tromey.com>
648
649 PR rust/24976:
650 * gdb.rust/simple.rs (Union2): New type.
651 (main): Use Union2.
652 * gdb.rust/simple.exp: Add test.
653
654 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
655
656 * gdb.fortran/nested-funcs-2.exp: Run tests with and without the
657 nested function prefix.
658
659 2019-10-03 Bernhard Heckel <bernhard.heckel@intel.com>
660 Richard Bunt <richard.bunt@arm.com>
661 Andrew Burgess <andrew.burgess@embecosm.com>
662
663 * gdb.fortran/nested-funcs.exp: Tests for placing breakpoints on
664 nested functions.
665 * gdb.fortran/nested-funcs.f90: Update expected results.
666 * gdb.fortran/nested-funcs-2.exp: New file.
667 * gdb.fortran/nested-funcs-2.f90: New file.
668
669 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
670
671 * gdb.python/py-parameter.exp: Make test names unique.
672 * gdb.python/py-template.exp: Likewise.
673 * gdb.python/py-value.exp: Likewise.
674
675 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
676
677 * gdb.base/break-interp.exp: Reduce test name duplication.
678 * gdb.base/call-sc.exp: Likewise.
679 * gdb.base/callfuncs.exp: Likewise.
680 * gdb.base/charset.exp: Likewise.
681 * gdb.base/dump.exp: Likewise.
682 * gdb.base/ena-dis-br.exp: Likewise.
683 * gdb.base/relational.exp: Likewise.
684 * gdb.base/step-over-syscall.exp: Likewise.
685 * gdb.base/structs.exp: Likewise.
686
687 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
688
689 * gdb.linespec/explicit.exp: Make test names unique.
690 * gdb.linespec/ls-errs.exp: Likewise.
691
692 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
693
694 * gdb.reverse/break-precsave.exp: Make test names unique.
695 * gdb.reverse/break-reverse.exp: Likewise.
696 * gdb.reverse/finish-precsave.exp: Likewise.
697 * gdb.reverse/finish-reverse.exp: Likewise.
698 * gdb.reverse/machinestate-precsave.exp: Likewise.
699 * gdb.reverse/machinestate.exp: Likewise.
700 * gdb.reverse/readv-reverse.exp: Likewise.
701 * gdb.reverse/recvmsg-reverse.exp: Likewise.
702 * gdb.reverse/sigall-precsave.exp: Likewise.
703 * gdb.reverse/sigall-reverse.exp: Likewise.
704 * gdb.reverse/step-indirect-call-thunk.exp: Likewise.
705 * gdb.reverse/watch-precsave.exp: Likewise.
706 * gdb.reverse/watch-reverse.exp: Likewise.
707
708 2019-10-03 Andrew Burgess <andrew.burgess@embecosm.com>
709
710 * gdb.threads/stop-with-handle.c: New file.
711 * gdb.threads/stop-with-handle.exp: New file.
712
713 2019-10-03 Tom de Vries <tdevries@suse.de>
714
715 PR testsuite/25059
716 * gdb.base/list-missing-source.exp: Allowing the "Compilation
717 directory" line to be missing.
718
719 2019-10-03 Tom de Vries <tdevries@suse.de>
720
721 PR testsuite/25059
722 * gdb.base/info-types.exp: Make the presence of the 'unsigned int'
723 type optional.
724
725 2019-10-02 Andreas Arnez <arnez@linux.ibm.com>
726
727 * gdb.python/py-format-string.c (string.h): New include.
728 (main): Fill a_struct_with_union.the_union.an_int with bytes of
729 the same value, for endianness-independence.
730 * gdb.python/py-format-string.exp (default_regexp_dict)
731 (test_pretty_structs, test_format): Adjust expected output to the
732 changed initialization.
733
734 2019-10-02 Tom Tromey <tromey@adacore.com>
735
736 * gdb.ada/catch_ex_std.exp: Add $_ada_exception test.
737
738 2019-10-02 Pedro Alves <palves@redhat.com>
739 Andrew Burgess <andrew.burgess@embecosm.com>
740
741 * gdb.base/print-file-var-lib1.c: Include <stdio.h> and
742 "print-file-var.h".
743 (this_version_id) Use ATTRIBUTE_VISIBILITY.
744 (get_version_1): Print this_version_id and its address.
745 Add extern "C" wrappers around interface functions.
746 * gdb.base/print-file-var-lib2.c: Include <stdio.h> and
747 "print-file-var.h".
748 (this_version_id) Use ATTRIBUTE_VISIBILITY.
749 (get_version_2): Print this_version_id and its address.
750 Add extern "C" wrappers around interface functions.
751 * gdb.base/print-file-var-main.c: Include <dlfcn.h>, <assert.h>,
752 <stddef.h> and "print-file-var.h".
753 Add extern "C" wrappers around interface functions.
754 [VERSION_ID_MAIN] (this_version_id): Define.
755 (main): Define v0. Use dlopen if SHLIB_NAME is defined.
756 * gdb.base/print-file-var.h: Add some #defines to simplify setting
757 up extern "C" blocks.
758 * gdb.base/print-file-var.exp (test): New, factored out from top
759 level.
760 (top level): Test all combinations of attribute hidden or not,
761 dlopen or not, and this_version_id symbol in main file or not.
762 Compile tests as both C++ and C, make test names unique.
763
764 2019-10-01 Tom Tromey <tom@tromey.com>
765
766 * gdb.base/style.exp: Test "show logging filename".
767
768 2019-10-01 Tom Tromey <tom@tromey.com>
769
770 * lib/gdb-utils.exp (style): Handle "metadata" argument.
771 * gdb.base/style.exp: Add metadata style test.
772
773 2019-10-01 Tom Tromey <tom@tromey.com>
774
775 * gdb.base/style.exp: Test "pwd".
776
777 2019-10-01 Tom Tromey <tom@tromey.com>
778
779 * gdb.base/style.exp: Update tests.
780
781 2019-10-01 Andreas Arnez <arnez@linux.ibm.com>
782
783 * gdb.base/pretty-print.c (struct s1_t): Change fields 'three' and
784 'six' to unsigned.
785 (s1): Initialize fields 'four' and 'six' instead of 'three' and
786 'five'. Use an all-ones bit pattern for each.
787 * gdb.base/pretty-print.exp: Adjust expected output of "print s1"
788 to its changed values.
789
790 2019-09-30 Tom Tromey <tromey@adacore.com>
791
792 * gdb.rust/traits.rs: Disable all warnings.
793
794 2019-09-29 Tom de Vries <tdevries@suse.de>
795
796 * gdb.dwarf2/gdb-index.exp: Handle new location of .dwz file.
797
798 2019-09-29 Tom de Vries <tdevries@suse.de>
799
800 * gdb.dwarf2/gdb-index.exp: Use with_test_prefix for second objcopy.
801
802 2019-09-27 Tom de Vries <tdevries@suse.de>
803
804 * gdb.reverse/step-precsave.exp: Add missing $gdb_prompt in regexps.
805
806 2019-09-27 Tom de Vries <tdevries@suse.de>
807
808 PR record/23188
809 * gdb.reverse/step-precsave.exp: Add kfail for PR record/23188.
810
811 2019-09-26 Tom Tromey <tromey@adacore.com>
812
813 * gdb.ada/py_taft.exp: New file.
814 * gdb.ada/py_taft/main.adb: New file.
815 * gdb.ada/py_taft/pkg.adb: New file.
816 * gdb.ada/py_taft/pkg.ads: New file.
817
818 2019-09-24 Tom de Vries <tdevries@suse.de>
819
820 PR gdb/24598
821 * gdb.arch/amd64-init-x87-values.exp: Add xfail.
822
823 2019-09-22 Tom de Vries <tdevries@suse.de>
824
825 * gdb.base/restore.exp: Allow register variables to be optimized out at
826 -O0.
827
828 2019-09-20 Ulrich Weigand <uweigand@de.ibm.com>
829
830 * gdb.arch/spu-info.exp: Remove file.
831 * gdb.arch/spu-info.c: Remove file.
832 * gdb.arch/spu-ls.exp: Remove file.
833 * gdb.arch/spu-ls.c: Remove file.
834
835 * gdb.asm/asm-source.exp: Remove support for spu*-*-*.
836 * gdb.asm/spu.inc: Remove file.
837
838 * gdb.base/dump.exp: Remove support for spu*-*-*.
839 * gdb.base/stack-checking.exp: Likewise.
840 * gdb.base/overlays.exp: Likewise.
841 * gdb.base/ovlymgr.c: Likewise.
842 * gdb.base/spu.ld: Remove file.
843
844 * gdb.cp/bs15503.exp: Remove support for spu*-*-*.
845 * gdb.cp/cpexprs.exp: Likewise.
846 * gdb.cp/exception.exp: Likewise.
847 * gdb.cp/gdb2495.exp: Likewise.
848 * gdb.cp/mb-templates.exp: Likewise.
849 * gdb.cp/pr9167.exp: Likewise.
850 * gdb.cp/userdef.exp: Likewise.
851
852 * gdb.xml/tdesc-regs.exp: Remove support for spu*-*-*.
853
854 * gdb.cell: Remove directory.
855 * lib/cell.exp: Remove file.
856
857 2019-09-19 Tom de Vries <tdevries@suse.de>
858
859 * lib/gdb.exp (gdb_test): Eliminate "^FOOBAR$" pattern.
860
861 2019-09-19 Tom de Vries <tdevries@suse.de>
862
863 * lib/gdbserver-support.exp (gdb_target_cmd): Fix argument passing.
864
865 2019-09-19 Tom de Vries <tdevries@suse.de>
866
867 * lib/gdbserver-support.exp (gdb_target_cmd_ext): Return 2 (meaning
868 UNSUPPORTED) for 'Network is unreachable' message. Factor out of ...
869 (gdb_target_cmd): ... here.
870 * gdb.server/server-connect.exp: Use gdb_target_cmd_ext, handle return
871 value 2.
872
873 2019-09-18 Andrew Burgess <andrew.burgess@embecosm.com>
874
875 * gdb.base/source-dir.exp: Avoid having directory names in test
876 names.
877
878 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
879
880 * gdb.base/source-dir.exp: Add extra test for mapped compilation
881 directory.
882
883 2019-09-17 Andrew Burgess <andrew.burgess@embecosm.com>
884
885 * gdb.base/list-missing-source.exp: New file.
886
887 2019-09-14 Tom de Vries <tdevries@suse.de>
888
889 PR teststuite/24599
890 * gdb.ada/rename_subscript_param.exp: Require gnatmake 8.
891 * lib/ada.exp (gnatmake_version_at_least): New proc.
892
893 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
894
895 * gdb.base/maint.exp: Use exec_has_index_section.
896
897 2019-09-12 Andrew Burgess <andrew.burgess@embecosm.com>
898
899 * gdb.base/maint.exp: Add test for 'maint info sections'.
900
901 2019-09-12 Tom de Vries <tdevries@suse.de>
902
903 * gdb.base/store.exp: Allow register variables to be optimized out at
904 -O0.
905
906 2019-09-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
907
908 * gdb.ada/rdv_wait.exp: Update to new task names.
909 * gdb.base/task_switch_in_core.exp: Likewise.
910 * gdb.base/info_sources_base.c: Likewise.
911
912 2019-09-10 Tom Tromey <tromey@adacore.com>
913
914 * boards/cc-with-tweaks.exp: Set GNATMAKE_FOR_TARGET.
915
916 2019-09-10 Tom Tromey <tromey@adacore.com>
917
918 * gdb.ada/dgopt.exp: New file.
919 * gdb.ada/dgopt/x.adb: New file.
920
921 2019-09-08 Tom Tromey <tom@tromey.com>
922
923 * gdb.tui/resize.exp: Remove setup_xfail.
924 * gdb.tui/regs.exp: Remove setup_xfail.
925 * gdb.tui/basic.exp: Remove setup_xfail.
926
927 2019-09-06 David Blaikie <dblaikie@gmail.com>
928
929 * gdb.base/label.exp: un-XFAIL label related tests under Clang.
930 * gdb.cp/cplabel.exp: Ditto.
931 * gdb.linespec/ls-errs.exp: Ditto.
932
933 2019-09-05 Tom de Vries <tdevries@suse.de>
934
935 * lib/gdb.exp (cmp_file_string): New proc.
936 * gdb.base/ui-redirect.exp: Replace "gdb_breakpoint main" with
937 runto_main. Verify save breakpoints output.
938
939 2019-09-04 Philippe Waroquiers <philippe.waroquiers@skynet.be>
940
941 * gdb.base/info-var.exp: Test info variables without running
942 to main, to avoid expect's buffer overflow.
943
944 2019-09-03 Tom Tromey <tromey@adacore.com>
945
946 * gdb.ada/bias.exp: New file.
947 * gdb.ada/bias/bias.adb: New file.
948 * gdb.ada/print_chars.exp: Add regression test.
949 * gdb.ada/print_chars/foo.adb (My_Character): New type.
950 (MC): New variable.
951
952 2019-08-29 Sandra Loosemore <sandra@codesourcery.com>
953
954 * gdb.base/argv0-symlink.exp: Run only on native target
955 and local host.
956
957 2019-08-29 Tom de Vries <tdevries@suse.de>
958
959 * gdb.fortran/info-types.exp: Fix gdb_test regexp to allow more
960 diverse debug info.
961 * lib/fortran.exp (fortran_int8): New proc, based on fortran_int4.
962
963 2019-08-28 Tom de Vries <tdevries@suse.de>
964
965 * gdb.base/info-var.exp: Allow info variables to print info for files
966 other than info-var-f1.c and info-var-f2.c.
967
968 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
969
970 * gdb.fortran/info-types.exp: Add module.
971 * gdb.fortran/info-types.f90: Update expected results.
972
973 2019-08-28 Andrew Burgess <andrew.burgess@embecosm.com>
974
975 * gdb.fortran/info-types.exp: New file.
976 * gdb.fortran/info-types.f90: New file.
977 * lib/fortran.exp (fortran_character1): New proc.
978
979 2019-08-27 Andrew Burgess <andrew.burgess@embecosm.com>
980
981 * gdb.base/info-fun.exp: Extend to test the -n flag for 'info
982 functions'. Reindent as needed.
983 * gdb.base/info-var-f1.c: New file.
984 * gdb.base/info-var-f2.c: New file.
985 * gdb.base/info-var.exp: New file.
986 * gdb.base/info-var.h: New file.
987
988 2019-08-26 Tom de Vries <tdevries@suse.de>
989
990 PR c++/24852
991 * gdb.cp/no-libstdcxx-probe.exp: New test.
992
993 2019-08-26 Tom de Vries <tdevries@suse.de>
994
995 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Return 1 if probe
996 * tests need to be skipped.
997 * gdb.cp/exceptprint.exp: Update call to skip_libstdcxx_probe_tests.
998 * gdb.mi/mi-catch-cpp-exceptions.exp: Update call to
999 mi_skip_libstdcxx_probe_tests.
1000
1001 2019-08-26 Sergio Durigan Junior <sergiodj@redhat.com>
1002
1003 * gdb.python/py-xmethods.exp: Use raw strings when passing
1004 arguments to SimpleXMethodMatcher.
1005
1006 2019-08-22 Tom de Vries <tdevries@suse.de>
1007
1008 * gdb.multi/multi-term-settings.exp (coretest): Make gdb_test messages
1009 more informative.
1010
1011 2019-08-21 Pedro Alves <palves@redhat.com>
1012
1013 * gdb.base/with.exp: Test "with" with no arguments.
1014
1015 2019-08-21 Tom de Vries <tdevries@suse.de>
1016
1017 * gdb.base/gdb-caching-proc.exp: Sort files.
1018
1019 2019-08-20 Tom de Vries <tdevries@suse.de>
1020
1021 * lib/pascal.exp (gdb_compile_pascal): Remove $destfile before
1022 compilation.
1023
1024 2019-08-16 Tom de Vries <tdevries@suse.de>
1025
1026 * gdb.base/compare-sections.exp ("after run to main"): Allow
1027 mismatched read-only sections for PIE executables.
1028
1029 2019-08-16 Tom Tromey <tom@tromey.com>
1030
1031 * lib/tuiterm.exp (_csi_Z): New proc.
1032 * gdb.tui/basic.exp: Update window positions.
1033 * gdb.tui/empty.exp: Update window positions.
1034
1035 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1036
1037 * gdb.base/examine-backward.exp: Correct regexp for
1038 "examine 3 bytes backward from ${address_zero}".
1039
1040 2019-08-15 Tom Tromey <tom@tromey.com>
1041
1042 * gdb.tui/empty.exp: Enable resizing tests.
1043
1044 2019-08-15 Tom Tromey <tromey@adacore.com>
1045
1046 * gdb.ada/char_enum.exp: Add regression tests.
1047 * gdb.ada/char_enum/foo.adb (Char_Enum_Type): Use '_'
1048 and '0'.
1049 (Char, Gchar): Update.
1050 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): Use '+'.
1051
1052 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1053
1054 * gdb.python/python.exp: Expect a leading underscore on
1055 GdbOutput{,Error}File.
1056
1057 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1058
1059 * gdb.dwarf2/dw2-dir-file-name.exp: Skip on remote or
1060 Windows host.
1061
1062 2019-08-15 Sandra Loosemore <sandra@codesourcery.com>
1063
1064 * gdb.base/batch-preserve-term-settings.exp
1065 (test_terminal_settings_preserved_after_sigterm): Skip on Windows.
1066
1067 2019-08-15 Christian Biesinger <cbiesinger@google.com>
1068
1069 * lib/gdb.exp: When running on a mingw target, replace
1070 /x/ with x:/.
1071
1072 2019-08-14 Alan Hayward <alan.hayward@arm.com>
1073
1074 * gdb.arch/aarch64-prologue.c: New test.
1075 * gdb.arch/aarch64-prologue.exp: New file.
1076
1077 2019-08-13 Tom de Vries <tdevries@suse.de>
1078
1079 * gdb.gdb/selftest.exp (send ^C to child process again): Accept also
1080 Thread.
1081
1082 2019-08-13 Sandra Loosemore <sandra@codesourcery.com>
1083
1084 * gdb.python/py-completion.exp: Download the .py file to the host
1085 and use its host pathname. Conditionalize tests that use
1086 tab completion and manipulate files on the build machine.
1087 * gdb.python/py-events.exp: Download the .py file to the host
1088 and use its host pathname.
1089 * gdb.python/py-evsignal.exp: Likewise.
1090 * gdb.python/py-evthreads.exp: Likewise.
1091 * gdb.python/py-framefilter-invalidarg.exp: Match Windows
1092 pathname syntax.
1093 * gdb.python/py-framefilter.exp: Download the .py file to the right
1094 place on the host. Match Windows pathname syntax.
1095 * gdb.python/py-mi-var-info-path-expression.exp: Download the
1096 .py file to the host and use its host pathname.
1097 * gdb.python/py-objfile-script.exp: Match Windows pathname syntax.
1098 * gdb.python/py-objfile.exp: Expect a host pathname, not a
1099 build pathname. Skip symlink test on Windows host. Add missing
1100 newline at end of file.
1101 * gdb.python/py-pp-maint.exp: Download the .py file to the host
1102 and use its host pathname.
1103 * gdb.python/py-pp-registration.exp: Match Windows pathname syntax.
1104 * gdb.python/py-section-script.exp: Use host location of binfile
1105 on safe-path. Use correct path separator on Windows host.
1106 Reorder alternatives in gdb_test_multiple to prevent matching
1107 the wrong alternative on success.
1108 * gdb.python/py-symtab.exp: Match Windows pathname syntax.
1109
1110 2019-08-12 Patrick Palka <patrick@parcs.ath.cx>
1111
1112 * gdb.gdb/selftest.exp (test_with_self): Update test to now
1113 expect the GDB inferior to no longer immediately stop after
1114 being resumed with "signal SIGINT".
1115
1116 2019-08-09 Sandra Loosemore <sandra@codesourcery.com>
1117
1118 * gdb.linespec/break-ask.exp: Generalize regexps to match
1119 Windows pathnames too.
1120
1121 2019-08-08 Tom de Vries <tdevries@suse.de>
1122
1123 PR testsuite/24862
1124 * lib/tuiterm.exp (_accept): Fix CSI regexp.
1125
1126 2019-08-07 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1127
1128 * gdb.base/style.exp: Update tests for help doc new invariants.
1129 * gdb.base/help.exp: Likewise.
1130
1131 2019-08-06 Tom Tromey <tom@tromey.com>
1132
1133 * gdb.base/style.exp: Add disassemble test.
1134 * gdb.base/style.c (some_called_function): New function.
1135 (main): Use it.
1136
1137 2019-08-05 Christian Biesinger <cbiesinger@google.com>
1138
1139 * gdb.python/py-block.exp: Test dictionary access on blocks.
1140
1141 2019-08-05 Simon Marchi <simon.marchi@efficios.com>
1142
1143 PR gdb/24863
1144 * gdb.mi/list-thread-groups-available.exp: Increase timeout for
1145 -list-thread-groups --available test when running under
1146 check-read1.
1147
1148 2019-08-05 Tom de Vries <tdevries@suse.de>
1149
1150 PR testsuite/24863
1151 * lib/gdb.exp (with_read1_timeout_factor): New proc.
1152 * gdb.base/help.exp: Use with_read1_timeout_factor.
1153 * gdb.base/info-macros.exp: Same.
1154 * gdb.cp/nested-types.exp: Same.
1155
1156 2019-08-05 Tom de Vries <tdevries@suse.de>
1157
1158 * lib/gdb.exp (version_at_least): Factor out of ...
1159 (tcl_version_at_least): ... here.
1160 (gdb_compile): Fail if pie results in non-PIE executable.
1161 (readelf_version, readelf_prints_pie): New proc.
1162 (exec_is_pie): Return -1 if unknown.
1163
1164 2019-08-05 Tom de Vries <tdevries@suse.de>
1165
1166 * lib/gdb.exp (tcl_version_at_least): Fix typo.
1167
1168 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1169
1170 * gdb.server/reconnect-ctrl-c.exp: Skip if nointerrupts.
1171
1172 2019-08-04 Sandra Loosemore <sandra@codesourcery.com>
1173
1174 * lib/completion-support.exp (test_gdb_complete_none): Skip
1175 tab completion tests if no readline support.
1176 (test_gdb_complete_unique_re): Likewise.
1177 (test_gdb_complete_multiple): Likewise.
1178
1179 2019-08-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1180
1181 * gdb.base/info_sources.exp: New file.
1182 * gdb.base/info_sources.c: New file.
1183 * gdb.base/info_sources_base.c: New file.
1184
1185 2019-08-01 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
1186
1187 * gdb.base/batch-exit-status.exp: Call test_exit_status with
1188 prefix argument.
1189 (test_exit_status): Add prefix argument.
1190
1191 2019-08-01 Tom de Vries <tdevries@suse.de>
1192
1193 PR testsuite/24863
1194 * gdb.threads/fork-plus-threads.exp: Fix check-run1 timeout by
1195 calling exp_continue for new thread and thread exited messages.
1196
1197 2019-08-01 Tom de Vries <tdevries@suse.de>
1198
1199 PR testsuite/24863
1200 * gdb.base/structs.exp: Fix check-read1 timeout using
1201 gdb_test_sequence.
1202 * lib/gdb.exp (tcl_version_at_least, lrepeat): New proc.
1203
1204 2019-08-01 Tom de Vries <tdevries@suse.de>
1205
1206 PR testsuite/24863
1207 * gdb.base/break-interp.exp: Use exp_continue after each "info files"
1208 line.
1209
1210 2019-08-01 Tom de Vries <tdevries@suse.de>
1211
1212 PR testsuite/24863
1213 * gdb.base/signals.exp: Fix check-read1 timeout using gdb_test_sequence.
1214
1215 2019-07-30 Tom Tromey <tromey@adacore.com>
1216
1217 * gdb.ada/display_nested.exp: New file.
1218 * gdb.ada/display_nested/foo.adb: New file.
1219 * gdb.ada/display_nested/pack.adb: New file.
1220 * gdb.ada/display_nested/pack.ads: New file.
1221
1222 2019-07-30 Christian Biesinger <cbiesinger@google.com>
1223
1224 * gdb.python/py-symbol.c: Add a static variable and one in an anonymous
1225 namespace.
1226 * gdb.python/py-symbol.exp: Test gdb.lookup_static_symbol.
1227
1228 2019-07-30 Tom de Vries <tdevries@suse.de>
1229
1230 * lib/read1.c (read): Don't use unsetenv (v), use setenv (v, "", 1)
1231 instead.
1232
1233 2019-07-30 Tom de Vries <tdevries@suse.de>
1234
1235 PR testsuite/24834
1236 * lib/gdb.exp (gdb_compile): Fail if nopie results in PIE executable.
1237 (exec_is_pie): New proc.
1238
1239 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1240
1241 * gdb.python/py-objfile.exp: Fix misspelling (nonexistant -> nonexistent)
1242
1243 2019-07-29 Christian Biesinger <cbiesinger@google.com>
1244
1245 * gdb.python/py-objfile.c: Add global and static vars.
1246 * gdb.python/py-objfile.exp: Test new functions Objfile.
1247 lookup_global_symbol and lookup_static_symbol.
1248
1249 2019-07-29 Tom Tromey <tom@tromey.com>
1250
1251 * lib/tuiterm.exp (Term::_csi_@): New proc.
1252 (Term::_csi_X): Don't move cursor.
1253
1254 2019-07-29 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1255
1256 * gdb.base/options.exp: Update backtrace - completion to
1257 new option -frame-info.
1258 * gdb.base/frame-args.exp: Test new 'frame-arguments presence'.
1259 Test new 'set print frame-info'. Test backtrace -frame-info
1260 overriding 'set print frame-info'.
1261 * gdb.python/py-framefilter.exp: Test new 'frame-arguments presence'.
1262 Test new 'set print frame-info'.
1263 Verify consistency of backtrace with and without filters, with and
1264 without -no-filters.
1265 * gdb.python/py-framefilter-invalidarg.exp: Update to new print_what
1266 default.
1267
1268 2019-07-29 Tom de Vries <tdevries@suse.de>
1269
1270 * gdb.linespec/explicit.exp: Fix completion trigger for "complete with
1271 no arguments".
1272
1273 2019-07-29 Tom de Vries <tdevries@suse.de>
1274
1275 * gdb.linespec/explicit.exp: Fix gdb_test_multiple regexps where second
1276 is a substring of the first for "complete non-unique file name".
1277
1278 2019-07-29 Tom de Vries <tdevries@suse.de>
1279
1280 * gdb.python/python.exp: Don't terminate gdb_test_multiple regexp
1281 with ".*".
1282
1283 2019-07-29 Tom de Vries <tdevries@suse.de>
1284
1285 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt, gdb_is_target_1):
1286 Pass prompt_regexp parameter to gdb_test_multiple calls.
1287
1288 2019-07-29 Tom de Vries <tdevries@suse.de>
1289
1290 * gdb.base/maint.exp: Use "\r\n" instead of "\[\r\n\]+" in "maint
1291 print registers" regexps.
1292
1293 2019-07-29 Tom de Vries <tdevries@suse.de>
1294
1295 * gdb.base/define.exp: Add "\r\n" to "reset gdb_prompt" regexp.
1296
1297 2019-07-29 Tom de Vries <tdevries@suse.de>
1298
1299 PR gdb/24855
1300 * lib/gdb.exp (gdb_test_multiple): Add prompt_regexp parameter.
1301 (skip_python_tests_prompt): Add prompt_regexp argument to
1302 gdb_test_multiple calls.
1303
1304 2019-07-27 Tom Tromey <tom@tromey.com>
1305
1306 * gdb.tui/main.exp: New file.
1307
1308 2019-07-27 Tom Tromey <tom@tromey.com>
1309
1310 * lib/tuiterm.exp (Term::clean_restart): Make "executable"
1311 optional.
1312 * gdb.tui/empty.exp: New file.
1313
1314 2019-07-27 Tom Tromey <tom@tromey.com>
1315
1316 * lib/tuiterm.exp (spawn): New proc.
1317 (Term::resize): New proc.
1318 * gdb.tui/resize.exp: New file.
1319
1320 2019-07-27 Tom Tromey <tom@tromey.com>
1321
1322 * gdb.tui/list.exp: New file.
1323
1324 2019-07-27 Tom Tromey <tom@tromey.com>
1325
1326 * gdb.tui/regs.exp: New file.
1327
1328 2019-07-27 Tom Tromey <tom@tromey.com>
1329
1330 * gdb.tui/basic.exp: Add "layout split" test.
1331
1332 2019-07-27 Tom Tromey <tom@tromey.com>
1333
1334 * gdb.tui/basic.exp: Add "layout asm" test.
1335
1336 2019-07-27 Tom Tromey <tom@tromey.com>
1337
1338 * lib/tuiterm.exp: New file.
1339 * gdb.tui/basic.exp: New file.
1340
1341 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1342
1343 * gdb.dwarf2/dw2-ranges-func.exp (enable_foo_cold_stepping):
1344 Enable tests associated with this flag. Adjust regex
1345 referencing "foo_low" to now refer to "foo_cold" instead.
1346
1347 2019-07-27 Kevin Buettner <kevinb@redhat.com>
1348
1349 * gdb.dwarf2/dw2-ranges-func.c: Rename to...
1350 * gdb.dwarf2/dw2-ranges-func-lo-cold.c: ...this.
1351 * gdb.dwarf2/dw2-ranges-func-lo-cold.c (foo_low): Change name to
1352 foo_cold. Revise comments to match.
1353 * gdb.dwarf2/dw2-ranges-func-hi-cold.c: New file.
1354 * gdb.dwarf2/dw2-ranges-func.exp (do_test): New proc. Existing tests
1355 were wrapped into this proc; Call do_test in loop from outermost
1356 level.
1357 (foo_low): Rename all occurrences to "foo_cold".
1358 (backtrace from baz): New test.
1359 (x2/i foo_cold): New test.
1360 (info line *foo_cold): New test.
1361
1362 2019-07-26 Tom de Vries <tdevries@suse.de>
1363
1364 * gdb.arch/i386-pkru.exp: Fix unterminated string.
1365
1366 2019-07-25 Tom de Vries <tdevries@suse.de>
1367
1368 PR testsuite/24830
1369 * gdb.mi/mi-catch-cpp-exceptions.exp: Call
1370 mi_skip_libstdcxx_probe_tests, and skip unsupported tests.
1371 * lib/gdb.exp (skip_libstdcxx_probe_tests_prompt): Factor out of ...
1372 (skip_libstdcxx_probe_tests): ... here.
1373 * lib/mi-support.exp (mi_skip_libstdcxx_probe_tests): New proc.
1374
1375 2019-07-24 Tom de Vries <tdevries@suse.de>
1376
1377 PR testsuite/24807
1378 * gdb.objc/basicclass.m: Include stdio.h.
1379 * gdb.objc/nondebug.m: Same.
1380 * gdb.objc/objcdecode.m: Same.
1381
1382 2019-07-24 Tom de Vries <tdevries@suse.de>
1383
1384 PR testsuite/24612
1385 * gdb.base/infoline-reloc-main-from-zero.exp: Add -Wl,-N to
1386 additional_flags.
1387
1388 2019-07-24 Tom de Vries <tdevries@suse.de>
1389
1390 PR testsuite/24831
1391 * gdb.multi/tids.exp: Update error messages for info threads.
1392
1393 2019-07-24 Tom de Vries <tdevries@suse.de>
1394
1395 * gdb.base/info-types.exp: Allow info types to print info for more than
1396 one file.
1397
1398 2019-07-23 Tom de Vries <tdevries@suse.de>
1399
1400 PR testsuite/24842
1401 * gdb.dwarf2/multidictionary.exp: Consume initial prompt after
1402 gdb_spawn_with_cmdline_opts.
1403
1404 2019-07-23 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
1405
1406 * gdb.arch/arm-cmse-sgstubs.c: New test.
1407 * gdb.arch/arm-cmse-sgstubs.exp: New file.
1408
1409 2019-07-23 Tom de Vries <tdevries@suse.de>
1410
1411 PR testsuite/24711
1412 * gdb.mi/mi-complete.exp: Wait for "set max-completions" result before
1413 issuing next command.
1414
1415 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1416
1417 * gdb.ada/info_auto_lang.exp: Update expected results.
1418 * gdb.base/info-types.c: Add additional types to check.
1419 * gdb.base/info-types.exp: Update expected results.
1420
1421 2019-07-22 Andrew Burgess <andrew.burgess@embecosm.com>
1422
1423 * gdb.base/info-types.c: New file.
1424 * gdb.base/info-types.exp: New file.
1425
1426 2019-07-19 Andrew Burgess <andrew.burgess@embecosm.com>
1427
1428 * gdb.arch/riscv-bp-infcall.c: New file.
1429 * gdb.arch/riscv-bp-infcall.exp: New file.
1430
1431 2019-07-17 Andrew Burgess <andrew.burgess@embecosm.com>
1432
1433 PR breakpoints/24541
1434 * gdb.mi/mi-catch-cpp-exceptions.exp: Remove kfail due to 24541.
1435
1436 2019-07-14 Tom de Vries <tdevries@suse.de>
1437
1438 PR testsuite/24760
1439 * gdb.objc/basicclass.exp: Fix unterminated string.
1440
1441 2019-07-12 Bernhard Heckel <bernhard.heckel@intel.com>
1442 Andrew Burgess <andrew.burgess@embecosm.com>
1443
1444 * gdb.fortran/vla-ptype.exp: Print array with negative bounds.
1445 * gdb.fortran/vla-sizeof.exp: Print the size of an array with
1446 negative bounds.
1447 * gdb.fortran/vla-value.exp: Print elements of an array with
1448 negative bounds.
1449 * gdb.fortran/vla.f90: Setup an array with negative bounds for
1450 testing.
1451
1452 2019-07-11 Andrew Burgess <andrew.burgess@embecosm.com>
1453
1454 * gdb.base/options.exp (expect_string): Dequote strings in
1455 results.
1456 (test-string): Test strings with different quoting and reindent.
1457
1458 2019-07-10 Tom Tromey <tromey@adacore.com>
1459
1460 * gdb.ada/mi_ex_cond.exp: Update expected results.
1461 * gdb.ada/mi_catch_ex_hand.exp: Update expected results.
1462 * gdb.ada/mi_catch_ex.exp: Update expected results.
1463 * gdb.ada/mi_catch_assert.exp: Update expected results.
1464 * gdb.ada/catch_ex.exp (catch_exception_info)
1465 (catch_exception_entry, catch_assert_entry)
1466 (catch_unhandled_entry): Update.
1467 * gdb.ada/catch_assert_if.exp: Update expected results.
1468
1469 2019-07-10 Richard Bunt <richard.bunt@arm.com>
1470 Stephen Roberts <stephen.roberts@arm.com>
1471
1472 * gdb.base/define.exp: Restore original prompt.
1473
1474 2019-07-09 Pedro Alves <palves@redhat.com>
1475
1476 * gdb.cp/catch-multi-stdlib.exp: Adjust expected "info
1477 breakpoints" output.
1478 * gdb.cp/exception.exp: Adjust expected "info breakpoints" output.
1479 * gdb.python/py-breakpoint.exp: No longer expect that "catch
1480 throw" creates breakpoint.
1481 * gdb.mi/mi-catch-cpp-exceptions.exp (setup_catchpoint): Expect
1482 'type="catchpoint"'.
1483
1484 2019-07-09 Pedro Alves <palves@redhat.com>
1485
1486 PR c++/15468
1487 * gdb.cp/except-multi-location-lib.cc: New.
1488 * gdb.cp/except-multi-location-main.cc: New.
1489 * gdb.cp/except-multi-location.exp: New.
1490
1491 2019-07-09 Sergio Durigan Junior <sergiodj@redhat.com>
1492
1493 * gdb.base/printcmds.exp (test_printf_convenience_var): Set
1494 language to "c++" before dealing with wchar_t. Remove DO_WSTRING
1495 argument and update callers.
1496
1497 2019-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
1498
1499 * gdb.arch/amd64-break-on-asm-line.S: New file.
1500 * gdb.arch/amd64-break-on-asm-line.exp: New file.
1501
1502 2019-07-08 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1503
1504 * gdb.base/printcmds.exp: Test printing C string and
1505 C wide string convenience vars without transiting via the inferior.
1506 Also make test names unique.
1507
1508 2019-07-08 Alan Hayward <alan.hayward@arm.com>
1509
1510 PR breakpoints/25011
1511 * gdb.base/break-idempotent.exp: Test both PIE and non PIE.
1512
1513 2019-07-04 Pedro Alves <palves@redhat.com>
1514
1515 * lib/gdb.exp (foreach_with_prefix): Don't return early if
1516 body returned ok(0), break(3) or continue(4).
1517 * gdb.testsuite/foreach_with_prefix.exp: New file.
1518
1519 2019-07-04 Alan Hayward <alan.hayward@arm.com>
1520
1521 * gdb.server/unittest.exp: Allow 0 unit tests to run.
1522
1523 2019-07-03 Pedro Alves <palves@redhat.com>
1524
1525 * lib/gdb.exp (foreach_with_prefix): Use "catch" and
1526 "return -code".
1527
1528 2019-07-03 Pedro Alves <palves@redhat.com>
1529
1530 PR cli/24732
1531 * gdb.base/shell.exp: Load completion-support.exp.
1532 Adjust expected error output. Add completion tests.
1533
1534 2019-07-03 Pedro Alves <palves@redhat.com>
1535
1536 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Use
1537 string_to_regexp.
1538
1539 2019-07-03 Pedro Alves <palves@redhat.com>
1540
1541 * gdb.base/options.exp (expect_none, expect_flag, expect_bool)
1542 (expect_integer): Adjust to expect "-string".
1543 (expect_string): New.
1544 (all_options): Expect "-string".
1545 (test-flag, test-boolean): Adjust to expect "-string".
1546 (test-string): New proc.
1547 (top level): Call it.
1548
1549 2019-07-03 Pedro Alves <palves@redhat.com>
1550
1551 * gdb.base/options.exp (test-misc, test-flag, test-boolean)
1552 (test-uinteger, test-enum): Adjust res_test_gdb_... calls to pass
1553 the expected output in the success.
1554
1555 2019-07-03 Pedro Alves <palves@redhat.com>
1556
1557 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1558 Split one gdb_test_multiple call in two to avoid a race.
1559
1560 2019-07-03 Pedro Alves <palves@redhat.com>
1561
1562 * gdb.base/with.c: New file.
1563 * gdb.base/with.exp: New file.
1564
1565 2019-07-03 Pedro Alves <palves@redhat.com>
1566
1567 * gdb.base/settings.exp: Replace all references to "maint
1568 test-settings set" with references to "maint set test-settings",
1569 and all references to "maint test-settings show" with references
1570 to "maint show test-settings".
1571
1572 2019-07-03 Pedro Alves <palves@redhat.com>
1573
1574 * gdb.base/settings.exp (test-string): Adjust expected out when
1575 testing "maint test-settings show filename"
1576
1577 2019-07-02 Pedro Alves <palves@redhat.com>
1578
1579 * gdb.base/options.exp (test-info-threads): New procedure.
1580 (top level): Call it.
1581
1582 2019-06-28 Tom Tromey <tromey@adacore.com>
1583
1584 * gdb.dwarf2/ada-linkage-name.c: New file.
1585 * gdb.dwarf2/ada-linkage-name.exp: New file.
1586
1587 2019-06-27 Tom Tromey <tromey@adacore.com>
1588
1589 PR c++/20020:
1590 * gdb.cp/constexpr-field.exp: Use setup_xfail.
1591
1592 2019-06-26 Tom de Vries <tdevries@suse.de>
1593
1594 * gdb.dwarf2/varval.exp: Compile twice, once without bad DWARF.
1595
1596 2019-06-26 Tom de Vries <tdevries@suse.de>
1597
1598 * gdb.base/index-cache.exp: Add back missing debug option.
1599
1600 2019-06-23 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1601
1602 * gdb.base/alias.exp: Test non matching/non existing prefixes.
1603
1604 2019-06-25 Tom de Vries <tdevries@suse.de>
1605
1606 PR testsuite/24727
1607 * gdb.dwarf2/dw2-restrict.S: Regenerate using clang 5.0.1.
1608
1609 2019-06-24 Tom de Vries <tdevries@suse.de>
1610
1611 * gdb.dwarf2/implptr-64bit.exp: Fix intra-CU '%' label reference.
1612
1613 2019-06-24 Tom de Vries <tdevries@suse.de>
1614
1615 * gdb.trace/entry-values.exp: Use DW_FORM_udata instead of
1616 DW_FOR_sdata for DW_AT_decl_file. Use 0 for DW_AT_decl_file.
1617 * gdb.trace/unavailable-dwarf-piece.exp: Same.
1618
1619 2019-06-24 Tom de Vries <tdevries@suse.de>
1620
1621 * gdb.dwarf2/inlined_subroutine-inheritance.exp:
1622
1623 2019-06-21 Tom de Vries <tdevries@suse.de>
1624
1625 * gdb.base/index-cache.exp: Add additional_flags=-Wl,--build-id.
1626
1627 2019-06-21 Tom de Vries <tdevries@suse.de>
1628
1629 PR testsuite/24518
1630 PR ada/24713
1631 * gdb.ada/ptype_union.exp: Mark as unsupported if executable contains
1632 index.
1633
1634 2019-06-19 Tom Tromey <tromey@adacore.com>
1635
1636 * gdb.ada/length_cond.exp: Add intro comment.
1637
1638 2019-06-19 Tom Tromey <tromey@adacore.com>
1639
1640 * gdb.ada/length_cond.exp: New file.
1641 * gdb.ada/length_cond/length_cond.adb: New file.
1642 * gdb.ada/length_cond/pck.adb: New file.
1643 * gdb.ada/length_cond/pck.ads: New file.
1644
1645 2019-06-18 Tom de Vries <tdevries@suse.de>
1646
1647 * boards/fission.exp (debug_flags): Add "-fuse-ld=gold".
1648
1649 2019-06-18 Tom Tromey <tromey@adacore.com>
1650
1651 * gdb.base/list0.h: Add comment explaining control character.
1652
1653 2019-06-18 Tom de Vries <tdevries@suse.de>
1654
1655 * boards/fission.exp: Break up long debug_flags line.
1656
1657 2019-06-16 Tom de Vries <tdevries@suse.de>
1658
1659 PR gdb/24445
1660 * gdb.dwarf2/gdb-index.exp (add_gdb_index): Update dwz file with
1661 generated index.
1662
1663 2019-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
1664
1665 PR gdb/24686
1666 * gdb.mi/mi-catch-cpp-exceptions.exp: Add an extra pattern to
1667 improve detection of bug gdb/24541.
1668
1669 2019-06-16 Simon Marchi <simon.marchi@polymtl.ca>
1670
1671 PR gdb/24669
1672 * gdb.base/index-cache.exp (uses_readnow,
1673 expecting_index_cache_use): Define global variable.
1674 (test_cache_enabled_miss, test_cache_enabled_hit): Use
1675 expecting_index_cache_use.
1676
1677 2019-06-16 Bernhard Heckel <bernhard.heckel@intel.com>
1678 Andrew Burgess <andrew.burgess@embecosm.com>
1679
1680 * gdb.fortran/pointers.f90: New file.
1681 * gdb.fortran/print_type.exp: New file.
1682 * gdb.fortran/vla-ptype.exp: Adapt expected results.
1683 * gdb.fortran/vla-type.exp: Likewise.
1684 * gdb.fortran/vla-value.exp: Likewise.
1685 * gdb.mi/mi-vla-fortran.exp: Likewise.
1686
1687 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1688
1689 * gdb.mi/mi-catch-cpp-exceptions.cc: New file.
1690 * gdb.mi/mi-catch-cpp-exceptions.exp: New file.
1691 * lib/mi-support.exp (mi_expect_stop): Handle 'exception-caught'
1692 as a stop reason.
1693
1694 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1695
1696 * gdb.base/annota1.exp: Update expected results.
1697 * gdb.cp/annota2.exp: Likewise.
1698 * gdb.cp/annota3.exp: Likewise.
1699
1700 2019-06-15 Andrew Burgess <andrew.burgess@embecosm.com>
1701
1702 * gdb.base/style-logging.exp: Remove path from test name.
1703
1704 2019-06-14 Tom Tromey <tromey@adacore.com>
1705
1706 PR gdb/24502:
1707 * gdb.base/style-logging.exp: New file.
1708
1709 2019-06-14 Tom Tromey <tromey@adacore.com>
1710
1711 * gdb.base/symfile-warn.exp: New file.
1712 * gdb.base/symfile-warn.c: New file.
1713
1714 2019-06-14 Tom Tromey <tromey@adacore.com>
1715
1716 * gdb.base/annotate-symlink.exp: New file.
1717
1718 2019-06-14 Tom Tromey <tromey@adacore.com>
1719
1720 * gdb.ada/set_wstr.exp: Add reassignment test.
1721
1722 2019-06-14 Tom Tromey <tromey@adacore.com>
1723
1724 * gdb.ada/formatted_ref.exp (test_p_x_addr): Check
1725 'unchecked_access and 'unrestricted_access as well.
1726
1727 2019-06-14 Tom Tromey <tromey@adacore.com>
1728
1729 PR ada/24539:
1730 * gdb.ada/vla.exp: Update tests.
1731 * gdb.ada/vla/vla.adb (Record_Type): Use No_Component_Reordering
1732 pragma.
1733
1734 2019-06-13 Pedro Alves <palves@redhat.com>
1735
1736 * gdb.base/settings.exp (test-integer): Test junk after
1737 "unlimited".
1738
1739 2019-06-13 Pedro Alves <palves@redhat.com>
1740
1741 * gdb.base/options.exp (test-thread-apply): New.
1742 (top level): Call it.
1743
1744 2019-06-13 Pedro Alves <palves@redhat.com>
1745
1746 * gdb.base/options.exp (test-frame-apply): New.
1747 (top level): Test print commands with different "frame apply"
1748 prefixes.
1749
1750 2019-06-13 Pedro Alves <palves@redhat.com>
1751
1752 * lib/completion-support.exp (test_gdb_complete_tab_multiple)
1753 (test_gdb_complete_cmd_multiple, test_gdb_complete_multiple): Add
1754 'max_completions' parameter and handle it.
1755 (test_gdb_completion_offers_commands): New.
1756
1757 2019-06-13 Pedro Alves <palves@redhat.com>
1758
1759 * gdb.base/options.exp (test-backtrace): Test completing qualifiers.
1760
1761 2019-06-13 Pedro Alves <palves@redhat.com>
1762
1763 * gdb.base/options.exp (test-backtrace): New.
1764 (top level): Call it.
1765
1766 2019-06-13 Pedro Alves <palves@redhat.com>
1767
1768 * gdb.guile/scm-frame-args.exp: Use "set print
1769 raw-frame-arguments" instead of "set print raw frame-arguments".
1770 * gdb.python/py-frame-args.exp: Likewise.
1771
1772 2019-06-13 Pedro Alves <palves@redhat.com>
1773
1774 * gdb.compile/compile.exp: Adjust expected output to option
1775 processing changes.
1776
1777 2019-06-13 Pedro Alves <palves@redhat.com>
1778
1779 * gdb.base/options.exp: Build executable.
1780 (test-print): New procedure.
1781 (top level): Call it, once for "print" and another for "compile
1782 print".
1783
1784 2019-06-13 Pedro Alves <palves@redhat.com>
1785
1786 * gdb.base/options.c: New file.
1787 * gdb.base/options.exp: New file.
1788
1789 2019-06-13 Pedro Alves <palves@redhat.com>
1790
1791 * gdb.base/settings.exp (test-boolean, test-auto-boolean): Check
1792 that "o" is ambiguous.
1793
1794 2019-06-13 Pedro Alves <palves@redhat.com>
1795
1796 * gdb.base/settings.c: New file.
1797 * gdb.base/settings.exp: New file.
1798
1799 2019-06-13 Pedro Alves <palves@redhat.com>
1800
1801 * gdb.base/completion.exp: Fix comment typo.
1802
1803 2019-06-13 Pedro Alves <palves@redhat.com>
1804
1805 * gdb.multi/tids.exp: Adjust expected output. Add "thread apply 1
1806 foo --1" test.
1807
1808 2019-06-11 Bernhard Heckel <bernhard.heckel@intel.com>
1809
1810 * gdb.fortran/block-data.f: New.
1811 * gdb.fortran/block-data.exp: New.
1812
1813 2019-06-11 Tom de Vries <tdevries@suse.de>
1814
1815 PR testsuite/24521
1816 * gdb.multi/remove-inferiors.exp: Allow "Expanding full symbols"
1817 message.
1818
1819 2019-06-11 Tom de Vries <tdevries@suse.de>
1820
1821 PR testsuite/24521
1822 * gdb.dwarf2/nonvar-access.exp: Fix main high_pc.
1823
1824 2019-06-11 Tom de Vries <tdevries@suse.de>
1825
1826 * boards/readnow.exp: New file.
1827
1828 2019-06-10 Andrew Burgess <andrew.burgess@embecosm.com>
1829
1830 * gdb.fortran/vla-sizeof.exp: Update expected results.
1831
1832 2019-06-06 Amos Bird <amosbird@gmail.com>
1833
1834 * gdb.base/annota1.exp (thread_switch): Add test for
1835 thread-exited annotation.
1836
1837 2019-06-06 Tom Tromey <tromey@adacore.com>
1838
1839 * gdb.base/maint.exp: Expect command started/finished output.
1840
1841 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1842
1843 * gdb.arch/riscv-unwind-long-insn-6.s: Remove use of 'I' in
1844 comment.
1845 * gdb.arch/riscv-unwind-long-insn-8.s: Likewise.
1846
1847 2019-06-05 Andrew Burgess <andrew.burgess@embecosm.com>
1848
1849 * gdb.arch/riscv-unwind-long-insn-6.s: New file.
1850 * gdb.arch/riscv-unwind-long-insn-8.s: New file.
1851 * gdb.arch/riscv-unwind-long-insn.c: New file.
1852 * gdb.arch/riscv-unwind-long-insn.exp: New file.
1853
1854 2019-06-04 Christian Biesinger <cbiesinger@google.com>
1855
1856 * gdb.python/py-type.exp: Test for new gdb.Type.objfile property.
1857
1858 2019-06-03 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1859
1860 * lib/gdb.exp (help_list_trailer): New regexp variable
1861 factorizing the help trailer message.
1862 (test_class_help): Use help_list_trailer. Add LIST_OF_COMMANDS
1863 arg to allow to better factorize various tests.
1864 (test_user_defined_class_help): Factorizes testing 'help user-defined'.
1865 (test_prefix_command_help): Use help_list_trailer.
1866 * gdb.python/py-cmd.exp: Use test_user_defined_class_help.
1867 * gdb.guile/scm-cmd.exp: Likewise.
1868 * gdb.trace/tracecmd.exp: Update caller of test_class_help.
1869 * gdb.base/help.exp: Use test_user_defined_class_help.
1870 * gdb.base/style.exp: Add tests for styling of help and apropos.
1871 * lib/gdb-utils.exp (style): Add title and highlight styles.
1872
1873 2019-05-31 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1874
1875 * gdb.base/shell.exp: Test pipe command, $_shell_exitcode,
1876 $_shell_exitsignal.
1877 * gdb.base/default.exp: Update for new convenience variables.
1878
1879 2019-05-29 Tom Tromey <tromey@adacore.com>
1880
1881 * gdb.ada/complete.exp (test_gdb_no_completion): Add "/" and "-"
1882 to "break complete ada" test case's regexp.
1883
1884 2019-05-29 Tom Tromey <tromey@adacore.com>
1885
1886 PR c++/20020:
1887 * gdb.cp/constexpr-field.exp: New file.
1888 * gdb.cp/constexpr-field.cc: New file.
1889
1890 2019-05-29 Tom Tromey <tromey@adacore.com>
1891
1892 * gdb.base/finish.exp (finish_no_print): New proc.
1893 (finish_tests): Call it.
1894
1895 2019-05-24 Tom de Vries <tdevries@suse.de>
1896
1897 * gdb.dwarf2/gdb-add-index.exp: New file.
1898
1899 2019-05-22 Tom Tromey <tromey@adacore.com>
1900
1901 * gdb.base/info-shared.exp (check_info_shared): Use "style".
1902 * gdb.base/style.exp: Use "style".
1903 * lib/gdb-utils.exp (style): New proc.
1904
1905 2019-05-22 Tom de Vries <tdevries@suse.de>
1906
1907 * gdb.base/align.exp: Require c++11.
1908
1909 2019-05-22 Tom de Vries <tdevries@suse.de>
1910
1911 PR testsuite/24586
1912 * gdb.python/py-mi-var-info-path-expression.exp: Call
1913 mi_skip_python_tests to check if python is supported.
1914
1915 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1916
1917 * gdb.arch/aarch64-pauth.c: New test.
1918 * gdb.arch/aarch64-pauth.exp: New file.
1919
1920 2019-05-22 Alan Hayward <alan.hayward@arm.com>
1921
1922 * README (Re-running Tests Outside The Testsuite): New section.
1923
1924 2019-05-21 Tom de Vries <tdevries@suse.de>
1925
1926 * gdb.arch/amd64-eval.exp: Require c++11.
1927 * gdb.base/max-depth.exp: Same.
1928 * gdb.compile/compile-cplus-array-decay.exp: Same.
1929 * gdb.cp/meth-typedefs.exp: Same.
1930 * gdb.cp/subtypes.exp: Same.
1931 * gdb.cp/temargs.exp: Same.
1932
1933 2019-05-21 Alan Hayward <alan.hayward@arm.com>
1934
1935 * lib/gdbserver-support.exp (gdbserver_run): Mark kill as optional.
1936
1937 2019-05-18 Andrew Burgess <andrew.burgess@embecosm.com>
1938
1939 PR gdb/18644
1940 * gdb.fortran/complex.exp: Remove setup_kfail calls.
1941 * gdb.fortran/printing-types.exp: Add new test.
1942 * gdb.fortran/printing-types.f90: Add 16-byte real variable for
1943 testing.
1944 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): Remove
1945 setup_kfail call.
1946
1947 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1948
1949 * README (Running the Testsuite): Change example.
1950 (Testsuite Parameters): Remove TRANSCRIPT.
1951 * lib/gdb.exp: Remove TRANSCRIPT check.
1952
1953 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1954
1955 * README (Testsuite Parameters): Add replay logging to
1956 GDBSERVER_DEBUG.
1957 (gdbserver,debug): Refer to GDBSERVER_DEBUG.
1958 * lib/gdbserver-support.exp (gdbserver_start): Treat gdbserverdebug
1959 as a comma separated list.
1960 (gdb_debug_init): Override procedure.
1961
1962 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1963
1964 * lib/gdb.exp (default_gdb_spawn): Call gdb_write_cmd_file.
1965 (gdb_write_cmd_file): New procedure.
1966 * lib/gdbserver-support.exp (gdbserver_start): Call
1967 gdbserver_write_cmd_file.
1968 (gdbserver_write_cmd_file): New procedure.
1969
1970 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1971
1972 * lib/gdb.exp (gdb_unload): Mark Y as an answer.
1973 (delete_breakpoints): Likewise.
1974 (gdb_run_cmd): Likewise.
1975 (gdb_start_cmd): Likewise.
1976 (gdb_starti_cmd): Likewise.
1977 (gdb_internal_error_resync): Likewise.
1978 (gdb_test_multiple): Likewise.
1979 (gdb_reinitialize_dir): Likewise.
1980 (default_gdb_exit): Likewise.
1981 (gdb_file_cmd): Mark kill as optional.
1982 (default_gdb_start): Call gdb_stdin_log_init.
1983 (send_gdb): Call gdb_stdin_log_write.
1984 (rerun_to_main): Mark Y as an answer.
1985 (gdb_stdin_log_init): New function.
1986 (gdb_stdin_log_write): Likewise.
1987
1988 2019-05-17 Alan Hayward <alan.hayward@arm.com>
1989
1990 * gdb.base/breakpoint-in-ro-region.exp: Disable when debugging.
1991 * gdb.base/debug-expr.exp: Likewise.
1992 * gdb.base/foll-fork.exp: Likewise.
1993 * gdb.base/foll-vfork.exp: Likewise.
1994 * gdb.base/fork-print-inferior-events.exp: Likewise.
1995 * gdb.base/gdb-sigterm.exp: Likewise.
1996 * gdb.base/gdbinit-history.exp: Likewise.
1997 * gdb.base/osabi.exp: Likewise.
1998 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1999 * gdb.base/ui-redirect.exp: Likewise.
2000 * gdb.gdb/unittest.exp: Likewise.
2001 * gdb.mi/mi-break.exp: Disable separate-mi-tty when debugging.
2002 * gdb.mi/mi-watch.exp: Likewise.
2003 * gdb.mi/new-ui-mi-sync.exp: Likewise.
2004 * gdb.mi/user-selected-context-sync.exp: Likewise.
2005 * gdb.python/python.exp: Disable debug test when debugging.
2006 * gdb.threads/check-libthread-db.exp: Disable when debugging.
2007 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
2008 Likewise.
2009 * gdb.threads/stepi-random-signal.exp: Likewise.
2010
2011 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2012
2013 * Makefile.in: Pass through GDB_DEBUG.
2014 * README (Testsuite Parameters): Add GDB_DEBUG.
2015 (gdb,debug): Add board setting.
2016 * lib/gdb.exp (default_gdb_start): Start debugging.
2017 (gdb_debug_enabled): New procedure.
2018 (gdb_debug_init): Likewise.
2019
2020 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2021
2022 * Makefile.in: Pass through GDB_DEBUG.
2023 * README (Testsuite Parameters): Add GDB_DEBUG.
2024 (gdb,debug): Add board setting.
2025 * lib/gdb.exp (default_gdb_start): Start debugging.
2026 (gdb_debug_enabled): New procedure.
2027 (gdb_debug_init): Likewise.
2028
2029 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2030
2031 * gdb.base/ui-redirect.exp: Add debug redirect tests.
2032
2033 2019-05-17 Alan Hayward <alan.hayward@arm.com>
2034
2035 * gdb.base/ui-redirect.exp: Test redirection.
2036
2037 2019-01-28 Jan Vrany <jan.vrany@fit.cvut.cz>
2038
2039 * gdb.mi/mi-complete.exp: New file.
2040 * gdb.mi/mi-complete.cc: Likewise.
2041
2042 2019-05-15 Bernhard Heckel <bernhard.heckel@intel.com>
2043
2044 * gdb.fortran/vla-sizeof.exp: Add tests of sizeof applied to
2045 indexed and sliced arrays, and pointers to arrays.
2046
2047 2019-05-14 Tom Tromey <tromey@adacore.com>
2048
2049 * gdb.base/info-shared.exp (check_info_shared): Add "info shared"
2050 styling test.
2051
2052 2019-05-14 Tom de Vries <tdevries@suse.de>
2053
2054 * gdb.dwarf2/dw2-skip-prologue.S (.debug_loc): Fix base address
2055 selection entry encoding.
2056
2057 2019-05-10 Tom Tromey <tromey@adacore.com>
2058
2059 * gdb.ada/info_exc.exp: Add "complete" test.
2060
2061 2019-05-09 Tom de Vries <tdevries@suse.de>
2062
2063 * gdb.arch/amd64-tailcall-self.S: Make DW_FORM_ref4 references
2064 CU-relative.
2065
2066 2019-05-09 Tom de Vries <tdevries@suse.de>
2067
2068 * gdb.arch/amd64-entry-value-paramref.S: Make DW_FORM_ref4 references
2069 CU-relative.
2070
2071 2019-05-08 Joel Brobecker <brobecker@adacore.com>
2072
2073 * gdb.ada/frame_arg_lang.exp: New testcase.
2074 * gdb.ada/frame_arg_lang/bla.adb: New file.
2075 * gdb.ada/frame_arg_lang/pck.ads: New file.
2076 * gdb.ada/frame_arg_lang/pck.adb: New file.
2077 * gdb.ada/frame_arg_lang/foo.c: New file.
2078
2079 2019-05-08 Tom Tromey <tromey@adacore.com>
2080
2081 * gdb.python/py-value.exp (test_value_in_inferior): Add Ada test.
2082
2083 2019-05-08 Tom Tromey <tromey@adacore.com>
2084
2085 * gdb.base/ptype-offsets.exp: Update tests.
2086
2087 2019-05-08 Tom Tromey <tromey@adacore.com>
2088
2089 * gdb.base/ptype-offsets.exp: Use string_to_regexp. Fix test
2090 cases.
2091 * gdb.base/ptype-offsets.cc (struct abc) <my_int_type>: Now
2092 "short".
2093
2094 2019-05-08 Tom Tromey <tromey@adacore.com>
2095
2096 * gdb.ada/vla.exp: New file.
2097 * gdb.ada/vla/vla.adb: New file.
2098
2099 2019-05-07 Tom de Vries <tdevries@suse.de>
2100
2101 * gdb.base/index-cache.exp (ls_host): Fix return statement.
2102
2103 2019-05-07 Tom de Vries <tdevries@suse.de>
2104
2105 PR testsuite/24522
2106 * gdb.dlang/watch-loc.c: Fix debug_info_offset in .debug_aranges
2107 section.
2108
2109 2019-05-07 Tom de Vries <tdevries@suse.de>
2110
2111 PR testsuite/24522
2112 * gdb.dwarf2/dw2-case-insensitive-debug.S: Fix debug_info_offset in
2113 .debug_aranges section.
2114
2115 2019-05-07 Tom de Vries <tdevries@suse.de>
2116
2117 PR testsuite/24159
2118 * lib/dwarf.exp: Fix handling of DW_FORM_ref_addr.
2119
2120 2019-05-06 Tom de Vries <tdevries@suse.de>
2121
2122 * lib/gdb.exp (exec_has_index_section): New proc.
2123 * gdb.base/index-cache.exp: Handle case that binfile contains an index
2124 section.
2125
2126 2019-05-04 Tom de Vries <tdevries@suse.de>
2127
2128 * boards/cc-with-debug-names.exp: New file.
2129
2130 2019-05-03 Tom Tromey <tromey@adacore.com>
2131
2132 * gdb.ada/char_enum/pck.ads (Global_Enum_Type): New type.
2133 * gdb.ada/char_enum/foo.adb: Use Global_Enum_Type.
2134 * gdb.ada/char_enum.exp: Add test.
2135
2136 2019-05-03 Tom de Vries <tdevries@suse.de>
2137
2138 * boards/cc-with-gdb-index.exp: New file.
2139
2140 2019-05-02 Andrew Burgess <andrew.burgess@embecosm.com>
2141
2142 * gdb.rust/simple.exp: Add new test case.
2143 * gdb.rust/simple.rs (struct StringAtOffset): New struct.
2144 (main): Initialise an instance of the new struct.
2145
2146 2019-05-01 Tom Tromey <tromey@adacore.com>
2147
2148 * gdb.ada/packed_array_assign/aggregates.ads (Nested_Packed): New
2149 record.
2150 (NPR): New variable.
2151 * gdb.ada/packed_array_assign.exp: Add nested packed assignment
2152 test.
2153
2154 2019-05-01 Tom Tromey <tromey@adacore.com>
2155
2156 * gdb.ada/packed_array_assign.exp: Add packed assignment
2157 regression test.
2158
2159 2019-05-01 Tom de Vries <tdevries@suse.de>
2160
2161 * boards/cc-with-tweaks.exp: Generate gdb.sh, and pass it in env(GDB).
2162
2163 2019-05-01 Tom de Vries <tdevries@suse.de>
2164
2165 * boards/dwarf4-gdb-index.exp: Use cc-with-tweaks.exp.
2166
2167 2019-04-30 Ali Tamur <tamur@google.com>
2168
2169 * lib/dwarf.exp(): Added DW_FORM_strx1-4.
2170
2171 2019-04-30 Tom Tromey <tromey@adacore.com>
2172
2173 * lib/ada.exp (find_ada_tool): New proc.
2174 * lib/gdb.exp (gdb_compile_shlib): Allow .o files as inputs.
2175 * gdb.ada/catch_ex_std.exp: New file.
2176 * gdb.ada/catch_ex_std/foo.adb: New file.
2177 * gdb.ada/catch_ex_std/some_package.adb: New file.
2178 * gdb.ada/catch_ex_std/some_package.ads: New file.
2179
2180 2019-04-30 Tom Tromey <tromey@adacore.com>
2181
2182 PR c++/24470:
2183 * gdb.cp/temargs.cc: Add test code from PR.
2184
2185 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2186
2187 * gdb.fortran/vla-datatypes.exp: Update expected results.
2188 * gdb.fortran/vla-ptype.exp: Likewise.
2189 * gdb.fortran/vla-type.exp: Likewise.
2190 * gdb.fortran/vla-value.exp: Likewise.
2191
2192 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2193
2194 * gdb.fortran/ptr-indentation.exp: Update expected results.
2195 * gdb.fortran/ptype-on-functions.exp: Likewise.
2196 * gdb.fortran/vla-ptr-info.exp: Likewise.
2197 * gdb.fortran/vla-value.exp: Likewise.
2198
2199 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2200
2201 * gdb.fortran/ptype-on-functions.exp: New file.
2202 * gdb.fortran/ptype-on-functions.f90: New file.
2203
2204 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2205
2206 * gdb.fortran/exprs.exp (test_convenience_variables): Expect lower
2207 case void string.
2208
2209 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2210
2211 * gdb.fortran/complex.exp: Expand.
2212 * gdb.fortran/complex.f: Renamed to...
2213 * gdb.fortran/complex.f90: ...this, and extended to add more
2214 complex values.
2215
2216 2019-04-30 Andrew Burgess <andrew.burgess@embecosm.com>
2217
2218 * gdb.fortran/intrinsics.exp: Extend to cover MOD, CEILING, FLOOR,
2219 MODULO, CMPLX.
2220
2221 2019-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
2222 Richard Bunt <richard.bunt@arm.com>
2223
2224 * gdb.base/max-depth.c: New file.
2225 * gdb.base/max-depth.exp: New file.
2226 * gdb.python/py-nested-maps.c: New file.
2227 * gdb.python/py-nested-maps.exp: New file.
2228 * gdb.python/py-nested-maps.py: New file.
2229 * gdb.python/py-format-string.exp (test_max_depth): New proc.
2230 (test_all_common): Call test_max_depth.
2231 * gdb.fortran/max-depth.exp: New file.
2232 * gdb.fortran/max-depth.f90: New file.
2233 * gdb.go/max-depth.exp: New file.
2234 * gdb.go/max-depth.go: New file.
2235 * gdb.modula2/max-depth.exp: New file.
2236 * gdb.modula2/max-depth.c: New file.
2237 * lib/gdb.exp (get_print_expr_at_depths): New proc.
2238
2239 2019-04-29 Tom de Vries <tdevries@suse.de>
2240
2241 * lib/opencl.exp (skip_opencl_tests): Add missing "with" in regexp.
2242
2243 2019-04-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2244
2245 * gdb.base/callexit.exp: Test may-call-functions off.
2246
2247 2019-04-25 Keith Seitz <keiths@redhat.com>
2248
2249 PR c++/24367
2250 * gdb.cp/meth-typedefs.cc (incomplete_struct)
2251 (another_incomplete_struct, test_incomplete): New definitions.
2252 (main): Use new definitions.
2253 * gdb.cp/meth-typedefs.exp: Add new tests for `test_incomplete'
2254 functions.
2255
2256 2019-04-25 Sergio Durigan Junior <sergiodj@redhat.com>
2257
2258 PR corefiles/11608
2259 PR corefiles/18187
2260 * gdb.base/coredump-filter-build-id.exp: New file.
2261
2262 2019-04-25 Alan Hayward <alan.hayward@arm.com>
2263
2264 * Makefile.in: Pass through GDBSERVER_DEBUG.
2265 * README (Testsuite Parameters): Add GDBSERVER_DEBUG.
2266 (gdbserver,debug): Add board setting.
2267 * gdb.trace/tspeed.exp: Skip when debugging.
2268 * lib/gdb.exp (gdbserver_debug_enabled): New procedure.
2269 * lib/gdbserver-support.exp: Likewise
2270
2271 2019-04-24 Tom Tromey <tromey@adacore.com>
2272
2273 * lib/gdb.exp (gdb_compile): Don't add -fno-stack-protector for
2274 Rust.
2275
2276 2019-04-24 Tom Tromey <tromey@adacore.com>
2277
2278 * gdb.arch/amd64-eval.exp: Test bitfield return.
2279 * gdb.arch/amd64-eval.cc (struct Bitfields): New.
2280 (class Foo) <return_bitfields>: New method.
2281 (main): Call it.
2282
2283 2019-04-23 Andrew Burgess <andrew.burgess@embecosm.com>
2284
2285 * gdb.cp/many-args.cc: New file.
2286 * gdb.cp/many-args.exp: New file.
2287
2288 2019-04-23 Tom de Vries <tdevries@suse.de>
2289
2290 PR gdb/24433
2291 * gdb.btrace/reconnect.exp: Fix stepi 19 pattern.
2292
2293 2019-04-23 Alan Hayward <alan.hayward@arm.com>
2294
2295 * gdb.trace/backtrace.exp: Use nopie flag.
2296 * gdb.trace/circ.exp: Likewise.
2297 * gdb.trace/collection.exp: Likewise.
2298 * gdb.trace/ftrace.exp: Likewise.
2299 * gdb.trace/mi-trace-unavailable.exp: Likewise.
2300 * gdb.trace/mi-traceframe-changed.exp: Likewise.
2301 * gdb.trace/qtro.exp: Likewise.
2302 * gdb.trace/read-memory.exp: Likewise.
2303 * gdb.trace/report.exp: Likewise.
2304 * gdb.trace/tfile.exp: Likewise.
2305 * gdb.trace/tfind.exp: Likewise.
2306 * gdb.trace/unavailable.exp: Likewise.
2307
2308 2019-04-22 Pedro Alves <palves@redhat.com>
2309
2310 * gdb.base/solib-probes-nosharedlibrary.c,
2311 gdb.base/solib-probes-nosharedlibrary.exp: New files.
2312
2313 2019-04-19 Tom Tromey <tromey@adacore.com>
2314
2315 * gdb.ada/ptype_union.c: New file.
2316 * gdb.ada/ptype_union.exp: New file.
2317
2318 2019-04-19 Tom Tromey <tromey@adacore.com>
2319
2320 PR symtab/24423:
2321 * gdb.base/list0.h (foo): Add a control-l character.
2322
2323 2019-04-18 Tom de Vries <tdevries@suse.de>
2324
2325 PR gdb/24433
2326 * boards/local-board.exp: Set sysroot to "".
2327
2328 2019-04-18 Tom de Vries <tdevries@suse.de>
2329 Pedro Alves <palves@redhat.com>
2330
2331 PR gdb/24454
2332 * gdb.threads/vfork-follow-child-exec.c: New file.
2333 * gdb.threads/vfork-follow-child-exec.exp: New file.
2334 * gdb.threads/vfork-follow-child-exit.c: New file.
2335 * gdb.threads/vfork-follow-child-exit.exp: New file.
2336
2337 2019-04-15 Leszek Swirski <leszeks@google.com>
2338
2339 * gdb.arch/amd64-eval.cc: New file.
2340 * gdb.arch/amd64-eval.exp: New file.
2341
2342 2019-04-11 Alan Hayward <alan.hayward@arm.com>
2343
2344 * gdb.server/sysroot.c: New test.
2345 * gdb.server/sysroot.exp: New file.
2346 * lib/gdbserver-support.exp (gdb_target_cmd): Add additional text
2347 matching param.
2348
2349 2019-04-11 Andrew Burgess <andrew.burgess@embecosm.com>
2350
2351 * gdb.base/align.exp: Extend test to cover structures containing
2352 only static fields.
2353
2354 2019-04-11 Tom de Vries <tdevries@suse.de>
2355
2356 * boards/cc-with-dwz-m.exp: New file.
2357 * boards/cc-with-dwz.exp: New file.
2358 * boards/cc-with-tweaks.exp: Note that check-gdb doesn't work.
2359
2360 2019-04-09 Simon Marchi <simon.marchi@efficios.com>
2361
2362 * gdb.base/start-cpp.exp: New file.
2363 * gdb.base/start-cpp.cc: New file.
2364
2365 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2366
2367 * gdb.python/py-thrhandle.exp: Adjust tests to call
2368 thread_from_handle instead of thread_from_thread_handle.
2369
2370 2019-04-08 Kevin Buettner <kevinb@redhat.com>
2371
2372 * gdb.python/py-thrhandle.exp: Add tests for
2373 gdb.InferiorThread.handle.
2374
2375 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2376
2377 * gdb.python/py-function.exp: Check calling helper function from
2378 all languages.
2379 * lib/gdb.exp (gdb_supported_languages): New proc.
2380
2381 2019-04-01 Andrew Burgess <andrew.burgess@embecosm.com>
2382
2383 * gdb.base/complex-parts.c: New file.
2384 * gdb.base/complex-parts.exp: New file.
2385
2386 2019-04-01 Tom Tromey <tromey@adacore.com>
2387
2388 PR symtab/23331:
2389 * gdb.dwarf2/dw2-ranges-main.c: New file.
2390 * gdb.dwarf2/dw2-ranges-psym.c: New file.
2391 * gdb.dwarf2/dw2-ranges-psym.exp: New file.
2392
2393 2019-03-30 Simon Marchi <simark@simark.ca>
2394
2395 * gdb.base/default.exp: Add values for $_gdb_major and
2396 $_gdb_minor.
2397
2398 2019-03-29 Tom Tromey <tromey@adacore.com>
2399
2400 * gdb.base/help.exp: Tighten apropos regexp.
2401
2402 2019-03-29 Keith Seitz <keiths@redhat.com>
2403
2404 * gdb.fortran/array-bounds.exp: New file.
2405 * gdb.fortran/array-bounds.f90: New file.
2406
2407 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2408
2409 * gdb.multi/multi-term-settings.c (main): Increase alarm timer.
2410
2411 2019-03-28 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2412
2413 * gdb.multi/hello.c (main): Increase alarm timer.
2414
2415 2019-03-28 Sandra Loosemore <sandra@codesourcery.com>
2416
2417 * gdb.threads/watchpoint-fork.exp (test): Use large timeout
2418 factor when no hardware watchpoint support.
2419
2420 2019-03-28 Alan Hayward <alan.hayward@arm.com>
2421 Pedro Alves <palves@redhat.com>
2422
2423 * boards/local-board.exp: set sysroot to /.
2424
2425 2019-03-27 Alan Hayward <alan.hayward@arm.com>
2426
2427 * gdb.base/interrupt-daemon-attach.c (main): Add alarm and sleep
2428 in child.
2429
2430 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2431
2432 * gdb.python/py-prettyprint.c (struct container) <is_map_p>: New
2433 field.
2434 (make_container): Initialise new field.
2435 * gdb.python/py-prettyprint.exp: Add new tests.
2436 * gdb.python/py-prettyprint.py (class ContainerPrinter)
2437 <display_hint>: New method.
2438
2439 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2440
2441 * gdb.python/py-prettyprint.exp: Use gdb_breakpoint and
2442 gdb_continue_to_breakpoint more throughout this test.
2443 (run_lang_tests) Supply unique test names, and use
2444 gdb_test_no_output.
2445
2446 2019-03-26 Andrew Burgess <andrew.burgess@embecosm.com>
2447
2448 * gdb.base/finish-pretty.exp: Update expected results.
2449 * gdb.base/pretty-print.c: New file.
2450 * gdb.base/pretty-print.exp: New file.
2451
2452 2019-03-25 Pedro Alves <palves@redhat.com>
2453
2454 * lib/gdb.exp (gdb_test_multiple): Split appends to $code and
2455 move comments outside list. Append '-i "" eof' section.
2456
2457 2019-03-22 Alan Hayward <alan.hayward@arm.com>
2458
2459 PR testsuite/25016
2460 * README: Add pie options.
2461 * gdb.base/break-interp.exp: Ensure pie is disabled.
2462 * gdb.base/dump.exp: Likewise.
2463 * lib/gdb.exp (gdb_compile): Add pie option.
2464
2465 2019-03-19 Tom Tromey <tromey@adacore.com>
2466
2467 * gdb.mi/mi2-cli-display.c: New file.
2468 * gdb.mi/mi2-cli-display.exp: New file.
2469
2470 2019-03-18 Joel Brobecker <brobecker@adacore.com>
2471 Tom Tromey <tromey@adacore.com>
2472
2473 * gdb.ada/ptype_array/pck.adb: New file.
2474 * gdb.ada/ptype_array/pck.ads: New file.
2475 * gdb.ada/ptype_array/foo.adb: New file.
2476 * gdb.ada/ptype_array.exp: New file.
2477
2478 2019-03-14 Tom Tromey <tromey@adacore.com>
2479
2480 * gdb.base/style.exp: Add "set style sources" test.
2481
2482 2019-03-13 Simon Marchi <simon.marchi@ericsson.com>
2483
2484 * mi-breakpoint-location-ena-dis.exp: Rename to ...
2485 * mi-breakpoint-multiple-locations.exp: ... this.
2486 (make_breakpoints_pattern): New proc.
2487 (do_test): Add mi_version parameter, test -break-insert,
2488 -break-info and =breakpoint-created.
2489
2490 2019-03-12 Andrew Burgess <andrew.burgess@embecosm.com>
2491
2492 * config/default.exp: Remove 'load_lib gdb.exp'.
2493 * config/monitor.exp: Likewise.
2494 * config/sid.exp: Likewise.
2495 * config/sim.exp: Likewise.
2496 * config/slite.exp: Likewise.
2497 * config/unix.exp: Likewise.
2498 * gdb.base/default.exp: Remove unhelpful comment.
2499
2500 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2501
2502 * gdb.fortran/type-kinds.exp: Extend to cover TYPE*SIZE cases.
2503
2504 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2505
2506 * gdb.fortran/intrinsics.exp: Extend to cover ABS.
2507
2508 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2509
2510 * gdb.fortran/type-kinds.exp: Update expected results.
2511
2512 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2513
2514 * gdb.fortran/type-kinds.exp: Test new integer type kind.
2515
2516 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2517
2518 * gdb.fortran/type-kinds.exp (test_cast_1_to_type_kind): New
2519 function.
2520 (test_basic_parsing_of_type_kinds): Expand types tested.
2521 (test_parsing_invalid_type_kinds): New function.
2522
2523 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2524
2525 * gdb.fortran/intrinsics.exp: New file.
2526 * gdb.fortran/intrinsics.f90: New file.
2527 * gdb.fortran/type-kinds.exp: New file.
2528
2529 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2530
2531 * gdb.fortran/dot-ops.exp: New file.
2532
2533 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2534
2535 * gdb.fortran/types.exp (test_logical_literal_types_accepted):
2536 Check upper and lower case logical literals.
2537
2538 2019-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
2539
2540 * gdb.fortran/types.exp (test_float_literal_types_accepted):
2541 Remove duplicate tests.
2542
2543 2019-03-06 Alan Hayward <alan.hayward@arm.com>
2544
2545 * lib/gdb.exp (builtin_cd): rename of cd.
2546 (cd): Override builtin.
2547
2548 2019-03-06 Richard Bunt <richard.bunt@arm.com>
2549
2550 * gdb.fortran/function-calls.exp: New file.
2551 * gdb.fortran/function-calls.f90: New test.
2552
2553 2019-03-04 Richard Bunt <richard.bunt@arm.com>
2554
2555 * gdb.fortran/short-circuit-argument-list.exp: Remove reliance
2556 on user program standard output.
2557 * gdb.fortran/short-circuit-argument-list.f90: Record function
2558 calls.
2559
2560 2019-02-28 Alan Hayward <alan.hayward@arm.com>
2561
2562 * lib/gdbserver-support.exp (gdbserver_start): Check for listen
2563 failure.
2564
2565 2019-02-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2566
2567 PR gdb/8527
2568 * gdb.base/interrupt-daemon-attach.c,
2569 gdb.base/interrupt-daemon-attach.exp: New test.
2570
2571 2019-02-27 Pedro Alves <palves@redhat.com>
2572
2573 * gdb.base/page.exp: Add tests for "set width/height -1".
2574
2575 2019-02-27 Pedro Alves <palves@redhat.com>
2576
2577 * gdb.base/page.exp: Add tests for "set/show width/height" with
2578 "infinite" values.
2579
2580 2019-02-27 Tom Tromey <tromey@adacore.com>
2581
2582 * lib/gdb.exp (skip_python_tests_prompt): Don't check for Python
2583 2.4.
2584 * gdb.python/py-finish-breakpoint.exp: Remove Python 2.4
2585 workaround.
2586
2587 2019-02-27 Andrew Burgess <andrew.burgess@embecosm.com>
2588
2589 * gdb.base/align.exp: Extend to compile in both C and C++, and add
2590 tests for structs with static members.
2591
2592 2019-02-26 Tom Tromey <tromey@adacore.com>
2593
2594 * gdb.python/py-value.exp (test_value_from_buffer): Check for
2595 ValueError, not TypeError.
2596
2597 2019-02-26 Kevin Buettner <kevinb@redhat.com>
2598
2599 * gdb.python/py-value.exp (test_value_from_buffer): New proc with
2600 call from main program.
2601
2602 2019-02-23 Joel Brobecker <brobecker@adacore.com>
2603
2604 * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
2605 * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
2606 * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
2607 * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
2608 * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
2609
2610 2019-02-22 Keith Seitz <keiths@redhat.com>
2611
2612 PR symtab/23853
2613 * gdb.base/symlink-sourcefile.c: New file.
2614 * gdb.base/symlink-sourcefile.exp: New file.
2615
2616 2019-02-20 Tom Tromey <tom@tromey.com>
2617
2618 * gdb.base/info_qt.exp: Update.
2619
2620 2019-02-19 Simon Marchi <simon.marchi@polymtl.ca>
2621
2622 * gdb.base/source.exp: Move "error in sourced script" code to
2623 the end.
2624 * gdb.base/source-error.gdb: Move contents to
2625 source-error-1.gdb. Add new code to source source-error-1.gdb.
2626 * gdb.base/source-error-1.gdb: New file, from previous
2627 source-error.gdb.
2628
2629 2019-02-17 Tom Tromey <tom@tromey.com>
2630
2631 * gdb.base/style.exp: Use -g3 to compile when possible. Add test
2632 for macro styling.
2633 * gdb.base/style.c (SOME_MACRO): New macro.
2634
2635 2019-02-17 Tom Tromey <tom@tromey.com>
2636
2637 * gdb.base/style.exp: Add line-wrapping tests.
2638 * gdb.base/page.exp: Add test for quitting during pagination.
2639
2640 2019-02-17 Joel Brobecker <brobecker@adacore.com>
2641
2642 * gdb.ada/big_packed_array: New testcase.
2643 * gdb.ada/homonym.exp: Fix incorrect expected output for
2644 "break <homonym__get_value>" test.
2645
2646 2019-02-13 Weimin Pan <weimin.pan@oracle.com>
2647
2648 PR breakpoints/21870
2649 * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
2650 and prepare_for_testing. Add comment.
2651 * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
2652 redundant cleanup call. Clean up comment.
2653
2654 2019-02-12 Weimin Pan <weimin.pan@oracle.com>
2655
2656 PR breakpoints/21870
2657 * gdb.arch/aarch64-dbreg-contents.exp: New file.
2658 * gdb.arch/aarch64-dbreg-contents.c: New file.
2659
2660 2019-02-10 Joel Brobecker <brobecker@adacore.com>
2661
2662 * gdb.ada/mi_ref_changeable: New testcase.
2663
2664 2019-02-07 Alan Hayward <alan.hayward@arm.com>
2665
2666 * gdb.base/attach.exp: Add double attach test.
2667
2668 2019-02-07 Simon Marchi <simon.marchi@polymtl.ca>
2669
2670 * lib/gdb.exp (default_gdb_start): Don't match pagination
2671 prompt.
2672 (gdb_init): Set stty_init.
2673
2674 2019-01-27 Tom Tromey <tom@tromey.com>
2675
2676 * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
2677 skip_python_tests.
2678
2679 2019-01-24 Alan Hayward <alan.hayward@arm.com>
2680
2681 * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
2682 New structure.
2683 (struct struct_static_02_02): Likewise.
2684 (struct struct_static_02_03): Likewise.
2685 (struct struct_static_02_04): Likewise.
2686 (struct struct_static_04_01): Likewise.
2687 (struct struct_static_04_02): Likewise.
2688 (struct struct_static_04_03): Likewise.
2689 (struct struct_static_04_04): Likewise.
2690 (struct struct_static_06_01): Likewise.
2691 (struct struct_static_06_02): Likewise.
2692 (struct struct_static_06_03): Likewise.
2693 (struct struct_static_06_04): Likewise.
2694 (cmp_struct_static_02_01): Likewise.
2695 (cmp_struct_static_02_02): Likewise.
2696 (cmp_struct_static_02_03): Likewise.
2697 (cmp_struct_static_02_04): Likewise.
2698 (cmp_struct_static_04_01): Likewise.
2699 (cmp_struct_static_04_02): Likewise.
2700 (cmp_struct_static_04_03): Likewise.
2701 (cmp_struct_static_04_04): Likewise.
2702 (cmp_struct_static_06_01): Likewise.
2703 (cmp_struct_static_06_02): Likewise.
2704 (cmp_struct_static_06_03): Likewise.
2705 (cmp_struct_static_06_04): Likewise.
2706 (call_all): Test new structs.
2707 * gdb.base/infcall-nested-structs.exp: Likewise.
2708
2709 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2710 * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
2711
2712 2019-01-21 Alan Hayward <alan.hayward@arm.com>
2713 * gdb.base/stack-protector.c: New test.
2714 * gdb.base/stack-protector.exp: New file.
2715 * gdb.cp/ovldbreak.exp: Only allow a single break line.
2716 * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
2717 option.
2718 (gdb_compile): Remove stack protector for GCC and prevent
2719 recursion.
2720
2721 2019-01-16 Keith Seitz <keiths@redhat.com>
2722
2723 PR gdb/23773
2724 * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
2725
2726 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2727
2728 * gdb.arch/vsx-regs.exp: Add tests that use the vector register
2729 aliases.
2730 * gdb.arch/altivec-regs.exp: Likewise. Fix indentation of two
2731 tests.
2732 * gdb.arch/powerpc-vector-regs.c: New file.
2733 * gdb.arch/powerpc-vector-regs.exp: New file.
2734
2735 2019-01-14 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
2736
2737 * gdb.arch/altivec-regs.exp: Fix the list passed to
2738 gdb_expect_list when testing "info vector".
2739
2740 2019-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
2741
2742 * gdb.base/style.exp: Don't include path in testname.
2743
2744 2019-01-10 Keith Seitz <keiths@redhat.com>
2745
2746 PR gdb/23712
2747 PR symtab/23010
2748 * gdb.dwarf2/multidictionary.exp: New file.
2749
2750 2019-01-09 Simon Marchi <simon.marchi@ericsson.com>
2751
2752 * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
2753 (test_gnuv3_style_demangling): ... this.
2754 (test_lucid_style_demangling): Remove.
2755 (test_arm_style_demangling): Remove.
2756 (test_hp_style_demangling): Remove.
2757 (do_tests): Remove calls to the above.
2758
2759 2019-01-09 Andrew Burgess <andrew.burgess@embecosm.com>
2760
2761 * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
2762 case.
2763
2764 2019-01-06 Tom Tromey <tom@tromey.com>
2765
2766 PR gdb/28155:
2767 * gdb.dwarf2/typedef-void-finish.exp: New file.
2768
2769 2018-12-28 Tom Tromey <tom@tromey.com>
2770 Simon Marchi <simark@simark.ca>
2771
2772 * gdb.base/jit-exec.exp: New file.
2773 * gdb.base/jit-exec.c: New file.
2774 * gdb.base/jit-execd.c: New file.
2775
2776 2018-12-28 Tom Tromey <tom@tromey.com>
2777
2778 * gdb.base/style.exp: Update test to check for address styling.
2779
2780 2018-12-28 Tom Tromey <tom@tromey.com>
2781
2782 * gdb.base/style.exp: Add test for styling of "Reading symbols"
2783 message.
2784
2785 2018-12-28 Tom Tromey <tom@tromey.com>
2786
2787 * gdb.base/style.exp: Add test for version number styling.
2788
2789 2018-12-28 Tom Tromey <tom@tromey.com>
2790
2791 * gdb.base/style.exp: Add test for print_address_symbolic.
2792
2793 2018-12-28 Tom Tromey <tom@tromey.com>
2794
2795 * gdb.base/style.exp: Add test for breakpoint setting.
2796
2797 2018-12-28 Tom Tromey <tom@tromey.com>
2798
2799 * gdb.base/style.exp: Add test for variable names.
2800
2801 2018-12-28 Tom Tromey <tom@tromey.com>
2802
2803 * gdb.base/style.exp: New file.
2804 * gdb.base/style.c: New file.
2805
2806 2018-12-28 Tom Tromey <tom@tromey.com>
2807
2808 * lib/gdb.exp (gdb_init): Set the TERM environment variable to
2809 "dumb".
2810 * gdb.base/readline.exp (operate_and_get_next): Save and restore
2811 the TERM environment variable.
2812
2813 2018-12-27 Tom Tromey <tom@tromey.com>
2814
2815 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
2816 pagination test.
2817
2818 2018-12-24 Andrew Burgess <andrew.burgess@embecosm.com>
2819
2820 * gdb.dwarf2/dw2-unusual-field-names.c: New file.
2821 * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
2822
2823 2018-12-24 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2824
2825 * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
2826 Filename a.adb changed to bp_fun_addr.adb.
2827 gdb.ada/bp_fun_addr.exp: Update test accordingly.
2828
2829 2018-12-21 Jan Vrany <jan.vrany@fit.cvut.cz>
2830
2831 * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
2832 non-PIE executables.
2833 * README: Mention the gdb,nopie_flag board setting.
2834 * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
2835 non-PIE executable.
2836 * gdb.arch/amd64-entry-value.exp: Likewise.
2837 * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
2838 * gdb.arch/i386-float.exp: Likewise.
2839 * gdb.arch/i386-signal.exp: Likewise.
2840 * gdb.mi/mi-reg-undefined.exp: Likewise.
2841
2842 2018-12-21 Paul Marechal <paul.marechal@ericsson.com>
2843
2844 PR gdb/23974
2845 * gdb.base/info-os.exp: Check return for unknown "info os" type.
2846
2847 2018-12-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2848
2849 * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
2850 Update order of results accordingly.
2851
2852 2018-12-12 Andrew Burgess <andrew.burgess@embecosm.com>
2853
2854 * gdb.base/annota1.exp: Update a test regexp.
2855
2856 2018-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
2857
2858 * gdb.base/float.exp: Handle RISC-V targets without an FPU.
2859
2860 2018-12-09 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2861
2862 * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
2863 (reuse_time): Initialize to REUSE_TIME_CAP.
2864 (check_rc): New function.
2865 (main): Use REUSE_TIME_CAP instead of hardcoded 60.
2866 Check pthread_create rc.
2867 (spawner_thread_func): Check pthread_create and pthread_join rc.
2868
2869 2018-12-08 Pedro Alves <palves@redhat.com>
2870
2871 * gdb.base/list.exp (test_forward_search): Rename to ...
2872 (test_forward_reverse_search): ... this. Also test reverse-search
2873 and the forward-search alias.
2874
2875 2018-12-05 Andrew Burgess <andrew.burgess@embecosm.com>
2876
2877 * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
2878 local timeout variable before return, and remove all local timeout
2879 variable entirely.
2880 (gdb_load): Likewise.
2881
2882 2018-12-01 Tom de Vries <tdevries@suse.de>
2883
2884 * gdb.base/gdb-caching-proc.exp: New file.
2885
2886 2018-11-25 Sergio Durigan Junior <sergiodj@redhat.com>
2887
2888 * Makefile.in (TIMESTAMP): New variable.
2889 (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
2890 command.
2891 (check-single-racy): Likewise.
2892 (check/%.exp): Likewise.
2893 (check-racy/%.exp): Likewise.
2894 (workers/%.worker): Likewise.
2895 (build-perf): Likewise.
2896 (check-perf): Likewise.
2897 * README: Describe new "TS" and "TS_FORMAT" variables.
2898 * print-ts.py: New file.
2899
2900 2018-11-21 Benno Fünfstück <benno.fuenfstueck@gmail.com>
2901
2902 PR python/23714
2903 * gdb.python/python.exp: Test command repetition after
2904 gdb.execute.
2905
2906 2018-11-20 Andrew Burgess <andrew.burgess@embecosm.com>
2907
2908 * gdb.opt/inline-break.exp: Add test that info breakpoint output
2909 is correctly aligned.
2910
2911 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2912
2913 * gdb.ada/info_auto_lang.exp: New testcase.
2914 * gdb.ada/info_auto_lang/global_pack.ads: New file.
2915 * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
2916 * gdb.ada/info_auto_lang/some_c.c: New file.
2917
2918 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2919
2920 * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
2921 FUNC_lang language syntax.
2922
2923 2018-11-20 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2924
2925 * gdb.base/info_minsym.c: New file.
2926 * gdb.base/info_minsym.exp: New file.
2927
2928 2018-11-19 Tom Tromey <tom@tromey.com>
2929
2930 PR rust/23625:
2931 * gdb.rust/simple.exp: Add ptype test. Update expected output.
2932 * gdb.rust/expr.exp: Update expected output. Change one test.
2933
2934 2018-11-19 Tom Tromey <tom@tromey.com>
2935
2936 * gdb.rust/simple.rs: Don't initialize empty_enum_value.
2937
2938 2018-11-19 Pedro Alves <palves@redhat.com>
2939
2940 * gdb.base/warning.exp: Don't override INTERNAL_FLAGS. Use
2941 gdb_spawn_with_cmdline_opts instead of gdb_start. Check that we
2942 see the expected warning.
2943
2944 2018-11-16 Alan Hayward <alan.hayward@arm.com>
2945
2946 PR gdb/22736:
2947 * gdb.cp/infcall-nodebug-lib.c: New test.
2948 * gdb.cp/infcall-nodebug-main.c: New test.
2949 * gdb.cp/infcall-nodebug.exp: New file.
2950
2951 2018-11-12 Simon Marchi <simon.marchi@polymtl.ca>
2952
2953 * gdb.base/skip.exp: Add standard_testfile. Add "skip delete"
2954 completer tests.
2955
2956 2018-11-09 Tom de Vries <tdevries@suse.de>
2957
2958 * gdb.base/msym-lang.c: New test.
2959 * gdb.base/msym-lang.exp: New file.
2960 * gdb.base/msym-lang-main.c: New test.
2961
2962 2018-11-08 Tom Tromey <tom@tromey.com>
2963
2964 PR gdb/23555:
2965 PR gdb/23838:
2966 * gdb.base/warning.exp: New file.
2967
2968 2018-11-08 Jan Beulich <jbeulich@suse.com>
2969
2970 * testsuite/gdb.arch/i386-avx512.c,
2971 testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
2972
2973 2018-11-08 Andrew Burgess <andrew.burgess@embecosm.com>
2974
2975 * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
2976 point hardware.
2977
2978 2018-11-07 Andrew Burgess <andrew.burgess@embecosm.com>
2979
2980 * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
2981 * gdb.dwarf2/missing-type-name.exp: New file.
2982
2983 2018-11-06 Tom de Vries <tdevries@suse.de>
2984
2985 * gdb.base/many-headers.c: New test.
2986 * gdb.base/many-headers.exp: New file.
2987
2988 2018-11-06 Jim Wilson <jimw@sifive.com>
2989
2990 * gdb.base/code_elim.exp: For riscv, set additional_flags
2991 to include -msmall-data-limit=0.
2992
2993 2018-11-01 Joel Brobecker <brobecker@adacore.com>
2994
2995 * gdb.ada/watch_minus_l: New testcase.
2996
2997 2018-11-01 Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2998
2999 * gdb.arch/aix-sighandle.c: New file.
3000 * gdb.arch/aix-sighandle.exp: New file.
3001
3002 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3003
3004 * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
3005 registers being unions.
3006
3007 2018-10-31 Tom de Vries <tdevries@suse.de>
3008
3009 * lib/valgrind.exp: New file.
3010 (vgdb_start, vgdb_stop): New procs, factored out of ...
3011 * gdb.base/valgrind-bt.exp: ... here, ...
3012 * gdb.base/valgrind-disp-step.exp: ... here and ...
3013 * gdb.base/valgrind-infcall.exp: ... here.
3014
3015 2018-10-31 Tom de Vries <tdevries@suse.de>
3016
3017 * lib/gdb.exp (get_valueof): Don't output read value in test name.
3018
3019 2018-10-31 Andrew Burgess <andrew.burgess@embecosm.com>
3020
3021 * gdb.dwarf2/void-type.c: New file.
3022 * gdb.dwarf2/void-type.exp: New file.
3023
3024 2018-10-27 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3025
3026 * gdb.base/info_qt.c: New file.
3027 * gdb.base/info_qt.exp: New file.
3028
3029 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3030
3031 * gdb.arch/powerpc-htm-regs.c: New file.
3032 * gdb.arch/powerpc-htm-regs.exp: New file.
3033
3034 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3035
3036 * gdb.arch/powerpc-tar.c: New file.
3037 * gdb.arch/powerpc-tar.exp: New file.
3038
3039 2018-10-26 Pedro Franco de Carvalho <pedromfc@linux.ibm.com>
3040
3041 * gdb.arch/powerpc-ppr-dscr.c: New file.
3042 * gdb.arch/powerpc-ppr-dscr.exp: New file.
3043
3044 2018-10-25 Tom de Vries <tdevries@suse.de>
3045
3046 * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
3047
3048 2018-10-24 Tom de Vries <tdevries@suse.de>
3049
3050 * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
3051 longer exists error.
3052
3053 2018-10-24 Tom de Vries <tdevries@suse.de>
3054
3055 * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
3056
3057 2018-10-24 Tom de Vries <tdevries@suse.de>
3058
3059 * gdb.base/valgrind-db-attach.exp: Handle removed support for
3060 --db-attach in valgrind.
3061
3062 2018-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
3063
3064 * gdb.arch/riscv-reg-aliases.c: New file.
3065 * gdb.arch/riscv-reg-aliases.exp: New file.
3066
3067 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3068
3069 * gdb.python/py-cmd.exp: Check for gdb_prompt.
3070
3071 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3072
3073 * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
3074
3075 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3076
3077 * gdb.cp/ovldbreak.exp: Fix regexps.
3078
3079 2018-10-19 Alan Hayward <alan.hayward@arm.com>
3080
3081 * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
3082
3083 2018-10-18 Sergio Durigan Junior <sergiodj@redhat.com>
3084
3085 PR cli/23785
3086 * gdb.base/restore.exp: New test to check if "restore" with an
3087 invalid file doesn't segfault.
3088
3089 2018-10-18 Tom de Vries <tdevries@suse.de>
3090
3091 * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
3092 * gdb.ada/excep_handle.exp: Same.
3093 * gdb.ada/mi_string_access.exp: Same.
3094 * gdb.ada/mi_var_union.exp: Same.
3095 * gdb.arch/arc-analyze-prologue.exp: Same.
3096 * gdb.arch/arc-decode-insn.exp: Same.
3097 * gdb.base/readnever.exp: Same.
3098 * gdb.fortran/printing-types.exp: Same.
3099 * gdb.guile/scm-lazy-string.exp: Same.
3100
3101 2018-10-16 Tom de Vries <tdevries@suse.de>
3102
3103 PR gdb/23730
3104 * gdb.base/catch-follow-exec.c: Add copyright notice.
3105 * gdb.base/catch-follow-exec.exp: Rewrite to use
3106 gdb_spawn_with_cmdline_opts. Require gdb-native.
3107
3108 2018-10-12 Sandra Loosemore <sandra@codesourcery.com>
3109
3110 * gdb.trace/actions-changed.exp: Check for arch support.
3111 * gdb.trace/actions.exp: Likewise.
3112 * gdb.trace/ax.exp: Likewise.
3113 * gdb.trace/backtrace.exp: Likewise.
3114 * gdb.trace/change-loc.exp: Likewise.
3115 * gdb.trace/deltrace.exp: Likewise.
3116 * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
3117 * gdb.trace/ftrace.exp: Likewise.
3118 * gdb.trace/infotrace.exp: Check for arch support.
3119 * gdb.trace/mi-trace-frame-collected.exp: Likewise.
3120 * gdb.trace/mi-tracepoint-changed.exp: Likewise.
3121 * gdb.trace/mi-tsv-changed.exp: Likewise.
3122 * gdb.trace/packetlen.exp: Likewise.
3123 * gdb.trace/passc-dyn.exp: Likewise.
3124 * gdb.trace/passcount.exp: Likewise.
3125 * gdb.trace/pending.exp: Likewise.
3126 * gdb.trace/range-stepping.exp: Check for shlib support.
3127 * gdb.trace/report.exp: Check for arch support.
3128 * gdb.trace/save-trace.exp: Likewise.
3129 * gdb.trace/signal.exp: Check for signal support.
3130 * gdb.trace/tfind.exp: Check for arch support.
3131 * gdb.trace/trace-break.exp: Check for arch and shlib support.
3132 * gdb.trace/trace-common.h: Add comment.
3133 * gdb.trace/trace-condition.exp: Check for shlib and arch support.
3134 * gdb.trace/trace-enable-disable.exp: Likewise.
3135 * gdb.trace/trace-mt.exp: Likewise. Remove redundant untested call.
3136 * gdb.trace/tracecmd.exp: Check for arch support.
3137 * gdb.trace/tspeed.exp: Check for shlib and target support.
3138 * gdb.trace/tstatus.exp: Check for arch support.
3139 * gdb.trace/tsv.exp: Likewise.
3140 * gdb.trace/while-dyn.exp: Likewise.
3141 * gdb.trace/while-stepping.exp: Likewise.
3142 * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
3143
3144 2018-10-12 Simon Marchi <simon.marchi@ericsson.com>
3145
3146 * gdb.trace/tspeed.exp: Remove nowarnings.
3147 (prepare_for_trace_test): Declare "global ipalib".
3148 * gdb.trace/tspeed.c: Include unistd.h.
3149 (main): Remove superfluous printf argument.
3150
3151 2018-10-11 Sandra Loosemore <sandra@codesourcery.com>
3152
3153 * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
3154 directory prefix on the filename.
3155
3156 2018-10-10 Sergio Durigan Junior <sergiodj@redhat.com>
3157
3158 * gdb.gdb/unittest.exp: Update expected message informing that
3159 selftests have been disabled.
3160 * gdb.server/unittest.exp: Likewise.
3161
3162 2018-10-09 Tom de Vries <tdevries@suse.de>
3163
3164 * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
3165 with runto_main.
3166
3167 2018-10-08 Weimin Pan <weimin.pan@oracle.com>
3168
3169 PR c++/16841
3170 * gdb.cp/virtbase2.cc: New file.
3171 * gdb.cp/virtbase2.exp: New file.
3172
3173 2018-10-06 Tom Tromey <tom@tromey.com>
3174
3175 PR python/19399:
3176 * gdb.python/py-inferior.exp: Add architecture test.
3177
3178 2018-10-06 Tom Tromey <tom@tromey.com>
3179
3180 * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
3181 * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
3182
3183 2018-10-06 Tom Tromey <tom@tromey.com>
3184
3185 * gdb.python/py-breakpoint.exp (check_last_event): Check location
3186 of a "throw" catchpoint.
3187
3188 2018-10-06 Sergio Durigan Junior <sergiodj@redhat.com>
3189
3190 * gdb.base/info-proc.exp: Update string expected from "help info
3191 proc".
3192
3193 2018-10-04 Tom Tromey <tom@tromey.com>
3194
3195 * gdb.cp/maint.exp (test_invalid_name): Update expected output.
3196 * gdb.gdb/complaints.exp (test_short_complaints): Remove.
3197 (test_initial_complaints, test_empty_complaints): Update.
3198 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3199
3200 2018-10-04 Tom Tromey <tom@tromey.com>
3201
3202 PR cli/19551:
3203 * lib/mi-support.exp (mi_gdb_file_cmd): Update.
3204 * lib/gdb.exp (gdb_file_cmd): Update.
3205 * gdb.stabs/weird.exp (print_weird_var): Update.
3206 * gdb.server/solib-list.exp: Update.
3207 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
3208 * gdb.mi/mi-cli.exp: Update.
3209 * gdb.linespec/linespec.exp: Update.
3210 * gdb.dwarf2/dw2-stack-boundary.exp: Update.
3211 * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
3212 * gdb.cp/cp-relocate.exp: Update.
3213 * gdb.base/sym-file.exp: Update.
3214 * gdb.base/relocate.exp: Update.
3215 * gdb.base/readnever.exp: Update.
3216 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
3217 * gdb.base/kill-detach-inferiors-cmd.exp: Update.
3218 * gdb.base/dbx.exp (gdb_file_cmd): Update.
3219 * gdb.base/code_elim.exp: Update.
3220 * gdb.base/break-unload-file.exp (test_break): Update.
3221 * gdb.base/break-interp.exp (test_attach_gdb): Update.
3222 * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
3223 Update.
3224 * gdb.base/attach.exp (do_attach_tests): Update.
3225 * gdb.base/sepdebug.exp: Update.
3226 * gdb.python/py-section-script.exp: Update.
3227
3228 2018-10-04 Tom Tromey <tom@tromey.com>
3229
3230 PR cli/22234:
3231 * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
3232 * gdb.gdb/complaints.exp (test_short_complaints): Update expected
3233 output.
3234
3235 2018-10-04 Tom Tromey <tom@tromey.com>
3236
3237 * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
3238 set width and height to 0.
3239 (test_command_line_attach_run): Use -quiet.
3240
3241 2018-10-03 Sandra Loosemore <sandra@codesourcery.com>
3242
3243 * lib/gdb.exp (skip_ifunc_tests): New.
3244 * gdb.base/gnu-ifunc.exp: Skip if no ifunc support. Handle
3245 other compile failures.
3246 * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
3247
3248 2018-10-01 Simon Marchi <simon.marchi@ericsson.com>
3249
3250 * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
3251 is_amd64_regs_target.
3252
3253 2018-10-01 Alan Hayward <alan.hayward@arm.com>
3254
3255 * gdb.arch/aarch64-sighandler-regs.c: New test.
3256 * gdb.arch/aarch64-sighandler-regs.exp: New file.
3257 * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
3258
3259 2018-10-01 Markus Metzger <markus.t.metzger@intel.com>
3260
3261 * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
3262 assembly.
3263
3264 2018-09-28 Andrew Burgess <andrew.burgess@embecosm.com>
3265
3266 * gdb.base/frame-selection.exp: New file.
3267 * gdb.base/frame-selection.c: New file.
3268
3269 2018-09-27 Alan Hayward <alan.hayward@arm.com>
3270
3271 * gdb.threads/check-libthread-db.c (thread_routine): Use a
3272 pthread barrier.
3273 (main): Likewise.
3274
3275 2018-09-26 Andrew Burgess <andrew.burgess@embecosm.com>
3276
3277 * gdb.base/large-frame-1.c: New file.
3278 * gdb.base/large-frame-2.c: New file.
3279 * gdb.base/large-frame.exp: New file.
3280 * gdb.base/large-frame.h: New file.
3281
3282 2018-09-24 Jozef Lawrynowicz <jozef.l@mittosystems.com>
3283
3284 PR gdb/20948
3285 * gdb.base/write_mem.exp: New test.
3286 * gdb.base/write_mem.c: Likewise.
3287
3288 2018-09-23 Tom Tromey <tom@tromey.com>
3289
3290 PR python/18852:
3291 * gdb.python/py-parameter.exp: Add test for parameter that throws
3292 on "set".
3293
3294 2018-09-23 Tom Tromey <tom@tromey.com>
3295
3296 PR python/17284:
3297 * gdb.python/py-template.exp (test_template_arg): Add test for
3298 negative template argument number.
3299
3300 2018-09-23 Tom Tromey <tom@tromey.com>
3301
3302 PR python/14062:
3303 * gdb.python/python.exp: Add test for post_event error.
3304
3305 2018-09-23 Tom Tromey <tom@tromey.com>
3306
3307 PR python/18170:
3308 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
3309 convert pointers to int and long.
3310
3311 2018-09-23 Tom Tromey <tom@tromey.com>
3312
3313 PR python/20126:
3314 * gdb.python/py-value.exp (test_value_numeric_ops): Add
3315 signed-ness conversion tests.
3316
3317 2018-09-23 Tom Tromey <tom@tromey.com>
3318
3319 PR python/18352;
3320 * gdb.python/py-value.exp (test_float_conversion): New proc.
3321 Use it.
3322
3323 2018-09-20 Hafiz Abid Qadeer <abidh@codesourcery.com>
3324
3325 gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
3326
3327 2018-09-18 Sandra Loosemore <sandra@codesourcery.com>
3328
3329 * gdb.base/complete-empty.exp: Skip tab-completion tests if
3330 no readline.
3331 * gdb.base/utf8-identifiers.exp: Likewise.
3332 * gdb.cp/cpcompletion.exp: Likewise.
3333 * gdb.linespec/cpcompletion.exp: Likewise.
3334 * gdb.linespec/cpls-abi-tag.exp: Likewise.
3335 * gdb.linespec/cpls-ops.exp: Likewise.
3336
3337 2018-09-19 Richard Bunt <richard.bunt@arm.com>
3338 Chris January <chris.january@arm.com>
3339
3340 * gdb.cp/koenig.exp: Extend to test logical short circuiting.
3341 * gdb.fortran/short-circuit-argument-list.exp: New file.
3342 * gdb.fortran/short-circuit-argument-list.f90: New test.
3343
3344 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3345
3346 * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
3347 "arch=" keyword when executing "-stack-list-frames".
3348
3349 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3350
3351 * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
3352 "arch=" keyword when executing "-stack-list-frames".
3353
3354 2018-09-18 Sergio Durigan Junior <sergiodj@redhat.com>
3355
3356 * gdb.ada/complete.exp: Expect for "@" when doing "complete
3357 break ada".
3358
3359 2018-09-17 Simon Marchi <simon.marchi@polymtl.ca>
3360
3361 PR python/23669
3362 * gdb.python/python.exp: Test gdb.execute("show commands").
3363
3364 2018-09-16 Tom Tromey <tom@tromey.com>
3365
3366 * gdb.base/new-ui.exp (do_execution_tests): Update.
3367 * gdb.base/dbx.exp (test_breakpoints): Update.
3368
3369 2018-09-14 Alan Hayward <alan.hayward@arm.com>
3370
3371 * lib/gdb.exp (gdb_simple_compile): Add proc.
3372 (is_elf_target): Use gdb_simple_compile.
3373 (skip_altivec_tests): Likewise.
3374 (skip_vsx_tests): Likewise.
3375 (skip_tsx_tests): Likewise.
3376 (skip_btrace_tests): Likewise.
3377 (skip_btrace_pt_tests): Likewise.
3378 (gdb_can_simple_compile): Likewise.
3379 (gdb_has_argv0): Likewise.
3380 (gdb_target_symbol_prefix): Likewise.
3381 (target_supports_scheduler_locking): Likewise.
3382
3383 2018-09-13 Tom Tromey <tom@tromey.com>
3384
3385 * Makefile.in (TAGS): Recognize proc_with_prefix and
3386 gdb_caching_proc.
3387
3388 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3389
3390 * gdb.python/py-progspace.exp: Test the Progspace.objfiles
3391 method.
3392
3393 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3394
3395 * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
3396 and a few other Inferior properties when the Inferior is no
3397 longer valid.
3398
3399 2018-09-13 Tom Tromey <tom@tromey.com>
3400
3401 PR rust/23650:
3402 * gdb.rust/simple.exp: Add test for enum field access error.
3403
3404 2018-09-13 Tom Tromey <tom@tromey.com>
3405
3406 PR rust/23626:
3407 * gdb.rust/simple.rs (EmptyEnum): New type.
3408 (main): Use it.
3409 * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
3410
3411 2018-09-13 Simon Marchi <simon.marchi@ericsson.com>
3412
3413 * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
3414 * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
3415 * gdb.python/py-symtab.exp: Update test printing an objfile.
3416
3417 2018-09-12 Simon Marchi <simon.marchi@ericsson.com>
3418
3419 * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
3420 object.
3421
3422 2018-09-12 Alan Hayward <alan.hayward@arm.com>
3423
3424 * lib/gdb.exp (gdb_can_simple_compile): Add proc.
3425 (support_complex_tests): Use gdb_can_simple_compile.
3426 (is_ilp32_target): Likewise.
3427 (is_lp64_target): Likewise.
3428 (is_64_target): Likewise.
3429 (is_amd64_regs_target): Likewise.
3430 (is_aarch32_target): Likewise.
3431 (gdb_int128_helper): Likewise.
3432
3433 2018-09-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3434
3435 * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
3436
3437 2018-09-10 Jerome Guitton <guitton@adacore.com>
3438
3439 * gdb.ada/same_component_name: Add test for case of tagged record
3440 with variable-length fields.
3441
3442 2018-09-10 Xavier Roirand <roirand@adacore.com>
3443
3444 * gdb.ada/access_to_unbounded_array.exp: New testcase.
3445 * gdb.ada/access_to_unbounded_array/foo.adb: New file.
3446 * gdb.ada/access_to_unbounded_array/pack.adb: New file.
3447 * gdb.ada/access_to_unbounded_array/pack.ads: New file.
3448
3449 2018-09-10 Xavier Roirand <roirand@adacore.com>
3450
3451 * gdb.ada/mi_string_access.exp: New testcase.
3452 * gdb.ada/mi_string_access/bar.adb: New file.
3453 * gdb.ada/mi_string_access/pck.adb: New file.
3454 * gdb.ada/mi_string_access/pck.asd: New file.
3455
3456 2018-09-10 Xavier Roirand <roirand@adacore.com>
3457
3458 * gdb.ada/mi_var_union.exp: New testcase.
3459 * gdb.ada/mi_var_union/bar.adb: New file.
3460 * gdb.ada/mi_var_union/pck.adb: New file.
3461 * gdb.ada/mi_var_union/pck.asd: New file.
3462
3463 2018-09-08 Tom Tromey <tom@tromey.com>
3464
3465 * gdb.python/py-prettyprint.exp: Use with_test_prefix.
3466
3467 2018-09-08 Tom Tromey <tom@tromey.com>
3468
3469 PR python/16047:
3470 * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
3471 (register_pretty_printers): Register new printer.
3472 * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
3473 test.
3474 * gdb.python/py-prettyprint.c (int_type3): New typedef.
3475 (an_int_type3): New global.
3476
3477 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3478
3479 * gdb.ada/expr_with_funcall: New testcase.
3480
3481 2018-09-08 Joel Brobecker <brobecker@adacore.com>
3482
3483 * gdb.ada/packed_array_assign: New testcase.
3484
3485 2018-09-07 Andrew Burgess <andrew.burgess@embecosm.com>
3486
3487 * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
3488 names, and add test prefixes to make test names unique.
3489
3490 2018-09-05 Tom de Vries <tdevries@suse.de>
3491
3492 * gdb.dwarf2/varval.exp: Add test.
3493
3494 2018-09-04 Gary Benson <gbenson@redhat.com>
3495
3496 * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
3497 'eof' before 'wait -i'. Use remote_close and clear_gdb_spawn_id.
3498
3499 2018-08-31 Tom Tromey <tom@tromey.com>
3500
3501 * gdb.rust/simple.rs: Rename second variable "v".
3502
3503 2018-08-30 Andrew Burgess <andrew.burgess@embecosm.com>
3504
3505 * gdb.base/funcargs.c (use_a): New function.
3506 (recurse): Call use_a.
3507
3508 2018-08-29 Keith Seitz <keiths@redhat.com>
3509
3510 * gdb.compile/compile-cplus-anonymous.cc: New file.
3511 * gdb.compile/compile-cplus-anonymous.exp: New file.
3512 * gdb.compile/compile-cplus-array-decay.cc: New file.
3513 * gdb.compile/compile-cplus-array-decay.exp: New file.
3514 * gdb.compile/compile-cplus-inherit.cc: New file.
3515 * gdb.compile/compile-cplus-inherit.exp: New file.
3516 * gdb.compile/compile-cplus-member.cc: New file.
3517 * gdb.compile/compile-cplus-member.exp: New file.
3518 * gdb.compile/compile-cplus-method.cc: New file.
3519 * gdb.compile/compile-cplus-method.exp: New file.
3520 * gdb.compile/compile-cplus-mod.c: "New" file.
3521 * gdb.compile/compile-cplus-namespace.cc: New file.
3522 * gdb.compile/compile-cplus-namespace.exp: New file.
3523 * gdb.compile/compile-cplus-nested.cc: New file.
3524 * gdb.compile/compile-cplus-nested.exp: New file.
3525 * gdb.compile/compile-cplus-print.c: "New" file.
3526 * gdb.compile/compile-cplus-print.exp: "New" file.
3527 * gdb.compile/compile-cplus-virtual.cc: New file.
3528 * gdb.compile/compile-cplus-virtual.exp: New file.
3529 * gdb.compile/compile-cplus.c: "New" file.
3530 * gdb.compile/compile-cplus.exp: "New" file.
3531 * lib/compile-support.exp: New file.
3532
3533 2018-08-16 Gary Benson <gbenson@redhat.com>
3534
3535 PR gdb/13000:
3536 * gdb.base/batch-exit-status.exp: New file.
3537 * gdb.base/batch-exit-status.good-commands: Likewise.
3538 * gdb.base/batch-exit-status.bad-commands: Likewise.
3539
3540 2018-08-29 Alan Hayward <alan.hayward@arm.com>
3541
3542 * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
3543 (struct struct02): Likewise.
3544 (struct struct03): Likewise.
3545 (struct struct04): Likewise.
3546 (struct struct_01_01): New struct.
3547 (struct struct_01_02): Likewise.
3548 (struct struct_01_03): Likewise.
3549 (struct struct_01_04): Likewise.
3550 (struct struct_02_01): Likewise.
3551 (struct struct_02_02): Likewise.
3552 (struct struct_02_03): Likewise.
3553 (struct struct_02_04): Likewise.
3554 (struct struct_04_01): Likewise.
3555 (struct struct_04_02): Likewise.
3556 (struct struct_04_03): Likewise.
3557 (struct struct_04_04): Likewise.
3558 (struct struct_05_01): Likewise.
3559 (struct struct_05_02): Likewise.
3560 (struct struct_05_03): Likewise.
3561 (struct struct_05_04): Likewise.
3562 (cmp_struct01): Remove function.
3563 (cmp_struct02): Likewise.
3564 (cmp_struct03): Likewise.
3565 (cmp_struct04): Likewise.
3566 (cmp_struct_01_01): Add Function.
3567 (cmp_struct_01_02): Likewise.
3568 (cmp_struct_01_03): Likewise.
3569 (cmp_struct_01_04): Likewise.
3570 (cmp_struct_02_01): Likewise.
3571 (cmp_struct_02_02): Likewise.
3572 (cmp_struct_02_03): Likewise.
3573 (cmp_struct_02_04): Likewise.
3574 (cmp_struct_04_01): Likewise.
3575 (cmp_struct_04_02): Likewise.
3576 (cmp_struct_04_03): Likewise.
3577 (cmp_struct_04_04): Likewise.
3578 (cmp_struct_05_01): Likewise.
3579 (cmp_struct_05_02): Likewise.
3580 (cmp_struct_05_03): Likewise.
3581 (cmp_struct_05_04): Likewise.
3582 (call_all): Add new structs.
3583 * gdb.base/infcall-nested-structs.exp: Likewise.
3584
3585 2018-08-27 Jan Vrany <jan.vrany@fit.cvut.cz>
3586
3587 * gdb.python/py-framefilter-mi.exp: Update regexp to
3588 check for "arch" field in frame output.
3589
3590 2018-08-23 Kevin Buettner <kevinb@redhat.com>
3591
3592 * gdb.dwarf2/dw2-ranges-func.c: New file.
3593 * gdb.dwarf2/dw2-ranges-func.exp: New file.
3594
3595 2018-08-22 Simon Marchi <simon.marchi@polymtl.ca>
3596
3597 * gdb.base/term.exp: Compare terminal settings with values from
3598 the inferior.
3599 * gdb.base/term.c: Get and set terminal settings.
3600
3601 2018-08-22 Jan Vrany <jan.vrany@fit.cvut.cz>
3602
3603 * lib/mi-support.exp (mi_expect_stop): Update regexp to
3604 accommodate new "arch" field in frame output.
3605 * gdb.mi/mi-return.exp: Likewise.
3606 * gdb.mi/mi-stack.exp: Likewise.
3607 * gdb.mi/mi-syn-frame.exp: Likewise.
3608 * gdb.mi/user-selected-context-sync.exp: Likewise.
3609
3610 2018-08-19 Michael Spang <spang@google.com>
3611
3612 PR gdb/11786
3613 * gdb.base/gcore-tls-pie.c: New file.
3614 * gdb.base/gcore-tls-pie.exp: New file.
3615
3616 2018-08-18 Kevin Buettner <kevinb@redhat.com>
3617
3618 * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
3619 * gdb.dwarf2/varval.c: New file.
3620 * gdb.dwarf2/varval.exp: New file.
3621
3622 2018-08-17 Alan Hayward <alan.hayward@arm.com>
3623
3624 PR gdb/18931
3625 * gdb.arch/aarch64-fp.c (main): Fix asm registers.
3626
3627 2018-08-16 Keith Seitz <keiths@redhat.com>
3628
3629 * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
3630 tests expected to pass.
3631
3632 2018-08-14 Jan Vrany <jan.vrany@fit.cvut.cz>
3633
3634 * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
3635 -data-disassemble -a.
3636 (test_disassembly_bogus_args): Likewise.
3637
3638 2018-08-14 Andrew Burgess <andrew.burgess@embecosm.com>
3639
3640 * gdb.mi/list-thread-groups-available.exp: Update test regexp.
3641
3642 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3643
3644 * gdb.base/vla-optimized-out.exp: Add new test.
3645
3646 2018-08-09 Andrew Burgess <andrew.burgess@embecosm.com>
3647
3648 * gdb.base/vla-optimized-out-o3.exp: Delete.
3649 * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
3650 * gdb.base/vla-optimized-out.exp: Extend to cover all of the
3651 deleted tests.
3652
3653 2018-08-08 Andrew Burgess <andrew.burgess@embecosm.com>
3654
3655 PR gdb/18050:
3656 * gdb.server/extended-remote-restart.c: New file.
3657 * gdb.server/extended-remote-restart.exp: New file.
3658
3659 2018-08-07 Simon Marchi <simon.marchi@polymtl.ca>
3660
3661 * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
3662 "set variable index = 42".
3663
3664 2018-08-07 Simon Marchi <simon.marchi@ericsson.com>
3665
3666 * boards/index-cache-gdb.exp: New file.
3667 * gdb.dwarf2/index-cache.exp: New file.
3668 * gdb.dwarf2/index-cache.c: New file.
3669 * gdb.base/maint.exp: Check if we are using the index cache.
3670
3671 2018-08-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3672
3673 * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
3674 MAKEFLAGS.
3675
3676 2018-08-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3677
3678 * dg-extract-results.sh: Move to toplevel contrib.
3679 * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
3680 * Makefile.in (check-parallel-racy): Likewise.
3681
3682 2018-08-06 Andrew Burgess <andrew.burgess@embecosm.com>
3683
3684 * lib/gdb.exp (target_supports_scheduler_locking): New proc.
3685 * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
3686 tests if the target supports scheduler locking.
3687
3688 2018-08-04 Tom de Vries <tdevries@suse.de>
3689
3690 * gdb.python/py-rbreak.exp: Fix rbreak regexp.
3691
3692 2018-08-02 Tom Tromey <tom@tromey.com>
3693
3694 PR symtab/16842.
3695 * gdb.cp/temargs.exp: Test "info address" of a template
3696 parameter.
3697
3698 2018-07-31 Jan Vrany <jan.vrany@fit.cvut.cz>
3699
3700 * gdb.python/py-mi-var-info-path-expression.c: New file.
3701 * gdb.python/py-mi-var-info-path-expression.py: New file.
3702 * gdb.python/py-mi-var-info-path-expression.exp: New file.
3703
3704 2018-07-30 Sergio Durigan Junior <sergiodj@redhat.com>
3705
3706 * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
3707 error after "cannot resolve name" string.
3708
3709 2018-07-28 Andrew Burgess <andrew.burgess@embecosm.com>
3710
3711 * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
3712 started.
3713 * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
3714
3715 2018-07-28 Tom de Vries <tdevries@suse.de>
3716
3717 * gdb.base/vla-optimized-out-o3-strict.exp: New file.
3718
3719 2018-07-26 Tom de Vries <tdevries@suse.de>
3720
3721 * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
3722
3723 2018-07-26 Andrew Burgess <andrew.burgess@embecosm.com>
3724
3725 * gdb.base/maint.exp: Add check that dwarf unwinders control flag
3726 is visible.
3727
3728 2018-07-26 Tom de Vries <tdevries@suse.de>
3729
3730 PR breakpoints/23366
3731 * gdb.base/catch-follow-exec.c: New test.
3732 * gdb.base/catch-follow-exec.exp: New file.
3733
3734 2018-07-25 Tom de Vries <tdevries@suse.de>
3735
3736 * gdb.base/vla-optimized-out-o3.exp: New file. Reuse
3737 vla-optimized-out.c.
3738
3739 2018-07-25 Jan Vrany <jan.vrany@fit.cvut.cz>
3740
3741 * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
3742 * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
3743
3744 2018-07-20 Tom de Vries <tdevries@suse.de>
3745
3746 * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
3747 NOCLONE macro.
3748 * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
3749
3750 2018-07-19 Tom de Vries <tdevries@suse.de>
3751
3752 * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
3753 regular expression.
3754
3755 2018-07-18 Tom de Vries <tdevries@suse.de>
3756
3757 * gdb.base/vla-optimized-out.c: New test.
3758 * gdb.base/vla-optimized-out.exp: New file.
3759
3760 2018-07-13 Sergio Durigan Junior <sergiodj@redhat.com>
3761
3762 * lib/gdbserver-support.exp (gdbserver_start): Expect for the
3763 message "No address associated with hostname" when gdbserver
3764 cannot resolve the hostname.
3765
3766 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3767
3768 * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
3769 Add some test prefixes to make tests unique.
3770
3771 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3772
3773 * gdb.base/frameapply.c: New file.
3774 * gdb.base/frameapply.exp: New file.
3775
3776 2018-07-12 Philippe Waroquiers <philippe.waroquiers@skynet.be>
3777
3778 * gdb.base/skip.exp: Update expected error message.
3779
3780 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3781 Jan Kratochvil <jan.kratochvil@redhat.com>
3782 Paul Fertser <fercerpav@gmail.com>
3783 Tsutomu Seki <sekiriki@gmail.com>
3784
3785 * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
3786 parameter.
3787 * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
3788 by default.
3789 * boards/native-gdbserver.exp: Likewise.
3790 * gdb.server/run-without-local-binary.exp: Improve regexp used
3791 for detecting when a remote debugging connection succeeds.
3792 * gdb.server/server-connect.exp: New file.
3793 * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
3794 Do not prefix the port number with ":".
3795 (gdbserver_start): New global GDB_TEST_SOCKETHOST. Implement
3796 support for detecting and using it. Add '$debughost_gdbserver'
3797 to the list of arguments used to start gdbserver. Handle case
3798 when gdbserver cannot resolve a network name.
3799
3800 2018-07-11 Sergio Durigan Junior <sergiodj@redhat.com>
3801
3802 PR c++/23373
3803 * gdb.base/ptype-offsets.cc (struct static_member): New
3804 struct.
3805 (main) <stmember>: New variable.
3806 * gdb.base/ptype-offsets.exp: Add test for printing a struct
3807 with a static member in it.
3808
3809 2018-07-10 Andrew Burgess <andrew.burgess@embecosm.com>
3810
3811 * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
3812 watchpoints enabled and disabled.
3813
3814 2018-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
3815
3816 * gdb.base/examine-backward.exp: Still run tests around address
3817 0x0, even if address 0x0 is not readable. Update the pattern for
3818 matching address 0x0 in expected output.
3819
3820 2018-07-06 Andrew Burgess <andrew.burgess@embecosm.com>
3821
3822 * gdb.base/share-env-with-gdbserver.c (main): Add call to
3823 malloc/free.
3824
3825 2018-07-04 Tom de Vries <tdevries@suse.de>
3826
3827 * gdb.dwarf2/dw2-error.exp: Update expected error message.
3828
3829 2018-07-02 Maciej W. Rozycki <macro@mips.com>
3830
3831 PR tdep/8282
3832 * gdb.arch/mips-disassembler-options.exp: New test.
3833 * gdb.arch/mips-disassembler-options.s: New test source.
3834
3835 2018-06-29 Pedro Alves <palves@redhat.com>
3836
3837 * gdb.threads/names.exp: Adjust expected "info threads" output.
3838
3839 2018-06-29 Pedro Alves <palves@redhat.com>
3840
3841 * gdb.opt/inline-break.exp (line number, address): Add "info
3842 break" tests.
3843
3844 2018-06-29 Pedro Alves <palves@redhat.com>
3845
3846 * gdb.opt/inline-break.c (func1): Add "break here" marker.
3847 * gdb.opt/inline-break.exp: Test setting breakpoints by line
3848 number and address and running to them.
3849
3850 2018-06-29 Richard Bunt <richard.bunt@arm.com>
3851
3852 * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
3853
3854 2018-06-28 Jan Kratochvil <jan.kratochvil@redhat.com>
3855
3856 * lib/compiler.c: Remove executable permission flag.
3857
3858 2018-06-28 Richard Bunt <richard.bunt@arm.com>
3859
3860 * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
3861 code.
3862 * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
3863
3864 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3865
3866 * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
3867
3868 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3869
3870 * gdb.base/relocate.exp: Test add-symbol-file behavior when the
3871 address argument is omitted.
3872
3873 2018-06-28 Petr Tesarik <ptesarik@suse.cz>
3874
3875 * gdb.base/relocate.exp: Add test for "symbol-file -o ".
3876
3877 2018-06-27 Omair Javaid <omair.javaid@linaro.org>
3878
3879 PR gdb/21695
3880 * gdb.base/infoline-reloc-main-from-zero.exp: New test.
3881 * gdb.base/infoline-reloc-main-from-zero.c: New file.
3882
3883 2018-06-26 Tom Tromey <tom@tromey.com>
3884
3885 PR rust/22574:
3886 * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
3887 * gdb.rust/simple.rs (struct SimpleLayout): New.
3888
3889 2018-06-22 Simon Marchi <simon.marchi@ericsson.com>
3890
3891 * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
3892 "info registers" output.
3893
3894 2018-06-21 Richard Bunt <richard.bunt@arm.com>
3895
3896 * gdb.base/watchpoint-hw-attach.c: New test.
3897 * gdb.base/watchpoint-hw-attach.exp: New file.
3898
3899 2018-06-20 Simon Marchi <simon.marchi@ericsson.com>
3900
3901 * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
3902 through /bin/sh.
3903 * boards/dwarf4-gdb-index.exp: Likewise.
3904 * boards/fission-dwp.exp: Likewise.
3905
3906 2018-06-20 Ulrich Weigand <uweigand@de.ibm.com>
3907
3908 * gdb.base/float128.exp: Add comment and improved fail message
3909 to the failure case of "print large128" test.
3910
3911 2018-06-19 Simon Marchi <simon.marchi@ericsson.com>
3912
3913 * configure.ac: Remove AC_PREREQ.
3914 * configure: Re-generate.
3915
3916 2018-06-19 Pedro Alves <palves@redhat.com>
3917
3918 * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
3919 (func_extern_caller): New.
3920 (main): Call func_extern_caller.
3921 * gdb.opt/inline-break.exp: Add tests for inline frame skipping
3922 logic change.
3923
3924 2018-06-18 Weimin Pan <weimin.pan@oracle.com>
3925
3926 PR gdb/16841
3927 * gdb.cp/typedef-base.cc: New file.
3928 * gdb.cp/typedef-base.exp: New file.
3929
3930 2018-06-18 Tom de Vries <tdevries@suse.de>
3931
3932 * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
3933
3934 2018-06-16 Andrew Burgess <andrew.burgess@embecosm.com>
3935 Richard Bunt <Richard.Bunt@arm.com>
3936
3937 * gdb.threads/attach-slow-waitpid.c: New file.
3938 * gdb.threads/attach-slow-waitpid.exp: New file.
3939 * gdb.threads/slow-waitpid.c: New file.
3940
3941 2018-06-14 Pedro Alves <palves@redhat.com>
3942
3943 * gdb.base/fork-running-state.c: Include <errno.h>.
3944 (exit_if_relative_exits): New.
3945 (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
3946 exits.
3947 (fork_parent): If 'exit_if_relative_exits' is true, exit if the
3948 child exits.
3949
3950 2018-06-14 Tom de Vries <tdevries@suse.de>
3951
3952 PR cli/22573
3953 * gdb.base/finish-pretty.c: New test.
3954 * gdb.base/finish-pretty.exp: New file.
3955
3956 2018-06-14 Pedro Alves <palves@redhat.com>
3957
3958 * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
3959 gdb's expected startup output.
3960
3961 2018-06-14 Pedro Alves <palves@redhat.com>
3962
3963 * lib/selftest-support.exp (selftest_setup): Remove inlined
3964 function handling.
3965
3966 2018-06-14 Tom de Vries <tdevries@suse.de>
3967
3968 * lib/selftest-support.exp (selftest_setup): Allow function arguments in
3969 matching of breakpoint printing.
3970
3971 2018-06-13 Tom de Vries <tdevries@suse.de>
3972
3973 PR testsuite/23269
3974 * gdb.base/fork-running-state.c (main): Move setting of alarm ...
3975 (fork_child): ... here, and ...
3976 (fork_parent): ... here.
3977
3978 2018-06-12 Tom de Vries <tdevries@suse.de>
3979
3980 * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
3981
3982 2018-06-12 Andrew Burgess <andrew.burgess@embecosm.com>
3983 Stephen Roberts <stephen.roberts@arm.com>
3984
3985 * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
3986 rewrite test to describe action performed, rather than possible
3987 failure.
3988
3989 2018-06-08 Gary Benson <gbenson@redhat.com>
3990
3991 * gdb.threads/check-libthread-db.exp: New file.
3992 * gdb.threads/check-libthread-db.c: Likewise.
3993
3994 2018-06-05 Tom Tromey <tom@tromey.com>
3995
3996 * gdb.base/default.exp: Update expected "show version" output.
3997
3998 2018-06-05 Tom Tromey <tom@tromey.com>
3999
4000 PR cli/12326:
4001 * gdb.cp/static-print-quit.exp: Update.
4002 * lib/gdb.exp (pagination_prompt): Update.
4003 * gdb.base/page.exp: Use pagination_prompt. Add new tests.
4004 * gdb.python/python.exp: Update.
4005
4006 2018-06-04 Joel Brobecker <brobecker@adacore.com>
4007
4008 * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
4009
4010 2018-06-01 Joel Brobecker <brobecker@adacore.com>
4011
4012 * gdb.ada/bp_fun_addr: New testcase.
4013
4014 2018-06-01 Tom Tromey <tom@tromey.com>
4015
4016 * gdb.xml/tdesc-regs.exp (load_description): Update expected
4017 results.
4018 * gdb.dwarf2/method-ptr.exp: Set language to C++.
4019 * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
4020 * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
4021 * gdb.base/maint.exp (maint_pass_if): Update.
4022
4023 2018-05-31 Maciej W. Rozycki <macro@mips.com>
4024
4025 * gdb.base/endian.exp: New test.
4026 * gdb.base/endian.c: New test source.
4027
4028 2018-05-24 Andrew Burgess <andrew.burgess@embecosm.com>
4029
4030 PR gdb/23203
4031 * gdb.base/bt-selected-frame.c: New file.
4032 * gdb.base/bt-selected-frame.exp: New file.
4033 * lib/gdb.exp (get_current_frame_number): New function.
4034
4035 2018-05-24 Maciej W. Rozycki <macro@mips.com>
4036 Pedro Alves <palves@redhat.com>
4037
4038 * gdb.threads/tls-core.c: Include <stdlib.h>
4039 (thread_proc): Call `abort'.
4040 * gdb.threads/tls-core.exp: Generate a core with core_find too.
4041 (tls_core_test): New procedure, bits factored out from ...
4042 (top level): ... here. Test both native cores and gcore cores.
4043
4044 2018-05-23 Tom Tromey <tom@tromey.com>
4045
4046 * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
4047
4048 2018-05-23 Tom Tromey <tom@tromey.com>
4049
4050 * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
4051 symfile_complaints.
4052 (test_short_complaints): Likewise.
4053 (test_empty_complaints): Likewise.
4054 (test_initial_complaints): Update.
4055
4056 2018-05-23 Tom Tromey <tom@tromey.com>
4057
4058 * gdb.gdb/complaints.exp (test_empty_complaints): Update.
4059
4060 2018-05-23 Tom Tromey <tom@tromey.com>
4061
4062 * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
4063 (test_short_complaints): Update.
4064
4065 2018-05-22 Pedro Alves <palves@redhat.com>
4066
4067 * gdb.base/remote.exp: Only gdb_start after compiling the
4068 testcase. Issue "disconnect" before testing "set remote" command
4069 defaults. Issue clean_restart before running to main.
4070
4071 2018-05-22 Pedro Alves <palves@redhat.com>
4072
4073 * gdb.base/remote.exp: Adjust expected output of "show remote
4074 memory-write-packet-size". Add tests for "set remote
4075 memory-write-packet-size 0" and "set remote
4076 memory-write-packet-size fixed/limit".
4077
4078 2018-05-22 Pedro Alves <palves@redhat.com>
4079
4080 PR gdb/22973
4081 * gdb.base/utf8-identifiers.c: New file.
4082 * gdb.base/utf8-identifiers.exp: New file.
4083
4084 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4085
4086 * gdb.arch/powerpc-fpscr-gcore.exp: New file.
4087
4088 2018-05-22 Pedro Franco de Carvalho <pedromfc@linux.vnet.ibm.com>
4089
4090 * gdb.arch/powerpc-vsx-gcore.exp: New file.
4091
4092 2018-05-18 Tom Tromey <tom@tromey.com>
4093
4094 * gdb.base/ptype-offsets.exp: Update.
4095
4096 2018-05-17 Keith Seitz <keiths@redhat.com>
4097
4098 * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
4099 in expected breakpoint stop locations.
4100 * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
4101 move to proper scope to test variable values.
4102 * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
4103 (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
4104 New functions.
4105 (main): Call not_inline_func3.
4106 * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
4107 inline_func1, inline_func2, and inline_func3. Test that when each
4108 breakpoint is hit, GDB properly reports both the stop location
4109 and the backtrace. Repeat tests for temporary breakpoints.
4110
4111 2018-05-15 Maciej W. Rozycki <macro@mips.com>
4112
4113 * gdb.server/server-kill.exp: Verify whether `server_pid' exists
4114 rather then trying to access it in determining whether the PID
4115 of `gdbserver' could have been retrieved.
4116
4117 2018-05-08 Andrew Burgess <andrew.burgess@embecosm.com>
4118
4119 * gdb.arch/amd64-init-x87-values.S: New file.
4120 * gdb.arch/amd64-init-x87-values.exp: New file.
4121
4122 2018-05-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4123
4124 * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
4125
4126 2018-05-04 Tom Tromey <tom@tromey.com>
4127
4128 PR python/22730:
4129 * gdb.python/python.exp: Test multi-line execute.
4130
4131 2018-05-04 Tom Tromey <tom@tromey.com>
4132
4133 PR python/22731:
4134 * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
4135
4136 2018-05-04 Tom Tromey <tom@tromey.com>
4137
4138 PR gdb/11750:
4139 * gdb.base/define.exp: Test defining a user command inside a user
4140 command.
4141 * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
4142
4143 2018-05-04 Jan Kratochvil <jan.kratochvil@redhat.com>
4144 Pedro Alves <palves@redhat.com>
4145
4146 PR breakpoints/19806 and support for PR external/20207.
4147 * gdb.base/watchpoint-unaligned.c: New file.
4148 * gdb.base/watchpoint-unaligned.exp: New file.
4149
4150 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4151
4152 * gdb.base/maint.exp: Make test names unique, use
4153 test_prefix_command_help to test 'help maint info', and remove
4154 repeated test of 'help maint'.
4155
4156 2018-05-04 Tom Tromey <tom@tromey.com>
4157
4158 PR gdb/22619:
4159 * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
4160 behavior.
4161
4162 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4163
4164 * gdb.base/maint.exp: Process output from 'maint print registers'
4165 line at a time.
4166
4167 2018-05-04 Andrew Burgess <andrew.burgess@embecosm.com>
4168
4169 * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
4170 timeout.
4171
4172 2018-05-03 Andrew Burgess <andrew.burgess@embecosm.com>
4173
4174 * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
4175 filter pattern.
4176
4177 2018-05-02 Pedro Alves <palves@redhat.com>
4178
4179 * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
4180 to_log_command renames.
4181 * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
4182
4183 2018-05-02 Tom Tromey <tom@tromey.com>
4184
4185 * gdb.python/py-parameter.exp: Set test message.
4186
4187 2018-05-02 Tom Tromey <tom@tromey.com>
4188
4189 PR python/20084:
4190 * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
4191 PARAM_ZUINTEGER_UNLIMITED tests.
4192
4193 2018-04-28 Dan Robertson <danlrobertson89@gmail.com>
4194
4195 PR rust/23124
4196 * gdb.rust/expr.exp: Test that the unit type is correctly parsed
4197 when casting.
4198
4199 2018-04-30 Tom Tromey <tom@tromey.com>
4200
4201 * gdb.python/py-type.exp: Check align attribute.
4202 * gdb.python/py-type.c: New "aligncheck" global.
4203
4204 2018-04-30 Tom Tromey <tom@tromey.com>
4205
4206 PR exp/17095:
4207 * gdb.dwarf2/dw2-align.exp: New file.
4208 * gdb.cp/align.exp: New file.
4209 * gdb.base/align.exp: New file.
4210 * lib/gdb.exp (gdb_int128_helper): New proc.
4211 (has_int128_c, has_int128_cxx): New caching procs.
4212
4213 2018-04-27 Tom Tromey <tom@tromey.com>
4214
4215 PR rust/22545:
4216 * gdb.rust/simple.exp: Add inclusive range tests.
4217
4218 2018-04-26 Pedro Alves <palves@redhat.com>
4219
4220 * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
4221 ifunc breakpoint locations correctly of ifunc breakpoints set
4222 while the program resolves the ifunc.
4223
4224 2018-04-26 Pedro Alves <palves@redhat.com>
4225
4226 * gdb.base/gnu-ifunc-final.c: New file.
4227 * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
4228 * gdb.base/gnu-ifunc.exp (executable): Delete.
4229 (staticexecutable): Adjust.
4230 (lib_opts, exec_opts): Delete.
4231 (make_binsuffix, build, set-break): New procedures.
4232 (misc_tests): New, with tests factored out from the top level.
4233 (top level): Test different combinations of ifunc resolver name,
4234 resolver with and with debug info, and ifunc target with and
4235 without debug info. Wrap static tests with with_target_prefix.
4236
4237 2018-04-26 Pedro Alves <palves@redhat.com>
4238
4239 * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
4240 return type" warnings.
4241
4242 2018-04-25 Pedro Alves <palves@redhat.com>
4243
4244 * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
4245 killed".
4246 * gdb.base/kill-after-signal.exp: Likewise.
4247 * gdb.threads/kill.exp: Likewise.
4248
4249 2018-04-24 Jan Kratochvil <jan.kratochvil@redhat.com>
4250 Sergio Durigan Junior <sergiodj@redhat.com>
4251 Pedro Alves <palves@redhat.com>
4252
4253 * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
4254 regexps to expect for '[Inferior ... detached]' as well.
4255 * gdb.base/attach.exp: Likewise.
4256 * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
4257 "gdb_continue_to_end".
4258 (test_catch_syscall_with_wrong_args): Likewise.
4259 * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
4260 ']'. Don't set 'verbose' on.
4261 * gdb.base/foll-vfork.exp: Likewise.
4262 * gdb.base/fork-print-inferior-events.c: New file.
4263 * gdb.base/fork-print-inferior-events.exp: New file.
4264 * gdb.base/hook-stop.exp: Adjust regexps to expect for new
4265 '[Inferior ... has been killed]' message.
4266 * gdb.base/kill-after-signal.exp: Likewise.
4267 * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
4268 detach message.
4269 * gdb.threads/kill.exp: Adjust regexps to expect for new kill
4270 message.
4271 * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
4272 regexps to expect for '[Inferior ... detached]' as well.
4273 * gdb.threads/process-dies-while-detaching.exp: Likewise.
4274
4275 2018-04-24 Simon Marchi <simon.marchi@ericsson.com>
4276
4277 PR gdb/23104
4278 * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
4279
4280 2018-04-19 Richard Bunt <richard.bunt@arm.com>
4281
4282 * gdb.threads/multiple-successive-infcall.c: New test.
4283 * gdb.threads/multiple-successive-infcall.exp: New file.
4284
4285 2018-04-17 Tom Tromey <tom@tromey.com>
4286
4287 * gdb.rust/simple.rs (Union): New type.
4288 (main): New local "u".
4289 * gdb.rust/simple.exp (test_one_slice): Add new test case.
4290
4291 2018-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4292
4293 * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
4294 number information in output of "whereis" command.
4295 * gdb.base/info-fun.exp: Likewise, for "info fun" command.
4296
4297 2018-04-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4298
4299 * gdb.ada/info_types.exp: Adjust expected output to the line
4300 numbers now printed by "info var/func/type".
4301 * gdb.base/completion.exp: Likewise.
4302 * gdb.base/included.exp: Likewise.
4303 * gdb.cp/cp-relocate.exp: Likewise.
4304 * gdb.cp/cplusfuncs.exp: Likewise.
4305 * gdb.cp/namespace.exp: Likewise.
4306 * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
4307
4308 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4309
4310 * gdb.btrace/cpu.exp: New.
4311
4312 2018-04-13 Markus Metzger <markus.t.metzger@intel.com>
4313
4314 * gdb.base/step-indirect-call-thunk.exp: New.
4315 * gdb.base/step-indirect-call-thunk.c: New.
4316 * gdb.reverse/step-indirect-call-thunk.exp: New.
4317 * gdb.reverse/step-indirect-call-thunk.c: New.
4318
4319 2018-04-11 Simon Marchi <simon.marchi@ericsson.com>
4320
4321 * gdb.base/pie-fork.c: New file.
4322 * gdb.base/pie-fork.exp: New file.
4323
4324 2018-04-11 Tom Tromey <tom@tromey.com>
4325
4326 * gdb.rust/simple.exp: Add test for ".." struct initializer.
4327
4328 2018-04-10 Pedro Alves <palves@redhat.com>
4329
4330 * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
4331 exits. Instead loop running forever.
4332 (fork_parent): Run forever too.
4333
4334 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4335
4336 * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
4337 mi_continue_to_line.
4338 * gdb.mi/mi-stack.c (callee4): Add comment.
4339
4340 2018-04-07 Simon Marchi <simon.marchi@polymtl.ca>
4341
4342 * gdb.mi/mi-stack.exp: Fix indentation.
4343
4344 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4345
4346 PR gdb/22979
4347 * gdb.arch/amd64-osabi.exp: New file.
4348
4349 2018-04-07 Simon Marchi <simon.marchi@ericsson.com>
4350
4351 PR gdb/22980
4352 * gdb.base/osabi.exp: New file.
4353
4354 2018-04-02 Weimin Pan <weimin.pan@oracle.com>
4355
4356 * gdb.cp/static-typedef-print.exp: New file.
4357 * gdb.cp/static-typedef-print.cc: New file.
4358
4359 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4360
4361 * gdb.ada/varsize_limit: New testcase.
4362
4363 2018-03-27 Joel Brobecker <brobecker@adacore.com>
4364
4365 * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
4366
4367 * gdb.ada/notcplusplus: New testcase.
4368
4369 * gdb.base/c-linkage-name.c: New file.
4370 * gdb.base/c-linkage-name.exp: New testcase.
4371
4372 2018-03-26 Tom Tromey <tom@tromey.com>
4373
4374 * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
4375 * gdb.python/py-framefilter.py (name_error): New global.
4376 (ErrorInName.function): Use name_error.
4377
4378 2018-03-26 Tom Tromey <tom@tromey.com>
4379
4380 PR backtrace/15582:
4381 * gdb.python/py-framefilter.exp: Add "bt hide" test.
4382
4383 2018-03-23 Keith Seitz <keiths@redhat.com>
4384
4385 PR c++/22968
4386 * gdb.cp/subtypes.exp: New file.
4387 * gdb.cp/subtypes.h: New file.
4388 * gdb.cp/subtypes.cc: New file.
4389 * gdb.cp/subtypes-2.cc: New file.
4390
4391 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4392
4393 * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
4394 (done): Call '_exit' not 'exit' to avoid atexit handlers.
4395 * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
4396 -nostartfiles when compiling the test. Confirm that all registers
4397 xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
4398
4399 2018-03-23 Andrew Burgess <andrew.burgess@embecosm.com>
4400
4401 * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
4402 option, syntax was wrong anyway.
4403 * gdb.arch/arm-disp-step.exp: Likewise.
4404 * gdb.arch/sparc64-regs.exp: Likewise.
4405 * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
4406 option, syntax was wrong anyway, switch to use
4407 prepare_for_testing.
4408 * gdb.arch/i386-disp-step.exp: Likewise.
4409
4410 2018-03-23 Andreas Arnez <arnez@linux.vnet.ibm.com>
4411
4412 * gdb.ada/exec_changed.exp: Replace "target_info exists
4413 use_gdb_stub" by "use_gdb_stub".
4414 * gdb.ada/start.exp: Likewise.
4415 * gdb.base/async-shell.exp: Likewise.
4416 * gdb.base/attach-pie-misread.exp: Likewise.
4417 * gdb.base/attach-wait-input.exp: Likewise.
4418 * gdb.base/break-entry.exp: Likewise.
4419 * gdb.base/break-interp.exp: Likewise.
4420 * gdb.base/dprintf-detach.exp: Likewise.
4421 * gdb.base/nostdlib.exp: Likewise.
4422 * gdb.base/solib-nodir.exp: Likewise.
4423 * gdb.base/statistics.exp: Likewise.
4424 * gdb.base/testenv.exp: Likewise.
4425 * gdb.mi/mi-exec-run.exp: Likewise.
4426 * gdb.mi/mi-start.exp: Likewise.
4427 * gdb.multi/dummy-frame-restore.exp: Likewise.
4428 * gdb.multi/multi-arch-exec.exp: Likewise.
4429 * gdb.multi/multi-arch.exp: Likewise.
4430 * gdb.multi/tids.exp: Likewise.
4431 * gdb.multi/watchpoint-multi.exp: Likewise.
4432 * gdb.python/py-events.exp: Likewise.
4433 * gdb.threads/attach-into-signal.exp: Likewise.
4434 * gdb.threads/attach-stopped.exp: Likewise.
4435 * gdb.threads/threadapply.exp: Likewise.
4436 * lib/selftest-support.exp: Likewise.
4437
4438 2018-03-22 Andreas Arnez <arnez@linux.vnet.ibm.com>
4439
4440 * gdb.base/info-proc.exp: Add test for "info proc cmdline".
4441
4442 2018-03-20 Stephen Roberts <stephen.roberts@arm.com>
4443
4444 * gdb.perf/template-breakpoints.cc: New file.
4445 * gdb.perf/template-breakpoints.exp: New file.
4446 * gdb.perf/template-breakpoints.py: New file.
4447
4448 2018-03-19 Tom Tromey <tom@tromey.com>
4449
4450 * gdb.rust/simple.rs (main): Add local variables field1, field2,
4451 y0.
4452 * gdb.rust/simple.exp: Test bare identifier form of struct
4453 initializer.
4454
4455 2018-03-19 Tom Tromey <tom@tromey.com>
4456
4457 * gdb.gdb/observer.exp: Remove.
4458
4459 2018-03-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4460
4461 * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
4462 "qualified" option when setting breakpoints.
4463 * gdb.trace/backtrace.exp: Likewise.
4464 * gdb.trace/circ.exp: Likewise.
4465 * gdb.trace/collection.exp: Likewise.
4466 * gdb.trace/disconnected-tracing.exp: Likewise.
4467 * gdb.trace/ftrace-lock.exp: Likewise.
4468 * gdb.trace/ftrace.exp: Likewise.
4469 * gdb.trace/infotrace.exp: Likewise.
4470 * gdb.trace/packetlen.exp: Likewise.
4471 * gdb.trace/passc-dyn.exp: Likewise.
4472 * gdb.trace/qtro.exp: Likewise.
4473 * gdb.trace/read-memory.exp: Likewise.
4474 * gdb.trace/report.exp: Likewise.
4475 * gdb.trace/signal.exp: Likewise.
4476 * gdb.trace/status-stop.exp: Likewise.
4477 * gdb.trace/strace.exp: Likewise.
4478 * gdb.trace/tfind.exp: Likewise.
4479 * gdb.trace/trace-break.exp: Likewise.
4480 * gdb.trace/trace-condition.exp: Likewise.
4481 * gdb.trace/trace-mt.exp: Likewise.
4482 * gdb.trace/tstatus.exp: Likewise.
4483 * gdb.trace/tsv.exp: Likewise.
4484 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
4485 * gdb.trace/unavailable.exp: Likewise.
4486 * gdb.trace/while-dyn.exp: Likewise.
4487
4488 2018-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
4489
4490 * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
4491 that libinproctrace is copied to the target.
4492
4493 2018-03-14 Tom Tromey <tom@tromey.com>
4494
4495 PR cli/14977:
4496 * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
4497 a null pointer.
4498 * gdb.base/wchar.exp: Likewise.
4499
4500 2018-03-14 Tom Tromey <tom@tromey.com>
4501
4502 PR cli/19918:
4503 * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
4504 flag.
4505
4506 2018-03-08 Simon Marchi <simon.marchi@ericsson.com>
4507
4508 PR gdb/22841
4509 * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
4510 "target" to remote_exec.
4511
4512 2018-03-08 Simon Marchi <simon.marchi@polymtl.ca>
4513
4514 PR gdb/22841
4515 * boards/gdbserver-base.exp (${board}_file, ${board}_download,
4516 ${board}_upload): Remove.
4517
4518 2018-03-07 Andreas Arnez <arnez@linux.vnet.ibm.com>
4519
4520 * gdb.cp/watch-cp.cc: New test.
4521 * gdb.cp/watch-cp.exp: New file.
4522
4523 2018-03-06 Andrew Burgess <andrew.burgess@embecosm.com>
4524
4525 * gdb.base/infcall-nested-structs.exp: New file.
4526 * gdb.base/infcall-nested-structs.c: New file.
4527 * gdb.base/float.exp: Add riscv support.
4528
4529 2018-03-02 Thomas Preud'homme <thomas.preudhomme@arm.com>
4530
4531 * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
4532 * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
4533
4534 2018-02-28 Sergio Durigan Junior <sergiodj@redhat.com>
4535
4536 * gdb.server/abspath.exp: New file.
4537 * lib/gdb.exp (with_cwd): New procedure.
4538
4539 2018-02-28 Simon Marchi <simon.marchi@ericsson.com>
4540
4541 * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
4542 use it.
4543 (gdb_is_target_remote_prompt): New proc.
4544 (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
4545 (gdb_is_target_native): Pass prompt parameter to
4546 gdb_is_target_1.
4547
4548 2018-02-26 Simon Marchi <simon.marchi@polymtl.ca>
4549
4550 * gdb.base/load-command.c: New file.
4551 * gdb.base/load-command.exp: New file.
4552 * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
4553 (gdb_is_target_1): ...this, and generalize for other targets
4554 than just remote.
4555 (gdb_is_target_remote): Use gdb_is_target_1.
4556 (gdb_is_target_native): use gdb_is_target_1.
4557
4558 2018-02-26 Tom Tromey <tom@tromey.com>
4559
4560 PR python/16497:
4561 * gdb.python/py-framefilter.exp: Update test.
4562
4563 2018-02-26 Tom Tromey <tom@tromey.com>
4564
4565 * gdb.dwarf2/variant.c: New file.
4566 * gdb.dwarf2/variant.exp: New file.
4567
4568 2018-02-26 Tom Tromey <tom@tromey.com>
4569
4570 * gdb.rust/simple.exp: Accept more possible results in enum test.
4571
4572 2018-02-25 Simon Marchi <simon.marchi@polymtl.ca>
4573
4574 * lib/cp-support.exp (cp_test_ptype_class): Move space inside
4575 parentheses.
4576
4577 2018-02-23 Maciej W. Rozycki <macro@mips.com>
4578
4579 * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
4580 name of a variable: $actual_linejj -> $actual_line.
4581
4582 2018-02-21 John Baldwin <jhb@FreeBSD.org>
4583
4584 * gdb.arch/amd64-i386-address.exp: Fix a typo.
4585
4586 2018-02-20 Markus Metzger <markus.t.metzger@intel.com>
4587
4588 * gdb.btrace/buffer-size.exp: Do not force BTS.
4589
4590 2018-02-14 Pedro Alves <palves@redhat.com>
4591
4592 * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
4593 getting a "Quit".
4594
4595 2018-02-09 Markus Metzger <markus.t.metzger@intel.com>
4596
4597 * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
4598 Fix test name.
4599
4600 2018-02-07 Simon Marchi <simon.marchi@ericsson.com>
4601
4602 * gdb.cp/m-static.exp: Check type of optimized out static
4603 member.
4604
4605 2018-02-03 Andrew Burgess <andrew.burgess@embecosm.com>
4606
4607 * config/sid.exp (gdb_target_sid): Remove use of cleanup.
4608 * config/sim.exp (gdb_target_sim): Remove use of cleanup.
4609
4610 2018-02-01 Simon Marchi <simon.marchi@polymtl.ca>
4611 Leszek Swirski <leszeks@google.com>
4612
4613 * gdb.python/py-prettyprint.c
4614 (struct to_string_returns_value_inner,
4615 struct to_string_returns_value_wrapper): New.
4616 (main): Add tsrvw variable.
4617 * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
4618 ToStringReturnsValueWrapper): New classes.
4619 (register_pretty_printers): Register new pretty-printers.
4620 * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
4621 recursive pretty printer.
4622 * gdb.python/py-mi.exp: Likewise.
4623
4624 2018-02-01 Leszek Swirski <leszeks@google.com>
4625
4626 * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
4627 functions with the same name as an include file are parsed
4628 correctly.
4629
4630 2018-02-01 Yao Qi <yao.qi@linaro.org>
4631
4632 * gdb.base/attach.exp (do_attach_tests): Set sysroot to
4633 "\[^\r\n\]*".
4634
4635 2018-01-31 Nikola Prica <nikola.prica@rt-rk.com>
4636
4637 * gdb.arch/powerpc-prologue-frame.s: New file.
4638 * gdb.arch/powerpc-prologue-frame.c: Likewise.
4639 * gdb.arch/powerpc-prologue-frame.exp: Likewise.
4640
4641 2018-01-31 Joel Brobecker <brobecker@adacore.com>
4642
4643 * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
4644
4645 2018-01-30 Pedro Alves <palves@redhat.com>
4646
4647 PR gdb/13211
4648 * gdb.base/interrupt-daemon.c: New.
4649 * gdb.base/interrupt-daemon.exp: New.
4650 * gdb.multi/multi-term-settings.c: New.
4651 * gdb.multi/multi-term-settings.exp: New.
4652
4653 2018-01-30 Joel Brobecker <brobecker@adacore.com>
4654
4655 * gdb.base/break.exp: Save the location where the breakpoint
4656 on break.c:47 was actually inserted when debugging the version
4657 compiled at -O2 and use it in the expected output of the "info
4658 break" test performed soon after.
4659
4660 2018-01-22 Pedro Alves <palves@redhat.com>
4661 Sergio Durigan Junior <sergiodj@redhat.com>
4662
4663 * gdb.base/whatis.exp: Add tests for 'set print object on' +
4664 'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
4665
4666 2018-01-22 Joel Brobecker <brobecker@adacore.com>
4667
4668 * gdb.base/break-include.c, gdb.base/break-include.inc,
4669 gdb.base/break-include.exp: New files.
4670 * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
4671 line number now being the actual line number where the breakpoint
4672 was inserted.
4673 * gdb.mi/mi-break.exp: Likewise.
4674 * gdb.mi/mi-reverse.exp: Likewise.
4675 * gdb.mi/mi-simplerun.exp: Ditto.
4676
4677 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4678
4679 * gdb.python/py-mi.exp: Don't expect a thread-id for floating
4680 varobj.
4681 * gdb.mi/mi-var-create-rtti.exp: Likewise.
4682
4683 2018-01-21 Don Breazeal <donb@codesourcery.com>
4684 Andrew Burgess <andrew.burgess@embecosm.com>
4685
4686 * gdb.mi/basics.c: Add new global.
4687 * gdb.mi/mi-frame-regs.exp: New file.
4688 * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
4689 case.
4690
4691 2018-01-21 Andrew Burgess <andrew.burgess@embecosm.com>
4692
4693 * gdb.arch/amd64-entry-value.exp: Test using @entry on a
4694 non-parameter, and on an unknown symbol.
4695
4696 2018-01-19 Tom Tromey <tom@tromey.com>
4697
4698 * gdb.rust/modules.rs (TWENTY_THREE): New global.
4699 * gdb.rust/modules.exp: Add ::-qualified lookup test.
4700
4701 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4702
4703 * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
4704 setrlimit and chdir to int.
4705
4706 2018-01-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4707
4708 * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
4709 function.
4710 (my_tend): Likewise.
4711 * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
4712 rationale of avoiding FP- and vector instructions.
4713
4714 2018-01-19 Ruslan Kabatsayev <b7.10110111@gmail.com>
4715
4716 * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
4717 "info reg" with "\[ \t\]*".
4718 * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
4719 "\[ \t\]+".
4720 * gdb.arch/s390-multiarch.exp: Ditto.
4721 * gdb.base/pc-fp.exp: Ditto.
4722 * gdb.reverse/i386-precsave.exp: Ditto.
4723 * gdb.reverse/i386-reverse.exp: Ditto.
4724 * gdb.reverse/i387-env-reverse.exp: Ditto.
4725 * gdb.reverse/i387-stack-reverse.exp: Ditto.
4726
4727 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4728
4729 * lib/gdb.exp (gdb_compile): Re-enable use of
4730 universal_compile_options for languages other than Rust.
4731
4732 2018-01-18 Andreas Arnez <arnez@linux.vnet.ibm.com>
4733
4734 * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
4735
4736 2018-01-17 Mike Gulick <mgulick@mathworks.com>
4737
4738 PR gdb/16577
4739 * gdb.base/solib-vanish.exp: New.
4740 * gdb.base/solib-vanish-main.c: New.
4741 * gdb.base/solib-vanish-lib1.c: New.
4742 * gdb.base/solib-vanish-lib2.c: New.
4743
4744 2018-01-17 Yao Qi <yao.qi@linaro.org>
4745
4746 * gdb.compile/compile.exp: Match the address printed for
4747 frame in the output of command "bt".
4748
4749 2018-01-15 Tom Tromey <tom@tromey.com>
4750
4751 * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
4752 compute sp_reg.
4753
4754 2018-01-12 Andrew Burgess <andrew.burgess@embecosm.com>
4755
4756 * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
4757 to prepare.
4758 (prepare): Return 0 on error, 1 on success.
4759
4760 2018-01-12 Pedro Alves <palves@redhat.com>
4761
4762 * gdb.base/continue-after-aborted-step-over.c: New.
4763 * gdb.base/continue-after-aborted-step-over.exp: New.
4764
4765 2018-01-11 Simon Marchi <simon.marchi@ericsson.com>
4766
4767 * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
4768 options when not creating an executable.
4769
4770 2018-01-11 Pedro Alves <palves@redhat.com>
4771
4772 PR remote/22597
4773 * gdb.server/stop-reply-no-thread.c: New file.
4774 * gdb.server/stop-reply-no-thread.exp: New file.
4775
4776 2018-01-10 Pedro Alves <palves@redhat.com>
4777
4778 PR gdb/22670
4779 * gdb.ada/bp_c_mixed_case.exp: Add intro comment. Test printing C
4780 functions too. Test setting breakpoints and printing C functions
4781 with no debug info too.
4782 * gdb.ada/bp_c_mixed_case/qux.c: New file.
4783
4784 2018-01-10 Pedro Alves <palves@redhat.com>
4785
4786 PR gdb/22670
4787 * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
4788 a fail.
4789
4790 2018-01-10 Pedro Alves <palves@redhat.com>
4791
4792 PR gdb/22670
4793 * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
4794
4795 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4796
4797 * gdb.server/unittest.exp: Match the output in non-development
4798 mode.
4799
4800 2018-01-08 Simon Marchi <simon.marchi@ericsson.com>
4801
4802 * gdb.gdb/unittest.exp: Match output in non-development mode.
4803
4804 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4805
4806 * gdb.ada/access_tagged_param.exp: Relax expected output
4807 for value of "ObjL" in "continue" to pck.inspect breakpoint
4808 test.
4809
4810 2018-01-08 Joel Brobecker <brobecker@adacore.com>
4811
4812 * gdb.ada/arr_enum_idx_w_gap.exp: New file.
4813 * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
4814
4815 2018-01-05 Pedro Alves <palves@redhat.com>
4816
4817 PR gdb/18653
4818 * gdb.base/libsegfault.exp: New.
4819
4820 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4821
4822 PR gdb/22670
4823 * gdb.ada/access_tagged_param.exp: New file.
4824 * gdb.ada/access_tagged_param/foo.adb: New file.
4825
4826 2018-01-05 Pedro Alves <palves@redhat.com>
4827
4828 PR gdb/22670
4829 * gdb.ada/info_addr_mixed_case.exp: Remove kfail. Extend test to
4830 exercise lower case too, and to exercise both full matching and
4831 wild matching.
4832
4833 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4834
4835 * gdb.ada/rename_subscript_param: New testcase.
4836
4837 2018-01-05 Jerome Guitton <guitton@adacore.com>
4838
4839 * gdb.ada/arr_acc_idx_w_gap: New testcase.
4840
4841 2018-01-05 Joel Brobecker <brobecker@adacore.com>
4842
4843 * gdb.ada/convvar_comp: New testcase.
4844
4845 2018-01-05 Xavier Roirand <roirand@adacore.com>
4846
4847 * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
4848 (My_Table): New global variable.
4849 * testsuite/gdb.ada/array_char_idx.exp: Add test.
4850
4851 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4852
4853 PR gdb/22670
4854 * gdb.ada/maint_with_ada: New testcase.
4855
4856 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4857
4858 PR gdb/22670
4859 * gdb.ada/bp_c_mixed_case: New testcase.
4860
4861 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4862
4863 PR gdb/22670
4864 * gdb.ada/complete.exp: Add "complete break ada" test.
4865
4866 2018-01-04 Joel Brobecker <brobecker@adacore.com>
4867
4868 PR gdb/22670
4869 * gdb.ada/info_addr_mixed_case: New testcase.
4870
4871 2018-01-03 Xavier Roirand <roirand@adacore.com>
4872
4873 * gdb.ada/excep_handle.exp: New testcase.
4874 * gdb.ada/excep_handle/foo.adb: New file.
4875 * gdb.ada/excep_handle/pck.ads: New file.
4876
4877 2018-01-03 Joel Brobecker <brobecker@adacore.com>
4878
4879 * gdb.base/step-line.c: Add extra empty line in copyright header.
4880 * gdb.base/step-line.inp: Likewise.
4881
4882 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4883
4884 * gdb.ada/dyn_stride.exp: Add slice test.
4885
4886 2018-01-02 Joel Brobecker <brobecker@adacore.com>
4887
4888 * gdb.ada/dyn_stride: New testcase.
4889
4890 2017-12-27 Stafford Horne <shorne@gmail.com>
4891
4892 * gdb.xml/extra-regs.xml: Add example foo reggroup.
4893 * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
4894
4895 2017-12-27 Stafford Horne <shorne@gmail.com>
4896
4897 * gdb.base/reggroups.c: New file.
4898 * gdb.base/reggroups.exp: New file.
4899
4900 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4901
4902 * gdb.dwarf2/ada-valprint-error.c: New file.
4903 * gdb.dwarf2/ada-valprint-error.exp: New file.
4904
4905 2017-12-18 Joel Brobecker <brobecker@adacore.com>
4906
4907 * gdb.ada/assign_arr: New testcase.
4908
4909 2017-12-18 Xavier Roirand <roirand@adacore.com>
4910
4911 * gdb.ada/funcall_ptr: New testcase.
4912
4913 2017-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4914
4915 PR cli/16224
4916 * gdb.base/ptype-offsets.cc: New file.
4917 * gdb.base/ptype-offsets.exp: New file.
4918
4919 2017-12-15 Yao Qi <yao.qi@linaro.org>
4920
4921 * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
4922 if XML is disabled.
4923
4924 2017-12-15 Xavier Roirand <roirand@adacore.com>
4925
4926 * gdb.ada/same_component_name: New testcase.
4927
4928 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4929
4930 * gdb.ada/str_binop_equal: New testcase.
4931
4932 2017-12-14 Joel Brobecker <brobecker@adacore.com>
4933
4934 * gdb.ada/task_switch_in_core: New testcase.
4935
4936 2017-12-13 Simon Marchi <simon.marchi@ericsson.com>
4937
4938 * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
4939 * gdb.python/py-breakpoint.exp: Compile the test case as c++,
4940 call test_bkpt_qualified.
4941 (test_bkpt_qualified): New proc.
4942
4943 2017-12-13 Pedro Alves <palves@redhat.com>
4944
4945 * lib/completion-support.exp (test_gdb_complete_tab_multiple):
4946 Tighten regexp by matching with an anchor.
4947
4948 2017-12-13 Pedro Alves <palves@redhat.com>
4949
4950 * gdb.cp/cpcompletion.exp: Load completion-support.exp.
4951 ("expression with namespace"): New set of tests.
4952 * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
4953 (Nested::Test_NS::qux): New.
4954 * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
4955 defaults to 'start_quote_char' and 'end_quote_char' parameters.
4956
4957 2017-12-13 Joel Brobecker <brobecker@adacore.com>
4958
4959 * gdb.base/server-del-break.c: New file.
4960 * gdb.base/server-del-break.exp: New file.
4961
4962 2017-12-12 Stafford Horne <shorne@gmail.com>
4963
4964 * gdb.xml/tdesc-regs.exp: Add or1k support.
4965
4966 2017-12-12 Stafford Horne <shorne@gmail.com>
4967
4968 * gdb.base/bp-permanent.c: Define nop of or1k.
4969
4970 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4971
4972 * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
4973 output with components being reordered.
4974
4975 2017-12-11 Joel Brobecker <brobecker@adacore.com>
4976
4977 * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
4978 output with components being reordered.
4979
4980 2017-12-08 Jan Kratochvil <jan.kratochvil@redhat.com>
4981 Pedro Alves <palves@redhat.com>
4982
4983 * gdb.base/maint.exp (check for .gdb_index): Check also for
4984 .debug_names.
4985 * gdb.dlang/watch-loc.c (.debug_aranges): New.
4986 * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
4987 * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
4988 (.gdb_index used after symbol reloading): Support also .debug_names.
4989 * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
4990
4991 2017-12-08 Yao Qi <yao.qi@linaro.org>
4992
4993 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4994 * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
4995
4996 2017-12-08 Yao Qi <yao.qi@linaro.org>
4997
4998 * gdb.arch/aarch64-tagged-pointer.c (main): Update.
4999 * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
5000
5001 2017-12-08 Yao Qi <yao.qi@linaro.org>
5002
5003 * gdb.arch/aarch64-tagged-pointer.c: New file.
5004 * gdb.arch/aarch64-tagged-pointer.exp: New file.
5005
5006 2017-12-08 Sergio Durigan Junior <sergiodj@redhat.com>
5007
5008 * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
5009 "int".
5010
5011 2017-12-07 Keith Seitz <keiths@redhat.com>
5012
5013 PR breakpoints/22569
5014 * gdb.linespec/ls-errs.exp: Change expected result of "break
5015 -source this file has spaces.c -line 3".
5016 Check that an explicit source file followed by whitespace is
5017 identified as an invalid explicit location.
5018
5019 2017-12-07 Keith Seitz <keiths@redhat.com>
5020
5021 * gdb.cp/nested-types.cc: New file.
5022 * gdb.cp/nested-types.exp: New file.
5023 * lib/cp-support.exp: Load data-structures.exp library.
5024 (debug_cp_test_ptype_class): New global.
5025 (cp_ptype_class_verbose, next_line): New procedures.
5026 (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
5027 Add and document new return value.
5028 Switch the list of lines to a queue.
5029 Add support for new `type' key for nested type definitions.
5030 Add debugging/troubleshooting messages.
5031 * lib/data-structures.exp: New file.
5032
5033 2017-12-07 Simon Marchi <simon.marchi@ericsson.com>
5034
5035 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
5036 with proc_with_prefix, don't use with_test_prefix.
5037
5038 2017-12-07 Tom Tromey <tom@tromey.com>
5039
5040 * gdb.base/break.exp: Add test for empty "commands".
5041
5042 2017-12-07 Yao Qi <yao.qi@linaro.org>
5043
5044 * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
5045 malloc and catch syscall.
5046
5047 2017-12-07 Phil Muldoon <pmuldoon@redhat.com>
5048
5049 * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
5050 tests for explicit locations.
5051
5052 2017-12-06 Pedro Alves <palves@redhat.com>
5053
5054 * gdb.arch/i386-avx.exp: If testing with a RSP target, check
5055 force-disabling XML descriptions.
5056
5057 2017-12-04 Pedro Alves <palves@redhat.com>
5058
5059 PR gdb/22499
5060 * gdb.arch/amd64-disp-step-avx.S: New file.
5061 * gdb.arch/amd64-disp-step-avx.exp: New file.
5062
5063 2017-12-03 Pedro Alves <palves@redhat.com>
5064
5065 * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
5066 and <string.h>.
5067 (parent_function): Print distinct messages when waitpid fails, or
5068 the child exits with a signal, or the child exits for an unhandled
5069 reason.
5070 * gdb.threads/process-dies-while-detaching.exp
5071 (detach_and_expect_exit): New 'inf_output_re' parameter and use
5072 it. Wait for both inferior output and GDB's prompt. Use an
5073 indirect spawn id list.
5074 (do_detach): New parameter 'child_exit'. Use it to compute
5075 expected inferior output.
5076 (test_detach, test_detach_watch, test_detach_killed_outside):
5077 Adjust to pass down the expected child exit kind.
5078
5079 2017-12-01 Joel Brobecker <brobecker@adacore.com>
5080 Sergio Durigan Junior <sergiodj@redhat.com>
5081 Pedro Alves <palves@redhat.com>
5082
5083 * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
5084
5085 2017-12-01 Sergio Durigan Junior <sergiodj@redhat.com>
5086
5087 * gdb.base/relocate.exp: Add tests to guarantee that arguments
5088 to 'symbol-file' and 'add-symbol-file' can be
5089 position-independent.
5090
5091 2017-12-01 Yao Qi <yao.qi@linaro.org>
5092
5093 * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
5094 the URL in copyright header.
5095 * gdb.arch/aarch64-fp.exp: Likewise.
5096 * gdb.arch/ppc64-atomic-inst.exp: Likewise.
5097 * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
5098 * gdb.base/expand-psymtabs.exp: Likewise.
5099 * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
5100 * gdb.fortran/common-block.exp: Likewise.
5101 * gdb.fortran/common-block.f90: Likewise.
5102 * gdb.fortran/logical.exp: Likewise.
5103 * gdb.fortran/vla-datatypes.f90: Likewise.
5104 * gdb.fortran/vla-sub.f90: Likewise.
5105
5106 2017-11-30 Joel Brobecker <brobecker@adacore.com>
5107
5108 * gdb.ada/repeat_dyn: New testcase.
5109
5110 2017-11-30 Ulrich Weigand <uweigand@de.ibm.com>
5111
5112 * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
5113 Update for changed thread numbering.
5114 * gdb.cell/bt.exp: Update for changed GDB output.
5115
5116 2017-11-30 Simon Marchi <simon.marchi@ericsson.com>
5117
5118 * boards/cc-with-tweaks.exp: Include local-board.exp instead of
5119 setting isremote by hand.
5120 * boards/dwarf4-gdb-index.exp: Likewise.
5121 * boards/fission.exp: Likewise.
5122 * boards/stabs.exp: Likewise.
5123
5124 2017-11-30 Pedro Alves <palves@redhat.com>
5125
5126 * gdb.linespec/cpls-ops.exp
5127 (check_explicit_skips_function_argument): Extract the underlying
5128 type of size_t instead of hardcoding it.
5129
5130 2017-11-29 Pedro Alves <palves@redhat.com>
5131
5132 PR c++/19436
5133 * gdb.linespec/cpls-abi-tag.cc: New file.
5134 * gdb.linespec/cpls-abi-tag.exp: New file.
5135
5136 2017-11-29 Pedro Alves <palves@redhat.com>
5137
5138 * gdb.base/langs.exp: Use -qualified.
5139 * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
5140 it.
5141 * gdb.cp/namespace.exp: Use -qualified.
5142 * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
5143 (overload-3, template-overload, template-ret-type, const-overload)
5144 (const-overload-quoted, anon-ns, ambiguous-prefix): New
5145 procedures.
5146 (test_driver): Call them.
5147 * gdb.cp/save-bp-qualified.cc: New.
5148 * gdb.cp/save-bp-qualified.exp: New.
5149 * gdb.linespec/explicit.exp: Test -qualified.
5150 * lib/completion-support.exp (completion::explicit_opts_list): Add
5151 "-qualified".
5152 * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
5153
5154 2017-11-29 Phil Muldoon <pmuldoon@redhat.com>
5155
5156 * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
5157
5158 2017-11-29 Tom Tromey <tom@tromey.com>
5159
5160 * gdb.base/relocate.exp: Update invalid argument test.
5161 Add new tests for invalid arguments.
5162
5163 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5164
5165 * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
5166 Return 0 as a long.
5167 * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
5168
5169 2017-11-29 Thomas Preud'homme <thomas.preudhomme@arm.com>
5170
5171 * gdb.cp/breakpoint.cc (bar): Set return type to void.
5172 * gdb.cp/psymtab-parameter.cc (func): Likewise.
5173 * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
5174 func ().
5175 * gdb.cp/shadow.cc (B.func): Return 0.
5176
5177 2017-11-27 Joel Brobecker <brobecker@adacore.com>
5178
5179 * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
5180 expected output in gdb_expect call to allow the exception
5181 message to be present as well. Fix syntax confusion to avoid
5182 TCL thinking that exception_name is an array.
5183
5184 2017-11-26 Ulrich Weigand <uweigand@de.ibm.com>
5185
5186 * gdb.arch/spu-info.c: Include <unistd.h>.
5187 (do_signal_test): Fix broken calls to write.
5188 * gdb.arch/spu-info.exp: Use prepare_for_testing.
5189 Fix checks for empty mailboxes. Update signal tests for corrected
5190 do_signal_test routine. Allow nonzero event status.
5191 * gdb.arch/spu-ls.exp: Use prepare_for_testing.
5192 * gdb.cell/arch.exp: Use standard_output_file.
5193 * gdb.cell/break.exp: Likewise.
5194 * gdb.cell/bt.exp: Likewise.
5195 * gdb.cell/core.exp: Likewise.
5196 * gdb.cell/dwarfaddr.exp: Likewise.
5197 * gdb.cell/ea-cache.exp: Likewise.
5198 * gdb.cell/ea-standalone.exp: Likewise.
5199 * gdb.cell/f-regs.exp: Likewise.
5200 * gdb.cell/fork.exp: Likewise.
5201 * gdb.cell/gcore.exp: Likewise.
5202 * gdb.cell/mem-access.exp: Likewise.
5203 * gdb.cell/ptype.exp: Likewise.
5204 * gdb.cell/registers.exp: Likewise.
5205 * gdb.cell/sizeof.exp: Likewise.
5206 * gdb.cell/solib-symbol.exp: Likewise.
5207 * gdb.cell/solib.exp: Likewise.
5208
5209 2017-11-25 Pedro Alves <palves@redhat.com>
5210
5211 * gdb.base/complete-empty.exp: New file.
5212 * gdb.base/completion.exp: Adjust.
5213
5214 2017-11-25 Pedro Alves <palves@redhat.com>
5215
5216 * gdb.linespec/cpls-ops.cc: New file.
5217 * gdb.linespec/cpls-ops.exp: New file.
5218 * lib/completion-support.exp (test_complete_prefix_range_re): New,
5219 factored out from ...
5220 (test_complete_prefix_range): ... this.
5221
5222 2017-11-24 Pedro Alves <palves@redhat.com>
5223
5224 * gdb.linespec/cpcompletion.exp: New file.
5225 * gdb.linespec/cpls-hyphen.cc: New file.
5226 * gdb.linespec/cpls.cc: New file.
5227 * gdb.linespec/cpls2.cc: New file.
5228 * gdb.linespec/explicit.exp: Load completion-support.exp. Adjust
5229 test to use test_gdb_complete_unique. Add label completion,
5230 keyword completion and explicit location completion tests.
5231 * lib/completion-support.exp: New file.
5232
5233 2017-11-24 Joel Brobecker <brobecker@adacore.com>
5234
5235 * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
5236 gdb.ada/mi_ex_cond.exp: Accept optional exception message in
5237 when hitting an exception catchpoint.
5238
5239 2017-11-22 Yao Qi <yao.qi@linaro.org>
5240
5241 * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
5242
5243 2017-11-22 Simon Marchi <simon.marchi@ericsson.com>
5244
5245 * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
5246 * gdb.dwarf2/info-locals-optimized-out.exp: New file.
5247 * gdb.dwarf2/info-locals-optimized-out.c: New file.
5248
5249 2017-11-22 Yao Qi <yao.qi@linaro.org>
5250
5251 * gdb.base/info-os.exp: Pass pthreads.
5252 * gdb.multi/multi-attach.exp: Likewise.
5253
5254 2017-11-22 Yao Qi <yao.qi@linaro.org>
5255
5256 * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
5257 compiler.
5258
5259 2017-11-22 Yao Qi <yao.qi@linaro.org>
5260
5261 * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
5262 * gdb.base/break-interp.exp: Likewise.
5263 * gdb.base/jit-attach-pie.exp: Likewise.
5264
5265 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5266
5267 * gdb.base/float128.c (large128): New variable.
5268 * gdb.base/float128.exp: Add test to print largest __float128 value.
5269
5270 2017-11-22 Ulrich Weigand <uweigand@de.ibm.com>
5271
5272 * gdb.arch/vsx-regs.exp: Update register content checks.
5273
5274 2017-11-21 Ulrich Weigand <uweigand@de.ibm.com>
5275
5276 * gdb.arch/ppc-longdouble.exp: New file.
5277 * gdb.arch/ppc-longdouble.c: Likewise.
5278
5279 2017-11-21 Pedro Alves <palves@redhat.com>
5280
5281 * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
5282
5283 2017-11-20 Pedro Alves <palves@redhat.com>
5284
5285 * gdb.base/whatis-ptype-typedefs.c (double_typedef)
5286 (long_double_typedef): New typedefs.
5287 Use DEF on double and long double.
5288 * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
5289 cases.
5290 (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
5291 and 'long_double_ptr_same_size' locals. Use them to decide
5292 whether cast from array/function to float is valid/invalid.
5293
5294 2017-11-17 Tom Tromey <tom@tromey.com>
5295
5296 * gdb.rust/traits.rs: New file.
5297 * gdb.rust/traits.exp: New file.
5298
5299 2017-11-17 Joel Brobecker <brobecker@adacore.com>
5300
5301 * gdb.ada/minsyms: New testcase.
5302
5303 2017-11-16 Pedro Alves <palves@redhat.com>
5304
5305 * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
5306 * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
5307
5308 2017-11-16 Pedro Alves <palves@redhat.com>
5309
5310 * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
5311 gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
5312
5313 2017-11-16 Pedro Alves <palves@redhat.com>
5314
5315 * gdb.server/reconnect-ctrl-c.c: New file.
5316 * gdb.server/reconnect-ctrl-c.exp: New file.
5317
5318 2017-11-16 Phil Muldoon <pmuldoon@redhat.com>
5319
5320 * gdb.python/py-rbreak.exp: New file.
5321 * gdb.python/py-rbreak.c: New file.
5322 * gdb.python/py-rbreak-func2.c: New file.
5323
5324 2017-11-16 Pedro Alves <palves@redhat.com>
5325
5326 * gdb.base/starti.exp ("continue" test): Remove ".*"s from
5327 pattern.
5328 * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
5329 GDB.
5330
5331 2017-11-15 Simon Marchi <simon.marchi@ericsson.com>
5332
5333 * gdb.tui/completionn.exp (test_tab_completion): Add space in
5334 regex.
5335
5336 2017-11-13 Simon Marchi <simon.marchi@polymtl.ca>
5337
5338 * gdb.opt/inline-locals.exp: Remove trailing parentheses from
5339 test names.
5340
5341 2017-11-09 Pedro Alves <palves@redhat.com>
5342
5343 * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
5344 factored out from ...
5345 (top level): ... here, and adjusted to avoid expecting beyond the
5346 prompt in a single gdb_test_multiple.
5347
5348 2017-11-09 Pedro Alves <palves@redhat.com>
5349
5350 * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
5351 output.
5352 * gdb.server/ext-attach.exp ("kill" test): Likewise.
5353 * gdb.server/ext-restart.exp ("kill" test): Likewise.
5354 * gdb.server/ext-run.exp ("kill" test): Likewise.
5355 * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
5356
5357 2017-11-09 Pedro Alves <palves@redhat.com>
5358
5359 * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
5360 match till end of line.
5361
5362 2017-11-09 Pedro Alves <palves@redhat.com>
5363
5364 * gdb.base/memattr.exp: Tighten regexes to match the end line.
5365
5366 2017-11-09 Pedro Alves <palves@redhat.com>
5367
5368 * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
5369 New procedures, factored out from ...
5370 (top level): ... here, and adjusted to avoid expecting beyond the
5371 prompt in one go.
5372
5373 2017-11-09 Pedro Alves <palves@redhat.com>
5374
5375 * gdb.asm/asm-source.exp ("kill" test): Match the whole query
5376 output. Fix '?' match.
5377
5378 2017-11-08 Joel Brobecker <brobecker@adacore.com>
5379
5380 * gdb.ada/scoped_watch: New testcase.
5381 * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
5382 which is actually correct.
5383 * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
5384 * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
5385
5386 2017-11-08 Pedro Alves <palves@redhat.com>
5387
5388 * gdb.gdb/complaints.exp (test_initial_complaints)
5389 (test_serial_complaints, test_short_complaints): Call
5390 complaint_internal instead of complaint.
5391
5392 2017-11-08 Djordje Todorovic <djordje.todorovic@rt-rk.com>
5393
5394 * gdb.threads/tls-core.c: New file.
5395 * gdb.threads/tls-core.exp: Likewise.
5396
5397 2017-11-08 Pedro Alves <palves@redhat.com>
5398
5399 * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
5400 (p Exported_Capitalized): New test.
5401 (p exported_capitalized): New test.
5402
5403 2017-11-07 Pedro Alves <palves@redhat.com>
5404
5405 * gdb.cp/ena-dis-br-range.exp: Add more tests.
5406
5407 2017-11-07 Pedro Alves <palves@redhat.com>
5408
5409 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
5410 * gdb.cp/ena-dis-br-range.exp: Adjust tests.
5411 (disable_invalid, disable_inverted, disable_negative): New
5412 procedures.
5413 ("bad numbers"): New set of tests.
5414
5415 2017-11-07 Pedro Alves <palves@redhat.com>
5416
5417 * gdb.cp/ena-dis-br-range.exp: Add tests.
5418
5419 2017-11-07 Pedro Alves <palves@redhat.com>
5420
5421 * gdb.base/ena-dis-br.exp: Don't expect "warning:".
5422
5423 2017-11-07 Xavier Roirand <roirand@adacore.com>
5424 Pedro Alves <palves@redhat.com>
5425
5426 * gdb.base/ena-dis-br.exp: Add reference to
5427 gdb.cp/ena-dis-br-range.exp.
5428 * gdb.cp/ena-dis-br-range.exp: New file.
5429 * gdb.cp/ena-dis-br-range.cc: New file.
5430
5431 2017-11-06 Pedro Alves <palves@redhat.com>
5432
5433 * gdb.base/attach-non-pgrp-leader.c: New.
5434 * gdb.base/attach-non-pgrp-leader.exp: New.
5435
5436 2017-11-06 Pedro Alves <palves@redhat.com>
5437
5438 * configure.ac: No longer check for termio.h and sgtty.h.
5439 * configure: Regenerate.
5440 * remote-utils.c: Include termios.h instead of gdb_termios.h.
5441 (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
5442 Remove termio and sgtty code.
5443
5444 2017-11-03 Yao Qi <yao.qi@linaro.org>
5445
5446 * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
5447 in GDB is disabled.
5448
5449 2017-11-03 Yao Qi <yao.qi@linaro.org>
5450
5451 * gdb.python/py-thrhandle.exp: Skip it if python is not
5452 enabled.
5453
5454 2017-10-31 Simon Marchi <simon.marchi@polymtl.ca>
5455
5456 * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
5457 as a breakpoint command.
5458
5459 2017-10-28 Maksim Dzabraev <dzabraew@gmail.com>
5460
5461 PR python/21213
5462 * gdb.python/py-infthread.exp: Test calling
5463 InferiorThread.inferior () multiple times in a row.
5464
5465 2017-10-27 Keith Seitz <keiths@redhat.com>
5466
5467 * gdb.opt/inline-break.exp (break_info_1): New procedure.
5468 Test "info break" for every inlined function breakpoint.
5469
5470 2017-10-27 Yao Qi <yao.qi@linaro.org>
5471
5472 * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
5473
5474 2017-10-26 Patrick Frants <osscontribute@gmail.com>
5475
5476 * gdb.cp/classes.exp (test_static_members): Test printing
5477 Outer::instance.
5478 * gdb.cp/classes.c (struct Inner, struct Outer): New.
5479 (Inner::instance, Outer::instance): New.
5480
5481 2017-10-24 Pedro Alves <palves@redhat.com>
5482
5483 * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
5484 extra console" test in two stages.
5485
5486 2017-10-24 Pedro Alves <palves@redhat.com>
5487
5488 * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
5489
5490 2017-10-24 Pedro Alves <palves@redhat.com>
5491
5492 * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
5493 loop.
5494
5495 2017-10-24 Pedro Alves <palves@redhat.com>
5496
5497 * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
5498 $attempt" and "stoppedtry $stoppedtry" test prefixes.
5499
5500 2017-10-24 Pedro Alves <palves@redhat.com>
5501
5502 * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
5503 parameter and handle it. Don't output read value in test name.
5504
5505 2017-10-24 Pedro Alves <palves@redhat.com>
5506
5507 * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
5508 custom test name.
5509
5510 2017-10-24 Pedro Alves <palves@redhat.com>
5511
5512 * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
5513 include the unstable output directory name in the test's name.
5514 (initial_setup_simple) <'set args'>: Use custom test name.
5515
5516 2017-10-24 Pedro Alves <palves@redhat.com>
5517
5518 * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
5519 with explicit test name.
5520
5521 2017-10-20 Pedro Alves <palves@redhat.com>
5522
5523 * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
5524 'wait -i'. Use gdb_assert and remote_close.
5525
5526 2017-10-19 Andrew Burgess <andrew.burgess@embecosm.com>
5527
5528 * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
5529 number from variable rather than hard-coded.
5530
5531 2017-10-19 Pedro Alves <palves@redhat.com>
5532
5533 * gdb.base/long-inferior-output.c: New file.
5534 * gdb.base/long-inferior-output.exp: New file.
5535
5536 2017-11-18 Keith Seitz <keiths@redhat.com>
5537
5538 * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
5539 method.
5540 (main): Call it.
5541 * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
5542 Add additional user-defined conversion operator tests.
5543
5544 2017-10-17 Pedro Alves <palves@redhat.com>
5545
5546 * boards/native-stdio-gdbserver.exp: Load "local-board".
5547
5548 2017-10-17 Pedro Alves <palves@redhat.com>
5549
5550 * gdb.base/quit-live.c: New file.
5551 * gdb.base/quit-live.exp: New file.
5552
5553 2017-10-16 Keith Seitz <keiths@redhat.com>
5554
5555 * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
5556 (class_with_protected_typedef, class_with_private_typedef)
5557 (struct_with_public_typedef, struct_with_protected_typedef)
5558 (struct_with_private_typedef): New classes/structs.
5559 * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
5560 typedefs and access specifiers.
5561
5562 2017-10-16 Pedro Alves <palves@redhat.com>
5563 Simon Marchi <simon.marchi@polymtl.ca>
5564
5565 * README (Local vs Remote vs Native): New section.
5566 * boards/local-board.exp: New file, with bits factored out from
5567 ...
5568 * boards/native-extended-gdbserver.exp: ... here. Load
5569 "local-board".
5570 * boards/native-gdbserver.exp: Load "local-board".
5571 (${board}_spawn, ${board}_exec): Delete.
5572 * boards/native-stdio-gdbserver.exp: Most contents factored out to
5573 ...
5574 * boards/stdio-gdbserver-base.exp: ... this new file.
5575 * boards/native-stdio-gdbserver.exp: Reimplement, by loading
5576 "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
5577 procedure.
5578 * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
5579 instead of native-stdio-gdbserver. Don't set gdb_server_prog nor
5580 stdio_gdbserver_command.
5581 (${board}_get_remote_address, ${board}_get_comm_port)
5582 (${board}_download, ${board}_upload): Delete.
5583 (get_target_remote_pipe_cmd): New.
5584
5585 2017-10-16 Simon Marchi <simon.marchi@ericsson.com>
5586
5587 * gdb.python/py-breakpoint.exp (test_bkpt_basic,
5588 test_bkpt_deletion, test_bkpt_cond_and_cmds,
5589 test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
5590 test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
5591 test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
5592 remove with_test_prefix.
5593
5594 2017-10-13 Pedro Alves <palves@redhat.com>
5595
5596 * lib/gdb.exp (target_can_use_run_cmd): New procedure.
5597 * gdb.base/annota1.exp: Use it instead of is_remote.
5598 * gdb.base/annota3.exp: Use it instead of is_remote.
5599 * gdb.cp/annota2.exp: Use it instead of is_remote.
5600 * gdb.cp/annota3.exp: Use it instead of is_remote.
5601 * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
5602
5603 2017-10-13 Pedro Alves <palves@redhat.com>
5604
5605 * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
5606 (test_num_test_vars, run_and_count_vars, find_env)
5607 (test_set_unset_env, test_inherit_env_var): New procedures.
5608 (top level): Use them.
5609
5610 2017-10-13 Pedro Alves <palves@redhat.com>
5611
5612 * lib/selftest-support.exp (selftest_setup): Extend comments, and
5613 also skip on stub-like targets.
5614
5615 2017-10-13 Pedro Alves <palves@redhat.com>
5616
5617 PR gdb/22293
5618 * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
5619 (top level): Move some tests to ...
5620 (test_not_found): ... this new procedure.
5621 (top level): Call it.
5622
5623 2017-10-13 Pedro Alves <palves@redhat.com>
5624
5625 * gdb.base/term.exp: Don't skip if is_remote target. Instead,
5626 expect different "info terminal" output if testing with a
5627 non-native target.
5628
5629 2017-10-13 Pedro Alves <palves@redhat.com>
5630 Simon Marchi <simon.marchi@polymtl.ca>
5631
5632 PR python/12966
5633 * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
5634
5635 2017-10-13 Pedro Alves <palves@redhat.com>
5636
5637 * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
5638 already.
5639
5640 2017-10-13 Pedro Alves <palves@redhat.com>
5641
5642 * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
5643 is_remote.
5644
5645 2017-10-13 Pedro Alves <palves@redhat.com>
5646
5647 * gdb.threads/thread_events.exp: Check gdb_protocol instead of
5648 is_remote.
5649
5650 2017-10-13 Pedro Alves <palves@redhat.com>
5651
5652 * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
5653 is set.
5654 (corefile_test_attach): Likewise. Check can_spawn_for_attach
5655 instead of is_remote.
5656
5657 2017-10-13 Pedro Alves <palves@redhat.com>
5658
5659 * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
5660 (top level): Add comment.
5661
5662 2017-10-13 Pedro Alves <palves@redhat.com>
5663
5664 * gdb.base/remote.exp (top level): Fix comment typo and add
5665 missing return.
5666
5667 2017-10-13 Pedro Alves <palves@redhat.com>
5668 Simon Marchi <simon.marchi@polymtl.ca>
5669
5670 * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
5671 calls and add comments. Skip test if use_gdb_stub is set.
5672 (top level): Use "set cwd" command instead of "cd" command.
5673
5674 2017-10-13 Pedro Alves <palves@redhat.com>
5675
5676 * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
5677 is_remote target check.
5678
5679 2017-10-13 Pedro Alves <palves@redhat.com>
5680
5681 * gdb.base/scope.exp: Use build_executable + clean_restart +
5682 gdb_file_cmd instead of prepare_for_testing and no longer skip
5683 "before run" tests on is_remote target boards. Update comments.
5684 * boards/native-extended-gdbserver.exp
5685 (extended_gdbserver_load_last_file): New, factored out from ...
5686 (gdb_load): ... this. Move further below and add comment.
5687 (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
5688
5689 2017-10-12 Pedro Alves <palves@redhat.com>
5690
5691 * gdb.base/attach.exp: Remove references to gdb64.
5692 * gdb.base/dbx.exp: Remove references to gdb64.
5693
5694 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5695 Pedro Alves <palves@redhat.com>
5696
5697 * gdb.base/label.exp: Remove is_remote target check.
5698
5699 2017-10-12 Pedro Alves <palves@redhat.com>
5700
5701 * gdb.base/auvx.exp (coredir): Update comment.
5702 (top level) <core_works>: Use "set cwd" command instead of "cd"
5703 command.
5704
5705 2017-10-12 Pedro Alves <palves@redhat.com>
5706 Simon Marchi <simon.marchi@polymtl.ca>
5707
5708 * gdb.base/catch-fork-static.exp: No longer skip on is_remote
5709 target boards.
5710
5711 2017-10-12 Pedro Alves <palves@redhat.com>
5712 Simon Marchi <simon.marchi@polymtl.ca>
5713
5714 * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
5715 Instead skip if there's any gdb_protocol set.
5716
5717 2017-10-12 Simon Marchi <simon.marchi@polymtl.ca>
5718 Pedro Alves <palves@redhat.com>
5719
5720 * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
5721
5722 2017-10-12 Pedro Alves <palves@redhat.com>
5723 Simon Marchi <simon.marchi@polymtl.ca>
5724
5725 * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
5726 instead of on dejagnu remote boards.
5727
5728 2017-10-12 Pedro Alves <palves@redhat.com>
5729 Simon Marchi <simon.marchi@polymtl.ca>
5730
5731 * gdb.base/inferior-died.exp: Remove is_remote and isnative
5732 checks. Use build_executable + clean_restart instead of
5733 prepare_for_testing. Pass "set non-stop on" via GDBFLAGS instead
5734 of enabling non-stop after starting gdb.
5735
5736 2017-10-12 Pedro Alves <palves@redhat.com>
5737
5738 * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
5739 * gdb.threads/non-ldr-exc-2.exp: Ditto.
5740 * gdb.threads/non-ldr-exc-3.exp: Ditto.
5741 * gdb.threads/non-ldr-exc-4.exp: Ditto.
5742
5743 2017-10-11 Anton Kolesov <Anton.Kolesov@synopsys.com>
5744
5745 * gdb.arch/arc-tdesc-cpu.exp: New file.
5746 * gdb.arch/arc-tdesc-cpu.xml: Likewise.
5747
5748 2017-10-10 Simon Marchi <simon.marchi@ericsson.com>
5749
5750 * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
5751
5752 2017-10-10 Pedro Alves <palves@redhat.com>
5753
5754 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
5755 expect CLI output.
5756
5757 2017-10-10 Pedro Alves <palves@redhat.com>
5758
5759 * lib/selftest-support.exp (selftest_setup): Update for
5760 captured_command_loop's prototype change.
5761
5762 2017-10-09 Pedro Alves <palves@redhat.com>
5763
5764 Test both arch1=>arch2 and arch2=>arch1.
5765
5766 * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
5767 (srcfile2, binfile2, march1, march2): Remove globals. Largely
5768 factored out to...
5769 (append_arch1_options, append_arch2_options, append_arch_options)
5770 (build_executables): New procedures.
5771 (do_test): New 'first_arch' parameter. Use it to define 'from_exec'
5772 local.
5773 (top level): Add new 'first_arch' testing axis.
5774
5775 2017-10-09 Pedro Alves <palves@redhat.com>
5776
5777 * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
5778 (barrier): New.
5779 (thread_start, all_started): New functions.
5780 (main): Spawn new thread and wait until it is scheduled.
5781 * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
5782 option.
5783 (do_test): Add 'selected_thread' parameter. Run to all_started
5784 instead of main. Explicitly set the breakpoint at main. Switch
5785 to the SELECTED_THREAD thread.
5786 (top level): Test handling the exec event with either the main
5787 thread or the second thread selected.
5788
5789 2017-10-09 Pedro Alves <palves@redhat.com>
5790
5791 * gdb.base/print-file-var-main.c: Fix get_version_2 value check
5792 logic. Move STOP marker after the value checks.
5793 * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
5794 regexp.
5795
5796 2017-10-06 Sandra Loosemore <sandra@codesourcery.com>
5797
5798 * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
5799
5800 2017-10-05 Ulrich Weigand <uweigand@de.ibm.com>
5801
5802 * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
5803 integer-to-dfp conversion.
5804 * gdb.base/dfp-test.exp: Likewise.
5805
5806 2017-10-04 Pedro Alves <palves@redhat.com>
5807
5808 * gdb.multi/hangout.c: Include <unistd.h>.
5809 (hangout_loop): New function.
5810 (main): Call alarm. Call hangout_loop in a loop.
5811 * gdb.multi/hello.c: Include <unistd.h>.
5812 (hello_loop): New function.
5813 (main): Call alarm. Call hangout_loop in a loop.
5814 * gdb.multi/multi-arch.exp: Test running to a breakpoint one
5815 inferior with the other selected.
5816
5817 2017-10-04 Simon Marchi <simon.marchi@ericsson.com>
5818
5819 * gdb.mi/list-thread-groups-available.exp: New file.
5820 * gdb.mi/list-thread-groups-available.c: New file.
5821
5822 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5823
5824 * gdb.base/set-cwd.exp: Make it available on
5825 native-extended-gdbserver.
5826
5827 2017-10-04 Sergio Durigan Junior <sergiodj@redhat.com>
5828
5829 * gdb.base/set-cwd.c: New file.
5830 * gdb.base/set-cwd.exp: Likewise.
5831
5832 2017-10-02 Tom Tromey <tom@tromey.com>
5833
5834 PR rust/22236:
5835 * gdb.rust/simple.rs (main): New variable "fslice".
5836 * gdb.rust/simple.exp: Add slice tests. Update string tests.
5837
5838 2017-10-02 Tom Tromey <tom@tromey.com>
5839
5840 * gdb.rust/simple.exp: Test ptype of a slice.
5841
5842 2017-10-02 Tom Tromey <tom@tromey.com>
5843
5844 * gdb.rust/simple.exp: Test index of slice.
5845
5846 2017-09-27 Tom Tromey <tom@tromey.com>
5847
5848 * gdb.base/macscp.exp: Add __VA_OPT__ tests.
5849
5850 2017-09-26 Thomas Preud'homme <thomas.preudhomme@arm.com>
5851 Pedro Alves <palves@redhat.com>
5852
5853 * gdb.base/compare-sections.exp (get value of read-only section): Read
5854 as unsigned value.
5855 (corrupt read-only section): Likewise and don't set written if patching
5856 failed.
5857
5858 2017-09-21 Kevin Buettner <kevinb@redhat.com>
5859
5860 * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
5861 files.
5862
5863 2017-09-20 Pedro Alves <palves@redhat.com>
5864
5865 * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
5866 symbol names in gdb's output.
5867 * gdb.cp/overload.exp ("list all overloads"): Likewise.
5868
5869 2017-09-20 Pedro Alves <palves@redhat.com>
5870
5871 * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
5872 Rename to ...
5873 (test_list_ambiguous_symbol): ... this and add a symbol name
5874 parameter. Adjust.
5875 (test_list_ambiguous_function): Reimplement on top of
5876 test_list_ambiguous_symbol and also test listing ambiguous
5877 variables.
5878 * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
5879 (ambiguous_fun): ... this.
5880 (ambiguous_var): New.
5881 * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
5882 (ambiguous_fun): ... this.
5883 (ambiguous_var): New.
5884
5885 2017-09-19 John Baldwin <jhb@FreeBSD.org>
5886
5887 * gdb.base/starti.c: New file.
5888 * gdb.base/starti.exp: New file.
5889 * lib/gdb.exp (gdb_starti_cmd): New procedure.
5890
5891 2017-09-14 Pedro Alves <palves@redhat.com>
5892
5893 * gdb.base/nodebug.exp (nodebug_runto): New procedure.
5894 (top level): Use it instead of runto.
5895
5896 2017-09-11 Tom Tromey <tom@tromey.com>
5897
5898 * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
5899
5900 2017-09-11 Tom Tromey <tom@tromey.com>
5901
5902 * gdb.python/py-infthread.exp: Add tests for new_thread event.
5903 * gdb.python/py-inferior.exp: Add tests for new inferior events.
5904
5905 2017-09-08 Christoph Weinmann <christoph.t.weinmann@intel.com>
5906
5907 * gdb.fortran/printing-types.exp: New file.
5908 * gdb.fortran/printing-types.exp: New file.
5909
5910 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5911
5912 * gdb.fortran/vla-ptype.exp: Fix typos.
5913 * gdb.fortran/vla-value.exp: Same.
5914
5915 2017-09-08 Bernhard Heckel <bernhard.heckel@intel.com>
5916
5917 * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
5918 * gdb.mi/mi-var-child-f.exp: Likewise.
5919 * gdb.mi/mi-vla-fortran.exp: Likewise.
5920
5921 2017-09-08 Frank Penczek <frank.penczek@intel.com>
5922 Christoph Weinmann <christoph.t.weinmann@intel.com>
5923 Bernhard Heckel <bernhard.heckel@intel.com>
5924
5925 * gdb.fortran/ptr-indentation.f90: New file.
5926 * gdb.fortran/ptr-indentation.exp: New file.
5927
5928 2017-09-05 Tom Tromey <tom@tromey.com>
5929
5930 PR gdb/22010:
5931 * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
5932
5933 2017-09-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
5934
5935 * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
5936
5937 2017-09-06 Jan Kratochvil <jan.kratochvil@redhat.com>
5938
5939 * gdb.threads/tls-nodebug-pie.c: New file.
5940 * gdb.threads/tls-nodebug-pie.exp: New file.
5941
5942 2017-09-05 Tom Tromey <tom@tromey.com>
5943
5944 * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
5945 for rust.
5946
5947 2017-09-05 Simon Marchi <simon.marchi@ericsson.com>
5948
5949 * gdb.multi/multi-arch-exec.exp: Test with different
5950 "follow-exec-mode" settings.
5951 (do_test): New procedure.
5952
5953 2017-09-04 Pedro Alves <palves@redhat.com>
5954
5955 * gdb.base/func-static.c (S::method const, S::method volatile)
5956 (S::method volatile const): New methods.
5957 (c_s, v_s, cv_s): New instances.
5958 (main): Call method() on them.
5959 * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
5960 (cannot_resolve): New procedure.
5961 (cxx_scopes_list): Test cv methods. Add print-scope-quote and
5962 print-quote-unquoted columns.
5963 (do_test): Test printing each scope too.
5964
5965 2017-09-04 Pedro Alves <palves@redhat.com>
5966
5967 * gdb.base/local-static.exp: Also test with
5968 class::method::variable wholly quoted.
5969 * gdb.cp/m-static.exp (class::method::variable): Remove test.
5970
5971 2017-09-04 Pedro Alves <palves@redhat.com>
5972
5973 * gdb.base/local-static.c: New.
5974 * gdb.base/local-static.cc: New.
5975 * gdb.base/local-static.exp: New.
5976
5977 2017-09-04 Pedro Alves <palves@redhat.com>
5978
5979 * gdb.asm/asm-source.exp: Add casts to int.
5980 * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
5981 (dataglobal64_1, dataglobal64_2): New globals.
5982 * gdb.base/nodebug.exp: Test different expressions involving the
5983 new globals, with print, whatis and ptype. Add casts to int.
5984 * gdb.base/solib-display.exp: Add casts to int.
5985 * gdb.compile/compile-ifunc.exp: Expect warning. Add cast to int.
5986 * gdb.cp/m-static.exp: Add cast to int.
5987 * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
5988 * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
5989 tls variable with no debug info without a cast. Test with a cast
5990 to int too.
5991 * gdb.trace/entry-values.exp: Add casts.
5992
5993 2017-09-04 Pedro Alves <palves@redhat.com>
5994
5995 * gdb.base/nodebug.exp: Test that ptype's error about functions
5996 with unknown return type includes the function name too.
5997
5998 2017-09-04 Pedro Alves <palves@redhat.com>
5999
6000 * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
6001 return type of munmap in infcall.
6002 * gdb.base/break-probes.exp: Cast return type of foo in infcall.
6003 * gdb.base/checkpoint.exp: Simplify using for loop. Cast return
6004 type of ftell in infcall.
6005 * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
6006 type of getpid in infcall.
6007 * gdb.base/infcall-exec.exp: Cast return type of execlp in
6008 infcall.
6009 * gdb.base/info-os.exp: Cast return type of getpid in infcall.
6010 Bail on failure to extract the pid.
6011 * gdb.base/nodebug.c: #include <stdint.h>.
6012 (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
6013 New functions.
6014 * gdb.base/nodebug.exp (test_call_promotion): New procedure.
6015 Change expected output of print/whatis/ptype with functions with
6016 no debug info. Test all supported languages. Call
6017 test_call_promotion.
6018 * gdb.compile/compile.exp: Adjust expected output to expect
6019 warning.
6020 * gdb.threads/siginfo-threads.exp: Likewise.
6021
6022 2017-09-04 Pedro Alves <palves@redhat.com>
6023
6024 * gdb.base/callfuncs.exp (do_function_calls): New parameter
6025 "prototypes". Test calling float functions via prototyped and
6026 unprototyped function pointers.
6027 (perform_all_tests): New parameter "prototypes". Pass it down.
6028 (top level): Pass down "prototypes" parameter to
6029 perform_all_tests.
6030
6031 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6032
6033 * gdb.base/commands.exp (loop_break_test, loop_continue_test):
6034 Test with nested loops.
6035
6036 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6037
6038 * gdb.base/commands.exp: Call the new procedures.
6039 (loop_break_test, loop_continue_test): New procedures.
6040
6041 2017-09-04 Simon Marchi <simon.marchi@ericsson.com>
6042
6043 * gdb.base/commands.exp: Call new procedure.
6044 (define_if_without_arg_test): New procedure.
6045
6046 2017-09-04 Pedro Alves <palves@redhat.com>
6047
6048 * gdb.base/list-ambiguous.exp: New file.
6049 * gdb.base/list-ambiguous0.c: New file.
6050 * gdb.base/list-ambiguous1.c: New file.
6051 * gdb.base/list.exp (test_list_range): Adjust expected output.
6052
6053 2017-08-31 Sergio Durigan Junior <sergiodj@redhat.com>
6054
6055 * gdb.base/share-env-with-gdbserver.c: New file.
6056 * gdb.base/share-env-with-gdbserver.exp: Likewise.
6057
6058 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6059
6060 * gdb.base/commands.exp (gdbvar_simple_if_test,
6061 gdbvar_simple_if_test, gdbvar_complex_if_while_test,
6062 progvar_simple_if_test, progvar_simple_while_test,
6063 progvar_complex_if_while_test, user_defined_command_test,
6064 user_defined_command_args_eval,
6065 user_defined_command_args_stack_test,
6066 user_defined_command_manyargs_test, bp_deleted_in_command_test,
6067 temporary_breakpoint_commands,
6068 gdb_test_no_prompt, redefine_hook_test,
6069 redefine_backtrace_test): Remove "global gdb_prompt".
6070
6071 2017-08-28 Simon Marchi <simon.marchi@ericsson.com>
6072
6073 * gdb.base/commands.exp (user_defined_command_case_sensitivity):
6074 New proc, call it from toplevel.
6075
6076 2017-08-23 Sergio Durigan Junior <sergiodj@redhat.com>
6077
6078 PR remote/21852
6079 * gdb.server/normal.c: New file, copied from gdb.base.
6080 * gdb.server/run-without-local-binary.exp: New file.
6081
6082 2017-08-07 Weimin Pan <weimin.pan@oracle.com>
6083
6084 * gdb.arch/sparc64-adi.exp: New file.
6085 * gdb.arch/sparc64-adi.c: New file.
6086
6087 2017-08-22 Pedro Alves <palves@redhat.com>
6088
6089 * gdb.cp/overload.exp (line_range_pattern): New procedure.
6090 (top level): Add "list all overloads" tests.
6091
6092 2017-08-22 Tom Tromey <tom@tromey.com>
6093
6094 * gdb.gdb/xfullpath.exp: Remove.
6095
6096 2017-08-21 Pedro Alves <palves@redhat.com>
6097
6098 PR gdb/19487
6099 * gdb.base/symbol-alias.c: New.
6100 * gdb.base/symbol-alias2.c: New.
6101 * gdb.base/symbol-alias.exp: New.
6102
6103 2017-08-21 Pedro Alves <palves@redhat.com>
6104
6105 * gdb.base/dfp-test.c
6106 (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
6107 (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
6108 * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
6109 * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
6110 * gdb.base/whatis-ptype-typedefs.c: New.
6111 * gdb.base/whatis-ptype-typedefs.exp: New.
6112 * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
6113 (an_int, an_int_type, an_int_type2): New globals.
6114 * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
6115 involving typedefs and cast expressions.
6116 * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
6117 (lookup_typedefs_function): New.
6118 (typedefs_pretty_printers_dict): New.
6119 (top level): Register lookup_typedefs_function in
6120 gdb.pretty_printers.
6121
6122 2017-08-18 Yao Qi <yao.qi@linaro.org>
6123
6124 * gdb.server/unittest.exp: New.
6125
6126 2017-08-15 Sergio Durigan Junior <sergiodj@redhat.com>
6127
6128 PR gdb/21954
6129 * gdb.base/environ.exp: Add test to check if 'unset environment'
6130 works.
6131
6132 2017-08-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6133
6134 * lib/gdb.exp (universal_compile_options): New caching proc.
6135 (gdb_compile): Suppress GCC's coloring of messages.
6136
6137 2017-08-14 Tom Tromey <tom@tromey.com>
6138
6139 PR gdb/21675:
6140 * gdb.base/printcmds.exp (test_radices): New function.
6141 * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
6142 * gdb.base/sizeof.exp (check_valueof): Use p/d.
6143 * lib/gdb.exp (get_integer_valueof): Use p/d.
6144
6145 2017-08-12 Simon Marchi <simon.marchi@ericsson.com>
6146
6147 * lib/gdb.exp (get_valueof): Don't capture end-of-line
6148 characters.
6149
6150 2017-08-05 Tom Tromey <tom@tromey.com>
6151
6152 * gdb.rust/simple.exp: Allow String to appear in a different
6153 namespace.
6154
6155 2017-07-26 Yao Qi <yao.qi@linaro.org>
6156
6157 * gdb.gdb/unittest.exp: Invoke command
6158 "maintenance check xml-descriptions".
6159
6160 2017-07-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
6161
6162 * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
6163 calling context.
6164 (hex128): Drop erroneous calculation of parameters.
6165
6166 2017-07-22 Simon Marchi <simon.marchi@ericsson.com>
6167
6168 * gdb.python/py-unwind.exp: Disable stack protection when
6169 building test file.
6170
6171 2017-07-20 Pedro Alves <palves@redhat.com>
6172
6173 * gdb.base/default.exp (set language): Adjust expected output.
6174
6175 2017-07-20 Pedro Alves <palves@redhat.com>
6176
6177 * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
6178 (test_minsym): ... this, and make static.
6179 (get_pck__foo__bar__minsym): Rename to ...
6180 (get_test_minsym): ... this.
6181 * gdb.base/dmsym.exp (): Remove "set language ada" call. Adjust
6182 symbol names and comments.
6183 * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
6184 (get_test_minsym): ... this.
6185 (pck__foo__bar__minsym__2): Rename to ...
6186 (test_minsym): ... this.
6187 (main): Adjust.
6188
6189 2017-07-17 Pedro Alves <palves@redhat.com>
6190
6191 * gdb.base/completion.exp: Adjust expected output.
6192 * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
6193 the completer works.
6194
6195 2017-07-17 Pedro Alves <palves@redhat.com>
6196
6197 * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
6198
6199 2017-07-15 Andrew Burgess <andrew.burgess@embecosm.com>
6200
6201 * gdb.mi/mi-vla-fortran.exp: Make test names unique.
6202
6203 2017-07-14 Tom Tromey <tom@tromey.com>
6204
6205 PR rust/21764:
6206 * gdb.rust/simple.exp: Add tests.
6207
6208 2017-07-14 Tom Tromey <tom@tromey.com>
6209
6210 * gdb.rust/simple.exp: Add regression test for PR rust/21763.
6211
6212 2017-07-14 Pedro Alves <palves@redhat.com>
6213
6214 * gdb.linespec/base/one/thefile.cc (z1): New function.
6215 * gdb.linespec/base/two/thefile.cc (z2): New function.
6216 * gdb.linespec/linespec.exp: Add tests.
6217
6218 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6219
6220 * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
6221 to mi_create_breakpoint.
6222
6223 2017-07-13 Andrew Burgess <andrew.burgess@embecosm.com>
6224
6225 * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
6226 mi_create_breakpoint.
6227
6228 2017-07-11 Iain Buclaw <ibuclaw@gdcproject.org>
6229
6230 * gdb.dlang/demangle.exp: Update for demangling changes.
6231
6232 2017-07-09 Tom Tromey <tom@tromey.com>
6233
6234 * gdb.dwarf2/shortpiece.exp: New file.
6235
6236 2017-07-06 David Blaikie <dblaikie@gmail.com>
6237
6238 * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
6239 built from fissiont-multi-cu{1,2}.c.
6240 * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
6241 except putting 'main' and 'func' in separate CUs in the same DWO file.
6242 * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
6243 test.
6244 * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
6245 test.
6246
6247 2017-07-06 Pedro Alves <palves@redhat.com>
6248
6249 * gdb.python/py-unwind.exp: Test flushregs.
6250
6251 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6252
6253 PR cli/21688
6254 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
6255 tests for alias commands and trailing whitespace.
6256
6257 2017-06-30 Sergio Durigan Junior <sergiodj@redhat.com>
6258
6259 PR cli/21688
6260 * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
6261 procedure. Call it.
6262
6263 2017-06-29 Pedro Alves <palves@redhat.com>
6264
6265 * gdb.base/printcmds.exp: Add tests.
6266
6267 2017-06-28 Doug Gilmore <Doug.Gilmore@imgtec.com>
6268
6269 PR gdb/21337
6270 * gdb.base/reread-readsym.exp: New file.
6271 * gdb.base/reread-readsym.c: New file.
6272
6273 2017-06-21 Kevin Buettner <kevinb@redhat.com>
6274
6275 * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
6276 subpattern.
6277
6278 2017-06-19 Peter Bergner <bergner@vnet.ibm.com>
6279
6280 * gdb.arch/powerpc-power9.exp: Update test case for new lnia
6281 extended mnemonic.
6282 * gdb.arch/powerpc-power9.s: Likewise.
6283
6284 2017-06-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6285
6286 * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
6287 on 32-bit x86 targets. Exploit is_*_target macros where
6288 appropriate.
6289
6290 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6291
6292 * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
6293 register pieces.
6294
6295 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6296
6297 * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
6298 located in one or more DWARF pieces.
6299
6300 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6301
6302 * lib/gdb.exp (get_endianness): New proc.
6303 * gdb.arch/aarch64-fp.exp: Use it.
6304 * gdb.arch/altivec-regs.exp: Likewise.
6305 * gdb.arch/e500-regs.exp: Likewise.
6306 * gdb.arch/vsx-regs.exp: Likewise.
6307 * gdb.base/dump.exp: Likewise.
6308 * gdb.base/funcargs.exp: Likewise.
6309 * gdb.base/gnu_vector.exp: Likewise.
6310 * gdb.dwarf2/formdata16.exp: Likewise.
6311 * gdb.dwarf2/implptrpiece.exp: Likewise.
6312 * gdb.dwarf2/nonvar-access.exp: Likewise.
6313 * gdb.python/py-inferior.exp: Likewise.
6314 * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
6315
6316 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6317
6318 PR gdb/21226
6319 * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
6320 stack value pieces are taken from the LSB end.
6321
6322 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6323
6324 * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
6325 variable at nonzero offset.
6326
6327 2017-06-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
6328
6329 * gdb.dwarf2/var-access.c: New file.
6330 * gdb.dwarf2/var-access.exp: New test.
6331 * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
6332
6333 2017-06-12 Tom Tromey <tom@tromey.com>
6334
6335 * gdb.dwarf2/formdata16.exp: Add tests.
6336
6337 2017-06-12 Tom Tromey <tom@tromey.com>
6338
6339 * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
6340
6341 2017-06-12 Tom Tromey <tom@tromey.com>
6342
6343 PR exp/16225:
6344 * gdb.reverse/i386-sse-reverse.exp: Update tests.
6345 * gdb.arch/vsx-regs.exp: Update tests.
6346 * gdb.arch/s390-vregs.exp (hex128): New proc.
6347 Update test.
6348 * gdb.arch/altivec-regs.exp: Update tests.
6349
6350 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6351
6352 * gdb.base/startup-with-shell.c: New file.
6353 * gdb.base/startup-with-shell.exp: Likewise.
6354
6355 2017-06-07 Sergio Durigan Junior <sergiodj@redhat.com>
6356
6357 * gdb.server/non-existing-program.exp: Update regex in order to
6358 reflect the fact that gdbserver is now using fork_inferior (with a
6359 shell) to startup the inferior.
6360
6361 2017-05-30 Simon Marchi <simon.marchi@ericsson.com>
6362
6363 * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
6364 support function calls from GDB.
6365
6366 2017-05-21 Tom Tromey <tom@tromey.com>
6367
6368 PR rust/21466:
6369 * gdb.rust/unsized.exp: New file.
6370 * gdb.rust/unsized.rs: New file.
6371
6372 2017-05-19 Tom Tromey <tom@tromey.com>
6373
6374 PR rust/21484:
6375 * gdb.rust/watch.exp: New file.
6376 * gdb.rust/watch.rs: New file.
6377
6378 2017-05-18 Tom Tromey <tom@tromey.com>
6379
6380 * gdb.rust/simple.exp: Allow Box to be qualified.
6381
6382 2017-05-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
6383
6384 * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
6385
6386 2017-05-18 Pedro Alves <palves@redhat.com>
6387
6388 * gdb.base/fileio.c (test_write, test_read, test_close)
6389 (test_fstat): Don't print 'ret' in the fail path.
6390
6391 2017-05-18 Pedro Alves <palves@redhat.com>
6392
6393 * gdb.base/fileio.c (stop, test_open, test_write, test_read)
6394 (test_lseek, test_close, test_stat, test_fstat, test_isatty)
6395 (test_system, test_rename, test_unlink, test_time): Change
6396 prototypes.
6397 * gdb.base/fileio.exp (stop_msg): Adjust.
6398
6399 2017-05-18 Pedro Alves <palves@redhat.com>
6400
6401 * gdb.base/fileio.c (null_str): New global.
6402 (test_stat): Use it.
6403 * gdb.base/fileio.exp: Remove nowarnings.
6404
6405 2017-05-17 Yao Qi <yao.qi@linaro.org>
6406
6407 * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
6408
6409 2017-05-17 Simon Marchi <simon.marchi@ericsson.com>
6410
6411 * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
6412 argument command.
6413 (top-level): Invoke test_set_inferior_tty.
6414
6415 2017-05-04 Pedro Alves <palves@redhat.com>
6416
6417 * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
6418 Add parens to print call for Python 3.
6419
6420 2017-05-03 Keith Seitz <keiths@redhat.com>
6421
6422 * gdb.cp/oranking.cc (dummy): New function to grab malloc.
6423 (main): Call it.
6424
6425 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6426
6427 * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
6428 to prev and next.
6429
6430 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6431
6432 * gdb.python/py-record-btrace.exp: Remove test for
6433 gdb.BtraceInstruction.error.
6434
6435 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6436
6437 * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
6438
6439 2017-05-01 Tim Wiederhake <tim.wiederhake@intel.com>
6440
6441 * gdb.python/py-record-btrace-threads.c: New file.
6442 * gdb.python/py-record-btrace-threads.exp: New file.
6443
6444 2017-04-28 Sergio Durigan Junior <sergiodj@redhat.com>
6445
6446 PR testsuite/8595
6447 * gdb.base/environ.exp: Make test available in all architectures.
6448 Move bits related to "info program" testing to
6449 gdb.base/info-program.exp. Rewrite tests to use the two new
6450 procedures mentione below.
6451 (test_set_show_env_var) New procedure.
6452 (test_set_show_env_var_equal): Likewise.
6453 * gdb.base/info-program.exp: New file.
6454
6455 2017-04-27 Keith Seitz <keiths@redhat.com>
6456
6457 * gdb.cp/oranking.cc (test15): New function.
6458 (main): Call test15 and declare additional variables for testing.
6459 * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
6460 "p foo101('abc')" tests.
6461 Add tests for cv qualifier overloads.
6462 * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
6463 "lvalue reference overload" test.
6464 * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
6465 "print value of f1 on Child&& in f2" test.
6466
6467 2017-04-19 Pedro Alves <palves@redhat.com>
6468
6469 * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
6470 procedure.
6471 (top level): Call it.
6472 * lib/gdb.exp (gdb_define_cmd): New procedure.
6473
6474 2017-04-12 Pedro Alves <palves@redhat.com>
6475
6476 PR gdb/21323
6477 * gdb.cp/wide_char_types.c: Include <wchar.h>.
6478 (wchar): New global.
6479 * gdb.cp/wide_char_types.exp (wide_char_types_program)
6480 (do_test_wide_char, wide_char_types_no_program, top level): Add
6481 wchar_t testing.
6482
6483 2017-04-12 Pedro Alves <palves@redhat.com>
6484
6485 PR c++/21323
6486 * gdb.cp/wide_char_types.c: New file.
6487 * gdb.cp/wide_char_types.exp: New file.
6488
6489 2017-04-05 Sergio Durigan Junior <sergiodj@redhat.com>
6490
6491 PR gdb/21352
6492 * gdb.trace/tsv.exp: Add test for "tsave -r".
6493
6494 2017-03-30 Iain Buclaw <ibuclaw@gdcproject.org>
6495
6496 * gdb.dlang/watch-loc.c: New file.
6497 * gdb.dlang/watch-loc.exp: New file.
6498
6499 2017-03-29 Jan Kratochvil <jan.kratochvil@redhat.com>
6500
6501 * gdb.python/py-section-script.exp (sepdebug): New testcases.
6502
6503 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6504
6505 * gdb.arch/arc-analyze-prologue.S: New file.
6506 * gdb.arch/arc-analyze-prologue.exp: Likewise.
6507
6508 2017-03-28 Anton Kolesov <anton.kolesov@synopsys.com>
6509
6510 * gdb.arch/arc-decode-insn.S: New file.
6511 * gdb.arch/arc-decode-insn.exp: Likewise.
6512
6513 2017-03-21 Ivo Raisr <ivo.raisr@oracle.com>
6514
6515 PR tdep/20928
6516 * gdb.arch/sparc64-regs.exp: New file.
6517 * gdb.arch/sparc64-regs.S: Likewise.
6518
6519 2017-03-21 Tim Wiederhake <tim.wiederhake@intel.com>
6520
6521 * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
6522 and memory view on Python 3.
6523
6524 2017-03-20 Artemiy Volkov <artemiyv@acm.org>
6525 Keith Seitz <keiths@redhat.com>
6526
6527 PR gdb/14441
6528 * gdb.cp/demangle.exp: Add rvalue reference tests.
6529 * gdb.cp/rvalue-ref-casts.cc: New file.
6530 * gdb.cp/rvalue-ref-casts.exp: New file.
6531 * gdb.cp/rvalue-ref-overload.cc: New file.
6532 * gdb.cp/rvalue-ref-overload.exp: New file.
6533 * gdb.cp/rvalue-ref-params.cc: New file.
6534 * gdb.cp/rvalue-ref-params.exp: New file.
6535 * gdb.cp/rvalue-ref-sizeof.cc: New file.
6536 * gdb.cp/rvalue-ref-sizeof.exp: New file.
6537 * gdb.cp/rvalue-ref-types.cc: New file.
6538 * gdb.cp/rvalue-ref-types.exp: New file.
6539 * gdb.python/py-rvalue-ref-value-cc.cc: New file.
6540 * gdb.python/py-rvalue-ref-value-cc.exp: New file.
6541
6542 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6543
6544 * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
6545 New procedure.
6546
6547 2017-03-20 Marc-Andre Laperle <marc-andre.laperle@ericsson.com>
6548
6549 * lib/mi-support.exp (mi_gdb_test): Add additional message
6550 for unexpected output.
6551
6552 2017-03-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
6553
6554 * gdb.base/examine-backward.c (Barrier): New character array
6555 constant, to ensure that TestStrings is preceded by a string
6556 terminator.
6557
6558 2017-03-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
6559
6560 * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
6561 * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
6562 and implicit pointer into such a location.
6563
6564 2017-03-16 Doug Evans <dje@google.com>
6565
6566 * gdb.python/py-lazy-string (pointer): Really add new typedef.
6567
6568 2017-03-16 Thomas Preud'homme <thomas.preudhomme@arm.com>
6569
6570 * gdb.cp/m-static.exp: Fix expectation for prototype of
6571 test5.single_constructor and single_constructor::single_constructor.
6572
6573 2017-03-16 Doug Evans <dje@google.com>
6574
6575 * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
6576 * gdb.guile/scm-lazy-string.c: New file.
6577 * gdb.guile/scm-value.exp: Move lazy string tests to ...
6578 * gdb.guile/scm-lazy-string.exp: ... here, new file. Add more tests
6579 for pointer, array, typedef lazy strings.
6580
6581 2017-03-16 Doug Evans <dje@google.com>
6582
6583 PR python/17728, python/18439, python/18779
6584 * gdb.python/py-value.c (main) Delete locals sptr, sn.
6585 * gdb.python/py-lazy-string.c (pointer): New typedef.
6586 (main): New locals ptr, array, typedef_ptr.
6587 * gdb.python/py-value.exp: Move lazy string tests to ...
6588 * gdb.python/py-lazy-string.exp: ... here. Add more tests for pointer,
6589 array, typedef lazy strings.
6590
6591 2017-03-14 Anton Kolesov <anton.kolesov@synopsys.com>
6592
6593 * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
6594 Add optional 'test' parameter.
6595
6596 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6597
6598 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6599 Skip for versions of DejaGnu < 1.5.
6600
6601 2017-03-13 Simon Marchi <simon.marchi@ericsson.com>
6602
6603 * lib/gdb.exp (dejagnu_version): New proc.
6604 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6605 Use dejagnu_version.
6606
6607 2017-03-10 Keith Seitz <keiths@redhat.com>
6608
6609 PR c++/8128
6610 * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
6611 type from destructor regexps.
6612 Add a branch which actually passes the test.
6613 Adjust "ptype t5i" test names.
6614
6615 2017-03-08 Pedro Alves <palves@redhat.com>
6616
6617 * gdb.base/step-over-exit.exp: Add explicit test message.
6618
6619 2017-03-08 Pedro Alves <palves@redhat.com>
6620
6621 PR gdb/18360
6622 * gdb.threads/interrupt-while-step-over.c: New file.
6623 * gdb.threads/interrupt-while-step-over.exp: New file.
6624
6625 2017-03-08 Pedro Alves <palves@redhat.com>
6626
6627 * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
6628 * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
6629
6630 2017-03-08 Pedro Alves <palves@redhat.com>
6631
6632 * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
6633 PKRU as not supported as a PASS.
6634
6635 2017-03-08 Pedro Alves <palves@redhat.com>
6636
6637 * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
6638 prefix instead of $binfile1/$binfile2.
6639 * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
6640 in test message.
6641 * gdb.python/py-completion.exp: Use "load python file" as test
6642 messages instead of unstable path names.
6643
6644 2017-03-08 Pedro Alves <palves@redhat.com>
6645 Jan Kratochvil <jan.kratochvil@redhat.com>
6646
6647 PR cli/21218
6648 * gdb.base/commands.exp (backslash_in_multi_line_command_test):
6649 New proc.
6650 (top level): Call it.
6651
6652 2017-03-08 Pedro Alves <palves@redhat.com>
6653
6654 PR tui/21216
6655 * gdb.tui/tui-nl-filtered-output.exp: New file.
6656
6657 2017-03-08 Pedro Alves <palves@redhat.com>
6658
6659 * gdb.base/completion.exp: Move TUI completion tests to ...
6660 * gdb.tui/completion.exp: ... this new file.
6661
6662 2017-03-08 Pedro Alves <palves@redhat.com>
6663
6664 * gdb.base/tui-disasm-long-lines.c,
6665 gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
6666 gdb.base/tui-layout.exp: Move to ...
6667 * gdb.tui/: ... this new directory.
6668
6669 2017-03-07 Pedro Alves <palves@redhat.com>
6670
6671 * gdb.base/tui-layout.c: New file.
6672 * gdb.base/tui-layout.exp: New file.
6673
6674 2017-03-07 Pedro Alves <palves@redhat.com>
6675
6676 * gdb.base/tui-layout.c: Rename to ...
6677 * gdb.base/tui-disasm-long-lines.c: ... this.
6678 * gdb.base/tui-layout.exp: Rename to ...
6679 * gdb.base/tui-disasm-long-lines.exp: ... this.
6680
6681 2017-03-07 Pedro Alves <palves@redhat.com>
6682
6683 * gdb.base/tui-layout.exp: Add intro comment and fix typo.
6684
6685 2017-03-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
6686
6687 * i386-mpx-call.c: New file.
6688 * i386-mpx-call.exp: New file.
6689
6690 2017-02-28 Peter Bergner <bergner@vnet.ibm.com>
6691
6692 * gdb.arch/powerpc-power.exp: Delete test.
6693 * gdb.arch/powerpc-power.s: Likewise.
6694 * gdb.disasm/disassembler-options.exp: New test.
6695 * gdb.arch/powerpc-altivec.exp: Likewise.
6696 * gdb.arch/powerpc-altivec.s: Likewise.
6697 * gdb.arch/powerpc-altivec2.exp: Likewise.
6698 * gdb.arch/powerpc-altivec2.s: Likewise.
6699 * gdb.arch/powerpc-altivec3.exp: Likewise.
6700 * gdb.arch/powerpc-altivec3.s: Likewise.
6701 * gdb.arch/powerpc-power7.exp: Likewise.
6702 * gdb.arch/powerpc-power7.s: Likewise.
6703 * gdb.arch/powerpc-power8.exp: Likewise.
6704 * gdb.arch/powerpc-power8.s: Likewise.
6705 * gdb.arch/powerpc-power9.exp: Likewise.
6706 * gdb.arch/powerpc-power9.s: Likewise.
6707 * gdb.arch/powerpc-vsx.exp: Likewise.
6708 * gdb.arch/powerpc-vsx.s: Likewise.
6709 * gdb.arch/powerpc-vsx2.exp: Likewise.
6710 * gdb.arch/powerpc-vsx2.s: Likewise.
6711 * gdb.arch/powerpc-vsx3.exp: Likewise.
6712 * gdb.arch/powerpc-vsx3.s: Likewise.
6713 * gdb.arch/arm-disassembler-options.exp: Likewise.
6714 * gdb.arch/powerpc-disassembler-options.exp: Likewise.
6715 * gdb.arch/s390-disassembler-options.exp: Likewise.
6716
6717 2017-02-23 Luis Machado <lgustavo@codesourcery.com>
6718
6719 * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
6720 (check_supported_features): ... this. Changed return type to void.
6721 (supports_rdseed): New static global.
6722 (rdseed): Check supports_rdseed.
6723 (initialize): Call check_supported_features.
6724
6725 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6726
6727 * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
6728 gdb.arch/ppc64-atomic-inst.exp. Add tests for lbarx/stbcx, lharx/sthcx
6729 and lqarx/stqcx.
6730 * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
6731 * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
6732
6733 2017-02-21 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6734
6735 * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
6736 uppercase.
6737
6738 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6739
6740 * gdb.dwarf2/formdata16.c: New file.
6741 * gdb.dwarf2/formdata16.exp: New file.
6742 * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
6743
6744 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6745
6746 * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
6747 * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
6748 * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
6749 * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
6750 DW_AT_GNU_*.
6751
6752 2017-02-20 Jan Kratochvil <jan.kratochvil@redhat.com>
6753
6754 * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
6755
6756 2017-02-15 Sergio Durigan Junior <sergiodj@redhat.com>
6757
6758 PR gdb/21164
6759 * gdb.base/maint.exp: Add testcases for when the commands do
6760 not have arguments.
6761
6762 2017-02-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
6763
6764 * gdb.cp/chained-calls.exp: Use p instead of P.
6765
6766 2017-02-14 Tim Wiederhake <tim.wiederhake@intel.com>
6767
6768 * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
6769 gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
6770
6771 2017-02-14 Tom Tromey <tom@tromey.com>
6772
6773 PR python/13598:
6774 * gdb.python/py-events.exp: Add before_prompt event tests.
6775
6776 2017-02-14 Andreas Arnez <arnez@linux.vnet.ibm.com>
6777
6778 * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
6779
6780 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6781
6782 * gdb.linespec/explicit.c (my_unique_function_name): New function.
6783 (main): Call my_unique_function_name.
6784 * gdb.linespec/explicit.exp: Use my_unique_function_name to test
6785 completion of patterns with a single match.
6786 Add missing -re switches to gdb_test_multiple calls.
6787
6788 2017-02-13 Luis Machado <lgustavo@codesourcery.com>
6789
6790 * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
6791 return if core file is not recognized.
6792
6793 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6794
6795 * gdb.base/new-ui.exp (do_test): Test queries behavior on main
6796 and extra UIs.
6797
6798 2017-02-10 Simon Marchi <simon.marchi@ericsson.com>
6799
6800 * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
6801 proc_with_prefix.
6802
6803 2017-02-10 Tom Tromey <tom@tromey.com>
6804
6805 * gdb.python/py-xmethods.exp: Use "p" command, not "P".
6806
6807 2017-02-10 Martin Galvan <martingalvan@sourceware.org>
6808
6809 PR gdb/21122
6810 * gdb.base/help.exp: Update match pattern for testing 'help commands'.
6811
6812 2017-02-08 Jerome Guitton <guitton@adacore.com>
6813
6814 * gdb.base/define.exp: Add test for command abbreviations
6815 in define.
6816
6817 2017-02-06 Luis Machado <lgustavo@codesourcery.com>
6818
6819 * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
6820 * gdb.reverse/insn-reverse-x86.c: New file.
6821
6822 2017-02-06 Ivo Raisr <ivo.raisr@oracle.com>
6823
6824 PR tdep/20936
6825 * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
6826
6827 2017-02-03 Tom Tromey <tom@tromey.com>
6828
6829 PR rust/21097:
6830 * gdb.rust/simple.exp: Add new tests.
6831
6832 2017-02-02 Pedro Alves <palves@redhat.com>
6833
6834 * gdb.mi/mi-logging.exp: Add "redirect while already logging"
6835 tests.
6836
6837 2017-02-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
6838
6839 * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
6840 taking a 2-byte value out of a 4-byte DWARF implicit value on
6841 big-endian targets.
6842 * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
6843 logic. Add test cases for DW_OP_implicit.
6844
6845 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6846
6847 * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
6848
6849 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6850
6851 * gdb.btrace/enable.exp: Call gdb_exit before
6852 skip_gdbserver_tests.
6853
6854 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6855
6856 * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
6857 GDBFLAGS.
6858
6859 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6860
6861 * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
6862 the test is skipped.
6863 * gdb.btrace/data.exp: Likewise.
6864 * gdb.btrace/delta.exp: Likewise.
6865 * gdb.btrace/dlopen.exp: Likewise.
6866 * gdb.btrace/enable-running.exp: Likewise.
6867 * gdb.btrace/enable.exp: Likewise.
6868 * gdb.btrace/exception.exp: Likewise.
6869 * gdb.btrace/function_call_history.exp: Likewise.
6870 * gdb.btrace/gcore.exp: Likewise.
6871 * gdb.btrace/instruction_history.exp: Likewise.
6872 * gdb.btrace/multi-thread-step.exp: Likewise.
6873 * gdb.btrace/nohist.exp: Likewise.
6874 * gdb.btrace/non-stop.exp: Likewise.
6875 * gdb.btrace/reconnect.exp: Likewise.
6876 * gdb.btrace/record_goto-step.exp: Likewise.
6877 * gdb.btrace/record_goto.exp: Likewise.
6878 * gdb.btrace/rn-dl-bind.exp: Likewise.
6879 * gdb.btrace/segv.exp: Likewise.
6880 * gdb.btrace/step.exp: Likewise.
6881 * gdb.btrace/stepi.exp: Likewise.
6882 * gdb.btrace/tailcall-only.exp: Likewise.
6883 * gdb.btrace/tailcall.exp: Likewise.
6884 * gdb.btrace/tsx.exp: Likewise.
6885 * gdb.btrace/unknown_functions.exp: Likewise.
6886 * gdb.btrace/vdso.exp: Likewise.
6887
6888 2017-02-01 Markus Metzger <markus.t.metzger@intel.com>
6889
6890 * gdb.btrace/enable-running.c: New.
6891 * gdb.btrace/enable-running.exp: New.
6892
6893 2017-01-27 Walfred Tedeschi <walfred.tedeschi@intel.com>
6894
6895 * gdb.arch/amd64-gs_base.c: New file.
6896 * gdb.arch/amd64-gs_base.exp: New file.
6897
6898 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6899
6900 * lib/memory.exp: Remove spurious empty newlines.
6901
6902 2017-01-26 Simon Marchi <simon.marchi@polymtl.ca>
6903
6904 * gdb.python/py-bad-printers.exp: Load python file using "source".
6905 * gdb.python/py-events.exp: Likewise.
6906 * gdb.python/py-evsignal.exp: Likewise.
6907 * gdb.python/py-evthreads.exp: Likewise.
6908 * gdb.python/py-frame-args.exp: Likewise.
6909 * gdb.python/py-framefilter-invalidarg.exp: Likewise.
6910 * gdb.python/py-framefilter-mi.exp: Likewise.
6911 * gdb.python/py-framefilter.exp: Likewise.
6912 * gdb.python/py-mi.exp: Likewise.
6913 * gdb.python/py-pp-maint.exp: Likewise.
6914 * gdb.python/py-pp-registration.exp: Likewise.
6915 * gdb.python/py-prettyprint.exp: Likewise.
6916 (run_lang_tests): Likewise.
6917 * gdb.python/py-typeprint.exp: Likewise.
6918
6919 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6920
6921 * lib/memory.exp: New file.
6922 * lib/gdb.exp: Load memory.exp.
6923 * gdb.base/memattr.exp (delete_memory): Move proc to
6924 lib/memory.exp and rename to delete_memory_regions.
6925 Replace delete_memory with delete_memory_regions.
6926 Cleanup memory regions before tests.
6927 * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
6928 before tests.
6929
6930 2017-01-26 Luis Machado <lgustavo@codesourcery.com>
6931
6932 * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
6933 files.
6934 (initialize): New function conditionally defined.
6935 (testcases): Move within conditional block.
6936 (main): Call initialize.
6937 * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
6938 of gdb.reverse/insn-reverse.c.
6939 * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
6940 gdb.reverse/insn-reverse.c.
6941
6942 2017-01-26 Yao Qi <yao.qi@linaro.org>
6943
6944 * gdb.base/all-architectures.exp.in (do_arch_tests): Test
6945 disassemble on address 0.
6946
6947 2017-01-25 Andreas Arnez <arnez@linux.vnet.ibm.com>
6948 Yao Qi <yao.qi@linaro.org>
6949
6950 * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
6951 * gdb.dwarf2/implptr-64bit.S: Remove.
6952 * lib/dwarf.exp (Dwarf): Handle character "%". Evaluate some
6953 variables in caller's context. Add DW_OP_implicit_value.
6954
6955 2017-01-25 Yao Qi <yao.qi@linaro.org>
6956
6957 * lib/dwarf.exp (Dwarf::_location): Handle
6958 DW_OP_GNU_implicit_pointer with proper size.
6959
6960 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6961
6962 * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
6963 and add untested calls.
6964
6965 2017-01-20 Luis Machado <lgustavo@codesourcery.com>
6966
6967 * gdb.python/python.exp: Check line number against what GDB thinks
6968 the line number is for func1.
6969
6970 2017-01-08 Iain Buclaw <ibuclaw@gdcproject.org>
6971
6972 * gdb.dlang/debug-expr.exp: New file.
6973
6974 2016-12-23 Luis Machado <lgustavo@codesourcery.com>
6975
6976 Fix test names for the following files:
6977
6978 * gdb.ada/exec_changed.exp
6979 * gdb.ada/info_types.exp
6980 * gdb.arch/aarch64-atomic-inst.exp
6981 * gdb.arch/aarch64-fp.exp
6982 * gdb.arch/altivec-abi.exp
6983 * gdb.arch/altivec-regs.exp
6984 * gdb.arch/amd64-byte.exp
6985 * gdb.arch/amd64-disp-step.exp
6986 * gdb.arch/amd64-dword.exp
6987 * gdb.arch/amd64-entry-value-inline.exp
6988 * gdb.arch/amd64-entry-value-param.exp
6989 * gdb.arch/amd64-entry-value-paramref.exp
6990 * gdb.arch/amd64-entry-value.exp
6991 * gdb.arch/amd64-i386-address.exp
6992 * gdb.arch/amd64-invalid-stack-middle.exp
6993 * gdb.arch/amd64-invalid-stack-top.exp
6994 * gdb.arch/amd64-optimout-repeat.exp
6995 * gdb.arch/amd64-prologue-skip.exp
6996 * gdb.arch/amd64-prologue-xmm.exp
6997 * gdb.arch/amd64-stap-special-operands.exp
6998 * gdb.arch/amd64-stap-wrong-subexp.exp
6999 * gdb.arch/amd64-tailcall-cxx.exp
7000 * gdb.arch/amd64-tailcall-noret.exp
7001 * gdb.arch/amd64-tailcall-ret.exp
7002 * gdb.arch/amd64-tailcall-self.exp
7003 * gdb.arch/amd64-word.exp
7004 * gdb.arch/arm-bl-branch-dest.exp
7005 * gdb.arch/arm-disp-step.exp
7006 * gdb.arch/arm-neon.exp
7007 * gdb.arch/arm-single-step-kernel-helper.exp
7008 * gdb.arch/avr-flash-qualifier.exp
7009 * gdb.arch/disp-step-insn-reloc.exp
7010 * gdb.arch/e500-abi.exp
7011 * gdb.arch/e500-regs.exp
7012 * gdb.arch/ftrace-insn-reloc.exp
7013 * gdb.arch/i386-avx512.exp
7014 * gdb.arch/i386-bp_permanent.exp
7015 * gdb.arch/i386-byte.exp
7016 * gdb.arch/i386-cfi-notcurrent.exp
7017 * gdb.arch/i386-disp-step.exp
7018 * gdb.arch/i386-dr3-watch.exp
7019 * gdb.arch/i386-float.exp
7020 * gdb.arch/i386-gnu-cfi.exp
7021 * gdb.arch/i386-mpx-map.exp
7022 * gdb.arch/i386-mpx-sigsegv.exp
7023 * gdb.arch/i386-mpx-simple_segv.exp
7024 * gdb.arch/i386-mpx.exp
7025 * gdb.arch/i386-permbkpt.exp
7026 * gdb.arch/i386-prologue.exp
7027 * gdb.arch/i386-signal.exp
7028 * gdb.arch/i386-size-overlap.exp
7029 * gdb.arch/i386-unwind.exp
7030 * gdb.arch/i386-word.exp
7031 * gdb.arch/mips-fcr.exp
7032 * gdb.arch/powerpc-d128-regs.exp
7033 * gdb.arch/powerpc-stackless.exp
7034 * gdb.arch/ppc64-atomic-inst.exp
7035 * gdb.arch/s390-stackless.exp
7036 * gdb.arch/s390-tdbregs.exp
7037 * gdb.arch/s390-vregs.exp
7038 * gdb.arch/sparc-sysstep.exp
7039 * gdb.arch/thumb-bx-pc.exp
7040 * gdb.arch/thumb-singlestep.exp
7041 * gdb.arch/thumb2-it.exp
7042 * gdb.arch/vsx-regs.exp
7043 * gdb.asm/asm-source.exp
7044 * gdb.base/a2-run.exp
7045 * gdb.base/advance.exp
7046 * gdb.base/all-bin.exp
7047 * gdb.base/anon.exp
7048 * gdb.base/args.exp
7049 * gdb.base/arithmet.exp
7050 * gdb.base/async-shell.exp
7051 * gdb.base/async.exp
7052 * gdb.base/attach-pie-noexec.exp
7053 * gdb.base/attach-twice.exp
7054 * gdb.base/auto-load.exp
7055 * gdb.base/bang.exp
7056 * gdb.base/bitfields.exp
7057 * gdb.base/break-always.exp
7058 * gdb.base/break-caller-line.exp
7059 * gdb.base/break-entry.exp
7060 * gdb.base/break-inline.exp
7061 * gdb.base/break-on-linker-gcd-function.exp
7062 * gdb.base/break-probes.exp
7063 * gdb.base/break.exp
7064 * gdb.base/breakpoint-shadow.exp
7065 * gdb.base/call-ar-st.exp
7066 * gdb.base/call-sc.exp
7067 * gdb.base/call-signal-resume.exp
7068 * gdb.base/call-strs.exp
7069 * gdb.base/callfuncs.exp
7070 * gdb.base/catch-fork-static.exp
7071 * gdb.base/catch-gdb-caused-signals.exp
7072 * gdb.base/catch-load.exp
7073 * gdb.base/catch-signal-fork.exp
7074 * gdb.base/catch-signal.exp
7075 * gdb.base/catch-syscall.exp
7076 * gdb.base/charset.exp
7077 * gdb.base/checkpoint.exp
7078 * gdb.base/chng-syms.exp
7079 * gdb.base/code-expr.exp
7080 * gdb.base/code_elim.exp
7081 * gdb.base/commands.exp
7082 * gdb.base/completion.exp
7083 * gdb.base/complex.exp
7084 * gdb.base/cond-expr.exp
7085 * gdb.base/condbreak.exp
7086 * gdb.base/consecutive.exp
7087 * gdb.base/continue-all-already-running.exp
7088 * gdb.base/coredump-filter.exp
7089 * gdb.base/corefile.exp
7090 * gdb.base/dbx.exp
7091 * gdb.base/debug-expr.exp
7092 * gdb.base/define.exp
7093 * gdb.base/del.exp
7094 * gdb.base/disabled-location.exp
7095 * gdb.base/disasm-end-cu.exp
7096 * gdb.base/disasm-optim.exp
7097 * gdb.base/display.exp
7098 * gdb.base/duplicate-bp.exp
7099 * gdb.base/ena-dis-br.exp
7100 * gdb.base/ending-run.exp
7101 * gdb.base/enumval.exp
7102 * gdb.base/environ.exp
7103 * gdb.base/eu-strip-infcall.exp
7104 * gdb.base/eval-avoid-side-effects.exp
7105 * gdb.base/eval-skip.exp
7106 * gdb.base/exitsignal.exp
7107 * gdb.base/expand-psymtabs.exp
7108 * gdb.base/filesym.exp
7109 * gdb.base/find-unmapped.exp
7110 * gdb.base/finish.exp
7111 * gdb.base/float.exp
7112 * gdb.base/foll-exec-mode.exp
7113 * gdb.base/foll-exec.exp
7114 * gdb.base/foll-fork.exp
7115 * gdb.base/fortran-sym-case.exp
7116 * gdb.base/freebpcmd.exp
7117 * gdb.base/func-ptr.exp
7118 * gdb.base/func-ptrs.exp
7119 * gdb.base/funcargs.exp
7120 * gdb.base/gcore-buffer-overflow.exp
7121 * gdb.base/gcore-relro-pie.exp
7122 * gdb.base/gcore-relro.exp
7123 * gdb.base/gcore.exp
7124 * gdb.base/gdb1090.exp
7125 * gdb.base/gdb11530.exp
7126 * gdb.base/gdb11531.exp
7127 * gdb.base/gdb1821.exp
7128 * gdb.base/gdbindex-stabs.exp
7129 * gdb.base/gdbvars.exp
7130 * gdb.base/hbreak.exp
7131 * gdb.base/hbreak2.exp
7132 * gdb.base/included.exp
7133 * gdb.base/infcall-input.exp
7134 * gdb.base/inferior-died.exp
7135 * gdb.base/infnan.exp
7136 * gdb.base/info-macros.exp
7137 * gdb.base/info-os.exp
7138 * gdb.base/info-proc.exp
7139 * gdb.base/info-shared.exp
7140 * gdb.base/info-target.exp
7141 * gdb.base/infoline.exp
7142 * gdb.base/interp.exp
7143 * gdb.base/interrupt.exp
7144 * gdb.base/jit-reader.exp
7145 * gdb.base/jit-simple.exp
7146 * gdb.base/kill-after-signal.exp
7147 * gdb.base/kill-detach-inferiors-cmd.exp
7148 * gdb.base/label.exp
7149 * gdb.base/langs.exp
7150 * gdb.base/ldbl_e308.exp
7151 * gdb.base/line-symtabs.exp
7152 * gdb.base/linespecs.exp
7153 * gdb.base/list.exp
7154 * gdb.base/long_long.exp
7155 * gdb.base/longest-types.exp
7156 * gdb.base/maint.exp
7157 * gdb.base/max-value-size.exp
7158 * gdb.base/memattr.exp
7159 * gdb.base/mips_pro.exp
7160 * gdb.base/morestack.exp
7161 * gdb.base/moribund-step.exp
7162 * gdb.base/multi-forks.exp
7163 * gdb.base/nested-addr.exp
7164 * gdb.base/nextoverexit.exp
7165 * gdb.base/noreturn-finish.exp
7166 * gdb.base/noreturn-return.exp
7167 * gdb.base/nostdlib.exp
7168 * gdb.base/offsets.exp
7169 * gdb.base/opaque.exp
7170 * gdb.base/pc-fp.exp
7171 * gdb.base/permissions.exp
7172 * gdb.base/print-symbol-loading.exp
7173 * gdb.base/prologue-include.exp
7174 * gdb.base/psymtab.exp
7175 * gdb.base/ptype.exp
7176 * gdb.base/random-signal.exp
7177 * gdb.base/randomize.exp
7178 * gdb.base/range-stepping.exp
7179 * gdb.base/readline-ask.exp
7180 * gdb.base/recpar.exp
7181 * gdb.base/recurse.exp
7182 * gdb.base/relational.exp
7183 * gdb.base/restore.exp
7184 * gdb.base/return-nodebug.exp
7185 * gdb.base/return.exp
7186 * gdb.base/run-after-attach.exp
7187 * gdb.base/save-bp.exp
7188 * gdb.base/scope.exp
7189 * gdb.base/sect-cmd.exp
7190 * gdb.base/set-lang-auto.exp
7191 * gdb.base/set-noassign.exp
7192 * gdb.base/setvar.exp
7193 * gdb.base/sigall.exp
7194 * gdb.base/sigbpt.exp
7195 * gdb.base/siginfo-addr.exp
7196 * gdb.base/siginfo-infcall.exp
7197 * gdb.base/siginfo-obj.exp
7198 * gdb.base/siginfo.exp
7199 * gdb.base/signals-state-child.exp
7200 * gdb.base/signest.exp
7201 * gdb.base/sigstep.exp
7202 * gdb.base/sizeof.exp
7203 * gdb.base/skip.exp
7204 * gdb.base/solib-corrupted.exp
7205 * gdb.base/solib-nodir.exp
7206 * gdb.base/solib-search.exp
7207 * gdb.base/stack-checking.exp
7208 * gdb.base/stale-infcall.exp
7209 * gdb.base/stap-probe.exp
7210 * gdb.base/start.exp
7211 * gdb.base/step-break.exp
7212 * gdb.base/step-bt.exp
7213 * gdb.base/step-line.exp
7214 * gdb.base/step-over-exit.exp
7215 * gdb.base/step-over-syscall.exp
7216 * gdb.base/step-resume-infcall.exp
7217 * gdb.base/step-test.exp
7218 * gdb.base/store.exp
7219 * gdb.base/structs3.exp
7220 * gdb.base/sym-file.exp
7221 * gdb.base/symbol-without-target_section.exp
7222 * gdb.base/term.exp
7223 * gdb.base/testenv.exp
7224 * gdb.base/ui-redirect.exp
7225 * gdb.base/until.exp
7226 * gdb.base/unwindonsignal.exp
7227 * gdb.base/value-double-free.exp
7228 * gdb.base/vla-datatypes.exp
7229 * gdb.base/vla-ptr.exp
7230 * gdb.base/vla-sideeffect.exp
7231 * gdb.base/volatile.exp
7232 * gdb.base/watch-cond-infcall.exp
7233 * gdb.base/watch-cond.exp
7234 * gdb.base/watch-non-mem.exp
7235 * gdb.base/watch-read.exp
7236 * gdb.base/watch-vfork.exp
7237 * gdb.base/watchpoint-cond-gone.exp
7238 * gdb.base/watchpoint-delete.exp
7239 * gdb.base/watchpoint-hw-hit-once.exp
7240 * gdb.base/watchpoint-hw.exp
7241 * gdb.base/watchpoint-stops-at-right-insn.exp
7242 * gdb.base/watchpoints.exp
7243 * gdb.base/wchar.exp
7244 * gdb.base/whatis-exp.exp
7245 * gdb.btrace/buffer-size.exp
7246 * gdb.btrace/data.exp
7247 * gdb.btrace/delta.exp
7248 * gdb.btrace/dlopen.exp
7249 * gdb.btrace/enable.exp
7250 * gdb.btrace/exception.exp
7251 * gdb.btrace/function_call_history.exp
7252 * gdb.btrace/gcore.exp
7253 * gdb.btrace/instruction_history.exp
7254 * gdb.btrace/nohist.exp
7255 * gdb.btrace/reconnect.exp
7256 * gdb.btrace/record_goto-step.exp
7257 * gdb.btrace/record_goto.exp
7258 * gdb.btrace/rn-dl-bind.exp
7259 * gdb.btrace/segv.exp
7260 * gdb.btrace/step.exp
7261 * gdb.btrace/stepi.exp
7262 * gdb.btrace/tailcall-only.exp
7263 * gdb.btrace/tailcall.exp
7264 * gdb.btrace/tsx.exp
7265 * gdb.btrace/unknown_functions.exp
7266 * gdb.btrace/vdso.exp
7267 * gdb.compile/compile-ifunc.exp
7268 * gdb.compile/compile-ops.exp
7269 * gdb.compile/compile-print.exp
7270 * gdb.compile/compile-setjmp.exp
7271 * gdb.cp/abstract-origin.exp
7272 * gdb.cp/ambiguous.exp
7273 * gdb.cp/annota2.exp
7274 * gdb.cp/annota3.exp
7275 * gdb.cp/anon-ns.exp
7276 * gdb.cp/anon-struct.exp
7277 * gdb.cp/anon-union.exp
7278 * gdb.cp/arg-reference.exp
7279 * gdb.cp/baseenum.exp
7280 * gdb.cp/bool.exp
7281 * gdb.cp/breakpoint.exp
7282 * gdb.cp/bs15503.exp
7283 * gdb.cp/call-c.exp
7284 * gdb.cp/casts.exp
7285 * gdb.cp/chained-calls.exp
7286 * gdb.cp/class2.exp
7287 * gdb.cp/classes.exp
7288 * gdb.cp/cmpd-minsyms.exp
7289 * gdb.cp/converts.exp
7290 * gdb.cp/cp-relocate.exp
7291 * gdb.cp/cpcompletion.exp
7292 * gdb.cp/cpexprs.exp
7293 * gdb.cp/cplabel.exp
7294 * gdb.cp/cplusfuncs.exp
7295 * gdb.cp/cpsizeof.exp
7296 * gdb.cp/ctti.exp
7297 * gdb.cp/derivation.exp
7298 * gdb.cp/destrprint.exp
7299 * gdb.cp/dispcxx.exp
7300 * gdb.cp/enum-class.exp
7301 * gdb.cp/exception.exp
7302 * gdb.cp/exceptprint.exp
7303 * gdb.cp/expand-psymtabs-cxx.exp
7304 * gdb.cp/expand-sals.exp
7305 * gdb.cp/extern-c.exp
7306 * gdb.cp/filename.exp
7307 * gdb.cp/formatted-ref.exp
7308 * gdb.cp/fpointer.exp
7309 * gdb.cp/gdb1355.exp
7310 * gdb.cp/gdb2495.exp
7311 * gdb.cp/hang.exp
7312 * gdb.cp/impl-this.exp
7313 * gdb.cp/infcall-dlopen.exp
7314 * gdb.cp/inherit.exp
7315 * gdb.cp/iostream.exp
7316 * gdb.cp/koenig.exp
7317 * gdb.cp/local.exp
7318 * gdb.cp/m-data.exp
7319 * gdb.cp/m-static.exp
7320 * gdb.cp/mb-ctor.exp
7321 * gdb.cp/mb-inline.exp
7322 * gdb.cp/mb-templates.exp
7323 * gdb.cp/member-name.exp
7324 * gdb.cp/member-ptr.exp
7325 * gdb.cp/meth-typedefs.exp
7326 * gdb.cp/method.exp
7327 * gdb.cp/method2.exp
7328 * gdb.cp/minsym-fallback.exp
7329 * gdb.cp/misc.exp
7330 * gdb.cp/namelessclass.exp
7331 * gdb.cp/namespace-enum.exp
7332 * gdb.cp/namespace-nested-import.exp
7333 * gdb.cp/namespace.exp
7334 * gdb.cp/nextoverthrow.exp
7335 * gdb.cp/no-dmgl-verbose.exp
7336 * gdb.cp/non-trivial-retval.exp
7337 * gdb.cp/noparam.exp
7338 * gdb.cp/nsdecl.exp
7339 * gdb.cp/nsimport.exp
7340 * gdb.cp/nsnested.exp
7341 * gdb.cp/nsnoimports.exp
7342 * gdb.cp/nsrecurs.exp
7343 * gdb.cp/nsstress.exp
7344 * gdb.cp/nsusing.exp
7345 * gdb.cp/operator.exp
7346 * gdb.cp/oranking.exp
7347 * gdb.cp/overload-const.exp
7348 * gdb.cp/overload.exp
7349 * gdb.cp/ovldbreak.exp
7350 * gdb.cp/ovsrch.exp
7351 * gdb.cp/paren-type.exp
7352 * gdb.cp/parse-lang.exp
7353 * gdb.cp/pass-by-ref.exp
7354 * gdb.cp/pr-1023.exp
7355 * gdb.cp/pr-1210.exp
7356 * gdb.cp/pr-574.exp
7357 * gdb.cp/pr10687.exp
7358 * gdb.cp/pr12028.exp
7359 * gdb.cp/pr17132.exp
7360 * gdb.cp/pr17494.exp
7361 * gdb.cp/pr9067.exp
7362 * gdb.cp/pr9167.exp
7363 * gdb.cp/pr9631.exp
7364 * gdb.cp/printmethod.exp
7365 * gdb.cp/psmang.exp
7366 * gdb.cp/psymtab-parameter.exp
7367 * gdb.cp/ptype-cv-cp.exp
7368 * gdb.cp/ptype-flags.exp
7369 * gdb.cp/re-set-overloaded.exp
7370 * gdb.cp/ref-types.exp
7371 * gdb.cp/rtti.exp
7372 * gdb.cp/scope-err.exp
7373 * gdb.cp/shadow.exp
7374 * gdb.cp/smartp.exp
7375 * gdb.cp/static-method.exp
7376 * gdb.cp/static-print-quit.exp
7377 * gdb.cp/temargs.exp
7378 * gdb.cp/templates.exp
7379 * gdb.cp/try_catch.exp
7380 * gdb.cp/typedef-operator.exp
7381 * gdb.cp/typeid.exp
7382 * gdb.cp/userdef.exp
7383 * gdb.cp/using-crash.exp
7384 * gdb.cp/var-tag.exp
7385 * gdb.cp/virtbase.exp
7386 * gdb.cp/virtfunc.exp
7387 * gdb.cp/virtfunc2.exp
7388 * gdb.cp/vla-cxx.exp
7389 * gdb.disasm/t01_mov.exp
7390 * gdb.disasm/t02_mova.exp
7391 * gdb.disasm/t03_add.exp
7392 * gdb.disasm/t04_sub.exp
7393 * gdb.disasm/t05_cmp.exp
7394 * gdb.disasm/t06_ari2.exp
7395 * gdb.disasm/t07_ari3.exp
7396 * gdb.disasm/t08_or.exp
7397 * gdb.disasm/t09_xor.exp
7398 * gdb.disasm/t10_and.exp
7399 * gdb.disasm/t11_logs.exp
7400 * gdb.disasm/t12_bit.exp
7401 * gdb.disasm/t13_otr.exp
7402 * gdb.dlang/circular.exp
7403 * gdb.dwarf2/arr-stride.exp
7404 * gdb.dwarf2/arr-subrange.exp
7405 * gdb.dwarf2/atomic-type.exp
7406 * gdb.dwarf2/bad-regnum.exp
7407 * gdb.dwarf2/bitfield-parent-optimized-out.exp
7408 * gdb.dwarf2/callframecfa.exp
7409 * gdb.dwarf2/clztest.exp
7410 * gdb.dwarf2/corrupt.exp
7411 * gdb.dwarf2/data-loc.exp
7412 * gdb.dwarf2/dup-psym.exp
7413 * gdb.dwarf2/dw2-anon-mptr.exp
7414 * gdb.dwarf2/dw2-anonymous-func.exp
7415 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
7416 * gdb.dwarf2/dw2-bad-unresolved.exp
7417 * gdb.dwarf2/dw2-basic.exp
7418 * gdb.dwarf2/dw2-canonicalize-type.exp
7419 * gdb.dwarf2/dw2-case-insensitive.exp
7420 * gdb.dwarf2/dw2-common-block.exp
7421 * gdb.dwarf2/dw2-compdir-oldgcc.exp
7422 * gdb.dwarf2/dw2-compressed.exp
7423 * gdb.dwarf2/dw2-const.exp
7424 * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
7425 * gdb.dwarf2/dw2-cu-size.exp
7426 * gdb.dwarf2/dw2-dup-frame.exp
7427 * gdb.dwarf2/dw2-entry-value.exp
7428 * gdb.dwarf2/dw2-icycle.exp
7429 * gdb.dwarf2/dw2-ifort-parameter.exp
7430 * gdb.dwarf2/dw2-inline-break.exp
7431 * gdb.dwarf2/dw2-inline-param.exp
7432 * gdb.dwarf2/dw2-intercu.exp
7433 * gdb.dwarf2/dw2-intermix.exp
7434 * gdb.dwarf2/dw2-lexical-block-bare.exp
7435 * gdb.dwarf2/dw2-linkage-name-trust.exp
7436 * gdb.dwarf2/dw2-minsym-in-cu.exp
7437 * gdb.dwarf2/dw2-noloc.exp
7438 * gdb.dwarf2/dw2-op-call.exp
7439 * gdb.dwarf2/dw2-op-out-param.exp
7440 * gdb.dwarf2/dw2-opt-structptr.exp
7441 * gdb.dwarf2/dw2-param-error.exp
7442 * gdb.dwarf2/dw2-producer.exp
7443 * gdb.dwarf2/dw2-ranges-base.exp
7444 * gdb.dwarf2/dw2-ref-missing-frame.exp
7445 * gdb.dwarf2/dw2-reg-undefined.exp
7446 * gdb.dwarf2/dw2-regno-invalid.exp
7447 * gdb.dwarf2/dw2-restore.exp
7448 * gdb.dwarf2/dw2-restrict.exp
7449 * gdb.dwarf2/dw2-single-line-discriminators.exp
7450 * gdb.dwarf2/dw2-strp.exp
7451 * gdb.dwarf2/dw2-undefined-ret-addr.exp
7452 * gdb.dwarf2/dw2-unresolved.exp
7453 * gdb.dwarf2/dw2-var-zero-addr.exp
7454 * gdb.dwarf2/dw4-sig-types.exp
7455 * gdb.dwarf2/dwz.exp
7456 * gdb.dwarf2/dynarr-ptr.exp
7457 * gdb.dwarf2/enum-type.exp
7458 * gdb.dwarf2/gdb-index.exp
7459 * gdb.dwarf2/implptr-64bit.exp
7460 * gdb.dwarf2/implptr-optimized-out.exp
7461 * gdb.dwarf2/implptr.exp
7462 * gdb.dwarf2/implref-array.exp
7463 * gdb.dwarf2/implref-const.exp
7464 * gdb.dwarf2/implref-global.exp
7465 * gdb.dwarf2/implref-struct.exp
7466 * gdb.dwarf2/mac-fileno.exp
7467 * gdb.dwarf2/main-subprogram.exp
7468 * gdb.dwarf2/member-ptr-forwardref.exp
7469 * gdb.dwarf2/method-ptr.exp
7470 * gdb.dwarf2/missing-sig-type.exp
7471 * gdb.dwarf2/nonvar-access.exp
7472 * gdb.dwarf2/opaque-type-lookup.exp
7473 * gdb.dwarf2/pieces-optimized-out.exp
7474 * gdb.dwarf2/pieces.exp
7475 * gdb.dwarf2/pr10770.exp
7476 * gdb.dwarf2/pr13961.exp
7477 * gdb.dwarf2/staticvirtual.exp
7478 * gdb.dwarf2/subrange.exp
7479 * gdb.dwarf2/symtab-producer.exp
7480 * gdb.dwarf2/trace-crash.exp
7481 * gdb.dwarf2/typeddwarf.exp
7482 * gdb.dwarf2/valop.exp
7483 * gdb.dwarf2/watch-notconst.exp
7484 * gdb.fortran/array-element.exp
7485 * gdb.fortran/charset.exp
7486 * gdb.fortran/common-block.exp
7487 * gdb.fortran/complex.exp
7488 * gdb.fortran/derived-type-function.exp
7489 * gdb.fortran/derived-type.exp
7490 * gdb.fortran/logical.exp
7491 * gdb.fortran/module.exp
7492 * gdb.fortran/multi-dim.exp
7493 * gdb.fortran/nested-funcs.exp
7494 * gdb.fortran/print-formatted.exp
7495 * gdb.fortran/subarray.exp
7496 * gdb.fortran/vla-alloc-assoc.exp
7497 * gdb.fortran/vla-datatypes.exp
7498 * gdb.fortran/vla-history.exp
7499 * gdb.fortran/vla-ptr-info.exp
7500 * gdb.fortran/vla-ptype-sub.exp
7501 * gdb.fortran/vla-ptype.exp
7502 * gdb.fortran/vla-sizeof.exp
7503 * gdb.fortran/vla-type.exp
7504 * gdb.fortran/vla-value-sub-arbitrary.exp
7505 * gdb.fortran/vla-value-sub-finish.exp
7506 * gdb.fortran/vla-value-sub.exp
7507 * gdb.fortran/vla-value.exp
7508 * gdb.fortran/whatis_type.exp
7509 * gdb.go/chan.exp
7510 * gdb.go/handcall.exp
7511 * gdb.go/hello.exp
7512 * gdb.go/integers.exp
7513 * gdb.go/methods.exp
7514 * gdb.go/package.exp
7515 * gdb.go/strings.exp
7516 * gdb.go/types.exp
7517 * gdb.go/unsafe.exp
7518 * gdb.guile/scm-arch.exp
7519 * gdb.guile/scm-block.exp
7520 * gdb.guile/scm-breakpoint.exp
7521 * gdb.guile/scm-cmd.exp
7522 * gdb.guile/scm-disasm.exp
7523 * gdb.guile/scm-equal.exp
7524 * gdb.guile/scm-frame-args.exp
7525 * gdb.guile/scm-frame-inline.exp
7526 * gdb.guile/scm-frame.exp
7527 * gdb.guile/scm-iterator.exp
7528 * gdb.guile/scm-math.exp
7529 * gdb.guile/scm-objfile.exp
7530 * gdb.guile/scm-ports.exp
7531 * gdb.guile/scm-symbol.exp
7532 * gdb.guile/scm-symtab.exp
7533 * gdb.guile/scm-value-cc.exp
7534 * gdb.guile/types-module.exp
7535 * gdb.linespec/break-ask.exp
7536 * gdb.linespec/cpexplicit.exp
7537 * gdb.linespec/explicit.exp
7538 * gdb.linespec/keywords.exp
7539 * gdb.linespec/linespec.exp
7540 * gdb.linespec/ls-dollar.exp
7541 * gdb.linespec/ls-errs.exp
7542 * gdb.linespec/skip-two.exp
7543 * gdb.linespec/thread.exp
7544 * gdb.mi/mi-async.exp
7545 * gdb.mi/mi-basics.exp
7546 * gdb.mi/mi-break.exp
7547 * gdb.mi/mi-catch-load.exp
7548 * gdb.mi/mi-cli.exp
7549 * gdb.mi/mi-cmd-param-changed.exp
7550 * gdb.mi/mi-console.exp
7551 * gdb.mi/mi-detach.exp
7552 * gdb.mi/mi-disassemble.exp
7553 * gdb.mi/mi-eval.exp
7554 * gdb.mi/mi-file-transfer.exp
7555 * gdb.mi/mi-file.exp
7556 * gdb.mi/mi-fill-memory.exp
7557 * gdb.mi/mi-inheritance-syntax-error.exp
7558 * gdb.mi/mi-linespec-err-cp.exp
7559 * gdb.mi/mi-logging.exp
7560 * gdb.mi/mi-memory-changed.exp
7561 * gdb.mi/mi-read-memory.exp
7562 * gdb.mi/mi-record-changed.exp
7563 * gdb.mi/mi-reg-undefined.exp
7564 * gdb.mi/mi-regs.exp
7565 * gdb.mi/mi-return.exp
7566 * gdb.mi/mi-reverse.exp
7567 * gdb.mi/mi-simplerun.exp
7568 * gdb.mi/mi-solib.exp
7569 * gdb.mi/mi-stack.exp
7570 * gdb.mi/mi-stepi.exp
7571 * gdb.mi/mi-syn-frame.exp
7572 * gdb.mi/mi-until.exp
7573 * gdb.mi/mi-var-block.exp
7574 * gdb.mi/mi-var-child.exp
7575 * gdb.mi/mi-var-cmd.exp
7576 * gdb.mi/mi-var-cp.exp
7577 * gdb.mi/mi-var-display.exp
7578 * gdb.mi/mi-var-invalidate.exp
7579 * gdb.mi/mi-var-list-children-invalid-grandchild.exp
7580 * gdb.mi/mi-vla-fortran.exp
7581 * gdb.mi/mi-watch.exp
7582 * gdb.mi/mi2-var-child.exp
7583 * gdb.mi/user-selected-context-sync.exp
7584 * gdb.modula2/unbounded-array.exp
7585 * gdb.multi/dummy-frame-restore.exp
7586 * gdb.multi/multi-arch-exec.exp
7587 * gdb.multi/multi-arch.exp
7588 * gdb.multi/tids.exp
7589 * gdb.multi/watchpoint-multi.exp
7590 * gdb.opencl/callfuncs.exp
7591 * gdb.opencl/convs_casts.exp
7592 * gdb.opencl/datatypes.exp
7593 * gdb.opencl/operators.exp
7594 * gdb.opencl/vec_comps.exp
7595 * gdb.opt/clobbered-registers-O2.exp
7596 * gdb.opt/inline-break.exp
7597 * gdb.opt/inline-bt.exp
7598 * gdb.opt/inline-cmds.exp
7599 * gdb.opt/inline-locals.exp
7600 * gdb.pascal/case-insensitive-symbols.exp
7601 * gdb.pascal/floats.exp
7602 * gdb.pascal/gdb11492.exp
7603 * gdb.python/lib-types.exp
7604 * gdb.python/py-arch.exp
7605 * gdb.python/py-as-string.exp
7606 * gdb.python/py-bad-printers.exp
7607 * gdb.python/py-block.exp
7608 * gdb.python/py-breakpoint-create-fail.exp
7609 * gdb.python/py-breakpoint.exp
7610 * gdb.python/py-caller-is.exp
7611 * gdb.python/py-cmd.exp
7612 * gdb.python/py-explore-cc.exp
7613 * gdb.python/py-explore.exp
7614 * gdb.python/py-finish-breakpoint.exp
7615 * gdb.python/py-finish-breakpoint2.exp
7616 * gdb.python/py-frame-args.exp
7617 * gdb.python/py-frame-inline.exp
7618 * gdb.python/py-frame.exp
7619 * gdb.python/py-framefilter-mi.exp
7620 * gdb.python/py-infthread.exp
7621 * gdb.python/py-lazy-string.exp
7622 * gdb.python/py-linetable.exp
7623 * gdb.python/py-mi-events.exp
7624 * gdb.python/py-mi-objfile.exp
7625 * gdb.python/py-mi.exp
7626 * gdb.python/py-objfile.exp
7627 * gdb.python/py-pp-integral.exp
7628 * gdb.python/py-pp-maint.exp
7629 * gdb.python/py-pp-re-notag.exp
7630 * gdb.python/py-pp-registration.exp
7631 * gdb.python/py-recurse-unwind.exp
7632 * gdb.python/py-strfns.exp
7633 * gdb.python/py-symbol.exp
7634 * gdb.python/py-symtab.exp
7635 * gdb.python/py-sync-interp.exp
7636 * gdb.python/py-typeprint.exp
7637 * gdb.python/py-unwind-maint.exp
7638 * gdb.python/py-unwind.exp
7639 * gdb.python/py-value-cc.exp
7640 * gdb.python/py-xmethods.exp
7641 * gdb.reverse/amd64-tailcall-reverse.exp
7642 * gdb.reverse/break-precsave.exp
7643 * gdb.reverse/break-reverse.exp
7644 * gdb.reverse/consecutive-precsave.exp
7645 * gdb.reverse/consecutive-reverse.exp
7646 * gdb.reverse/finish-precsave.exp
7647 * gdb.reverse/finish-reverse-bkpt.exp
7648 * gdb.reverse/finish-reverse.exp
7649 * gdb.reverse/fstatat-reverse.exp
7650 * gdb.reverse/getresuid-reverse.exp
7651 * gdb.reverse/i386-precsave.exp
7652 * gdb.reverse/i386-reverse.exp
7653 * gdb.reverse/i386-sse-reverse.exp
7654 * gdb.reverse/i387-env-reverse.exp
7655 * gdb.reverse/i387-stack-reverse.exp
7656 * gdb.reverse/insn-reverse.exp
7657 * gdb.reverse/machinestate-precsave.exp
7658 * gdb.reverse/machinestate.exp
7659 * gdb.reverse/next-reverse-bkpt-over-sr.exp
7660 * gdb.reverse/pipe-reverse.exp
7661 * gdb.reverse/readv-reverse.exp
7662 * gdb.reverse/recvmsg-reverse.exp
7663 * gdb.reverse/rerun-prec.exp
7664 * gdb.reverse/s390-mvcle.exp
7665 * gdb.reverse/step-precsave.exp
7666 * gdb.reverse/step-reverse.exp
7667 * gdb.reverse/time-reverse.exp
7668 * gdb.reverse/until-precsave.exp
7669 * gdb.reverse/until-reverse.exp
7670 * gdb.reverse/waitpid-reverse.exp
7671 * gdb.reverse/watch-precsave.exp
7672 * gdb.reverse/watch-reverse.exp
7673 * gdb.rust/generics.exp
7674 * gdb.rust/methods.exp
7675 * gdb.rust/modules.exp
7676 * gdb.rust/simple.exp
7677 * gdb.server/connect-with-no-symbol-file.exp
7678 * gdb.server/ext-attach.exp
7679 * gdb.server/ext-restart.exp
7680 * gdb.server/ext-wrapper.exp
7681 * gdb.server/file-transfer.exp
7682 * gdb.server/server-exec-info.exp
7683 * gdb.server/server-kill.exp
7684 * gdb.server/server-mon.exp
7685 * gdb.server/wrapper.exp
7686 * gdb.stabs/exclfwd.exp
7687 * gdb.stabs/gdb11479.exp
7688 * gdb.threads/clone-new-thread-event.exp
7689 * gdb.threads/corethreads.exp
7690 * gdb.threads/current-lwp-dead.exp
7691 * gdb.threads/dlopen-libpthread.exp
7692 * gdb.threads/gcore-thread.exp
7693 * gdb.threads/sigstep-threads.exp
7694 * gdb.threads/watchpoint-fork.exp
7695 * gdb.trace/actions-changed.exp
7696 * gdb.trace/backtrace.exp
7697 * gdb.trace/change-loc.exp
7698 * gdb.trace/circ.exp
7699 * gdb.trace/collection.exp
7700 * gdb.trace/disconnected-tracing.exp
7701 * gdb.trace/ftrace.exp
7702 * gdb.trace/mi-trace-frame-collected.exp
7703 * gdb.trace/mi-trace-unavailable.exp
7704 * gdb.trace/mi-traceframe-changed.exp
7705 * gdb.trace/mi-tsv-changed.exp
7706 * gdb.trace/no-attach-trace.exp
7707 * gdb.trace/passc-dyn.exp
7708 * gdb.trace/qtro.exp
7709 * gdb.trace/range-stepping.exp
7710 * gdb.trace/read-memory.exp
7711 * gdb.trace/save-trace.exp
7712 * gdb.trace/signal.exp
7713 * gdb.trace/status-stop.exp
7714 * gdb.trace/tfile.exp
7715 * gdb.trace/trace-break.exp
7716 * gdb.trace/trace-buffer-size.exp
7717 * gdb.trace/trace-condition.exp
7718 * gdb.trace/tracefile-pseudo-reg.exp
7719 * gdb.trace/tstatus.exp
7720 * gdb.trace/unavailable.exp
7721 * gdb.trace/while-dyn.exp
7722 * gdb.trace/while-stepping.exp
7723
7724 2016-12-22 Doug Evans <xdje42@gmail.com>
7725
7726 * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
7727 and msymbols.
7728
7729 2016-12-19 Yao Qi <yao.qi@linaro.org>
7730
7731 * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
7732 (test_with_self): Don't call do_steps_and_nexts, and remove
7733 code about stepping into xmalloc.
7734
7735 2016-12-09 Yao Qi <yao.qi@linaro.org>
7736
7737 * gdb.base/all-architectures.exp.in: Remove kfail for rx.
7738
7739 2016-12-09 Yao Qi <yao.qi@linaro.org>
7740
7741 * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
7742
7743 2016-12-09 Pedro Alves <palves@redhat.com>
7744
7745 * gdb.base/all-architectures-0.exp: New file.
7746 * gdb.base/all-architectures-1.exp: New file.
7747 * gdb.base/all-architectures-2.exp: New file.
7748 * gdb.base/all-architectures-3.exp: New file.
7749 * gdb.base/all-architectures-4.exp: New file.
7750 * gdb.base/all-architectures-5.exp: New file.
7751 * gdb.base/all-architectures-6.exp: New file.
7752 * gdb.base/all-architectures-7.exp: New file.
7753 * gdb.base/all-architectures.exp.in: New file.
7754
7755 2016-12-09 Yao Qi <yao.qi@linaro.org>
7756
7757 * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
7758
7759 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7760
7761 * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
7762 possible.
7763 Remove useless pattern-matching code.
7764
7765 2016-12-02 Pedro Alves <palves@redhat.com>
7766
7767 * gdb.base/commands.exp (user_defined_command_manyargs_test): New
7768 procedure.
7769 (top level): Call it.
7770
7771 2016-12-02 Pedro Alves <palves@redhat.com>
7772
7773 * gdb.base/commands.exp (user_defined_command_args_stack_test):
7774 New procedure.
7775 (top level): Call it.
7776
7777 2016-12-02 Pedro Alves <palves@redhat.com>
7778
7779 PR cli/20559
7780 * gdb.base/commands.exp (user_defined_command_args_eval): New
7781 procedure.
7782 (top level): Call it.
7783
7784 2016-12-02 Luis Machado <lgustavo@codesourcery.com>
7785
7786 * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
7787 timeout handling.
7788
7789 2016-12-02 Tom Tromey <tom@tromey.com>
7790
7791 * gdb.dwarf2/main-subprogram.c: New file.
7792 * gdb.dwarf2/main-subprogram.exp: New file.
7793
7794 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7795
7796 * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
7797 * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
7798 gdb_test_no_output for a couple of cases.
7799 * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
7800
7801 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
7802
7803 Fix test names and standardize compilation error messages throughout
7804 the following files:
7805
7806 * gdb.ada/start.exp
7807 * gdb.arch/alpha-step.exp
7808 * gdb.arch/e500-prologue.exp
7809 * gdb.arch/ftrace-insn-reloc.exp
7810 * gdb.arch/gdb1291.exp
7811 * gdb.arch/gdb1431.exp
7812 * gdb.arch/gdb1558.exp
7813 * gdb.arch/i386-dr3-watch.exp
7814 * gdb.arch/i386-sse-stack-align.exp
7815 * gdb.arch/ia64-breakpoint-shadow.exp
7816 * gdb.arch/pa-nullify.exp
7817 * gdb.arch/powerpc-aix-prologue.exp
7818 * gdb.arch/thumb-bx-pc.exp
7819 * gdb.base/annota1.exp
7820 * gdb.base/annota3.exp
7821 * gdb.base/arrayidx.exp
7822 * gdb.base/assign.exp
7823 * gdb.base/attach.exp
7824 * gdb.base/auxv.exp
7825 * gdb.base/bang.exp
7826 * gdb.base/bfp-test.exp
7827 * gdb.base/bigcore.exp
7828 * gdb.base/bitfields2.exp
7829 * gdb.base/break-fun-addr.exp
7830 * gdb.base/break-probes.exp
7831 * gdb.base/call-rt-st.exp
7832 * gdb.base/callexit.exp
7833 * gdb.base/catch-fork-kill.exp
7834 * gdb.base/charset.exp
7835 * gdb.base/checkpoint.exp
7836 * gdb.base/comprdebug.exp
7837 * gdb.base/constvars.exp
7838 * gdb.base/coredump-filter.exp
7839 * gdb.base/cursal.exp
7840 * gdb.base/cvexpr.exp
7841 * gdb.base/detach.exp
7842 * gdb.base/display.exp
7843 * gdb.base/dmsym.exp
7844 * gdb.base/dprintf-pending.exp
7845 * gdb.base/dso2dso.exp
7846 * gdb.base/dtrace-probe.exp
7847 * gdb.base/dump.exp
7848 * gdb.base/enum_cond.exp
7849 * gdb.base/exe-lock.exp
7850 * gdb.base/exec-invalid-sysroot.exp
7851 * gdb.base/execl-update-breakpoints.exp
7852 * gdb.base/exprs.exp
7853 * gdb.base/fileio.exp
7854 * gdb.base/find.exp
7855 * gdb.base/finish.exp
7856 * gdb.base/fixsection.exp
7857 * gdb.base/foll-vfork.exp
7858 * gdb.base/frame-args.exp
7859 * gdb.base/gcore.exp
7860 * gdb.base/gdb1250.exp
7861 * gdb.base/global-var-nested-by-dso.exp
7862 * gdb.base/gnu-ifunc.exp
7863 * gdb.base/hashline1.exp
7864 * gdb.base/hashline2.exp
7865 * gdb.base/hashline3.exp
7866 * gdb.base/hbreak-in-shr-unsupported.exp
7867 * gdb.base/huge.exp
7868 * gdb.base/infcall-input.exp
7869 * gdb.base/info-fun.exp
7870 * gdb.base/info-shared.exp
7871 * gdb.base/jit-simple.exp
7872 * gdb.base/jit-so.exp
7873 * gdb.base/jit.exp
7874 * gdb.base/jump.exp
7875 * gdb.base/label.exp
7876 * gdb.base/lineinc.exp
7877 * gdb.base/logical.exp
7878 * gdb.base/longjmp.exp
7879 * gdb.base/macscp.exp
7880 * gdb.base/miscexprs.exp
7881 * gdb.base/new-ui-echo.exp
7882 * gdb.base/new-ui-pending-input.exp
7883 * gdb.base/new-ui.exp
7884 * gdb.base/nodebug.exp
7885 * gdb.base/nofield.exp
7886 * gdb.base/offsets.exp
7887 * gdb.base/overlays.exp
7888 * gdb.base/pending.exp
7889 * gdb.base/pointers.exp
7890 * gdb.base/pr11022.exp
7891 * gdb.base/printcmds.exp
7892 * gdb.base/prologue.exp
7893 * gdb.base/ptr-typedef.exp
7894 * gdb.base/realname-expand.exp
7895 * gdb.base/relativedebug.exp
7896 * gdb.base/relocate.exp
7897 * gdb.base/remote.exp
7898 * gdb.base/reread.exp
7899 * gdb.base/return2.exp
7900 * gdb.base/savedregs.exp
7901 * gdb.base/sep.exp
7902 * gdb.base/sepdebug.exp
7903 * gdb.base/sepsymtab.exp
7904 * gdb.base/set-inferior-tty.exp
7905 * gdb.base/setshow.exp
7906 * gdb.base/shlib-call.exp
7907 * gdb.base/sigaltstack.exp
7908 * gdb.base/siginfo-addr.exp
7909 * gdb.base/signals.exp
7910 * gdb.base/signull.exp
7911 * gdb.base/sigrepeat.exp
7912 * gdb.base/so-impl-ld.exp
7913 * gdb.base/solib-display.exp
7914 * gdb.base/solib-overlap.exp
7915 * gdb.base/solib-search.exp
7916 * gdb.base/solib-symbol.exp
7917 * gdb.base/structs.exp
7918 * gdb.base/structs2.exp
7919 * gdb.base/symtab-search-order.exp
7920 * gdb.base/twice.exp
7921 * gdb.base/unload.exp
7922 * gdb.base/varargs.exp
7923 * gdb.base/watchpoint-solib.exp
7924 * gdb.base/watchpoint.exp
7925 * gdb.base/whatis.exp
7926 * gdb.base/wrong_frame_bt_full.exp
7927 * gdb.btrace/dlopen.exp
7928 * gdb.cell/ea-standalone.exp
7929 * gdb.cell/ea-test.exp
7930 * gdb.cp/dispcxx.exp
7931 * gdb.cp/gdb2384.exp
7932 * gdb.cp/method2.exp
7933 * gdb.cp/nextoverthrow.exp
7934 * gdb.cp/pr10728.exp
7935 * gdb.disasm/am33.exp
7936 * gdb.disasm/h8300s.exp
7937 * gdb.disasm/mn10300.exp
7938 * gdb.disasm/sh3.exp
7939 * gdb.dwarf2/dw2-dir-file-name.exp
7940 * gdb.fortran/complex.exp
7941 * gdb.fortran/library-module.exp
7942 * gdb.guile/scm-pretty-print.exp
7943 * gdb.guile/scm-symbol.exp
7944 * gdb.guile/scm-type.exp
7945 * gdb.guile/scm-value.exp
7946 * gdb.linespec/linespec.exp
7947 * gdb.mi/gdb701.exp
7948 * gdb.mi/gdb792.exp
7949 * gdb.mi/mi-breakpoint-changed.exp
7950 * gdb.mi/mi-dprintf-pending.exp
7951 * gdb.mi/mi-dprintf.exp
7952 * gdb.mi/mi-exit-code.exp
7953 * gdb.mi/mi-pending.exp
7954 * gdb.mi/mi-solib.exp
7955 * gdb.mi/new-ui-mi-sync.exp
7956 * gdb.mi/pr11022.exp
7957 * gdb.mi/user-selected-context-sync.exp
7958 * gdb.opt/solib-intra-step.exp
7959 * gdb.python/py-events.exp
7960 * gdb.python/py-finish-breakpoint.exp
7961 * gdb.python/py-mi.exp
7962 * gdb.python/py-prettyprint.exp
7963 * gdb.python/py-shared.exp
7964 * gdb.python/py-symbol.exp
7965 * gdb.python/py-template.exp
7966 * gdb.python/py-type.exp
7967 * gdb.python/py-value.exp
7968 * gdb.reverse/solib-precsave.exp
7969 * gdb.reverse/solib-reverse.exp
7970 * gdb.server/solib-list.exp
7971 * gdb.stabs/weird.exp
7972 * gdb.threads/reconnect-signal.exp
7973 * gdb.threads/stepi-random-signal.exp
7974 * gdb.trace/actions.exp
7975 * gdb.trace/ax.exp
7976 * gdb.trace/backtrace.exp
7977 * gdb.trace/change-loc.exp
7978 * gdb.trace/deltrace.exp
7979 * gdb.trace/ftrace-lock.exp
7980 * gdb.trace/ftrace.exp
7981 * gdb.trace/infotrace.exp
7982 * gdb.trace/mi-tracepoint-changed.exp
7983 * gdb.trace/packetlen.exp
7984 * gdb.trace/passcount.exp
7985 * gdb.trace/pending.exp
7986 * gdb.trace/range-stepping.exp
7987 * gdb.trace/report.exp
7988 * gdb.trace/stap-trace.exp
7989 * gdb.trace/tfind.exp
7990 * gdb.trace/trace-break.exp
7991 * gdb.trace/trace-condition.exp
7992 * gdb.trace/trace-enable-disable.exp
7993 * gdb.trace/trace-mt.exp
7994 * gdb.trace/tracecmd.exp
7995 * gdb.trace/tspeed.exp
7996 * gdb.trace/tsv.exp
7997 * lib/perftest.exp
7998
7999 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8000
8001 * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
8002 with gdb_test_no_output.
8003 Use command as test name.
8004
8005 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8006
8007 Fix test names starting with uppercase throughout the files.
8008
8009 * gdb.ada/assign_1.exp
8010 * gdb.ada/boolean_expr.exp
8011 * gdb.base/arrayidx.exp
8012 * gdb.base/del.exp
8013 * gdb.base/gcore-buffer-overflow.exp
8014 * gdb.base/testenv.exp
8015 * gdb.compile/compile.exp
8016 * gdb.python/py-framefilter-invalidarg.exp
8017 * gdb.python/py-framefilter.exp
8018
8019 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8020
8021 Fix test names starting with uppercase throughout the files.
8022
8023 * gdb.ada/array_return.exp
8024 * gdb.ada/expr_delims.exp
8025 * gdb.ada/mi_dyn_arr.exp
8026 * gdb.ada/mi_interface.exp
8027 * gdb.ada/mi_var_array.exp
8028 * gdb.ada/watch_arg.exp
8029 * gdb.arch/alpha-step.exp
8030 * gdb.arch/altivec-regs.exp
8031 * gdb.arch/e500-regs.exp
8032 * gdb.arch/powerpc-d128-regs.exp
8033 * gdb.base/arrayidx.exp
8034 * gdb.base/break.exp
8035 * gdb.base/checkpoint.exp
8036 * gdb.base/debug-expr.exp
8037 * gdb.base/dmsym.exp
8038 * gdb.base/radix.exp
8039 * gdb.base/sepdebug.exp
8040 * gdb.base/testenv.exp
8041 * gdb.base/watch_thread_num.exp
8042 * gdb.base/watchpoint-cond-gone.exp
8043 * gdb.cell/break.exp
8044 * gdb.cell/ea-cache.exp
8045 * gdb.compile/compile.exp
8046 * gdb.cp/gdb2495.exp
8047 * gdb.gdb/selftest.exp
8048 * gdb.gdb/xfullpath.exp
8049 * gdb.go/hello.exp
8050 * gdb.go/integers.exp
8051 * gdb.objc/basicclass.exp
8052 * gdb.pascal/hello.exp
8053 * gdb.pascal/integers.exp
8054 * gdb.python/py-breakpoint.exp
8055 * gdb.python/py-cmd.exp
8056 * gdb.python/py-linetable.exp
8057 * gdb.python/py-xmethods.exp
8058 * gdb.python/python.exp
8059 * gdb.reverse/consecutive-precsave.exp
8060 * gdb.reverse/finish-precsave.exp
8061 * gdb.reverse/i386-precsave.exp
8062 * gdb.reverse/machinestate-precsave.exp
8063 * gdb.reverse/sigall-precsave.exp
8064 * gdb.reverse/solib-precsave.exp
8065 * gdb.reverse/step-precsave.exp
8066 * gdb.reverse/until-precsave.exp
8067 * gdb.reverse/watch-precsave.exp
8068 * gdb.threads/leader-exit.exp
8069 * gdb.threads/pthreads.exp
8070 * gdb.threads/wp-replication.exp
8071 * gdb.trace/actions.exp
8072 * gdb.trace/mi-tsv-changed.exp
8073 * gdb.trace/tsv.exp
8074
8075 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8076
8077 Fix test names starting with uppercase throughout the files.
8078
8079 * gdb.arch/i386-bp_permanent.exp
8080 * gdb.arch/i386-gnu-cfi.exp
8081 * gdb.base/disasm-end-cu.exp
8082 * gdb.base/macscp.exp
8083 * gdb.base/pending.exp
8084 * gdb.base/watch_thread_num.exp
8085 * gdb.cp/exception.exp
8086 * gdb.cp/gdb2495.exp
8087 * gdb.cp/local.exp
8088 * gdb.python/py-evsignal.exp
8089 * gdb.python/python.exp
8090 * gdb.trace/tracecmd.exp
8091
8092 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8093
8094 Fix test names starting with uppercase throughout the files.
8095
8096 * gdb.base/charset.exp
8097 * gdb.base/eval.exp
8098 * gdb.base/multi-forks.exp
8099 * gdb.guile/scm-progspace.exp
8100 * gdb.opencl/datatypes.exp
8101 * gdb.python/py-block.exp
8102 * gdb.python/py-function.exp
8103 * gdb.python/py-symbol.exp
8104 * gdb.python/py-symtab.exp
8105 * gdb.python/py-xmethods.exp
8106 * gdb.reverse/break-precsave.exp
8107 * gdb.reverse/break-reverse.exp
8108 * gdb.reverse/consecutive-precsave.exp
8109 * gdb.reverse/consecutive-reverse.exp
8110 * gdb.reverse/finish-precsave.exp
8111 * gdb.reverse/finish-reverse-bkpt.exp
8112 * gdb.reverse/finish-reverse.exp
8113 * gdb.reverse/fstatat-reverse.exp
8114 * gdb.reverse/getresuid-reverse.exp
8115 * gdb.reverse/i386-precsave.exp
8116 * gdb.reverse/i386-reverse.exp
8117 * gdb.reverse/i386-sse-reverse.exp
8118 * gdb.reverse/i387-stack-reverse.exp
8119 * gdb.reverse/insn-reverse.exp
8120 * gdb.reverse/machinestate-precsave.exp
8121 * gdb.reverse/machinestate.exp
8122 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8123 * gdb.reverse/pipe-reverse.exp
8124 * gdb.reverse/readv-reverse.exp
8125 * gdb.reverse/recvmsg-reverse.exp
8126 * gdb.reverse/rerun-prec.exp
8127 * gdb.reverse/s390-mvcle.exp
8128 * gdb.reverse/sigall-precsave.exp
8129 * gdb.reverse/sigall-reverse.exp
8130 * gdb.reverse/solib-precsave.exp
8131 * gdb.reverse/solib-reverse.exp
8132 * gdb.reverse/step-precsave.exp
8133 * gdb.reverse/step-reverse.exp
8134 * gdb.reverse/time-reverse.exp
8135 * gdb.reverse/until-precsave.exp
8136 * gdb.reverse/until-reverse.exp
8137 * gdb.reverse/waitpid-reverse.exp
8138 * gdb.reverse/watch-precsave.exp
8139 * gdb.reverse/watch-reverse.exp
8140
8141 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8142
8143 Fix test names starting with uppercase throughout the files.
8144
8145 * gdb.arch/i386-mpx-simple_segv.exp
8146 * gdb.arch/i386-mpx.exp
8147 * gdb.arch/i386-permbkpt.exp
8148 * gdb.arch/pa-nullify.exp
8149 * gdb.arch/powerpc-d128-regs.exp
8150 * gdb.arch/vsx-regs.exp
8151 * gdb.base/bfp-test.exp
8152 * gdb.base/break.exp
8153 * gdb.base/breakpoint-shadow.exp
8154 * gdb.base/callfuncs.exp
8155 * gdb.base/charset.exp
8156 * gdb.base/commands.exp
8157 * gdb.base/completion.exp
8158 * gdb.base/dfp-test.exp
8159 * gdb.base/echo.exp
8160 * gdb.base/ending-run.exp
8161 * gdb.base/eval.exp
8162 * gdb.base/expand-psymtabs.exp
8163 * gdb.base/float128.exp
8164 * gdb.base/floatn.exp
8165 * gdb.base/foll-exec-mode.exp
8166 * gdb.base/gdb1056.exp
8167 * gdb.base/gdb11531.exp
8168 * gdb.base/kill-after-signal.exp
8169 * gdb.base/multi-forks.exp
8170 * gdb.base/overlays.exp
8171 * gdb.base/pending.exp
8172 * gdb.base/sepdebug.exp
8173 * gdb.base/testenv.exp
8174 * gdb.base/valgrind-db-attach.exp
8175 * gdb.base/watch_thread_num.exp
8176 * gdb.base/watchpoint-cond-gone.exp
8177 * gdb.base/watchpoint.exp
8178 * gdb.base/watchpoints.exp
8179 * gdb.cp/arg-reference.exp
8180 * gdb.cp/baseenum.exp
8181 * gdb.cp/operator.exp
8182 * gdb.cp/shadow.exp
8183 * gdb.dwarf2/dw2-op-out-param.exp
8184 * gdb.dwarf2/dw2-reg-undefined.exp
8185 * gdb.go/chan.exp
8186 * gdb.go/hello.exp
8187 * gdb.go/integers.exp
8188 * gdb.go/methods.exp
8189 * gdb.go/package.exp
8190 * gdb.guile/scm-parameter.exp
8191 * gdb.guile/scm-progspace.exp
8192 * gdb.guile/scm-value.exp
8193 * gdb.mi/mi-pending.exp
8194 * gdb.mi/user-selected-context-sync.exp
8195 * gdb.multi/multi-attach.exp
8196 * gdb.multi/tids.exp
8197 * gdb.opt/clobbered-registers-O2.exp
8198 * gdb.pascal/floats.exp
8199 * gdb.pascal/integers.exp
8200 * gdb.python/py-block.exp
8201 * gdb.python/py-events.exp
8202 * gdb.python/py-parameter.exp
8203 * gdb.python/py-symbol.exp
8204 * gdb.python/py-symtab.exp
8205 * gdb.python/py-type.exp
8206 * gdb.python/py-value.exp
8207 * gdb.python/py-xmethods.exp
8208 * gdb.python/python.exp
8209 * gdb.reverse/break-precsave.exp
8210 * gdb.reverse/consecutive-precsave.exp
8211 * gdb.reverse/finish-precsave.exp
8212 * gdb.reverse/i386-precsave.exp
8213 * gdb.reverse/machinestate-precsave.exp
8214 * gdb.reverse/sigall-precsave.exp
8215 * gdb.reverse/solib-precsave.exp
8216 * gdb.reverse/step-precsave.exp
8217 * gdb.reverse/until-precsave.exp
8218 * gdb.reverse/watch-precsave.exp
8219 * gdb.server/ext-attach.exp
8220 * gdb.server/ext-restart.exp
8221 * gdb.server/ext-run.exp
8222 * gdb.server/ext-wrapper.exp
8223 * gdb.stabs/gdb11479.exp
8224 * gdb.stabs/weird.exp
8225 * gdb.threads/attach-many-short-lived-threads.exp
8226 * gdb.threads/kill.exp
8227 * gdb.threads/watchpoint-fork.exp
8228
8229 2016-12-01 Luis Machado <lgustavo@codesourcery.com>
8230
8231 Fix test names starting with uppercase throughout all the files below.
8232
8233 * gdb.ada/array_return.exp
8234 * gdb.ada/catch_ex.exp
8235 * gdb.ada/info_exc.exp
8236 * gdb.ada/mi_catch_ex.exp
8237 * gdb.ada/mi_dyn_arr.exp
8238 * gdb.ada/mi_ex_cond.exp
8239 * gdb.ada/mi_exc_info.exp
8240 * gdb.ada/mi_interface.exp
8241 * gdb.ada/mi_task_arg.exp
8242 * gdb.ada/mi_task_info.exp
8243 * gdb.ada/mi_var_array.exp
8244 * gdb.arch/alpha-step.exp
8245 * gdb.arch/amd64-disp-step.exp
8246 * gdb.arch/arm-disp-step.exp
8247 * gdb.arch/disp-step-insn-reloc.exp
8248 * gdb.arch/e500-prologue.exp
8249 * gdb.arch/ftrace-insn-reloc.exp
8250 * gdb.arch/gdb1558.exp
8251 * gdb.arch/i386-bp_permanent.exp
8252 * gdb.arch/i386-disp-step.exp
8253 * gdb.arch/i386-float.exp
8254 * gdb.arch/i386-gnu-cfi.exp
8255 * gdb.arch/ia64-breakpoint-shadow.exp
8256 * gdb.arch/mips16-thunks.exp
8257 * gdb.arch/pa-nullify.exp
8258 * gdb.arch/powerpc-aix-prologue.exp
8259 * gdb.arch/powerpc-power.exp
8260 * gdb.arch/ppc-dfp.exp
8261 * gdb.arch/s390-tdbregs.exp
8262 * gdb.arch/spu-info.exp
8263 * gdb.arch/spu-ls.exp
8264 * gdb.arch/thumb-bx-pc.exp
8265 * gdb.base/advance.exp
8266 * gdb.base/annota-input-while-running.exp
8267 * gdb.base/arrayidx.exp
8268 * gdb.base/asmlabel.exp
8269 * gdb.base/async.exp
8270 * gdb.base/attach-wait-input.exp
8271 * gdb.base/auto-connect-native-target.exp
8272 * gdb.base/batch-preserve-term-settings.exp
8273 * gdb.base/bfp-test.exp
8274 * gdb.base/bigcore.exp
8275 * gdb.base/bp-permanent.exp
8276 * gdb.base/break-always.exp
8277 * gdb.base/break-fun-addr.exp
8278 * gdb.base/break-idempotent.exp
8279 * gdb.base/break-main-file-remove-fail.exp
8280 * gdb.base/break-probes.exp
8281 * gdb.base/break-unload-file.exp
8282 * gdb.base/break.exp
8283 * gdb.base/call-ar-st.exp
8284 * gdb.base/call-rt-st.exp
8285 * gdb.base/call-sc.exp
8286 * gdb.base/call-signal-resume.exp
8287 * gdb.base/call-strs.exp
8288 * gdb.base/callexit.exp
8289 * gdb.base/callfuncs.exp
8290 * gdb.base/catch-gdb-caused-signals.exp
8291 * gdb.base/catch-signal-siginfo-cond.exp
8292 * gdb.base/catch-syscall.exp
8293 * gdb.base/compare-sections.exp
8294 * gdb.base/cond-eval-mode.exp
8295 * gdb.base/condbreak-call-false.exp
8296 * gdb.base/consecutive-step-over.exp
8297 * gdb.base/cursal.exp
8298 * gdb.base/disabled-location.exp
8299 * gdb.base/disasm-end-cu.exp
8300 * gdb.base/display.exp
8301 * gdb.base/double-prompt-target-event-error.exp
8302 * gdb.base/dprintf-bp-same-addr.exp
8303 * gdb.base/dprintf-detach.exp
8304 * gdb.base/dprintf-next.exp
8305 * gdb.base/dprintf-non-stop.exp
8306 * gdb.base/dprintf-pending.exp
8307 * gdb.base/dso2dso.exp
8308 * gdb.base/ending-run.exp
8309 * gdb.base/enum_cond.exp
8310 * gdb.base/examine-backward.exp
8311 * gdb.base/exe-lock.exp
8312 * gdb.base/exec-invalid-sysroot.exp
8313 * gdb.base/execl-update-breakpoints.exp
8314 * gdb.base/execution-termios.exp
8315 * gdb.base/fileio.exp
8316 * gdb.base/fixsection.exp
8317 * gdb.base/foll-exec-mode.exp
8318 * gdb.base/foll-exec.exp
8319 * gdb.base/fork-running-state.exp
8320 * gdb.base/frame-args.exp
8321 * gdb.base/fullpath-expand.exp
8322 * gdb.base/func-ptr.exp
8323 * gdb.base/gcore-relro-pie.exp
8324 * gdb.base/gdb1090.exp
8325 * gdb.base/gdb1555.exp
8326 * gdb.base/global-var-nested-by-dso.exp
8327 * gdb.base/gnu-ifunc.exp
8328 * gdb.base/hbreak-in-shr-unsupported.exp
8329 * gdb.base/hbreak-unmapped.exp
8330 * gdb.base/hook-stop.exp
8331 * gdb.base/infcall-input.exp
8332 * gdb.base/info-fun.exp
8333 * gdb.base/info-shared.exp
8334 * gdb.base/interrupt-noterm.exp
8335 * gdb.base/jit-so.exp
8336 * gdb.base/jit.exp
8337 * gdb.base/line-symtabs.exp
8338 * gdb.base/list.exp
8339 * gdb.base/longjmp.exp
8340 * gdb.base/macscp.exp
8341 * gdb.base/max-value-size.exp
8342 * gdb.base/nodebug.exp
8343 * gdb.base/nofield.exp
8344 * gdb.base/overlays.exp
8345 * gdb.base/paginate-after-ctrl-c-running.exp
8346 * gdb.base/paginate-bg-execution.exp
8347 * gdb.base/paginate-inferior-exit.exp
8348 * gdb.base/pending.exp
8349 * gdb.base/pr11022.exp
8350 * gdb.base/printcmds.exp
8351 * gdb.base/ptr-typedef.exp
8352 * gdb.base/ptype.exp
8353 * gdb.base/randomize.exp
8354 * gdb.base/range-stepping.exp
8355 * gdb.base/realname-expand.exp
8356 * gdb.base/relativedebug.exp
8357 * gdb.base/remote.exp
8358 * gdb.base/savedregs.exp
8359 * gdb.base/sepdebug.exp
8360 * gdb.base/set-noassign.exp
8361 * gdb.base/shlib-call.exp
8362 * gdb.base/shreloc.exp
8363 * gdb.base/sigaltstack.exp
8364 * gdb.base/sigbpt.exp
8365 * gdb.base/siginfo-addr.exp
8366 * gdb.base/siginfo-obj.exp
8367 * gdb.base/siginfo-thread.exp
8368 * gdb.base/signest.exp
8369 * gdb.base/signull.exp
8370 * gdb.base/sigrepeat.exp
8371 * gdb.base/skip.exp
8372 * gdb.base/so-impl-ld.exp
8373 * gdb.base/solib-corrupted.exp
8374 * gdb.base/solib-disc.exp
8375 * gdb.base/solib-display.exp
8376 * gdb.base/solib-overlap.exp
8377 * gdb.base/solib-search.exp
8378 * gdb.base/solib-symbol.exp
8379 * gdb.base/source-execution.exp
8380 * gdb.base/sss-bp-on-user-bp-2.exp
8381 * gdb.base/sss-bp-on-user-bp.exp
8382 * gdb.base/stack-checking.exp
8383 * gdb.base/stale-infcall.exp
8384 * gdb.base/step-break.exp
8385 * gdb.base/step-line.exp
8386 * gdb.base/step-over-exit.exp
8387 * gdb.base/step-test.exp
8388 * gdb.base/structs.exp
8389 * gdb.base/sym-file.exp
8390 * gdb.base/symtab-search-order.exp
8391 * gdb.base/term.exp
8392 * gdb.base/type-opaque.exp
8393 * gdb.base/unload.exp
8394 * gdb.base/until-nodebug.exp
8395 * gdb.base/until.exp
8396 * gdb.base/unwindonsignal.exp
8397 * gdb.base/watch-cond.exp
8398 * gdb.base/watch-non-mem.exp
8399 * gdb.base/watch_thread_num.exp
8400 * gdb.base/watchpoint-reuse-slot.exp
8401 * gdb.base/watchpoint-solib.exp
8402 * gdb.base/watchpoint.exp
8403 * gdb.btrace/dlopen.exp
8404 * gdb.cell/arch.exp
8405 * gdb.cell/break.exp
8406 * gdb.cell/bt.exp
8407 * gdb.cell/core.exp
8408 * gdb.cell/data.exp
8409 * gdb.cell/dwarfaddr.exp
8410 * gdb.cell/ea-cache.exp
8411 * gdb.cell/ea-standalone.exp
8412 * gdb.cell/ea-test.exp
8413 * gdb.cell/f-regs.exp
8414 * gdb.cell/fork.exp
8415 * gdb.cell/gcore.exp
8416 * gdb.cell/mem-access.exp
8417 * gdb.cell/ptype.exp
8418 * gdb.cell/registers.exp
8419 * gdb.cell/sizeof.exp
8420 * gdb.cell/solib-symbol.exp
8421 * gdb.cell/solib.exp
8422 * gdb.compile/compile-tls.exp
8423 * gdb.cp/exception.exp
8424 * gdb.cp/gdb2495.exp
8425 * gdb.cp/local.exp
8426 * gdb.cp/mb-inline.exp
8427 * gdb.cp/mb-templates.exp
8428 * gdb.cp/pr10687.exp
8429 * gdb.cp/pr9167.exp
8430 * gdb.cp/scope-err.exp
8431 * gdb.cp/templates.exp
8432 * gdb.cp/virtfunc.exp
8433 * gdb.dwarf2/dw2-dir-file-name.exp
8434 * gdb.dwarf2/dw2-single-line-discriminators.exp
8435 * gdb.fortran/complex.exp
8436 * gdb.fortran/library-module.exp
8437 * gdb.guile/guile.exp
8438 * gdb.guile/scm-cmd.exp
8439 * gdb.guile/scm-frame-inline.exp
8440 * gdb.guile/scm-objfile.exp
8441 * gdb.guile/scm-pretty-print.exp
8442 * gdb.guile/scm-symbol.exp
8443 * gdb.guile/scm-type.exp
8444 * gdb.guile/scm-value.exp
8445 * gdb.linespec/keywords.exp
8446 * gdb.linespec/ls-errs.exp
8447 * gdb.linespec/macro-relative.exp
8448 * gdb.linespec/thread.exp
8449 * gdb.mi/mi-breakpoint-changed.exp
8450 * gdb.mi/mi-dprintf-pending.exp
8451 * gdb.mi/mi-fullname-deleted.exp
8452 * gdb.mi/mi-logging.exp
8453 * gdb.mi/mi-pending.exp
8454 * gdb.mi/mi-solib.exp
8455 * gdb.mi/new-ui-mi-sync.exp
8456 * gdb.mi/user-selected-context-sync.exp
8457 * gdb.multi/dummy-frame-restore.exp
8458 * gdb.multi/multi-arch-exec.exp
8459 * gdb.multi/remove-inferiors.exp
8460 * gdb.multi/watchpoint-multi-exit.exp
8461 * gdb.opt/solib-intra-step.exp
8462 * gdb.perf/backtrace.exp
8463 * gdb.perf/single-step.exp
8464 * gdb.perf/skip-command.exp
8465 * gdb.perf/skip-prologue.exp
8466 * gdb.perf/solib.exp
8467 * gdb.python/lib-types.exp
8468 * gdb.python/py-as-string.exp
8469 * gdb.python/py-bad-printers.exp
8470 * gdb.python/py-block.exp
8471 * gdb.python/py-breakpoint.exp
8472 * gdb.python/py-cmd.exp
8473 * gdb.python/py-events.exp
8474 * gdb.python/py-evthreads.exp
8475 * gdb.python/py-finish-breakpoint.exp
8476 * gdb.python/py-finish-breakpoint2.exp
8477 * gdb.python/py-frame-inline.exp
8478 * gdb.python/py-frame.exp
8479 * gdb.python/py-inferior.exp
8480 * gdb.python/py-infthread.exp
8481 * gdb.python/py-mi.exp
8482 * gdb.python/py-objfile.exp
8483 * gdb.python/py-pp-maint.exp
8484 * gdb.python/py-pp-registration.exp
8485 * gdb.python/py-prettyprint.exp
8486 * gdb.python/py-recurse-unwind.exp
8487 * gdb.python/py-shared.exp
8488 * gdb.python/py-symbol.exp
8489 * gdb.python/py-symtab.exp
8490 * gdb.python/py-template.exp
8491 * gdb.python/py-type.exp
8492 * gdb.python/py-unwind-maint.exp
8493 * gdb.python/py-unwind.exp
8494 * gdb.python/py-value.exp
8495 * gdb.python/python.exp
8496 * gdb.reverse/finish-reverse-bkpt.exp
8497 * gdb.reverse/insn-reverse.exp
8498 * gdb.reverse/next-reverse-bkpt-over-sr.exp
8499 * gdb.reverse/solib-precsave.exp
8500 * gdb.reverse/solib-reverse.exp
8501 * gdb.stabs/gdb11479.exp
8502 * gdb.stabs/weird.exp
8503 * gdb.threads/fork-child-threads.exp
8504 * gdb.threads/fork-plus-threads.exp
8505 * gdb.threads/fork-thread-pending.exp
8506 * gdb.threads/forking-threads-plus-breakpoint.exp
8507 * gdb.threads/hand-call-in-threads.exp
8508 * gdb.threads/interrupted-hand-call.exp
8509 * gdb.threads/linux-dp.exp
8510 * gdb.threads/local-watch-wrong-thread.exp
8511 * gdb.threads/next-while-other-thread-longjmps.exp
8512 * gdb.threads/non-ldr-exit.exp
8513 * gdb.threads/pending-step.exp
8514 * gdb.threads/print-threads.exp
8515 * gdb.threads/process-dies-while-detaching.exp
8516 * gdb.threads/process-dies-while-handling-bp.exp
8517 * gdb.threads/pthreads.exp
8518 * gdb.threads/queue-signal.exp
8519 * gdb.threads/reconnect-signal.exp
8520 * gdb.threads/signal-command-handle-nopass.exp
8521 * gdb.threads/signal-command-multiple-signals-pending.exp
8522 * gdb.threads/signal-delivered-right-thread.exp
8523 * gdb.threads/signal-sigtrap.exp
8524 * gdb.threads/sigthread.exp
8525 * gdb.threads/staticthreads.exp
8526 * gdb.threads/stepi-random-signal.exp
8527 * gdb.threads/thread-unwindonsignal.exp
8528 * gdb.threads/thread_check.exp
8529 * gdb.threads/thread_events.exp
8530 * gdb.threads/tid-reuse.exp
8531 * gdb.threads/tls-nodebug.exp
8532 * gdb.threads/tls-shared.exp
8533 * gdb.threads/tls-so_extern.exp
8534 * gdb.threads/tls.exp
8535 * gdb.threads/wp-replication.exp
8536 * gdb.trace/actions-changed.exp
8537 * gdb.trace/actions.exp
8538 * gdb.trace/backtrace.exp
8539 * gdb.trace/change-loc.exp
8540 * gdb.trace/collection.exp
8541 * gdb.trace/deltrace.exp
8542 * gdb.trace/disconnected-tracing.exp
8543 * gdb.trace/entry-values.exp
8544 * gdb.trace/ftrace-lock.exp
8545 * gdb.trace/ftrace.exp
8546 * gdb.trace/infotrace.exp
8547 * gdb.trace/mi-trace-frame-collected.exp
8548 * gdb.trace/mi-trace-unavailable.exp
8549 * gdb.trace/mi-traceframe-changed.exp
8550 * gdb.trace/mi-tracepoint-changed.exp
8551 * gdb.trace/mi-tsv-changed.exp
8552 * gdb.trace/no-attach-trace.exp
8553 * gdb.trace/packetlen.exp
8554 * gdb.trace/passc-dyn.exp
8555 * gdb.trace/passcount.exp
8556 * gdb.trace/pending.exp
8557 * gdb.trace/pr16508.exp
8558 * gdb.trace/qtro.exp
8559 * gdb.trace/range-stepping.exp
8560 * gdb.trace/read-memory.exp
8561 * gdb.trace/report.exp
8562 * gdb.trace/save-trace.exp
8563 * gdb.trace/signal.exp
8564 * gdb.trace/stap-trace.exp
8565 * gdb.trace/status-stop.exp
8566 * gdb.trace/strace.exp
8567 * gdb.trace/tfile.exp
8568 * gdb.trace/tfind.exp
8569 * gdb.trace/trace-break.exp
8570 * gdb.trace/trace-condition.exp
8571 * gdb.trace/trace-enable-disable.exp
8572 * gdb.trace/trace-mt.exp
8573 * gdb.trace/tracecmd.exp
8574 * gdb.trace/tracefile-pseudo-reg.exp
8575 * gdb.trace/tspeed.exp
8576 * gdb.trace/tstatus.exp
8577 * gdb.trace/tsv.exp
8578 * gdb.trace/unavailable.exp
8579 * gdb.trace/while-dyn.exp
8580 * gdb.trace/while-stepping.exp
8581 * lib/gdb-guile.exp
8582 * lib/gdb.exp
8583 * lib/mi-support.exp
8584 * lib/pascal.exp
8585 * lib/perftest.exp
8586 * lib/prelink-support.exp
8587 * lib/selftest-support.exp
8588
8589 2016-11-30 Simon Marchi <simon.marchi@polymtl.ca>
8590
8591 * Makefile.in: Include disable-implicit-rules.mk.
8592
8593 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8594
8595 * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
8596 non-byte-aligned bit fields.
8597
8598 2016-11-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
8599
8600 PR gdb/12616
8601 * gdb.dwarf2/nonvar-access.exp: New testcase. Check that GDB
8602 respects the DW_AT_data_bit_offset attribute.
8603
8604 2016-11-22 Simon Marchi <simon.marchi@polymtl.ca>
8605
8606 * gdb.base/default.exp: Fix output of "set language".
8607
8608 2016-11-17 Simon Marchi <simon.marchi@polymtl.ca>
8609
8610 * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
8611 prefixed with @GMAKE_FALSE@. Update comment related to non-GNU
8612 make.
8613 * configure.ac: Remove checks for the make program.
8614 * configure: Re-generate.
8615
8616 2016-11-16 Kevin Buettner <kevinb@redhat.com>
8617
8618 * gdb.python/py-recurse-unwind.c (main): Add loop.
8619 * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
8620 to read_register() and gdb.parse_and_eval(). Make each code
8621 call a separate case that can be individually tested.
8622 * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
8623 proc. Call cont_and_backtrace for each of the code paths that
8624 we want to test in the unwinder.
8625
8626 2016-11-15 Andreas Arnez <arnez@linux.vnet.ibm.com>
8627
8628 * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
8629 the definition of struct S.
8630
8631 2016-11-11 Catherine Moore <clm@codesourcery.com>
8632
8633 * gdb.base/dump.exp: Identify verilog format dump tests as such.
8634
8635 2016-11-09 Pedro Alves <palves@redhat.com>
8636
8637 * gdb.base/commands.exp (runto_or_return): New procedure.
8638 (gdbvar_simple_if_test, gdbvar_simple_while_test)
8639 (gdbvar_complex_if_while_test, progvar_simple_if_test)
8640 (progvar_simple_while_test, progvar_complex_if_while_test)
8641 (if_while_breakpoint_command_test)
8642 (infrun_breakpoint_command_test, breakpoint_command_test)
8643 (user_defined_command_test, watchpoint_command_test)
8644 (test_command_prompt_position, redefine_hook_test)
8645 (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
8646 (redefine_backtrace_test): Use runto_or_return, $valnum_re,
8647 multi_line_input and multi_line. Remove gdb_expect and
8648 gdb_stop_suppressing_tests uses.
8649 * lib/gdb.exp (valnum_re): New global.
8650 (multi_line_input): New procedure.
8651
8652 2016-11-09 Simon Marchi <simon.marchi@polymtl.ca>
8653
8654 * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
8655 Remove.
8656 (test_setup): Define with proc_with_prefix.
8657 (test_cli_inferior): Likewise.
8658 (test_cli_thread): Likewise.
8659 (test_cli_frame): Likewise.
8660 (test_cli_select_frame): Likewise.
8661 (test_cli_up_down): Likewise.
8662 (test_mi_thread_select): Likewise.
8663 (test_mi_stack_select_frame): Likewise.
8664 (test_cli_in_mi_inferior): Likewise.
8665 (test_cli_in_mi_thread): Likewise.
8666 (test_cli_in_mi_frame): Likewise.
8667 (top level): Do not use with_test_prefix_procname.
8668
8669 2016-11-09 Pedro Alves <palves@redhat.com>
8670
8671 * gdb.base/commands.exp (gdbvar_simple_if_test)
8672 (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
8673 (progvar_simple_if_test, progvar_simple_while_test)
8674 (progvar_complex_if_while_test, if_while_breakpoint_command_test)
8675 (infrun_breakpoint_command_test, breakpoint_command_test)
8676 (user_defined_command_test, watchpoint_command_test)
8677 (test_command_prompt_position, deprecated_command_test)
8678 (bp_deleted_in_command, temporary_breakpoint_commands)
8679 (stray_arg0_test, source_file_with_indented_comment)
8680 (recursive_source_test, if_commands_test)
8681 (error_clears_commands_left, redefine_hook_test)
8682 (redefine_backtrace_test): Use proc_with_prefix.
8683 * lib/gdb.exp (proc_with_prefix): New proc.
8684
8685 2016-11-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8686
8687 * gdb.base/tui-layout.c: New file.
8688 * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
8689 disassembly window contains very long lines.
8690
8691 2016-11-08 Tom Tromey <tom@tromey.com>
8692
8693 * gdb.python/py-value.exp (test_value_creation): Make "long" test
8694 depend on Python 2.
8695
8696 2016-11-08 Tom Tromey <tom@tromey.com>
8697
8698 * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
8699 New method.
8700
8701 2016-10-29 Manish Goregaokar <manish@mozilla.com>
8702
8703 * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
8704
8705 2016-10-27 Manish Goregaokar <manish@mozilla.com>
8706
8707 * gdb.rust/simple.rs: Add test for univariant enums without
8708 discriminants and for encoded struct-like enums.
8709
8710 2016-10-28 Pedro Alves <palves@redhat.com>
8711
8712 * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
8713 gdb_test_multiple, tighten regexps and match symtabs and line
8714 tables incrementally.
8715
8716 2016-10-28 Luis Machado <lgustavo@codesourcery.com>
8717
8718 * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
8719 general.
8720
8721 2016-10-25 Luis Machado <lgustavo@codesourcery.com>
8722
8723 * gdb.base/exec-invalid-sysroot.exp: New file.
8724
8725 2016-10-24 Jan Kratochvil <jan.kratochvil@redhat.com>
8726
8727 * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
8728
8729 2016-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
8730
8731 * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
8732
8733 2016-10-19 Maciej W. Rozycki <macro@imgtec.com>
8734
8735 * gdb.base/killed-outside.exp: Remove $options from a call to
8736 `prepare_for_testing'.
8737
8738 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8739
8740 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8741 Change test message.
8742
8743 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8744
8745 * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
8746 Update comment.
8747
8748 2016-10-17 Simon Marchi <simon.marchi@ericsson.com>
8749
8750 * gdb.trace/mi-trace-save.exp: New file.
8751
8752 2016-10-13 Yao Qi <yao.qi@linaro.org>
8753
8754 * gdb.base/code_elim.exp (get_var_address): Remove.
8755 * gdb.base/relocate.exp: Likewise.
8756 * gdb.base/shreloc.exp: Likewise.
8757 * lib/gdb.exp (get_var_address): New.
8758
8759 2016-10-13 Yao Qi <yao.qi@linaro.org>
8760
8761 * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
8762 floating point tests if $skip_float_test is false.
8763
8764 2016-10-12 Luis Machado <lgustavo@codesourcery.com>
8765
8766 * gdb.python/py-value.c (main): Check if argv is NULL before using it.
8767 * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
8768 argc values.
8769 Add 1 to argc so we guarantee distinct initial/modified argc values.
8770
8771 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8772
8773 * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
8774
8775 2016-10-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8776
8777 * gdb.arch/powerpc-prologue.exp: Use standard_output_file
8778 * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
8779 * gdb.arch/vsx-regs.exp: Likewise.
8780
8781 2016-10-07 Yao Qi <yao.qi@linaro.org>
8782
8783 * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
8784
8785 2016-10-07 Markus Metzger <markus.t.metzger@intel.com>
8786
8787 * gdb.python/python.exp: Test decode_line("*0").
8788
8789 2016-10-06 Doug Evans <dje@google.com>
8790
8791 * gdb.python/py-value.exp (test_value_creation): Add test for large
8792 unsigned 64-bit value.
8793
8794 2016-10-06 Tom Tromey <tom@tromey.com>
8795
8796 * gdb.compile/compile.exp: Change java tests to rust.
8797 * gdb.base/setshow.exp: Change java tests to rust.
8798 * gdb.base/default.exp: Remove java from language list.
8799 * README (Examples): Update language example.
8800 * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
8801 test.
8802 * lib/gdb.exp (skip_java_tests): Remove.
8803 * lib/java.exp: Remove.
8804 * gdb.java: Remove.
8805
8806 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8807
8808 * gdb.arch/mips-fcr.exp: New test.
8809 * gdb.arch/mips-fcr.c: Source for the new test.
8810
8811 2016-10-06 Maciej W. Rozycki <macro@imgtec.com>
8812
8813 * gdb.base/solib-disc.exp: Use `standard_output_file'
8814 throughout.
8815
8816 2016-10-06 Pedro Alves <palves@redhat.com>
8817
8818 * gdb.base/jit-simple-dl.c: New file.
8819 * gdb.base/jit-simple-jit.c: New file, factored out from ...
8820 * gdb.base/jit-simple.c: ... this.
8821 * gdb.base/jit-simple.exp (jit_run): Delete.
8822 (build_jit): New proc.
8823 (jit_test_reread): Recompile either the main program or the shared
8824 library, depending on what is being tested. Skip changing address
8825 if caller wants to. Compare before/after addresses. If testing
8826 standalone, explicitly load the binary. Test "maint info
8827 breakpoints".
8828 (top level): Add "standalone vs shared lib" and "change address"
8829 vs "same address" axes.
8830
8831 2016-10-06 Pedro Alves <palves@redhat.com>
8832
8833 * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
8834 call.
8835 (jit_run): Delete.
8836 (jit_test_reread): Use with_test_prefix. Reload the main binary
8837 explicitly. Compare the before/after addresses of the JIT
8838 descriptor.
8839
8840 2016-08-15 Doug Evans <dje@google.com>
8841
8842 * gdb.xml/extra-regs.xml: Update, end field now required, default type
8843 for single bitfields is bool.
8844 * gdb.xml/tdesc-regs.exp: Ditto.
8845
8846 2016-10-05 Jan Kratochvil <jan.kratochvil@redhat.com>
8847
8848 * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
8849
8850 2016-10-05 Yao Qi <yao.qi@linaro.org>
8851
8852 * lib/gdb.exp (support_complex_tests): Return zero if
8853 gdb_skip_float_test return true.
8854
8855 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8856 Simon Marchi <simon.marchi@ericsson.com>
8857
8858 PR gdb/20487
8859 * gdb.mi/user-selected-context-sync.exp: New file.
8860 * gdb.mi/user-selected-context-sync.c: New file.
8861
8862 2016-10-03 Antoine Tremblay <antoine.tremblay@ericsson.com>
8863 Simon Marchi <simon.marchi@ericsson.com>
8864
8865 PR gdb/20487
8866 * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
8867 =thread-select-event check.
8868
8869 2016-09-29 Peter Bergner <bergner@vnet.ibm.com>
8870
8871 * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
8872 the compulsory L operand changes.
8873 * gdb.arch/powerpc-power.s: Likewise.
8874
8875 2016-09-29 Jan Kratochvil <jan.kratochvil@redhat.com>
8876
8877 PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
8878 * gdb.base/jit-attach-pie.c: New file.
8879 * gdb.base/jit-attach-pie.exp: New file.
8880
8881 2016-09-28 Pedro Alves <palves@redhat.com>
8882
8883 * gdb.base/infcall-input.c: New file.
8884 * gdb.base/infcall-input.exp: New file.
8885
8886 2016-09-22 Yao Qi <yao.qi@linaro.org>
8887
8888 * lib/gdbserver-support.exp: Rename mi_gdb_exit.
8889 (gdb_exit): Rename it to ...
8890 (gdbserver_gdb_exit): ... Close GDBserver.
8891 (gdb_exit): New proc, call gdbserver_gdb_exit.
8892 (mi_gdb_exit): Likewise.
8893
8894 2016-09-22 Yao Qi <yao.qi@linaro.org>
8895
8896 * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
8897 path.
8898 * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
8899 Remove duplication.
8900
8901 2016-09-22 Yao Qi <yao.qi@linaro.org>
8902
8903 * lib/gdbserver-support.exp: Check the existence of
8904 gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
8905
8906 2016-09-21 Anton Kolesov <anton.kolesov@synopsys.com>
8907
8908 * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
8909
8910 2016-09-21 Tom Tromey <tom@tromey.com>
8911
8912 PR gdb/20604:
8913 * gdb.base/quit.exp: New file.
8914
8915 2016-09-21 Simon Marchi <simon.marchi@ericsson.com>
8916
8917 * .gitignore: New file.
8918
8919 2016-09-21 Maciej W. Rozycki <macro@imgtec.com>
8920
8921 * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
8922 throughout.
8923
8924 2016-09-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
8925
8926 * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
8927
8928 2016-09-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8929
8930 * gdb.cp/casts.cc (decltype): Move it ...
8931 (main): ... with its call to ...
8932 * gdb.cp/casts03.cc: ... a new file.
8933 * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
8934
8935 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8936
8937 * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
8938
8939 2016-09-15 Peter Bergner <bergner@vnet.ibm.com>
8940
8941 * gdb.arch/powerpc-power.s: Update Power9 instruction tests
8942 and sync up the test with tests in gas/testsuite/gas/ppc.
8943 * gdb.arch/powerpc-power.exp: Likewise.
8944
8945 2016-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
8946
8947 * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
8948
8949 2016-09-11 Sergio Durigan Junior <sergiodj@redhat.com>
8950 Jan Kratochvil <jan.kratochvil@redhat.com>
8951
8952 * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
8953 make m1's definition to be different from m2's. Use 'dummy' as an
8954 argument for probe 'two'.
8955
8956 2016-09-10 Jon Beniston <jon@beniston.com>
8957
8958 * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
8959 for sim target.
8960
8961 2016-09-09 Andreas Arnez <arnez@linux.vnet.ibm.com>
8962
8963 * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
8964 variable declaration.
8965 (gnu_ifunc): Add parameter hwcap. Store it in resolver_hwcap.
8966 * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
8967 * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
8968 received HWCAP as its argument.
8969
8970 2016-09-06 Pedro Alves <palves@redhat.com>
8971
8972 * gdb.base/new-ui-pending-input.c: New file.
8973 * gdb.base/new-ui-pending-input.exp: New file.
8974 * gdb.exp (clear_gdb_spawn_id): New procedure.
8975 (with_spawn_id): Check whether gdb_spawn_id exists before
8976 referencing it. If gdb_spawn_id didn't exist on entry, clear it
8977 on exit.
8978
8979 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8980
8981 * gdb.base/float128.c: New file.
8982 * gdb.base/float128.exp: Likewise.
8983 * gdb.base/floatn.c: Likewise.
8984 * gdb.base/floatn.exp: Likewise.
8985
8986 2016-09-05 Ulrich Weigand <uweigand@de.ibm.com>
8987
8988 * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
8989
8990 2016-09-05 Pedro Alves <palves@redhat.com>
8991
8992 PR backtrace/19927
8993 * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
8994 unwinders are immediately called as side effect of "source" or
8995 "disable unwinder" commands.
8996 * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
8997
8998 2016-09-02 Yao Qi <yao.qi@linaro.org>
8999
9000 * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
9001 is true and $type is "float" or "double".
9002
9003 2016-09-02 Yao Qi <yao.qi@linaro.org>
9004
9005 * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
9006 true.
9007 * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
9008 * gdb.base/call-rt-st.exp: Likewise.
9009 * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
9010 return value instead of gdb,skip_float_test.
9011 * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
9012 (do_function_calls): Use its return value instead of
9013 gdb,skip_float_test.
9014 * gdb.base/finish.exp: Likewise.
9015 * gdb.base/funcargs.exp: Likewise.
9016 * gdb.base/return.exp: Likewise.
9017 * gdb.base/return2.exp: Likewise.
9018 * gdb.base/varargs.exp: Likewise.
9019 * lib/gdb.exp (gdb_skip_float_test): Change it to
9020 gdb_caching_proc. Detect the broken ptrace on arm-linux.
9021
9022 2016-08-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
9023
9024 * gdb.multi/tids.exp: Test "thread apply all".
9025
9026 2016-08-29 Jan Kratochvil <jan.kratochvil@redhat.com>
9027
9028 * gdb.base/default.exp (tty): Remove.
9029
9030 2016-08-24 Kevin Buettner <kevinb@redhat.com>
9031
9032 * gdb.python/py-recurse-unwind.c: New file.
9033 * gdb.python/py-recurse-unwind.py: New file.
9034 * gdb.python/py-recurse-unwind.exp: New file.
9035
9036 2016-08-24 Simon Marchi <simon.marchi@ericsson.com>
9037
9038 * gdb.base/set-inferior-tty.exp: New file.
9039 * gdb.base/set-inferior-tty.c: New file.
9040
9041 2016-08-23 Pedro Alves <palves@redhat.com>
9042
9043 PR gdb/20494
9044 * gdb.base/new-ui-echo.c: New file.
9045 * gdb.base/new-ui-echo.exp: New file.
9046
9047 2016-08-23 Yao Qi <yao.qi@linaro.org>
9048
9049 * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
9050 gdbserver_spawn.
9051 * gdb.server/connect-without-multi-process.exp (do_test):
9052 Likewise.
9053
9054 2016-08-23 Yao Qi <yao.qi@linaro.org>
9055
9056 * gdb.base/signals-state-child.exp: Set variables gdb_txt and
9057 standalone_txt. Delete gdb_txt and standalone_txt on host
9058 and target. Spawn the binary on target. Copy files from
9059 target to host.
9060
9061 2016-08-22 Pedro Alves <palves@redhat.com>
9062
9063 PR gdb/20505
9064 * gdb.base/vdso-warning.exp: Test core dumps too. Use
9065 with_test_prefix. Factor out bits to ...
9066 (test_no_vdso): ... this new procedure.
9067
9068 2016-08-19 Carl Love <cel@us.ibm.com>
9069
9070 * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
9071 maintaining separate logic for constructing the output path.
9072 * gdb.arch/powerpc-d128-regs.exp: Likewise.
9073 * gdb.arch/ppc-dfp.exp: Likewise.
9074 * gdb.arch/ppc-fp.exp: Likewise.
9075 * gdb.arch/vsx-regs.exp: Likewise.
9076 * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
9077 binprefix for generating the additional binary files.
9078
9079 2016-08-19 Pedro Alves <palves@redhat.com>
9080
9081 * gdb.trace/mi-trace-frame-collected.exp
9082 (test_trace_frame_collected): On x32, expect two registers.
9083
9084 2016-08-18 Carl Love <cel@us.ibm.com>
9085
9086 * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
9087 and sync up the test with tests in gas/testsuite/gas/ppc.
9088 * gdb.arch/powerpc-power.exp: Likewise.
9089
9090 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9091
9092 * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
9093 expected error message.
9094
9095 2016-08-17 Simon Marchi <simon.marchi@ericsson.com>
9096
9097 * gdb.multi/remove-inferiors.exp: New file.
9098 * gdb.multi/remove-inferiors.c: New file.
9099
9100 2016-08-12 Yao Qi <yao.qi@linaro.org>
9101
9102 * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
9103 argument list.
9104
9105 2016-08-10 Pedro Alves <palves@redhat.com>
9106
9107 PR gdb/19187
9108 * gdb.reverse/waitpid-reverse.exp: Add comment and remove
9109 setup_kfails.
9110
9111 2016-08-09 Pedro Alves <palves@redhat.com>
9112 Simon Marchi <simon.marchi@ericsson.com>
9113
9114 PR gdb/20418
9115 * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
9116 * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
9117
9118 2016-08-09 Pedro Alves <palves@redhat.com>
9119
9120 PR mi/20431
9121 * gdb.mi/mi-cmd-error.exp: New file.
9122
9123 2016-08-09 Pedro Alves <palves@redhat.com>
9124
9125 PR gdb/18653
9126 * gdb.base/signals-state-child.c: New file.
9127 * gdb.base/signals-state-child.exp: New file.
9128 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
9129
9130 2016-08-09 Pedro Alves <palves@redhat.com>
9131
9132 * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
9133
9134 2016-08-03 Tom Tromey <tom@tromey.com>
9135
9136 PR python/18565:
9137 * gdb.python/py-frame-inline.exp: Add Frame.function test.
9138
9139 2016-08-01 Yao Qi <yao.qi@linaro.org>
9140
9141 * gdb.threads/process-dies-while-detaching.exp (do_test): Set
9142 variable mode to "multi-process" if $multi_process is 1, otherwise
9143 set it to "single-process".
9144
9145 2016-08-01 Yao Qi <yao.qi@linaro.org>
9146
9147 * gdb.cp/anon-struct.exp: Check is_aarch32_target.
9148 * gdb.cp/cpexprs.exp: Likewise.
9149 * gdb.cp/m-static.exp: Likewise.
9150
9151 2016-07-26 Tom Tromey <tom@tromey.com>
9152
9153 PR python/20190:
9154 * gdb.threads/tls.exp (check_thread_local): Add python symbol
9155 test.
9156
9157 2016-07-26 Markus Metzger <markus.t.metzger@intel.com>
9158
9159 * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
9160 selecting assembly source files.
9161 * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
9162 assembly source files.
9163 * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
9164 assembly source files.
9165 * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
9166 selecting assembly source files.
9167
9168 2016-07-25 Simon Marchi <simon.marchi@ericsson.com>
9169
9170 * gdb.base/new-ui.exp (do_test_invalid_args): New
9171 procedure.
9172
9173 2016-07-25 Tim Wiederhake <tim.wiederhake@intel.com>
9174
9175 * gdb.btrace/reconnect.c: New file.
9176 * gdb.btrace/reconnect.exp: New file.
9177
9178 2016-07-23 Gabriel Krisman Bertazi <gabriel@krisman.be>
9179
9180 * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
9181 to test_catch_syscall_group.
9182 (test_catch_syscall_group): New.
9183
9184 2016-07-21 Tom Tromey <tom@tromey.com>
9185
9186 * gdb.rust/simple.rs (main): Use empty struct expression.
9187 * gdb.rust/simple.exp: Add tests for empty struct expression.
9188
9189 2016-07-21 Yao Qi <yao.qi@linaro.org>
9190
9191 * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
9192 if gdb_skip_xml_test is true on some targets.
9193
9194 2016-07-21 Yao Qi <yao.qi@linaro.org>
9195
9196 * gdb.server/solib-list.exp: Unset last_loaded_file.
9197
9198 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9199
9200 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
9201 "step into captured_main (args)".
9202
9203 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9204
9205 * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
9206
9207 2016-07-20 Jan Kratochvil <jan.kratochvil@redhat.com>
9208
9209 * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
9210
9211 2016-07-19 Pedro Alves <palves@redhat.com>
9212
9213 * gdb.opt/inline-break.exp: Remove optimize=-O2.
9214 * gdb.opt/inline-bt.exp: Likewise.
9215 * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
9216 additional_flags=-Winline.
9217 * gdb.opt/inline-locals.exp: Likewise.
9218 * gdb.opt/inline-markers.c (ATTR): Define.
9219 (inlined_fn): Use it.
9220
9221 2016-07-19 Yao Qi <yao.qi@linaro.org>
9222
9223 * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
9224 (test_with_self): Remove some code. Remove argument executable.
9225 (top-level): Use do_self_tests.
9226
9227 2016-07-15 Zachary Welch <zwelch@codesourcery.com>
9228 Don Breazeal <donb@codesourcery.com>
9229
9230 * gdb.base/maint.exp: Escape paths used in regular expressions.
9231 * gdb.stabs/weird.exp: Likewise.
9232
9233 2016-07-13 Tom Tromey <tom@tromey.com>
9234
9235 PR python/15620, PR python/18620:
9236 * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
9237 (test_bkpt_events): New procs.
9238
9239 2016-07-13 Tom Tromey <tom@tromey.com>
9240
9241 PR python/17698:
9242 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
9243 test.
9244 (test_watchpoints): Likewise.
9245 (test_bkpt_pending): New proc.
9246
9247 2016-07-13 Tom Tromey <tom@tromey.com>
9248
9249 PR cli/18053:
9250 * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
9251 completion test.
9252
9253 2016-07-13 Jan Kratochvil <jan.kratochvil@redhat.com>
9254
9255 * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
9256 * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
9257 * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
9258 f_label.
9259 (g): Rename g_end_lbl to g_label.
9260 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
9261 low_pc and high_pc.
9262 * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
9263
9264 2016-07-12 Tom Tromey <tom@tromey.com>
9265
9266 PR python/19293:
9267 * gdb.python/py-unwind-maint.exp: Update tests.
9268
9269 2016-07-12 Yao Qi <yao.qi@linaro.org>
9270
9271 * lib/selftest-support.exp (selftest_setup): Match the output
9272 when captured_main is inlined.
9273
9274 2016-07-07 Walfred Tedeschi <walfred.tedeschi@intel.com>
9275
9276 * gdb.fortran/derived-types.exp (result_line, result_line_2):
9277 New variables.
9278 (print this%a, print this%b, print this): New tests.
9279 * gdb.fortran/derived-types.f90 (this): New object and
9280 initialization.
9281
9282 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9283
9284 * gdb.ada/arraydim.exp: Remove extra directory level in build
9285 directory.
9286
9287 2016-07-06 Simon Marchi <simon.marchi@ericsson.com>
9288
9289 * lib/ada.exp: Remove extra directory level in build directory.
9290 * gdb.ada/cond_lang.exp: Likewise.
9291 * gdb.ada/exec_changed.exp: Likewise.
9292 * gdb.ada/lang_switch.exp: Likewise.
9293
9294 2016-07-06 Manish Goregaokar <manish@mozilla.com>
9295
9296 * simple.rs: Add test for raw pointer subscripting.
9297 * simple.exp: Add test expectations.
9298
9299 2016-07-05 Yao Qi <yao.qi@linaro.org>
9300
9301 * gdb.mi/mi-reverse.exp: Match =record-started output.
9302
9303 2016-07-01 Pedro Alves <palves@redhat.com>
9304
9305 * gdb.base/jit-reader.exp (info_registers_current_frame): New
9306 procedure.
9307 (jit_reader_test): Test the jit reader's unwinder.
9308 * gdb.base/jithost.c (jit_function_00_code): New global.
9309 (main): Use memcpy to fill in the mmapped code, instead of poking
9310 bytes manually here.
9311 * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
9312 value.
9313 (read_debug_info): Save the function's range.
9314 (read_sp): New function.
9315 (unwind_frame): Use it. Also unwind RBP.
9316 (get_frame_id): Use read_sp.
9317 (gdb_init_reader): Use calloc instead of malloc.
9318 * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
9319 parameter. Use gdb_test_multiple.
9320
9321 2016-07-01 Pedro Alves <palves@redhat.com>
9322 Antoine Tremblay <antoine.tremblay@ericsson.com>
9323
9324 * gdb.threads/process-dies-while-detaching.c: New file.
9325 * gdb.threads/process-dies-while-detaching.exp: New file.
9326
9327 2016-07-01 Pedro Alves <palves@redhat.com>
9328
9329 * gdb.multi/watchpoint-multi-exit.c: New file.
9330 * gdb.multi/watchpoint-multi-exit.exp: New file.
9331
9332 2016-06-30 Pedro Alves <palves@redhat.com>
9333
9334 * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
9335 unset inferior_spawn_id.
9336
9337 2016-06-30 Pedro Alves <palves@redhat.com>
9338
9339 * lib/mi-support.exp (default_mi_gdb_start): Declare global
9340 FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
9341
9342 2016-06-29 Yao Qi <yao.qi@linaro.org>
9343
9344 * gdb.base/return.c: Add copyright header.
9345
9346 2016-06-29 Tom Tromey <tom@tromey.com>
9347
9348 PR python/20129:
9349 * gdb.python/py-framefilter.exp: Add tests for setting priority
9350 and disabling of non-existent frame filter.
9351
9352 2016-06-29 Yao Qi <yao.qi@linaro.org>
9353
9354 * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
9355 0x0f07ff.
9356
9357 2016-06-28 Yao Qi <yao.qi@linaro.org>
9358
9359 * gdb.base/catch-syscall.exp: Remove check on isnative and target
9360 triplets. Start gdb, execute catch syscall, and continue. Check
9361 gdb's output to determine catch syscall is supported.
9362
9363 2016-06-27 Manish Goregaokar <manish@mozilla.com>
9364
9365 * gdb.rust/simple.rs: Add test for returning unit in a function.
9366 * gdb.rust/simple.exp: Add expectation for functions returning
9367 unit.
9368
9369 2016-06-27 Pierre-Marie de Rodat <derodat@adacore.com>
9370
9371 * gdb.python/py-breakpoint-create-fail.c,
9372 gdb.python/py-breakpoint-create-fail.exp,
9373 gdb.python/py-breakpoint-create-fail.py: New testcase.
9374
9375 2016-06-25 Manish Goregaokar <manish@mozilla.com>
9376
9377 PR gdb/20239
9378 * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
9379 * gdb.rust/simple.exp: Add test expectations for new NonZero
9380 tests.
9381
9382 2016-06-24 David Taylor <dtaylor@emc.com>
9383
9384 * gdb.base/offsets.exp: New file.
9385 * gdb.base/offsets.c: New file.
9386
9387 2016-06-23 Tom Tromey <tom@tromey.com>
9388
9389 PR gdb/16483:
9390 * gdb.python/py-framefilter.exp: Add "info frame-filter" test
9391 before any filters are loaded.
9392
9393 2016-06-21 Walfred Tedeschi <walfred.tedeschi@intel.com>
9394
9395 * gdb.fortran/derived-type.exp (print q): Add fields to the output.
9396 * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
9397 structs.
9398 * gdb.fortran/derived-type-function.exp: New file.
9399 * gdb.fortran/derived-type-function.f90: New file.
9400
9401
9402 2016-06-21 Pedro Alves <palves@redhat.com>
9403
9404 * gdb.base/new-ui.exp: New file.
9405 * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
9406 * lib/gdb.exp (switch_gdb_spawn_id): ... here.
9407 (with_spawn_id): New procedure.
9408
9409 2016-06-21 Pedro Alves <palves@redhat.com>
9410
9411 * gdb.mi/mi-exec-run.exp: New file.
9412
9413 2016-06-21 Pedro Alves <palves@redhat.com>
9414
9415 * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
9416 breakpoint command's output on the main UI.
9417 (test_break): New procedure, factored out from calls in the top
9418 level.
9419 (top level): Use foreach_with_prefix to test MI as main UI and as
9420 separate UI.
9421
9422 2016-06-21 Pedro Alves <palves@redhat.com>
9423
9424 * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
9425 (test_awatch_creation_and_listing)
9426 (test_rwatch_creation_and_listing, test_watchpoint_triggering):
9427 Remove 'type' parameter.
9428 (test_watchpoint_all): New parameter mi_mode. Remove
9429 with_test_prefix.
9430 (top level): Use foreach_with_prefix, and add main/separate UI MI
9431 testing axis.
9432
9433 2016-06-21 Pedro Alves <palves@redhat.com>
9434
9435 * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
9436 * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
9437 * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
9438 gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
9439 (gdb_main_spawn_id, mi_spawn_id): Declare and
9440 comment.
9441 (mi_create_inferior_pty): New procedure,
9442 factored out from default_mi_gdb_start.
9443 (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
9444 procedures.
9445 (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
9446 separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
9447 Use mi_create_inferior_pty.
9448 (mi_gdb_start): Use eval to pass down args list.
9449
9450 2016-06-21 Pedro Alves <palves@redhat.com>
9451
9452 * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
9453 * gdb.opt/inline-cmds.exp: Add MI tests.
9454
9455 2016-06-21 Pedro Alves <palves@redhat.com>
9456
9457 * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
9458
9459 2016-06-21 Pedro Alves <palves@redhat.com>
9460
9461 * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
9462 (top level): Use it instead of mi_execute_to.
9463
9464 2016-06-21 Pedro Alves <palves@redhat.com>
9465
9466 * gdb.python/py-mi-events-gdb.py (stop_handler_str)
9467 (cont_handler_str): New.
9468 (signal_stop_handler): Set stop_handler_str instead of printing to
9469 stdout.
9470 (continue_handler): Set cont_handler_str instead of printing to
9471 stdout.
9472 * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
9473 mi_send_resuming_command. Print stop_handler_str and
9474 cont_handler_str instead of expecting the python events print
9475 directly.
9476
9477 2016-06-17 Sanjoy Das <sanjoy@playingwithpointers.com>
9478
9479 * gdb.base/jit-reader.exp: New file.
9480 * gdb.base/jithost.c: New file.
9481 * gdb.base/jithost.h: New file.
9482 * gdb.base/jitreader.c : New file.
9483 * gdb.base/jit-protocol.h: New file.
9484
9485 2016-06-17 Yao Qi <yao.qi@linaro.org>
9486
9487 * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
9488 parameters follow_fork and detach_on_fork. Set follow-fork-mode
9489 and detach-on-fork. Adjust tests.
9490 (top level): Invoke break_cond_on_syscall with combinations of
9491 syscall, follow-fork-mode and detach-on-fork.
9492
9493 2016-06-17 Yao Qi <yao.qi@linaro.org>
9494
9495 * gdb.base/step-over-exit.c: New.
9496 * gdb.base/step-over-exit.exp: New.
9497
9498 2016-06-17 Yan-Ting Lin <currygt52@gmail.com>
9499
9500 * gdb.base/float.exp: Add target check for nds32*-*-*.
9501 * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
9502
9503 2016-06-13 Andrew Burgess <andrew.burgess@embecosm.com>
9504
9505 * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
9506 for unsupported target features.
9507 * gdb.base/call-rt-st.exp: Likewise.
9508 * gdb.base/call-sc.exp: Likewise.
9509 * gdb.base/call-signal-resume.exp: Likewise.
9510 * gdb.base/call-strs.exp: Likewise.
9511 * gdb.base/callexit.exp: Likewise.
9512 * gdb.base/callfuncs.exp: Likewise.
9513 * gdb.base/nodebug.exp: Likewise.
9514 * gdb.base/printcmds.exp: Likewise.
9515 * gdb.base/ptype.exp: Likewise.
9516 * gdb.base/structs.exp: Likewise.
9517 * gdb.base/unwindonsignal.exp: Likewise.
9518 * gdb.cp/gdb2495.exp: Likewise.
9519 * gdb.cp/templates.exp: Likewise.
9520 * gdb.cp/virtfunc.exp: Likewise.
9521 * gdb.threads/hand-call-in-threads.exp: Likewise.
9522 * gdb.threads/interrupted-hand-call.exp: Likewise.
9523 * gdb.threads/thread-unwindonsignal.exp: Likewise.
9524
9525 2016-06-10 Tom Tromey <tom@tromey.com>
9526
9527 PR rust/20110:
9528 * gdb.rust/expr.exp: Add test for integer constant larger than
9529 i32.
9530
9531 2016-06-10 Bernhard Heckel <bernhard.heckel@intel.com>
9532
9533 * gdb.fortran/nested-funcs.exp: New.
9534 * gdb.fortran/nested-funcs.f90: New.
9535
9536 2016-06-09 Toshihito Kikuchi <k.toshihito@yahoo.de>
9537
9538 * gdb.base/examine-backward.c: New file.
9539 * gdb.base/examine-backward.exp: New file.
9540
9541 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
9542
9543 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
9544 matching.
9545
9546 2016-06-02 Tom Tromey <tom@tromey.com>
9547
9548 PR python/18984:
9549 * gdb.python/py-shared.exp: Add solib_name test.
9550
9551 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
9552
9553 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
9554
9555 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
9556
9557 PR c++/19893
9558 * gdb.dwarf2/implref.exp: Rename to...
9559 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
9560 * gdb.dwarf2/implref-array.c: New file.
9561 * gdb.dwarf2/implref-array.exp: Likewise.
9562 * gdb.dwarf2/implref-global.c: Likewise.
9563 * gdb.dwarf2/implref-global.exp: Likewise.
9564 * gdb.dwarf2/implref-struct.c: Likewise.
9565 * gdb.dwarf2/implref-struct.exp: Likewise.
9566
9567 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9568
9569 * gdb.trace/trace-condition.exp: Add 64bit tests.
9570
9571 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9572
9573 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
9574 bits types.
9575 (main): Adapt to 8 to 64 bits types.
9576 * gdb.trace/trace-condition.exp: Add new tests.
9577
9578 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9579
9580 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
9581
9582 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9583
9584 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
9585 Move condition tests...
9586 * gdb.trace/trace-condition.exp: Here.
9587
9588 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
9589
9590 * gdb.trace/trace-condition.exp: Add counter-case tests.
9591
9592 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
9593
9594 PR c++/15231
9595 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
9596 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
9597
9598 2016-05-27 Pedro Alves <palves@redhat.com>
9599
9600 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
9601 New procedure.
9602 (top level): Call it, and bail out of DejaGnu is known to be bad.
9603
9604 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
9605
9606 * gdb.base/whatis.c: Extend the test case.
9607 * gdb.base/whatis.exp: Add additional tests.
9608
9609 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9610
9611 * gdb.fortran/type.f90: Add pointer variable.
9612 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
9613
9614 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9615
9616 * gdb.fortran/vla-type.exp: Fix testcase name.
9617
9618 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9619
9620 * gdb.fortran/vla-type.exp: Access elements in nested structs.
9621
9622 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9623
9624 * gdb.fortran/type.f90: Add nested structures.
9625 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
9626 * gdb.fortran/derived-type.exp: Adapt expected output.
9627 * gdb.fortran/vla-type.exp: Adapt expected output.
9628
9629 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9630
9631 * gdb.fortran/whatis_type.exp: Adapt expected output.
9632
9633 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9634
9635 * gdb.fortran/print_type.exp: Fix expected output.
9636 * gdb.fortran/whatis_type.exp: Fix expected output.
9637
9638 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
9639
9640 * gdb.fortran/whatis_type.exp: Use multi_line.
9641
9642 2016-05-24 Tom Tromey <tom@tromey.com>
9643
9644 PR python/17386:
9645 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
9646 use value as an index.
9647
9648 2016-05-23 Tom Tromey <tom@tromey.com>
9649
9650 PR python/17981:
9651 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
9652 no-breakpoint case.
9653
9654 2016-05-24 Pedro Alves <palves@redhat.com>
9655
9656 PR gdb/19828
9657 * gdb.threads/clone-attach-detach.c: New file.
9658 * gdb.threads/clone-attach-detach.exp: New file.
9659
9660 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
9661
9662 * gdb.base/annota-input-while-running.exp: Fix syntax error.
9663
9664 2016-05-23 Tom Tromey <tom@tromey.com>
9665
9666 PR python/19438, PR python/18393:
9667 * gdb.python/py-progspace.exp: Add "dir" test.
9668 * gdb.python/py-objfile.exp: Add "dir" test.
9669
9670 2016-05-23 Yao Qi <yao.qi@linaro.org>
9671
9672 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
9673 * gdb.arch/thumb2-it.exp: Likewise.
9674
9675 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
9676
9677 * gdb.mi/mi-threads-interrupt.c: New file.
9678 * gdb.mi/mi-threads-interrupt.exp: New file.
9679
9680 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
9681
9682 PR gdb/18077
9683 * gdb.mi/mi-async-run.exp: New file.
9684 * gdb.mi/mi-async-run.c: New file.
9685
9686 2016-05-17 Tom Tromey <tom@tromey.com>
9687 Manish Goregaokar <manishsmail@gmail.com>
9688
9689 * lib/rust-support.exp: New file.
9690 * lib/gdb.exp (skip_rust_tests): New proc.
9691 (build_executable_from_specs): Handle rust.
9692 * lib/future.exp (gdb_find_rustc): New proc.
9693 (gdb_default_target_compile): Handle rust.
9694 * gdb.rust/expr.exp: New file.
9695 * gdb.rust/generics.exp: New file.
9696 * gdb.rust/generics.rs: New file.
9697 * gdb.rust/methods.exp: New file.
9698 * gdb.rust/methods.rs: New file.
9699 * gdb.rust/modules.exp: New file.
9700 * gdb.rust/modules.rs: New file.
9701 * gdb.rust/simple.exp: New file.
9702 * gdb.rust/simple.rs: New file.
9703
9704 2016-05-17 Tom Tromey <tom@tromey.com>
9705
9706 * gdb.base/default.exp (set language): Add rust.
9707
9708 2016-05-17 Tom Tromey <tom@tromey.com>
9709
9710 * gdb.gdb/unittest.exp: New file.
9711
9712 2016-05-16 Yao Qi <yao.qi@linaro.org>
9713
9714 * gdb.base/batch-preserve-term-settings.exp: Remove variable
9715 shell_prompt. Update shell_prompt_re.
9716
9717 2016-05-12 Doug Evans <dje@google.com>
9718
9719 PR symtab/19999
9720 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
9721 $options when building executable.
9722 * gdb.dwarf2/fission-loclists-pie.S: New file.
9723 * gdb.dwarf2/fission-loclists-pie.exp: New file.
9724
9725 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9726
9727 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
9728 of [is_remote target],
9729
9730 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
9731
9732 * lib/gdb.exp (use_gdb_stub): New procedure.
9733
9734 2016-05-03 Yunlian Jiang <yunlian@google.com>
9735 Doug Evans <dje@google.com>
9736
9737 PR symtab/19914
9738 * gdb.dwarf2/dwp-sepdebug.c: New file.
9739 * gdb.dwarf2/dwp-sepdebug.exp: New file.
9740
9741 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9742
9743 * gdb.base/detach.exp: Remove is_remote check.
9744
9745 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
9746
9747 * gdb.base/annota-input-while-running.exp: Don't check for
9748 [is_remote target]. Enable annotations after running to main.
9749 Remove unused "set test..." line.
9750
9751 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9752
9753 * gdb.trace/trace-enable-disable.exp: New file.
9754 * gdb.trace/trace-enable-disable.c: New file.
9755
9756 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
9757
9758 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
9759 use it in info sharedlibrary test.
9760 * gdb.trace/ftrace-lock.exp: Likewise.
9761 * gdb.trace/ftrace.exp: Likewise.
9762 * gdb.trace/range-stepping.exp: Likewise.
9763 * gdb.trace/trace-break.exp: Likewise.
9764 * gdb.trace/trace-condition.exp: Likewise.
9765 * gdb.trace/trace-mt.exp: Likewise.
9766
9767 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9768
9769 * lib/gdb.exp (gdb_load_shlibs): Rename to...
9770 (gdb_load_shlib): ... this.
9771 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
9772 gdb_load_shlib.
9773 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
9774 * gdb.base/ctxobj.exp: Likewise.
9775 * gdb.base/dprintf-pending.exp: Likewise.
9776 * gdb.base/dso2dso.exp: Likewise.
9777 * gdb.base/fixsection.exp: Likewise.
9778 * gdb.base/gcore-relro.exp: Likewise.
9779 * gdb.base/gdb1555.exp: Likewise.
9780 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9781 * gdb.base/gnu-ifunc.exp: Likewise.
9782 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
9783 * gdb.base/jit-so.exp (one_jit_test): Likewise.
9784 * gdb.base/pending.exp: Likewise.
9785 * gdb.base/print-file-var.exp: Likewise.
9786 * gdb.base/print-symbol-loading.exp: Likewise.
9787 * gdb.base/shlib-call.exp: Likewise.
9788 * gdb.base/shreloc.exp: Likewise.
9789 * gdb.base/so-impl-ld.exp: Likewise.
9790 * gdb.base/solib-disc.exp: Likewise.
9791 * gdb.base/solib-nodir.exp: Likewise.
9792 * gdb.base/solib-overlap.exp: Likewise.
9793 * gdb.base/solib-symbol.exp: Likewise.
9794 * gdb.base/solib-weak.exp (do_test): Likewise.
9795 * gdb.base/sym-file.exp: Likewise.
9796 * gdb.base/symtab-search-order.exp: Likewise.
9797 * gdb.base/type-opaque.exp: Likewise.
9798 * gdb.base/unload.exp: Likewise.
9799 * gdb.base/watchpoint-solib.exp: Likewise.
9800 * gdb.compile/compile.exp: Likewise.
9801 * gdb.cp/gdb2384.exp: Likewise.
9802 * gdb.cp/infcall-dlopen.exp: Likewise.
9803 * gdb.cp/re-set-overloaded.exp: Likewise.
9804 * gdb.fortran/library-module.exp: Likewise.
9805 * gdb.opt/solib-intra-step.exp: Likewise.
9806 * gdb.python/py-finish-breakpoint.exp: Likewise.
9807 * gdb.python/py-shared.exp: Likewise.
9808 * gdb.reverse/solib-precsave.exp: Likewise.
9809 * gdb.reverse/solib-reverse.exp: Likewise.
9810 * gdb.server/solib-list.exp: Likewise.
9811 * gdb.threads/dlopen-libpthread.exp: Likewise.
9812 * gdb.threads/tls-shared.exp: Likewise.
9813 * gdb.threads/tls-so_extern.exp: Likewise.
9814 * gdb.trace/change-loc.exp: Likewise.
9815 * gdb.trace/ftrace-lock.exp: Likewise.
9816 * gdb.trace/ftrace.exp: Likewise.
9817 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
9818 * gdb.trace/pending.exp: Likewise.
9819 * gdb.trace/range-stepping.exp: Likewise.
9820 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
9821 (strace_info_marker): Likewise.
9822 (strace_probe_marker): Likewise.
9823 (strace_trace_on_same_addr): Likewise.
9824 (strace_trace_on_diff_addr): Likewise.
9825 * gdb.trace/trace-break.exp: Likewise.
9826 * gdb.trace/trace-condition.exp: Likewise.
9827 * gdb.trace/trace-mt.exp: Likewise.
9828
9829 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
9830
9831 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
9832 result of gdb_remote_download.
9833 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
9834 * gdb.base/dso2dso.exp: Likewise.
9835 * gdb.base/global-var-nested-by-dso.exp: Likewise.
9836 * gdb.base/print-file-var.exp: Likewise.
9837 * gdb.base/shlib-call.exp: Likewise.
9838 * gdb.base/shreloc.exp: Likewise.
9839 * gdb.base/solib-overlap.exp: Likewise.
9840 * gdb.base/solib-weak.exp (do_test): Likewise.
9841 * gdb.base/unload.exp: Likewise.
9842
9843 2016-04-27 Yao Qi <yao.qi@linaro.org>
9844
9845 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
9846 exists.
9847
9848 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9849
9850 * vla-type.exp: Print structure from toplevel.
9851
9852 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9853
9854 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
9855 of dynamic types.
9856 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
9857 of dynamic types.
9858
9859 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
9860
9861 * gdb.fortran/vla-type.f90: New file.
9862 * gdb.fortran/vla-type.exp: New file.
9863
9864 2016-04-25 Yao Qi <yao.qi@linaro.org>
9865
9866 * gdb.base/branch-to-self.c: New file.
9867 * gdb.base/branch-to-self.exp: New file.
9868
9869 2016-04-22 Yao Qi <yao.qi@linaro.org>
9870
9871 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
9872 more after $hex.
9873
9874 2016-04-22 Yao Qi <yao.qi@linaro.org>
9875
9876 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9877 * gdb.base/annota3.exp: Likewise.
9878
9879 2016-04-22 Yao Qi <yao.qi@linaro.org>
9880
9881 * gdb.reverse/step-precsave.exp: Do one step and test program
9882 stops in "callee" and do multiple steps until program goes out
9883 of "callee".
9884 * gdb.reverse/step-reverse.exp: Likewise.
9885
9886 2016-04-22 Yao Qi <yao.qi@linaro.org>
9887
9888 * gdb.trace/signal.exp: Also pass if
9889 $tracepoint_hits($i) > $iterations.
9890
9891 2016-04-22 Yao Qi <yao.qi@linaro.org>
9892
9893 * gdb.trace/signal.c: New file.
9894 * gdb.trace/signal.exp: New file.
9895
9896 2016-04-19 Doug Evans <xdje42@gmail.com>
9897
9898 * gdb.base/bad-file.exp: New file.
9899
9900 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
9901
9902 * gdb.dwarf2/implref.exp: New file.
9903
9904 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9905
9906 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
9907 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
9908 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
9909 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
9910 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
9911 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
9912 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
9913 * lib/fortran.exp (fortran_int4): New procedure.
9914 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
9915 (fortran_logical4): Likewise.
9916
9917 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
9918
9919 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
9920
9921 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
9922
9923 * lib/compiler.c: Add Intel specific preprocessor macros.
9924 * lib/compiler.cc: Likewise.
9925
9926 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
9927
9928 * gdb.server/connect-with-no-symbol-file.c: New file.
9929 * gdb.server/connect-with-no-symbol-file.exp: New file.
9930
9931 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9932
9933 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
9934
9935 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
9936
9937 * boards/gdbserver-base.exp (${board}_download): Copy source file to
9938 standard output directory.
9939
9940 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
9941
9942 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
9943
9944 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
9945
9946 * gdb.btrace/instruction_history.c (loop): Add declaration.
9947
9948 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
9949
9950 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
9951
9952 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
9953
9954 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
9955 parentheses to print.
9956 (continue_handler): Likewise.
9957
9958 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
9959
9960 * gdb.server/solib-list.exp: Remove is_remote check.
9961 Pass shlib= to gdb_compile. Don't link shared library with
9962 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
9963 Run binary filename through "readlink -f" on the target.
9964
9965 2016-04-08 Pedro Alves <palves@redhat.com>
9966
9967 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
9968 interpreter filename as argument to gdbserver_spawn.
9969 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
9970 Return empty if $last_loaded_file does not exist.
9971
9972 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
9973
9974 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
9975 * gdb.base/jit-main.c: Use exit after usage.
9976
9977 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
9978
9979 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
9980 GDBHISTSIZE prior to the tests.
9981 * gdb.base/gdbinit-history.exp: Likewise.
9982
9983 2016-04-07 Pedro Alves <palves@redhat.com>
9984
9985 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
9986 instead of build_executable. Use gdb_load_shlibs.
9987
9988 2016-04-07 Yao Qi <yao.qi@linaro.org>
9989
9990 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
9991 Execute "si" command.
9992
9993 2016-04-07 Yao Qi <yao.qi@linaro.org>
9994
9995 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
9996 number instead of the comments on some line.
9997
9998 2016-04-06 Don Breazeal <donb@codesourcery.com>
9999
10000 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
10001 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
10002
10003 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
10004
10005 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
10006 standard_output_file. Remove unused binfile variable.
10007
10008 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
10009
10010 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
10011 * gdb.python/py-mi-objfile.exp: Match "list main" output
10012 in console format.
10013
10014 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
10015
10016 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
10017 absolute.
10018
10019 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10020
10021 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
10022 absolute.
10023 * gdb.trace/ftrace.exp: Likewise.
10024 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
10025 targets as well.
10026 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
10027 (gdb_load_shlibs): Copy libraries to test directory when testing
10028 natively. Only set solib-search-path if testing remotely.
10029 * lib/mi-support.exp (mi_load_shlibs): Likewise.
10030
10031 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
10032
10033 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
10034 gdb_download. Use it even if the target is not remote.
10035 * gdb.base/jit.exp (compile_jit_test): Likewise.
10036 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
10037 output directory if the destination board is local, otherwise use
10038 the standard remote_download from DejaGnu.
10039 (gdb_download): Remove.
10040 (gdb_load_shlibs): Use gdb_remote_download instead of
10041 gdb_download.
10042 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
10043 Use gdb_remote_download instead of gdb_download. Use it even if
10044 the target is not remote.
10045 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
10046 instead of gdb_download.
10047
10048 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
10049
10050 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
10051 (test_insert_delete_modify): Call mi_load_shlibs before trying to
10052 run.
10053
10054 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
10055
10056 PR gdb/19820
10057 * gdb.base/printcmds.exp: Add artificial arrays tests.
10058
10059 2016-03-31 Pedro Alves <palves@redhat.com>
10060
10061 PR gdb/19858
10062 * gdb.base/jit-main.c: Include unistd.h.
10063 (ATTACH): Define to 0 if not already defined.
10064 (wait_for_gdb, mypid): New globals.
10065 (WAIT_FOR_GDB): New macro.
10066 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
10067 some breakpoint locations.
10068 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
10069 New procedures.
10070 (one_jit_test): Add REATTACH parameter, and handle it. Use
10071 continue_to_test_location.
10072 (top level): Test attach, and adjusts calls to one_jit_test.
10073
10074 2016-03-31 Pedro Alves <palves@redhat.com>
10075
10076 PR gdb/19858
10077 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
10078 BINSUFFIX parameter, and handle it.
10079 (top level): Adjust calls compile_jit_test.
10080
10081 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
10082
10083 PR python/19743
10084 * gdb.python/py-mi-events-gdb.py: New file.
10085 * gdb.python/py-mi-events.c: New file.
10086 * gdb.python/py-mi-events.exp: New file.
10087
10088 2016-03-30 Yao Qi <yao.qi@linaro.org>
10089
10090 * gdb.reverse/until-precsave.exp: Match function name only.
10091 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
10092 Move malloc to a condition block.
10093 * gdb.reverse/until-reverse.exp: Match function name only.
10094
10095 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
10096
10097 * gdb.trace/ftrace.exp: Set arg0exp for s390.
10098 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
10099 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
10100 variable for GPR 0 instead of assuming it is register 0.
10101 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
10102 * lib/trace-support.exp: Add s390 registers.
10103
10104 2016-03-29 Yao Qi <yao.qi@linaro.org>
10105
10106 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
10107
10108 2016-03-24 Yao Qi <yao.qi@linaro.org>
10109
10110 * gdb.reverse/break-reverse.exp: Add quotation mark in the
10111 test message.
10112
10113 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
10114
10115 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
10116 maintaining separate logic for constructing the output path.
10117
10118 2016-03-16 Don Breazeal <donb@codesourcery.com>
10119
10120 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
10121 Retry fork and waitpid on interrupted system call errors.
10122 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10123 Use with_timeout_factor to increase timeout by factor of 10.
10124
10125 2016-03-15 Don Breazeal <donb@codesourcery.com>
10126
10127 * gdb.cp/scope-err.cc: New test program.
10128 * gdb.cp/scope-err.exp: New test script.
10129 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
10130 lines and "set breakpoint here" comment.
10131 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
10132 Fixed some whitespace and format issues.
10133 * gdb.mi/mi-linespec-err-cp.cc: New test program.
10134 * gdb.mi/mi-linespec-err-cp.exp: New test script.
10135
10136 2016-03-15 Doug Evans <dje@google.com>
10137
10138 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
10139 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
10140 All callers updated. Add tests for enums, mixed flags register.
10141
10142 2016-03-15 Doug Evans <dje@google.com>
10143
10144 * gdb.base/skip.c (main): Call test_skip_file_and_function.
10145 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
10146
10147 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
10148
10149 * gdb.base/default.exp: Add $_as_string to the list of expected
10150 convenience functions.
10151
10152 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
10153
10154 * gdb.base/maint.exp: New tests for 'maint info line-table'.
10155
10156 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
10157
10158 * gdb.python/py-as-string.exp: New file.
10159 * gdb.python/py-as-string.c: New file.
10160
10161 2016-03-09 Pedro Alves <palves@redhat.com>
10162
10163 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
10164 signal" -> "Thread NN received signal" output change.
10165 * gdb.threads/ia64-sigill.exp: Likewise.
10166 * gdb.threads/linux-dp.exp: Likewise.
10167 * gdb.threads/manythreads.exp: Likewise.
10168 * gdb.threads/pending-step.exp: Likewise.
10169 * gdb.threads/print-threads.exp: Likewise.
10170 * gdb.threads/sigstep-threads.exp: Likewise.
10171 * gdb.threads/staticthreads.exp: Likewise.
10172 * gdb.threads/tls.exp: Likewise.
10173
10174 2016-03-09 Pedro Alves <palves@redhat.com>
10175
10176 * gdb.base/command-line-input.exp: New file.
10177
10178 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10179
10180 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
10181 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
10182 * gdb.trace/pending.exp: Accept leading dot before function name.
10183 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
10184 * lib/trace-support.exp: Set registers for ppc.
10185
10186 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10187
10188 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
10189 use it for disassembly; accept .main in addition to main in backtrace.
10190
10191 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
10192 Marcin Kościelnicki <koriakin@0x04.net>
10193
10194 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
10195 (gdb_recursion_test_ptr): New global variable.
10196 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
10197 gdb_recursion_test.
10198 (gdb_c_test): Ditto.
10199
10200 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10201
10202 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
10203 ordering.
10204
10205 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
10206
10207 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
10208 (bar): Add bar_start_lbl label.
10209 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
10210 of foo/bar for emitting DWARF and tracing.
10211
10212 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
10213
10214 * analyze-racy-logs.py: Set executable bit.
10215
10216 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
10217
10218 * Makefile.in (DEFAULT_RACY_ITER): New variable.
10219 (CHECK_TARGET_TMP): Likewise.
10220 (check-single-racy): New rule.
10221 (check-parallel-racy): Likewise.
10222 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
10223 (do-check-parallel-racy): New rule.
10224 (check-racy/%.exp): Likewise.
10225 * README (Racy testcases): New section.
10226 * analyze-racy-logs.py: New file.
10227
10228 2016-03-03 Doug Evans <dje@google.com>
10229
10230 * gdb.base/skip.exp: Use with_test_prefix.
10231
10232 2016-03-03 Yao Qi <yao.qi@linaro.org>
10233
10234 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
10235 Invoke step_over_syscall "clone" and break_cond_on_syscall
10236 "clone".
10237 * gdb.base/step-over-clone.c: New file.
10238
10239 2016-03-03 Yao Qi <yao.qi@linaro.org>
10240
10241 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
10242 code format.
10243
10244 2016-03-03 Yao Qi <yao.qi@linaro.org>
10245
10246 * gdb.base/disp-step-fork.c: Rename to ...
10247 * gdb.base/step-over-fork.c: ... it. New file.
10248 * gdb.base/disp-step-vfork.c: Rename to ...
10249 * gdb.base/step-over-vfork.c: ... it. New file.
10250 * gdb.base/disp-step-syscall.exp: Rename to ...
10251 * gdb.base/step-over-syscall.exp: ... it. New file.
10252 (disp_step_cross_syscall): Rename to ...
10253 (step_over_syscall): ... it.
10254
10255 2016-03-03 Yao Qi <yao.qi@linaro.org>
10256
10257 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
10258 If target supports condition evaluation on target, invoke
10259 break_cond_on_syscall for fork and vfork.
10260
10261 2016-03-03 Yao Qi <yao.qi@linaro.org>
10262
10263 * gdb.base/disp-step-syscall.exp: Don't invoke
10264 support_displaced_stepping.
10265 (disp_step_cross_syscall): Test with displaced stepping off and
10266 on if supported.
10267
10268 2016-03-03 Yao Qi <yao.qi@linaro.org>
10269
10270 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
10271 proc.
10272 (setup): New proc.
10273 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
10274 and setup.
10275
10276 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10277
10278 * gdb.fortran/vla-history.exp: Remove breakpoint.
10279
10280 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10281
10282 * gdb.fortran/vla-history.exp: Lookup array elements and printing
10283 exceeds timeout.
10284
10285 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10286
10287 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
10288 breakpoint.
10289
10290 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
10291
10292 * gdb.mi/vla.f90: Nullify pointer after declaration.
10293
10294 2016-03-01 Pedro Alves <palves@redhat.com>
10295
10296 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
10297
10298 2016-03-01 Pedro Alves <palves@redhat.com>
10299
10300 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
10301 before anything else.
10302 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
10303 _GNU_SOURCE here.
10304 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
10305 before anything else.
10306 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
10307
10308 2016-03-01 Pedro Alves <palves@redhat.com>
10309
10310 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
10311
10312 2016-03-01 Yao Qi <yao.qi@linaro.org>
10313
10314 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
10315 prepare_for_testing.
10316
10317 2016-03-01 Yao Qi <yao.qi@linaro.org>
10318
10319 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
10320
10321 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10322
10323 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
10324 manually constructing the output path.
10325
10326 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
10327
10328 * gdb.arch/s390-stackless.S: New.
10329 * gdb.arch/s390-stackless.exp: New.
10330
10331 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
10332
10333 * gdb.dlang/circular.c: New file.
10334 * gdb.dlang/circular.exp: New file.
10335
10336 2016-02-26 Yao Qi <yao.qi@linaro.org>
10337
10338 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
10339 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
10340 (testcases): Update.
10341
10342 2016-02-26 Yao Qi <yao.qi@linaro.org>
10343
10344 * gdb.reverse/aarch64.c: Rename to ...
10345 * gdb.reverse/insn-reverse.c: ... it.
10346 * gdb.reverse/aarch64.exp: Rename to ...
10347 * gdb.reverse/insn-reverse.exp: ... it.
10348
10349 2016-02-26 Yao Qi <yao.qi@linaro.org>
10350
10351 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
10352 (testcase_ftype): New.
10353 (testcases): New array.
10354 (n_testcases): New.
10355 (main): Call each element in testcases.
10356 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
10357 (read_testcase): New.
10358 Do the tests in a loop.
10359
10360 2016-02-25 Yao Qi <yao.qi@linaro.org>
10361
10362 * gdb.base/branches.c: Remove.
10363
10364 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10365
10366 PR gdb/13808
10367 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
10368
10369 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10370
10371 * gdb.trace/ftrace.exp: Remove unnecessary target check.
10372
10373 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
10374
10375 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
10376 change x86_64 call_insn to 'callq'.
10377
10378 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
10379
10380 * gdb.trace/tfile-avx.c: Move to...
10381 * gdb.trace/tracefile-pseudo-reg.c: Here.
10382 * gdb.trace/tfile-avx.exp: Move to...
10383 * gdb.trace/tracefile-pseudo-reg.exp: Here.
10384
10385 2016-02-24 Gary Benson <gbenson@redhat.com>
10386
10387 * gdb.base/attach-pie-noexec.exp: Do not expect an error
10388 message on attach.
10389
10390 2016-02-23 Doug Evans <dje@google.com>
10391
10392 * gdb.base/skip.c (test_skip): New function.
10393 (end_test_skip_file_and_function): New function.
10394 (test_skip_file_and_function): New function.
10395 * gdb.base/skip1.c (test_skip): New function.
10396 (skip1_test_skip_file_and_function): New function.
10397 * gdb.base/skip.exp: Add tests for new skip options.
10398 * gdb.base/skip-solib.exp: Update expected output.
10399 * gdb.perf/skip-command.cc: New file.
10400 * gdb.perf/skip-command.exp: New file.
10401 * gdb.perf/skip-command.py: New file.
10402
10403 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
10404
10405 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
10406 info registers pattern.
10407
10408 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
10409
10410 * lib/future.exp: Add D support.
10411 (gdb_find_gdc): New proc.
10412 (gdb_default_target_compile): Add D support.
10413
10414 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
10415
10416 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
10417 user+system time.
10418 (trace_speed_test): Determine the iteration count for a time
10419 between 15..30 seconds.
10420
10421 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
10422
10423 * gdb.arch/i386-mpx-sigsegv.c: New file.
10424 * gdb.arch/i386-mpx-sigsegv.exp: New file.
10425 * gdb.arch/i386-mpx-simple_segv.c: New file.
10426 * gdb.arch/i386-mpx-simple_segv.exp: New file.
10427
10428 2016-02-18 Yao Qi <yao.qi@linaro.org>
10429
10430 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10431 Don't call setup_kfail.
10432
10433 2016-02-18 Yao Qi <yao.qi@linaro.org>
10434
10435 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10436 Set "set breakpoint condition-evaluation" per $cond_bp_target.
10437
10438 2016-02-16 Doug Evans <dje@google.com>
10439
10440 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
10441 * gdb.base/skip1.c: Ditto.
10442 * gdb.base/skip.exp: Whitespace cleanup.
10443
10444 2016-02-16 Don Breazeal <donb@codesourcery.com>
10445
10446 PR remote/19496
10447 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
10448 Remove kfail for PR remote/19496.
10449
10450 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10451
10452 * lib/gdb.exp (standard_temp_file): Return a path specific to
10453 the runtest invocation.
10454
10455 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
10456
10457 * gdb.trace/save-trace.exp: Change relative path to be in the
10458 standard output directory.
10459
10460 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10461
10462 * gdb.arch/i386-prologue.c: Add missing prototypes.
10463
10464 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
10465
10466 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
10467 * gdb.arch/i386-prologue.exp: Likewise.
10468 * gdb.arch/i386-size.exp: Likewise.
10469
10470 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
10471
10472 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
10473 define object file path.
10474 * gdb.btrace/gcore.exp: Use standard_output_file to define core
10475 file path.
10476 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
10477 standard_output_file to define binfile.
10478
10479 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10480
10481 Fix compatibility with recent gfortran-5.3.1.
10482 * gdb.fortran/vla-history.exp (print vla1 allocated)
10483 (print vla2 allocated, print $2, print $3): Remove
10484 (print $4): Rename to ...
10485 (print $2): ... here.
10486 (print $9): Rename to ...
10487 (print $5): ... here.
10488 (print $10): Rename to ...
10489 (print $6): ... here.
10490 * gdb.fortran/vla.f90: Add pvla initialization.
10491
10492 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
10493
10494 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
10495 New test.
10496 * gdb.fortran/vla-value-sub.exp: Likewise.
10497
10498 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
10499
10500 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
10501
10502 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
10503
10504 * i386-biarch-core.exp: Define corefile using
10505 standard_output_file.
10506
10507 2016-02-12 Yao Qi <yao.qi@linaro.org>
10508
10509 * gdb.arch/arm-single-step-kernel-helper.c: New.
10510 * gdb.arch/arm-single-step-kernel-helper.exp: New.
10511
10512 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
10513
10514 * gdb.btrace/tailcall-only.exp: New.
10515 * gdb.btrace/tailcall-only.c: New.
10516 * gdb.btrace/x86_64-tailcall-only.S: New.
10517 * gdb.btrace/i686-tailcall-only.S: New.
10518
10519 2016-02-11 Pedro Alves <palves@redhat.com>
10520
10521 * README (Parallel testing): Add missing double quotes.
10522
10523 2016-02-11 Pedro Alves <palves@redhat.com>
10524
10525 * README (Parallel testing): New section.
10526 (GDB_PARALLEL): Rewrite.
10527 (FORCE_PARALLEL): Document.
10528
10529 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
10530
10531 * gdb.trace/tfile-avx.c: New test.
10532 * gdb.trace/tfile-avx.exp: New test.
10533
10534 2016-02-09 Keith Seitz <keiths@redhat.com>
10535
10536 PR breakpoints/19546
10537 * gdb.base/infcall-exec.c: New file.
10538 * gdb.base/infcall-exec2.c: New file.
10539 * gdb.base/infcall-exec.exp: New file.
10540
10541 2016-02-09 Keith Seitz <keiths@redhat.com>
10542
10543 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
10544 (toplevel): Call test_bkpt_address.
10545
10546 2016-02-09 Keith Seitz <keiths@redhat.com>
10547
10548 PR python/19506
10549 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
10550 (toplevel): Call test_bkpt_address.
10551
10552 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
10553
10554 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
10555 to AC_OUTPUT.
10556 * configure: Regenerate.
10557
10558 2016-02-09 Pedro Alves <palves@redhat.com>
10559
10560 PR breakpoints/19548
10561 * gdb.base/execl-update-breakpoints.c (some_function): New
10562 function.
10563 (main): Call it.
10564 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
10565 Tighten expected GDB output.
10566
10567 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10568
10569 * Makefile.in (ALL_SUBDIRS): Remove.
10570 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
10571 (distclean maintainer-clean realclean): Likewise.
10572 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
10573 * configure: Regenerate.
10574 * gdb.ada/Makefile.in: Delete.
10575 * gdb.arch/Makefile.in: Likewise.
10576 * gdb.asm/Makefile.in: Likewise.
10577 * gdb.base/Makefile.in: Likewise.
10578 * gdb.btrace/Makefile.in: Likewise.
10579 * gdb.cell/Makefile.in: Likewise.
10580 * gdb.compile/Makefile.in: Likewise.
10581 * gdb.cp/Makefile.in: Likewise.
10582 * gdb.disasm/Makefile.in: Likewise.
10583 * gdb.dlang/Makefile.in: Likewise.
10584 * gdb.dwarf2/Makefile.in: Likewise.
10585 * gdb.fortran/Makefile.in: Likewise.
10586 * gdb.gdb/Makefile.in: Likewise.
10587 * gdb.go/Makefile.in: Likewise.
10588 * gdb.guile/Makefile.in: Likewise.
10589 * gdb.java/Makefile.in: Likewise.
10590 * gdb.linespec/Makefile.in: Likewise.
10591 * gdb.mi/Makefile.in: Likewise.
10592 * gdb.modula2/Makefile.in: Likewise.
10593 * gdb.multi/Makefile.in: Likewise.
10594 * gdb.objc/Makefile.in: Likewise.
10595 * gdb.opencl/Makefile.in: Likewise.
10596 * gdb.opt/Makefile.in: Likewise.
10597 * gdb.pascal/Makefile.in: Likewise.
10598 * gdb.perf/Makefile.in: Likewise.
10599 * gdb.python/Makefile.in: Likewise.
10600 * gdb.reverse/Makefile.in: Likewise.
10601 * gdb.server/Makefile.in: Likewise.
10602 * gdb.stabs/Makefile.in: Likewise.
10603 * gdb.threads/Makefile.in: Likewise.
10604 * gdb.trace/Makefile.in: Likewise.
10605 * gdb.xml/Makefile.in: Likewise.
10606 * lib/gdb.exp (make_gdb_parallel_path): Add check for
10607 GDB_PARALLEL.
10608 (standard_output_file): Remove check for GDB_PARALLEL, always
10609 return path in outputs/$subdir/$testname.
10610
10611 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
10612
10613 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
10614 (site.exp): Assign abs_srcdir to tcl's srcdir.
10615
10616 2016-02-04 Yao Qi <yao.qi@linaro.org>
10617
10618 * gdb.base/foll-exec-mode.c: Include limits.h.
10619 (main): Add parameters argc and argv. Get directory from
10620 argv[0].
10621 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
10622 compilation.
10623 * gdb.base/foll-exec.c: Include limits.h.
10624 (main): Add parameters argc and argv.
10625 Get directory from argv[0].
10626 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
10627 Adjust tests on the number of lines as source code changed.
10628 * gdb.base/foll-vfork-exit.c: Include limits.h.
10629 (main): Add one line of statement before vfork.
10630 * gdb.base/foll-vfork.c: Include limits.h and string.h.
10631 (main): Add parameters argc and argv. Get directory from
10632 argv[0].
10633 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
10634 (setup_gdb): Set tbreak to skip some source lines.
10635 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
10636 (main): Add parameters argc and argv. Get directory from
10637 argv[0].
10638 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
10639 compilation.
10640 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
10641 (main): Add parameters argc and argv. Get directory from
10642 argv[0].
10643 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
10644 compilation.
10645
10646 2016-02-01 Doug Evans <dje@google.com>
10647
10648 * gdb.base/skip.exp: Clean up multiple references to same test name.
10649
10650 2016-02-01 Pedro Alves <palves@redhat.com>
10651
10652 PR remote/19496
10653 * gdb.threads/forking-threads-plus-breakpoint.exp
10654 (displaced_stepping_supported): New global.
10655 (probe_displaced_stepping_support): New procedure.
10656 (do_test): Add 'displaced' parameter, and use it.
10657 (top level): Check for displaced stepping support. Add displaced
10658 stepping on/off testing axis.
10659
10660 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10661
10662 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
10663 pointer. Don't perform further tests on the unassociated pointer
10664 if the first test fails.
10665
10666 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
10667
10668 * gdb.base/max-value-size.c: New file.
10669 * gdb.base/max-value-size.exp: New file.
10670 * gdb.base/huge.exp: Disable max-value-size for this test.
10671
10672 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
10673
10674 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10675
10676 2016-01-28 Yao Qi <yao.qi@linaro.org>
10677
10678 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
10679
10680 2016-01-25 Pedro Alves <palves@redhat.com>
10681
10682 PR threads/19461
10683 * gdb.base/fork-running-state.c: New file.
10684 * gdb.base/fork-running-state.exp: New file.
10685
10686 2016-01-25 Pedro Alves <palves@redhat.com>
10687
10688 PR gdb/19494
10689 * gdb.base/catch-fork-kill.c: New file.
10690 * gdb.base/catch-fork-kill.exp: New file.
10691
10692 2016-01-25 Pedro Alves <palves@redhat.com>
10693
10694 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
10695 Delete, moved to lib/gdb.exp.
10696 * gdb.threads/forking-threads-plus-breakpoint.exp
10697 (foreach_with_prefix): Likewise.
10698 * gdb.threads/process-dies-while-handling-bp.exp
10699 (foreach_with_prefix): Likewise.
10700 * lib/gdb.exp (foreach_with_prefix): New procedure.
10701
10702 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
10703
10704 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
10705 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
10706
10707 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
10708
10709 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
10710 endian targets.
10711
10712 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10713 Pedro Alves <palves@redhat.com>
10714
10715 Fix testsuite compatibility with Guile.
10716 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
10717 number.
10718
10719 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
10720
10721 Fix testsuite compatibility with Guile.
10722 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
10723 (thread 1): New test for backtrace through signal handler.
10724
10725 2016-01-22 Yao Qi <yao.qi@linaro.org>
10726
10727 PR testsuite/19491
10728 * gdb.base/multi-forks.c: Include
10729 ../lib/unbuffer_output.c
10730 (main): Call gdb_unbuffer_output.
10731
10732 2016-01-21 Doug Evans <dje@google.com>
10733
10734 * lib/ada.exp (gdb_compile_ada): Fix typo.
10735
10736 2016-01-21 Joel Brobecker <brobecker@adacore.com>
10737
10738 * gdb.base/break-fun-addr.exp: New file.
10739 * gdb.base/break-fun-addr1.c: New file.
10740 * gdb.base/break-fun-addr2.c: New file.
10741
10742 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
10743
10744 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
10745 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
10746 enum flag values.
10747
10748 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
10749
10750 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
10751 when GDB can not set the vector return value. Add more comments
10752 for clarification.
10753
10754 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
10755
10756 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
10757 command.
10758
10759 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10760
10761 * Makefile.in (DO_RUNTEST): Add --status and update usages.
10762
10763 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10764
10765 * Makefile.in (check-single): Pass --status to runtest.
10766 (check/%.exp): Likewise.
10767
10768 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
10769
10770 * Makefile.in (check-parallel): Propagate return code from make
10771 do-check-parallel.
10772
10773 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
10774
10775 * gdb.trace/ftrace.exp: Fix expected message on continue.
10776 * gdb.trace/pending.exp: Fix expected message on continue.
10777 * gdb.trace/trace-break.exp: Fix expected message on continue.
10778
10779 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
10780
10781 * lib/gdb.exp (gdb_test): Remove unused global references.
10782
10783 2016-01-18 Pedro Alves <palves@redhat.com>
10784
10785 * gdb.base/async-shell.exp: Adjust expected output.
10786 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
10787 * gdb.base/siginfo-thread.exp: Adjust expected output.
10788 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
10789 * gdb.java/jnpe.exp: Adjust expected output.
10790 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
10791 * gdb.threads/continue-pending-status.exp: Adjust expected output.
10792 * gdb.threads/leader-exit.exp: Adjust expected output.
10793 * gdb.threads/manythreads.exp: Adjust expected output.
10794 * gdb.threads/pthreads.exp: Adjust expected output.
10795 * gdb.threads/schedlock.exp: Adjust expected output.
10796 * gdb.threads/siginfo-threads.exp: Adjust expected output.
10797 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
10798 expected output.
10799 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
10800 output.
10801 * gdb.threads/sigthread.exp: Adjust expected output.
10802 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
10803
10804 2016-01-18 Yao Qi <yao.qi@linaro.org>
10805
10806 * gdb.guile/scm-section-script.c: Replace @progbits with
10807 %progbits.
10808 * gdb.python/py-section-script.c: Likewise.
10809
10810 2016-01-15 Pedro Alves <palves@redhat.com>
10811
10812 * gdb.multi/tids.exp: Test star wildcard ranges.
10813
10814 2016-01-15 Pedro Alves <palves@redhat.com>
10815
10816 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
10817 command from "thread apply" invocation.
10818 (thr_apply_info_thr_invalid): Default the expected output to the
10819 input tid list.
10820 (top level): Add tests that use convenience variables. Add tests
10821 for "thread apply" with a valid TID list, but missing the command.
10822
10823 2016-01-13 Pedro Alves <palves@redhat.com>
10824
10825 * gdb.base/default.exp: Expect $_gthread as well.
10826 * gdb.multi/tids.exp: Test $_gthread.
10827 * gdb.threads/thread-specific.exp: Test $_gthread.
10828
10829 2016-01-13 Pedro Alves <palves@redhat.com>
10830
10831 * gdb.multi/tids.exp: Test "info threads -gid".
10832
10833 2016-01-13 Pedro Alves <palves@redhat.com>
10834
10835 * gdb.multi/tids.exp: Test InferiorThread.global_num and
10836 Breakpoint.thread.
10837 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
10838
10839 2016-01-07 Pedro Alves <palves@redhat.com>
10840
10841 * gdb.base/break.exp: Adjust to output changes.
10842 * gdb.base/hbreak2.exp: Likewise.
10843 * gdb.base/sepdebug.exp: Likewise.
10844 * gdb.base/watch_thread_num.exp: Likewise.
10845 * gdb.linespec/keywords.exp: Likewise.
10846 * gdb.multi/info-threads.exp: Likewise.
10847 * gdb.threads/thread-find.exp: Likewise.
10848 * gdb.multi/tids.c: New file.
10849 * gdb.multi/tids.exp: New file.
10850
10851 2016-01-13 Pedro Alves <palves@redhat.com>
10852
10853 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
10854
10855 2016-01-13 Pedro Alves <palves@redhat.com>
10856
10857 * gdb.base/default.exp: Expect $_inferior as well.
10858 * gdb.multi/base.exp: Test $_inferior.
10859
10860 2016-01-13 Pedro Alves <palves@redhat.com>
10861
10862 PR breakpoints/19388
10863 * gdb.base/catch-signal-siginfo-cond.c: New file.
10864 * gdb.base/catch-signal-siginfo-cond.exp: New file.
10865
10866 2016-01-12 Josh Stone <jistone@redhat.com>
10867 Philippe Waroquiers <philippe.waroquiers@skynet.be>
10868
10869 * gdb.base/catch-syscall.c (do_execve): New variable.
10870 (main): Conditionally trigger an execve.
10871 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
10872 (test_catch_syscall_execve): New, check entry/return across execve.
10873 (do_syscall_tests): Call test_catch_syscall_execve.
10874
10875 2016-01-12 Pedro Alves <palves@redhat.com>
10876
10877 * gdb.base/random-signal.exp (do_test): New procedure, with body
10878 of testcase moved in.
10879
10880 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10881 Pedro Alves <palves@redhat.com>
10882
10883 * gdb.base/funcargs.exp (finish from indirectly called function):
10884 Reintroduce the case for 'First'.
10885
10886 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10887 Pedro Alves <palves@redhat.com>
10888
10889 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
10890 (tcatch_vfork_then_child_follow_exec)
10891 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
10892 identification.
10893
10894 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
10895
10896 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
10897 and repeats to unlimited.
10898 * gdb.python/py-value.exp: Likewise.
10899 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
10900 and repeats to unlimited.
10901
10902 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
10903
10904 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
10905 and reordering the functions.
10906 * gdb.multi/hangout.c: Likewise.
10907 * gdb.multi/hello.c: Likewise.
10908
10909 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
10910
10911 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
10912 absolute.
10913 (SingleStatisticTestResult.report): Use dict.keys instead of
10914 dict.iterkeys.
10915
10916 2016-01-06 Pedro Alves <palves@redhat.com>
10917
10918 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
10919
10920 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
10921
10922 * gdb.btrace/dlopen.exp: New.
10923 * gdb.btrace/dlopen.c: New.
10924 * gdb.btrace/dlopen-dso.c: New.
10925
10926 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
10927
10928 * lib/gdb.exp (gdb_test): Update comments to clarify that the
10929 PATTERN argument is optional.
10930
10931 2015-12-24 Joel Brobecker <brobecker@adacore.com>
10932
10933 * lib/ada.exp (target_compile_ada_from_dir): New function.
10934 (gdb_compile_ada): Reimplement avoiding the use of project files.
10935 * gdb.ada/gnat_ada.gpr: Delete.
10936 * gdb.ada/cond_lang.exp: Adjust test to make path before
10937 filename optional.
10938 * gdb.ada/small_reg_param.exp: Likewise.
10939
10940 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
10941
10942 * gdb.base/foll-vork.exp: Remove HP-UX special case.
10943
10944 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
10945
10946 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
10947 case.
10948
10949 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
10950
10951 * gdb.base/break.exp: Remove dead code.
10952 * gdb.base/sepdebug.exp: Likewise.
10953
10954 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10955
10956 * gdb.asm/asm-source.exp: Remove HP-UX references.
10957 * gdb.base/annota1.exp: Likewise.
10958 * gdb.base/annota3.exp: Likewise.
10959 * gdb.base/attach.exp: Likewise.
10960 * gdb.base/bigcore.exp: Likewise.
10961 * gdb.base/break.exp: Likewise.
10962 * gdb.base/call-ar-st.exp: Likewise.
10963 * gdb.base/callfuncs.exp: Likewise.
10964 * gdb.base/catch-fork-static.exp: Likewise.
10965 * gdb.base/display.exp: Likewise.
10966 * gdb.base/foll-exec-mode.exp: Likewise.
10967 * gdb.base/foll-exec.exp: Likewise.
10968 * gdb.base/foll-fork.exp: Likewise.
10969 * gdb.base/foll-vfork.exp: Likewise.
10970 * gdb.base/funcargs.exp: Likewise.
10971 * gdb.base/hbreak2.exp: Likewise.
10972 * gdb.base/inferior-died.exp: Likewise.
10973 * gdb.base/interrupt.exp: Likewise.
10974 * gdb.base/multi-forks.exp: Likewise.
10975 * gdb.base/nodebug.exp: Likewise.
10976 * gdb.base/sepdebug.exp: Likewise.
10977 * gdb.base/solib1.c: Likewise.
10978 * gdb.base/step-test.exp: Likewise.
10979 * gdb.mi/non-stop.c: Likewise.
10980 * gdb.mi/pthreads.c: Likewise.
10981 * gdb.multi/bkpt-multi-exec.ex: Likewise.
10982 * gdb.threads/pthreads.c: Likewise.
10983 * gdb.threads/staticthreads.exp: Likewise.
10984 * lib/future.exp: Likewise.
10985 * lib/gdb.exp: Likewise.
10986 * gdb.base/so-indr-cl.c: Remove.
10987 * gdb.base/so-indr-cl.exp: Likewise.
10988 * gdb.base/solib.c: Likewise.
10989 * gdb.base/solib.exp: Likewise.
10990 * gdb.base/solib2.c: Likewise.
10991
10992 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
10993
10994 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
10995 * gdb.base/call-ar-st.exp: Likewise.
10996 * gdb.base/callfuncs.exp: Likewise.
10997 * gdb.base/condbreak.exp: Likewise.
10998 * gdb.base/constvars.exp: Likewise.
10999 * gdb.base/hbreak2.exp: Likewise.
11000 * gdb.base/langs.exp: Likewise.
11001 * gdb.base/list.exp: Likewise.
11002 * gdb.base/long_long.exp: Likewise.
11003 * gdb.base/ptype.exp: Likewise.
11004 * gdb.base/scope.exp: Likewise.
11005 * gdb.base/signals.exp: Likewise.
11006 * gdb.base/so-impl-ld.exp: Likewise.
11007 * gdb.base/varargs.exp: Likewise.
11008 * gdb.base/volatile.exp: Likewise.
11009 * gdb.base/whatis.exp: Likewise.
11010 * gdb.cp/cplusfuncs.exp: Likewise.
11011 * gdb.cp/inherit.exp: Likewise.
11012 * gdb.cp/local.exp: Likewise.
11013 * gdb.cp/member-ptr.exp: Likewise.
11014 * gdb.cp/method.exp: Likewise.
11015 * gdb.cp/overload.exp: Likewise.
11016 * gdb.cp/templates.exp: Likewise.
11017 * gdb.stabs/weird.exp: Likewise.
11018 * lib/compiler.c: Likewise.
11019 * lib/compiler.cc: Likewise.
11020 * lib/cp-support.exp: Likewise.
11021 * lib/gdb.exp: Likewise.
11022
11023 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
11024
11025 * configure.ac: Remove HP-UX case.
11026 * configure: Regenerate.
11027
11028 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
11029
11030 * lib/gdb.exp (gdb_compile): Add function doc.
11031
11032 2015-12-17 Pedro Alves <palves@redhat.com>
11033
11034 PR threads/19354
11035 * gdb.multi/info-threads.exp: New file.
11036
11037 2015-12-15 Yao Qi <yao.qi@linaro.org>
11038
11039 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
11040 is aarch64*-*-*.
11041
11042 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11043
11044 * gdb.base/history-duplicates.exp: Skip if no readline support.
11045
11046 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11047
11048 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
11049
11050 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11051
11052 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
11053
11054 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
11055
11056 * gdb.base/completion.exp: Skip tests that interrupt GDB with
11057 ctrl-C if nointerrupts target property is set.
11058 * gdb.base/double-prompt-target-event-error.exp: Likewise.
11059 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
11060 * gdb.base/paginate-bg-execution.exp: Likewise.
11061 * gdb.base/paginate-execution-startup.exp: Likewise.
11062 * gdb.base/random-signal.exp: Likewise.
11063 * gdb.base/range-stepping.exp: Likewise.
11064 * gdb.cp/annota2.exp: Likewise.
11065 * gdb.cp/annota3.exp: Likewise.
11066 * gdb.gdb/selftest.exp: Likewise.
11067 * gdb.threads/continue-pending-status.exp: Likewise.
11068 * gdb.threads/leader-exit.exp: Likewise.
11069 * gdb.threads/manythreads.exp: Likewise.
11070 * gdb.threads/pthreads.exp: Likewise.
11071 * gdb.threads/schedlock.exp: Likewise.
11072 * gdb.threads/sigthread.exp: Likewise.
11073
11074 2015-12-11 Don Breazeal <donb@codesourcery.com>
11075
11076 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
11077 remote.
11078 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
11079 * gdb.base/foll-exec.exp (main): Enable for target remote.
11080 * gdb.base/foll-fork.exp (main): Likewise.
11081 * gdb.base/foll-vfork.exp (main): Likewise.
11082 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
11083 (proc continue_to_exit_bp_loc): Use clean_restart.
11084 * gdb.base/pie-execl.exp (main): Disable for target remote.
11085 * gdb.base/watch-vfork.exp (main): Enable for target remote.
11086 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
11087 * gdb.threads/execl.exp (main): Likewise.
11088 * gdb.threads/fork-child-threads.exp (main): Likewise.
11089 * gdb.threads/fork-plus-threads.exp (main): Disable for target
11090 remote.
11091 * gdb.threads/fork-thread-pending.exp (main): Enable for target
11092 remote.
11093 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
11094 pid.tid style ptids, instead of just tid.
11095 * gdb.threads/thread-execl.exp (main): Enable for target remote.
11096 * gdb.threads/watchpoint-fork.exp (main): Likewise.
11097 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
11098 ptids, instead of just tid.
11099
11100 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11101
11102 * gdb.base/list.exp (test_list_forward): Add end of file error
11103 test.
11104 (test_repeat_list_command): Add end of file error test.
11105 (test_list_backwards): Add beginning of file error test.
11106
11107 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11108
11109 * gdb.base/list.exp (test_list_invalid_args): New function,
11110 defined, and called.
11111
11112 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
11113
11114 * gdb.base/list.exp (test_list): Make test names unique.
11115
11116 2015-12-11 Yao Qi <yao.qi@linaro.org>
11117
11118 * gdb.base/coremaker2.c: Remove.
11119
11120 2015-12-10 Pedro Alves <palves@redhat.com>
11121
11122 * gdb.multi/base.exp: Remove stale "spaces" references.
11123
11124 2015-12-10 Pedro Alves <palves@redhat.com>
11125
11126 * gdb.multi/base.exp: Don't use nowarnings.
11127 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
11128 * gdb.multi/hangout.c: Include stdio.h.
11129 * gdb.multi/hello.c: Include stdlib.h.
11130 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
11131 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
11132 * gdb.multi/multi-arch.exp: Don't use nowarnings.
11133
11134 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
11135
11136 * gdb.dwarf2/dw2-ranges-base.c: New file.
11137 * gdb.dwarf2/dw2-ranges-base.exp: New file.
11138 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
11139 support additional line table, and debug ranges generation.
11140 (Dwarf::ranges): New function, generate .debug_ranges.
11141 (Dwarf::lines): Support generating simple line table programs.
11142 (Dwarf::assemble): Initialise new namespace variables.
11143
11144 2015-12-09 Kevin Buettner <kevinb@redhat.com>
11145
11146 * gdb.base/async.exp (proc test_background): Add case for
11147 asynchronous execution not supported.
11148
11149 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
11150
11151 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
11152 format and change test names to make them unique.
11153
11154 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
11155 Pedro Alves <pedro@redhat.com>
11156
11157 PR gdb/18702
11158 Add checking of floatformats setup on x86_64 hosts.
11159 * gdb.arch/i386-float.S (main): Load bigval and smallval.
11160 (smallval, bigval): New labels/constants.
11161 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
11162 float" after loading bigval and smallval.
11163
11164 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
11165
11166 * gdb.ada/fun_overload_menu.exp: New testcase.
11167 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
11168
11169 2015-12-04 Josh Stone <jistone@redhat.com>
11170
11171 * gdb.base/catch-fork-static.exp: New.
11172
11173 2015-12-03 Yao Qi <yao.qi@linaro.org>
11174
11175 * gdb.base/sizeof.c: Don't include stdio.h and
11176 ../lib/unbuffer_output.c.
11177 (main): New variable 'size' and 'value'. Remove printf and
11178 gdb_unbuffer_output. Assign return value to size and value.
11179 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
11180 at the beginning.
11181 (check_sizeof): Check the result by printing variable 'size'.
11182 (check_valueof): Check the result by printing variable 'value'.
11183
11184 2015-12-01 Yao Qi <yao.qi@linaro.org>
11185
11186 * gdb.base/disp-step-syscall.exp: Define syscall instruction
11187 for aarch64*-*-linux* target.
11188
11189 2015-11-30 Pedro Alves <palves@redhat.com>
11190
11191 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
11192
11193 2015-11-30 Pedro Alves <palves@redhat.com>
11194
11195 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
11196 Handle non-stop mode vCont replies.
11197
11198 2015-11-30 Pedro Alves <palves@redhat.com>
11199
11200 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
11201 prepare_for_testing. Start gdb with "set non-stop on" appended to
11202 GDBFLAGS. Lax expected stop output.
11203
11204 2015-11-27 Yao Qi <yao.qi@linaro.org>
11205
11206 * gdb.arch/arm-neon.exp: New.
11207 * gdb.arch/arm-neon.c: New.
11208
11209 2015-11-27 Yao Qi <yao.qi@linaro.org>
11210
11211 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
11212
11213 2015-11-27 Yao Qi <yao.qi@linaro.org>
11214
11215 * gdb.cp/annota2.exp: Allow multiple occurrences of the
11216 frames-invalid annotation.
11217
11218 2015-11-27 Yao Qi <yao.qi@linaro.org>
11219
11220 * gdb.cp/annota2.exp: Use ${frames_invalid}.
11221
11222 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
11223
11224 * gdb.threads/names.exp: New file.
11225 * gdb.threads/names.c: New file.
11226 * README: Mention gdb,no_thread_names.
11227
11228 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
11229
11230 PR 19297
11231 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
11232 support" error.
11233
11234 2015-11-24 Pedro Alves <palves@redhat.com>
11235
11236 PR 17539
11237 * gdb.base/display.exp: Expect displays to be sorted in ascending
11238 order. Use multi_line.
11239 * gdb.base/solib-display.exp: Likewise.
11240
11241 2015-11-24 Pedro Alves <palves@redhat.com>
11242
11243 PR 17539
11244 * gdb.base/display.exp: Expect displays to be sorted in ascending
11245 order. Use multi_line.
11246 * gdb.base/solib-display.exp: Likewise.
11247
11248 2015-11-24 Pedro Alves <palves@redhat.com>
11249
11250 PR 17539
11251 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
11252 threads in ascending order.
11253 * gdb.base/foll-fork.exp: Likewise.
11254 * gdb.base/foll-vfork.exp: Likewise.
11255 * gdb.base/multi-forks.exp: Likewise.
11256 * gdb.mi/mi-nonstop.exp: Likewise.
11257 * gdb.mi/mi-nsintrall.exp: Likewise.
11258 * gdb.multi/base.exp: Likewise.
11259 * gdb.multi/multi-arch.exp: Likewise.
11260 * gdb.python/py-inferior.exp: Likewise.
11261 * gdb.threads/break-while-running.exp: Likewise.
11262 * gdb.threads/execl.exp: Likewise.
11263 * gdb.threads/gcore-thread.exp: Likewise.
11264 * gdb.threads/info-threads-cur-sal.exp: Likewise.
11265 * gdb.threads/kill.exp: Likewise.
11266 * gdb.threads/linux-dp.exp: Likewise.
11267 * gdb.threads/multiple-step-overs.exp: Likewise.
11268 * gdb.threads/next-bp-other-thread.exp: Likewise.
11269 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
11270 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
11271 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
11272 * gdb.threads/thread-find.exp: Likewise.
11273 * gdb.threads/tls.exp: Likewise.
11274 * lib/mi-support.exp (mi_reverse_list): Delete.
11275 (mi_check_thread_states): No longer reverse list.
11276
11277 2015-11-24 Pedro Alves <palves@redhat.com>
11278
11279 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
11280 use lowercase.
11281
11282 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11283
11284 * gdb.trace/actions.c: Include trace-common.h.
11285 (main): Add a location for a fast tracepoint.
11286 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
11287 the normal tracepoints.
11288 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
11289
11290 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
11291
11292 * save-trace.exp: Factor out code to these...
11293 (gdb_save_tracepoints): New.
11294 (gdb_load_tracepoints): New.
11295 (do_save_load_test): New.
11296
11297 2015-11-23 Kevin Buettner <kevinb@redhat.com>
11298
11299 * gdb.base/asmlabel.exp: New test.
11300 * gdb.base/asmlabel.c: New test case.
11301
11302 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11303
11304 * gdb.base/wrong_frame_bt_full-main.c: New file.
11305 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
11306 * gdb.base/wrong_frame_bt_full.exp: New file.
11307
11308 2015-11-23 Joel Brobecker <brobecker@adacore.com>
11309
11310 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
11311
11312 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11313
11314 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
11315 pstate register when comparing registers values in
11316 sparc64-*-linux-gnu targets to avoid spurious differences.
11317
11318 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
11319
11320 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
11321
11322 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
11323
11324 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
11325 as type argument to gdb_compile.
11326 * gdb.base/nested-subp2.exp: Likewise.
11327 * gdb.base/nested-subp3.exp: Likewise.
11328
11329 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
11330
11331 * lib/dwarf.exp (_note): Fix left shift of negative value.
11332 * gdb.trace/trace-condition.exp: Likewise.
11333
11334 2015-11-13 Yao Qi <yao.qi@linaro.org>
11335
11336 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
11337 comments about d10v.
11338 (test_scalar_returns): Likewise.
11339 * gdb.base/d10v.ld: Remove.
11340 * gdb.base/overlays.exp: Remove the target triplet checking for
11341 d10v-*-*.
11342 * gdb.base/structs.exp (test_struct_returns): Remove the
11343 comments about d10v.
11344 (test_struct_calls): Likewise.
11345
11346 2015-11-13 Yao Qi <yao.qi@linaro.org>
11347
11348 * gdb.base/gnu_vector.exp: Check the return value by "p res".
11349 * gdb.base/gnu_vector.c: Don't include stdio.h.
11350 (main): Don't print res and call add_some_intvecs.
11351
11352 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
11353
11354 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
11355 macro.
11356 (func5): Removed.
11357 (func4): Use FAST_TRACEPOINT_LABEL.
11358 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
11359 macro.
11360 (func): Removed.
11361 (thread_function): Use FAST_TRACEPOINT_LABEL.
11362 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
11363 (func): Remove.
11364 (marker): Use FAST_TRACEPOINT_LABEL.
11365 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
11366 (pendfunc1): Remove.
11367 (pendfunc): Use FAST_TRACEPOINT_LABEL.
11368 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
11369 (foo): Remove.
11370 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
11371 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
11372 macro.
11373 (func): Remove.
11374 (marker): Use FAST_TRACEPOINT_LABEL.
11375 * gdb.trace/trace-common.h: New header.
11376 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
11377 macro.
11378 (func): Remove.
11379 (marker): Use FAST_TRACEPOINT_LABEL.
11380 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
11381 (func): Remove.
11382 (thread_function): Use FAST_TRACEPOINT_LABEL.
11383
11384 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
11385
11386 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
11387 in front.
11388 * gdb.trace/change-loc.exp: Use global pcreg definition.
11389 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
11390 * gdb.trace/entry-values.exp: Use global spreg definition, add $
11391 in front.
11392 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
11393 * gdb.trace/pending.exp: Likewise.
11394 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
11395 * gdb.trace/trace-break.exp: Likewise.
11396 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
11397 in front.
11398 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
11399 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
11400 in front.
11401 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
11402
11403 2015-11-09 Joel Brobecker <brobecker@adacore.com>
11404
11405 * gdb.ada/fin_fun_out: New testcase.
11406
11407 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11408
11409 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
11410 value associated with DW_AT_byte_size.
11411 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
11412 constants for DW_AT_byte_size, DW_AT_lower_bound, and
11413 DW_AT_upper_bound.
11414
11415 2015-11-07 Kevin Buettner <kevinb@redhat.com>
11416
11417 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
11418 (gdb_target_symbol_prefix_flags): Define in terms of _asm
11419 version.
11420 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
11421 gdb.dwarf2/dw2-canonicalize-type.exp,
11422 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
11423 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
11424 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
11425 provided by gdb_target_symbol_prefix_flags_asm.
11426 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
11427 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
11428 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
11429 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
11430 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
11431 macros where needed). Use this macro for symbols which require
11432 the prefix provided by SYMBOL_PREFIX.
11433
11434 2015-11-05 Kevin Buettner <kevinb@redhat.com>
11435
11436 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
11437 New procs.
11438 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
11439 representing expressions, of more than one list element.
11440 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
11441 to prepend linker symbol prefix to f.
11442 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
11443 table_1 and table_2.
11444 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
11445 Likewise, for f and g.
11446 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
11447 for ptr.
11448 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
11449 for main.
11450 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
11451 table_1_ptr and table_2_ptr.
11452
11453 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
11454 Joel Brobecker <brobecker@adacore.com>
11455
11456 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
11457
11458 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
11459
11460 * gdb.reverse/s390-mvcle.c: New test.
11461 * gdb.reverse/s390-mvcle.exp: New file.
11462 * lib/gdb.exp: Enable reverse tests on s390*-linux.
11463
11464 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11465
11466 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
11467
11468 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
11469
11470 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
11471 reaching marker2.
11472 * gdb.reverse/getresuid-reverse.exp: Likewise.
11473 * gdb.reverse/pipe-reverse.exp: Likewise.
11474 * gdb.reverse/readv-reverse.exp: Likewise.
11475 * gdb.reverse/recvmsg-reverse.exp: Likewise.
11476 * gdb.reverse/time-reverse.exp: Likewise.
11477 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
11478
11479 2015-10-30 Yao Qi <yao.qi@linaro.org>
11480
11481 * gdb.threads/wp-replication.c (watch_count_done): Remove.
11482 (empty_cycle): Remove.
11483 (main): Don't call empty_cycle. Don't use watch_count_done.
11484 * gdb.threads/wp-replication.exp: Don't set breakpoint on
11485 empty_cycle. Rewrite the code counting HW watchpoints.
11486
11487 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
11488
11489 * gdb.reverse/fstatat-reverse.c: New test.
11490 * gdb.reverse/fstatat-reverse.exp: New file.
11491 * gdb.reverse/getresuid-reverse.c: New test.
11492 * gdb.reverse/getresuid-reverse.exp: New file.
11493 * gdb.reverse/pipe-reverse.c: New test.
11494 * gdb.reverse/pipe-reverse.exp: New file.
11495 * gdb.reverse/readv-reverse.c: New test.
11496 * gdb.reverse/readv-reverse.exp: New file.
11497 * gdb.reverse/recvmsg-reverse.c: New test.
11498 * gdb.reverse/recvmsg-reverse.exp: New file.
11499 * gdb.reverse/time-reverse.c: New test.
11500 * gdb.reverse/time-reverse.exp: New file.
11501 * gdb.reverse/waitpid-reverse.c: New test.
11502 * gdb.reverse/waitpid-reverse.exp: New file.
11503
11504 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
11505
11506 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
11507
11508 2015-10-26 Doug Evans <dje@google.com>
11509
11510 PR symtab/17391
11511 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
11512 * gdb.dwarf2/bad-regnum.c: New file.
11513 * gdb.dwarf2/bad-regnum.exp: New file.
11514
11515 2015-10-26 Doug Evans <dje@google.com>
11516
11517 PR python/18938
11518 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
11519 file.
11520
11521 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
11522
11523 * gdb.compile/compile.exp (compile code globalvar): Update expectation
11524 for a change by "Mention language in compile error message".
11525
11526 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
11527
11528 PR python/18073
11529 * gdb.python/py-type.c (C::a_method): New.
11530 (C::a_const_method): New.
11531 (C::a_static_method): New.
11532 (a_function): New.
11533 * gdb.python/py-type.exp (test_fields): Test getting fields
11534 from function and method.
11535
11536 2015-10-21 Keven Boell <keven.boell@intel.com>
11537
11538 * gdb.fortran/vla-alloc-assoc.exp: New file.
11539 * gdb.fortran/vla-datatypes.exp: New file.
11540 * gdb.fortran/vla-datatypes.f90: New file.
11541 * gdb.fortran/vla-history.exp: New file.
11542 * gdb.fortran/vla-ptype-sub.exp: New file.
11543 * gdb.fortran/vla-ptype.exp: New file.
11544 * gdb.fortran/vla-sizeof.exp: New file.
11545 * gdb.fortran/vla-sub.f90: New file.
11546 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
11547 * gdb.fortran/vla-value-sub-finish.exp: New file.
11548 * gdb.fortran/vla-value-sub.exp: New file.
11549 * gdb.fortran/vla-value.exp: New file.
11550 * gdb.fortran/vla-ptr-info.exp: New file.
11551 * gdb.mi/mi-vla-fortran.exp: New file.
11552 * gdb.mi/vla.f90: New file.
11553
11554 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
11555
11556 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
11557 of hardwired timeout value.
11558
11559 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
11560 Pedro Alves <palves@redhat.com>
11561
11562 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
11563 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
11564
11565 2015-10-19 Josh Stone <jistone@redhat.com>
11566
11567 * gdb.base/catch-syscall.c: Include <sched.h>.
11568 (unknown_syscall): New variable.
11569 (main): Trigger a vfork and an unknown syscall.
11570 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
11571 (unknown_syscall_number): Likewise.
11572 (check_call_to_syscall): Accept an optional syscall pattern.
11573 (check_return_from_syscall): Likewise.
11574 (check_continue): Likewise.
11575 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
11576 (test_catch_syscall_skipping_return): New test toggling off 'catch
11577 syscall' to step over the syscall return, then toggling back on.
11578 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
11579 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
11580 (do_syscall_tests): Call test_catch_syscall_without_args and
11581 test_catch_syscall_mid_vfork.
11582 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
11583 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
11584
11585 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
11586
11587 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
11588 print g_vE): Add new pass patterns.
11589 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
11590 print various symbol names for vptr fields.
11591
11592 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
11593
11594 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
11595 results.
11596
11597 2015-10-12 Yao Qi <yao.qi@linaro.org>
11598
11599 * gdb.arch/disp-step-insn-reloc.exp: New test case.
11600
11601 2015-10-12 Yao Qi <yao.qi@linaro.org>
11602
11603 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
11604 is aarch64*-*-linux*.
11605
11606 2015-10-12 Yao Qi <yao.qi@linaro.org>
11607
11608 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
11609 (can_relocate_bcond_true): ... it.
11610 (can_relocate_bcond_false): New function.
11611 (foo): Likewise.
11612 (can_relocate_bl): Likewise.
11613 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
11614 can_relocate_bl.
11615
11616 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
11617
11618 * gdb.base/nested-addr.c: New file.
11619 * gdb.base/nested-addr.exp: New testcase.
11620
11621 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
11622
11623 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
11624 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
11625 its output. Ignore the output of "record goto begin" and instead
11626 check that GDB is replaying.
11627
11628 2015-10-09 Pedro Alves <palves@redhat.com>
11629
11630 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
11631 (top level): Use it in the run with no args test.
11632
11633 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
11634
11635 * gdb.dlang/properties.exp: New file.
11636
11637 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
11638
11639 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
11640 whether or not address 0x1000 is mapped on the target.
11641
11642 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
11643
11644 * gdb.python/py-type.exp: Do not run tests if binaries fail to
11645 build.
11646
11647 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
11648
11649 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
11650 instruction-history test.
11651
11652 2015-09-28 Doug Evans <dje@google.com>
11653
11654 * gdb.base/gcore.c (array_func): Add reference to static_array.
11655
11656 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
11657
11658 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
11659 source line.
11660
11661 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
11662
11663 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
11664 short or char as base type.
11665
11666 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
11667
11668 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
11669 to allow any size enum.
11670
11671 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
11672
11673 * gdb.ada/array_ptr_renaming.exp: New testcase.
11674 * gdb.ada/array_ptr_renaming/foo.adb: New file.
11675 * gdb.ada/array_ptr_renaming/pack.ads: New file.
11676
11677 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11678
11679 * gdb.trace/ftrace-lock.c: New file.
11680 * gdb.trace/ftrace-lock.exp: New file.
11681
11682 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11683
11684 * gdb.arch/insn-reloc.c: New file.
11685 * gdb.arch/ftrace-insn-reloc.exp: New file.
11686
11687 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
11688
11689 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
11690 instruction.
11691 * gdb.trace/pendshr1.c (pendfunc): Likewise.
11692 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
11693 * gdb.trace/range-stepping.c: Likewise.
11694 * gdb.trace/trace-break.c: Likewise.
11695 * gdb.trace/trace-mt.c (thread_function): Likewise.
11696 * gdb.trace/ftrace.c (marker): Likewise.
11697 * gdb.trace/trace-condition.c (marker): Likewise.
11698 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
11699 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
11700 is_aarch64_target.
11701
11702 2015-09-18 Doug Evans <xdje42@gmail.com>
11703
11704 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
11705 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
11706
11707 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11708
11709 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
11710 the breakpoint.
11711
11712 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11713
11714 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
11715 the pending breakpoint. Remove timeout override for "Run till
11716 MI pending breakpoint on pendfunc3 on thread 2" test.
11717
11718 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11719
11720 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
11721 filename pattern.
11722
11723 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11724
11725 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
11726 in breakpoint filename pattern.
11727
11728 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11729
11730 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
11731
11732 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
11733
11734 * gdb.linespec/explicit.exp: Check for readline support for
11735 tab-completion tests. Fix obvious typo.
11736
11737 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11738
11739 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
11740 and replay.
11741
11742 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
11743
11744 * gdb.btrace/non-stop.c: New.
11745 * gdb.btrace/non-stop.exp: New.
11746
11747 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
11748 Yao Qi <yao.qi@linaro.org>
11749
11750 * gdb.trace/trace-condition.c: New file.
11751 * gdb.trace/trace-condition.exp: New file.
11752
11753 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
11754
11755 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
11756 for testing bytecode compilation.
11757
11758 2015-09-16 Pedro Alves <palves@redhat.com>
11759 Sandra Loosemore <sandra@codesourcery.com>
11760
11761 * gdb.threads/non-stop-fair-events.c (timeout): New global.
11762 (SECONDS): Redefine.
11763 (main): Call pthread_kill and alarm early.
11764 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
11765 support.
11766 (test): If the target can't hardware step and doesn't support
11767 displaced stepping, increase the timeout.
11768
11769 2015-09-16 Pedro Alves <palves@redhat.com>
11770
11771 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
11772 (enable_debug): New procedures.
11773 (test): Use them. Bail out if waiting for threads fails.
11774 (top level): Bail out if a test fails.
11775
11776 2015-09-16 Yao Qi <yao.qi@linaro.org>
11777
11778 * gdb.asm/asm-source.exp: Set asm-arch for
11779 aarch64*-*-* target.
11780 * gdb.asm/aarch64.inc: New file.
11781
11782 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
11783
11784 * gdb.ada/array_of_variable_length.exp: New testcase.
11785 * gdb.ada/array_of_variable_length/foo.adb: New file.
11786 * gdb.ada/array_of_variable_length/pck.adb: New file.
11787 * gdb.ada/array_of_variable_length/pck.ads: New file.
11788
11789 2015-09-15 Doug Evans <dje@google.com>
11790
11791 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
11792 of function static local variable.
11793
11794 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
11795
11796 * gdb.threads/tls-so_extern.exp: New test file.
11797 * gdb.threads/tls-so_extern.c: New test file.
11798 * gdb.threads/tls-so_extern_main.c: New test file.
11799
11800 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
11801
11802 * gdb.opt/solib-intra-step-lib.c: New file.
11803 * gdb.opt/solib-intra-step-main.c: New file.
11804 * gdb.opt/solib-intra-step.exp: New file.
11805
11806 2015-09-15 Pedro Alves <palves@redhat.com>
11807
11808 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
11809 gdb_continue_to_breakpoint instead of gdb_test_multiple.
11810
11811 2015-09-14 Pedro Alves <palves@redhat.com>
11812
11813 * gdb.base/hook-stop-continue.c: Delete.
11814 * gdb.base/hook-stop-continue.exp: Delete.
11815 * gdb.base/hook-stop-frame.c: Delete.
11816 * gdb.base/hook-stop-frame.exp: Delete.
11817 * gdb.base/hook-stop.c: New file.
11818 * gdb.base/hook-stop.exp: New file.
11819
11820 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
11821
11822 * gdb.ada/access_to_packed_array.exp: New testcase.
11823 * gdb.ada/access_to_packed_array/foo.adb: New file.
11824 * gdb.ada/access_to_packed_array/pack.adb: New file.
11825 * gdb.ada/access_to_packed_array/pack.ads: New file.
11826
11827 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
11828
11829 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
11830 buffer size test.
11831
11832 2015-09-11 Don Breazeal <donb@codesourcery.com>
11833
11834 * gdb.base/foll-exec.c: Add copyright header. Fix
11835 formatting issues.
11836 * gdb.base/foll-exec.exp (zap_session): Delete proc.
11837 (do_exec_tests): Use clean_restart in place of zap_session,
11838 and for test initialization. Fix formatting issues. Use
11839 fail in place of perror.
11840 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
11841 an expect statement to match an expression with output from
11842 the program under debug.
11843 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
11844 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
11845 * gdb.threads/non-ldr-exc-2.exp: Likewise.
11846 * gdb.threads/non-ldr-exc-3.exp: Likewise.
11847 * gdb.threads/non-ldr-exc-4.exp: Likewise.
11848
11849 2015-09-09 Doug Evans <dje@google.com>
11850
11851 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
11852
11853 2015-09-09 Doug Evans <dje@google.com>
11854
11855 * gdb.base/pie-execl.exp: Fix result test of build_executable.
11856
11857 2015-09-09 Doug Evans <dje@google.com>
11858
11859 * gdb.base/savedregs.exp: Fix typo.
11860
11861 2015-09-09 Pedro Alves <palves@redhat.com>
11862
11863 * gdb.mi/mi-cli.exp: Add CLI finish tests.
11864
11865 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
11866
11867 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
11868 command actually switches threads. Give up on remaining
11869 tests if target fails to stop at breakpoint.
11870
11871 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
11872
11873 * gdb.ada/funcall_char.exp: New testcase.
11874 * gdb.ada/funcall_char/foo.adb: New file.
11875
11876 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
11877
11878 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
11879 expected outputs. Add two testcases for completing ambiguous
11880 functions.
11881 * gdb.ada/complete/aux_pck.adb: New file.
11882 * gdb.ada/complete/aux_pck.ads: New file.
11883 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
11884 Ambiguous_Func functions.
11885 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
11886 * gdb.ada/complete/pck.adb: Likewise.
11887
11888 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
11889
11890 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
11891 failures to run the test program under GDB.
11892
11893 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
11894
11895 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
11896 to C.
11897
11898 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
11899
11900 * gdb.base/run-after-attach.exp: New test file.
11901 * gdb.base/run-after-attach.c: New test file.
11902
11903 2015-08-26 Don Breazeal <donb@codesourcery.com>
11904
11905 * gdb.base/foll-exec-2.c: New test program.
11906 * gdb.base/foll-exec-2.exp: New test.
11907
11908 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
11909
11910 * gdb.base/nested-subp1.exp: New file.
11911 * gdb.base/nested-subp1.c: New file.
11912 * gdb.base/nested-subp2.exp: New file.
11913 * gdb.base/nested-subp2.c: New file.
11914 * gdb.base/nested-subp3.exp: New file.
11915 * gdb.base/nested-subp3.c: New file.
11916
11917 2015-08-24 Pedro Alves <palves@redhat.com>
11918
11919 * gdb.server/connect-without-multi-process.c: New file.
11920 * gdb.server/connect-without-multi-process.exp: New file.
11921
11922 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11923
11924 * gdb.opt/inline-markers.c: Make z int.
11925
11926 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11927
11928 * gdb.opt/inline-markers.c: Make z volatile.
11929
11930 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
11931
11932 * gdb.opt/inline-bt.c: New volatile global z.
11933 * gdb.opt/inline-cmds.c: Likewise.
11934 * gdb.opt/inline-locals.c: Likewise.
11935 * gdb.opt/inline-markers.c: New extern global z.
11936 (marker): Use z.
11937 (inline_fn): Likewise.
11938
11939 2015-08-24 Pedro Alves <palves@redhat.com>
11940
11941 * config/m32r-stub.exp: Remove file.
11942 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
11943 * gdb.base/call-rt-st.exp: Likewise.
11944 * gdb.base/call-strs.exp: Likewise.
11945 * gdb.base/default.exp: Remove references to h8300-*-hms and
11946 *-*-udi*.
11947 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
11948
11949 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
11950
11951 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
11952 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
11953 and "return" use KFAIL when GDB can not read/write the vector
11954 return value.
11955
11956 2015-08-21 Gary Benson <gbenson@redhat.com>
11957
11958 * gdb.trace/pending.exp: Cope with remote transfer warnings.
11959
11960 2015-08-20 Pedro Alves <palves@redhat.com>
11961
11962 * gdb.server/solib-list.exp: No longer expect an interior stop in
11963 non-stop mode.
11964
11965 2015-08-20 Pedro Alves <palves@redhat.com>
11966
11967 * gdb.server/connect-stopped-target.c: New file.
11968 * gdb.server/connect-stopped-target.exp: New file.
11969
11970 2015-08-20 Pedro Alves <palves@redhat.com>
11971
11972 * gdb.dwarf2/comp-unit-lang.exp: New file.
11973 * gdb.dwarf2/comp-unit-lang.c: New file.
11974
11975 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
11976
11977 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
11978 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
11979
11980 2015-08-19 Kevin Buettner <kevinb@redhat.com>
11981
11982 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
11983 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
11984
11985 2015-08-18 Doug Evans <dje@google.com>
11986 Adrian Sendroiu <adrian.sendroiu@freescale.com>
11987
11988 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
11989 skip_python_tests. New arg prompt_regexp.
11990 (skip_python_tests): New function.
11991 * lib/mi-support.exp (mi_skip_python_tests): New function.
11992 * gdb.python/py-mi-objfile-gdb.py: New file.
11993 * gdb.python/py-mi-objfile.c: New file.
11994 * gdb.python/py-mi-objfile.exp: New file.
11995
11996 2015-08-17 Keith Seitz <keiths@redhat.com>
11997
11998 * gdb.linespec/explicit.exp: Move strace test from here ...
11999 * gdb.trace/strace.exp: ... to here.
12000
12001 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
12002
12003 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
12004 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
12005
12006 2015-08-14 Doug Evans <xdje42@gmail.com>
12007
12008 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
12009 inferior before selecting a new file.
12010
12011 2015-08-14 Doug Evans <xdje42@gmail.com>
12012
12013 * gdb.mi/mi-disassemble.exp: Update.
12014 * gdb.base/disasm-optim.S: New file.
12015 * gdb.base/disasm-optim.c: New file.
12016 * gdb.base/disasm-optim.h: New file.
12017 * gdb.base/disasm-optim.exp: New file.
12018
12019 2015-08-14 Keith Seitz <keiths@redhat.com>
12020
12021 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
12022 "evaluated-by".
12023
12024 2015-08-13 Joel Brobecker <brobecker@adacore.com>
12025
12026 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
12027
12028 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
12029
12030 * gdb.ada/fun_renaming.exp: New testcase.
12031 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
12032 * gdb.ada/fun_renaming/pack.adb: New file.
12033 * gdb.ada/fun_renaming/pack.ads: New file.
12034
12035 2015-08-12 Keith Seitz <keiths@redhat.com>
12036
12037 * gdb.base/dso2dso.exp: Pass basename of source file in call to
12038 gdb_get_line_number.
12039
12040 2015-08-12 Joel Brobecker <brobecker@adacore.com>
12041
12042 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
12043 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
12044 gdb.base/dso2dso.exp: New files.
12045
12046 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
12047 Pedro Alves <palves@redhat.com>
12048 Keith Seitz <keiths@redhat.com>
12049
12050 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
12051 GDBFLAGS.
12052
12053 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12054
12055 * gdb.base/gdbhistsize-history.exp
12056 (test_histsize_history_setting): Use save_vars.
12057 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12058 Use save_vars.
12059 (test_no_truncation_of_unlimited_history_file): Use save_vars.
12060 * gdb.base/readline.exp: Use save_vars.
12061
12062 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
12063
12064 * lib/gdb.exp (save_vars): New proc.
12065
12066 2015-08-11 Keith Seitz <keiths@redhat.com>
12067
12068 * gdb.base/help.exp: Update help_breakpoint_text.
12069
12070 2015-08-11 Keith Seitz <keiths@redhat.com>
12071
12072 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
12073 (at toplevel): Call test_explicit_breakpoints.
12074 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
12075 breakpoints.
12076 * lib/mi-support.exp (mi_make_breakpoint): Add support for
12077 breakpoint conditions, "-cond".
12078
12079 2015-08-11 Keith Seitz <keiths@redhat.com>
12080
12081 * gdb.linespec/3explicit.c: New file.
12082 * gdb.linespec/cpexplicit.cc: New file.
12083 * gdb.linespec/cpexplicit.exp: New file.
12084 * gdb.linespec/explicit.c: New file.
12085 * gdb.linespec/explicit.exp: New file.
12086 * gdb.linespec/explicit2.c: New file.
12087 * gdb.linespec/ls-errs.exp: Add explicit location tests.
12088 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
12089 before using in the matching pattern.
12090 Clarify that `prefix' is a regular expression.
12091
12092 2015-08-11 Keith Seitz <keiths@redhat.com>
12093
12094 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
12095 test.
12096 Add tests for missing ",FMT" and ",".
12097
12098 2015-08-10 Doug Evans <dje@google.com>
12099 Keith Seitz <keiths@redhat.com>
12100
12101 PR gdb/17960
12102 * gdb.base/completion.exp: Add location completer tests.
12103
12104 2015-08-07 Pedro Alves <palves@redhat.com>
12105
12106 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
12107 tests here.
12108 (top level): Run do_test with and without displaced stepping.
12109
12110 2015-08-07 Pedro Alves <palves@redhat.com>
12111
12112 * gdb.base/valgrind-disp-step.c: New file.
12113 * gdb.base/valgrind-disp-step.exp: New file.
12114
12115 2015-08-07 Pedro Alves <palves@redhat.com>
12116
12117 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
12118 Delete function.
12119 (main): Add alarm. Run an infinite loop instead of calling
12120 wait_threads.
12121 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
12122 comment.
12123 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
12124 Delete function.
12125 (main): Add alarm. Run an infinite loop instead of calling
12126 wait_threads.
12127 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
12128 comment.
12129
12130 2015-08-07 Pedro Alves <palves@redhat.com>
12131
12132 * gdb.base/checkpoint-ns.exp: New file.
12133 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
12134 standard_testfile.
12135
12136 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
12137
12138 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
12139 * gdb.btrace/instruction_history.exp: Update.
12140 * gdb.btrace/tsx.exp: New.
12141 * gdb.btrace/tsx.c: New.
12142
12143 2015-08-06 Pedro Alves <palves@redhat.com>
12144
12145 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
12146 increase timeout.
12147 * gdb.reverse/until-precsave.exp: Bump timeouts.
12148
12149 2015-08-06 Pedro Alves <palves@redhat.com>
12150
12151 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
12152
12153 2015-08-06 Pedro Alves <palves@redhat.com>
12154
12155 PR gdb/18749
12156 * gdb.threads/process-dies-while-handling-bp.c: New file.
12157 * gdb.threads/process-dies-while-handling-bp.exp: New file.
12158
12159 2015-08-06 Pedro Alves <palves@redhat.com>
12160
12161 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
12162 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
12163
12164 2015-08-05 Pedro Alves <palves@redhat.com>
12165
12166 * gdb.threads/next-while-other-thread-longjmps.c: New file.
12167 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
12168
12169 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
12170
12171 * gdb.base/bp-permanent.exp: Report test as unsupported if
12172 the target cannot stop at the permanent breakpoint.
12173
12174 2015-08-03 Doug Evans <dje@google.com>
12175
12176 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
12177 10000.
12178
12179 2015-08-03 Doug Evans <dje@google.com>
12180
12181 * Makefile.in (workers/%.worker, build-perf): New rule.
12182 (GDB_PERFTEST_MODE): New variable.
12183 (check-perf): Use it.
12184 (clean): Clean up gdb.perf parallel build subdirs.
12185 * lib/build-piece.exp: New file.
12186 * lib/gdb.exp (make_gdb_parallel_path): New function
12187 (standard_output_file, standard_temp_file): Call it.
12188 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12189 of $GDB_PARALLEL.
12190 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
12191
12192 2015-08-03 Doug Evans <dje@google.com>
12193
12194 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
12195 (LOG_FILE_NAME): New global.
12196 (TextReporter.__init__): Initialize self.txt_sum.
12197 (TextReporter.report): Add support for multiple data-points.
12198 Move report to perftest.sum, put raw data in perftest.log.
12199 (TextReporter.start): Open sum and log files.
12200 (TextReporter.end): Close sum and log files.
12201 * gdb.perf/lib/perftest/testresult.py
12202 (SingleStatisticTestResult.record): Handle multiple data-points.
12203
12204 2015-07-31 Pedro Alves <palves@redhat.com>
12205
12206 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
12207 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12208 kill_wait_spawned_process instead of explicit "kill -9".
12209 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
12210 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12211 kill_wait_spawned_process.
12212 * gdb.base/attach-twice.exp: Likewise.
12213 * gdb.base/attach.exp: Likewise.
12214 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
12215 gdb_test_multiple.
12216 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
12217 returning a spawn id instead of a pid. Use spawn_id_get_pid and
12218 kill_wait_spawned_process.
12219 * gdb.base/valgrind-infcall.exp: Likewise.
12220 * gdb.multi/multi-attach.exp: Likewise.
12221 * gdb.python/py-prompt.exp: Likewise.
12222 * gdb.python/py-sync-interp.exp: Likewise.
12223 * gdb.server/ext-attach.exp: Likewise.
12224 * gdb.threads/attach-into-signal.exp (corefunc): Use
12225 spawn_wait_for_attach, spawn_id_get_pid and
12226 kill_wait_spawned_process.
12227 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
12228 spawn_wait_for_attach returning a spawn id instead of a pid. Use
12229 spawn_id_get_pid and kill_wait_spawned_process.
12230 * gdb.threads/attach-stopped.exp (corefunc): Use
12231 spawn_wait_for_attach, spawn_id_get_pid and
12232 kill_wait_spawned_process.
12233 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
12234 Use spawn_id_get_pid. Wait for spawn id after eof. Use
12235 kill_wait_spawned_process instead of explicit "kill -9".
12236 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
12237 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
12238 (spawn_wait_for_attach): Use spawn instead of exec to spawn
12239 processes. Don't map cygwin/windows pids here. Now returns a
12240 spawn id list.
12241
12242 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12243
12244 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
12245 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
12246 correct patch.
12247
12248 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12249
12250 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
12251
12252 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
12253
12254 Reapply:
12255 2014-05-21 Mark Wielaard <mjw@redhat.com>
12256
12257 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
12258
12259 2015-07-30 Pedro Alves <palves@redhat.com>
12260
12261 * linux-low.c (handle_extended_wait): Set the child's last
12262 reported status to TARGET_WAITKIND_STOPPED.
12263
12264 2015-07-30 Pedro Alves <palves@redhat.com>
12265
12266 PR threads/18600
12267 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
12268 only shows inferior 1.
12269
12270 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
12271 Pedro Alves <palves@redhat.com>
12272
12273 PR threads/18600
12274 * gdb.threads/fork-plus-threads.c: New file.
12275 * gdb.threads/fork-plus-threads.exp: New file.
12276
12277 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12278
12279 * gdb.base/batch-preserve-term-settings.exp
12280 (test_terminal_settings_preserved_after_cli_exit): Use
12281 send_quit_command.
12282
12283 2015-07-29 Pedro Alves <palves@redhat.com>
12284 Don Breazeal <donb@codesourcery.com>
12285
12286 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
12287 output from both inferior_spawn_id and gdb_spawn_id.
12288
12289 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12290
12291 * gdb.threads/attach-into-signal.exp (corefunc): Use
12292 with_test_prefix on nested loops, uniquefying the test messages.
12293
12294 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
12295
12296 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
12297 commit.
12298
12299 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12300
12301 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
12302 New proc.
12303 (test_terminal_settings_preserved_after_sigterm): New test.
12304
12305 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12306
12307 * gdb.base/batch-preserve-term-settings.exp
12308 (test_terminal_settings_preserved_after_cli_exit): New test.
12309
12310 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
12311
12312 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
12313 manipulation of saved_gdbflags.
12314 (test_terminal_settings_preserved): Remove global declaration of
12315 the unused variable pagination_prompt. Remove manipulation of
12316 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
12317 GDBFLAGS.
12318
12319 2015-07-29 Pedro Alves <palves@redhat.com>
12320
12321 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
12322
12323 2015-07-29 Pedro Alves <palves@redhat.com>
12324
12325 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
12326 at the top.
12327
12328 2015-07-29 Pedro Alves <palves@redhat.com>
12329
12330 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
12331 (main): Call gdb_unbuffer_output.
12332 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
12333 (main): Call gdb_unbuffer_output.
12334 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
12335 (main): Call gdb_unbuffer_output.
12336 * gdb.base/call-strs.exp: Adjust to step over the
12337 gdb_unbuffer_output call.
12338 * gdb.base/catch-gdb-caused-signals.c: Include
12339 "../lib/unbuffer_output.c".
12340 (main): Call gdb_unbuffer_output.
12341 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
12342 (main): Call gdb_unbuffer_output.
12343 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
12344 (main): Call gdb_unbuffer_output.
12345 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
12346 (main): Call gdb_unbuffer_output.
12347 * gdb.base/shlib-call.exp: Adjust to step over the
12348 gdb_unbuffer_output call.
12349 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
12350 (main): Call gdb_unbuffer_output.
12351 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
12352 (main): Call gdb_unbuffer_output.
12353 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
12354 (main): Rename to ...
12355 (test): ... this.
12356 (main): Reimplement.
12357 * gdb.base/varargs.exp: Run to test instead of to main.
12358 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12359 (main): Call gdb_unbuffer_output.
12360
12361 2015-07-29 Pedro Alves <palves@redhat.com>
12362
12363 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
12364 factore out from mi_continue_dprintf. For call-style dprintfs,
12365 expect dprintf output out of $inferior_spawn_id.
12366 (mi_continue_dprintf): Use mi_expect_dprintf.
12367 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
12368 (main): Call gdb_unbuffer_output.
12369
12370 2015-07-29 Pedro Alves <palves@redhat.com>
12371
12372 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
12373 (default_mi_gdb_start): Set inferior_spawn_id instead of
12374 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
12375 gdb_spawn_id.
12376 (mi_gdb_test): Always expect inferior output from both
12377 $inferior_spawn_id and $gdb_spawn_id.
12378
12379 2015-07-29 Pedro Alves <palves@redhat.com>
12380
12381 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
12382 send_inferior and $inferior_spawn_id.
12383
12384 2015-07-29 Pedro Alves <palves@redhat.com>
12385
12386 * gdb.gdb/complaints.exp (test_initial_complaints)
12387 (test_serial_complaints, test_short_complaints): Use
12388 gdb_test_stdio.
12389 (test_empty_complaint): Handle $inferior_spawn_id !=
12390 $gdb_spawn_id.
12391
12392 2015-07-29 Pedro Alves <palves@redhat.com>
12393
12394 * gdb.base/varargs.exp: Use gdb_test_stdio.
12395
12396 2015-07-29 Pedro Alves <palves@redhat.com>
12397
12398 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
12399
12400 2015-07-29 Pedro Alves <palves@redhat.com>
12401
12402 * gdb.base/ending-run.exp: Use gdb_test_stdio.
12403
12404 2015-07-29 Pedro Alves <palves@redhat.com>
12405
12406 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
12407 parameter into two new parameters, "inf_result" and "gdb_result".
12408 Expect inferior output and gdb output from $inferior_spawn_id and
12409 $gdb_spawn_id, respectively. Adjust all callers.
12410
12411 2015-07-29 Pedro Alves <palves@redhat.com>
12412
12413 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
12414 of gdb_test_sequence.
12415
12416 2015-07-29 Pedro Alves <palves@redhat.com>
12417
12418 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
12419 (saw_spurious_output): Expect inferior output from
12420 $inferior_spawn_id. Use gdb_test_stdio.
12421
12422 2015-07-29 Pedro Alves <palves@redhat.com>
12423
12424 * gdb.base/dprintf.exp: Use standard_testfile. Change
12425 prepare_for_testing call.
12426 (srcfile): Don't set.
12427 (restart): New procedure.
12428 (test_dprintf): New procecure, use to continue over dprintfs.
12429 (test_call, test_agent): New procedures, tests moved here.
12430 Restart gdb and recreate dprintfs. Adjust expected output.
12431
12432 2015-07-29 Pedro Alves <palves@redhat.com>
12433
12434 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
12435
12436 2015-07-29 Pedro Alves <palves@redhat.com>
12437
12438 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
12439
12440 2015-07-29 Pedro Alves <palves@redhat.com>
12441
12442 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
12443 gdb_test_stdio.
12444
12445 2015-07-29 Pedro Alves <palves@redhat.com>
12446
12447 * lib/gdb.exp (gdb_test_stdio): New procedure.
12448
12449 2015-07-29 Pedro Alves <palves@redhat.com>
12450
12451 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
12452
12453 2015-07-29 Pedro Alves <palves@redhat.com>
12454
12455 * gdb.base/call-signal-resume.exp: Remove check for
12456 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
12457 * gdb.base/unwindonsignal.exp: Likewise.
12458 * gdb.base/call-signals.c (gen_signal): Remove printf call.
12459 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
12460
12461 2015-07-29 Pedro Alves <palves@redhat.com>
12462
12463 * gdb.base/siginfo-addr.c (pass): New function.
12464 (handler): Call it iff si_addr is correct.
12465 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
12466 Set a breakpoint at "pass" and continue to it.
12467
12468 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
12469
12470 * gdb.python/py-objfile.exp: Make some tests have unique names.
12471 * gdb.python/py-pp-registration.exp: Likewise.
12472
12473 2015-07-28 Pedro Alves <palves@redhat.com>
12474
12475 * gdb.server/server-exec-info.exp: Issue a "disconnect".
12476
12477 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12478
12479 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
12480
12481 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
12482
12483 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
12484
12485 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
12486
12487 * gdb.base/gdb-sigterm-2.exp: New test.
12488
12489 2015-07-25 Doug Evans <xdje42@gmail.com>
12490
12491 Revert:
12492 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12493 (workers/%.worker, build-perf): New rule.
12494 (GDB_PERFTEST_MODE): New variable.
12495 (check-perf): Use it.
12496 (clean): Clean up gdb.perf parallel build subdirs.
12497 * lib/build-piece.exp: New file.
12498 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12499 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12500 name.
12501 (standard_temp_file): Ditto.
12502 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12503 of $GDB_PARALLEL.
12504
12505 2015-07-24 Doug Evans <dje@google.com>
12506
12507 * gdb.perf/lib/perftest/utils.py: New file.
12508 * gdb.perf/gm-hello.cc: New file.
12509 * gdb.perf/gm-pervasive-typedef.cc: New file.
12510 * gdb.perf/gm-pervasive-typedef.h: New file.
12511 * gdb.perf/gm-std.cc: New file.
12512 * gdb.perf/gm-std.h: New file.
12513 * gdb.perf/gm-use-cerr.cc: New file.
12514 * gdb.perf/gm-utils.h: New file.
12515 * gdb.perf/gmonster-null-lookup.py: New file.
12516 * gdb.perf/gmonster-pervasive-typedef.py: New file.
12517 * gdb.perf/gmonster-print-cerr.py: New file.
12518 * gdb.perf/gmonster-ptype-string.py: New file.
12519 * gdb.perf/gmonster-runto-main.py: New file.
12520 * gdb.perf/gmonster-select-file.py: New file.
12521 * gdb.perf/gmonster1-null-lookup.exp: New file.
12522 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
12523 * gdb.perf/gmonster1-print-cerr.exp: New file.
12524 * gdb.perf/gmonster1-ptype-string.exp: New file.
12525 * gdb.perf/gmonster1-runto-main.exp: New file.
12526 * gdb.perf/gmonster1-select-file.exp: New file.
12527 * gdb.perf/gmonster1.cc: New file.
12528 * gdb.perf/gmonster1.exp: New file.
12529 * gdb.perf/gmonster2-null-lookup.exp: New file.
12530 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
12531 * gdb.perf/gmonster2-print-cerr.exp: New file.
12532 * gdb.perf/gmonster2-ptype-string.exp: New file.
12533 * gdb.perf/gmonster2-runto-main.exp: New file.
12534 * gdb.perf/gmonster2-select-file.exp: New file.
12535 * gdb.perf/gmonster2.cc: New file.
12536 * gdb.perf/gmonster2.exp: New file.
12537
12538 2015-07-24 Doug Evans <dje@google.com>
12539
12540 * gdb.perf/README: New file.
12541 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
12542 * lib/gen-perf-test.exp: New file.
12543
12544 2015-07-24 Doug Evans <dje@google.com>
12545
12546 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
12547 (PerfTest::startup): New function.
12548 (PerfTest::run): Return result of calling body.
12549 (PerfTest::assemble): Rewrite.
12550 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
12551 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
12552 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
12553 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
12554 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
12555
12556 2015-07-24 Doug Evans <dje@google.com>
12557
12558 * lib/gdb.exp (clean_restart): Make executable optional.
12559
12560 2015-07-24 Doug Evans <dje@google.com>
12561
12562 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
12563 compiler_info references.
12564 * gdb.cp/temargs.exp: Ditto.
12565 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
12566 (get_compiler_info): Early exit if already computed. Set compiler_info
12567 to "unknown" if there was a problem.
12568 (test_compiler_info): Add function comment. Call get_compiler_info.
12569
12570 2015-07-24 Doug Evans <dje@google.com>
12571
12572 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
12573 (workers/%.worker, build-perf): New rule.
12574 (GDB_PERFTEST_MODE): New variable.
12575 (check-perf): Use it.
12576 (clean): Clean up gdb.perf parallel build subdirs.
12577 * lib/build-piece.exp: New file.
12578 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
12579 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
12580 name.
12581 (standard_temp_file): Ditto.
12582 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
12583 of $GDB_PARALLEL.
12584
12585 2015-07-24 Doug Evans <dje@google.com>
12586
12587 * lib/future.exp (gdb_default_target_compile): New option
12588 "early_flags".
12589 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
12590 --as-needed.
12591
12592 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
12593
12594 * gdb.base/catch-syscall.exp: Call gdb_exit before
12595 gdb_skip_xml_test.
12596
12597 2015-07-24 Pedro Alves <palves@redhat.com>
12598
12599 * gdb.python/py-events.exp: Accept output between the stop event
12600 and the prompt.
12601 * gdb.python/py-evsignal.exp: Likewise.
12602 * gdb.python/py-evthreads.exp: Likewise.
12603
12604 2015-07-24 Pedro Alves <palves@redhat.com>
12605
12606 PR gdb/18717
12607 * gdb.threads/non-ldr-exit.c: New file.
12608 * gdb.threads/non-ldr-exit.exp: New file.
12609
12610 2015-07-24 Yao Qi <yao.qi@linaro.org>
12611
12612 * gdb.server/ext-wrapper.exp: Test --wrapper option when
12613 restarting process.
12614
12615 2015-07-24 Yao Qi <yao.qi@linaro.org>
12616
12617 * gdb.server/ext-restart.exp: New file.
12618
12619 2015-07-24 Yao Qi <yao.qi@linaro.org>
12620
12621 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
12622 argument options.
12623 * gdb.server/ext-wrapper.exp: New file.
12624
12625 2015-07-23 Doug Evans <dje@google.com>
12626
12627 * gdb.dwarf2/dw2-dummy-cu.S: New file.
12628 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
12629
12630 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
12631
12632 * gdb.ada/var_arr_typedef.exp: New testcase.
12633 * gdb.ada/var_arr_typedef/pack.adb: New file.
12634 * gdb.ada/var_arr_typedef/pack.ads: New file.
12635 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
12636
12637 2015-07-20 Joel Brobecker <brobecker@adacore.com>
12638
12639 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
12640
12641 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
12642
12643 * gdb.arch/i386-biarch-core.exp: Replace istarget
12644 by "complete set gnutarget". Remove expectation for the "core-file"
12645 command.
12646
12647 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
12648
12649 Revert the previous commit:
12650 Tests for validate symbol file using build-id.
12651
12652 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
12653
12654 Tests for validate symbol file using build-id.
12655 * gdb.base/solib-mismatch-lib.c: New file.
12656 * gdb.base/solib-mismatch-libmod.c: New file.
12657 * gdb.base/solib-mismatch.c: New file.
12658 * gdb.base/solib-mismatch.exp: New file.
12659
12660 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
12661
12662 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
12663 nios2-*-linux*.
12664 * gdb.base/sigbpt.exp (stepi_out): Likewise.
12665 * gdb.base/siginfo.exp: Likewise.
12666 * gdb.base/sigstep.exp (advance, advancei): Likewise.
12667
12668 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
12669
12670 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
12671 Move it to ...
12672 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
12673 ... here.
12674 * gdb.trace/range-stepping.exp: Check that the target supports
12675 range stepping.
12676
12677 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
12678
12679 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
12680
12681 2015-07-14 Pedro Alves <palves@redhat.com>
12682
12683 * gdb.base/killed-outside.exp: New file.
12684 * gdb.base/killed-outside.c: New file.
12685
12686 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
12687
12688 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
12689 (n at main): New.
12690 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
12691
12692 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
12693
12694 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
12695 infcall tests instead of setting up for KFAIL.
12696
12697 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
12698
12699 * gdb.btrace/record_goto-step.exp: New.
12700
12701 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
12702
12703 PR compile/18484
12704 * gdb.compile/compile.c (struct struct_type): Add volatile to
12705 selffield's type.
12706 * gdb.compile/compile.exp
12707 (compile code struct_object.selffield = &struct_object): Skip further
12708 struct_object tests if this one xfails.
12709
12710 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
12711
12712 PR exp/18617
12713 * gdb.trace/ax.exp: Add test.
12714
12715 2015-07-07 Yao Qi <yao.qi@linaro.org>
12716
12717 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
12718 instead of istarget "aarch64*-*-*".
12719 * gdb.arch/aarch64-fp.exp: Likewise.
12720 * gdb.base/float.exp: Likewise.
12721 * gdb.reverse/aarch64.exp: Likewise.
12722 * lib/gdb.exp (is_aarch64_target): New proc.
12723
12724 2015-07-07 Yao Qi <yao.qi@linaro.org>
12725
12726 * lib/gdb.exp (is_aarch32_target): New proc.
12727 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
12728 instead of "istarget "arm*-*-*"".
12729 * gdb.arch/arm-disp-step.exp: Likewise.
12730 * gdb.arch/thumb-bx-pc.exp: Likewise.
12731 * gdb.arch/thumb-prologue.exp: Likewise.
12732 * gdb.arch/thumb-singlestep.exp: Likewise.
12733 * gdb.base/disp-step-syscall.exp: Likewise.
12734 * gdb.base/float.exp: Likewise.
12735
12736 2015-07-07 Yao Qi <yao.qi@linaro.org>
12737
12738 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
12739 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
12740
12741 2015-07-07 Yao Qi <yao.qi@linaro.org>
12742
12743 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
12744 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
12745 if it exists.
12746 * gdb.multi/multi-arch.exp: Likewise.
12747
12748 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
12749
12750 * gdb.python/py-lazy-string.exp: Add missing parentheses to
12751 print.
12752
12753 2015-07-07 Yao Qi <yao.qi@linaro.org>
12754
12755 * gdb.arch/thumb-singlestep.exp: Do one more single step.
12756
12757 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
12758
12759 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
12760 '[' and ']' characters.
12761
12762 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
12763
12764 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
12765
12766 2015-06-29 Pedro Alves <palves@redhat.com>
12767
12768 PR threads/18127
12769 * gdb.threads/hand-call-new-thread.c: New file.
12770 * gdb.threads/hand-call-new-thread.c: New file.
12771
12772 2015-06-26 Keith Seitz <keiths@redhat.com>
12773 Doug Evans <dje@google.com>
12774
12775 PR 16253
12776 * gdb.cp/var-tag-2.cc: New file.
12777 * gdb.cp/var-tag-3.cc: New file.
12778 * gdb.cp/var-tag-4.cc: New file.
12779 * gdb.cp/var-tag.cc: New file.
12780 * gdb.cp/var-tag.exp: New file.
12781
12782 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12783
12784 * gdb.base/history-duplicates.exp: New test.
12785
12786 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
12787
12788 * gdb.base/completion.exp: Test the completion of the "focus"
12789 command.
12790
12791 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
12792
12793 * gdb.arch/amd64-prologue-skip.S: New file.
12794 * gdb.arch/amd64-prologue-skip.exp: New file.
12795
12796 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
12797
12798 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
12799 is_address_zero_readable check.
12800
12801 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
12802
12803 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
12804 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
12805
12806 2015-06-24 Yao Qi <yao.qi@linaro.org>
12807
12808 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
12809 linux targets.
12810
12811 2015-06-24 Yao Qi <yao.qi@linaro.org>
12812
12813 * lib/gdb.exp (supports_get_siginfo_type): New proc.
12814 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
12815 * gdb.base/siginfo-thread.exp: Likewise.
12816
12817 2015-06-22 Yao Qi <yao.qi@linaro.org>
12818
12819 * boards/remote-gdbserver-on-localhost.exp: Add comments.
12820
12821 2015-06-22 Yao Qi <yao.qi@linaro.org>
12822
12823 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
12824 aarch64*-*-*.
12825 (skip_hw_watchpoint_tests): Likewise.
12826
12827 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
12828
12829 * gdb.base/gdbinit-history.exp: Test the interaction between
12830 setting GDBHISTSIZE and setting the history size via .gdbinit.
12831
12832 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12833
12834 PR gdb/16999
12835 * gdb.base/gdbhistsize-history.exp: New test.
12836
12837 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12838
12839 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
12840 with GDBHISTSIZE.
12841 * gdb.base/readline.exp: Likewise.
12842
12843 2015-06-17 Yao Qi <yao.qi@linaro.org>
12844
12845 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
12846 line.
12847
12848 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
12849
12850 * gdb.base/gdbinit-history.exp: Add test case to check that
12851 an unlimited history file does not get truncated on exit.
12852
12853 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
12854
12855 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
12856 (VECTOR): New macro. Use it...
12857 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
12858 ...for these typedefs.
12859 (int8, char1, int1, double1): New typedefs.
12860 (struct just_int2, struct two_int2): New structures.
12861 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
12862 (add_structvecs, add_singlevecs): New functions.
12863 (main): Call add_some_intvecs twice.
12864 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
12865 the compile and exit upon failure. Try compiling for the "native"
12866 architecture. Test inferior function calls with vector arguments
12867 and vector return value handling with "finish" and "return".
12868
12869 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
12870
12871 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
12872 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
12873 PE file.
12874 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
12875
12876 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
12877
12878 PR breakpoints/16465
12879 * gdb.mi/mi-dprintf-pending.c: New file.
12880 * gdb.mi/mi-dprintf-pending.exp: New test.
12881 * gdb.mi/mi-dprintf-pendshr.c: New file.
12882
12883 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12884 Mircea Gherzan <mircea.gherzan@intel.com>
12885
12886 * gdb.arch/i386-mpx-map.c: New file.
12887 * gdb.arch/i386-mpx-map.exp: New File.
12888
12889 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12890
12891 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
12892 * gdb.arch/i386-mpx.exp: Indentation fixed.
12893
12894 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12895
12896 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
12897 function and improved indentation.
12898 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
12899 gdb_test_multiple. Added additional tests to skip the test.
12900
12901 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
12902
12903 * gdb.arch/i386-avx512.c: Change path in include file.
12904 * gdb.arch/i386-avx512.exp: Change include dir path
12905 compilation flag.
12906 * gdb.arch/i386-mpx.c: Change path in include file.
12907 * gdb.arch/i386-mpx.exp: Change include dir path compilation
12908 flag.
12909
12910 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
12911
12912 * gdb.compile/compile-print.exp (compile print *vararray@3)
12913 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
12914
12915 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
12916
12917 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
12918 (do not keep jit in memory): ... this.
12919 (expect 5): Change it to ...
12920 (expect no 5): ... this.
12921
12922 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
12923
12924 PR gdb/15564
12925 * gdb.mi/mi-detach.exp: New file.
12926
12927 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
12928
12929 PR symtab/18392
12930 * gdb.arch/amd64-tailcall-self.S: New file.
12931 * gdb.arch/amd64-tailcall-self.c: New file.
12932 * gdb.arch/amd64-tailcall-self.exp: New file.
12933
12934 2015-05-28 Don Breazeal <donb@codesourcery.com>
12935
12936 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
12937 tests for remote targets by checking is_target_gdbserver.
12938
12939 2015-05-27 Doug Evans <dje@google.com>
12940
12941 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
12942 * gdb.dwarf2/opaque-type-lookup.c: New file.
12943 * gdb.dwarf2/opaque-type-lookup.exp: New file.
12944
12945 2015-05-26 Doug Evans <dje@google.com>
12946
12947 * gdb.cp/iostream.cc: New file.
12948 * gdb.cp/iostream.exp: New file.
12949
12950 2015-05-26 Doug Evans <dje@google.com>
12951
12952 * gdb.dwarf2/dw2-op-call.exp: Update.
12953 * gdb.dwarf2/dw4-sig-types.exp: Update.
12954 * gdb.dwarf2/implptr.exp: Update.
12955 * gdb.mi/mi-cmd-param-changed.exp: Update.
12956
12957 2015-05-26 Doug Evans <dje@google.com>
12958
12959 * gdb.python/py-lazy-string.c: New file.
12960 * gdb.python/py-lazy-string.exp: New file.
12961 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
12962 (main): Update. Add estring3.
12963 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
12964 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
12965
12966 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12967 Yao Qi <yao.qi@linaro.org>
12968
12969 * gdb.reverse/aarch64.c: New.
12970 * gdb.reverse/aarch64.exp: New.
12971
12972 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
12973
12974 * lib/gdb.exp (supports_process_record): Return true for
12975 aarch64*-linux*.
12976 (supports_reverse): Likewise.
12977
12978 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
12979
12980 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12981 Use with_test_prefix.
12982
12983 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
12984
12985 * gdb.base/completion.exp: Add test for completion of layout
12986 names.
12987
12988 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
12989
12990 * lib/gdb.exp (skip_tui_tests): New proc.
12991 * gdb.base/tui-layout.exp: Check skip_tui_tests.
12992
12993 2015-05-19 Pedro Alves <palves@redhat.com>
12994
12995 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
12996 Save the whole env array instead of just HOME. Unset HISTSIZE in
12997 the environment while testing. Restore whole environment
12998 afterwards.
12999
13000 2015-05-16 Doug Evans <xdje42@gmail.com>
13001
13002 * gdb.guile/scm-ports.c: New file.
13003 * gdb.guile/scm-ports.exp: Add memory port tests.
13004
13005 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13006
13007 * gdb.compile/compile-print.c: New file.
13008 * gdb.compile/compile-print.exp: New file.
13009
13010 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
13011
13012 * gdb.compile/compile-ops.exp: Cast param to void.
13013 * gdb.compile/compile.exp: Complete type for _gdb_expr.
13014 (compile code struct_object.selffield = &struct_object): Add xfail.
13015
13016 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13017
13018 * gdb.ada/arr_enum_with_gap: New testcase.
13019
13020 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13021
13022 * gdb.ada/byte_packed_arr: New testcase.
13023
13024 2015-05-15 Joel Brobecker <brobecker@adacore.com>
13025
13026 * gdb.ada/pckd_neg: New testcase.
13027
13028 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
13029
13030 PR gdb/17820
13031 * gdb.base/gdbinit-history.exp: New test.
13032 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
13033 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
13034
13035 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
13036
13037 * gdb.python/py-xmethods.cc: Enhance test case.
13038 * gdb.python/py-xmethods.exp: New tests.
13039 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
13040 function.
13041 (B_indexoper): Likewise.
13042 (global_dm_list) : Add new xmethod worker functions.
13043
13044 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
13045
13046 * gdb.base/coredump-filter.exp: Correctly unset
13047 "coredump_var_addr" array.
13048
13049 2015-05-08 Pedro Alves <palves@redhat.com>
13050
13051 * gdb.server/non-existing-program.exp: Unset spawn_id.
13052
13053 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
13054
13055 PR python/18291
13056 * gdb.python/py-xmethods.exp: Add tests.
13057
13058 2015-05-08 Yao Qi <yao.qi@linaro.org>
13059
13060 PR gdb/18208
13061 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
13062 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
13063 function set_coredump_filter, and remove remote_exec call.
13064 Remove argument ipid. Callers update.
13065 (top level): Don't get inferior's PID.
13066
13067 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
13068
13069 * gdb.base/watch_thread_num.exp: Skip test on targets without
13070 access watchpoints.
13071
13072 2015-05-06 Pedro Alves <palves@redhat.com>
13073
13074 PR server/18081
13075 * gdb.server/non-existing-program.exp: New file.
13076
13077 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13078
13079 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
13080
13081 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13082
13083 * gdb.ada/out_of_line_in_inlined: New testcase.
13084
13085 2015-05-05 Joel Brobecker <brobecker@adacore.com>
13086
13087 * gdb.ada/var_rec_arr: New testcase.
13088
13089 2015-04-30 Yao Qi <yao.qi@linaro.org>
13090
13091 * gdb.base/break-idempotent.exp: If
13092 skip_hw_watchpoint_multi_tests returns true, skip the tests
13093 on "rwatch" and "awatch".
13094
13095 2015-04-30 Yao Qi <yao.qi@linaro.org>
13096
13097 * gdb.base/relativedebug.exp: Invoke gdb command
13098 "info sharedlibrary", and if libc.so doesn't have debug info,
13099 skip the test.
13100
13101 2015-04-29 Doug Evans <dje@google.com>
13102
13103 * gdb.python/py-xmethods.exp: Add ptype tests.
13104 * gdb.python/py-xmethods.py (E_method_char_worker): Add
13105 get_result_type method.
13106
13107 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13108
13109 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
13110 the target does not support hardware watchpoints.
13111
13112 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
13113
13114 * gdb.base/break-always.exp: Abort testing if writing to memory
13115 causes an error.
13116
13117 2015-04-28 Doug Evans <dje@google.com>
13118
13119 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
13120 * gdb.python/py-pp-registration.exp: ... here. New file.
13121 * gdb.python/py-pp-registration.c: New file.
13122 * gdb.python/py-pp-registration.py: New file.
13123
13124 2015-04-28 Doug Evans <dje@google.com>
13125
13126 * gdb.python/py-bad-printers.c: New file.
13127 * gdb.python/py-bad-printers.py: New file.
13128 * gdb.python/py-bad-printers.exp: New file.
13129
13130 2015-04-28 Sasha Smundak <asmundak@google.com>
13131
13132 * gdb.python/py-type.exp: New test.
13133
13134 2015-04-28 Andy Wingo <wingo@igalia.com>
13135
13136 * gdb.python/py-parameter.exp:
13137 * gdb.guile/scm-parameter.exp: Escape the path that we are
13138 matching against, as it might contain characters that are special
13139 to regular expressions.
13140
13141 2015-04-27 Joel Brobecker <brobecker@adacore.com>
13142
13143 * gdb.ada/rec_comp: New testcase.
13144
13145 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
13146
13147 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
13148 before using it.
13149
13150 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
13151
13152 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
13153 new tests for verilog output.
13154
13155 2015-04-24 Yao Qi <yao.qi@linaro.org>
13156
13157 * boards/remote-gdbserver-on-localhost.exp: New file.
13158
13159 2015-04-23 Pedro Alves <palves@redhat.com>
13160
13161 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
13162 $inferior_spawn_id instead of $inferior_spawn_id directly. On
13163 "end of file", remove $inferior_spawn_id from the indirect list.
13164
13165 2015-04-23 Pedro Alves <palves@redhat.com>
13166
13167 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
13168
13169 2015-04-23 Pedro Alves <palves@redhat.com>
13170
13171 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
13172 on $any_spawn_id instead of only on $gdb_spawn_id.
13173
13174 2015-04-21 Pierre Muller <muller@sourceware.org>
13175
13176 PR pascal/17815
13177 * lib/pascal.exp (gpc_compile): Add new option "class".
13178 (fpc_compile): Likewise.
13179 * gdb.pascal/case-insensitive-symbols.pas: New file.
13180 * gdb.pascal/case-insensitive-symbols.exp: New file.
13181
13182 2015-04-20 Gary Benson <gbenson@redhat.com>
13183
13184 * gdb.base/attach.exp: Fix three extended remote failures.
13185
13186 2015-04-17 Gary Benson <gbenson@redhat.com>
13187
13188 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
13189 the main executable over the remote protocol.
13190
13191 2015-04-16 Pedro Alves <palves@redhat.com>
13192
13193 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
13194 a new gdbserver if gdbserver_reconnect_p is set.
13195
13196 2015-04-16 Pedro Alves <palves@redhat.com>
13197
13198 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
13199 is set, don't exit gdbserver.
13200
13201 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13202
13203 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
13204 appropriate .insn, such that an older assembler can be used.
13205 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
13206 the z/Architecture instruction set on 31-bit targets as well.
13207
13208 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
13209
13210 * gdb.go/handcall.exp: Remove all logic related to the first
13211 breakpoint and rely on go_runto_main instead.
13212 * gdb.go/strings.exp: Likewise.
13213 * gdb.go/unsafe.exp: Likewise.
13214 * gdb.go/hello.exp: Likewise. Also rename the remaining
13215 breakpoint marker to "breakpoint 1".
13216 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
13217 * gdb.go/strings.go: Likewise.
13218 * gdb.go/unsafe.go: Likewise.
13219 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
13220 "set breakpoint 2 here" and rename the remaining breakpoint marker
13221 to "breakpoint 1".
13222
13223 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
13224
13225 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
13226 if itertools.imap is not present.
13227 * gdb.python/py-objfile.exp: Add parentheses.
13228 * gdb.python/py-type.exp: Same.
13229 * gdb.python/py-unwind-maint.py: Same.
13230
13231 2015-04-15 Yao Qi <yao.qi@linaro.org>
13232
13233 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
13234 of ":$ptr_size" and set its form explicitly.
13235
13236 2015-04-15 Pedro Alves <palves@redhat.com>
13237 Yao Qi <yao.qi@linaro.org>
13238
13239 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
13240 timeout by factor of 4.
13241 (test_regular_watch): Likewise.
13242 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
13243 * gdb.reverse/sigall-reverse.exp: Likewise.
13244 * gdb.reverse/until-precsave.exp: Likewise.
13245 * lib/gdb.exp (with_timeout_factor): New proc.
13246 (gdb_expect): Move some code to ...
13247 (get_largest_timeout): ... here. New procedure.
13248
13249 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
13250
13251 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
13252
13253 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13254
13255 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
13256 to write to the .text section.
13257
13258 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
13259
13260 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
13261 Handle the case of targets that do not provide PID information.
13262
13263 2015-04-13 Yao Qi <yao.qi@linaro.org>
13264
13265 * lib/gdbserver-support.exp (gdb_exit): Catch exception
13266 and use expect instead of gdb_expect.
13267
13268 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
13269
13270 * gdb.base/coredump-filter.exp: Rename variable "addr" to
13271 "coredump_var_addr" to avoid naming conflict with other testcases.
13272
13273 2015-04-10 Pedro Alves <palves@redhat.com>
13274
13275 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
13276 gdb_test_sequence and gdb_assert.
13277
13278 2015-04-10 Pedro Alves <palves@redhat.com>
13279
13280 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
13281 test messages that don't include the breakpoint address.
13282
13283 2015-04-10 Yao Qi <yao.qi@linaro.org>
13284
13285 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
13286 false for some offset and width combinations which aren't
13287 supported by linux kernel.
13288
13289 2015-04-10 Pedro Alves <palves@redhat.com>
13290
13291 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
13292 procedure, factored out from ...
13293 (top level): ... here. Add "set displaced-stepping" testing axis.
13294 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
13295 parameter "displaced". Use it.
13296 (top level): Use foreach and add "set displaced-stepping" testing
13297 axis.
13298
13299 2015-04-10 Pedro Alves <palves@redhat.com>
13300
13301 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
13302 Remove comment.
13303 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
13304 both the address of the instruction that triggers the watchpoint
13305 and the address of the instruction immediately after, and use
13306 those addresses for the test. Fix comment.
13307
13308 2015-04-10 Pedro Alves <palves@redhat.com>
13309
13310 * gdb.base/sigstep.exp (breakpoint_to_handler)
13311 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
13312 Test "backtrace" in handler.
13313 (breakpoint_over_handler): New parameter 'displaced'. Use it.
13314 (top level): Add new "displaced" test axis to
13315 breakpoint_to_handler, breakpoint_to_handler_entry and
13316 breakpoint_over_handler.
13317
13318 2015-04-10 Pedro Alves <palves@redhat.com>
13319
13320 PR gdb/18216
13321 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
13322
13323 2015-04-10 Yao Qi <yao.qi@linaro.org>
13324
13325 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
13326 (test_add_rn_pc): New function.
13327 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
13328 (top level): Invoke test_add_rn_pc.
13329
13330 2015-04-10 Pedro Alves <palves@redhat.com>
13331
13332 PR gdb/13858
13333 * gdb.base/step-over-no-symbols.exp: New file.
13334
13335 2015-04-09 Andy Wingo <wingo@igalia.com>
13336
13337 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
13338 after the Python tests.
13339
13340 2015-04-08 Keith Seitz <keiths@redhat.com>
13341
13342 PR python/16699
13343 * gdb.python/py-completion.exp: New tests for completion.
13344 * gdb.python/py-completion.py (CompleteLimit1): New class.
13345 (CompleteLimit2): Likewise.
13346 (CompleteLimit3): Likewise.
13347 (CompleteLimit4): Likewise.
13348 (CompleteLimit5): Likewise.
13349 (CompleteLimit6): Likewise.
13350 (CompleteLimit7): Likewise.
13351
13352 2015-04-08 Pedro Alves <palves@redhat.com>
13353
13354 PR gdb/18214
13355 PR gdb/18216
13356 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
13357 function.
13358 (main): Install it as SIGUSR1 handler.
13359 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
13360 parameter. Always use "setup" as prefix. Toggle "set
13361 displaced-stepping" off/on depending on global. Don't switch to
13362 thread 1 here.
13363 (top level): Add displaced stepping "off/on" test axis. Update
13364 "setup" calls. Wrap each subtest with with_test_prefix. Test
13365 continuing with a queued signal in each thread.
13366
13367 2015-04-08 Pedro Alves <palves@redhat.com>
13368
13369 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
13370 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
13371 gdb_breakpoint instead of gdb_test that doesn't expect anything.
13372 Return early if running to main fails.
13373 * gdb.trace/while-stepping.exp: Likewise.
13374
13375 2015-04-07 Pedro Alves <palves@redhat.com>
13376
13377 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
13378 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
13379 interact with inferior program.
13380
13381 2015-04-07 Pedro Alves <palves@redhat.com>
13382
13383 * lib/gdb.exp (inferior_spawn_id): New global.
13384 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
13385 spawn id after processing the user code.
13386 (default_gdb_start): Set inferior_spawn_id.
13387 (send_inferior): New procedure.
13388 * lib/gdbserver-support.exp (gdbserver_start): Set
13389 inferior_spawn_id.
13390 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
13391
13392 2015-04-07 Pedro Alves <palves@redhat.com>
13393
13394 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
13395 * lib/gdbserver-support.exp (gdbserver_start): Make
13396 $server_spawn_id global.
13397 (gdbserver_start): Don't wait for gdbserver's spawn id with
13398 expect_background.
13399 (close_gdbserver): New procedure.
13400 (gdb_exit): Rename the default version and reimplement.
13401
13402 2015-04-07 Pedro Alves <palves@redhat.com>
13403
13404 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
13405 append the substituted item, not the original item.
13406
13407 2015-04-07 Pedro Alves <palves@redhat.com>
13408
13409 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
13410 gdb_expect.
13411
13412 2015-04-07 Pedro Alves <palves@redhat.com>
13413
13414 * gdb.base/interrupt.exp: Don't handle the case of the inferior
13415 output appearing once only.
13416
13417 2015-04-07 Pedro Alves <palves@redhat.com>
13418
13419 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
13420 that doesn't expect anything. Return early if running to main
13421 fails.
13422
13423 2015-04-07 Yao Qi <yao.qi@linaro.org>
13424
13425 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
13426 (child_function): Call alarm.
13427 (main): Move call to alarm into the loop.
13428 * gdb.threads/non-stop-fair-events.exp: Build program with
13429 -DTIMEOUT=$timeout.
13430
13431 2015-04-06 Doug Evans <xdje42@gmail.com>
13432
13433 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
13434 Fix dest parameter to board_info.
13435 (fpc_compile): Ditto.
13436 (gdb_compile_pascal): Rename dest arg to destfile.
13437
13438 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
13439
13440 * gdb.ada/funcall_ref.exp: New file.
13441 * gdb.ada/funcall_ref/foo.adb: New file.
13442
13443 2015-04-02 Yao Qi <yao.qi@linaro.org>
13444
13445 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
13446 is remote.
13447
13448 2015-04-02 Gary Benson <gbenson@redhat.com>
13449
13450 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
13451
13452 2015-04-01 Sasha Smundak <asmundak@google.com>
13453
13454 * gdb.python/py-unwind-maint.c: New file.
13455 * gdb.python/py-unwind-maint.exp: New test.
13456 * gdb.python/py-unwind-maint.py: New file.
13457 * gdb.python/py-unwind.c: New file.
13458 * gdb.python/py-unwind.exp: New test.
13459 * gdb.python/py-unwind.py: New test.
13460
13461 2015-04-01 Pedro Alves <palves@redhat.com>
13462
13463 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
13464 to fail instead of non-existent $test.
13465
13466 2015-04-01 Pedro Alves <palves@redhat.com>
13467
13468 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
13469 GDBFLAGS if not empty.
13470
13471 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
13472
13473 * gdb.ada/complete.exp: Remove "multi_line".
13474 * gdb.ada/info_exc.exp: Remove "multi_line".
13475 * gdb.ada/packed_tagged.exp: Remove "multi_line".
13476 * gdb.ada/ptype_field.exp: Remove "multi_line".
13477 * gdb.ada/sym_print_name.exp: Remove "multi_line".
13478 * gdb.ada/tagged.exp: Remove "multi_line".
13479 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
13480 [multi_line ...]
13481 * gdb.btrace/delta.exp: Likewise.
13482 * gdb.btrace/exception.exp: Likewise.
13483 * gdb.btrace/function_call_history.exp: Likewise.
13484 * gdb.btrace/instruction_history.exp: Likewise.
13485 * gdb.btrace/nohist.exp: Likewise.
13486 * gdb.btrace/record_goto.exp: Likewise.
13487 * gdb.btrace/segv.exp: Likewise.
13488 * gdb.btrace/stepi.exp: Likewise.
13489 * gdb.btrace/tailcall.exp: Likewise.
13490 * gdb.btrace/unknown_functions.exp: Likewise.
13491 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
13492 * lib/gdb.exp: Add the "multi_line" helper.
13493
13494 2015-04-01 Pedro Alves <palves@redhat.com>
13495
13496 * gdb.threads/tid-reuse.c: New file.
13497 * gdb.threads/tid-reuse.exp: New file.
13498
13499 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
13500
13501 PR corefiles/16092
13502 * gdb.base/coredump-filter.c: New file.
13503 * gdb.base/coredump-filter.exp: Likewise.
13504
13505 2015-03-27 Petr Machata <pmachata@redhat.com>
13506
13507 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
13508 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
13509 (Dwarf::assemble): Initialize them.
13510 (Dwarf::lines): New function.
13511
13512 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
13513
13514 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
13515 SYMBOL_PREFIX for x86_64-*-cygwin.
13516
13517 2015-03-26 Andy Wingo <wingo@igalia.com>
13518
13519 PR symtab/18148
13520 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
13521 const_value but not a location.
13522 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
13523 location defined in non-main CUs are visible.
13524
13525 2015-03-26 Yao Qi <yao.qi@linaro.org>
13526
13527 PR testsuite/18139
13528 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
13529 Add a line number entry for the same line.
13530 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
13531 Add a line number entry for the same line.
13532
13533 2015-03-26 Yao Qi <yao.qi@linaro.org>
13534
13535 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
13536 .int 0.
13537 (func): Likewise. Add .Lfunc_1 label.
13538 Use .Lfunc_1 label.
13539 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
13540 .int 0.
13541 (func): Likewise.
13542 Use .Lfunc_1 label.
13543
13544 2015-03-26 Yao Qi <yao.qi@linaro.org>
13545
13546 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
13547 Call gdb_compile instead to compile each .s files without debug
13548 information.
13549
13550 2015-03-26 Yao Qi <yao.qi@linaro.org>
13551
13552 * gdb.base/savedregs.exp (process_saved_regs): Make
13553 "Saved registers:" optional in the pattern.
13554
13555 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13556
13557 * gdb.btrace/next.exp: Merged into step.exp.
13558 * gdb.btrace/finish.exp: Merged into step.exp.
13559 * gdb.btrace/nexti.exp: Merged into stepi.exp.
13560 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
13561 "record goto" and checking the exact replay position.
13562 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
13563 check for "Recording format" in "info record" output.
13564 * gdb.btrace/record_goto.exp: Choose test file based on target.
13565 * gdb.btrace/x86-record_goto.S: Renamed into ...
13566 * gdb.btrace/x86_64-record_goto.S: ... this.
13567 * gdb.btrace/i686-record_goto.S: New.
13568 * gdb.btrace/x86-tailcall.S: Renamed into ...
13569 * gdb.btrace/x86_64-tailcall.S: ... this.
13570 * gdb.btrace/i686-tailcall.S: New.
13571 * gdb.btrace/x86-tailcall.c: Renamed into ...
13572 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
13573 separate statements. Update test.
13574 * gdb.btrace/delta.exp: Use record_goto.c as test file.
13575 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
13576 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
13577 * gdb.btrace/tailcall.exp: Choose test file based on target.
13578 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
13579
13580 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
13581
13582 * gdb.btrace/exception.exp: Increase BTS buffer size.
13583
13584 2015-03-24 Pedro Alves <palves@redhat.com>
13585
13586 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
13587
13588 2015-03-24 Pedro Alves <palves@redhat.com>
13589
13590 * gdb.threads/schedlock.exp (test_step): No longer expect that
13591 "set scheduler-locking step" with "next" over a function call runs
13592 threads unlocked.
13593
13594 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13595
13596 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
13597
13598 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
13599
13600 PR breakpoints/16466
13601 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
13602 * gdb.mi/mi-pending.c (thread_func): New function.
13603 (int main): Add threading support required.
13604 * gdb.mi/mi-pending.exp: Add tests for this issue.
13605 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
13606 (pendfunc2): Remove stdio dependency.
13607 * gdb.mi/mi-pendshr2.c: New file.
13608
13609 2015-03-23 Keith Seitz <keiths@redhat.com>
13610
13611 * gdb.linespec/keywords.c: New file.
13612 * gdb.linespec/keywords.exp: New file.
13613
13614 2015-03-23 Keith Seitz <keiths@redhat.com>
13615
13616 PR gdb/18021
13617 * gdb.dwarf2/staticvirtual.exp: New test.
13618
13619 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
13620
13621 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
13622 * README: Remove HP-UX and gdb.hp.
13623 (configuration):
13624 * configure: Regenerate.
13625 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
13626 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
13627 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
13628 gdb.hp/gdb.defects/Makefile.
13629 * gdb.hp/Makefile.in: File deleted.
13630 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
13631 * gdb.hp/gdb.aCC/optimize.c: File deleted.
13632 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
13633 * gdb.hp/gdb.aCC/run.c: File deleted.
13634 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
13635 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
13636 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
13637 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
13638 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
13639 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
13640 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
13641 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
13642 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
13643 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
13644 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
13645 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
13646 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
13647 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
13648 * gdb.hp/gdb.base-hp/reg.s: File deleted.
13649 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
13650 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
13651 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
13652 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
13653 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
13654 * gdb.hp/gdb.compat/Makefile.in: File deleted.
13655 * gdb.hp/gdb.compat/average.c: File deleted.
13656 * gdb.hp/gdb.compat/sum.c: File deleted.
13657 * gdb.hp/gdb.compat/xdb.c: File deleted.
13658 * gdb.hp/gdb.compat/xdb0.c: File deleted.
13659 * gdb.hp/gdb.compat/xdb0.h: File deleted.
13660 * gdb.hp/gdb.compat/xdb1.c: File deleted.
13661 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
13662 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
13663 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
13664 * gdb.hp/gdb.defects/Makefile.in: File deleted.
13665 * gdb.hp/gdb.defects/bs14602.c: File deleted.
13666 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
13667 * gdb.hp/gdb.defects/solib-d.c: File deleted.
13668 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
13669 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
13670 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
13671 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
13672 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
13673 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
13674 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
13675 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
13676 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
13677 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
13678 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
13679 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
13680 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
13681 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
13682 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
13683 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
13684 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
13685 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
13686 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
13687 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
13688 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
13689 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
13690 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
13691 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
13692 * gdb.hp/tools/odump: File deleted.
13693
13694 2015-03-19 Pedro Alves <palves@redhat.com>
13695
13696 * gdb.threads/continue-pending-status.exp (saw_thread_2)
13697 (saw_thread_3): New globals.
13698 (top level): Increment them when an event for the corresponding
13699 thread is seen.
13700 (no thread starvation): New test.
13701
13702 2015-03-19 Pedro Alves <palves@redhat.com>
13703
13704 * gdb.threads/continue-pending-status.c: New file.
13705 * gdb.threads/continue-pending-status.exp: New file.
13706
13707 2015-03-18 Pedro Alves <palves@redhat.com>
13708
13709 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
13710 Use gdb_is_target_remote instead of is_remote. Use
13711 gdb_test_multiple instead of gdb_expect. Exit early if
13712 gdb_test_multiple hits its internal matches. Tighten stepi tests
13713 expected output. Fail on exit with any signal, instead of just
13714 SIGILL.
13715
13716 2015-03-18 Yao Qi <yao.qi@linaro.org>
13717
13718 PR tdep/18107
13719 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
13720 variable.
13721 * gdb.base/catch-syscall.exp: Don't skip it on
13722 aarch64*-*-linux* target. Remove elements in all_syscalls.
13723 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
13724 target.
13725 (setup_all_syscalls): New proc.
13726
13727 2015-03-16 Yao Qi <yao.qi@linaro.org>
13728
13729 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
13730 (top level): Skip tests if valid_addr_p returns false for
13731 $cmd1 or $cmd2.
13732
13733 2015-03-11 Andy Wingo <wingo@igalia.com>
13734
13735 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
13736
13737 2015-03-11 Yao Qi <yao.qi@linaro.org>
13738
13739 * gdb.base/catch-syscall.exp: Fix typo in comments.
13740
13741 2015-03-11 Yao Qi <yao.qi@linaro.org>
13742
13743 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
13744
13745 2015-03-09 Pedro Alves <palves@redhat.com>
13746
13747 * dg-extract-results.py: Delete.
13748
13749 2015-03-09 Pedro Alves <palves@redhat.com>
13750
13751 Merge dg-extract-results.sh from GCC upstream (r218843).
13752
13753 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
13754 * dg-extract-results.sh: Use --text with grep to avoid issues with
13755 binary files. Fall back to cat -v, if that doesn't work.
13756
13757 2015-03-05 Pedro Alves <palves@redhat.com>
13758
13759 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
13760
13761 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
13762
13763 * lib/mi-support.exp (mi_expect_interrupt): Accept
13764 alternative event for when in all-stop mode.
13765
13766 2015-03-04 Pedro Alves <palves@redhat.com>
13767
13768 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
13769
13770 2015-03-04 Mark Kettenis <kettenis@gnu.org>
13771
13772 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
13773
13774 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13775
13776 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
13777 regexps for GDB's current line display, accept a hex address
13778 preceding the line number.
13779
13780 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
13781
13782 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
13783 the 'arch1' variable for "s390*-linux*" targets.
13784
13785 2015-03-04 Pedro Alves <palves@redhat.com>
13786
13787 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
13788 (main): Pass missing retval argument to pthread_join call.
13789
13790 2015-03-02 Pedro Alves <palves@redhat.com>
13791
13792 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
13793 (top level): Call do_test with non-stop as well.
13794
13795 2015-03-02 Pedro Alves <palves@redhat.com>
13796
13797 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
13798 -1.
13799
13800 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
13801
13802 * gdb.arch/s390-vregs.exp: New test.
13803 * gdb.arch/s390-vregs.S: New file.
13804
13805 2015-02-27 Pedro Alves <palves@redhat.com>
13806
13807 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
13808 call to catch_command_errors.
13809 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
13810 catch_command_errors.
13811
13812 2015-02-27 Pedro Alves <palves@redhat.com>
13813
13814 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
13815 "true" for boolean result.
13816 * gdb.gdb/selftest.exp (test_with_self): Also accept full
13817 prototype of main.
13818
13819 2015-02-27 Pedro Alves <palves@redhat.com>
13820
13821 * lib/unbuffer_output.c: New file.
13822 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
13823 (main): Call gdb_unbuffer_output.
13824
13825 2015-02-27 Yao Qi <yao.qi@linaro.org>
13826
13827 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
13828 target.
13829
13830 2015-02-26 Doug Evans <dje@google.com>
13831
13832 * gdb.cp/class2.cc (Dbase, D): New classes.
13833 (main): New local delta.
13834 * gdb.cp/class2.exp: Test printing delta.
13835 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
13836 (dynbar): New global.
13837 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
13838
13839 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13840
13841 * gdb.compile/compile-ifunc.c: New file.
13842 * gdb.compile/compile-ifunc.exp: New file.
13843
13844 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
13845
13846 * gdb.base/structs.exp: Check for correct struct on finish.
13847
13848 2015-02-26 Yao Qi <yao.qi@linaro.org>
13849
13850 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
13851 is zero.
13852
13853 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
13854
13855 * gdb.arch/cordic.ko.bz2: New file.
13856 * gdb.arch/cordic.ko.debug.bz2: New file.
13857 * gdb.arch/ppc64-symtab-cordic.exp: New file.
13858
13859 2015-02-25 Yao Qi <yao.qi@linaro.org>
13860
13861 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
13862 aarch64*-*-* target.
13863
13864 2015-02-23 Pedro Alves <palves@redhat.com>
13865
13866 * lib/gdb.exp (delete_breakpoints): Rewrite using
13867 gdb_test_multiple.
13868
13869 2015-02-23 Pedro Alves <palves@redhat.com>
13870
13871 * gdb.base/info-os.c: Include stdlib.h.
13872
13873 2015-02-22 Doug Evans <xdje42@gmail.com>
13874
13875 PR symtab/17855
13876 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
13877 is read after symbols have been re-read.
13878 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
13879 * gdb.ada/exec_changed/second.adb (Second): Ditto.
13880
13881 2015-02-21 Doug Evans <dje@google.com>
13882
13883 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
13884
13885 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
13886
13887 PR corefiles/17808
13888 * gdb.arch/i386-biarch-core.core.bz2: New file.
13889 * gdb.arch/i386-biarch-core.exp: New file.
13890
13891 2015-02-21 Pedro Alves <palves@redhat.com>
13892
13893 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
13894 runto_main fails.
13895
13896 2015-02-20 Pedro Alves <palves@redhat.com>
13897
13898 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
13899 info probes.
13900
13901 2015-02-20 Pedro Alves <palves@redhat.com>
13902
13903 * gdb.threads/multi-create-ns-info-thr.exp: New file.
13904
13905 2015-02-20 Pedro Alves <palves@redhat.com>
13906
13907 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
13908 clean_restart before gdb_target_supports_trace.
13909
13910 2015-02-20 Pedro Alves <palves@redhat.com>
13911
13912 PR threads/18006
13913 * gdb.threads/clone-thread_db.c: New file.
13914 * gdb.threads/clone-thread_db.exp: New file.
13915
13916 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
13917
13918 PR breakpoints/16812
13919 * gdb.base/catch-gdb-caused-signals.c: New file.
13920 * gdb.base/catch-gdb-caused-signals.exp: New file.
13921
13922 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
13923
13924 * configure: Regenerated.
13925 * configure.ac: Use GDB_AC_TRANSFORM.
13926 * aclocal.m4: sinclude ../transform.m4.
13927
13928 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13929
13930 * lib/dtrace.exp: New file.
13931 * gdb.base/dtrace-probe.exp: Likewise.
13932 * gdb.base/dtrace-probe.d: Likewise.
13933 * gdb.base/dtrace-probe.c: Likewise.
13934 * lib/pdtrace.in: Likewise.
13935 * configure.ac: Output variables with the transformed names of
13936 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
13937 * configure: Regenerated.
13938
13939 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13940
13941 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
13942 expected message when trying to access $_probe_* convenience
13943 variables while not on a probe.
13944
13945 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
13946
13947 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
13948
13949 2015-02-11 Pedro Alves <pedro@codesourcery.com>
13950
13951 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
13952 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
13953
13954 2015-02-10 Doug Evans <xdje42@gmail.com>
13955
13956 * lib/gdb.exp (gdb_load): Always return a result.
13957
13958 2015-02-10 Pedro Alves <palves@redhat.com>
13959
13960 * gdb.threads/signal-sigtrap.c: New file.
13961 * gdb.threads/signal-sigtrap.exp: New file.
13962
13963 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
13964
13965 * gdb.trace/no-attach-trace.c: New file.
13966 * gdb.trace/no-attach-trace.exp: New file.
13967
13968 2015-02-09 Mark Wielaard <mjw@redhat.com>
13969
13970 * gdb.dwarf2/atomic.c: New file.
13971 * gdb.dwarf2/atomic-type.exp: Likewise.
13972
13973 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13974
13975 * gdb.btrace/buffer-size.exp: Update "info record" output.
13976 * gdb.btrace/delta.exp: Update "info record" output.
13977 * gdb.btrace/enable.exp: Update "info record" output.
13978 * gdb.btrace/finish.exp: Update "info record" output.
13979 * gdb.btrace/instruction_history.exp: Update "info record" output.
13980 * gdb.btrace/next.exp: Update "info record" output.
13981 * gdb.btrace/nexti.exp: Update "info record" output.
13982 * gdb.btrace/step.exp: Update "info record" output.
13983 * gdb.btrace/stepi.exp: Update "info record" output.
13984 * gdb.btrace/nohist.exp: Update "info record" output.
13985
13986 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13987
13988 * gdb.btrace/buffer-size: New.
13989
13990 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
13991
13992 * gdb.btrace/delta.exp: Update "info record" output.
13993 * gdb.btrace/enable.exp: Update "info record" output.
13994 * gdb.btrace/finish.exp: Update "info record" output.
13995 * gdb.btrace/instruction_history.exp: Update "info record" output.
13996 * gdb.btrace/next.exp: Update "info record" output.
13997 * gdb.btrace/nexti.exp: Update "info record" output.
13998 * gdb.btrace/step.exp: Update "info record" output.
13999 * gdb.btrace/stepi.exp: Update "info record" output.
14000 * gdb.btrace/nohist.exp: Update "info record" output.
14001
14002 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
14003
14004 PR gdb/15678
14005 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
14006
14007 2015-02-06 Pedro Alves <palves@redhat.com>
14008
14009 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
14010 macro.
14011 (seconds_left, again): New globals.
14012 (main): Wait seconds_left in a 1-second sleep loop instead of
14013 sleeping 180 seconds. If 'again' is set, reset the seconds
14014 counter.
14015 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
14016 'again' in the inferior before detaching. Print the seconds left.
14017 (options): New global.
14018 (top level): Build program with -DTIMEOUT=$timeout.
14019
14020 2015-02-06 Pedro Alves <palves@redhat.com>
14021
14022 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
14023 determine how many seconds to pass to 'alarm'.
14024 * gdb.base/gdb-sigterm.exp (top level): Build program with
14025 -DTIMEOUT=$timeout.
14026 (do_test): Return success/failure indication. Add more verbose
14027 logging. Don't fail if 200 single steps are seen. Instead, fail
14028 when the test times out.
14029 (passes): New global.
14030 (top level): Break the testing loop if testing fails on any
14031 iteration. Use gdb_assert.
14032
14033 2015-02-04 Don Breazeal <donb@codesourcery.com>
14034
14035 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
14036 and initialize them.
14037 (ipc_cleanup): New function.
14038 (main): Don't declare shmid, semid, and msqid. Add a call to
14039 atexit so that we call ipc_cleanup on exit.
14040
14041 2015-02-04 Pedro Alves <palves@redhat.com>
14042
14043 * boards/native-extended-gdbserver.exp: Remove any target variant
14044 specifications from the board name before clearing the isremote
14045 flag from board_info.
14046
14047 2015-01-31 Doug Evans <xdje42@gmail.com>
14048
14049 * gdb.base/maint.exp <maint print type argc>: Update expected output.
14050
14051 2015-01-31 Gary Benson <gbenson@redhat.com>
14052
14053 * gdb.base/completion.exp: Disable completion limiting for
14054 existing tests. Add new tests to check completion limiting.
14055 * gdb.linespec/ls-errs.exp: Disable completion limiting.
14056
14057 2015-01-31 Doug Evans <xdje42@gmail.com>
14058
14059 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
14060
14061 2015-01-31 Doug Evans <xdje42@gmail.com>
14062
14063 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
14064 entries. Duplicate file section script entries.
14065 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
14066 inlined entries. Add test for safe-path rejection.
14067 * gdb.python/py-section-script.c: Add duplicate inlined section script
14068 entries. Duplicate file section script entries.
14069 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
14070 inlined entries. Add test for safe-path rejection.
14071
14072 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14073
14074 * gdb.ada/disc_arr_bound: New testcase.
14075
14076 2015-01-29 Joel Brobecker <brobecker@adacore.com>
14077
14078 * gdb.ada/mi_var_array: New testcase.
14079
14080 2015-01-27 Doug Evans <dje@google.com>
14081
14082 * gdb.python/py-objfile.exp: Add tests for objfile.username.
14083 Add test for objfile.filename, objfile.username after objfile
14084 has been unloaded.
14085
14086 2015-01-26 Joel Brobecker <brobecker@adacore.com>
14087
14088 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
14089 the second test to print the name attribute of value
14090 returned by the call to gdb.lookup_type, and adjust
14091 the expected output accordingly.
14092
14093 2015-01-25 Mark Wielaard <mjw@redhat.com>
14094
14095 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
14096 * gdb.base/disp-step-fork.c: Include unistd.h.
14097 * gdb.base/siginfo-obj.c: Include stdio.h.
14098 * gdb.base/siginfo-thread.c: Likewise.
14099 * gdb.mi/non-stop.c: Include unistd.h.
14100 * gdb.mi/nsthrexec.c: Include stdio.h.
14101 * gdb.mi/pthreads.c: Include unistd.h.
14102 * gdb.modula2/unbounded1.c (main): Declare returns int.
14103 * gdb.reverse/consecutive-reverse.c: Likewise.
14104 * gdb.threads/create-fail.c: Include unistd.h.
14105 * gdb.threads/killed.c: Likewise.
14106 * gdb.threads/linux-dp.c: Likewise.
14107 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
14108 * gdb.threads/non-ldr-exc-2.c: Likewise.
14109 * gdb.threads/non-ldr-exc-3.c: Likewise.
14110 * gdb.threads/non-ldr-exc-4.c: Likewise.
14111 * gdb.threads/pthreads.c: Include unistd.h.
14112 (main): Declare returns int.
14113 * gdb.threads/tls-main.c (foo): New declaration.
14114 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
14115
14116 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
14117
14118 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
14119 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
14120
14121 2015-01-15 Mark Wielaard <mjw@redhat.com>
14122
14123 * gdb.base/noreturn-return.c: New file.
14124 * gdb.base/noreturn-return.exp: New file.
14125 * gdb.base/noreturn-finish.c: New file.
14126 * gdb.base/noreturn-finish.exp: New file.
14127
14128 2015-01-23 Pedro Alves <palves@redhat.com>
14129
14130 * gdb.threads/continue-pending-after-query.c: New file.
14131 * gdb.threads/continue-pending-after-query.exp: New file.
14132
14133 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
14134 Simon Marchi <simon.marchi@ericsson.com>
14135
14136 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
14137 * gdb.base/valgrind-db-attach.exp: Same.
14138 * gdb.base/valgrind-infcall.exp: Same.
14139 * lib/mi-support.exp (default_mi_gdb_start): Same.
14140 * lib/prompt.exp (default_prompt_gdb_start): Same.
14141 * lib/gdb.exp (default_gdb_spawn): Same.
14142 (gdb_interact): New.
14143
14144
14145 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
14146
14147 * gdb.compile/compile.exp (pointer to jit function): New test.
14148
14149 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
14150
14151 * lib/gdb.exp (supports_process_record): Return true for
14152 powerpc*-*-linux*.
14153 (supports_reverse): Likewise.
14154
14155 2015-01-15 Don Breazeal <donb@codesourcery.com>
14156
14157 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
14158 instead of checking whether the target board is remote and
14159 use spawn_wait_for_attach instead of exec/sleep.
14160 * gdb.base/attach-twice.exp: Likewise.
14161
14162 2015-01-15 Joel Brobecker <brobecker@adacore.com>
14163
14164 * gdb.ada/var_arr_attrs: New testcase.
14165
14166 2015-01-14 Pedro Alves <palves@redhat.com>
14167 Joel Brobecker <brobecker@adacore.com>
14168
14169 PR gdb/17525
14170 * gdb.base/bp-cmds-execution-x-script.c: New file.
14171 * gdb.base/bp-cmds-execution-x-script.exp: New file.
14172 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
14173
14174 2015-01-14 Pedro Alves <palves@redhat.com>
14175
14176 PR cli/17828
14177 * gdb.base/batch-preserve-term-settings.c: New file.
14178 * gdb.base/batch-preserve-term-settings.exp: New file.
14179
14180 2015-01-13 Doug Evans <dje@google.com>
14181
14182 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
14183 binary.
14184
14185 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14186
14187 * Makefile.in (clean mostlyclean): Do not delete *.py.
14188
14189 2015-01-13 Joel Brobecker <brobecker@adacore.com>
14190
14191 * gdb.python/py-lookup-type.exp: New file.
14192
14193 2015-01-12 Pedro Alves <palves@redhat.com>
14194
14195 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
14196 restore GDBFLAGS before returning.
14197
14198 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
14199
14200 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
14201 is_amd64_regs_target and is_x86_like_target.
14202
14203 2015-01-11 Doug Evans <xdje42@gmail.com>
14204
14205 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
14206 is given without an explicit form.
14207 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
14208 attributes.
14209 * gdb.dwarf/corrupt.exp: Ditto.
14210 * gdb.dwarf2/enum-type.exp: Ditto.
14211 * gdb.trace/entry-values.exp: Ditto.
14212 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
14213
14214 2015-01-11 Doug Evans <xdje42@gmail.com>
14215
14216 PR gdb/15830
14217 * gdb.base/maint.exp: Remove references to "maint demangle".
14218 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
14219 Add tests for explicitly specifying language to demangle.
14220 * gdb.dlang/demangle.exp: Ditto.
14221
14222 2015-01-09 Pedro Alves <palves@redhat.com>
14223
14224 * gdb.threads/non-stop-fair-events.c: New file.
14225 * gdb.threads/non-stop-fair-events.exp: New file.
14226
14227 2015-01-09 Pedro Alves <palves@redhat.com>
14228
14229 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
14230 the global scope. Set a breakpoint after all threads are started
14231 rather than stepping over two source lines. Expect the prompt.
14232 * gdb.base/watch_thread_num.c (threads_started_barrier): New
14233 global.
14234 (NUM): Now 15.
14235 (main): Use threads_started_barrier to wait for all threads to
14236 start. Main thread no longer calls thread_function. Exit after
14237 180 seconds.
14238 (loop): New function.
14239 (thread_function): Wait on threads_started_barrier barrier. Call
14240 'loop' at each iteration.
14241 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
14242 threads have started, instead of hardcoding number of "next"
14243 steps. Use an access watchpoint instead of a write watchpoint.
14244
14245 2015-01-09 Pedro Alves <palves@redhat.com>
14246
14247 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
14248 (thread_func): Wait on barrier.
14249 (main): Wait for all threads to start before stopping GDB.
14250 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
14251 global.
14252 (thread1_func, thread2_func): Wait on barrier.
14253 (main): Wait for all threads to start before stopping GDB.
14254 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
14255 New global.
14256 (thread1_func, thread2_func): Wait on barrier.
14257 (main): Wait for all threads to start before stopping GDB.
14258
14259 2015-01-09 Pedro Alves <palves@redhat.com>
14260
14261 * gdb.threads/attach-many-short-lived-threads.c: New file.
14262 * gdb.threads/attach-many-short-lived-threads.exp: New file.
14263
14264 2014-01-09 Pedro Alves <palves@redhat.com>
14265
14266 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
14267 instead of to thread 2.
14268 * gdb.threads/signal-command-multiple-signals-pending.c (main):
14269 Add barrier around each pthread_create call instead of around all
14270 calls.
14271 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
14272 Set a break on thread_function and have the child threads hit it
14273 one at at a time.
14274
14275 2015-01-09 Pedro Alves <palves@redhat.com>
14276
14277 * lib/gdb.exp (can_spawn_for_attach): New procedure.
14278 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
14279 false.
14280 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
14281 checking whether the target board is remote.
14282 * gdb.multi/multi-attach.exp: Likewise.
14283 * gdb.python/py-sync-interp.exp: Likewise.
14284 * gdb.server/ext-attach.exp: Likewise.
14285 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
14286 tests that need to attach, instead of checking whether the target
14287 board is remote at the top of the file.
14288
14289 2015-01-08 Yao Qi <yao@codesourcery.com>
14290
14291 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
14292
14293 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
14294
14295 Fix testcase compilation.
14296 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
14297
14298 2015-01-06 Joel Brobecker <brobecker@adacore.com>
14299
14300 * gdb.python/py-type.exp: Add a couple test about empty
14301 array creation, and negative-length array creation.
14302
14303 2015-01-02 Doug Evans <xdje42@gmail.com>
14304
14305 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
14306
14307 2015-01-02 Doug Evans <dje@google.com>
14308
14309 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
14310
14311 2014-12-29 Yao Qi <yao@codesourcery.com>
14312
14313 * gdb.trace/entry-values.exp: Update comments. Rename variable
14314 bar_call_foo to returned_from_foo.
14315
14316 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
14317
14318 PR gdb/17394
14319 * gdb.linespec/break-asm-file.c: New file.
14320 * gdb.linespec/break-asm-file.exp: New file.
14321 * gdb.linespec/break-asm-file0.s: New file.
14322 * gdb.linespec/break-asm-file1.s: New file.
14323
14324 2014-12-18 Nigel Stephens <nigel@mips.com>
14325 Maciej W. Rozycki <macro@codesourcery.com>
14326
14327 * gdb.base/float.exp: Handle the new output from "info float" on
14328 MIPS targets.
14329
14330 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
14331
14332 Fix MinGW compilation.
14333 * gdb.compile/compile-ops.exp: Update untested message if
14334 !skip_compile_feature_tests.
14335 * gdb.compile/compile-setjmp.exp: Likewise.
14336 * gdb.compile/compile-tls.exp: Likewise.
14337 * gdb.compile/compile.exp: Likewise.
14338 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
14339 supported on this host".
14340
14341 2014-12-16 Doug Evans <xdje42@gmail.com>
14342
14343 * boards/stabs.exp: New file.
14344
14345 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
14346
14347 * gdb.base/completion.exp: Adjust to format changes of "maint
14348 print user-registers".
14349
14350 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
14351
14352 PR server/17457
14353 * gdb.arch/aarch64-fp.c: New file.
14354 * gdb.arch/aarch64-fp.exp: New file.
14355
14356 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
14357
14358 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
14359 r210637, r210913, r211666, r215400, r215817).
14360
14361 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
14362 * dg-extract-results.py: New file.
14363 * dg-extract-results.sh: Use it if the environment seems
14364 suitable.
14365
14366 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
14367
14368 * dg-extract-results.py (parse_run): Handle warnings that
14369 are printed before a test harness is run.
14370
14371 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
14372
14373 * dg-extract-results.py (Named): Remove __cmp__ method.
14374 (output_variation): Use a key to sort variation.harnesses.
14375
14376 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
14377
14378 * dg-extract-results.py: For Python 3, force sys.stdout to
14379 handle surrogate escape sequences.
14380 (safe_open): New function.
14381 (output_segment, main): Use it.
14382
14383 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
14384
14385 * dg-extract-results.py (Prog.result_re): Include options
14386 in test name.
14387
14388 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
14389
14390 * dg-extract-results.py (output_variation): Always sort if
14391 do_sum.
14392
14393 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
14394
14395 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
14396 as long as we get pagination notifications.
14397
14398 2014-12-15 Jason Merrill <jason@redhat.com>
14399
14400 * Makefile.in (check-gdb.%): Restore.
14401 * README: Mention it.
14402
14403 2014-12-13 Joel Brobecker <brobecker@adacore.com>
14404
14405 * gdb.ada/str_uninit: New testcase.
14406
14407 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
14408
14409 PR symtab/17642
14410 * gdb.base/vla-stub-define.c: New file.
14411 * gdb.base/vla-stub.c: New file.
14412 * gdb.base/vla-stub.exp: New file.
14413
14414 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
14415 Jan Kratochvil <jan.kratochvil@redhat.com>
14416 Tom Tromey <tromey@redhat.com>
14417
14418 * configure.ac: Add gdb.compile/.
14419 * configure: Regenerate.
14420 * gdb.compile/Makefile.in: New file.
14421 * gdb.compile/compile-ops.exp: New file.
14422 * gdb.compile/compile-ops.c: New file.
14423 * gdb.compile/compile-tls.c: New file.
14424 * gdb.compile/compile-tls.exp: New file.
14425 * gdb.compile/compile-constvar.S: New file.
14426 * gdb.compile/compile-constvar.c: New file.
14427 * gdb.compile/compile-mod.c: New file.
14428 * gdb.compile/compile-nodebug.c: New file.
14429 * gdb.compile/compile-setjmp-mod.c: New file.
14430 * gdb.compile/compile-setjmp.c: New file.
14431 * gdb.compile/compile-setjmp.exp: New file.
14432 * gdb.compile/compile-shlib.c: New file.
14433 * gdb.compile/compile.c: New file.
14434 * gdb.compile/compile.exp: New file.
14435 * lib/gdb.exp (skip_compile_feature_tests): New proc.
14436
14437 2014-12-12 Tom Tromey <tromey@redhat.com>
14438
14439 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
14440 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
14441
14442 2014-12-12 Doug Evans <dje@google.com>
14443
14444 * lib/gdb-python.exp (get_python_valueof): New function.
14445 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
14446
14447 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
14448
14449 * gdb.base/completion.exp: Add test for completion of "info
14450 registers ".
14451
14452 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
14453
14454 * gdb.base/func-ptrs.c: New file.
14455 * gdb.base/func-ptrs.exp: New file.
14456
14457 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14458
14459 PR breakpoints/17012
14460 * gdb.base/dprintf-detach.c: New file.
14461 * gdb.base/dprintf-detach.exp: New file.
14462
14463 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
14464
14465 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
14466 * lib/gdb.exp (target_is_gdbserver): New procedure.
14467
14468 2014-12-08 Doug Evans <dje@google.com>
14469
14470 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
14471
14472 2014-12-05 Yao Qi <yao@codesourcery.com>
14473
14474 * gdb.guile/scm-error.exp: Remove the third argument to
14475 gdb_remote_download.
14476 * gdb.guile/scm-frame-args.exp: Likewise.
14477 * gdb.guile/scm-section-script.exp: Likewise.
14478
14479 2014-12-05 Yao Qi <yao@codesourcery.com>
14480
14481 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
14482
14483 2014-12-04 Doug Evans <dje@google.com>
14484
14485 * gdb.python/py-objfile.exp: Add tests for
14486 objfile.add_separate_debug_file.
14487
14488 2014-12-04 Doug Evans <dje@google.com>
14489
14490 * lib/gdb.exp (get_build_id): New function.
14491 (build_id_debug_filename_get): Rewrite to use it.
14492 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
14493
14494 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
14495
14496 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
14497 `method(long)', not just 0x0.
14498 * gdb.cp/nsalias.exp: Align code labels to 4.
14499 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
14500 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
14501 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
14502 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
14503 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
14504 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
14505
14506 2014-12-02 Doug Evans <dje@google.com>
14507
14508 PR symtab/17602
14509 * gdb.cp/anon-ns.cc: Move guts of this file to ...
14510 * gdb.cp/anon-ns2.cc: ... here. New file.
14511 * gdb.cp/anon-ns.exp: Update.
14512
14513 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
14514
14515 * gdb.python/py-events.py (inferior_call_handler): New.
14516 (register_changed_handler, memory_changed_handler): New.
14517 (test_events.invoke): Register new handlers.
14518 * gdb.python/py-events.exp: Add tests for inferior call,
14519 memory_changed and register_changed events.
14520
14521 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
14522
14523 * gdb.base/execl-update-breakpoints.exp: Specify the link address
14524 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
14525 if the linker doesn't understand this.
14526
14527 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
14528
14529 * gdb.python/python.exp: Change expected reply to help().
14530
14531 2014-12-01 Yao Qi <yao@codesourcery.com>
14532
14533 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
14534 AC_CONFIG_SUBDIRS(gdb.gdbtk).
14535 * configure: Re-generated.
14536
14537 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
14538
14539 * gdb.cp/chained-calls.cc: New file.
14540 * gdb.cp/chained-calls.exp: New file.
14541 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
14542
14543 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
14544
14545 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
14546 * gdb.dwarf2/symtab-producer.exp: Same.
14547 * gdb.gdb/python-interrupts.exp: Same.
14548 * gdb.gdb/python-selftest.exp: Same.
14549 * gdb.python/py-linetable.exp: Same.
14550 * gdb.python/py-type.exp: Same.
14551 * gdb.python/py-value-cc.exp: Same.
14552 * gdb.python/py-value.exp: Same.
14553
14554 2014-11-28 Yao Qi <yao@codesourcery.com>
14555
14556 * gdb.base/break-probes.exp: Match library name prefixed with
14557 sysroot.
14558
14559 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
14560
14561 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
14562 test expected output. Add parentheses for the call to print.
14563 Remove L suffix from integers.
14564
14565 2014-11-26 Doug Evans <dje@google.com>
14566
14567 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
14568
14569 2014-11-22 Yao Qi <yao@codesourcery.com>
14570
14571 * gdb.trace/entry-values.c: Remove asms.
14572 (foo): Add foo_label.
14573 (bar): Add bar_label.
14574 * gdb.trace/entry-values.exp: Remove code computing foo's
14575 length and bar's length.
14576 (Dwarf::assemble): Invoke function_range for bar and use
14577 MACRO_AT_func for foo.
14578
14579 2014-11-22 Yao Qi <yao@codesourcery.com>
14580
14581 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
14582 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
14583 Use .Lgcc43_procstart instead of gcc43.
14584
14585 2014-11-21 Joel Brobecker <brobecker@adacore.com>
14586
14587 * gdb.ada/n_arr_bound: New testcase.
14588
14589 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
14590
14591 PR breakpoints/10737
14592 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
14593 test_catch_syscall_multi_arch.
14594 (test_catch_syscall_multi_arch): New function.
14595
14596 2014-11-20 Doug Evans <xdje42@gmail.com>
14597
14598 * gdb.base/maint.exp: Update expected output.
14599
14600 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
14601
14602 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
14603 4-byte instruction on S390.
14604
14605 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14606
14607 * gdb.ada/arr_arr: New testcase.
14608
14609 2014-11-19 Joel Brobecker <brobecker@adacore.com>
14610
14611 * gdb.ada/pkd_arr_elem: New Testcase.
14612
14613 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
14614
14615 * gdb.reverse/break-precsave: Expect completion message for
14616 core file reads.
14617 * gdb.reverse/consecutive-precsave.exp: Likewise.
14618 * gdb.reverse/finish-precsave.exp: Likewise.
14619 * gdb.reverse/i386-precsave.exp: Likewise.
14620 * gdb.reverse/machinestate-precsave.exp: Likewise.
14621 * gdb.reverse/sigall-precsave.exp: Likewise.
14622 * gdb.reverse/solib-precsave.exp: Likewise.
14623 * gdb.reverse/step-precsave.exp: Likewise.
14624 * gdb.reverse/until-precsave.exp: Likewise.
14625 * gdb.reverse/watch-precsave.exp: Likewise.
14626
14627 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14628
14629 * gdb.base/bp-permanent.c: Include unistd.h.
14630 * gdb.python/py-framefilter-mi.c (main): Add return type.
14631 * gdb.python/py-framefilter.c (main): Likewise.
14632 * gdb.trace/actions-changed.c (main): Likewise.
14633
14634 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14635
14636 * gdb.mi/until.c: Add eye-catchers.
14637 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
14638 line numbers.
14639
14640 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
14641
14642 * gdb.base/condbreak.exp: Drop references to removed non-prototype
14643 function header variants in break1.c.
14644 * gdb.base/ena-dis-br.exp: Likewise.
14645 * gdb.base/hbreak2.exp: Likewise.
14646 * gdb.reverse/until-precsave.exp: Drop references to removed
14647 non-prototype function header variants in ur1.c.
14648 * gdb.reverse/until-reverse.exp: Likewise.
14649
14650 2014-11-17 Petr Machata <pmachata@redhat.com>
14651
14652 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
14653 ${_cu_offset_size} bytes abbrev offset.
14654
14655 2014-11-15 Doug Evans <xdje42@gmail.com>
14656
14657 PR symtab/17559
14658 * gdb.base/line-symtabs.exp: New file.
14659 * gdb.base/line-symtabs.c: New file.
14660 * gdb.base/line-symtabs.h: New file.
14661
14662 2014-11-14 Yao Qi <yao@codesourcery.com>
14663
14664 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
14665 (func): Add label func_label.
14666 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
14667 Replace low_pc and high_pc with MACRO_AT_range.
14668 Replace name, low_pc and high_pc with MACRO_AT_func.
14669
14670 2014-11-14 Yao Qi <yao@codesourcery.com>
14671
14672 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
14673 Replace name, low_pc and high_pc with MACRO_AT_func.
14674
14675 2014-11-14 Yao Qi <yao@codesourcery.com>
14676
14677 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
14678 produce debug information.
14679 * gdb.dwarf2/implptr-optimized-out.S: Removed.
14680
14681 2014-11-14 Yao Qi <yao@codesourcery.com>
14682
14683 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
14684 object and get function length.
14685 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
14686 with MACRO_AT_func.
14687 (top-level): Replace gdb_compile and clean_restart with
14688 prepare_for_testing.
14689 * gdb.dwarf2/main.c (main): Add label main_label.
14690
14691 2014-11-14 Yao Qi <yao@codesourcery.com>
14692
14693 * lib/dwarf.exp (function_range): New procedure.
14694 (Dwarf::_handle_macro_at_func): New procedure.
14695 (Dwarf::_handle_macro_at_range): New procedure.
14696 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
14697
14698 2014-11-14 Yao Qi <yao@codesourcery.com>
14699
14700 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
14701 (_handle_attribute): New procedure.
14702
14703 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14704
14705 * gdb.ada/cond_lang/foo.c (callme): Add return type.
14706 * gdb.base/call-sc.c (zed): Likewise.
14707 * gdb.base/checkpoint.c (main): Likewise.
14708 * gdb.base/dump.c (main): Likewise.
14709 * gdb.base/gcore.c (main): Likewise.
14710 * gdb.base/huge.c (main): Likewise.
14711 * gdb.base/multi-forks.c (main): Likewise.
14712 * gdb.base/pr10179-a.c (main): Likewise.
14713 * gdb.base/savedregs.c (main): Likewise.
14714 * gdb.base/sigaltstack.c (main): Likewise.
14715 * gdb.base/siginfo.c (main): Likewise.
14716 * gdb.base/structs.c (zed): Likewise.
14717 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
14718 * gdb.mi/mi-syn-frame.c (main): Likewise.
14719 * gdb.mi/until.c (foo, main): Likewise.
14720 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
14721 * gdb.base/solib-weak.c (foo): Declare.
14722 * gdb.base/attach-twice.c: Include stdio.h.
14723 * gdb.base/weaklib1.c: Likewise.
14724 * gdb.base/weaklib2.c: Likewise.
14725 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
14726 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
14727 unistd.h.
14728 * gdb.base/attach-pie-misread.c: Include stdlib.h.
14729 * gdb.mi/mi-exit-code.c: Likewise.
14730 * gdb.base/break-interp-lib.c: Include string.h.
14731 * gdb.base/coremaker.c: Likewise.
14732 * gdb.base/testenv.c: Likewise.
14733 * gdb.python/py-finish-breakpoint.c: Likewise.
14734 * gdb.base/inferior-died.c: Include sys/wait.h.
14735 * gdb.base/fileio.c: Include time.h.
14736 * gdb.base/async-shell.c: Include unistd.h.
14737 * gdb.base/dprintf-non-stop.c: Likewise.
14738 * gdb.base/info-os.c: Likewise.
14739 * gdb.mi/mi-console.c: Likewise.
14740 * gdb.mi/watch-nonstop.c: Likewise.
14741 * gdb.python/py-events.c: Likewise.
14742 * gdb.base/async.c (baz): Move up before its invocation.
14743 * gdb.base/code_elim2.c (my_global_func): Likewise.
14744 * gdb.base/skip-solib-lib.c (multiply): Likewise.
14745 * gdb.base/advance.c (func2): Likewise.
14746
14747 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14748
14749 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
14750 variant.
14751 * gdb.base/annota3.c: Likewise.
14752 * gdb.base/async.c: Likewise.
14753 * gdb.base/average.c: Likewise.
14754 * gdb.base/call-ar-st.c: Likewise.
14755 * gdb.base/call-rt-st.c: Likewise.
14756 * gdb.base/call-sc.c: Likewise.
14757 * gdb.base/call-strs.c: Likewise.
14758 * gdb.base/ending-run.c: Likewise.
14759 * gdb.base/execd-prog.c: Likewise.
14760 * gdb.base/exprs.c: Likewise.
14761 * gdb.base/foll-exec.c: Likewise.
14762 * gdb.base/foll-fork.c: Likewise.
14763 * gdb.base/foll-vfork.c: Likewise.
14764 * gdb.base/funcargs.c: Likewise.
14765 * gdb.base/gcore.c: Likewise.
14766 * gdb.base/jump.c: Likewise.
14767 * gdb.base/langs0.c: Likewise.
14768 * gdb.base/langs1.c: Likewise.
14769 * gdb.base/langs2.c: Likewise.
14770 * gdb.base/mips_pro.c: Likewise.
14771 * gdb.base/nodebug.c: Likewise.
14772 * gdb.base/opaque0.c: Likewise.
14773 * gdb.base/opaque1.c: Likewise.
14774 * gdb.base/recurse.c: Likewise.
14775 * gdb.base/run.c: Likewise.
14776 * gdb.base/scope0.c: Likewise.
14777 * gdb.base/scope1.c: Likewise.
14778 * gdb.base/setshow.c: Likewise.
14779 * gdb.base/setvar.c: Likewise.
14780 * gdb.base/shmain.c: Likewise.
14781 * gdb.base/shr1.c: Likewise.
14782 * gdb.base/shr2.c: Likewise.
14783 * gdb.base/sigall.c: Likewise.
14784 * gdb.base/signals.c: Likewise.
14785 * gdb.base/so-indr-cl.c: Likewise.
14786 * gdb.base/solib2.c: Likewise.
14787 * gdb.base/structs.c: Likewise.
14788 * gdb.base/sum.c: Likewise.
14789 * gdb.base/vforked-prog.c: Likewise.
14790 * gdb.base/watchpoint.c: Likewise.
14791 * gdb.reverse/shr2.c: Likewise.
14792 * gdb.reverse/until-reverse.c: Likewise.
14793 * gdb.reverse/ur1.c: Likewise.
14794 * gdb.reverse/watch-reverse.c: Likewise.
14795
14796 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14797
14798 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
14799 variant.
14800 * gdb.base/sepdebug.exp: Drop references to removed code.
14801
14802 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14803
14804 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
14805 variant. Preserve original line numbering.
14806 * gdb.base/list1.c: Likewise.
14807
14808 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14809
14810 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
14811 variant.
14812 * gdb.base/break1.c: Likewise.
14813 * gdb.base/break.exp: Drop references to removed code.
14814
14815 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14816
14817 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
14818 variant.
14819
14820 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14821
14822 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
14823
14824 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14825
14826 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
14827 logic into perform_all_tests() and invoke it with and without
14828 function header prototypes.
14829 (do_function_calls): Remove conditional XFAIL for PR 5318.
14830 (rerun_and_prepare): Remove duplicate code.
14831 (perform_all_tests): New. Main logic moved here.
14832
14833 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14834
14835 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
14836 code guarded by #ifdef NO_PROTOTYPES.
14837 (t_double_many_args): Likewise.
14838 (DEF_FUNC_MANY_ARGS_1): Likewise.
14839 (DEF_FUNC_VALUES_1): Likewise.
14840 (t_structs_ldc): Renamed from t_structs_fc in conditional code
14841 guarded by #ifdef PROTOTYPES.
14842
14843 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14844
14845 * gdb.mi/mi-console.c: Add eye-catcher.
14846 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
14847 instead of literal line number.
14848
14849 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14850
14851 * gdb.base/shr2.c: Add eye-catcher.
14852 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
14853 line number.
14854
14855 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14856
14857 * gdb.base/jump.c: Add eye-catchers.
14858 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
14859 numbers.
14860
14861 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14862
14863 * gdb.base/execd-prog.c: Add eye-catchers.
14864 * gdb.base/foll-exec.c: Likewise.
14865 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
14866 line numbers.
14867
14868 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14869
14870 * gdb.base/ending-run.c: Add eye-catchers.
14871 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
14872 literal line numbers.
14873
14874 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14875
14876 * gdb.base/call-rt-st.c: Add eye-catchers.
14877 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
14878 literal line numbers.
14879
14880 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14881
14882 * gdb.base/call-ar-st.c: Add eye-catchers.
14883 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
14884 literal line numbers.
14885
14886 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14887
14888 * gdb.base/average.c: Add eye-catchers.
14889 * gdb.base/sum.c: Likewise.
14890 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
14891 regexps dynamically.
14892
14893 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
14894
14895 * gdb.base/solib1.c: Add eye-catchers.
14896 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
14897 literal line numbers.
14898
14899 2014-11-12 Pedro Alves <palves@redhat.com>
14900
14901 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
14902 leader has exited.
14903
14904 2014-11-12 Pedro Alves <palves@redhat.com>
14905
14906 * gdb.arch/i386-bp_permanent.c: New file.
14907 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
14908 (srcfile): Set to i386-bp_permanent.c.
14909 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
14910 that stepi does not execute the 'leave' instruction, instead of
14911 testing it does execute.
14912 * gdb.base/bp-permanent.c: New file.
14913 * gdb.base/bp-permanent.exp: New file.
14914
14915 2014-11-10 Doug Evans <xdje42@gmail.com>
14916
14917 PR symtab/17564
14918 * gdb.base/symtab-search-order.exp: New file.
14919 * gdb.base/symtab-search-order.c: New file.
14920 * gdb.base/symtab-search-order-1.c: New file.
14921 * gdb.base/symtab-search-order-shlib-1.c: New file.
14922
14923 2014-11-07 Pedro Alves <palves@redhat.com>
14924
14925 PR gdb/17511
14926 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
14927 i?86-*-linux*.
14928
14929 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
14930
14931 PR c++/17494
14932 * gdb.cp/pr17494.cc: New file.
14933 * gdb.cp/pr17494.exp: New file.
14934
14935 2014-11-02 Yao Qi <yao@codesourcery.com>
14936
14937 * gdb.python/python.exp: Get working directory and match the
14938 output of "set extended-prompt \\w " with it.
14939
14940 2014-10-30 Doug Evans <dje@google.com>
14941
14942 * gdb.python/py-objfile.exp: Add tests for setting random attributes
14943 in objfiles.
14944 * gdb.python/py-progspace.exp: Add tests for setting random attributes
14945 in progspaces.
14946
14947 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
14948
14949 * gdb.base/fullpath-expand.exp: Skip for a remote host.
14950 * gdb.base/realname-expand.exp: Likewise.
14951 * gdb.linespec/macro-relative.exp: Likewise.
14952
14953 2014-10-29 Pedro Alves <palves@redhat.com>
14954
14955 PR gdb/17408
14956 * gdb.threads/schedlock.c (some_function): New function.
14957 (call_function): New global.
14958 (MAYBE_CALL_SOME_FUNCTION): New macro.
14959 (thread_function): Call it.
14960 * gdb.threads/schedlock.exp (get_args): Add description parameter,
14961 and use it instead of a global counter. Adjust all callers.
14962 (get_current_thread): Use "find current thread" for test message
14963 here rather than having all callers pass down the same string.
14964 (goto_loop): New procedure, factored out from ...
14965 (my_continue): ... this.
14966 (step_ten_loops): Change parameter from test message to command to
14967 use. Adjust.
14968 (list_count): Delete global.
14969 (check_result): New procedure, factored out from duplicate top
14970 level code.
14971 (continue tests): Wrap in with_test_prefix.
14972 (test_step): New procedure, factored out from duplicate top level
14973 code.
14974 (top level): Test "step" in combination with all scheduler-locking
14975 modes. Test "next" in combination with all scheduler-locking
14976 modes, and in combination with stepping over a function call or
14977 not.
14978 * gdb.threads/next-bp-other-thread.c: New file.
14979 * gdb.threads/next-bp-other-thread.exp: New file.
14980
14981 2014-10-29 Pedro Alves <palves@redhat.com>
14982
14983 PR python/17372
14984 * gdb.python/python.exp: Test a multi-line command that spawns
14985 interactive Python.
14986 * gdb.base/multi-line-starts-subshell.exp: New file.
14987
14988 2014-10-29 Yao Qi <yao@codesourcery.com>
14989
14990 * gdb.base/fileio.exp: Make directories on host.
14991
14992 2014-10-29 Yao Qi <yao@codesourcery.com>
14993
14994 * gdb.base/fileio.c (test_write): Close the file.
14995
14996 2014-10-28 Pedro Alves <palves@redhat.com>
14997
14998 PR gdb/12623
14999 * gdb.base/sigstep.c (no_handler): New global.
15000 (main): If 'no_handler is true, set the signal handlers to
15001 SIG_IGN.
15002 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
15003 with_sw_watch and no_handler parameters. Handle them.
15004 (top level) <stepping over handler when stopped at a breakpoint
15005 test>: Add a test axis for testing with a software watchpoint, and
15006 another for testing with the signal handler set to SIG_IGN.
15007 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
15008 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
15009
15010 2014-10-28 Pedro Alves <palves@redhat.com>
15011
15012 PR gdb/17511
15013 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
15014 * gdb.base/sigstep.exp (other_handler_location): New global.
15015 (advance): Support stepping into the signal handler, and running
15016 commands while in the handler.
15017 (in_handler_map): New global.
15018 (top level): In the advance test, add combinations for getting
15019 into the handler with stepping commands, and for running commands
15020 in the handler. Add comment descripting the advancei tests.
15021
15022 2014-10-28 Pedro Alves <palves@redhat.com>
15023
15024 * gdb.base/sigstep.exp: Use build_executable instead of
15025 prepare_for_testing.
15026 (top level): Move code that starts GDB, runs to main and creates a
15027 display to ...
15028 (restart): ... this new procedure.
15029 (top level): Move backtrace from signal handler test to ...
15030 (validate_backtrace): ... this new procedure.
15031 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
15032 with_test_prefix. Always restart GDB.
15033 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
15034 with_test_prefix. Always restart GDB. No need to delete
15035 breakpoints after the test.
15036 (test_skip_handler): Remove prefix parameter.
15037 (skip_over_handler, breakpoint_to_handler)
15038 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
15039 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
15040 restart GDB. No need to delete breakpoints after the test.
15041 (top level): Use foreach to call the test procedures with
15042 different commands.
15043
15044 2014-10-28 Pedro Alves <palves@redhat.com>
15045
15046 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
15047 instead of GNATS numbers.
15048 * gdb.base/sigbpt.exp: Likewise.
15049 * gdb.base/siginfo.exp: Likewise.
15050 * gdb.base/sigstep.exp: Likewise.
15051
15052 2014-10-27 Pedro Alves <palves@redhat.com>
15053
15054 * gdb.base/sigstep.c (dummy): New global.
15055 (main): Issue a couple writes to the new global.
15056 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
15057 procedures.
15058 (skip_over_handler): Use test_skip_handler.
15059 (top level): Call skip_over_handler for stepi and nexti too.
15060 (breakpoint_over_handler): Use test_skip_handler.
15061 (top level): Call breakpoint_over_handler for stepi and nexti too.
15062
15063 2014-10-27 Yao Qi <yao@codesourcery.com>
15064
15065 * gdb.trace/tfile.c (adjust_function_address)
15066 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
15067 function descriptor.
15068
15069 2014-10-24 Don Breazeal <donb@codesourcery.com>
15070
15071 * gdb.base/foll-fork.exp (test_follow_fork,
15072 catch_fork_child_follow): Check for updated fork messages emitted
15073 from infrun.c.
15074 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
15075 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
15076 vfork_and_exec_child_follow_through_step): Check for updated vfork
15077 messages emitted from infrun.c.
15078
15079 2014-10-24 Pedro Alves <palves@redhat.com>
15080
15081 * gdb.base/corefile.exp: Remove references to ultrix.
15082 * gdb.base/interrupt.exp: Likewise.
15083 * gdb.base/whatis.exp: Likewise.
15084 * gdb.gdb/selftest.exp: Likewise.
15085 * gdb.threads/manythreads.exp: Likewise.
15086 * gdb.threads/print-threads.exp: Likewise.
15087 * gdb.threads/pthreads.exp:: Likewise.
15088 * gdb.threads/schedlock.exp: Likewise.
15089
15090 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
15091
15092 * gdb.cp/non-trivial-retval.cc: Add a test case.
15093 * gdb.cp/non-trivial-retval.exp: Add a test.
15094
15095 2014-10-20 Yao Qi <yao@codesourcery.com>
15096
15097 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
15098 * gdb.python/py-objfile-script-gdb.py: New file.
15099 * gdb.python/py-objfile-script.exp: Update reference to
15100 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
15101 of remote_download. Remove the dest file.
15102
15103 2014-10-20 Yao Qi <yao@codesourcery.com>
15104
15105 * gdb.base/checkpoint.exp: Don't remove file copied on host.
15106 * gdb.base/step-line.exp: Likewise.
15107 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
15108 * gdb.dwarf2/dw2-basic.exp: Likewise.
15109 * gdb.dwarf2/dw2-compressed.exp: Likewise.
15110 * gdb.dwarf2/dw2-filename.exp: Likewise.
15111 * gdb.dwarf2/dw2-intercu.exp: Likewise.
15112 * gdb.dwarf2/dw2-intermix.exp: Likewise.
15113 * gdb.dwarf2/dw2-producer.exp: Likewise.
15114 * gdb.dwarf2/mac-fileno.exp: Likewise.
15115 * gdb.python/py-frame-args.exp: Likewise.
15116 * gdb.python/py-framefilter.exp: Likewise.
15117 * gdb.python/py-mi.exp: Likewise.
15118 * gdb.python/py-objfile-script.exp: Likewise
15119 * gdb.python/py-pp-integral.exp: Likewise.
15120 * gdb.python/py-pp-re-notag.exp: Likewise.
15121 * gdb.python/py-prettyprint.exp: Likewise.
15122 * gdb.python/py-section-script.exp: Likewise.
15123 * gdb.python/py-typeprint.exp: Likewise.
15124 * gdb.python/py-xmethods.exp: Likewise.
15125 * gdb.stabs/weird.exp: Likewise.
15126 * gdb.xml/tdesc-regs.exp: Likewise.
15127
15128 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
15129
15130 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
15131 (out_cu): Use addr_len for the size of addresses.
15132 (out_line): Likewise. Size DW_LNE_set_address instruction
15133 according to addr_len.
15134 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
15135 (FUNC): Add START_INSNS to definition.
15136
15137 2014-10-18 Yao Qi <yao@codesourcery.com>
15138
15139 * gdb.base/argv0-symlink.exp: Check argv[0] value if
15140 gdb_has_argv0 return true.
15141 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
15142 check [target_info exists noargs], check [gdb_has_argv0]
15143 instead.
15144 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15145 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
15146 procedures.
15147
15148 2014-10-17 Doug Evans <dje@google.com>
15149
15150 * gdb.python/py-events.exp: Update expected output for clear_objfiles
15151 event.
15152 * gdb.python/py-events.py: Add clear_objfiles event.
15153
15154 2014-10-17 Doug Evans <dje@google.com>
15155
15156 * gdb.python/py-objfile.exp: Test progspace attribute.
15157
15158 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
15159
15160 * gdb.guile/scm-breakpoint.exp: Do not assume any
15161 directory separators when matching source file paths.
15162 * gdb.python/py-breakpoint.exp: Likewise.
15163 * gdb.reverse/break-precsave.exp: Likewise.
15164 * gdb.reverse/break-reverse.exp: Likewise.
15165 * gdb.reverse/consecutive-precsave.exp: Likewise.
15166 * gdb.reverse/finish-precsave.exp: Likewise.
15167 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
15168 * gdb.reverse/finish-reverse.exp: Likewise.
15169 * gdb.reverse/i386-precsave.exp: Likewise.
15170 * gdb.reverse/i387-env-reverse.exp: Likewise.
15171 * gdb.reverse/i387-stack-reverse.exp: Likewise.
15172 * gdb.reverse/machinestate-precsave.exp: Likewise.
15173 * gdb.reverse/machinestate.exp: Likewise.
15174 * gdb.reverse/sigall-precsave.exp: Likewise.
15175 * gdb.reverse/solib-precsave.exp: Likewise.
15176 * gdb.reverse/step-precsave.exp: Likewise.
15177 * gdb.reverse/until-precsave.exp: Likewise.
15178 * gdb.reverse/watch-precsave.exp: Likewise.
15179 * gdb.reverse/watch-reverse.exp: Likewise.
15180
15181 2014-10-17 Yao Qi <yao@codesourcery.com>
15182
15183 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
15184 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
15185
15186 2014-10-17 Pedro Alves <palves@redhat.com>
15187
15188 PR gdb/17471
15189 * gdb.base/bg-execution-repeat.c: New file.
15190 * gdb.base/bg-execution-repeat.exp: New file.
15191
15192 2014-10-17 Pedro Alves <palves@redhat.com>
15193
15194 PR gdb/17300
15195 * gdb.base/continue-all-already-running.c: New file.
15196 * gdb.base/continue-all-already-running.exp: New file.
15197
15198 2014-10-17 Pedro Alves <palves@redhat.com>
15199
15200 PR gdb/17472
15201 * gdb.base/annota-input-while-running.c: New file.
15202 * gdb.base/annota-input-while-running.exp: New file.
15203
15204 2014-10-17 Pedro Alves <palves@redhat.com>
15205
15206 * gdb.base/callfuncs.exp: emove references to osf.
15207 * gdb.base/sigall.exp: Likewise.
15208 * gdb.gdb/selftest.exp: Likewise.
15209 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
15210 * gdb.mi/non-stop.c: Likewise.
15211 * gdb.mi/pthreads.c: Likewise.
15212 * gdb.reverse/sigall-precsave.exp: Likewise.
15213 * gdb.reverse/sigall-reverse.exp: Likewise.
15214 * gdb.threads/pthreads.c: Likewise.
15215 * gdb.threads/pthreads.exp: Likewise.
15216
15217 2014-10-17 Yao Qi <yao@codesourcery.com>
15218
15219 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
15220 check 'target_info exists noargs'.
15221 (test_command_prompt_position): Likewise.
15222 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
15223 Remove "set args".
15224 (progvar_simple_while_test): Likewise.
15225 (progvar_complex_if_while_test): Likewise.
15226 (if_while_breakpoint_command_test): Likewise.
15227 (infrun_breakpoint_command_test): Likewise.
15228 (breakpoint_command_test): Likewise.
15229 (watchpoint_command_test): Likewise.
15230 (bp_deleted_in_command_test): Likewise.
15231 (temporary_breakpoint_commands): Likewise.
15232
15233 2014-10-16 Yao Qi <yao@codesourcery.com>
15234
15235 * gdb.base/remotetimeout.exp: Remove noargs checking.
15236
15237 2014-10-15 Pedro Alves <palves@redhat.com>
15238
15239 PR breakpoints/9649
15240 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
15241 * gdb.base/breakpoint-in-ro-region.exp
15242 (probe_target_hardware_step): New procedure.
15243 (top level): Probe hardware stepping and hardware breakpoint
15244 support. Test stepping through a read-only region, with both
15245 "breakpoint auto-hw" on and off and both "always-inserted" on and
15246 off.
15247
15248 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
15249
15250 * gdb.dlang/demangle.exp: Update for demangling changes.
15251
15252 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15253
15254 * gdb.cp/non-trivial-retval.cc: Add new test cases.
15255 * gdb.cp/non-trivial-retval.exp: Add new tests.
15256
15257 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
15258
15259 PR c++/13403
15260 PR c++/15154
15261 * gdb.cp/non-trivial-retval.cc: New file.
15262 * gdb.cp/non-trivial-retval.exp: New file.
15263
15264 2014-10-15 Yao Qi <yao@codesourcery.com>
15265
15266 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
15267 remote host.
15268
15269 2014-10-15 Yao Qi <yao@codesourcery.com>
15270
15271 * gdb.python/py-symbol.exp: Match file base name if host is
15272 remote, otherwise match file name with dir name.
15273 * gdb.python/py-symtab.exp: Likewise.
15274 * gdb.python/python.exp: Likewise.
15275
15276 2014-10-15 Yao Qi <yao@codesourcery.com>
15277
15278 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
15279 pattern.
15280 * gdb.python/py-symtab.exp: Likewise.
15281 * gdb.python/python.exp: Remove trailing ".*". Fix typo
15282 locationn.
15283
15284 2014-10-14 Joel Brobecker <brobecker@adacore.com>
15285
15286 * gdb.ada/addr_arith: New testcase.
15287
15288 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
15289
15290 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
15291 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
15292 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
15293 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
15294
15295 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
15296
15297 * gdb.arch/stap-eval-lang-ada.S: Likewise.
15298 * gdb.arch/stap-eval-lang-ada.c: Likewise.
15299 * gdb.arch/stap-eval-lang-ada.exp: New file.
15300
15301 2014-10-14 Yao Qi <yao@codesourcery.com>
15302
15303 * gdb.mi/mi-var-child.c (nothing1): New function.
15304 (nothing2): New function.
15305 (do_children_tests): Set function pointers by nothing1 and
15306 nothing2.
15307 * gdb.mi/mi-var-child.exp: Step over new added statements.
15308 Update test to match the new output.
15309 * gdb.mi/var-cmd.c (nothing1): New function.
15310 (nothing2): New function.
15311 (do_children_tests): Set function pointers by nothing1 and
15312 nothing2.
15313 * gdb.mi/mi-var-display.exp: Update test to match output.
15314 Step to the line specified by $line_dct_nothing.
15315 Increase the number of lines to step.
15316
15317 2014-10-14 Yao Qi <yao@codesourcery.com>
15318
15319 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
15320 tests.
15321 * gdb.mi/mi2-var-child.exp: Likewise.
15322
15323 2014-10-13 Doug Evans <dje@google.com>
15324
15325 * gdb.python/py-objfile.exp: Change name of file name test.
15326
15327 2014-10-13 Doug Evans <dje@google.com>
15328
15329 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
15330 from the start of the CU.
15331
15332 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
15333 Yao Qi <yao@codesourcery.com>
15334
15335 Fix "save breakpoints" for "catch" command.
15336 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
15337 Remove -nonewline. Match also the added "main" line.
15338
15339 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15340
15341 Fix "save breakpoints" for "disable $bpnum" command.
15342 * gdb.base/save-bp.c (main): Add label.
15343 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
15344
15345 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15346
15347 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
15348
15349 2014-10-11 Yao Qi <yao@codesourcery.com>
15350
15351 * gdb.server/server-kill.exp: Execute command
15352 "set remote trace-status-packet on" before "tstatus".
15353
15354 2014-10-11 Yao Qi <yao@codesourcery.com>
15355
15356 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
15357 (main): Call getppid.
15358 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
15359 and continue to it. Read variable "server_pid".
15360
15361 2014-10-11 Yao Qi <yao@codesourcery.com>
15362
15363 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
15364
15365 2014-10-11 Yao Qi <yao@codesourcery.com>
15366
15367 * gdb.threads/thread-find.exp: Don't execute command
15368 "info threads".
15369 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
15370 * gdb.threads/linux-dp.exp: Don't check the condition
15371 $threads_created equals to zero.
15372
15373 2014-10-10 Pedro Alves <palves@redhat.com>
15374
15375 * gdb.base/bigcore.exp: Remove references to IRIX.
15376 * gdb.base/funcargs.exp: Likewise.
15377 * gdb.base/interrupt.exp: Likewise.
15378 * gdb.base/mips_pro.exp: Likewise.
15379 * gdb.base/nodebug.exp: Likewise.
15380 * gdb.base/setvar.exp: Likewise.
15381 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
15382
15383 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
15384 Pedro Alves <palves@redhat.com>
15385
15386 PR symtab/14466
15387 * gdb.base/vdso-warning.c: New file.
15388 * gdb.base/vdso-warning.exp: New file.
15389
15390 2014-10-02 Doug Evans <dje@google.com>
15391
15392 * gdb.base/structs.c (main): Don't run forever.
15393
15394 2014-10-02 Pedro Alves <palves@redhat.com>
15395
15396 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
15397 (top level) <stop threads 1, stop threads 2>: Use it.
15398
15399 2014-10-02 Pedro Alves <palves@redhat.com>
15400
15401 * gdb.threads/break-while-running.exp (test): Add new
15402 'update_thread_list' argument. Skip "info threads" if false.
15403 (top level): Add new 'update_thread_list' axis.
15404
15405 2014-10-02 Pedro Alves <palves@redhat.com>
15406
15407 PR breakpoints/17431
15408 * gdb.base/execl-update-breakpoints.c: New file.
15409 * gdb.base/execl-update-breakpoints.exp: New file.
15410
15411 2014-10-01 Pedro Alves <palves@redhat.com>
15412
15413 * gdb.base/breakpoint-in-ro-region.c: New file.
15414 * gdb.base/breakpoint-in-ro-region.exp: New file.
15415
15416 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
15417
15418 * gdb.mi/mi-exit-code.exp: New file.
15419 * gdb.mi/mi-exit-code.c: New file.
15420
15421 2014-09-30 Yao Qi <yao@codesourcery.com>
15422
15423 * lib/prelink-support.exp (build_executable_own_libs): Error if
15424 the target isn't native.
15425
15426 2014-09-30 Yao Qi <yao@codesourcery.com>
15427
15428 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
15429 false.
15430
15431 2014-09-22 Pedro Alves <palves@redhat.com>
15432
15433 * gdb.threads/break-while-running.exp: New file.
15434 * gdb.threads/break-while-running.c: New file.
15435
15436 2014-09-19 Yao Qi <yao@codesourcery.com>
15437
15438 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
15439 Invoke test. Restart GDB with --readnow and invoke test again.
15440
15441 2014-09-19 Yao Qi <yao@codesourcery.com>
15442
15443 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
15444 proc set_breakpoint_on_gcd_function. Invoke
15445 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
15446 invoke set_breakpoint_on_gcd_function again.
15447
15448 2014-09-18 Doug Evans <dje@google.com>
15449
15450 * gdb.dwarf2/symtab-producer.exp: New file.
15451
15452 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15453
15454 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
15455 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
15456 * gdb.base/global-var-nested-by-dso.c: Likewise.
15457 * gdb.base/global-var-nested-by-dso.exp: Likewise.
15458
15459 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
15460 Pedro Alves <palves@redhat.com>
15461
15462 * gdb.base/watch-bitfields.exp: Pass string other than test file
15463 name to prepare_for_testing.
15464 (watch): New procedure.
15465 (expect_watchpoint): Use with_test_prefix.
15466 (top level): Factor out tests to ...
15467 (test_watch_location, test_regular_watch): ... these new
15468 procedures, and use with_test_prefix and gdb_continue_to_end.
15469
15470 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
15471
15472 PR breakpoints/12526
15473 * gdb.base/watch-bitfields.exp: New file.
15474 * gdb.base/watch-bitfields.c: New file.
15475
15476 2014-09-16 Pedro Alves <palves@redhat.com>
15477
15478 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
15479 software and hardware addresses, not software address against
15480 itself.
15481
15482 2014-09-16 Pedro Alves <palves@redhat.com>
15483
15484 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
15485 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
15486
15487 2014-09-16 Pedro Alves <palves@redhat.com>
15488
15489 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
15490 files.
15491 * gdb.base/a2-run.exp: Remove all code guarded by istarget
15492 "*-*-vxworks*" throughout.
15493 * gdb.base/break.exp: Likewise.
15494 * gdb.base/default.exp: Likewise.
15495 * gdb.base/scope.exp: Likewise.
15496 * gdb.base/sepdebug.exp: Likewise.
15497 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
15498 throughout.
15499 * gdb.base/run.c: Likewise.
15500 * gdb.base/sepdebug.c: Likewise.
15501 * gdb.hp/gdb.aCC/run.c: Likewise.
15502 * gdb.reverse/until-reverse.c: Likewise.
15503 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
15504
15505 2014-09-16 Yao Qi <yao@codesourcery.com>
15506
15507 * boards/local-remote-host-native.exp: New file.
15508
15509 2014-09-14 Doug Evans <xdje42@gmail.com>
15510
15511 * gdb.threads/queue-signal.c (thread_count): New variable.
15512 (thread_count_mutex, thread_count_condvar): New variables.
15513 (incr_thread_count, wait_all_threads_running): New functions.
15514 (main): Wait for all threads to be in their thread functions.
15515
15516 2014-09-13 Doug Evans <xdje42@gmail.com>
15517
15518 * gdb.threads/queue-signal.c: New file.
15519 * gdb.threads/queue-signal.exp: New file.
15520
15521 2014-09-13 Doug Evans <xdje42@gmail.com>
15522
15523 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
15524 be consistent with what default_gdb_init uses.
15525 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
15526 the plain text of the prompt. Add some logging printfs.
15527 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
15528
15529 2014-09-12 Pedro Alves <palves@redhat.com>
15530
15531 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
15532 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
15533 * gdb.arch/i386-size-overlap.exp: Likewise.
15534 * gdb.arch/i386-size.exp: Likewise.
15535 * gdb.arch/i386-unwind.exp: Likewise.
15536 * gdb.base/a2-run.exp: Likewise.
15537 * gdb.base/break.exp: Likewise.
15538 * gdb.base/charset.exp: Likewise.
15539 * gdb.base/chng-syms.exp: Likewise.
15540 * gdb.base/commands.exp: Likewise.
15541 * gdb.base/dbx.exp: Likewise.
15542 * gdb.base/find.exp: Likewise.
15543 * gdb.base/funcargs.exp: Likewise.
15544 * gdb.base/jit-simple.exp: Likewise.
15545 * gdb.base/reread.exp: Likewise.
15546 * gdb.base/sepdebug.exp: Likewise.
15547 * gdb.base/step-bt.exp: Likewise.
15548 * gdb.cp/mb-inline.exp: Likewise.
15549 * gdb.cp/mb-templates.exp: Likewise.
15550 * gdb.objc/basicclass.exp: Likewise.
15551 * gdb.threads/killed.exp: Likewise.
15552
15553 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
15554
15555 PR tdep/17379
15556 * gdb.arch/powerpc-stackless.S: New file.
15557 * gdb.arch/powerpc-stackless.exp: New file.
15558
15559 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
15560
15561 * gdb.base/attach.c: Include unistd.h.
15562 (main): Call alarm. Add label postloop.
15563 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
15564 gdb_breakpoint, gdb_continue_to_breakpoint.
15565 (test_command_line_attach_run): Kill ${testpid} in one exit path.
15566
15567 2014-09-11 Pedro Alves <palves@redhat.com>
15568
15569 PR gdb/17347
15570 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
15571 * gdb.base/attach.exp (test_command_line_attach_run): New
15572 procedure.
15573 (top level): Call it.
15574
15575 2014-09-11 Pedro Alves <palves@redhat.com>
15576
15577 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
15578 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
15579 (do_command_attach_tests): Use spawn_wait_for_attach.
15580 * gdb.base/solib-overlap.exp: Likewise.
15581 * gdb.multi/multi-attach.exp: Likewise.
15582 * gdb.python/py-prompt.exp: Likewise.
15583 * gdb.python/py-sync-interp.exp: Likewise.
15584 * gdb.server/ext-attach.exp: Likewise.
15585
15586 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
15587
15588 * gdb.fortran/array-element.exp: Remove unexpected "continue"
15589 command in testcase. Simplify testcase.
15590
15591 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15592
15593 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
15594
15595 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15596
15597 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
15598
15599 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15600
15601 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
15602
15603 2014-09-10 Joel Brobecker <brobecker@adacore.com>
15604
15605 * gdb.dwarf2/dynarr-ptr.c: New file.
15606 * gdb.dwarf2/dynarr-ptr.exp: New file.
15607
15608 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15609
15610 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
15611 of 30 rather than hardcoding 120 for a slow test case. Take the
15612 `gdb,timeout' target setting into account for this calculation.
15613 Don't extend the timeout for the test cases that don't need it.
15614
15615 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15616
15617 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
15618 a factor of 2 for a slow test case. Take the `gdb,timeout'
15619 target setting into account for this calculation.
15620 * gdb.reverse/until-precsave.exp: Increase the timeout by
15621 a factor of 15 and 3 respectively rather than adding 120
15622 for a pair of slow test cases. Take the `gdb,timeout'
15623 target setting into account for this calculation.
15624
15625 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15626
15627 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
15628 timeout, don't pass one down to gdb_expect.
15629 (gdb_expect): Rework timeout selection.
15630
15631 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15632
15633 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
15634 exception on timeout.
15635 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
15636 (gdbserver_start_extended): Catch any `gdbserver_start' error
15637 exceptions.
15638 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
15639 * lib/mi-support.exp (mi_gdb_target_load): Catch any
15640 `gdbserver_gdb_load' error exceptions.
15641
15642 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
15643
15644 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
15645 120 on waiting for the TCP socket to open.
15646
15647 2014-09-09 Doug Evans <xdje42@gmail.com>
15648
15649 * gdb.base/default.exp (show_conv_list): Add _caller_is,
15650 _caller_matches, _any_caller_is, _any_caller_matches.
15651
15652 2014-09-09 Doug Evans <xdje42@gmail.com>
15653
15654 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
15655
15656 2014-09-09 Yao Qi <yao@codesourcery.com>
15657
15658 * gdb.mi/mi-var-display.exp: Set print symbol off.
15659
15660 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
15661
15662 PR gdb/17035
15663 * gdb.base/commands.exp: Add tests to verify user-defined
15664 commands with empty bodies.
15665 * gdb.python/py-cmd.exp: Test that we don't show user-defined
15666 python commands in `show user command`.
15667 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
15668 scheme commands in `show user command`.
15669
15670 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
15671
15672 PR python/17355
15673 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
15674 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
15675 * gdb.python/py-framefilter-invalidarg.exp: New file.
15676 * gdb.python/py-framefilter-invalidarg.py: New file.
15677
15678 2014-09-06 Doug Evans <xdje42@gmail.com>
15679
15680 PR 15276
15681 * gdb.python/py-caller-is.c: New file.
15682 * gdb.python/py-caller-is.exp: New file.
15683
15684 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
15685
15686 PR gdb/17235
15687 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
15688 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
15689
15690 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
15691
15692 PR fortran/17237
15693 * gdb.fortran/print-formatted.exp: New file.
15694 * gdb.fortran/print-formatted.f90: Likewise.
15695
15696 2014-09-03 Sasha Smundak <asmundak@google.com>
15697
15698 * gdb.python/py-frame.exp: Test Frame.read_register.
15699
15700 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
15701
15702 PR python/16699
15703 * gdb.python/py-completion.exp: New file.
15704 * gdb.python/py-completion.py: Likewise.
15705
15706 2014-08-28 Doug Evans <dje@google.com>
15707
15708 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
15709 eax,etc. are live with values set by gdb and thus the compiler can't
15710 use them.
15711 * gdb.arch/i386-pseudo.c (main): Ditto.
15712
15713 2014-08-27 Doug Evans <dje@google.com>
15714
15715 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
15716
15717 2014-08-25 Doug Evans <dje@google.com>
15718
15719 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
15720 (main): Ditto.
15721
15722 2014-08-25 Doug Evans <dje@google.com>
15723
15724 * gdb.threads/thread-execl.exp: #include <stdio.h>.
15725
15726 2014-08-24 Yao Qi <yao@codesourcery.com>
15727
15728 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
15729 symbol off.
15730 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
15731
15732 2014-08-22 Doug Evans <dje@google.com>
15733
15734 PR 17276
15735 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
15736 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
15737 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
15738
15739 2014-08-22 Yao Qi <yao@codesourcery.com>
15740
15741 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
15742 * gdb.python/py-finish-breakpoint2.exp: Likewise.
15743 * gdb.python/python.exp: Likewise. Use .py file on the host
15744 instead of the build.
15745
15746 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
15747
15748 * gdb.threads/gcore-stale-thread.c: New file.
15749 * gdb.threads/gcore-stale-thread.exp: New file.
15750
15751 2014-08-21 Pedro Alves <palves@redhat.com>
15752
15753 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
15754 * gdb.base/gcore-relro-pie.exp: Likewise.
15755 * gdb.base/gcore-relro.exp: Likewise.
15756 * gdb.base/gcore.exp: Likewise.
15757 * gdb.base/print-symbol-loading.exp: Likewise.
15758 * gdb.threads/gcore-thread.exp: Likewise.
15759 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
15760
15761 2014-08-20 Pedro Alves <palves@redhat.com>
15762 Jan Kratochvil <jan.kratochvil@redhat.com>
15763
15764 * Makefile.in (EXTRA_RULES, CC): New variables, get from
15765 configure.
15766 (EXPECT): Handle READ1 being set.
15767 (all): Depend on EXTRA_RULES.
15768 (check-read1, expect-read1, read1.so, read1): New rules.
15769 * README (Testsuite Parameters): Document the READ1 make variable.
15770 (Race detection): New section.
15771 * configure: Regenerate.
15772 * configure.ac: If build==host==target, and running under a
15773 GNU/glibc system, add read1 to the extra Makefile rules.
15774 (EXTRA_RULES): AC_SUBST it.
15775 * lib/read1.c: New file.
15776
15777 2014-08-20 Joel Brobecker <brobecker@adacore.com>
15778
15779 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
15780 the handling of variables declared as a typedef to an array
15781 which a DW_AT_data_location attribute.
15782
15783 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
15784 Pedro Alves <palves@redhat.com>
15785
15786 PR symtab/14604
15787 PR symtab/14605
15788 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
15789 gdb_test.
15790
15791 2014-08-19 Pedro Alves <palves@redhat.com>
15792
15793 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
15794
15795 2014-08-19 Yao Qi <yao@codesourcery.com>
15796
15797 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
15798 right line.
15799
15800 2014-08-18 David Blaikie <dblaikie@gmail.com>
15801
15802 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
15803
15804 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15805
15806 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
15807 attribute in array range.
15808
15809 2014-08-18 Joel Brobecker <brobecker@adacore.com>
15810
15811 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
15812
15813 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15814
15815 PR c++/17132
15816 * gdb.cp/pr17132.cc: New file.
15817 * gdb.cp/pr17132.exp: New file.
15818
15819 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
15820
15821 * gdb.python/py-xmethods.py (A_getarrayind)
15822 (E_method_char_worker.__call__, E_method_int_worker.__call__):
15823 Use 'print' with function call syntax.
15824 (E_method_matcher.match): Fix tab vs space indentation mixup.
15825
15826 2014-08-15 Yao Qi <yao@codesourcery.com>
15827
15828 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
15829 false.
15830
15831 2014-08-15 Yao Qi <yao@codesourcery.com>
15832
15833 * gdb.cp/casts.exp: Set print symbol off.
15834 * gdb.cp/class2.exp: Likewise.
15835 * gdb.cp/overload.exp: Likewise.
15836 * gdb.cp/templates.exp: Likewise.
15837
15838 2014-08-11 Doug Evans <dje@google.com>
15839
15840 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
15841 (test_load_shlib): Update.
15842
15843 2014-08-09 Yao Qi <yao@codesourcery.com>
15844
15845 * gdb.base/display.exp: Invoke is_address_zero_readable.
15846 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
15847 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
15848 * gdb.base/hbreak-unmapped.exp: Return if
15849 is_address_zero_readable returns true.
15850 * gdb.base/signest.exp: Likewise.
15851 * gdb.base/signull.exp: Likewise.
15852 * gdb.base/sigbpt.exp: Likewise.
15853 * gdb.guile/scm-disasm.exp: Do the test if
15854 is_address_zero_readable returns false.
15855 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
15856 * gdb.python/py-arch.exp: Likewise.
15857 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
15858 * lib/gdb.exp (is_address_zero_readable): New proc.
15859
15860 2014-08-09 Yao Qi <yao@codesourcery.com>
15861
15862 PR testsuite/13443
15863 * gdb.mi/mi-var-display.exp: Make test messages unique.
15864
15865 2014-08-04 Tom Tromey <tromey@redhat.com>
15866
15867 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
15868 target 0".
15869
15870 2014-08-04 Tom Tromey <tromey@redhat.com>
15871
15872 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
15873 "target_resume".
15874
15875 2014-08-01 Joel Brobecker <brobecker@adacore.com>
15876
15877 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
15878 inner_vla_struct_object_size.
15879 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
15880 as xfail.
15881
15882 2014-07-30 Pedro Alves <palves@redhat.com>
15883
15884 * gdb.threads/signal-command-handle-nopass.exp (test): Add
15885 comment.
15886
15887 2014-07-29 Yao Qi <yao@codesourcery.com>
15888
15889 PR gdb/17206
15890 * gdb.base/until-nodebug.exp: New.
15891
15892 2014-07-28 Doug Evans <xdje42@gmail.com>
15893
15894 PR guile/17203
15895 * gdb.guile/scm-parameter.exp: Add tests for trying to create
15896 previously existing parameter, and previously ambiguously spelled
15897 parameter.
15898
15899 2014-07-28 Will Newton <will.newton@linaro.org>
15900
15901 * gdb.base/varargs.exp: Remove KFAILs for ARM.
15902
15903 2014-07-26 Ludovic Courtès <ludo@gnu.org>
15904 Doug Evans <xdje42@gmail.com>
15905
15906 PR guile/17146
15907 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
15908
15909 2014-07-25 Pedro Alves <palves@redhat.com>
15910
15911 * gdb.threads/signal-command-handle-nopass.c: New file.
15912 * gdb.threads/signal-command-handle-nopass.exp: New file.
15913 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
15914 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
15915 * gdb.threads/signal-delivered-right-thread.c: New file.
15916 * gdb.threads/signal-delivered-right-thread.exp: New file.
15917
15918 2014-07-25 Pedro Alves <palves@redhat.com>
15919
15920 * gdb.base/double-prompt-target-event-error.exp
15921 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
15922 match.
15923 (cancel_pagination_in_target_event): Rework double prompt
15924 detection.
15925 * gdb.base/paginate-after-ctrl-c-running.exp
15926 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
15927 <return>' match.
15928 * gdb.base/paginate-bg-execution.exp
15929 (test_bg_execution_pagination_return)
15930 (test_bg_execution_pagination_cancel): Remove '-notransfer
15931 <return>' matches.
15932 * gdb.base/paginate-execution-startup.exp
15933 (test_fg_execution_pagination_return)
15934 (test_fg_execution_pagination_cancel): Remove '-notransfer
15935 <return>' matches.
15936 * gdb.base/paginate-inferior-exit.exp
15937 (test_paginate_inferior_exited): Remove '-notransfer <return>'
15938 match.
15939 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
15940 * lib/gdb.exp (pagination_prompt): Run text through
15941 string_to_regexp.
15942 (gdb_test_multiple): Match $pagination_prompt instead of
15943 "<return>".
15944 (string_to_regexp): Move to lib/gdb-utils.exp.
15945
15946 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
15947
15948 * gdb.arch/amd64-entry-value-paramref.S: New file.
15949 * gdb.arch/amd64-entry-value-paramref.cc: New file.
15950 * gdb.arch/amd64-entry-value-paramref.exp: New file.
15951 * gdb.arch/amd64-optimout-repeat.S: New file.
15952 * gdb.arch/amd64-optimout-repeat.c: New file.
15953 * gdb.arch/amd64-optimout-repeat.exp: New file.
15954
15955 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
15956
15957 PR gdb/17170
15958 * gdb.base/statistics.exp: New file.
15959
15960 2014-07-17 Doug Evans <dje@google.com>
15961
15962 PR gdb/17170
15963 * gdb.base/maint.exp: Update testing of per-command stats.
15964
15965 2014-07-16 Pedro Alves <palves@redhat.com>
15966
15967 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
15968 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
15969 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
15970 (tfile_write_buf): New functions.
15971 (add_memory_block): Rewrite using the above.
15972 (adjust_function_address): New function.
15973 (FUNCTION_ADDRESS): New macro.
15974 (write_basic_trace_file): Remove short_x local, and use
15975 tfile_write_16. Change type of func_addr local to unsigned long
15976 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
15977 here. Cast argument of add_memory_block to char pointer.
15978 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
15979 (main): Remove parameters.
15980 * gdb.trace/tfile.exp: Remove nowarnings.
15981
15982 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
15983
15984 * gdb.base/debug-expr.exp: Test string evaluation with
15985 "debug expression" on.
15986
15987 2014-07-15 Pedro Alves <palves@redhat.com>
15988
15989 * gdb.base/reread.exp: Use clean_restart.
15990
15991 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
15992
15993 * gdb.arch/avr-flash-qualifer.c: New.
15994 * gdb.arch/avr-flash-qualifer.exp: New.
15995
15996 2014-07-14 Pedro Alves <palves@redhat.com>
15997
15998 * gdb.base/paginate-after-ctrl-c-running.c: New file.
15999 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
16000
16001 2014-07-14 Pedro Alves <palves@redhat.com>
16002
16003 * gdb.base/double-prompt-target-event-error.c: New file.
16004 * gdb.base/double-prompt-target-event-error.exp: New file.
16005
16006 2014-07-14 Pedro Alves <palves@redhat.com>
16007
16008 PR gdb/17072
16009 * gdb.base/paginate-inferior-exit.c: New file.
16010 * gdb.base/paginate-inferior-exit.exp: New file.
16011
16012 2014-07-14 Pedro Alves <palves@redhat.com>
16013
16014 PR gdb/17072
16015 * gdb.base/paginate-bg-execution.c: New file.
16016 * gdb.base/paginate-bg-execution.exp: New file.
16017
16018 2014-07-14 Pedro Alves <palves@redhat.com>
16019
16020 PR gdb/17072
16021 * gdb.base/paginate-execution-startup.c: New file.
16022 * gdb.base/paginate-execution-startup.exp: New file.
16023 * lib/gdb.exp (pagination_prompt): New global.
16024 (default_gdb_spawn): New procedure, factored out from
16025 default_gdb_spawn.
16026 (default_gdb_start): Adjust to call default_gdb_spawn.
16027 (gdb_spawn): New procedure.
16028
16029 2014-07-14 Pedro Alves <palves@redhat.com>
16030
16031 * lib/gdb.exp (gdb_assert): New procedure.
16032 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
16033
16034 2014-07-14 Pedro Alves <palves@redhat.com>
16035
16036 * gdb.base/execution-termios.c: New file.
16037 * gdb.base/execution-termios.exp: New file.
16038
16039 2014-07-14 Tom Tromey <tromey@redhat.com>
16040
16041 * gdb.cp/vla-cxx.cc: New file.
16042 * gdb.cp/vla-cxx.exp: New file.
16043
16044 2014-07-14 Tom Tromey <tromey@redhat.com>
16045
16046 * gdb.reverse/rerun-prec.c: New file.
16047 * gdb.reverse/rerun-prec.exp: New file.
16048
16049 2014-07-12 Maciej W. Rozycki <macro@mips.com>
16050 Maciej W. Rozycki <macro@codesourcery.com>
16051
16052 * lib/gdb-utils.exp: New file.
16053 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
16054 inline `gdb_init_command' processing.
16055 (gdb_start_cmd): Likewise.
16056 * lib/mi-support.exp (mi_run_cmd): Likewise.
16057 * README: Document `gdb_init_command' and `gdb_init_commands'.
16058
16059 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
16060
16061 Fix false FAIL running under a very long directory name.
16062 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
16063 and "set print elements 10000". Twice.
16064
16065 2014-07-11 Yao Qi <yao@codesourcery.com>
16066
16067 * gdb.base/exprs.exp: "set print symbol off".
16068
16069 2014-07-11 Pedro Alves <palves@redhat.com>
16070
16071 * gdb.threads/kill.c: New file.
16072 * gdb.threads/kill.exp: New file.
16073
16074 2014-07-10 Yao Qi <yao@codesourcery.com>
16075
16076 * gdb.trace/tfile.c (write_basic_trace_file)
16077 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
16078 address written to trace file.
16079
16080 2014-07-09 Pedro Alves <palves@redhat.com>
16081
16082 * gdb.base/attach-wait-input.exp: New file.
16083 * gdb.base/attach-wait-input.c: New file.
16084
16085 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
16086
16087 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
16088 setting up test structures.
16089 (main): Call new test function.
16090 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
16091 test function, continue into test function and walk test
16092 structures.
16093
16094 2014-07-02 Yao Qi <yao@codesourcery.com>
16095
16096 * gdb.trace/entry-values.c: Define labels 'foo_start' and
16097 'bar_start' at the beginning of functions 'foo' and 'bar'
16098 respectively.
16099 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
16100 instead of 'foo' and 'bar'.
16101
16102 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
16103
16104 * gdb.btrace/segv.exp: New.
16105 * gdb.btrace/segv.c: New.
16106
16107 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
16108
16109 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
16110 instruction.
16111
16112 2014-06-30 Mark Wielaard <mjw@redhat.com>
16113
16114 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
16115 vulture, vilify, villar): New volatile array constants.
16116 (vindictive, vegetation): New const volatile array constants.
16117 * gdb.base/volatile.exp: Test volatile and const volatile array
16118 types.
16119
16120 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
16121
16122 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
16123 target lacks support for awatch, rwatch, or hbreak.
16124
16125 2014-06-27 Yao Qi <yao@codesourcery.com>
16126
16127 * gdb.multi/dummy-frame-restore.exp: New.
16128 * gdb.multi/dummy-frame-restore.c: New.
16129
16130 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
16131
16132 * gdb.btrace/gcore.exp: New.
16133
16134 2014-06-23 Pedro Alves <palves@redhat.com>
16135
16136 * gdb.base/watchpoint-reuse-slot.c: New file.
16137 * gdb.base/watchpoint-reuse-slot.exp: New file.
16138
16139 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
16140
16141 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
16142 progspace's filename in 'info', 'enable' and 'disable' command
16143 tests.
16144
16145 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
16146
16147 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
16148 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16149 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
16150
16151 2014-06-20 Gary Benson <gbenson@redhat.com>
16152
16153 * gdb.arch/i386-avx.exp: Fix include file location.
16154 * gdb.arch/i386-sse.exp: Likewise.
16155
16156 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
16157
16158 * gdb.dlang/expression.exp: New file.
16159
16160 2014-06-19 Pedro Alves <palves@redhat.com>
16161
16162 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
16163 out from ...
16164 (top level): ... here. Iterate running tests under different
16165 scheduler-locking settings.
16166
16167 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
16168
16169 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
16170 to DW_FORM_addr and use non-zero addresses.
16171
16172 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
16173
16174 PR gdb/17017
16175 * gdb.python/py-xmethods.cc: Add global function call counters and
16176 increment them in their respective functions. Remove "cout"
16177 statements.
16178 * gdb.python/py-xmethods.exp: Make tests check the global function
16179 call counters instead of depending on inferior IO.
16180
16181 2014-06-18 Don Breazeal <donb@codesourcery.com>
16182
16183 * gdb.base/foll-fork.exp (default_fork_parent_follow):
16184 Deleted procedure.
16185 (explicit_fork_parent_follow): Deleted procedure.
16186 (explicit_fork_child_follow): Deleted procedure.
16187 (test_follow_fork): New procedure.
16188 (do_fork_tests): Replace calls to deleted procedures with
16189 calls to test_follow_fork and reset GDB for subsequent
16190 procedure calls.
16191
16192 2014-06-17 Yao Qi <yao@codesourcery.com>
16193
16194 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
16195 CP1252.
16196
16197 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
16198
16199 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
16200 Initialize ptr and S explicitly.
16201 (skip_type_update_when_not_use_rtti_test): Likewise.
16202
16203 2014-06-16 Keith Seitz <keiths@redhat.com>
16204
16205 PR mi/15863
16206 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
16207 the inferior is started.
16208
16209 2014-06-16 Pedro Alves <palves@redhat.com>
16210
16211 * gdb.base/break-main-file-remove-fail.c: New file.
16212 * gdb.base/break-main-file-remove-fail.exp: New file.
16213 * gdb.base/break-unload-file.exp: Use build_executable instead of
16214 prepare_for_testing.
16215 (test_break): New parameter "initial_load". Handle it.
16216 (top level): Add initial_load cmdline/file axis.
16217
16218 2014-06-12 Tom Tromey <tromey@redhat.com>
16219
16220 * gdb.base/completion.exp: Don't use directory name in test.
16221
16222 2014-06-09 Gary Benson <gbenson@redhat.com>
16223
16224 * gdb.base/sigall.c [Functions to send signals]: Reorder to
16225 separate the always-available ANSI-standard signals from the
16226 signals that require checking.
16227 (main): Likewise.
16228 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
16229 Likewise.
16230 (main): Likewise.
16231
16232 2014-06-07 Keith Seitz <keiths@redhat.com>
16233
16234 Revert:
16235 PR c++/16253
16236 * gdb.cp/var-tag.cc: New file.
16237 * gdb.cp/var-tag.exp: New file.
16238 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
16239 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
16240 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
16241 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
16242
16243 2014-06-06 Doug Evans <xdje42@gmail.com>
16244
16245 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
16246
16247 2014-06-06 Pedro Alves <palves@redhat.com>
16248
16249 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
16250 in target debug output instead of looking at RSP packets,
16251 disabling the test on any target that uses hardware stepping.
16252 Update comments.
16253
16254 2014-06-06 Pedro Alves <palves@redhat.com>
16255
16256 * gdb.base/break-unload-file.exp: Fix typo.
16257
16258 2014-06-06 Yao Qi <yao@codesourcery.com>
16259
16260 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
16261 from "jit_function" to "^jit_function".
16262
16263 2014-06-06 Yao Qi <yao@codesourcery.com>
16264
16265 * gdb.base/async.c (foo): Add one statement.
16266 * gdb.base/async.exp: Get the next instruction address and
16267 match the output of "nexti" by instruction address. Match
16268 the hex address in the output of "finish".
16269
16270 2014-06-06 Gary Benson <gbenson@redhat.com>
16271
16272 * gdb.base/call-signals.c: Remove preprocessor conditionals
16273 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
16274 SIGSEGV and SIGTERM.
16275 * gdb.base/sigall.c: Likewise.
16276 * gdb.base/unwindonsignal.c: Likewise.
16277 * gdb.reverse/sigall-reverse.c: Likewise.
16278
16279 2014-06-06 Yao Qi <yao@codesourcery.com>
16280
16281 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
16282 readable, skip the test.
16283
16284 2014-06-06 Yao Qi <yao@codesourcery.com>
16285
16286 * gdb.threads/staticthreads.c (thread_function): Move the line
16287 setting breakpoint on forward.
16288 * gdb.threads/staticthreads.exp: Update comments.
16289
16290 2014-06-05 Ludovic Courtès <ludo@gnu.org>
16291
16292 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
16293 "history-append! type error".
16294
16295 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
16296
16297 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
16298 erroneous dprintf expected input.
16299
16300 2014-06-04 Doug Evans <xdje42@gmail.com>
16301
16302 * gdb.guile/scm-generics.exp: Delete.
16303
16304 2014-06-04 Doug Evans <xdje42@gmail.com>
16305
16306 * gdb.guile/scm-breakpoint.exp: Update.
16307 Add tests for breakpoint registration.
16308
16309 2014-06-04 Tom Tromey <tromey@redhat.com>
16310
16311 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
16312 VLA-in-union.
16313 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
16314 inner_vla_struct, vla_union types. Initialize objects of those
16315 types and compute their sizes.
16316
16317 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
16318 Hui Zhu <hui@codesourcery.com>
16319
16320 * gdb.base/fileio.exp: Add test for shell not available as well as
16321 available.
16322 * gdb.base/fileio.c (test_system): Check for shell twice.
16323
16324 2014-06-04 Yao Qi <yao@codesourcery.com>
16325
16326 * gdb.base/auto-connect-native-target.exp: Remove redundant
16327 space from the regexp pattern.
16328
16329 2014-06-04 Yao Qi <yao@codesourcery.com>
16330
16331 * gdb.base/default.exp: Replace "child" with "native" in
16332 regexp pattern.
16333
16334 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
16335
16336 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
16337 * gdb.python/py-xmethods.exp: New tests to test xmethods.
16338 * gdb.python/py-xmethods.py: Python script supporting the
16339 new testcase and tests.
16340
16341 2014-06-03 Joel Brobecker <brobecker@adacore.com>
16342 Pedro Alves <palves@redhat.com>
16343
16344 PR breakpoints/17000
16345 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
16346 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
16347
16348 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
16349
16350 * gdb.base/subst.exp: Add tests to verify partial path matching
16351 output.
16352
16353 2014-06-03 Pedro Alves <palves@redhat.com>
16354
16355 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
16356 target that doesn't use software single-stepping.
16357
16358 2014-06-03 Pedro Alves <palves@redhat.com>
16359
16360 PR breakpoints/17000
16361 * gdb.base/sss-bp-on-user-bp-2.c: New file.
16362 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
16363
16364 2014-06-02 Doug Evans <xdje42@gmail.com>
16365
16366 * gdb.guile/scm-parameter.exp: New file.
16367
16368 2014-06-02 Doug Evans <xdje42@gmail.com>
16369
16370 * gdb.guile/scm-cmd.c: New file.
16371 * gdb.guile/scm-cmd.exp: New file.
16372
16373 2014-06-02 Doug Evans <xdje42@gmail.com>
16374
16375 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
16376 pretty-printer lookup.
16377 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
16378 (make-pp_s-printer): Call it.
16379 (make-pretty-printer-from-dict): New function.
16380 (lookup-pretty-printer-maker-from-dict): New function.
16381 (*pretty-printer*): Simplify.
16382 (make-objfile-pp_s-printer): New function.
16383 (install-objfile-pretty-printers!): New function.
16384 (make-progspace-pp_s-printer): New function.
16385 (install-progspace-pretty-printers!): New function.
16386 * gdb.guile/scm-progspace.c: New file.
16387 * gdb.guile/scm-progspace.exp: New file.
16388
16389 2014-06-02 Pedro Alves <palves@redhat.com>
16390
16391 * gdb.base/dprintf-bp-same-addr.c: New file.
16392 * gdb.base/dprintf-bp-same-addr.exp: New file.
16393
16394 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
16395
16396 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
16397 * gdb.arch/powerpc-power.s: Likewise.
16398
16399 2014-06-02 Joel Brobecker <brobecker@adacore.com>
16400
16401 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
16402
16403 2014-06-01 Yao Qi <yao@codesourcery.com>
16404
16405 * gdb.base/watchpoint.exp (test_watch_location): Check null
16406 pointer can be dereferenced. If not, do the test, otherwise
16407 skip it.
16408
16409 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16410
16411 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
16412 results.
16413 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
16414
16415 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
16416
16417 * gdb.arch/amd64-invalid-stack-middle.S: New file.
16418 * gdb.arch/amd64-invalid-stack-middle.c: New file.
16419 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
16420 * gdb.arch/amd64-invalid-stack-top.c: New file.
16421 * gdb.arch/amd64-invalid-stack-top.exp: New file.
16422
16423 2014-05-30 Pedro Alves <palves@redhat.com>
16424
16425 PR breakpoints/17000
16426 * gdb.base/sss-bp-on-user-bp.c: New file.
16427 * gdb.base/sss-bp-on-user-bp.exp: New file.
16428
16429 2014-05-30 David Blaikie <dblaikie@gmail.com>
16430
16431 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
16432 gnu_inline semantics via attribute.
16433 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
16434 source explicitly specifies the required semantics.
16435
16436 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
16437
16438 * gdb.reverse/sigall-reverse.exp: Fix a typo.
16439
16440 2014-05-29 Pedro Alves <palves@redhat.com>
16441 Tom Tromey <tromey@redhat.com>
16442
16443 * gdb.base/async-shell.exp: Don't enable target-async.
16444 * gdb.base/async.exp
16445 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
16446 parameter. Adjust.
16447 (top level): Don't test with "target-async".
16448 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
16449 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
16450 * gdb.base/inferior-died.exp: Don't enable target-async.
16451 * gdb.base/interrupt-noterm.exp: Likewise.
16452 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
16453 * gdb.mi/mi-nonstop-exit.exp: Likewise.
16454 * gdb.mi/mi-nonstop.exp: Likewise.
16455 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
16456 * gdb.mi/mi-nsintrall.exp: Likewise.
16457 * gdb.mi/mi-nsmoribund.exp: Likewise.
16458 * gdb.mi/mi-nsthrexec.exp: Likewise.
16459 * gdb.mi/mi-watch-nonstop.exp: Likewise.
16460 * gdb.multi/watchpoint-multi.exp: Adjust comment.
16461 * gdb.python/py-evsignal.exp: Don't enable target-async.
16462 * gdb.python/py-evthreads.exp: Likewise.
16463 * gdb.python/py-prompt.exp: Likewise.
16464 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
16465 * gdb.server/solib-list.exp: Don't enable target-async.
16466 * gdb.threads/thread-specific-bp.exp: Likewise.
16467 * lib/mi-support.exp: Adjust to use mi-async.
16468
16469 2014-05-29 Pedro Alves <palves@redhat.com>
16470
16471 PR gdb/13860
16472 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
16473 reason, even in sync mode.
16474
16475 2014-05-29 Pedro Alves <palves@redhat.com>
16476 Hui Zhu <hui@codesourcery.com>
16477
16478 PR PR15693
16479 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
16480 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
16481 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
16482 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
16483
16484 2014-05-28 Joel Brobecker <brobecker@adacore.com>
16485
16486 * config/monitor.exp (gdb_target_monitor): Replace use of
16487 "set remotebaud" by "set serial baud".
16488
16489 2014-05-26 Andy Wingo <wingo@igalia.com>
16490
16491 * gdb.guile/scm-breakpoint.exp:
16492 * gdb.guile/scm-gsmob.exp: Update to use plain old object
16493 properties instead of gdb-object-properties.
16494
16495 2014-05-26 Yao Qi <yao@codesourcery.com>
16496
16497 * gdb.server/no-thread-db.exp: Specify source file name
16498 explicitly when setting a breakpoint.
16499
16500 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16501
16502 * gdb.btrace/vdso.c: New.
16503 * gdb.btrace/vdso.exp: New.
16504
16505 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16506
16507 * gdb.base/gcore.exp (capture_command_output): Move ...
16508 * lib/gdb.exp (capture_command_output): ... here.
16509
16510 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
16511
16512 * gdb.btrace/data.exp: Test memory access during btrace replay.
16513
16514 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
16515
16516 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
16517
16518 2014-05-21 Pedro Alves <palves@redhat.com>
16519
16520 PR gdb/13860
16521 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
16522 (top level): Test that output related to execution commands is
16523 sent to the console with CLI commands, but not with MI commands.
16524 Test that breakpoint events are always mirrored to the console.
16525 Also expect the new source line to be output after a "next" in
16526 async mode too. Make it a pass/fail test.
16527 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
16528 output.
16529 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
16530
16531 2014-05-21 Pedro Alves <palves@redhat.com>
16532
16533 * gdb.base/list.exp (build_pattern, test_list): New procedures.
16534 Use them to test variations of "list" after reaching a breakpoint.
16535 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
16536 Test "list" with listsize 10 after reaching a breakpoint.
16537 * gdb.python/python.exp (decode_line current location line
16538 number): Adjust expected line number.
16539
16540 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
16541
16542 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
16543 behavior for $args, pass it directly to "run".
16544
16545 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
16546
16547 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
16548 30000 to 65536.
16549
16550 2014-05-21 Pedro Alves <palves@redhat.com>
16551
16552 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
16553 auto-connect-native-target off".
16554 * gdb.base/auto-connect-native-target.c: New file.
16555 * gdb.base/auto-connect-native-target.exp: New file.
16556
16557 2014-05-21 Pedro Alves <palves@redhat.com>
16558
16559 * gdb.base/default.exp: Test "target native" instead of "target
16560 child".
16561
16562 2014-05-21 Mark Wielaard <mjw@redhat.com>
16563
16564 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
16565
16566 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
16567
16568 Fix TLS access for -static -pthread.
16569 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
16570 <HAVE_TLS> (thread_function, main): Initialize it.
16571 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
16572 Add clean_restart.
16573 <$have_tls != "">: Check TLSVAR.
16574
16575 2014-05-21 Pedro Alves <palves@redhat.com>
16576
16577 * gdb.base/dcache-line-read-error.c: New.
16578 * gdb.base/dcache-line-read-error.exp: New.
16579
16580 2014-05-20 Pedro Alves <palves@redhat.com>
16581
16582 * gdb.base/compare-sections.c: New file.
16583 * gdb.base/compare-sections.exp: New file.
16584
16585 2014-05-20 Pedro Alves <palves@redhat.com>
16586
16587 * gdb.base/break-idempotent.c: New file.
16588 * gdb.base/break-idempotent.exp: New file.
16589
16590 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
16591
16592 * gdb.btrace/nohist.exp: New.
16593
16594 2014-05-20 Yao Qi <yao@codesourcery.com>
16595
16596 * lib/gdb.exp (gdb_init): Set timeout if test file is under
16597 gdb.reverse directory and gdb_reverse_timeout exists in board
16598 setting.
16599 * README: Document gdb_reverse_timeout.
16600
16601 2014-05-20 Yao Qi <yao@codesourcery.com>
16602
16603 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
16604 'test_file_name'. Treat args as a string instead of a list.
16605 (gdb_init): Rename argument 'args' by 'test_file_name'.
16606
16607 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
16608
16609 * gdb.arch/powerpc-power.exp: New file.
16610 * gdb.arch/powerpc-power.s: New file.
16611
16612 2014-05-16 Doug Evans <dje@google.com>
16613
16614 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
16615 * gdb.base/completion.exp: Check that all expected files exist
16616 before doing file completion.
16617
16618 2014-05-16 Doug Evans <dje@google.com>
16619
16620 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
16621 Update.
16622 (do_syscall_tests_without_xml): Update.
16623
16624 2014-05-16 Pedro Alves <palves@redhat.com>
16625
16626 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
16627 instead of "unknown output after running".
16628
16629 2014-05-16 Yao Qi <yao@codesourcery.com>
16630
16631 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
16632 file1.txt from host at the end.
16633 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
16634
16635 2014-05-15 Doug Evans <dje@google.com>
16636
16637 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
16638 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
16639 loading file. Add test for TU lookup.
16640
16641 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16642
16643 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
16644 calling "-exec-arguments" or "set args" before running the
16645 inferior.
16646
16647 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
16648
16649 * lib/mi-support.exp (mi_expect_stop): Expect message for
16650 inferiors that exit with non-zero exit code.
16651
16652 2014-05-14 Yao Qi <yao@codesourcery.com>
16653
16654 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
16655 match absolute path on remote host.
16656 (test_file_list_exec_source_files): Remove "/" from the
16657 pattern.
16658
16659 2014-05-14 Yao Qi <yao@codesourcery.com>
16660
16661 * boards/local-remote-host-notty.exp (${board}_file): New
16662 proc.
16663
16664 2014-05-07 Kyle McMartin <kyle@redhat.com>
16665
16666 Pushed by Joel Brobecker <brobecker@adacore.com>.
16667 * gdb.arch/aarch64-atomic-inst.c: New file.
16668 * gdb.arch/aarch64-atomic-inst.exp: New file.
16669
16670 2014-05-07 Yao Qi <yao@codesourcery.com>
16671
16672 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
16673 in current context" too.
16674
16675 2014-05-05 Keith Seitz <keiths@redhat.com>
16676
16677 * gdb.linespec/ls-dollar.exp: Add test for linespec
16678 file:convenience_variable.
16679
16680 2014-05-05 Yao Qi <yao@codesourcery.com>
16681
16682 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
16683 traceframes into tfile and ctf trace files. Read data from
16684 trace file and test collected data.
16685 (gdb_collect_locals_test): Likewise.
16686 (gdb_unavailable_registers_test): Likewise.
16687 (gdb_unavailable_floats): Likewise.
16688 (gdb_collect_globals_test): Likewise.
16689 (top-level): Append "ctf" to trace_file_targets if GDB
16690 supports.
16691
16692 2014-05-05 Yao Qi <yao@codesourcery.com>
16693
16694 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
16695 code to ...
16696 (gdb_collect_args_test_1): ... it. New proc.
16697 (gdb_collect_locals_test): Move some code to ...
16698 (gdb_collect_locals_test_1): ... it. New proc.
16699 (gdb_unavailable_registers_test): Move some code to ...
16700 (gdb_unavailable_registers_test_1): ... it. New proc.
16701 (gdb_unavailable_floats): Move some code to ...
16702 (gdb_unavailable_floats_1): ... it. New proc.
16703
16704 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16705
16706 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
16707 probes to test for bitness recognition.
16708 * gdb.arch/amd64-stap-optional-prefix.exp
16709 (test_probe_value_without_reg): New procedure.
16710 Add code to test for different kinds of bitness.
16711
16712 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
16713
16714 PR breakpoints/16889
16715 * gdb.arch/amd64-stap-optional-prefix.S: New file.
16716 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
16717
16718 2014-05-01 Pedro Alves <palves@redhat.com>
16719
16720 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
16721 gdb_file_cmd if no file is specified.
16722 * boards/native-extended-gdbserver.exp (gdb_load): Use the
16723 last_loaded_file to set the remote exec-file.
16724
16725 2014-05-01 Pedro Alves <palves@redhat.com>
16726
16727 * boards/local-remote-host.exp: New file.
16728
16729 2014-05-01 Pedro Alves <palves@redhat.com>
16730
16731 * boards/local-remote-host.exp: Rename to ...
16732 * boards/local-remote-host-notty.exp: ... this.
16733
16734 2014-04-28 Joel Brobecker <brobecker@adacore.com>
16735
16736 * gdb.ada/dyn_arrayidx: New testcase.
16737
16738 2014-04-26 Yao Qi <yao@codesourcery.com>
16739
16740 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
16741 and compute the length of function main. Save it in
16742 $main_length.
16743 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
16744 (top-level): Use gdb_compile to compile objects into
16745 executable and restart GDB. Remove invocation to
16746 prepare_for_testing.
16747
16748 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
16749 Pedro Alves <palves@redhat.com>
16750
16751 PR server/16255
16752 * gdb.multi/multi-attach.c: New file.
16753 * gdb.multi/multi-attach.exp: New file.
16754
16755 2014-04-25 Pedro Alves <palves@redhat.com>
16756
16757 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
16758 user.
16759 (top level): Test that "set remote conditional-breakpoints-packet
16760 off" works as intended.
16761 * gdb.base/dprintf.exp: Test that "set remote
16762 breakpoint-commands-packet off" works as intended.
16763 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
16764 New function.
16765 (top level): Call it.
16766 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
16767 remote fast-tracepoints-packet off" works as intended.
16768 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
16769 * lib/gdb.exp (gdb_is_target_remote): ... here.
16770
16771 2014-04-24 David Blaikie <dblaikie@gmail.com>
16772
16773 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
16774 ensure clang would not discard them.
16775 * gdb.base/gdbvars.c: Ditto.
16776 * gdb.base/memattr.c: Ditto.
16777 * gdb.base/whatis.c: Ditto.
16778 * gdb.python/py-prettyprint.c: Ditto.
16779 * gdb.trace/actions.c: Ditto.
16780 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
16781 ensure clang would not discard it.
16782
16783 2014-04-24 David Blaikie <dblaikie@gmail.com>
16784
16785 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
16786 clang to emit the full definition of type required by the test
16787 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
16788
16789 2014-04-24 David Blaikie <dblaikie@gmail.com>
16790
16791 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
16792 coax Clang into emitting the definition of the type.
16793 * gdb.cp/pr10728-x.h (y): Ditto.
16794 * gdb.cp/pr10728-y.cc (y): Ditto.
16795
16796 2014-04-24 David Blaikie <dblaikie@gmail.com>
16797
16798 * gdb.base/label.exp: XFAIL label related tests under Clang.
16799 * gdb.cp/cplabel.exp: Ditto.
16800 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
16801 under Clang those using labels.
16802
16803 2014-04-25 Yao Qi <yao@codesourcery.com>
16804
16805 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
16806 double_label.
16807 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
16808 partial_label and double_label.
16809
16810 2014-04-24 David Blaikie <dblaikie@gmail.com>
16811
16812 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
16813
16814 2014-04-24 David Blaikie <dblaikie@gmail.com>
16815
16816 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
16817 of the function to work across GCC and Clang.
16818 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
16819 pointer types (const void ** const V void **).
16820
16821 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
16822 Walfred Tedeschi <walfred.tedeschi@intel.com>
16823
16824 * Makefile.in (EXECUTABLES): Added i386-avx512.
16825 * gdb.arch/i386-avx512.c: New file.
16826 * gdb.arch/i386-avx512.exp: Likewise.
16827
16828 2014-04-23 Keith Seitz <keiths@redhat.com>
16829
16830 * lib/mi-support.exp (mi_list_breakpoints): Delete.
16831 (mi_make_breakpoint_table): New procedure.
16832 (mi_create_breakpoint): Use mi_make_breakpoint
16833 and return the result.
16834 (mi_make_breakpoint): New procedure.
16835 (mi_build_kv_pairs): New procedure.
16836
16837 * gdb.mi/mi-break.exp: Remove unused globals,
16838 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
16839 All callers updated.
16840 * gdb.mi/mi-dprintf.exp: Use variable to track command
16841 number.
16842 Update all callers of mi_create_breakpoint and use
16843 mi_make_breakpoint_table.
16844 Remove any unused global variables.
16845 * gdb.mi/mi-nonstop.exp: Likewise.
16846 * gdb.mi/mi-nsintrall.exp: Likewise.
16847 * gdb.mi/mi-nsmoribund.exp: Likewise.
16848 * gdb.mi/mi-nsthrexec.exp: Likewise.
16849 * gdb.mi/mi-reverse.exp: Likewise.
16850 * gdb.mi/mi-simplerun.exp: Likewise.
16851 * gdb.mi/mi-stepn.exp: Likewise.
16852 * gdb.mi/mi-syn-frame.exp: Likewise.
16853 * gdb.mi/mi-until.exp: Likewise.
16854 * gdb.mi/mi-var-cp.exp: Likewise.
16855 * gdb.mi/mi-var-display.exp: Likewise.
16856 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
16857 * gdb.mi/mi2-var-child.exp: Likewise.
16858 * gdb.mi/mi-vla-c99.exp: Likewise.
16859 * lib/mi-support.exp: Likewise.
16860
16861 From Ian Lance Taylor <iant@cygnus.com>:
16862 * lib/gdb.exp (parse_args): New procedure.
16863
16864 2014-04-23 Pedro Alves <palves@redhat.com>
16865
16866 * gdb.base/break-unload-file.c: New file.
16867 * gdb.base/break-unload-file.exp: New file.
16868 * gdb.base/sym-file-lib.c (baz): New function.
16869 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
16870 field.
16871 (load): Store the segment's mapped size.
16872 (unload): New function.
16873 (unload_shlib): New function.
16874 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
16875 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
16876 set a breakpoint at baz, and call it.
16877 * gdb.base/sym-file.exp: New tests for stale breakpoint
16878 instructions.
16879
16880 2014-04-23 Pedro Alves <palves@redhat.com>
16881
16882 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
16883 * gdb.base/hbreak-in-shr-unsupported.c: New file.
16884 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
16885 * gdb.base/hbreak-unmapped.c: New file.
16886 * gdb.base/hbreak-unmapped.exp: New file.
16887 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
16888 * lib/gdb.exp (gdb_is_target_remote): ... here.
16889
16890 2014-04-22 Pedro Alves <palves@redhat.com>
16891
16892 * gdb.base/consecutive-step-over.c: New file.
16893 * gdb.base/consecutive-step-over.exp: New file.
16894
16895 2014-04-22 Pedro Alves <palves@redhat.com>
16896
16897 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
16898 instead of send_gdb/gdb_expect.
16899
16900 2014-04-22 Yao Qi <yao@codesourcery.com>
16901
16902 * lib/trace-support.exp (generate_tracefile): New procedure.
16903 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
16904 return 0.
16905 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
16906 if generate_tracefile returns 1.
16907
16908 2014-04-18 Tom Tromey <palves@redhat.com>
16909 Pedro alves <tromey@redhat.com>
16910
16911 PR backtrace/15558
16912 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
16913 with a backtrace limit.
16914 * gdb.python/py-frame-inline.exp: Test running to an inline
16915 function with a backtrace limit, and printing the newest frame.
16916 * gdb.python/py-frame-inline.c (main): Call f.
16917
16918 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16919
16920 * gdb.java/jnpe.exp: Drop srcdir from untested path.
16921
16922 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
16923
16924 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
16925 Drop prefix from unsupported source file path.
16926
16927 2014-04-17 Yao Qi <yao@codesourcery.com>
16928
16929 * lib/gdb.exp (with_target_charset): New proc.
16930 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
16931 with_target_charset.
16932 (test_print_strings): Likewise.
16933 (test_repeat_bytes): Likewise.
16934 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
16935 for some tests.
16936
16937 2014-04-16 Keith Seitz <keiths@redhat.com>
16938
16939 PR gdb/15827
16940 * gdb.dwarf2/corrupt.c: New file.
16941 * gdb.dwarf2/corrupt.exp: New file.
16942
16943 2014-04-16 Keith Seitz <keiths@redhat.com>
16944
16945 PR c++/16597
16946 * gdb.cp/namelessclass.cc: New file.
16947 * gdb.cp/namelessclass.exp: New file.
16948 * gdb.cp/namelessclass.S: New file.
16949
16950 2014-04-16 Doug Evans <dje@google.com>
16951
16952 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
16953 Add comment.
16954 (gdbserver_default_get_comm_port): New function.
16955 (gdbserver_start): Check if board file provided
16956 "gdbserver,get_comm_port" and use it if so.
16957 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
16958 (gdb,socketport): Set to "stdio".
16959 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
16960 (stdio_gdbserver_template): Delete.
16961 (${board}_get_remote_address): Update.
16962 (${board}_build_remote_cmd): Delete.
16963 (${board}_get_comm_port): New function.
16964 (${board}_spawn): Update.
16965 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
16966 Delete.
16967 (${board}_get_remote_address): Update.
16968 (${board}_get_comm_port): New function.
16969
16970 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
16971
16972 * gdb.base/memattr.exp: Improve regexps to handle memory regions
16973 appearing in any order.
16974
16975 2014-04-15 Doug Evans <dje@google.com>
16976
16977 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
16978 uninitialized value of "description".
16979
16980 2014-04-15 Keith Seitz <keiths@redhat.com>
16981
16982 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
16983 Remove unused globals.
16984 (test_running_the_program): Likewise.
16985 (test_controlled_execution): Likewise.
16986 (test_controlling_breakpoints): Likewise.
16987 (test_program_termination): Likewise.
16988
16989 2014-04-15 Keith Seitz <keiths@redhat.com>
16990
16991 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
16992 unused globals.
16993 (test_rbreak_creation_and_listing): Likewise.
16994 (test_ignore_count): Likewise.
16995 (test_error): Likewise.
16996
16997 2014-04-15 Pedro Alves <palves@redhat.com>
16998
16999 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
17000 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
17001 sym-file-loader.c.
17002 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17003 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17004 to sym-file-loader.c.
17005 (struct library): Forward declare.
17006 (load_shlib, lookup_function): Change prototypes.
17007 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17008 (translate_offset): Remove declarations.
17009 (get_text_addr): New declaration.
17010 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
17011 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
17012 sym-file-loader.h.
17013 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
17014 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
17015 here from sym-file-loader.h.
17016 (struct library): New structure.
17017 (load_shlib, lookup_function): Change prototypes and adjust to
17018 work with a struct library.
17019 (find_shstrtab, find_strtab, find_shdr, find_symtab)
17020 (translate_offset): Make static.
17021 (get_text_addr): New function.
17022 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
17023
17024 2014-04-15 Pedro Alves <palves@redhat.com>
17025
17026 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
17027
17028 2014-04-15 Pedro Alves <palves@redhat.com>
17029
17030 * gdb.base/sym-file-loader.c: Include <limits.h>.
17031 (SELF_LINK): New define.
17032 (get_origin): New function.
17033 (load_shlib): Use it.
17034 * gdb.base/sym-file.exp: Don't early return if the target is
17035 remote. Use runto_main, and issue fail is that fails. Use
17036 gdb_load_shlibs.
17037 (shlib_name): Delete.
17038 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
17039
17040 2014-04-15 Pedro Alves <palves@redhat.com>
17041
17042 * gdb.base/sym-file.exp: Remove regex characters from test
17043 message. Don't refer to breakpoint numbers in test messages.
17044
17045 2014-04-14 Keith Seitz <keiths@redhat.com>
17046
17047 PR c++/16253
17048 * gdb.cp/var-tag.cc: New file.
17049 * gdb.cp/var-tag.exp: New file.
17050 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
17051 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
17052 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
17053 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
17054
17055 2014-04-14 Tom Tromey <tromey@redhat.com>
17056
17057 * gdb.cp/classes.exp (test_enums): Handle underlying type.
17058 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
17059 type.
17060 * gdb.cp/enum-class.exp: New file.
17061 * gdb.cp/enum-class.cc: New file.
17062
17063 2014-04-14 Tom Tromey <tromey@redhat.com>
17064
17065 * gdb.dwarf2/enum-type.exp: New file.
17066
17067 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17068
17069 * gdb.mi/mi-vla-c99.exp: New file.
17070 * gdb.mi/vla.c: New file.
17071
17072 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17073
17074 * gdb.base/vla-datatypes.c: New file.
17075 * gdb.base/vla-datatypes.exp: New file.
17076
17077 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17078
17079 * gdb.base/vla-ptr.c: New file.
17080 * gdb.base/vla-ptr.exp: New file.
17081
17082 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17083
17084 * gdb.dwarf2/count.exp: New file.
17085
17086 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
17087
17088 * gdb.base/vla-sideeffect.c: New file.
17089 * gdb.base/vla-sideeffect.exp: New file.
17090
17091 2014-04-14 David Blaikie <dblaikie@gmail.com>
17092
17093 * gdb.mi/non-stop.c: Add return value for non-void function return
17094 statement.
17095 * gdb.threads/staticthreads.c: Ditto.
17096
17097 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
17098 Doug Evans <xdje42@gmail.com>
17099
17100 * gdb.guile/scm-value.c: Improve test case.
17101 * gdb.guile/scm-value.exp: Add new test.
17102
17103 2014-04-11 David Blaikie <dblaikie@gmail.com>
17104
17105 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
17106 override Clang's default.
17107
17108 2014-04-11 Joel Brobecker <brobecker@adacore.com>
17109
17110 Revert the following changes (regressions):
17111
17112 * gdb.base/vla-sideeffect.c: New file.
17113 * gdb.base/vla-sideeffect.exp: New file.
17114
17115 * gdb.dwarf2/count.exp: New file.
17116
17117 * gdb.base/vla-multi.c: New file.
17118 * gdb.base/vla-multi.exp: New file.
17119
17120 * gdb.base/vla-ptr.c: New file.
17121 * gdb.base/vla-ptr.exp: New file.
17122
17123 * gdb.base/vla-datatypes.c: New file.
17124 * gdb.base/vla-datatypes.exp: New file.
17125
17126 * gdb.mi/mi-vla-c99.exp: New file.
17127 * gdb.mi/vla.c: New file.
17128
17129 2014-04-11 Keith Seitz <keiths@redhat.com>
17130
17131 PR c++/16675
17132 * gdb.cp/cpsizeof.exp: New file.
17133 * gdb.cp/cpsizeof.cc: New file.
17134
17135 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17136
17137 * gdb.mi/mi-vla-c99.exp: New file.
17138 * gdb.mi/vla.c: New file.
17139
17140 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17141
17142 * gdb.base/vla-datatypes.c: New file.
17143 * gdb.base/vla-datatypes.exp: New file.
17144
17145 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17146
17147 * gdb.base/vla-ptr.c: New file.
17148 * gdb.base/vla-ptr.exp: New file.
17149
17150 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17151
17152 * gdb.base/vla-multi.c: New file.
17153 * gdb.base/vla-multi.exp: New file.
17154
17155 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17156
17157 * gdb.dwarf2/count.exp: New file.
17158
17159 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
17160
17161 * gdb.base/vla-sideeffect.c: New file.
17162 * gdb.base/vla-sideeffect.exp: New file.
17163
17164 2014-04-11 Yao Qi <yao@codesourcery.com>
17165
17166 * gdb.base/completion.exp: Check file exists before running tests
17167 on file completion.
17168
17169 2014-04-10 Pedro Alves <palves@redhat.com>
17170
17171 * gdb.base/cond-eval-mode.c: New file.
17172 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
17173 prepare_for_testing to build the new file. Check result of
17174 runto_main.
17175 (test_break, test_watch): New procedures.
17176 (top level): Use them.
17177
17178 2014-04-08 Pierre Muller <muller@sourceware.org>
17179
17180 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
17181 Ctrl-V use for mingw hosts.
17182
17183 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
17184
17185 * gdb.python/py-value.c: Improve test case.
17186 * gdb.python/py-value.exp: Add new test.
17187
17188 2014-04-07 David Blaikie <dblaikie@gmail.com>
17189
17190 * lib/compiler.c: Identify the clang compiler.
17191 * lib/compiler.cc: Ditto.
17192
17193 2014-04-03 Yao Qi <yao@codesourcery.com>
17194
17195 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
17196
17197 2014-04-01 Anton Blanchard <anton@samba.org>
17198
17199 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
17200 messages unique.
17201
17202 2014-04-01 Anton Blanchard <anton@samba.org>
17203
17204 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
17205 prepare_for_testing.
17206
17207 2014-04-01 Anton Blanchard <anton@samba.org>
17208
17209 * gdb.arch/ppc64-atomic-inst.c: Remove.
17210 * gdb.arch/ppc64-atomic-inst.S: New file.
17211 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
17212
17213 2014-03-31 Doug Evans <dje@google.com>
17214
17215 * gdb.base/print-symbol-loading-lib.c: New file.
17216 * gdb.base/print-symbol-loading-main.c: New file.
17217 * gdb.base/print-symbol-loading.exp: New file.
17218
17219 2014-03-31 Yao Qi <yao@codesourcery.com>
17220
17221 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
17222
17223 2014-03-28 Joel Brobecker <brobecker@adacore.com>
17224
17225 * gdb.ada/mi_dyn_arr: New testcase.
17226
17227 2014-03-27 Doug Evans <dje@google.com>
17228
17229 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
17230
17231 2014-03-27 Yao Qi <yao@codesourcery.com>
17232
17233 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
17234 if target is nios2-*-*.
17235
17236 2014-03-26 Yao Qi <yao@codesourcery.com>
17237
17238 * lib/gdb.exp (readline_is_used): New proc.
17239 * gdb.base/completion.exp: Move tests on command complete up.
17240 Skip the rest of tests if readline is not used.
17241 * gdb.ada/complete.exp: Skp the test if readline is not
17242 used.
17243 * gdb.base/filesym.exp: Likewise.
17244 * gdb.base/macscp.exp: Likewise.
17245 * gdb.base/readline-ask.exp: Likewise.
17246 * gdb.base/readline.exp: Likewise.
17247 * gdb.python/py-cmd.exp: Likewise.
17248 * gdb.trace/tfile.exp: Likewise.
17249
17250 2014-03-26 Yao Qi <yao@codesourcery.com>
17251
17252 * gdb.base/macscp.exp: Fix code format issues.
17253
17254 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
17255
17256 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
17257 * gdb.asm/powerpc64le.inc: New file.
17258
17259 2014-03-25 Pedro Alves <palves@redhat.com>
17260 Doug Evans <dje@google.com>
17261
17262 * gdb.base/source-execution.c: New file.
17263 * gdb.base/source-execution.exp: New file.
17264 * gdb.base/source-execution.gdb: New file.
17265
17266 2014-03-24 Doug Evans <dje@google.com>
17267
17268 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
17269 using fission.
17270
17271 2014-03-24 Hui Zhu <hui@codesourcery.com>
17272 Pedro Alves <palves@redhat.com>
17273
17274 PR breakpoints/16101
17275 * gdb.base/dprintf.exp: Use unsupported rather than changing the
17276 test pass/fail messages. Detect missing support for dprintf when
17277 breakpoints are actually inserted.
17278 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
17279 breakpoints are actually inserted.
17280 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
17281 fails.
17282
17283 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
17284
17285 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
17286
17287 2014-03-22 Doug Evans <xdje42@gmail.com>
17288
17289 * gdb.python/python.exp (python not supported): Verify multi-line
17290 python command issues an error.
17291 * gdb.guile/guile.exp (guile not supported): Verify multi-line
17292 guile command issues an error.
17293
17294 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
17295
17296 * gdb.threads/thread-specific.exp: Handle the lack of usable
17297 $this_breakpoint and $this_thread.
17298
17299 2014-03-21 Hui Zhu <hui@codesourcery.com>
17300
17301 * gdb.base/attach.exp (do_command_attach_tests): New.
17302
17303 2014-03-20 Tom Tromey <tromey@redhat.com>
17304 Pedro Alves <palves@redhat.com>
17305
17306 PR cli/15718
17307 * gdb.base/condbreak-call-false.c: New file.
17308 * gdb.base/condbreak-call-false.exp: New file.
17309
17310 2014-03-20 Pedro Alves <palves@redhat.com>
17311
17312 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
17313 Delete.
17314 (block_signals, unblock_signals): Delete.
17315 (child_function_2, main): Remove references to deleted variable
17316 and functions.
17317
17318 2014-03-20 Pedro Alves <palves@redhat.com>
17319
17320 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
17321 Use pthread_kill to signal thread 2.
17322 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17323 Adjust to make the test send itself a signal rather than using the
17324 host's "kill" command.
17325
17326 2014-03-20 Pedro Alves <palves@redhat.com>
17327
17328 * gdb.threads/multiple-step-overs.c: New file.
17329 * gdb.threads/multiple-step-overs.exp: New file.
17330 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17331 Adjust expected infrun debug output.
17332
17333 2014-03-20 Pedro Alves <palves@redhat.com>
17334
17335 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
17336 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
17337
17338 2014-03-20 Pedro Alves <palves@redhat.com>
17339
17340 PR breakpoints/7143
17341 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
17342 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
17343 of gdb_test_multiple.
17344 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
17345 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
17346
17347 2014-03-20 Pedro Alves <palves@redhat.com>
17348
17349 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
17350 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
17351
17352 2014-03-19 Pedro Alves <palves@redhat.com>
17353
17354 * gdb.base/async.exp: Remove early return.
17355
17356 2014-03-19 Pedro Alves <palves@redhat.com>
17357
17358 * gdb.base/async.exp (step& tests): Pass explicit test messages.
17359
17360 2014-03-19 Pedro Alves <palves@redhat.com>
17361
17362 * gdb.base/async.exp (test_background): Expect \r\n after
17363 "completed." in the fail pattern.
17364
17365 2014-03-19 Pedro Alves <palves@redhat.com>
17366
17367 * gdb.base/async.exp (test_background): New procedure.
17368 Use it for all background execution command tests.
17369
17370 2014-03-19 Pedro Alves <palves@redhat.com>
17371
17372 * gdb.base/async.exp: Use prepare_for_testing.
17373
17374 2014-03-19 Pedro Alves <palves@redhat.com>
17375
17376 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
17377 the same line.
17378
17379 2014-03-19 Pedro Alves <palves@redhat.com>
17380
17381 * gdb.base/async.c (main): Add "jump here" and "until here" line
17382 marker comments.
17383 * gdb.base/async.exp (jump_here): New global.
17384 (jump& test): Use it.
17385 (until_here): New global.
17386 (until& test): Use it.
17387
17388 2014-03-19 Pedro Alves <palves@redhat.com>
17389
17390 * gdb.base/async.exp: Don't frob gdb_protocol.
17391
17392 2014-03-18 Doug Evans <xdje42@gmail.com>
17393
17394 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
17395 Fix spelling of exec-done-display.
17396
17397 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
17398
17399 PR gdb/15358
17400 * gdb.base/gdb-sigterm.c: New file.
17401 * gdb.base/gdb-sigterm.exp: New file.
17402
17403 2014-03-18 Pedro Alves <palves@redhat.com>
17404
17405 PR gdb/13860
17406 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
17407 * lib/mi-support.exp (mi_expect_stop): Add special handling for
17408 solib-event.
17409
17410 2014-03-17 Joel Brobecker <brobecker@adacore.com>
17411
17412 * gdb.ada/pckd_arr_ren: New testcase.
17413
17414 2014-03-13 Doug Evans <xdje42@gmail.com>
17415
17416 PR guile/16612
17417 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
17418 collect after discarding symbols.
17419
17420 2014-03-13 Ludovic Courtès <ludo@gnu.org>
17421 Doug Evans <xdje42@gmail.com>
17422
17423 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
17424 to history survives a gc.
17425
17426 2014-03-13 Pedro Alves <palves@redhat.com>
17427
17428 * gdb.base/default.exp: Don't test "target procfs".
17429
17430 2014-03-13 Pedro Alves <palves@redhat.com>
17431
17432 * gdb.base/default.exp: Update "target child" and "target procfs"
17433 tests to not expect "Unix".
17434
17435 2014-03-12 Tom Tromey <tromey@redhat.com>
17436
17437 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
17438 New procs. Add target-async tests.
17439 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
17440 Add target-async tests.
17441
17442 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17443
17444 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
17445 'func_start' and 'func_end' for the beginning and end of the
17446 function code, respectively.
17447 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
17448 'func_end' instead of 'func' and 'main'.
17449
17450 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17451
17452 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
17453 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
17454 generate the debug info assembler source.
17455
17456 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17457
17458 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
17459 * gdb.dwarf2/arr-subrange.exp: Likewise.
17460 * gdb.dwarf2/dwz.exp: Likewise.
17461 * gdb.dwarf2/method-ptr.exp: Likewise.
17462 * gdb.dwarf2/missing-sig-type.exp: Likewise.
17463 * gdb.dwarf2/subrange.exp: Likewise.
17464 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
17465 * gdb.dwarf2/implptrpiece.exp: Likewise.
17466 * gdb.dwarf2/nostaticblock.exp: Likewise.
17467
17468 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
17469
17470 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
17471 directory to absolute path name arguments.
17472
17473 2014-03-10 Joel Brobecker <brobecker@adacore.com>
17474
17475 * gdb.ada/tagged_access: New testcase.
17476
17477 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
17478
17479 * gdb.btrace/data.exp: Update expected output.
17480
17481 2014-03-06 Yao Qi <yao@codesourcery.com>
17482
17483 * gdb.trace/pr16508.exp: New file.
17484
17485 2014-03-05 Pedro Alves <palves@redhat.com>
17486
17487 PR gdb/16575
17488 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
17489 procedure.
17490 (top level): Adjust to use it. Add tests that exercise breakpoint
17491 interaction with the code-cache.
17492
17493 2014-02-26 Ludovic Courtès <ludo@gnu.org>
17494
17495 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
17496 test for 'history-append!'.
17497
17498 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17499
17500 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
17501 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
17502 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
17503 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
17504 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
17505 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
17506
17507 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17508
17509 * testsuite/gdb.python/py-pp-re-notag.c: New file.
17510 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
17511 * testsuite/gdb.python/py-pp-re-notag.p: New file.
17512
17513 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17514
17515 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
17516
17517 2014-02-26 Joel Brobecker <brobecker@adacore.com>
17518
17519 * gdb.dwarf2/arr-stride.c: New file.
17520 * gdb.dwarf2/arr-stride.exp: New file.
17521
17522 2014-02-26 Pedro Alves <palves@redhat.com>
17523
17524 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
17525 that won't ever trigger. Make sure that GDB reports the correct
17526 breakpoint that caused the stop.
17527
17528 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17529
17530 PR gdb/16626
17531 * gdb.base/auto-load-script: New file.
17532 * gdb.base/auto-load.c: New file.
17533 * gdb.base/auto-load.exp: New file.
17534
17535 PR gdb/16626
17536 * gdb.base/auto-load.exp: Fix out-of-srctree run.
17537
17538 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
17539
17540 Fix dw2-icycle.exp -fsanitize=address GDB crash.
17541 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
17542
17543 2014-02-24 Doug Evans <dje@google.com>
17544
17545 * lib/gdb.exp (run_on_host): Log error output if program fails.
17546
17547 2014-02-21 Pedro Alves <palves@redhat.com>
17548
17549 * gdb.threads/step-after-sr-lock.c: Rename to ...
17550 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
17551 * gdb.threads/step-after-sr-lock.exp: Rename to ...
17552 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
17553 ... this.
17554
17555 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
17556
17557 PR tdep/16397
17558 * gdb.arch/amd64-stap-special-operands.exp: New file.
17559 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
17560 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
17561 * gdb.arch/amd64-stap-triplet.S: Likewise.
17562 * gdb.arch/amd64-stap-triplet.c: Likewise.
17563
17564 2014-02-20 Joel Brobecker <brobecker@adacore.com>
17565
17566 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
17567 in .section pseudo-op.
17568
17569 2014-02-20 lin zuojian <manjian2006@gmail.com>
17570 Joel Brobecker <brobecker@adacore.com>
17571 Doug Evans <xdje42@gmail.com>
17572
17573 PR symtab/16581
17574 * gdb.dwarf2/dw2-icycle.S: New file.
17575 * gdb.dwarf2/dw2-icycle.c: New file.
17576 * gdb.dwarf2/dw2-icycle.exp: New file.
17577
17578 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
17579
17580 * gdb.python/py-value-cc.cc: Improve test case to enable testing
17581 operations on gdb.Value objects.
17582 * gdb.python/py-value-cc.exp: Add new test to test operations on
17583 gdb.Value objects.
17584
17585 2014-02-18 Doug Evans <dje@google.com>
17586
17587 * Makefile.in (TESTS): New variable.
17588 (expanded_tests, expanded_tests_or_none): New variables
17589 (check-single): Pass $(expanded_tests_or_none) to runtest.
17590 (check-parallel): Only run tests in $(TESTS) if non-empty.
17591 (check/no-matching-tests-found): New rule.
17592 * README: Document TESTS makefile variable.
17593
17594 2014-02-18 Doug Evans <dje@google.com>
17595
17596 * Makefile.in (check-parallel): rm -rf outputs temp.
17597
17598 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
17599
17600 Fix "ERROR: no fileid for" in the testsuite.
17601 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
17602
17603 2014-02-12 Doug Evans <dje@google.com>
17604
17605 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
17606 (MISCELLANEOUS): New variable.
17607 (clean): rm -rf $(MISCELLANEOUS).
17608 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
17609 dwp live in the same directory as symlinks, with each symlink pointed
17610 to a differently named file in a different directory.
17611
17612 2014-02-11 Doug Evans <dje@google.com>
17613
17614 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
17615 of Tcl file commands.
17616
17617 2014-02-10 Mark Kettenis <kettenis@gnu.org>
17618
17619 * gdb.threads/step-after-sr-lock.exp: Avoid executing
17620 "kill -SIGUSR1 -1".
17621
17622 2014-02-10 Joel Brobecker <brobecker@adacore.com>
17623
17624 * gdb.ada/tick_length_array_enum_idx: New testcase.
17625
17626 2014-02-10 Doug Evans <xdje42@gmail.com>
17627
17628 * configure.ac (AC_OUTPUT): Add gdb.guile.
17629 * configure: Regenerate.
17630 * lib/gdb-guile.exp: New file.
17631 * lib/gdb.exp (get_target_charset): New function.
17632 * gdb.base/help.exp: Update expected output from "apropos apropos".
17633 * gdb.guile/Makefile.in: New file.
17634 * gdb.guile/guile.exp: New file.
17635 * gdb.guile/scm-arch.c: New file.
17636 * gdb.guile/scm-arch.exp: New file.
17637 * gdb.guile/scm-block.c: New file.
17638 * gdb.guile/scm-block.exp: New file.
17639 * gdb.guile/scm-breakpoint.c: New file.
17640 * gdb.guile/scm-breakpoint.exp: New file.
17641 * gdb.guile/scm-disasm.c: New file.
17642 * gdb.guile/scm-disasm.exp: New file.
17643 * gdb.guile/scm-equal.c: New file.
17644 * gdb.guile/scm-equal.exp: New file.
17645 * gdb.guile/scm-error.exp: New file.
17646 * gdb.guile/scm-error.scm: New file.
17647 * gdb.guile/scm-frame-args.c: New file.
17648 * gdb.guile/scm-frame-args.exp: New file.
17649 * gdb.guile/scm-frame-args.scm: New file.
17650 * gdb.guile/scm-frame-inline.c: New file.
17651 * gdb.guile/scm-frame-inline.exp: New file.
17652 * gdb.guile/scm-frame.c: New file.
17653 * gdb.guile/scm-frame.exp: New file.
17654 * gdb.guile/scm-generics.exp: New file.
17655 * gdb.guile/scm-gsmob.exp: New file.
17656 * gdb.guile/scm-iterator.c: New file.
17657 * gdb.guile/scm-iterator.exp: New file.
17658 * gdb.guile/scm-math.c: New file.
17659 * gdb.guile/scm-math.exp: New file.
17660 * gdb.guile/scm-objfile-script-gdb.in: New file.
17661 * gdb.guile/scm-objfile-script.c: New file.
17662 * gdb.guile/scm-objfile-script.exp: New file.
17663 * gdb.guile/scm-objfile.c: New file.
17664 * gdb.guile/scm-objfile.exp: New file.
17665 * gdb.guile/scm-ports.exp: New file.
17666 * gdb.guile/scm-pretty-print.c: New file.
17667 * gdb.guile/scm-pretty-print.exp: New file.
17668 * gdb.guile/scm-pretty-print.scm: New file.
17669 * gdb.guile/scm-section-script.c: New file.
17670 * gdb.guile/scm-section-script.exp: New file.
17671 * gdb.guile/scm-section-script.scm: New file.
17672 * gdb.guile/scm-symbol.c: New file.
17673 * gdb.guile/scm-symbol.exp: New file.
17674 * gdb.guile/scm-symtab-2.c: New file.
17675 * gdb.guile/scm-symtab.c: New file.
17676 * gdb.guile/scm-symtab.exp: New file.
17677 * gdb.guile/scm-type.c: New file.
17678 * gdb.guile/scm-type.exp: New file.
17679 * gdb.guile/scm-value-cc.cc: New file.
17680 * gdb.guile/scm-value-cc.exp: New file.
17681 * gdb.guile/scm-value.c: New file.
17682 * gdb.guile/scm-value.exp: New file.
17683 * gdb.guile/source2.scm: New file.
17684 * gdb.guile/types-module.cc: New file.
17685 * gdb.guile/types-module.exp: New file.
17686
17687 2014-02-10 Yao Qi <yao@codesourcery.com>
17688
17689 PR testsuite/16543
17690 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
17691 * configure: Regenerated.
17692 * Makefile.in: New file.
17693
17694 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
17695
17696 * gdb.python/py-framefilter.exp: Fix typo.
17697
17698 2014-02-08 Yao Qi <yao@codesourcery.com>
17699
17700 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
17701 that no =breakpoint-modified is emitted when breakpoints are
17702 modified through MI commands.
17703
17704 2014-02-07 Pedro Alves <pedro@codesourcery.com>
17705 Pedro Alves <palves@redhat.com>
17706
17707 * gdb.threads/step-after-sr-lock.c: New file.
17708 * gdb.threads/step-after-sr-lock.exp: New file.
17709
17710 2014-02-07 Pedro Alves <palves@redhat.com>
17711
17712 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
17713
17714 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
17715
17716 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
17717 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
17718
17719 2014-02-06 Doug Evans <xdje42@gmail.com>
17720
17721 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
17722 output.
17723
17724 * gdb.gdb/python-interrupts.exp: New file.
17725
17726 2014-02-05 Yao Qi <yao@codesourcery.com>
17727
17728 * gdb.trace/report.exp (use_collected_data): Test the output
17729 of "info threads" and "info inferiors".
17730
17731 2014-02-05 Yao Qi <yao@codesourcery.com>
17732
17733 Revert this patch:
17734
17735 2013-05-24 Yao Qi <yao@codesourcery.com>
17736
17737 * gdb.trace/tfile.exp: Test inferior and thread.
17738
17739 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17740
17741 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
17742 on a function.
17743 * gdb.base/step-bt.c: Call hello via function pointer to make
17744 sure its first instruction is executed on powerpc64le-linux.
17745
17746 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17747
17748 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
17749
17750 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17751
17752 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
17753 of the test patterns for use on little-endian systems.
17754
17755 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
17756
17757 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
17758 (decimal_vector): Fix for little-endian.
17759
17760 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
17761
17762 * gdb.arch/sparc-sysstep.exp: New file.
17763 * gdb.arch/sparc-sysstep.c: Likewise.
17764
17765 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
17766
17767 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
17768
17769 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
17770
17771 2014-01-23 Tom Tromey <tromey@redhat.com>
17772
17773 * gdb.ada/array_char_idx: New testcase.
17774
17775 2014-01-23 Tom Tromey <tromey@redhat.com>
17776
17777 PR python/16487:
17778 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
17779 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
17780 classes.
17781
17782 2014-01-23 Tom Tromey <tromey@redhat.com>
17783
17784 PR python/16491:
17785 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
17786 string from an inferior frame.
17787 * gdb.python/py-framefilter-mi.exp: Update.
17788
17789 2014-01-22 Doug Evans <dje@google.com>
17790
17791 * gdb.server/server-mon.exp: Add tests for "set debug-format".
17792
17793 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17794
17795 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
17796
17797 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17798
17799 * gdb.trace/entry-values.exp: Remove excess space character from
17800 regex patterns. Handle s390 call instruction.
17801
17802 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17803
17804 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
17805 define "*_start" label. Make "name" static.
17806 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
17807 ${name} by references to ${name}_start.
17808
17809 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
17810
17811 * gdb.base/info-macros.exp: Remove "debug" from the compile
17812 options.
17813
17814 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17815
17816 * gdb.dlang/demangle.exp: New file.
17817
17818 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17819
17820 * gdb.dlang/primitive-types.exp: New file.
17821
17822 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
17823
17824 * configure.ac: Create gdb.dlang/Makefile.
17825 * configure: Regenerate.
17826 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
17827 * gdb.dlang/Makefile.in: New file.
17828 * lib/d-support.exp: New file.
17829 * lib/gdb.exp (skip_d_tests): New proc.
17830
17831 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17832
17833 * gdb.btrace/delta.exp: Check reverse stepi.
17834 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
17835 * gdb.btrace/finish.exp: New.
17836 * gdb.btrace/next.exp: New.
17837 * gdb.btrace/nexti.exp: New.
17838 * gdb.btrace/record_goto.c: Add comments.
17839 * gdb.btrace/step.exp: New.
17840 * gdb.btrace/stepi.exp: New.
17841 * gdb.btrace/multi-thread-step.c: New.
17842 * gdb.btrace/multi-thread-step.exp: New.
17843 * gdb.btrace/rn-dl-bind.c: New.
17844 * gdb.btrace/rn-dl-bind.exp: New.
17845 * gdb.btrace/data.c: New.
17846 * gdb.btrace/data.exp: New.
17847 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17848
17849 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17850
17851 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
17852 * gdb.btrace/exception.exp: Update.
17853 * gdb.btrace/instruction_history.exp: Update.
17854 * gdb.btrace/record_goto.exp: Update.
17855 * gdb.btrace/tailcall.exp: Update.
17856 * gdb.btrace/unknown_functions.exp: Update.
17857 * gdb.btrace/delta.exp: New.
17858
17859 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17860
17861 * gdb.btrace/record_goto.exp: Add backtrace test.
17862 * gdb.btrace/tailcall.exp: Add backtrace test.
17863
17864 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17865
17866 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
17867 * gdb.btrace/record_goto.c: New.
17868 * gdb.btrace/record_goto.exp: New.
17869 * gdb.btrace/x86-record_goto.S: New.
17870
17871 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17872
17873 * gdb.btrace/function_call_history.exp: Update tests.
17874 * gdb.btrace/instruction_history.exp: Update tests.
17875
17876 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17877
17878 * gdb.btrace/function_call_history.exp: Fix expected field
17879 order for "record function-call-history".
17880 Add new tests for "record function-call-history /c".
17881 * gdb.btrace/exception.cc: New.
17882 * gdb.btrace/exception.exp: New.
17883 * gdb.btrace/tailcall.exp: New.
17884 * gdb.btrace/x86-tailcall.S: New.
17885 * gdb.btrace/x86-tailcall.c: New.
17886 * gdb.btrace/unknown_functions.c: New.
17887 * gdb.btrace/unknown_functions.exp: New.
17888 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
17889
17890 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17891
17892 * gdb.btrace/instruction_history.exp: Update.
17893 * gdb.btrace/function_call_history.exp: Update.
17894
17895 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17896
17897 * gdb.btrace/function_call_history.exp: Fix expected function
17898 trace.
17899 * gdb.btrace/instruction_history.exp: Initialize traced.
17900 Remove traced_functions.
17901
17902 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17903
17904 * gdb.btrace/function_call_history.exp: Update
17905 * gdb.btrace/instruction_history.exp: Update.
17906
17907 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
17908
17909 * gdb.btrace/enable.exp: Update expected text.
17910
17911 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
17912
17913 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
17914 bytes.
17915
17916 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
17917
17918 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
17919
17920 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
17921
17922 * lib/gdb.exp (supports_process_record): Return true for
17923 arm*-linux*. (supports_reverse): Likewise.
17924
17925 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
17926
17927 PR python/15464
17928 PR python/16113
17929 * gdb.python/py-type.c: Enhance test case.
17930 * gdb.python/py-value-cc.cc: Likewise
17931 * gdb.python/py-type.exp: Add new tests.
17932 * gdb.python/py-value-cc.exp: Likewise
17933
17934 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
17935 Pedro Alves <palves@redhat.com>
17936
17937 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
17938 Make "name" extern.
17939 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
17940 references to ${name}_start by references to ${name}.
17941
17942 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17943
17944 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
17945
17946 2014-01-10 Joel Brobecker <brobecker@adacore.com>
17947
17948 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
17949
17950 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
17951 Pedro Alves <palves@redhat.com>
17952
17953 * gdb.mi/mi-info-os.exp: Connect to the target with
17954 mi_gdb_target_load.
17955
17956 2014-01-08 Pedro Alves <palves@redhat.com>
17957
17958 * gdb.threads/reconnect-signal.c: New file.
17959 * gdb.threads/reconnect-signal.exp: New file.
17960
17961 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
17962
17963 * gdb.base/source-dir.exp: New file.
17964
17965 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17966
17967 * gdb.ada/mi_interface: New testcase.
17968
17969 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17970
17971 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
17972 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
17973 gdb.ada/pp-rec-component/pck.ads: New files.
17974
17975 2014-01-07 Joel Brobecker <brobecker@adacore.com>
17976
17977 * gdb.python/py-pp-integral.c: New file.
17978 * gdb.python/py-pp-integral.py: New file.
17979 * gdb.python/py-pp-integral.exp: New file.
17980
17981 For older changes see ChangeLog-1993-2013.
17982 \f
17983 ;; Local Variables:
17984 ;; mode: change-log
17985 ;; left-margin: 8
17986 ;; fill-column: 74
17987 ;; version-control: never
17988 ;; End:
17989
17990 Copyright 2014-2019 Free Software Foundation, Inc.
17991 Copying and distribution of this file, with or without modification,
17992 are permitted provided the copyright notice and this notice are preserved.
This page took 0.466141 seconds and 4 git commands to generate.