Fix gdb.rust/simple.rs for more recent compilers
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2018-11-19  Tom Tromey  <tom@tromey.com>
2
3         * gdb.rust/simple.rs: Don't initialize empty_enum_value.
4
5 2018-11-19  Pedro Alves  <palves@redhat.com>
6
7         * gdb.base/warning.exp: Don't override INTERNAL_FLAGS.  Use
8         gdb_spawn_with_cmdline_opts instead of gdb_start.  Check that we
9         see the expected warning.
10
11 2018-11-16  Alan Hayward  <alan.hayward@arm.com>
12
13         PR gdb/22736:
14         * gdb.cp/infcall-nodebug-lib.c: New test.
15         * gdb.cp/infcall-nodebug-main.c: New test.
16         * gdb.cp/infcall-nodebug.exp: New file.
17
18 2018-11-12  Simon Marchi  <simon.marchi@polymtl.ca>
19
20         * gdb.base/skip.exp: Add standard_testfile.  Add "skip delete"
21         completer tests.
22
23 2018-11-09  Tom de Vries  <tdevries@suse.de>
24
25         * gdb.base/msym-lang.c: New test.
26         * gdb.base/msym-lang.exp: New file.
27         * gdb.base/msym-lang-main.c: New test.
28
29 2018-11-08  Tom Tromey  <tom@tromey.com>
30
31         PR gdb/23555:
32         PR gdb/23838:
33         * gdb.base/warning.exp: New file.
34
35 2018-11-08  Jan Beulich  <jbeulich@suse.com>
36
37         * testsuite/gdb.arch/i386-avx512.c,
38         testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
39
40 2018-11-08  Andrew Burgess  <andrew.burgess@embecosm.com>
41
42         * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
43         point hardware.
44
45 2018-11-07  Andrew Burgess  <andrew.burgess@embecosm.com>
46
47         * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
48         * gdb.dwarf2/missing-type-name.exp: New file.
49
50 2018-11-06  Tom de Vries  <tdevries@suse.de>
51
52         * gdb.base/many-headers.c: New test.
53         * gdb.base/many-headers.exp: New file.
54
55 2018-11-06  Jim Wilson  <jimw@sifive.com>
56
57         * gdb.base/code_elim.exp: For riscv, set additional_flags
58         to include -msmall-data-limit=0.
59
60 2018-11-01  Joel Brobecker  <brobecker@adacore.com>
61
62         * gdb.ada/watch_minus_l: New testcase.
63
64 2018-11-01  Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
65
66         * gdb.arch/aix-sighandle.c: New file.
67         * gdb.arch/aix-sighandle.exp: New file.
68
69 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
70
71         * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
72         registers being unions.
73
74 2018-10-31  Tom de Vries  <tdevries@suse.de>
75
76         * lib/valgrind.exp: New file.
77          (vgdb_start, vgdb_stop): New procs, factored out of ...
78         * gdb.base/valgrind-bt.exp: ... here, ...
79         * gdb.base/valgrind-disp-step.exp: ... here and ...
80         * gdb.base/valgrind-infcall.exp: ... here.
81
82 2018-10-31  Tom de Vries  <tdevries@suse.de>
83
84         * lib/gdb.exp (get_valueof): Don't output read value in test name.
85
86 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
87
88         * gdb.dwarf2/void-type.c: New file.
89         * gdb.dwarf2/void-type.exp: New file.
90
91 2018-10-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
92
93         * gdb.base/info_qt.c: New file.
94         * gdb.base/info_qt.exp: New file.
95
96 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
97
98         * gdb.arch/powerpc-htm-regs.c: New file.
99         * gdb.arch/powerpc-htm-regs.exp: New file.
100
101 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
102
103         * gdb.arch/powerpc-tar.c: New file.
104         * gdb.arch/powerpc-tar.exp: New file.
105
106 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
107
108         * gdb.arch/powerpc-ppr-dscr.c: New file.
109         * gdb.arch/powerpc-ppr-dscr.exp: New file.
110
111 2018-10-25  Tom de Vries  <tdevries@suse.de>
112
113         * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
114
115 2018-10-24  Tom de Vries  <tdevries@suse.de>
116
117         * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
118         longer exists error.
119
120 2018-10-24  Tom de Vries  <tdevries@suse.de>
121
122         * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
123
124 2018-10-24  Tom de Vries  <tdevries@suse.de>
125
126         * gdb.base/valgrind-db-attach.exp: Handle removed support for
127         --db-attach in valgrind.
128
129 2018-10-23  Andrew Burgess  <andrew.burgess@embecosm.com>
130
131         * gdb.arch/riscv-reg-aliases.c: New file.
132         * gdb.arch/riscv-reg-aliases.exp: New file.
133
134 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
135
136         * gdb.python/py-cmd.exp: Check for gdb_prompt.
137
138 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
139
140         * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
141
142 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
143
144         * gdb.cp/ovldbreak.exp: Fix regexps.
145
146 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
147
148         * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
149
150 2018-10-18  Sergio Durigan Junior  <sergiodj@redhat.com>
151
152         PR cli/23785
153         * gdb.base/restore.exp: New test to check if "restore" with an
154         invalid file doesn't segfault.
155
156 2018-10-18  Tom de Vries  <tdevries@suse.de>
157
158         * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
159         * gdb.ada/excep_handle.exp: Same.
160         * gdb.ada/mi_string_access.exp: Same.
161         * gdb.ada/mi_var_union.exp: Same.
162         * gdb.arch/arc-analyze-prologue.exp: Same.
163         * gdb.arch/arc-decode-insn.exp: Same.
164         * gdb.base/readnever.exp: Same.
165         * gdb.fortran/printing-types.exp: Same.
166         * gdb.guile/scm-lazy-string.exp: Same.
167
168 2018-10-16  Tom de Vries  <tdevries@suse.de>
169
170         PR gdb/23730
171         * gdb.base/catch-follow-exec.c: Add copyright notice.
172         * gdb.base/catch-follow-exec.exp: Rewrite to use
173         gdb_spawn_with_cmdline_opts.  Require gdb-native.
174
175 2018-10-12  Sandra Loosemore  <sandra@codesourcery.com>
176
177         * gdb.trace/actions-changed.exp: Check for arch support.
178         * gdb.trace/actions.exp: Likewise.
179         * gdb.trace/ax.exp: Likewise.
180         * gdb.trace/backtrace.exp: Likewise.
181         * gdb.trace/change-loc.exp: Likewise.
182         * gdb.trace/deltrace.exp: Likewise.
183         * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
184         * gdb.trace/ftrace.exp: Likewise.
185         * gdb.trace/infotrace.exp: Check for arch support.
186         * gdb.trace/mi-trace-frame-collected.exp: Likewise.
187         * gdb.trace/mi-tracepoint-changed.exp: Likewise.
188         * gdb.trace/mi-tsv-changed.exp: Likewise.
189         * gdb.trace/packetlen.exp: Likewise.
190         * gdb.trace/passc-dyn.exp: Likewise.
191         * gdb.trace/passcount.exp: Likewise.
192         * gdb.trace/pending.exp: Likewise.
193         * gdb.trace/range-stepping.exp: Check for shlib support.
194         * gdb.trace/report.exp: Check for arch support.
195         * gdb.trace/save-trace.exp: Likewise.
196         * gdb.trace/signal.exp: Check for signal support.
197         * gdb.trace/tfind.exp: Check for arch support.
198         * gdb.trace/trace-break.exp: Check for arch and shlib support.
199         * gdb.trace/trace-common.h: Add comment.
200         * gdb.trace/trace-condition.exp: Check for shlib and arch support.
201         * gdb.trace/trace-enable-disable.exp: Likewise.
202         * gdb.trace/trace-mt.exp: Likewise.  Remove redundant untested call.
203         * gdb.trace/tracecmd.exp: Check for arch support.
204         * gdb.trace/tspeed.exp: Check for shlib and target support.
205         * gdb.trace/tstatus.exp: Check for arch support.
206         * gdb.trace/tsv.exp: Likewise.
207         * gdb.trace/while-dyn.exp: Likewise.
208         * gdb.trace/while-stepping.exp: Likewise.
209         * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
210
211 2018-10-12  Simon Marchi  <simon.marchi@ericsson.com>
212
213         * gdb.trace/tspeed.exp: Remove nowarnings.
214         (prepare_for_trace_test): Declare "global ipalib".
215         * gdb.trace/tspeed.c: Include unistd.h.
216         (main): Remove superfluous printf argument.
217
218 2018-10-11  Sandra Loosemore  <sandra@codesourcery.com>
219
220         * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
221         directory prefix on the filename.
222
223 2018-10-10  Sergio Durigan Junior  <sergiodj@redhat.com>
224
225         * gdb.gdb/unittest.exp: Update expected message informing that
226         selftests have been disabled.
227         * gdb.server/unittest.exp: Likewise.
228
229 2018-10-09  Tom de Vries  <tdevries@suse.de>
230
231         * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
232         with runto_main.
233
234 2018-10-08  Weimin Pan  <weimin.pan@oracle.com>
235
236         PR c++/16841
237         * gdb.cp/virtbase2.cc: New file.
238         * gdb.cp/virtbase2.exp: New file.
239
240 2018-10-06  Tom Tromey  <tom@tromey.com>
241
242         PR python/19399:
243         * gdb.python/py-inferior.exp: Add architecture test.
244
245 2018-10-06  Tom Tromey  <tom@tromey.com>
246
247         * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
248         * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
249
250 2018-10-06  Tom Tromey  <tom@tromey.com>
251
252         * gdb.python/py-breakpoint.exp (check_last_event): Check location
253         of a "throw" catchpoint.
254
255 2018-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>
256
257         * gdb.base/info-proc.exp: Update string expected from "help info
258         proc".
259
260 2018-10-04  Tom Tromey  <tom@tromey.com>
261
262         * gdb.cp/maint.exp (test_invalid_name): Update expected output.
263         * gdb.gdb/complaints.exp (test_short_complaints): Remove.
264         (test_initial_complaints, test_empty_complaints): Update.
265         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
266
267 2018-10-04  Tom Tromey  <tom@tromey.com>
268
269         PR cli/19551:
270         * lib/mi-support.exp (mi_gdb_file_cmd): Update.
271         * lib/gdb.exp (gdb_file_cmd): Update.
272         * gdb.stabs/weird.exp (print_weird_var): Update.
273         * gdb.server/solib-list.exp: Update.
274         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
275         * gdb.mi/mi-cli.exp: Update.
276         * gdb.linespec/linespec.exp: Update.
277         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
278         * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
279         * gdb.cp/cp-relocate.exp: Update.
280         * gdb.base/sym-file.exp: Update.
281         * gdb.base/relocate.exp: Update.
282         * gdb.base/readnever.exp: Update.
283         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
284         * gdb.base/kill-detach-inferiors-cmd.exp: Update.
285         * gdb.base/dbx.exp (gdb_file_cmd): Update.
286         * gdb.base/code_elim.exp: Update.
287         * gdb.base/break-unload-file.exp (test_break): Update.
288         * gdb.base/break-interp.exp (test_attach_gdb): Update.
289         * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
290         Update.
291         * gdb.base/attach.exp (do_attach_tests): Update.
292         * gdb.base/sepdebug.exp: Update.
293         * gdb.python/py-section-script.exp: Update.
294
295 2018-10-04  Tom Tromey  <tom@tromey.com>
296
297         PR cli/22234:
298         * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
299         * gdb.gdb/complaints.exp (test_short_complaints): Update expected
300         output.
301
302 2018-10-04  Tom Tromey  <tom@tromey.com>
303
304         * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
305         set width and height to 0.
306         (test_command_line_attach_run): Use -quiet.
307
308 2018-10-03  Sandra Loosemore  <sandra@codesourcery.com>
309
310         * lib/gdb.exp (skip_ifunc_tests): New.
311         * gdb.base/gnu-ifunc.exp: Skip if no ifunc support.  Handle
312         other compile failures.
313         * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
314
315 2018-10-01  Simon Marchi  <simon.marchi@ericsson.com>
316
317         * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
318         is_amd64_regs_target.
319
320 2018-10-01  Alan Hayward  <alan.hayward@arm.com>
321
322         * gdb.arch/aarch64-sighandler-regs.c: New test.
323         * gdb.arch/aarch64-sighandler-regs.exp: New file.
324         * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
325
326 2018-10-01  Markus Metzger  <markus.t.metzger@intel.com>
327
328         * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
329         assembly.
330
331 2018-09-28  Andrew Burgess  <andrew.burgess@embecosm.com>
332
333         * gdb.base/frame-selection.exp: New file.
334         * gdb.base/frame-selection.c: New file.
335
336 2018-09-27  Alan Hayward  <alan.hayward@arm.com>
337
338         * gdb.threads/check-libthread-db.c (thread_routine): Use a
339         pthread barrier.
340         (main): Likewise.
341
342 2018-09-26  Andrew Burgess  <andrew.burgess@embecosm.com>
343
344         * gdb.base/large-frame-1.c: New file.
345         * gdb.base/large-frame-2.c: New file.
346         * gdb.base/large-frame.exp: New file.
347         * gdb.base/large-frame.h: New file.
348
349 2018-09-24  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
350
351         PR gdb/20948
352         * gdb.base/write_mem.exp: New test.
353         * gdb.base/write_mem.c: Likewise.
354
355 2018-09-23  Tom Tromey  <tom@tromey.com>
356
357         PR python/18852:
358         * gdb.python/py-parameter.exp: Add test for parameter that throws
359         on "set".
360
361 2018-09-23  Tom Tromey  <tom@tromey.com>
362
363         PR python/17284:
364         * gdb.python/py-template.exp (test_template_arg): Add test for
365         negative template argument number.
366
367 2018-09-23  Tom Tromey  <tom@tromey.com>
368
369         PR python/14062:
370         * gdb.python/python.exp: Add test for post_event error.
371
372 2018-09-23  Tom Tromey  <tom@tromey.com>
373
374         PR python/18170:
375         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
376         convert pointers to int and long.
377
378 2018-09-23  Tom Tromey  <tom@tromey.com>
379
380         PR python/20126:
381         * gdb.python/py-value.exp (test_value_numeric_ops): Add
382         signed-ness conversion tests.
383
384 2018-09-23  Tom Tromey  <tom@tromey.com>
385
386         PR python/18352;
387         * gdb.python/py-value.exp (test_float_conversion): New proc.
388         Use it.
389
390 2018-09-20  Hafiz Abid Qadeer  <abidh@codesourcery.com>
391
392         gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
393
394 2018-09-18  Sandra Loosemore  <sandra@codesourcery.com>
395
396         * gdb.base/complete-empty.exp: Skip tab-completion tests if
397         no readline.
398         * gdb.base/utf8-identifiers.exp: Likewise.
399         * gdb.cp/cpcompletion.exp: Likewise.
400         * gdb.linespec/cpcompletion.exp: Likewise.
401         * gdb.linespec/cpls-abi-tag.exp: Likewise.
402         * gdb.linespec/cpls-ops.exp: Likewise.
403
404 2018-09-19  Richard Bunt  <richard.bunt@arm.com>
405             Chris January  <chris.january@arm.com>
406
407         * gdb.cp/koenig.exp: Extend to test logical short circuiting.
408         * gdb.fortran/short-circuit-argument-list.exp: New file.
409         * gdb.fortran/short-circuit-argument-list.f90: New test.
410
411 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
412
413         * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
414         "arch=" keyword when executing "-stack-list-frames".
415
416 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
417
418         * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
419         "arch=" keyword when executing "-stack-list-frames".
420
421 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
422
423         * gdb.ada/complete.exp: Expect for "@" when doing "complete
424         break ada".
425
426 2018-09-17  Simon Marchi  <simon.marchi@polymtl.ca>
427
428         PR python/23669
429         * gdb.python/python.exp: Test gdb.execute("show commands").
430
431 2018-09-16  Tom Tromey  <tom@tromey.com>
432
433         * gdb.base/new-ui.exp (do_execution_tests): Update.
434         * gdb.base/dbx.exp (test_breakpoints): Update.
435
436 2018-09-14  Alan Hayward  <alan.hayward@arm.com>
437
438         * lib/gdb.exp (gdb_simple_compile): Add proc.
439         (is_elf_target): Use gdb_simple_compile.
440         (skip_altivec_tests): Likewise.
441         (skip_vsx_tests): Likewise.
442         (skip_tsx_tests): Likewise.
443         (skip_btrace_tests): Likewise.
444         (skip_btrace_pt_tests): Likewise.
445         (gdb_can_simple_compile): Likewise.
446         (gdb_has_argv0): Likewise.
447         (gdb_target_symbol_prefix): Likewise.
448         (target_supports_scheduler_locking): Likewise.
449
450 2018-09-13  Tom Tromey  <tom@tromey.com>
451
452         * Makefile.in (TAGS): Recognize proc_with_prefix and
453         gdb_caching_proc.
454
455 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
456
457         * gdb.python/py-progspace.exp: Test the Progspace.objfiles
458         method.
459
460 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
461
462         * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
463         and a few other Inferior properties when the Inferior is no
464         longer valid.
465
466 2018-09-13  Tom Tromey  <tom@tromey.com>
467
468         PR rust/23650:
469         * gdb.rust/simple.exp: Add test for enum field access error.
470
471 2018-09-13  Tom Tromey  <tom@tromey.com>
472
473         PR rust/23626:
474         * gdb.rust/simple.rs (EmptyEnum): New type.
475         (main): Use it.
476         * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
477
478 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
479
480         * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
481         * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
482         * gdb.python/py-symtab.exp: Update test printing an objfile.
483
484 2018-09-12  Simon Marchi  <simon.marchi@ericsson.com>
485
486         * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
487         object.
488
489 2018-09-12  Alan Hayward  <alan.hayward@arm.com>
490
491         * lib/gdb.exp (gdb_can_simple_compile): Add proc.
492         (support_complex_tests): Use gdb_can_simple_compile.
493         (is_ilp32_target): Likewise.
494         (is_lp64_target): Likewise.
495         (is_64_target): Likewise.
496         (is_amd64_regs_target): Likewise.
497         (is_aarch32_target): Likewise.
498         (gdb_int128_helper): Likewise.
499
500 2018-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
501
502         * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
503
504 2018-09-10  Jerome Guitton  <guitton@adacore.com>
505
506         * gdb.ada/same_component_name: Add test for case of tagged record
507         with variable-length fields.
508
509 2018-09-10  Xavier Roirand  <roirand@adacore.com>
510
511         * gdb.ada/access_to_unbounded_array.exp: New testcase.
512         * gdb.ada/access_to_unbounded_array/foo.adb: New file.
513         * gdb.ada/access_to_unbounded_array/pack.adb: New file.
514         * gdb.ada/access_to_unbounded_array/pack.ads: New file.
515
516 2018-09-10  Xavier Roirand  <roirand@adacore.com>
517
518         * gdb.ada/mi_string_access.exp: New testcase.
519         * gdb.ada/mi_string_access/bar.adb: New file.
520         * gdb.ada/mi_string_access/pck.adb: New file.
521         * gdb.ada/mi_string_access/pck.asd: New file.
522
523 2018-09-10  Xavier Roirand  <roirand@adacore.com>
524
525         * gdb.ada/mi_var_union.exp: New testcase.
526         * gdb.ada/mi_var_union/bar.adb: New file.
527         * gdb.ada/mi_var_union/pck.adb: New file.
528         * gdb.ada/mi_var_union/pck.asd: New file.
529
530 2018-09-08  Tom Tromey  <tom@tromey.com>
531
532         * gdb.python/py-prettyprint.exp: Use with_test_prefix.
533
534 2018-09-08  Tom Tromey  <tom@tromey.com>
535
536         PR python/16047:
537         * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
538         (register_pretty_printers): Register new printer.
539         * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
540         test.
541         * gdb.python/py-prettyprint.c (int_type3): New typedef.
542         (an_int_type3): New global.
543
544 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
545
546         * gdb.ada/expr_with_funcall: New testcase.
547
548 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
549
550         * gdb.ada/packed_array_assign: New testcase.
551
552 2018-09-07  Andrew Burgess  <andrew.burgess@embecosm.com>
553
554         * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
555         names, and add test prefixes to make test names unique.
556
557 2018-09-05  Tom de Vries  <tdevries@suse.de>
558
559         * gdb.dwarf2/varval.exp: Add test.
560
561 2018-09-04  Gary Benson <gbenson@redhat.com>
562
563         * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
564         'eof' before 'wait -i'.  Use remote_close and clear_gdb_spawn_id.
565
566 2018-08-31  Tom Tromey  <tom@tromey.com>
567
568         * gdb.rust/simple.rs: Rename second variable "v".
569
570 2018-08-30  Andrew Burgess  <andrew.burgess@embecosm.com>
571
572         * gdb.base/funcargs.c (use_a): New function.
573         (recurse): Call use_a.
574
575 2018-08-29  Keith Seitz  <keiths@redhat.com>
576
577         * gdb.compile/compile-cplus-anonymous.cc: New file.
578         * gdb.compile/compile-cplus-anonymous.exp: New file.
579         * gdb.compile/compile-cplus-array-decay.cc: New file.
580         * gdb.compile/compile-cplus-array-decay.exp: New file.
581         * gdb.compile/compile-cplus-inherit.cc: New file.
582         * gdb.compile/compile-cplus-inherit.exp: New file.
583         * gdb.compile/compile-cplus-member.cc: New file.
584         * gdb.compile/compile-cplus-member.exp: New file.
585         * gdb.compile/compile-cplus-method.cc: New file.
586         * gdb.compile/compile-cplus-method.exp: New file.
587         * gdb.compile/compile-cplus-mod.c: "New" file.
588         * gdb.compile/compile-cplus-namespace.cc: New file.
589         * gdb.compile/compile-cplus-namespace.exp: New file.
590         * gdb.compile/compile-cplus-nested.cc: New file.
591         * gdb.compile/compile-cplus-nested.exp: New file.
592         * gdb.compile/compile-cplus-print.c: "New" file.
593         * gdb.compile/compile-cplus-print.exp: "New" file.
594         * gdb.compile/compile-cplus-virtual.cc: New file.
595         * gdb.compile/compile-cplus-virtual.exp: New file.
596         * gdb.compile/compile-cplus.c: "New" file.
597         * gdb.compile/compile-cplus.exp: "New" file.
598         * lib/compile-support.exp: New file.
599
600 2018-08-16  Gary Benson <gbenson@redhat.com>
601
602         PR gdb/13000:
603         * gdb.base/batch-exit-status.exp: New file.
604         * gdb.base/batch-exit-status.good-commands: Likewise.
605         * gdb.base/batch-exit-status.bad-commands: Likewise.
606
607 2018-08-29  Alan Hayward  <alan.hayward@arm.com>
608
609         * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
610         (struct struct02): Likewise.
611         (struct struct03): Likewise.
612         (struct struct04): Likewise.
613         (struct struct_01_01): New struct.
614         (struct struct_01_02): Likewise.
615         (struct struct_01_03): Likewise.
616         (struct struct_01_04): Likewise.
617         (struct struct_02_01): Likewise.
618         (struct struct_02_02): Likewise.
619         (struct struct_02_03): Likewise.
620         (struct struct_02_04): Likewise.
621         (struct struct_04_01): Likewise.
622         (struct struct_04_02): Likewise.
623         (struct struct_04_03): Likewise.
624         (struct struct_04_04): Likewise.
625         (struct struct_05_01): Likewise.
626         (struct struct_05_02): Likewise.
627         (struct struct_05_03): Likewise.
628         (struct struct_05_04): Likewise.
629         (cmp_struct01): Remove function.
630         (cmp_struct02): Likewise.
631         (cmp_struct03): Likewise.
632         (cmp_struct04): Likewise.
633         (cmp_struct_01_01): Add Function.
634         (cmp_struct_01_02): Likewise.
635         (cmp_struct_01_03): Likewise.
636         (cmp_struct_01_04): Likewise.
637         (cmp_struct_02_01): Likewise.
638         (cmp_struct_02_02): Likewise.
639         (cmp_struct_02_03): Likewise.
640         (cmp_struct_02_04): Likewise.
641         (cmp_struct_04_01): Likewise.
642         (cmp_struct_04_02): Likewise.
643         (cmp_struct_04_03): Likewise.
644         (cmp_struct_04_04): Likewise.
645         (cmp_struct_05_01): Likewise.
646         (cmp_struct_05_02): Likewise.
647         (cmp_struct_05_03): Likewise.
648         (cmp_struct_05_04): Likewise.
649         (call_all): Add new structs.
650         * gdb.base/infcall-nested-structs.exp: Likewise.
651
652 2018-08-27  Jan Vrany  <jan.vrany@fit.cvut.cz>
653
654         * gdb.python/py-framefilter-mi.exp: Update regexp to
655         check for "arch" field in frame output.
656
657 2018-08-23  Kevin Buettner  <kevinb@redhat.com>
658
659         * gdb.dwarf2/dw2-ranges-func.c: New file.
660         * gdb.dwarf2/dw2-ranges-func.exp: New file.
661
662 2018-08-22  Simon Marchi  <simon.marchi@polymtl.ca>
663
664         * gdb.base/term.exp: Compare terminal settings with values from
665         the inferior.
666         * gdb.base/term.c: Get and set terminal settings.
667
668 2018-08-22  Jan Vrany  <jan.vrany@fit.cvut.cz>
669
670         * lib/mi-support.exp (mi_expect_stop): Update regexp to
671         accommodate new "arch" field in frame output.
672         * gdb.mi/mi-return.exp: Likewise.
673         * gdb.mi/mi-stack.exp: Likewise.
674         * gdb.mi/mi-syn-frame.exp: Likewise.
675         * gdb.mi/user-selected-context-sync.exp: Likewise.
676
677 2018-08-19  Michael Spang  <spang@google.com>
678
679         PR gdb/11786
680         * gdb.base/gcore-tls-pie.c: New file.
681         * gdb.base/gcore-tls-pie.exp: New file.
682
683 2018-08-18  Kevin Buettner  <kevinb@redhat.com>
684
685         * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
686         * gdb.dwarf2/varval.c: New file.
687         * gdb.dwarf2/varval.exp: New file.
688
689 2018-08-17  Alan Hayward  <alan.hayward@arm.com>
690
691         PR gdb/18931
692         * gdb.arch/aarch64-fp.c (main): Fix asm registers.
693
694 2018-08-16  Keith Seitz  <keiths@redhat.com>
695
696         * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
697         tests expected to pass.
698
699 2018-08-14  Jan Vrany  <jan.vrany@fit.cvut.cz>
700
701         * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
702         -data-disassemble -a.
703         (test_disassembly_bogus_args): Likewise.
704
705 2018-08-14  Andrew Burgess  <andrew.burgess@embecosm.com>
706
707         * gdb.mi/list-thread-groups-available.exp: Update test regexp.
708
709 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
710
711         * gdb.base/vla-optimized-out.exp: Add new test.
712
713 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
714
715         * gdb.base/vla-optimized-out-o3.exp: Delete.
716         * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
717         * gdb.base/vla-optimized-out.exp: Extend to cover all of the
718         deleted tests.
719
720 2018-08-08  Andrew Burgess  <andrew.burgess@embecosm.com>
721
722         PR gdb/18050:
723         * gdb.server/extended-remote-restart.c: New file.
724         * gdb.server/extended-remote-restart.exp: New file.
725
726 2018-08-07  Simon Marchi  <simon.marchi@polymtl.ca>
727
728         * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
729         "set variable index = 42".
730
731 2018-08-07  Simon Marchi  <simon.marchi@ericsson.com>
732
733         * boards/index-cache-gdb.exp: New file.
734         * gdb.dwarf2/index-cache.exp: New file.
735         * gdb.dwarf2/index-cache.c: New file.
736         * gdb.base/maint.exp: Check if we are using the index cache.
737
738 2018-08-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
739
740         * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
741         MAKEFLAGS.
742
743 2018-08-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
744
745         * dg-extract-results.sh: Move to toplevel contrib.
746         * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
747         * Makefile.in (check-parallel-racy): Likewise.
748
749 2018-08-06  Andrew Burgess  <andrew.burgess@embecosm.com>
750
751         * lib/gdb.exp (target_supports_scheduler_locking): New proc.
752         * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
753         tests if the target supports scheduler locking.
754
755 2018-08-04  Tom de Vries  <tdevries@suse.de>
756
757         * gdb.python/py-rbreak.exp: Fix rbreak regexp.
758
759 2018-08-02  Tom Tromey  <tom@tromey.com>
760
761         PR symtab/16842.
762         * gdb.cp/temargs.exp: Test "info address" of a template
763         parameter.
764
765 2018-07-31  Jan Vrany  <jan.vrany@fit.cvut.cz>
766
767         * gdb.python/py-mi-var-info-path-expression.c: New file.
768         * gdb.python/py-mi-var-info-path-expression.py: New file.
769         * gdb.python/py-mi-var-info-path-expression.exp: New file.
770
771 2018-07-30  Sergio Durigan Junior  <sergiodj@redhat.com>
772
773         * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
774         error after "cannot resolve name" string.
775
776 2018-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
777
778         * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
779         started.
780         * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
781
782 2018-07-28  Tom de Vries  <tdevries@suse.de>
783
784         * gdb.base/vla-optimized-out-o3-strict.exp: New file.
785
786 2018-07-26  Tom de Vries  <tdevries@suse.de>
787
788         * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
789
790 2018-07-26  Andrew Burgess  <andrew.burgess@embecosm.com>
791
792         * gdb.base/maint.exp: Add check that dwarf unwinders control flag
793         is visible.
794
795 2018-07-26  Tom de Vries  <tdevries@suse.de>
796
797         PR breakpoints/23366
798         * gdb.base/catch-follow-exec.c: New test.
799         * gdb.base/catch-follow-exec.exp: New file.
800
801 2018-07-25  Tom de Vries  <tdevries@suse.de>
802
803         * gdb.base/vla-optimized-out-o3.exp: New file.  Reuse
804         vla-optimized-out.c.
805
806 2018-07-25  Jan Vrany  <jan.vrany@fit.cvut.cz>
807
808         * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
809         * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
810
811 2018-07-20  Tom de Vries  <tdevries@suse.de>
812
813         * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
814         NOCLONE macro.
815         * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
816
817 2018-07-19  Tom de Vries  <tdevries@suse.de>
818
819         * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
820         regular expression.
821
822 2018-07-18  Tom de Vries  <tdevries@suse.de>
823
824         * gdb.base/vla-optimized-out.c: New test.
825         * gdb.base/vla-optimized-out.exp: New file.
826
827 2018-07-13  Sergio Durigan Junior  <sergiodj@redhat.com>
828
829         * lib/gdbserver-support.exp (gdbserver_start): Expect for the
830         message "No address associated with hostname" when gdbserver
831         cannot resolve the hostname.
832
833 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
834
835         * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
836         Add some test prefixes to make tests unique.
837
838 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
839
840         * gdb.base/frameapply.c: New file.
841         * gdb.base/frameapply.exp: New file.
842
843 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
844
845         * gdb.base/skip.exp: Update expected error message.
846
847 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
848             Jan Kratochvil  <jan.kratochvil@redhat.com>
849             Paul Fertser  <fercerpav@gmail.com>
850             Tsutomu Seki  <sekiriki@gmail.com>
851
852         * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
853         parameter.
854         * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
855         by default.
856         * boards/native-gdbserver.exp: Likewise.
857         * gdb.server/run-without-local-binary.exp: Improve regexp used
858         for detecting when a remote debugging connection succeeds.
859         * gdb.server/server-connect.exp: New file.
860         * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
861         Do not prefix the port number with ":".
862         (gdbserver_start): New global GDB_TEST_SOCKETHOST.  Implement
863         support for detecting and using it.  Add '$debughost_gdbserver'
864         to the list of arguments used to start gdbserver.  Handle case
865         when gdbserver cannot resolve a network name.
866
867 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
868
869         PR c++/23373
870         * gdb.base/ptype-offsets.cc (struct static_member): New
871         struct.
872         (main) <stmember>: New variable.
873         * gdb.base/ptype-offsets.exp: Add test for printing a struct
874         with a static member in it.
875
876 2018-07-10  Andrew Burgess  <andrew.burgess@embecosm.com>
877
878         * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
879         watchpoints enabled and disabled.
880
881 2018-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
882
883         * gdb.base/examine-backward.exp: Still run tests around address
884         0x0, even if address 0x0 is not readable.  Update the pattern for
885         matching address 0x0 in expected output.
886
887 2018-07-06  Andrew Burgess  <andrew.burgess@embecosm.com>
888
889         * gdb.base/share-env-with-gdbserver.c (main): Add call to
890         malloc/free.
891
892 2018-07-04  Tom de Vries  <tdevries@suse.de>
893
894         * gdb.dwarf2/dw2-error.exp: Update expected error message.
895
896 2018-07-02  Maciej W. Rozycki  <macro@mips.com>
897
898         PR tdep/8282
899         * gdb.arch/mips-disassembler-options.exp: New test.
900         * gdb.arch/mips-disassembler-options.s: New test source.
901
902 2018-06-29  Pedro Alves  <palves@redhat.com>
903
904         * gdb.threads/names.exp: Adjust expected "info threads" output.
905
906 2018-06-29  Pedro Alves  <palves@redhat.com>
907
908         * gdb.opt/inline-break.exp (line number, address): Add "info
909         break" tests.
910
911 2018-06-29  Pedro Alves  <palves@redhat.com>
912
913         * gdb.opt/inline-break.c (func1): Add "break here" marker.
914         * gdb.opt/inline-break.exp: Test setting breakpoints by line
915         number and address and running to them.
916
917 2018-06-29  Richard Bunt  <richard.bunt@arm.com>
918
919         * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
920
921 2018-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
922
923         * lib/compiler.c: Remove executable permission flag.
924
925 2018-06-28  Richard Bunt  <richard.bunt@arm.com>
926
927         * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
928         code.
929         * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
930
931 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
932
933         * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
934
935 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
936
937         * gdb.base/relocate.exp: Test add-symbol-file behavior when the
938         address argument is omitted.
939
940 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
941
942         * gdb.base/relocate.exp: Add test for "symbol-file -o ".
943
944 2018-06-27  Omair Javaid  <omair.javaid@linaro.org>
945
946         PR gdb/21695
947         * gdb.base/infoline-reloc-main-from-zero.exp: New test.
948         * gdb.base/infoline-reloc-main-from-zero.c: New file.
949
950 2018-06-26  Tom Tromey  <tom@tromey.com>
951
952         PR rust/22574:
953         * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
954         * gdb.rust/simple.rs (struct SimpleLayout): New.
955
956 2018-06-22  Simon Marchi  <simon.marchi@ericsson.com>
957
958         * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
959         "info registers" output.
960
961 2018-06-21  Richard Bunt  <richard.bunt@arm.com>
962
963         * gdb.base/watchpoint-hw-attach.c: New test.
964         * gdb.base/watchpoint-hw-attach.exp: New file.
965
966 2018-06-20  Simon Marchi  <simon.marchi@ericsson.com>
967
968         * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
969         through /bin/sh.
970         * boards/dwarf4-gdb-index.exp: Likewise.
971         * boards/fission-dwp.exp: Likewise.
972
973 2018-06-20  Ulrich Weigand  <uweigand@de.ibm.com>
974
975         * gdb.base/float128.exp: Add comment and improved fail message
976         to the failure case of "print large128" test.
977
978 2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
979
980         * configure.ac: Remove AC_PREREQ.
981         * configure: Re-generate.
982
983 2018-06-19  Pedro Alves  <palves@redhat.com>
984
985         * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
986         (func_extern_caller): New.
987         (main): Call func_extern_caller.
988         * gdb.opt/inline-break.exp: Add tests for inline frame skipping
989         logic change.
990
991 2018-06-18  Weimin Pan  <weimin.pan@oracle.com>
992
993         PR gdb/16841
994         * gdb.cp/typedef-base.cc: New file.
995         * gdb.cp/typedef-base.exp: New file.
996
997 2018-06-18  Tom de Vries  <tdevries@suse.de>
998
999         * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1000
1001 2018-06-16  Andrew Burgess  <andrew.burgess@embecosm.com>
1002             Richard Bunt <Richard.Bunt@arm.com>
1003
1004         * gdb.threads/attach-slow-waitpid.c: New file.
1005         * gdb.threads/attach-slow-waitpid.exp: New file.
1006         * gdb.threads/slow-waitpid.c: New file.
1007
1008 2018-06-14  Pedro Alves  <palves@redhat.com>
1009
1010         * gdb.base/fork-running-state.c: Include <errno.h>.
1011         (exit_if_relative_exits): New.
1012         (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1013         exits.
1014         (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1015         child exits.
1016
1017 2018-06-14  Tom de Vries  <tdevries@suse.de>
1018
1019         PR cli/22573
1020         * gdb.base/finish-pretty.c: New test.
1021         * gdb.base/finish-pretty.exp: New file.
1022
1023 2018-06-14  Pedro Alves  <palves@redhat.com>
1024
1025         * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
1026         gdb's expected startup output.
1027
1028 2018-06-14  Pedro Alves  <palves@redhat.com>
1029
1030         * lib/selftest-support.exp (selftest_setup): Remove inlined
1031         function handling.
1032
1033 2018-06-14  Tom de Vries  <tdevries@suse.de>
1034
1035         * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1036         matching of breakpoint printing.
1037
1038 2018-06-13  Tom de Vries  <tdevries@suse.de>
1039
1040         PR testsuite/23269
1041         * gdb.base/fork-running-state.c (main): Move setting of alarm ...
1042         (fork_child): ... here, and ...
1043         (fork_parent): ... here.
1044
1045 2018-06-12  Tom de Vries  <tdevries@suse.de>
1046
1047         * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
1048
1049 2018-06-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1050             Stephen Roberts  <stephen.roberts@arm.com>
1051
1052         * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
1053         rewrite test to describe action performed, rather than possible
1054         failure.
1055
1056 2018-06-08  Gary Benson <gbenson@redhat.com>
1057
1058         * gdb.threads/check-libthread-db.exp: New file.
1059         * gdb.threads/check-libthread-db.c: Likewise.
1060
1061 2018-06-05  Tom Tromey  <tom@tromey.com>
1062
1063         * gdb.base/default.exp: Update expected "show version" output.
1064
1065 2018-06-05  Tom Tromey  <tom@tromey.com>
1066
1067         PR cli/12326:
1068         * gdb.cp/static-print-quit.exp: Update.
1069         * lib/gdb.exp (pagination_prompt): Update.
1070         * gdb.base/page.exp: Use pagination_prompt.  Add new tests.
1071         * gdb.python/python.exp: Update.
1072
1073 2018-06-04  Joel Brobecker  <brobecker@adacore.com>
1074
1075         * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
1076
1077 2018-06-01  Joel Brobecker  <brobecker@adacore.com>
1078
1079         * gdb.ada/bp_fun_addr: New testcase.
1080
1081 2018-06-01  Tom Tromey  <tom@tromey.com>
1082
1083         * gdb.xml/tdesc-regs.exp (load_description): Update expected
1084         results.
1085         * gdb.dwarf2/method-ptr.exp: Set language to C++.
1086         * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
1087         * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
1088         * gdb.base/maint.exp (maint_pass_if): Update.
1089
1090 2018-05-31  Maciej W. Rozycki  <macro@mips.com>
1091
1092         * gdb.base/endian.exp: New test.
1093         * gdb.base/endian.c: New test source.
1094
1095 2018-05-24  Andrew Burgess  <andrew.burgess@embecosm.com>
1096
1097         PR gdb/23203
1098         * gdb.base/bt-selected-frame.c: New file.
1099         * gdb.base/bt-selected-frame.exp: New file.
1100         * lib/gdb.exp (get_current_frame_number): New function.
1101
1102 2018-05-24  Maciej W. Rozycki  <macro@mips.com>
1103             Pedro Alves  <palves@redhat.com>
1104
1105         * gdb.threads/tls-core.c: Include <stdlib.h>
1106         (thread_proc): Call `abort'.
1107         * gdb.threads/tls-core.exp: Generate a core with core_find too.
1108         (tls_core_test): New procedure, bits factored out from ...
1109         (top level): ... here.  Test both native cores and gcore cores.
1110
1111 2018-05-23  Tom Tromey  <tom@tromey.com>
1112
1113         * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
1114
1115 2018-05-23  Tom Tromey  <tom@tromey.com>
1116
1117         * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
1118         symfile_complaints.
1119         (test_short_complaints): Likewise.
1120         (test_empty_complaints): Likewise.
1121         (test_initial_complaints): Update.
1122
1123 2018-05-23  Tom Tromey  <tom@tromey.com>
1124
1125         * gdb.gdb/complaints.exp (test_empty_complaints): Update.
1126
1127 2018-05-23  Tom Tromey  <tom@tromey.com>
1128
1129         * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
1130         (test_short_complaints): Update.
1131
1132 2018-05-22  Pedro Alves  <palves@redhat.com>
1133
1134         * gdb.base/remote.exp: Only gdb_start after compiling the
1135         testcase.  Issue "disconnect" before testing "set remote" command
1136         defaults.  Issue clean_restart before running to main.
1137
1138 2018-05-22  Pedro Alves  <palves@redhat.com>
1139
1140         * gdb.base/remote.exp: Adjust expected output of "show remote
1141         memory-write-packet-size".  Add tests for "set remote
1142         memory-write-packet-size 0" and "set remote
1143         memory-write-packet-size fixed/limit".
1144
1145 2018-05-22  Pedro Alves  <palves@redhat.com>
1146
1147         PR gdb/22973
1148         * gdb.base/utf8-identifiers.c: New file.
1149         * gdb.base/utf8-identifiers.exp: New file.
1150
1151 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1152
1153         * gdb.arch/powerpc-fpscr-gcore.exp: New file.
1154
1155 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1156
1157         * gdb.arch/powerpc-vsx-gcore.exp: New file.
1158
1159 2018-05-18  Tom Tromey  <tom@tromey.com>
1160
1161         * gdb.base/ptype-offsets.exp: Update.
1162
1163 2018-05-17  Keith Seitz  <keiths@redhat.com>
1164
1165         * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
1166         in expected breakpoint stop locations.
1167         * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
1168         move to proper scope to test variable values.
1169         * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
1170         (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
1171         New functions.
1172         (main): Call not_inline_func3.
1173         * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
1174         inline_func1, inline_func2, and inline_func3.  Test that when each
1175         breakpoint is hit, GDB properly reports both the stop location
1176         and the backtrace. Repeat tests for temporary breakpoints.
1177
1178 2018-05-15  Maciej W. Rozycki  <macro@mips.com>
1179
1180         * gdb.server/server-kill.exp: Verify whether `server_pid' exists
1181         rather then trying to access it in determining whether the PID
1182         of `gdbserver' could have been retrieved.
1183
1184 2018-05-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1185
1186         * gdb.arch/amd64-init-x87-values.S: New file.
1187         * gdb.arch/amd64-init-x87-values.exp: New file.
1188
1189 2018-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1190
1191         * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
1192
1193 2018-05-04  Tom Tromey  <tom@tromey.com>
1194
1195         PR python/22730:
1196         * gdb.python/python.exp: Test multi-line execute.
1197
1198 2018-05-04  Tom Tromey  <tom@tromey.com>
1199
1200         PR python/22731:
1201         * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
1202
1203 2018-05-04  Tom Tromey  <tom@tromey.com>
1204
1205         PR gdb/11750:
1206         * gdb.base/define.exp: Test defining a user command inside a user
1207         command.
1208         * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
1209
1210 2018-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
1211             Pedro Alves <palves@redhat.com>
1212
1213         PR breakpoints/19806 and support for PR external/20207.
1214         * gdb.base/watchpoint-unaligned.c: New file.
1215         * gdb.base/watchpoint-unaligned.exp: New file.
1216
1217 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1218
1219         * gdb.base/maint.exp: Make test names unique, use
1220         test_prefix_command_help to test 'help maint info', and remove
1221         repeated test of 'help maint'.
1222
1223 2018-05-04  Tom Tromey  <tom@tromey.com>
1224
1225         PR gdb/22619:
1226         * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
1227         behavior.
1228
1229 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1230
1231         * gdb.base/maint.exp: Process output from 'maint print registers'
1232         line at a time.
1233
1234 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1235
1236         * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
1237         timeout.
1238
1239 2018-05-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1240
1241         * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
1242         filter pattern.
1243
1244 2018-05-02  Pedro Alves  <palves@redhat.com>
1245
1246         * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
1247         to_log_command renames.
1248         * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1249
1250 2018-05-02  Tom Tromey  <tom@tromey.com>
1251
1252         * gdb.python/py-parameter.exp: Set test message.
1253
1254 2018-05-02  Tom Tromey  <tom@tromey.com>
1255
1256         PR python/20084:
1257         * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
1258         PARAM_ZUINTEGER_UNLIMITED tests.
1259
1260 2018-04-28  Dan Robertson  <danlrobertson89@gmail.com>
1261
1262         PR rust/23124
1263         * gdb.rust/expr.exp: Test that the unit type is correctly parsed
1264         when casting.
1265
1266 2018-04-30  Tom Tromey  <tom@tromey.com>
1267
1268         * gdb.python/py-type.exp: Check align attribute.
1269         * gdb.python/py-type.c: New "aligncheck" global.
1270
1271 2018-04-30  Tom Tromey  <tom@tromey.com>
1272
1273         PR exp/17095:
1274         * gdb.dwarf2/dw2-align.exp: New file.
1275         * gdb.cp/align.exp: New file.
1276         * gdb.base/align.exp: New file.
1277         * lib/gdb.exp (gdb_int128_helper): New proc.
1278         (has_int128_c, has_int128_cxx): New caching procs.
1279
1280 2018-04-27  Tom Tromey  <tom@tromey.com>
1281
1282         PR rust/22545:
1283         * gdb.rust/simple.exp: Add inclusive range tests.
1284
1285 2018-04-26  Pedro Alves  <palves@redhat.com>
1286
1287         * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
1288         ifunc breakpoint locations correctly of ifunc breakpoints set
1289         while the program resolves the ifunc.
1290
1291 2018-04-26  Pedro Alves  <palves@redhat.com>
1292
1293         * gdb.base/gnu-ifunc-final.c: New file.
1294         * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
1295         * gdb.base/gnu-ifunc.exp (executable): Delete.
1296         (staticexecutable): Adjust.
1297         (lib_opts, exec_opts): Delete.
1298         (make_binsuffix, build, set-break): New procedures.
1299         (misc_tests): New, with tests factored out from the top level.
1300         (top level): Test different combinations of ifunc resolver name,
1301         resolver with and with debug info, and ifunc target with and
1302         without debug info.  Wrap static tests with with_target_prefix.
1303
1304 2018-04-26  Pedro Alves  <palves@redhat.com>
1305
1306         * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
1307         return type" warnings.
1308
1309 2018-04-25  Pedro Alves  <palves@redhat.com>
1310
1311         * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
1312         killed".
1313         * gdb.base/kill-after-signal.exp: Likewise.
1314         * gdb.threads/kill.exp: Likewise.
1315
1316 2018-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1317             Sergio Durigan Junior  <sergiodj@redhat.com>
1318             Pedro Alves  <palves@redhat.com>
1319
1320         * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1321         regexps to expect for '[Inferior ... detached]' as well.
1322         * gdb.base/attach.exp: Likewise.
1323         * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1324         "gdb_continue_to_end".
1325         (test_catch_syscall_with_wrong_args): Likewise.
1326         * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1327         ']'.  Don't set 'verbose' on.
1328         * gdb.base/foll-vfork.exp: Likewise.
1329         * gdb.base/fork-print-inferior-events.c: New file.
1330         * gdb.base/fork-print-inferior-events.exp: New file.
1331         * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1332         '[Inferior ... has been killed]' message.
1333         * gdb.base/kill-after-signal.exp: Likewise.
1334         * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1335         detach message.
1336         * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1337         message.
1338         * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1339         regexps to expect for '[Inferior ... detached]' as well.
1340         * gdb.threads/process-dies-while-detaching.exp: Likewise.
1341
1342 2018-04-24  Simon Marchi  <simon.marchi@ericsson.com>
1343
1344         PR gdb/23104
1345         * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1346
1347 2018-04-19  Richard Bunt  <richard.bunt@arm.com>
1348
1349         * gdb.threads/multiple-successive-infcall.c: New test.
1350         * gdb.threads/multiple-successive-infcall.exp: New file.
1351
1352 2018-04-17  Tom Tromey  <tom@tromey.com>
1353
1354         * gdb.rust/simple.rs (Union): New type.
1355         (main): New local "u".
1356         * gdb.rust/simple.exp (test_one_slice): Add new test case.
1357
1358 2018-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1359
1360         * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1361         number information in output of "whereis" command.
1362         * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1363
1364 2018-04-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1365
1366         * gdb.ada/info_types.exp: Adjust expected output to the line
1367         numbers now printed by "info var/func/type".
1368         * gdb.base/completion.exp: Likewise.
1369         * gdb.base/included.exp: Likewise.
1370         * gdb.cp/cp-relocate.exp: Likewise.
1371         * gdb.cp/cplusfuncs.exp: Likewise.
1372         * gdb.cp/namespace.exp: Likewise.
1373         * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1374
1375 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1376
1377         * gdb.btrace/cpu.exp: New.
1378
1379 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1380
1381         * gdb.base/step-indirect-call-thunk.exp: New.
1382         * gdb.base/step-indirect-call-thunk.c: New.
1383         * gdb.reverse/step-indirect-call-thunk.exp: New.
1384         * gdb.reverse/step-indirect-call-thunk.c: New.
1385
1386 2018-04-11  Simon Marchi  <simon.marchi@ericsson.com>
1387
1388         * gdb.base/pie-fork.c: New file.
1389         * gdb.base/pie-fork.exp: New file.
1390
1391 2018-04-11  Tom Tromey  <tom@tromey.com>
1392
1393         * gdb.rust/simple.exp: Add test for ".." struct initializer.
1394
1395 2018-04-10  Pedro Alves  <palves@redhat.com>
1396
1397         * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1398         exits.  Instead loop running forever.
1399         (fork_parent): Run forever too.
1400
1401 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1402
1403         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
1404         mi_continue_to_line.
1405         * gdb.mi/mi-stack.c (callee4): Add comment.
1406
1407 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1408
1409         * gdb.mi/mi-stack.exp: Fix indentation.
1410
1411 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1412
1413         PR gdb/22979
1414         * gdb.arch/amd64-osabi.exp: New file.
1415
1416 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1417
1418         PR gdb/22980
1419         * gdb.base/osabi.exp: New file.
1420
1421 2018-04-02  Weimin Pan  <weimin.pan@oracle.com>
1422
1423         * gdb.cp/static-typedef-print.exp: New file.
1424         * gdb.cp/static-typedef-print.cc: New file.
1425
1426 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1427
1428         * gdb.ada/varsize_limit: New testcase.
1429
1430 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1431
1432         * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1433
1434         * gdb.ada/notcplusplus: New testcase.
1435
1436         * gdb.base/c-linkage-name.c: New file.
1437         * gdb.base/c-linkage-name.exp: New testcase.
1438
1439 2018-03-26  Tom Tromey  <tom@tromey.com>
1440
1441         * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1442         * gdb.python/py-framefilter.py (name_error): New global.
1443         (ErrorInName.function): Use name_error.
1444
1445 2018-03-26  Tom Tromey  <tom@tromey.com>
1446
1447         PR backtrace/15582:
1448         * gdb.python/py-framefilter.exp: Add "bt hide" test.
1449
1450 2018-03-23  Keith Seitz  <keiths@redhat.com>
1451
1452         PR c++/22968
1453         * gdb.cp/subtypes.exp: New file.
1454         * gdb.cp/subtypes.h: New file.
1455         * gdb.cp/subtypes.cc: New file.
1456         * gdb.cp/subtypes-2.cc: New file.
1457
1458 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1459
1460         * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1461         (done): Call '_exit' not 'exit' to avoid atexit handlers.
1462         * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1463         -nostartfiles when compiling the test.  Confirm that all registers
1464         xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1465
1466 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1467
1468         * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1469         option, syntax was wrong anyway.
1470         * gdb.arch/arm-disp-step.exp: Likewise.
1471         * gdb.arch/sparc64-regs.exp: Likewise.
1472         * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1473         option, syntax was wrong anyway, switch to use
1474         prepare_for_testing.
1475         * gdb.arch/i386-disp-step.exp: Likewise.
1476
1477 2018-03-23  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1478
1479         * gdb.ada/exec_changed.exp: Replace "target_info exists
1480         use_gdb_stub" by "use_gdb_stub".
1481         * gdb.ada/start.exp: Likewise.
1482         * gdb.base/async-shell.exp: Likewise.
1483         * gdb.base/attach-pie-misread.exp: Likewise.
1484         * gdb.base/attach-wait-input.exp: Likewise.
1485         * gdb.base/break-entry.exp: Likewise.
1486         * gdb.base/break-interp.exp: Likewise.
1487         * gdb.base/dprintf-detach.exp: Likewise.
1488         * gdb.base/nostdlib.exp: Likewise.
1489         * gdb.base/solib-nodir.exp: Likewise.
1490         * gdb.base/statistics.exp: Likewise.
1491         * gdb.base/testenv.exp: Likewise.
1492         * gdb.mi/mi-exec-run.exp: Likewise.
1493         * gdb.mi/mi-start.exp: Likewise.
1494         * gdb.multi/dummy-frame-restore.exp: Likewise.
1495         * gdb.multi/multi-arch-exec.exp: Likewise.
1496         * gdb.multi/multi-arch.exp: Likewise.
1497         * gdb.multi/tids.exp: Likewise.
1498         * gdb.multi/watchpoint-multi.exp: Likewise.
1499         * gdb.python/py-events.exp: Likewise.
1500         * gdb.threads/attach-into-signal.exp: Likewise.
1501         * gdb.threads/attach-stopped.exp: Likewise.
1502         * gdb.threads/threadapply.exp: Likewise.
1503         * lib/selftest-support.exp: Likewise.
1504
1505 2018-03-22  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1506
1507         * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1508
1509 2018-03-20  Stephen Roberts  <stephen.roberts@arm.com>
1510
1511         * gdb.perf/template-breakpoints.cc: New file.
1512         * gdb.perf/template-breakpoints.exp: New file.
1513         * gdb.perf/template-breakpoints.py: New file.
1514
1515 2018-03-19  Tom Tromey  <tom@tromey.com>
1516
1517         * gdb.rust/simple.rs (main): Add local variables field1, field2,
1518         y0.
1519         * gdb.rust/simple.exp: Test bare identifier form of struct
1520         initializer.
1521
1522 2018-03-19  Tom Tromey  <tom@tromey.com>
1523
1524         * gdb.gdb/observer.exp: Remove.
1525
1526 2018-03-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1527
1528         * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1529         "qualified" option when setting breakpoints.
1530         * gdb.trace/backtrace.exp: Likewise.
1531         * gdb.trace/circ.exp: Likewise.
1532         * gdb.trace/collection.exp: Likewise.
1533         * gdb.trace/disconnected-tracing.exp: Likewise.
1534         * gdb.trace/ftrace-lock.exp: Likewise.
1535         * gdb.trace/ftrace.exp: Likewise.
1536         * gdb.trace/infotrace.exp: Likewise.
1537         * gdb.trace/packetlen.exp: Likewise.
1538         * gdb.trace/passc-dyn.exp: Likewise.
1539         * gdb.trace/qtro.exp: Likewise.
1540         * gdb.trace/read-memory.exp: Likewise.
1541         * gdb.trace/report.exp: Likewise.
1542         * gdb.trace/signal.exp: Likewise.
1543         * gdb.trace/status-stop.exp: Likewise.
1544         * gdb.trace/strace.exp: Likewise.
1545         * gdb.trace/tfind.exp: Likewise.
1546         * gdb.trace/trace-break.exp: Likewise.
1547         * gdb.trace/trace-condition.exp: Likewise.
1548         * gdb.trace/trace-mt.exp: Likewise.
1549         * gdb.trace/tstatus.exp: Likewise.
1550         * gdb.trace/tsv.exp: Likewise.
1551         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1552         * gdb.trace/unavailable.exp: Likewise.
1553         * gdb.trace/while-dyn.exp: Likewise.
1554
1555 2018-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1556
1557         * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1558         that libinproctrace is copied to the target.
1559
1560 2018-03-14  Tom Tromey  <tom@tromey.com>
1561
1562         PR cli/14977:
1563         * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1564         a null pointer.
1565         * gdb.base/wchar.exp: Likewise.
1566
1567 2018-03-14  Tom Tromey  <tom@tromey.com>
1568
1569         PR cli/19918:
1570         * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1571         flag.
1572
1573 2018-03-08  Simon Marchi  <simon.marchi@ericsson.com>
1574
1575         PR gdb/22841
1576         * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1577         "target" to remote_exec.
1578
1579 2018-03-08  Simon Marchi  <simon.marchi@polymtl.ca>
1580
1581         PR gdb/22841
1582         * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1583         ${board}_upload): Remove.
1584
1585 2018-03-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1586
1587         * gdb.cp/watch-cp.cc: New test.
1588         * gdb.cp/watch-cp.exp: New file.
1589
1590 2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1591
1592         * gdb.base/infcall-nested-structs.exp: New file.
1593         * gdb.base/infcall-nested-structs.c: New file.
1594         * gdb.base/float.exp: Add riscv support.
1595
1596 2018-03-02  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1597
1598         * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1599         * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1600
1601 2018-02-28  Sergio Durigan Junior  <sergiodj@redhat.com>
1602
1603         * gdb.server/abspath.exp: New file.
1604         * lib/gdb.exp (with_cwd): New procedure.
1605
1606 2018-02-28  Simon Marchi  <simon.marchi@ericsson.com>
1607
1608         * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1609         use it.
1610         (gdb_is_target_remote_prompt): New proc.
1611         (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1612         (gdb_is_target_native): Pass prompt parameter to
1613         gdb_is_target_1.
1614
1615 2018-02-26  Simon Marchi  <simon.marchi@polymtl.ca>
1616
1617         * gdb.base/load-command.c: New file.
1618         * gdb.base/load-command.exp: New file.
1619         * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1620         (gdb_is_target_1): ...this, and generalize for other targets
1621         than just remote.
1622         (gdb_is_target_remote): Use gdb_is_target_1.
1623         (gdb_is_target_native): use gdb_is_target_1.
1624
1625 2018-02-26  Tom Tromey  <tom@tromey.com>
1626
1627         PR python/16497:
1628         * gdb.python/py-framefilter.exp: Update test.
1629
1630 2018-02-26  Tom Tromey  <tom@tromey.com>
1631
1632         * gdb.dwarf2/variant.c: New file.
1633         * gdb.dwarf2/variant.exp: New file.
1634
1635 2018-02-26  Tom Tromey  <tom@tromey.com>
1636
1637         * gdb.rust/simple.exp: Accept more possible results in enum test.
1638
1639 2018-02-25  Simon Marchi  <simon.marchi@polymtl.ca>
1640
1641         * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1642         parentheses.
1643
1644 2018-02-23  Maciej W. Rozycki  <macro@mips.com>
1645
1646         * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1647         name of a variable: $actual_linejj -> $actual_line.
1648
1649 2018-02-21  John Baldwin  <jhb@FreeBSD.org>
1650
1651         * gdb.arch/amd64-i386-address.exp: Fix a typo.
1652
1653 2018-02-20  Markus Metzger  <markus.t.metzger@intel.com>
1654
1655         * gdb.btrace/buffer-size.exp: Do not force BTS.
1656
1657 2018-02-14  Pedro Alves  <palves@redhat.com>
1658
1659         * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1660         getting a "Quit".
1661
1662 2018-02-09  Markus Metzger  <markus.t.metzger@intel.com>
1663
1664         * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1665         Fix test name.
1666
1667 2018-02-07  Simon Marchi  <simon.marchi@ericsson.com>
1668
1669         * gdb.cp/m-static.exp: Check type of optimized out static
1670         member.
1671
1672 2018-02-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1673
1674         * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1675         * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1676
1677 2018-02-01  Simon Marchi  <simon.marchi@polymtl.ca>
1678             Leszek Swirski  <leszeks@google.com>
1679
1680         * gdb.python/py-prettyprint.c
1681         (struct to_string_returns_value_inner,
1682         struct to_string_returns_value_wrapper): New.
1683         (main): Add tsrvw variable.
1684         * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1685         ToStringReturnsValueWrapper): New classes.
1686         (register_pretty_printers): Register new pretty-printers.
1687         * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1688         recursive pretty printer.
1689         * gdb.python/py-mi.exp: Likewise.
1690
1691 2018-02-01  Leszek Swirski  <leszeks@google.com>
1692
1693         * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1694         functions with the same name as an include file are parsed
1695         correctly.
1696
1697 2018-02-01  Yao Qi  <yao.qi@linaro.org>
1698
1699         * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1700         "\[^\r\n\]*".
1701
1702 2018-01-31  Nikola Prica  <nikola.prica@rt-rk.com>
1703
1704         * gdb.arch/powerpc-prologue-frame.s: New file.
1705         * gdb.arch/powerpc-prologue-frame.c: Likewise.
1706         * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1707
1708 2018-01-31  Joel Brobecker  <brobecker@adacore.com>
1709
1710         * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1711
1712 2018-01-30  Pedro Alves  <palves@redhat.com>
1713
1714         PR gdb/13211
1715         * gdb.base/interrupt-daemon.c: New.
1716         * gdb.base/interrupt-daemon.exp: New.
1717         * gdb.multi/multi-term-settings.c: New.
1718         * gdb.multi/multi-term-settings.exp: New.
1719
1720 2018-01-30  Joel Brobecker  <brobecker@adacore.com>
1721
1722         * gdb.base/break.exp: Save the location where the breakpoint
1723         on break.c:47 was actually inserted when debugging the version
1724         compiled at -O2 and use it in the expected output of the "info
1725         break" test performed soon after.
1726
1727 2018-01-22  Pedro Alves  <palves@redhat.com>
1728             Sergio Durigan Junior  <sergiodj@redhat.com>
1729
1730         * gdb.base/whatis.exp: Add tests for 'set print object on' +
1731         'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1732
1733 2018-01-22  Joel Brobecker  <brobecker@adacore.com>
1734
1735         * gdb.base/break-include.c, gdb.base/break-include.inc,
1736         gdb.base/break-include.exp: New files.
1737         * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1738         line number now being the actual line number where the breakpoint
1739         was inserted.
1740         * gdb.mi/mi-break.exp: Likewise.
1741         * gdb.mi/mi-reverse.exp: Likewise.
1742         * gdb.mi/mi-simplerun.exp: Ditto.
1743
1744 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1745
1746         * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1747         varobj.
1748         * gdb.mi/mi-var-create-rtti.exp: Likewise.
1749
1750 2018-01-21  Don Breazeal  <donb@codesourcery.com>
1751             Andrew Burgess  <andrew.burgess@embecosm.com>
1752
1753         * gdb.mi/basics.c: Add new global.
1754         * gdb.mi/mi-frame-regs.exp: New file.
1755         * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1756         case.
1757
1758 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1759
1760         * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1761         non-parameter, and on an unknown symbol.
1762
1763 2018-01-19  Tom Tromey  <tom@tromey.com>
1764
1765         * gdb.rust/modules.rs (TWENTY_THREE): New global.
1766         * gdb.rust/modules.exp: Add ::-qualified lookup test.
1767
1768 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1769
1770         * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1771         setrlimit and chdir to int.
1772
1773 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1774
1775         * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1776         function.
1777         (my_tend): Likewise.
1778         * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1779         rationale of avoiding FP- and vector instructions.
1780
1781 2018-01-19  Ruslan Kabatsayev  <b7.10110111@gmail.com>
1782
1783         * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1784         "info reg" with "\[ \t\]*".
1785         * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1786         "\[ \t\]+".
1787         * gdb.arch/s390-multiarch.exp: Ditto.
1788         * gdb.base/pc-fp.exp: Ditto.
1789         * gdb.reverse/i386-precsave.exp: Ditto.
1790         * gdb.reverse/i386-reverse.exp: Ditto.
1791         * gdb.reverse/i387-env-reverse.exp: Ditto.
1792         * gdb.reverse/i387-stack-reverse.exp: Ditto.
1793
1794 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1795
1796         * lib/gdb.exp (gdb_compile): Re-enable use of
1797         universal_compile_options for languages other than Rust.
1798
1799 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1800
1801         * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1802
1803 2018-01-17  Mike Gulick  <mgulick@mathworks.com>
1804
1805         PR gdb/16577
1806         * gdb.base/solib-vanish.exp: New.
1807         * gdb.base/solib-vanish-main.c: New.
1808         * gdb.base/solib-vanish-lib1.c: New.
1809         * gdb.base/solib-vanish-lib2.c: New.
1810
1811 2018-01-17  Yao Qi  <yao.qi@linaro.org>
1812
1813         * gdb.compile/compile.exp: Match the address printed for
1814         frame in the output of command "bt".
1815
1816 2018-01-15  Tom Tromey  <tom@tromey.com>
1817
1818         * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1819         compute sp_reg.
1820
1821 2018-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1822
1823         * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1824         to prepare.
1825         (prepare): Return 0 on error, 1 on success.
1826
1827 2018-01-12  Pedro Alves  <palves@redhat.com>
1828
1829         * gdb.base/continue-after-aborted-step-over.c: New.
1830         * gdb.base/continue-after-aborted-step-over.exp: New.
1831
1832 2018-01-11  Simon Marchi  <simon.marchi@ericsson.com>
1833
1834         * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1835         options when not creating an executable.
1836
1837 2018-01-11  Pedro Alves  <palves@redhat.com>
1838
1839         PR remote/22597
1840         * gdb.server/stop-reply-no-thread.c: New file.
1841         * gdb.server/stop-reply-no-thread.exp: New file.
1842
1843 2018-01-10  Pedro Alves  <palves@redhat.com>
1844
1845         PR gdb/22670
1846         * gdb.ada/bp_c_mixed_case.exp: Add intro comment.  Test printing C
1847         functions too.  Test setting breakpoints and printing C functions
1848         with no debug info too.
1849         * gdb.ada/bp_c_mixed_case/qux.c: New file.
1850
1851 2018-01-10  Pedro Alves  <palves@redhat.com>
1852
1853         PR gdb/22670
1854         * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1855         a fail.
1856
1857 2018-01-10  Pedro Alves  <palves@redhat.com>
1858
1859         PR gdb/22670
1860         * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
1861
1862 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
1863
1864         * gdb.server/unittest.exp: Match the output in non-development
1865         mode.
1866
1867 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
1868
1869         * gdb.gdb/unittest.exp: Match output in non-development mode.
1870
1871 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
1872
1873         * gdb.ada/access_tagged_param.exp: Relax expected output
1874         for value of "ObjL" in "continue" to pck.inspect breakpoint
1875         test.
1876
1877 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
1878
1879         * gdb.ada/arr_enum_idx_w_gap.exp: New file.
1880         * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
1881
1882 2018-01-05  Pedro Alves  <palves@redhat.com>
1883
1884         PR gdb/18653
1885         * gdb.base/libsegfault.exp: New.
1886
1887 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1888
1889         PR gdb/22670
1890         * gdb.ada/access_tagged_param.exp: New file.
1891         * gdb.ada/access_tagged_param/foo.adb: New file.
1892
1893 2018-01-05  Pedro Alves  <palves@redhat.com>
1894
1895         PR gdb/22670
1896         * gdb.ada/info_addr_mixed_case.exp: Remove kfail.  Extend test to
1897         exercise lower case too, and to exercise both full matching and
1898         wild matching.
1899
1900 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1901
1902         * gdb.ada/rename_subscript_param: New testcase.
1903
1904 2018-01-05  Jerome Guitton  <guitton@adacore.com>
1905
1906         * gdb.ada/arr_acc_idx_w_gap: New testcase.
1907
1908 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1909
1910         * gdb.ada/convvar_comp: New testcase.
1911
1912 2018-01-05  Xavier Roirand  <roirand@adacore.com>
1913
1914         * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
1915         (My_Table): New global variable.
1916         * testsuite/gdb.ada/array_char_idx.exp: Add test.
1917
1918 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
1919
1920         PR gdb/22670
1921         * gdb.ada/maint_with_ada: New testcase.
1922
1923 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
1924
1925         PR gdb/22670
1926         * gdb.ada/bp_c_mixed_case: New testcase.
1927
1928 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
1929
1930         PR gdb/22670
1931         * gdb.ada/complete.exp: Add "complete break ada" test.
1932
1933 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
1934
1935         PR gdb/22670
1936         * gdb.ada/info_addr_mixed_case: New testcase.
1937
1938 2018-01-03  Xavier Roirand  <roirand@adacore.com>
1939
1940         * gdb.ada/excep_handle.exp: New testcase.
1941         * gdb.ada/excep_handle/foo.adb: New file.
1942         * gdb.ada/excep_handle/pck.ads: New file.
1943
1944 2018-01-03  Joel Brobecker  <brobecker@adacore.com>
1945
1946         * gdb.base/step-line.c: Add extra empty line in copyright header.
1947         * gdb.base/step-line.inp: Likewise.
1948
1949 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
1950
1951         * gdb.ada/dyn_stride.exp: Add slice test.
1952
1953 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
1954
1955         * gdb.ada/dyn_stride: New testcase.
1956
1957 2017-12-27  Stafford Horne  <shorne@gmail.com>
1958
1959         * gdb.xml/extra-regs.xml: Add example foo reggroup.
1960         * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
1961
1962 2017-12-27  Stafford Horne  <shorne@gmail.com>
1963
1964         * gdb.base/reggroups.c: New file.
1965         * gdb.base/reggroups.exp: New file.
1966
1967 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
1968
1969         * gdb.dwarf2/ada-valprint-error.c: New file.
1970         * gdb.dwarf2/ada-valprint-error.exp: New file.
1971
1972 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
1973
1974         * gdb.ada/assign_arr: New testcase.
1975
1976 2017-12-18  Xavier Roirand  <roirand@adacore.com>
1977
1978         * gdb.ada/funcall_ptr: New testcase.
1979
1980 2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
1981
1982         PR cli/16224
1983         * gdb.base/ptype-offsets.cc: New file.
1984         * gdb.base/ptype-offsets.exp: New file.
1985
1986 2017-12-15  Yao Qi  <yao.qi@linaro.org>
1987
1988         * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
1989         if XML is disabled.
1990
1991 2017-12-15  Xavier Roirand  <roirand@adacore.com>
1992
1993         * gdb.ada/same_component_name: New testcase.
1994
1995 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
1996
1997         * gdb.ada/str_binop_equal: New testcase.
1998
1999 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
2000
2001         * gdb.ada/task_switch_in_core: New testcase.
2002
2003 2017-12-13  Simon Marchi  <simon.marchi@ericsson.com>
2004
2005         * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2006         * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2007         call test_bkpt_qualified.
2008         (test_bkpt_qualified): New proc.
2009
2010 2017-12-13  Pedro Alves  <palves@redhat.com>
2011
2012         * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2013         Tighten regexp by matching with an anchor.
2014
2015 2017-12-13  Pedro Alves  <palves@redhat.com>
2016
2017         * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2018         ("expression with namespace"): New set of tests.
2019         * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
2020         (Nested::Test_NS::qux): New.
2021         * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
2022         defaults to 'start_quote_char' and 'end_quote_char' parameters.
2023
2024 2017-12-13  Joel Brobecker  <brobecker@adacore.com>
2025
2026         * gdb.base/server-del-break.c: New file.
2027         * gdb.base/server-del-break.exp: New file.
2028
2029 2017-12-12  Stafford Horne  <shorne@gmail.com>
2030
2031         * gdb.xml/tdesc-regs.exp: Add or1k support.
2032
2033 2017-12-12  Stafford Horne  <shorne@gmail.com>
2034
2035         * gdb.base/bp-permanent.c: Define nop of or1k.
2036
2037 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2038
2039         * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
2040         output with components being reordered.
2041
2042 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2043
2044         * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
2045         output with components being reordered.
2046
2047 2017-12-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2048             Pedro Alves  <palves@redhat.com>
2049
2050         * gdb.base/maint.exp (check for .gdb_index): Check also for
2051         .debug_names.
2052         * gdb.dlang/watch-loc.c (.debug_aranges): New.
2053         * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
2054         * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
2055         (.gdb_index used after symbol reloading): Support also .debug_names.
2056         * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
2057
2058 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2059
2060         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2061         * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
2062
2063 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2064
2065         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2066         * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
2067
2068 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2069
2070         * gdb.arch/aarch64-tagged-pointer.c: New file.
2071         * gdb.arch/aarch64-tagged-pointer.exp: New file.
2072
2073 2017-12-08  Sergio Durigan Junior  <sergiodj@redhat.com>
2074
2075         * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
2076         "int".
2077
2078 2017-12-07  Keith Seitz  <keiths@redhat.com>
2079
2080         PR breakpoints/22569
2081         * gdb.linespec/ls-errs.exp: Change expected result of "break
2082         -source this file has spaces.c -line 3".
2083         Check that an explicit source file followed by whitespace is
2084         identified as an invalid explicit location.
2085
2086 2017-12-07  Keith Seitz  <keiths@redhat.com>
2087
2088         * gdb.cp/nested-types.cc: New file.
2089         * gdb.cp/nested-types.exp: New file.
2090         * lib/cp-support.exp: Load data-structures.exp library.
2091         (debug_cp_test_ptype_class): New global.
2092         (cp_ptype_class_verbose, next_line): New procedures.
2093         (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
2094         Add and document new return value.
2095         Switch the list of lines to a queue.
2096         Add support for new `type' key for nested type definitions.
2097         Add debugging/troubleshooting messages.
2098         * lib/data-structures.exp: New file.
2099
2100 2017-12-07  Simon Marchi  <simon.marchi@ericsson.com>
2101
2102         * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
2103         with proc_with_prefix, don't use with_test_prefix.
2104
2105 2017-12-07  Tom Tromey  <tom@tromey.com>
2106
2107         * gdb.base/break.exp: Add test for empty "commands".
2108
2109 2017-12-07  Yao Qi  <yao.qi@linaro.org>
2110
2111         * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
2112         malloc and catch syscall.
2113
2114 2017-12-07  Phil Muldoon  <pmuldoon@redhat.com>
2115
2116        * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
2117         tests for explicit locations.
2118
2119 2017-12-06  Pedro Alves  <palves@redhat.com>
2120
2121         * gdb.arch/i386-avx.exp: If testing with a RSP target, check
2122         force-disabling XML descriptions.
2123
2124 2017-12-04  Pedro Alves  <palves@redhat.com>
2125
2126         PR gdb/22499
2127         * gdb.arch/amd64-disp-step-avx.S: New file.
2128         * gdb.arch/amd64-disp-step-avx.exp: New file.
2129
2130 2017-12-03  Pedro Alves  <palves@redhat.com>
2131
2132         * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
2133         and <string.h>.
2134         (parent_function): Print distinct messages when waitpid fails, or
2135         the child exits with a signal, or the child exits for an unhandled
2136         reason.
2137         * gdb.threads/process-dies-while-detaching.exp
2138         (detach_and_expect_exit): New 'inf_output_re' parameter and use
2139         it.  Wait for both inferior output and GDB's prompt.  Use an
2140         indirect spawn id list.
2141         (do_detach): New parameter 'child_exit'.  Use it to compute
2142         expected inferior output.
2143         (test_detach, test_detach_watch, test_detach_killed_outside):
2144         Adjust to pass down the expected child exit kind.
2145
2146 2017-12-01  Joel Brobecker  <brobecker@adacore.com>
2147             Sergio Durigan Junior  <sergiodj@redhat.com>
2148             Pedro Alves  <palves@redhat.com>
2149
2150         * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
2151
2152 2017-12-01  Sergio Durigan Junior  <sergiodj@redhat.com>
2153
2154         * gdb.base/relocate.exp: Add tests to guarantee that arguments
2155         to 'symbol-file' and 'add-symbol-file' can be
2156         position-independent.
2157
2158 2017-12-01  Yao Qi  <yao.qi@linaro.org>
2159
2160         * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
2161         the URL in copyright header.
2162         * gdb.arch/aarch64-fp.exp: Likewise.
2163         * gdb.arch/ppc64-atomic-inst.exp: Likewise.
2164         * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
2165         * gdb.base/expand-psymtabs.exp: Likewise.
2166         * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
2167         * gdb.fortran/common-block.exp: Likewise.
2168         * gdb.fortran/common-block.f90: Likewise.
2169         * gdb.fortran/logical.exp: Likewise.
2170         * gdb.fortran/vla-datatypes.f90: Likewise.
2171         * gdb.fortran/vla-sub.f90: Likewise.
2172
2173 2017-11-30  Joel Brobecker  <brobecker@adacore.com>
2174
2175         * gdb.ada/repeat_dyn: New testcase.
2176
2177 2017-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
2178
2179         * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
2180         Update for changed thread numbering.
2181         * gdb.cell/bt.exp: Update for changed GDB output.
2182
2183 2017-11-30  Simon Marchi  <simon.marchi@ericsson.com>
2184
2185         * boards/cc-with-tweaks.exp: Include local-board.exp instead of
2186         setting isremote by hand.
2187         * boards/dwarf4-gdb-index.exp: Likewise.
2188         * boards/fission.exp: Likewise.
2189         * boards/stabs.exp: Likewise.
2190
2191 2017-11-30  Pedro Alves  <palves@redhat.com>
2192
2193         * gdb.linespec/cpls-ops.exp
2194         (check_explicit_skips_function_argument): Extract the underlying
2195         type of size_t instead of hardcoding it.
2196
2197 2017-11-29  Pedro Alves  <palves@redhat.com>
2198
2199         PR c++/19436
2200         * gdb.linespec/cpls-abi-tag.cc: New file.
2201         * gdb.linespec/cpls-abi-tag.exp: New file.
2202
2203 2017-11-29  Pedro Alves  <palves@redhat.com>
2204
2205         * gdb.base/langs.exp: Use -qualified.
2206         * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
2207         it.
2208         * gdb.cp/namespace.exp: Use -qualified.
2209         * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
2210         (overload-3, template-overload, template-ret-type, const-overload)
2211         (const-overload-quoted, anon-ns, ambiguous-prefix): New
2212         procedures.
2213         (test_driver): Call them.
2214         * gdb.cp/save-bp-qualified.cc: New.
2215         * gdb.cp/save-bp-qualified.exp: New.
2216         * gdb.linespec/explicit.exp: Test -qualified.
2217         * lib/completion-support.exp (completion::explicit_opts_list): Add
2218         "-qualified".
2219         * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
2220
2221 2017-11-29  Phil Muldoon  <pmuldoon@redhat.com>
2222
2223         * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
2224
2225 2017-11-29  Tom Tromey  <tom@tromey.com>
2226
2227         * gdb.base/relocate.exp: Update invalid argument test.
2228         Add new tests for invalid arguments.
2229
2230 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2231
2232         * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
2233         Return 0 as a long.
2234         * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
2235
2236 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2237
2238         * gdb.cp/breakpoint.cc (bar): Set return type to void.
2239         * gdb.cp/psymtab-parameter.cc (func): Likewise.
2240         * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
2241         func ().
2242         * gdb.cp/shadow.cc (B.func): Return 0.
2243
2244 2017-11-27  Joel Brobecker  <brobecker@adacore.com>
2245
2246         * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
2247         expected output in gdb_expect call to allow the exception
2248         message to be present as well.  Fix syntax confusion to avoid
2249         TCL thinking that exception_name is an array.
2250
2251 2017-11-26  Ulrich Weigand  <uweigand@de.ibm.com>
2252
2253         * gdb.arch/spu-info.c: Include <unistd.h>.
2254         (do_signal_test): Fix broken calls to write.
2255         * gdb.arch/spu-info.exp: Use prepare_for_testing.
2256         Fix checks for empty mailboxes.  Update signal tests for corrected
2257         do_signal_test routine.  Allow nonzero event status.
2258         * gdb.arch/spu-ls.exp: Use prepare_for_testing.
2259         * gdb.cell/arch.exp: Use standard_output_file.
2260         * gdb.cell/break.exp: Likewise.
2261         * gdb.cell/bt.exp: Likewise.
2262         * gdb.cell/core.exp: Likewise.
2263         * gdb.cell/dwarfaddr.exp: Likewise.
2264         * gdb.cell/ea-cache.exp: Likewise.
2265         * gdb.cell/ea-standalone.exp: Likewise.
2266         * gdb.cell/f-regs.exp: Likewise.
2267         * gdb.cell/fork.exp: Likewise.
2268         * gdb.cell/gcore.exp: Likewise.
2269         * gdb.cell/mem-access.exp: Likewise.
2270         * gdb.cell/ptype.exp: Likewise.
2271         * gdb.cell/registers.exp: Likewise.
2272         * gdb.cell/sizeof.exp: Likewise.
2273         * gdb.cell/solib-symbol.exp: Likewise.
2274         * gdb.cell/solib.exp: Likewise.
2275
2276 2017-11-25   Pedro Alves  <palves@redhat.com>
2277
2278         * gdb.base/complete-empty.exp: New file.
2279         * gdb.base/completion.exp: Adjust.
2280
2281 2017-11-25  Pedro Alves  <palves@redhat.com>
2282
2283         * gdb.linespec/cpls-ops.cc: New file.
2284         * gdb.linespec/cpls-ops.exp: New file.
2285         * lib/completion-support.exp (test_complete_prefix_range_re): New,
2286         factored out from ...
2287         (test_complete_prefix_range): ... this.
2288
2289 2017-11-24  Pedro Alves  <palves@redhat.com>
2290
2291         * gdb.linespec/cpcompletion.exp: New file.
2292         * gdb.linespec/cpls-hyphen.cc: New file.
2293         * gdb.linespec/cpls.cc: New file.
2294         * gdb.linespec/cpls2.cc: New file.
2295         * gdb.linespec/explicit.exp: Load completion-support.exp.  Adjust
2296         test to use test_gdb_complete_unique.  Add label completion,
2297         keyword completion and explicit location completion tests.
2298         * lib/completion-support.exp: New file.
2299
2300 2017-11-24  Joel Brobecker  <brobecker@adacore.com>
2301
2302         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
2303         gdb.ada/mi_ex_cond.exp: Accept optional exception message in
2304         when hitting an exception catchpoint.
2305
2306 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2307
2308         * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
2309
2310 2017-11-22  Simon Marchi  <simon.marchi@ericsson.com>
2311
2312         * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
2313         * gdb.dwarf2/info-locals-optimized-out.exp: New file.
2314         * gdb.dwarf2/info-locals-optimized-out.c: New file.
2315
2316 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2317
2318         * gdb.base/info-os.exp: Pass pthreads.
2319         * gdb.multi/multi-attach.exp: Likewise.
2320
2321 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2322
2323         * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2324         compiler.
2325
2326 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2327
2328         * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2329         * gdb.base/break-interp.exp: Likewise.
2330         * gdb.base/jit-attach-pie.exp: Likewise.
2331
2332 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2333
2334         * gdb.base/float128.c (large128): New variable.
2335         * gdb.base/float128.exp: Add test to print largest __float128 value.
2336
2337 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2338
2339         * gdb.arch/vsx-regs.exp: Update register content checks.
2340
2341 2017-11-21  Ulrich Weigand  <uweigand@de.ibm.com>
2342
2343         * gdb.arch/ppc-longdouble.exp: New file.
2344         * gdb.arch/ppc-longdouble.c: Likewise.
2345
2346 2017-11-21  Pedro Alves  <palves@redhat.com>
2347
2348         * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2349
2350 2017-11-20  Pedro Alves  <palves@redhat.com>
2351
2352         * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2353         (long_double_typedef): New typedefs.
2354         Use DEF on double and long double.
2355         * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2356         cases.
2357         (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2358         and 'long_double_ptr_same_size' locals.  Use them to decide
2359         whether cast from array/function to float is valid/invalid.
2360
2361 2017-11-17  Tom Tromey  <tom@tromey.com>
2362
2363         * gdb.rust/traits.rs: New file.
2364         * gdb.rust/traits.exp: New file.
2365
2366 2017-11-17  Joel Brobecker  <brobecker@adacore.com>
2367
2368         * gdb.ada/minsyms: New testcase.
2369
2370 2017-11-16  Pedro Alves  <palves@redhat.com>
2371
2372         * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2373         * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2374
2375 2017-11-16  Pedro Alves  <palves@redhat.com>
2376
2377         * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2378         gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2379
2380 2017-11-16  Pedro Alves  <palves@redhat.com>
2381
2382         * gdb.server/reconnect-ctrl-c.c: New file.
2383         * gdb.server/reconnect-ctrl-c.exp: New file.
2384
2385 2017-11-16  Phil Muldoon  <pmuldoon@redhat.com>
2386
2387         * gdb.python/py-rbreak.exp: New file.
2388         * gdb.python/py-rbreak.c: New file.
2389         * gdb.python/py-rbreak-func2.c: New file.
2390
2391 2017-11-16  Pedro Alves  <palves@redhat.com>
2392
2393         * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2394         pattern.
2395         * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2396         GDB.
2397
2398 2017-11-15  Simon Marchi  <simon.marchi@ericsson.com>
2399
2400         * gdb.tui/completionn.exp (test_tab_completion): Add space in
2401         regex.
2402
2403 2017-11-13  Simon Marchi  <simon.marchi@polymtl.ca>
2404
2405         * gdb.opt/inline-locals.exp: Remove trailing parentheses from
2406         test names.
2407
2408 2017-11-09  Pedro Alves  <palves@redhat.com>
2409
2410         * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
2411         factored out from ...
2412         (top level): ... here, and adjusted to avoid expecting beyond the
2413         prompt in a single gdb_test_multiple.
2414
2415 2017-11-09  Pedro Alves  <palves@redhat.com>
2416
2417         * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2418         output.
2419         * gdb.server/ext-attach.exp ("kill" test): Likewise.
2420         * gdb.server/ext-restart.exp ("kill" test): Likewise.
2421         * gdb.server/ext-run.exp ("kill" test): Likewise.
2422         * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2423
2424 2017-11-09  Pedro Alves  <palves@redhat.com>
2425
2426         * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2427         match till end of line.
2428
2429 2017-11-09  Pedro Alves  <palves@redhat.com>
2430
2431         * gdb.base/memattr.exp: Tighten regexes to match the end line.
2432
2433 2017-11-09  Pedro Alves  <palves@redhat.com>
2434
2435         * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2436         New procedures, factored out from ...
2437         (top level): ... here, and adjusted to avoid expecting beyond the
2438         prompt in one go.
2439
2440 2017-11-09  Pedro Alves  <palves@redhat.com>
2441
2442         * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2443         output.  Fix '?' match.
2444
2445 2017-11-08  Joel Brobecker  <brobecker@adacore.com>
2446
2447         * gdb.ada/scoped_watch: New testcase.
2448         * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2449         which is actually correct.
2450         * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2451         * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2452
2453 2017-11-08  Pedro Alves  <palves@redhat.com>
2454
2455         * gdb.gdb/complaints.exp (test_initial_complaints)
2456         (test_serial_complaints, test_short_complaints): Call
2457         complaint_internal instead of complaint.
2458
2459 2017-11-08  Djordje Todorovic  <djordje.todorovic@rt-rk.com>
2460
2461         * gdb.threads/tls-core.c: New file.
2462         * gdb.threads/tls-core.exp: Likewise.
2463
2464 2017-11-08   Pedro Alves  <palves@redhat.com>
2465
2466         * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2467         (p Exported_Capitalized): New test.
2468         (p exported_capitalized): New test.
2469
2470 2017-11-07  Pedro Alves  <palves@redhat.com>
2471
2472         * gdb.cp/ena-dis-br-range.exp: Add more tests.
2473
2474 2017-11-07  Pedro Alves  <palves@redhat.com>
2475
2476         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2477         * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2478         (disable_invalid, disable_inverted, disable_negative): New
2479         procedures.
2480         ("bad numbers"): New set of tests.
2481
2482 2017-11-07  Pedro Alves  <palves@redhat.com>
2483
2484         * gdb.cp/ena-dis-br-range.exp: Add tests.
2485
2486 2017-11-07  Pedro Alves  <palves@redhat.com>
2487
2488         * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2489
2490 2017-11-07  Xavier Roirand  <roirand@adacore.com>
2491             Pedro Alves  <palves@redhat.com>
2492
2493         * gdb.base/ena-dis-br.exp: Add reference to
2494         gdb.cp/ena-dis-br-range.exp.
2495         * gdb.cp/ena-dis-br-range.exp: New file.
2496         * gdb.cp/ena-dis-br-range.cc: New file.
2497
2498 2017-11-06  Pedro Alves  <palves@redhat.com>
2499
2500         * gdb.base/attach-non-pgrp-leader.c: New.
2501         * gdb.base/attach-non-pgrp-leader.exp: New.
2502
2503 2017-11-06  Pedro Alves  <palves@redhat.com>
2504
2505         * configure.ac: No longer check for termio.h and sgtty.h.
2506         * configure: Regenerate.
2507         * remote-utils.c: Include termios.h instead of gdb_termios.h.
2508         (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2509         Remove termio and sgtty code.
2510
2511 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2512
2513         * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2514         in GDB is disabled.
2515
2516 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2517
2518         * gdb.python/py-thrhandle.exp: Skip it if python is not
2519         enabled.
2520
2521 2017-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
2522
2523         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2524         as a breakpoint command.
2525
2526 2017-10-28  Maksim Dzabraev  <dzabraew@gmail.com>
2527
2528         PR python/21213
2529         * gdb.python/py-infthread.exp: Test calling
2530         InferiorThread.inferior () multiple times in a row.
2531
2532 2017-10-27  Keith Seitz  <keiths@redhat.com>
2533
2534         * gdb.opt/inline-break.exp (break_info_1): New procedure.
2535         Test "info break" for every inlined function breakpoint.
2536
2537 2017-10-27  Yao Qi  <yao.qi@linaro.org>
2538
2539         * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2540
2541 2017-10-26  Patrick Frants  <osscontribute@gmail.com>
2542
2543         * gdb.cp/classes.exp (test_static_members): Test printing
2544         Outer::instance.
2545         * gdb.cp/classes.c (struct Inner, struct Outer): New.
2546         (Inner::instance, Outer::instance): New.
2547
2548 2017-10-24  Pedro Alves  <palves@redhat.com>
2549
2550         * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2551         extra console" test in two stages.
2552
2553 2017-10-24  Pedro Alves  <palves@redhat.com>
2554
2555         * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2556
2557 2017-10-24  Pedro Alves  <palves@redhat.com>
2558
2559         * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2560         loop.
2561
2562 2017-10-24  Pedro Alves  <palves@redhat.com>
2563
2564         * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2565         $attempt" and "stoppedtry $stoppedtry" test prefixes.
2566
2567 2017-10-24  Pedro Alves  <palves@redhat.com>
2568
2569         * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2570         parameter and handle it.  Don't output read value in test name.
2571
2572 2017-10-24  Pedro Alves  <palves@redhat.com>
2573
2574         * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2575         custom test name.
2576
2577 2017-10-24  Pedro Alves  <palves@redhat.com>
2578
2579         * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2580         include the unstable output directory name in the test's name.
2581         (initial_setup_simple) <'set args'>: Use custom test name.
2582
2583 2017-10-24  Pedro Alves  <palves@redhat.com>
2584
2585         * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2586         with explicit test name.
2587
2588 2017-10-20  Pedro Alves  <palves@redhat.com>
2589
2590         * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2591         'wait -i'.  Use gdb_assert and remote_close.
2592
2593 2017-10-19  Andrew Burgess  <andrew.burgess@embecosm.com>
2594
2595         * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2596         number from variable rather than hard-coded.
2597
2598 2017-10-19  Pedro Alves  <palves@redhat.com>
2599
2600         * gdb.base/long-inferior-output.c: New file.
2601         * gdb.base/long-inferior-output.exp: New file.
2602
2603 2017-11-18  Keith Seitz  <keiths@redhat.com>
2604
2605         * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2606         method.
2607         (main): Call it.
2608         * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2609         Add additional user-defined conversion operator tests.
2610
2611 2017-10-17  Pedro Alves  <palves@redhat.com>
2612
2613         * boards/native-stdio-gdbserver.exp: Load "local-board".
2614
2615 2017-10-17  Pedro Alves  <palves@redhat.com>
2616
2617         * gdb.base/quit-live.c: New file.
2618         * gdb.base/quit-live.exp: New file.
2619
2620 2017-10-16  Keith Seitz  <keiths@redhat.com>
2621
2622         * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2623         (class_with_protected_typedef, class_with_private_typedef)
2624         (struct_with_public_typedef, struct_with_protected_typedef)
2625         (struct_with_private_typedef): New classes/structs.
2626         * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2627         typedefs and access specifiers.
2628
2629 2017-10-16  Pedro Alves  <palves@redhat.com>
2630             Simon Marchi  <simon.marchi@polymtl.ca>
2631
2632         * README (Local vs Remote vs Native): New section.
2633         * boards/local-board.exp: New file, with bits factored out from
2634         ...
2635         * boards/native-extended-gdbserver.exp: ... here.  Load
2636         "local-board".
2637         * boards/native-gdbserver.exp: Load "local-board".
2638         (${board}_spawn, ${board}_exec): Delete.
2639         * boards/native-stdio-gdbserver.exp: Most contents factored out to
2640         ...
2641         * boards/stdio-gdbserver-base.exp: ... this new file.
2642         * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2643         "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2644         procedure.
2645         * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2646         instead of native-stdio-gdbserver.  Don't set gdb_server_prog nor
2647         stdio_gdbserver_command.
2648         (${board}_get_remote_address, ${board}_get_comm_port)
2649         (${board}_download, ${board}_upload): Delete.
2650         (get_target_remote_pipe_cmd): New.
2651
2652 2017-10-16  Simon Marchi  <simon.marchi@ericsson.com>
2653
2654         * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2655         test_bkpt_deletion, test_bkpt_cond_and_cmds,
2656         test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2657         test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2658         test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2659         remove with_test_prefix.
2660
2661 2017-10-13  Pedro Alves  <palves@redhat.com>
2662
2663         * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2664         * gdb.base/annota1.exp: Use it instead of is_remote.
2665         * gdb.base/annota3.exp: Use it instead of is_remote.
2666         * gdb.cp/annota2.exp: Use it instead of is_remote.
2667         * gdb.cp/annota3.exp: Use it instead of is_remote.
2668         * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2669
2670 2017-10-13  Pedro Alves  <palves@redhat.com>
2671
2672         * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2673         (test_num_test_vars, run_and_count_vars, find_env)
2674         (test_set_unset_env, test_inherit_env_var): New procedures.
2675         (top level): Use them.
2676
2677 2017-10-13  Pedro Alves  <palves@redhat.com>
2678
2679         * lib/selftest-support.exp (selftest_setup): Extend comments, and
2680         also skip on stub-like targets.
2681
2682 2017-10-13  Pedro Alves  <palves@redhat.com>
2683
2684         PR gdb/22293
2685         * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2686         (top level): Move some tests to ...
2687         (test_not_found): ... this new procedure.
2688         (top level): Call it.
2689
2690 2017-10-13  Pedro Alves  <palves@redhat.com>
2691
2692         * gdb.base/term.exp: Don't skip if is_remote target.  Instead,
2693         expect different "info terminal" output if testing with a
2694         non-native target.
2695
2696 2017-10-13  Pedro Alves  <palves@redhat.com>
2697             Simon Marchi  <simon.marchi@polymtl.ca>
2698
2699         PR python/12966
2700         * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2701
2702 2017-10-13  Pedro Alves  <palves@redhat.com>
2703
2704         * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2705         already.
2706
2707 2017-10-13  Pedro Alves  <palves@redhat.com>
2708
2709         * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2710         is_remote.
2711
2712 2017-10-13  Pedro Alves  <palves@redhat.com>
2713
2714         * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2715         is_remote.
2716
2717 2017-10-13  Pedro Alves  <palves@redhat.com>
2718
2719         * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2720         is set.
2721         (corefile_test_attach): Likewise.  Check can_spawn_for_attach
2722         instead of is_remote.
2723
2724 2017-10-13  Pedro Alves  <palves@redhat.com>
2725
2726         * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2727         (top level): Add comment.
2728
2729 2017-10-13  Pedro Alves  <palves@redhat.com>
2730
2731         * gdb.base/remote.exp (top level): Fix comment typo and add
2732         missing return.
2733
2734 2017-10-13  Pedro Alves  <palves@redhat.com>
2735             Simon Marchi  <simon.marchi@polymtl.ca>
2736
2737         * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2738         calls and add comments.  Skip test if use_gdb_stub is set.
2739         (top level): Use "set cwd" command instead of "cd" command.
2740
2741 2017-10-13  Pedro Alves  <palves@redhat.com>
2742
2743         * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2744         is_remote target check.
2745
2746 2017-10-13  Pedro Alves  <palves@redhat.com>
2747
2748         * gdb.base/scope.exp: Use build_executable + clean_restart +
2749         gdb_file_cmd instead of prepare_for_testing and no longer skip
2750         "before run" tests on is_remote target boards.  Update comments.
2751         * boards/native-extended-gdbserver.exp
2752         (extended_gdbserver_load_last_file): New, factored out from ...
2753         (gdb_load): ... this.  Move further below and add comment.
2754         (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2755
2756 2017-10-12  Pedro Alves  <palves@redhat.com>
2757
2758         * gdb.base/attach.exp: Remove references to gdb64.
2759         * gdb.base/dbx.exp: Remove references to gdb64.
2760
2761 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
2762             Pedro Alves  <palves@redhat.com>
2763
2764         * gdb.base/label.exp: Remove is_remote target check.
2765
2766 2017-10-12  Pedro Alves  <palves@redhat.com>
2767
2768         * gdb.base/auvx.exp (coredir): Update comment.
2769         (top level) <core_works>: Use "set cwd" command instead of "cd"
2770         command.
2771
2772 2017-10-12  Pedro Alves  <palves@redhat.com>
2773             Simon Marchi  <simon.marchi@polymtl.ca>
2774
2775         * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2776         target boards.
2777
2778 2017-10-12  Pedro Alves  <palves@redhat.com>
2779             Simon Marchi  <simon.marchi@polymtl.ca>
2780
2781         * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2782         Instead skip if there's any gdb_protocol set.
2783
2784 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
2785             Pedro Alves  <palves@redhat.com>
2786
2787         * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2788
2789 2017-10-12  Pedro Alves  <palves@redhat.com>
2790             Simon Marchi  <simon.marchi@polymtl.ca>
2791
2792         * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2793         instead of on dejagnu remote boards.
2794
2795 2017-10-12  Pedro Alves  <palves@redhat.com>
2796             Simon Marchi  <simon.marchi@polymtl.ca>
2797
2798         * gdb.base/inferior-died.exp: Remove is_remote and isnative
2799         checks.  Use build_executable + clean_restart instead of
2800         prepare_for_testing.  Pass "set non-stop on" via GDBFLAGS instead
2801         of enabling non-stop after starting gdb.
2802
2803 2017-10-12  Pedro Alves  <palves@redhat.com>
2804
2805         * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2806         * gdb.threads/non-ldr-exc-2.exp: Ditto.
2807         * gdb.threads/non-ldr-exc-3.exp: Ditto.
2808         * gdb.threads/non-ldr-exc-4.exp: Ditto.
2809
2810 2017-10-11  Anton Kolesov  <Anton.Kolesov@synopsys.com>
2811
2812         * gdb.arch/arc-tdesc-cpu.exp: New file.
2813         * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2814
2815 2017-10-10  Simon Marchi  <simon.marchi@ericsson.com>
2816
2817         * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2818
2819 2017-10-10  Pedro Alves <palves@redhat.com>
2820
2821         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2822         expect CLI output.
2823
2824 2017-10-10  Pedro Alves  <palves@redhat.com>
2825
2826         * lib/selftest-support.exp (selftest_setup): Update for
2827         captured_command_loop's prototype change.
2828
2829 2017-10-09  Pedro Alves  <palves@redhat.com>
2830
2831         Test both arch1=>arch2 and arch2=>arch1.
2832
2833         * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2834         (srcfile2, binfile2, march1, march2): Remove globals.  Largely
2835         factored out to...
2836         (append_arch1_options, append_arch2_options, append_arch_options)
2837         (build_executables): New procedures.
2838         (do_test): New 'first_arch' parameter.  Use it to define 'from_exec'
2839         local.
2840         (top level): Add new 'first_arch' testing axis.
2841
2842 2017-10-09  Pedro Alves  <palves@redhat.com>
2843
2844         * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2845         (barrier): New.
2846         (thread_start, all_started): New functions.
2847         (main): Spawn new thread and wait until it is scheduled.
2848         * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2849         option.
2850         (do_test): Add 'selected_thread' parameter.  Run to all_started
2851         instead of main.  Explicitly set the breakpoint at main.  Switch
2852         to the SELECTED_THREAD thread.
2853         (top level): Test handling the exec event with either the main
2854         thread or the second thread selected.
2855
2856 2017-10-09  Pedro Alves  <palves@redhat.com>
2857
2858         * gdb.base/print-file-var-main.c: Fix get_version_2 value check
2859         logic.  Move STOP marker after the value checks.
2860         * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
2861         regexp.
2862
2863 2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>
2864
2865         * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
2866
2867 2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
2868
2869         * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
2870         integer-to-dfp conversion.
2871         * gdb.base/dfp-test.exp: Likewise.
2872
2873 2017-10-04  Pedro Alves  <palves@redhat.com>
2874
2875         * gdb.multi/hangout.c: Include <unistd.h>.
2876         (hangout_loop): New function.
2877         (main): Call alarm.  Call hangout_loop in a loop.
2878         * gdb.multi/hello.c: Include <unistd.h>.
2879         (hello_loop): New function.
2880         (main): Call alarm.  Call hangout_loop in a loop.
2881         * gdb.multi/multi-arch.exp: Test running to a breakpoint one
2882         inferior with the other selected.
2883
2884 2017-10-04  Simon Marchi  <simon.marchi@ericsson.com>
2885
2886         * gdb.mi/list-thread-groups-available.exp: New file.
2887         * gdb.mi/list-thread-groups-available.c: New file.
2888
2889 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
2890
2891         * gdb.base/set-cwd.exp: Make it available on
2892         native-extended-gdbserver.
2893
2894 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
2895
2896         * gdb.base/set-cwd.c: New file.
2897         * gdb.base/set-cwd.exp: Likewise.
2898
2899 2017-10-02  Tom Tromey  <tom@tromey.com>
2900
2901         PR rust/22236:
2902         * gdb.rust/simple.rs (main): New variable "fslice".
2903         * gdb.rust/simple.exp: Add slice tests.  Update string tests.
2904
2905 2017-10-02  Tom Tromey  <tom@tromey.com>
2906
2907         * gdb.rust/simple.exp: Test ptype of a slice.
2908
2909 2017-10-02  Tom Tromey  <tom@tromey.com>
2910
2911         * gdb.rust/simple.exp: Test index of slice.
2912
2913 2017-09-27  Tom Tromey  <tom@tromey.com>
2914
2915         * gdb.base/macscp.exp: Add __VA_OPT__ tests.
2916
2917 2017-09-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2918             Pedro Alves  <palves@redhat.com>
2919
2920         * gdb.base/compare-sections.exp (get value of read-only section): Read
2921         as unsigned value.
2922         (corrupt read-only section): Likewise and don't set written if patching
2923         failed.
2924
2925 2017-09-21  Kevin Buettner  <kevinb@redhat.com>
2926
2927         * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
2928         files.
2929
2930 2017-09-20  Pedro Alves  <palves@redhat.com>
2931
2932         * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
2933         symbol names in gdb's output.
2934         * gdb.cp/overload.exp ("list all overloads"): Likewise.
2935
2936 2017-09-20  Pedro Alves  <palves@redhat.com>
2937
2938         * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
2939         Rename to ...
2940         (test_list_ambiguous_symbol): ... this and add a symbol name
2941         parameter.  Adjust.
2942         (test_list_ambiguous_function): Reimplement on top of
2943         test_list_ambiguous_symbol and also test listing ambiguous
2944         variables.
2945         * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
2946         (ambiguous_fun): ... this.
2947         (ambiguous_var): New.
2948         * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
2949         (ambiguous_fun): ... this.
2950         (ambiguous_var): New.
2951
2952 2017-09-19  John Baldwin  <jhb@FreeBSD.org>
2953
2954         * gdb.base/starti.c: New file.
2955         * gdb.base/starti.exp: New file.
2956         * lib/gdb.exp (gdb_starti_cmd): New procedure.
2957
2958 2017-09-14  Pedro Alves  <palves@redhat.com>
2959
2960         * gdb.base/nodebug.exp (nodebug_runto): New procedure.
2961         (top level): Use it instead of runto.
2962
2963 2017-09-11  Tom Tromey  <tom@tromey.com>
2964
2965         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
2966
2967 2017-09-11  Tom Tromey  <tom@tromey.com>
2968
2969         * gdb.python/py-infthread.exp: Add tests for new_thread event.
2970         * gdb.python/py-inferior.exp: Add tests for new inferior events.
2971
2972 2017-09-08  Christoph Weinmann  <christoph.t.weinmann@intel.com>
2973
2974         * gdb.fortran/printing-types.exp: New file.
2975         * gdb.fortran/printing-types.exp: New file.
2976
2977 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
2978
2979         * gdb.fortran/vla-ptype.exp: Fix typos.
2980         * gdb.fortran/vla-value.exp: Same.
2981
2982 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
2983
2984         * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
2985         * gdb.mi/mi-var-child-f.exp: Likewise.
2986         * gdb.mi/mi-vla-fortran.exp: Likewise.
2987
2988 2017-09-08  Frank Penczek  <frank.penczek@intel.com>
2989             Christoph Weinmann  <christoph.t.weinmann@intel.com>
2990             Bernhard Heckel  <bernhard.heckel@intel.com>
2991
2992         * gdb.fortran/ptr-indentation.f90: New file.
2993         * gdb.fortran/ptr-indentation.exp: New file.
2994
2995 2017-09-05  Tom Tromey  <tom@tromey.com>
2996
2997         PR gdb/22010:
2998         * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
2999
3000 2017-09-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3001
3002         * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3003
3004 2017-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3005
3006         * gdb.threads/tls-nodebug-pie.c: New file.
3007         * gdb.threads/tls-nodebug-pie.exp: New file.
3008
3009 2017-09-05  Tom Tromey  <tom@tromey.com>
3010
3011         * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3012         for rust.
3013
3014 2017-09-05  Simon Marchi  <simon.marchi@ericsson.com>
3015
3016         * gdb.multi/multi-arch-exec.exp: Test with different
3017         "follow-exec-mode" settings.
3018         (do_test): New procedure.
3019
3020 2017-09-04  Pedro Alves  <palves@redhat.com>
3021
3022         * gdb.base/func-static.c (S::method const, S::method volatile)
3023         (S::method volatile const): New methods.
3024         (c_s, v_s, cv_s): New instances.
3025         (main): Call method() on them.
3026         * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
3027         (cannot_resolve): New procedure.
3028         (cxx_scopes_list): Test cv methods.  Add print-scope-quote and
3029         print-quote-unquoted columns.
3030         (do_test): Test printing each scope too.
3031
3032 2017-09-04  Pedro Alves  <palves@redhat.com>
3033
3034         * gdb.base/local-static.exp: Also test with
3035         class::method::variable wholly quoted.
3036         * gdb.cp/m-static.exp (class::method::variable): Remove test.
3037
3038 2017-09-04  Pedro Alves  <palves@redhat.com>
3039
3040         * gdb.base/local-static.c: New.
3041         * gdb.base/local-static.cc: New.
3042         * gdb.base/local-static.exp:  New.
3043
3044 2017-09-04  Pedro Alves  <palves@redhat.com>
3045
3046         * gdb.asm/asm-source.exp: Add casts to int.
3047         * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
3048         (dataglobal64_1, dataglobal64_2): New globals.
3049         * gdb.base/nodebug.exp: Test different expressions involving the
3050         new globals, with print, whatis and ptype.  Add casts to int.
3051         * gdb.base/solib-display.exp: Add casts to int.
3052         * gdb.compile/compile-ifunc.exp: Expect warning.  Add cast to int.
3053         * gdb.cp/m-static.exp: Add cast to int.
3054         * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
3055         * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
3056         tls variable with no debug info without a cast.  Test with a cast
3057         to int too.
3058         * gdb.trace/entry-values.exp: Add casts.
3059
3060 2017-09-04  Pedro Alves  <palves@redhat.com>
3061
3062         * gdb.base/nodebug.exp: Test that ptype's error about functions
3063         with unknown return type includes the function name too.
3064
3065 2017-09-04  Pedro Alves  <palves@redhat.com>
3066
3067         * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
3068         return type of munmap in infcall.
3069         * gdb.base/break-probes.exp: Cast return type of foo in infcall.
3070         * gdb.base/checkpoint.exp: Simplify using for loop.  Cast return
3071         type of ftell in infcall.
3072         * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
3073         type of getpid in infcall.
3074         * gdb.base/infcall-exec.exp: Cast return type of execlp in
3075         infcall.
3076         * gdb.base/info-os.exp: Cast return type of getpid in infcall.
3077         Bail on failure to extract the pid.
3078         * gdb.base/nodebug.c: #include <stdint.h>.
3079         (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
3080         New functions.
3081         * gdb.base/nodebug.exp (test_call_promotion): New procedure.
3082         Change expected output of print/whatis/ptype with functions with
3083         no debug info.  Test all supported languages.  Call
3084         test_call_promotion.
3085         * gdb.compile/compile.exp: Adjust expected output to expect
3086         warning.
3087         * gdb.threads/siginfo-threads.exp: Likewise.
3088
3089 2017-09-04  Pedro Alves  <palves@redhat.com>
3090
3091         * gdb.base/callfuncs.exp (do_function_calls): New parameter
3092         "prototypes".  Test calling float functions via prototyped and
3093         unprototyped function pointers.
3094         (perform_all_tests): New parameter "prototypes".  Pass it down.
3095         (top level): Pass down "prototypes" parameter to
3096         perform_all_tests.
3097
3098 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3099
3100         * gdb.base/commands.exp (loop_break_test, loop_continue_test):
3101         Test with nested loops.
3102
3103 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3104
3105         * gdb.base/commands.exp: Call the new procedures.
3106         (loop_break_test, loop_continue_test): New procedures.
3107
3108 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3109
3110         * gdb.base/commands.exp: Call new procedure.
3111         (define_if_without_arg_test): New procedure.
3112
3113 2017-09-04  Pedro Alves  <palves@redhat.com>
3114
3115         * gdb.base/list-ambiguous.exp: New file.
3116         * gdb.base/list-ambiguous0.c: New file.
3117         * gdb.base/list-ambiguous1.c: New file.
3118         * gdb.base/list.exp (test_list_range): Adjust expected output.
3119
3120 2017-08-31  Sergio Durigan Junior  <sergiodj@redhat.com>
3121
3122         * gdb.base/share-env-with-gdbserver.c: New file.
3123         * gdb.base/share-env-with-gdbserver.exp: Likewise.
3124
3125 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3126
3127         * gdb.base/commands.exp (gdbvar_simple_if_test,
3128         gdbvar_simple_if_test, gdbvar_complex_if_while_test,
3129         progvar_simple_if_test, progvar_simple_while_test,
3130         progvar_complex_if_while_test, user_defined_command_test,
3131         user_defined_command_args_eval,
3132         user_defined_command_args_stack_test,
3133         user_defined_command_manyargs_test, bp_deleted_in_command_test,
3134         temporary_breakpoint_commands,
3135         gdb_test_no_prompt, redefine_hook_test,
3136         redefine_backtrace_test): Remove "global gdb_prompt".
3137
3138 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3139
3140         * gdb.base/commands.exp (user_defined_command_case_sensitivity):
3141         New proc, call it from toplevel.
3142
3143 2017-08-23  Sergio Durigan Junior  <sergiodj@redhat.com>
3144
3145         PR remote/21852
3146         * gdb.server/normal.c: New file, copied from gdb.base.
3147         * gdb.server/run-without-local-binary.exp: New file.
3148
3149 2017-08-07  Weimin Pan  <weimin.pan@oracle.com>
3150
3151         * gdb.arch/sparc64-adi.exp: New file.
3152         * gdb.arch/sparc64-adi.c: New file.
3153
3154 2017-08-22  Pedro Alves  <palves@redhat.com>
3155
3156         * gdb.cp/overload.exp (line_range_pattern): New procedure.
3157         (top level): Add "list all overloads" tests.
3158
3159 2017-08-22  Tom Tromey  <tom@tromey.com>
3160
3161         * gdb.gdb/xfullpath.exp: Remove.
3162
3163 2017-08-21  Pedro Alves  <palves@redhat.com>
3164
3165         PR gdb/19487
3166         * gdb.base/symbol-alias.c: New.
3167         * gdb.base/symbol-alias2.c: New.
3168         * gdb.base/symbol-alias.exp: New.
3169
3170 2017-08-21  Pedro Alves  <palves@redhat.com>
3171
3172         * gdb.base/dfp-test.c
3173         (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
3174         (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
3175         * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
3176         * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
3177         * gdb.base/whatis-ptype-typedefs.c: New.
3178         * gdb.base/whatis-ptype-typedefs.exp: New.
3179         * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
3180         (an_int, an_int_type, an_int_type2): New globals.
3181         * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
3182         involving typedefs and cast expressions.
3183         * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
3184         (lookup_typedefs_function): New.
3185         (typedefs_pretty_printers_dict): New.
3186         (top level): Register lookup_typedefs_function in
3187         gdb.pretty_printers.
3188
3189 2017-08-18  Yao Qi  <yao.qi@linaro.org>
3190
3191         * gdb.server/unittest.exp: New.
3192
3193 2017-08-15  Sergio Durigan Junior  <sergiodj@redhat.com>
3194
3195         PR gdb/21954
3196         * gdb.base/environ.exp: Add test to check if 'unset environment'
3197         works.
3198
3199 2017-08-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3200
3201         * lib/gdb.exp (universal_compile_options): New caching proc.
3202         (gdb_compile): Suppress GCC's coloring of messages.
3203
3204 2017-08-14  Tom Tromey  <tom@tromey.com>
3205
3206         PR gdb/21675:
3207         * gdb.base/printcmds.exp (test_radices): New function.
3208         * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
3209         * gdb.base/sizeof.exp (check_valueof): Use p/d.
3210         * lib/gdb.exp (get_integer_valueof): Use p/d.
3211
3212 2017-08-12  Simon Marchi  <simon.marchi@ericsson.com>
3213
3214         * lib/gdb.exp (get_valueof): Don't capture end-of-line
3215         characters.
3216
3217 2017-08-05  Tom Tromey  <tom@tromey.com>
3218
3219         * gdb.rust/simple.exp: Allow String to appear in a different
3220         namespace.
3221
3222 2017-07-26  Yao Qi  <yao.qi@linaro.org>
3223
3224         * gdb.gdb/unittest.exp: Invoke command
3225         "maintenance check xml-descriptions".
3226
3227 2017-07-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3228
3229         * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
3230         calling context.
3231         (hex128): Drop erroneous calculation of parameters.
3232
3233 2017-07-22  Simon Marchi  <simon.marchi@ericsson.com>
3234
3235         * gdb.python/py-unwind.exp: Disable stack protection when
3236         building test file.
3237
3238 2017-07-20  Pedro Alves  <palves@redhat.com>
3239
3240         * gdb.base/default.exp (set language): Adjust expected output.
3241
3242 2017-07-20  Pedro Alves  <palves@redhat.com>
3243
3244         * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
3245         (test_minsym): ... this, and make static.
3246         (get_pck__foo__bar__minsym): Rename to ...
3247         (get_test_minsym): ... this.
3248         * gdb.base/dmsym.exp (): Remove "set language ada" call.  Adjust
3249         symbol names and comments.
3250         * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
3251         (get_test_minsym): ... this.
3252         (pck__foo__bar__minsym__2): Rename to ...
3253         (test_minsym): ... this.
3254         (main): Adjust.
3255
3256 2017-07-17  Pedro Alves  <palves@redhat.com>
3257
3258         * gdb.base/completion.exp: Adjust expected output.
3259         * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
3260         the completer works.
3261
3262 2017-07-17  Pedro Alves  <palves@redhat.com>
3263
3264         * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
3265
3266 2017-07-15  Andrew Burgess  <andrew.burgess@embecosm.com>
3267
3268         * gdb.mi/mi-vla-fortran.exp: Make test names unique.
3269
3270 2017-07-14  Tom Tromey  <tom@tromey.com>
3271
3272         PR rust/21764:
3273         * gdb.rust/simple.exp: Add tests.
3274
3275 2017-07-14  Tom Tromey  <tom@tromey.com>
3276
3277         * gdb.rust/simple.exp: Add regression test for PR rust/21763.
3278
3279 2017-07-14  Pedro Alves  <palves@redhat.com>
3280
3281         * gdb.linespec/base/one/thefile.cc (z1): New function.
3282         * gdb.linespec/base/two/thefile.cc (z2): New function.
3283         * gdb.linespec/linespec.exp: Add tests.
3284
3285 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3286
3287         * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
3288         to mi_create_breakpoint.
3289
3290 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3291
3292         * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
3293         mi_create_breakpoint.
3294
3295 2017-07-11  Iain Buclaw  <ibuclaw@gdcproject.org>
3296
3297         * gdb.dlang/demangle.exp: Update for demangling changes.
3298
3299 2017-07-09  Tom Tromey  <tom@tromey.com>
3300
3301         * gdb.dwarf2/shortpiece.exp: New file.
3302
3303 2017-07-06  David Blaikie  <dblaikie@gmail.com>
3304
3305         * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
3306         built from fissiont-multi-cu{1,2}.c.
3307         * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
3308         except putting 'main' and 'func' in separate CUs in the same DWO file.
3309         * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
3310         test.
3311         * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
3312         test.
3313
3314 2017-07-06  Pedro Alves  <palves@redhat.com>
3315
3316         * gdb.python/py-unwind.exp: Test flushregs.
3317
3318 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3319
3320         PR cli/21688
3321         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3322         tests for alias commands and trailing whitespace.
3323
3324 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3325
3326         PR cli/21688
3327         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3328         procedure.  Call it.
3329
3330 2017-06-29  Pedro Alves  <palves@redhat.com>
3331
3332         * gdb.base/printcmds.exp: Add tests.
3333
3334 2017-06-28  Doug Gilmore  <Doug.Gilmore@imgtec.com>
3335
3336         PR gdb/21337
3337         * gdb.base/reread-readsym.exp: New file.
3338         * gdb.base/reread-readsym.c: New file.
3339
3340 2017-06-21  Kevin Buettner  <kevinb@redhat.com>
3341
3342         * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3343         subpattern.
3344
3345 2017-06-19  Peter Bergner  <bergner@vnet.ibm.com>
3346
3347         * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3348         extended mnemonic.
3349         * gdb.arch/powerpc-power9.s: Likewise.
3350
3351 2017-06-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3352
3353         * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3354         on 32-bit x86 targets.  Exploit is_*_target macros where
3355         appropriate.
3356
3357 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3358
3359         * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3360         register pieces.
3361
3362 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3363
3364         * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3365         located in one or more DWARF pieces.
3366
3367 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3368
3369         * lib/gdb.exp (get_endianness): New proc.
3370         * gdb.arch/aarch64-fp.exp: Use it.
3371         * gdb.arch/altivec-regs.exp: Likewise.
3372         * gdb.arch/e500-regs.exp: Likewise.
3373         * gdb.arch/vsx-regs.exp: Likewise.
3374         * gdb.base/dump.exp: Likewise.
3375         * gdb.base/funcargs.exp: Likewise.
3376         * gdb.base/gnu_vector.exp: Likewise.
3377         * gdb.dwarf2/formdata16.exp: Likewise.
3378         * gdb.dwarf2/implptrpiece.exp: Likewise.
3379         * gdb.dwarf2/nonvar-access.exp: Likewise.
3380         * gdb.python/py-inferior.exp: Likewise.
3381         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3382
3383 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3384
3385         PR gdb/21226
3386         * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3387         stack value pieces are taken from the LSB end.
3388
3389 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3390
3391         * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3392         variable at nonzero offset.
3393
3394 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3395
3396         * gdb.dwarf2/var-access.c: New file.
3397         * gdb.dwarf2/var-access.exp: New test.
3398         * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3399
3400 2017-06-12  Tom Tromey  <tom@tromey.com>
3401
3402         * gdb.dwarf2/formdata16.exp: Add tests.
3403
3404 2017-06-12  Tom Tromey  <tom@tromey.com>
3405
3406         * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
3407
3408 2017-06-12  Tom Tromey  <tom@tromey.com>
3409
3410         PR exp/16225:
3411         * gdb.reverse/i386-sse-reverse.exp: Update tests.
3412         * gdb.arch/vsx-regs.exp: Update tests.
3413         * gdb.arch/s390-vregs.exp (hex128): New proc.
3414         Update test.
3415         * gdb.arch/altivec-regs.exp: Update tests.
3416
3417 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3418
3419         * gdb.base/startup-with-shell.c: New file.
3420         * gdb.base/startup-with-shell.exp: Likewise.
3421
3422 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3423
3424         * gdb.server/non-existing-program.exp: Update regex in order to
3425         reflect the fact that gdbserver is now using fork_inferior (with a
3426         shell) to startup the inferior.
3427
3428 2017-05-30  Simon Marchi  <simon.marchi@ericsson.com>
3429
3430         * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3431         support function calls from GDB.
3432
3433 2017-05-21  Tom Tromey  <tom@tromey.com>
3434
3435         PR rust/21466:
3436         * gdb.rust/unsized.exp: New file.
3437         * gdb.rust/unsized.rs: New file.
3438
3439 2017-05-19  Tom Tromey  <tom@tromey.com>
3440
3441         PR rust/21484:
3442         * gdb.rust/watch.exp: New file.
3443         * gdb.rust/watch.rs: New file.
3444
3445 2017-05-18  Tom Tromey  <tom@tromey.com>
3446
3447         * gdb.rust/simple.exp: Allow Box to be qualified.
3448
3449 2017-05-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3450
3451         * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3452
3453 2017-05-18  Pedro Alves  <palves@redhat.com>
3454
3455         * gdb.base/fileio.c (test_write, test_read, test_close)
3456         (test_fstat): Don't print 'ret' in the fail path.
3457
3458 2017-05-18  Pedro Alves  <palves@redhat.com>
3459
3460         * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3461         (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3462         (test_system, test_rename, test_unlink, test_time): Change
3463         prototypes.
3464         * gdb.base/fileio.exp (stop_msg): Adjust.
3465
3466 2017-05-18  Pedro Alves  <palves@redhat.com>
3467
3468         * gdb.base/fileio.c (null_str): New global.
3469         (test_stat): Use it.
3470         * gdb.base/fileio.exp: Remove nowarnings.
3471
3472 2017-05-17  Yao Qi  <yao.qi@linaro.org>
3473
3474         * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3475
3476 2017-05-17  Simon Marchi  <simon.marchi@ericsson.com>
3477
3478         * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3479         argument command.
3480         (top-level): Invoke test_set_inferior_tty.
3481
3482 2017-05-04  Pedro Alves  <palves@redhat.com>
3483
3484         * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3485         Add parens to print call for Python 3.
3486
3487 2017-05-03  Keith Seitz  <keiths@redhat.com>
3488
3489         * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3490         (main): Call it.
3491
3492 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3493
3494         * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3495         to prev and next.
3496
3497 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3498
3499         * gdb.python/py-record-btrace.exp: Remove test for
3500         gdb.BtraceInstruction.error.
3501
3502 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3503
3504         * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3505
3506 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3507
3508         * gdb.python/py-record-btrace-threads.c: New file.
3509         * gdb.python/py-record-btrace-threads.exp: New file.
3510
3511 2017-04-28  Sergio Durigan Junior  <sergiodj@redhat.com>
3512
3513         PR testsuite/8595
3514         * gdb.base/environ.exp: Make test available in all architectures.
3515         Move bits related to "info program" testing to
3516         gdb.base/info-program.exp.  Rewrite tests to use the two new
3517         procedures mentione below.
3518         (test_set_show_env_var) New procedure.
3519         (test_set_show_env_var_equal): Likewise.
3520         * gdb.base/info-program.exp: New file.
3521
3522 2017-04-27  Keith Seitz  <keiths@redhat.com>
3523
3524         * gdb.cp/oranking.cc (test15): New function.
3525         (main): Call test15 and declare additional variables for testing.
3526         * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3527         "p foo101('abc')" tests.
3528         Add tests for cv qualifier overloads.
3529         * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3530         "lvalue reference overload" test.
3531         * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3532         "print value of f1 on Child&& in f2" test.
3533
3534 2017-04-19  Pedro Alves  <palves@redhat.com>
3535
3536         * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3537         procedure.
3538         (top level): Call it.
3539         * lib/gdb.exp (gdb_define_cmd): New procedure.
3540
3541 2017-04-12  Pedro Alves  <palves@redhat.com>
3542
3543         PR gdb/21323
3544         * gdb.cp/wide_char_types.c: Include <wchar.h>.
3545         (wchar): New global.
3546         * gdb.cp/wide_char_types.exp (wide_char_types_program)
3547         (do_test_wide_char, wide_char_types_no_program, top level): Add
3548         wchar_t testing.
3549
3550 2017-04-12  Pedro Alves  <palves@redhat.com>
3551
3552         PR c++/21323
3553         * gdb.cp/wide_char_types.c: New file.
3554         * gdb.cp/wide_char_types.exp: New file.
3555
3556 2017-04-05  Sergio Durigan Junior  <sergiodj@redhat.com>
3557
3558         PR gdb/21352
3559         * gdb.trace/tsv.exp: Add test for "tsave -r".
3560
3561 2017-03-30  Iain Buclaw  <ibuclaw@gdcproject.org>
3562
3563         * gdb.dlang/watch-loc.c: New file.
3564         * gdb.dlang/watch-loc.exp: New file.
3565
3566 2017-03-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3567
3568         * gdb.python/py-section-script.exp (sepdebug): New testcases.
3569
3570 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3571
3572         * gdb.arch/arc-analyze-prologue.S: New file.
3573         * gdb.arch/arc-analyze-prologue.exp: Likewise.
3574
3575 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3576
3577         * gdb.arch/arc-decode-insn.S: New file.
3578         * gdb.arch/arc-decode-insn.exp: Likewise.
3579
3580 2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>
3581
3582         PR tdep/20928
3583         * gdb.arch/sparc64-regs.exp: New file.
3584         * gdb.arch/sparc64-regs.S: Likewise.
3585
3586 2017-03-21  Tim Wiederhake  <tim.wiederhake@intel.com>
3587
3588         * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3589         and memory view on Python 3.
3590
3591 2017-03-20  Artemiy Volkov  <artemiyv@acm.org>
3592             Keith Seitz  <keiths@redhat.com>
3593
3594         PR gdb/14441
3595         * gdb.cp/demangle.exp: Add rvalue reference tests.
3596         * gdb.cp/rvalue-ref-casts.cc: New file.
3597         * gdb.cp/rvalue-ref-casts.exp: New file.
3598         * gdb.cp/rvalue-ref-overload.cc: New file.
3599         * gdb.cp/rvalue-ref-overload.exp: New file.
3600         * gdb.cp/rvalue-ref-params.cc: New file.
3601         * gdb.cp/rvalue-ref-params.exp: New file.
3602         * gdb.cp/rvalue-ref-sizeof.cc: New file.
3603         * gdb.cp/rvalue-ref-sizeof.exp: New file.
3604         * gdb.cp/rvalue-ref-types.cc: New file.
3605         * gdb.cp/rvalue-ref-types.exp: New file.
3606         * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3607         * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3608
3609 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
3610
3611         * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3612         New procedure.
3613
3614 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
3615
3616         * lib/mi-support.exp (mi_gdb_test): Add additional message
3617         for unexpected output.
3618
3619 2017-03-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3620
3621         * gdb.base/examine-backward.c (Barrier): New character array
3622         constant, to ensure that TestStrings is preceded by a string
3623         terminator.
3624
3625 2017-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3626
3627         * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3628         * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3629         and implicit pointer into such a location.
3630
3631 2017-03-16  Doug Evans  <dje@google.com>
3632
3633         * gdb.python/py-lazy-string (pointer): Really add new typedef.
3634
3635 2017-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3636
3637         * gdb.cp/m-static.exp: Fix expectation for prototype of
3638         test5.single_constructor and single_constructor::single_constructor.
3639
3640 2017-03-16  Doug Evans  <dje@google.com>
3641
3642         * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3643         * gdb.guile/scm-lazy-string.c: New file.
3644         * gdb.guile/scm-value.exp: Move lazy string tests to ...
3645         * gdb.guile/scm-lazy-string.exp: ... here, new file.  Add more tests
3646         for pointer, array, typedef lazy strings.
3647
3648 2017-03-16  Doug Evans  <dje@google.com>
3649
3650         PR python/17728, python/18439, python/18779
3651         * gdb.python/py-value.c (main) Delete locals sptr, sn.
3652         * gdb.python/py-lazy-string.c (pointer): New typedef.
3653         (main): New locals ptr, array, typedef_ptr.
3654         * gdb.python/py-value.exp: Move lazy string tests to ...
3655         * gdb.python/py-lazy-string.exp: ... here.  Add more tests for pointer,
3656         array, typedef lazy strings.
3657
3658 2017-03-14  Anton Kolesov  <anton.kolesov@synopsys.com>
3659
3660         * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3661           Add optional 'test' parameter.
3662
3663 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
3664
3665         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3666         Skip for versions of DejaGnu < 1.5.
3667
3668 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
3669
3670         * lib/gdb.exp (dejagnu_version): New proc.
3671         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3672         Use dejagnu_version.
3673
3674 2017-03-10  Keith Seitz  <keiths@redhat.com>
3675
3676         PR c++/8128
3677         * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3678         type from destructor regexps.
3679         Add a branch which actually passes the test.
3680         Adjust "ptype t5i" test names.
3681
3682 2017-03-08  Pedro Alves  <palves@redhat.com>
3683
3684         * gdb.base/step-over-exit.exp: Add explicit test message.
3685
3686 2017-03-08  Pedro Alves  <palves@redhat.com>
3687
3688         PR gdb/18360
3689         * gdb.threads/interrupt-while-step-over.c: New file.
3690         * gdb.threads/interrupt-while-step-over.exp: New file.
3691
3692 2017-03-08  Pedro Alves  <palves@redhat.com>
3693
3694         * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3695         * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3696
3697 2017-03-08  Pedro Alves  <palves@redhat.com>
3698
3699         * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3700         PKRU as not supported as a PASS.
3701
3702 2017-03-08  Pedro Alves  <palves@redhat.com>
3703
3704         * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3705         prefix instead of $binfile1/$binfile2.
3706         * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3707         in test message.
3708         * gdb.python/py-completion.exp: Use "load python file" as test
3709         messages instead of unstable path names.
3710
3711 2017-03-08  Pedro Alves  <palves@redhat.com>
3712             Jan Kratochvil  <jan.kratochvil@redhat.com>
3713
3714         PR cli/21218
3715         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3716         New proc.
3717         (top level): Call it.
3718
3719 2017-03-08  Pedro Alves  <palves@redhat.com>
3720
3721         PR tui/21216
3722         * gdb.tui/tui-nl-filtered-output.exp: New file.
3723
3724 2017-03-08  Pedro Alves  <palves@redhat.com>
3725
3726         * gdb.base/completion.exp: Move TUI completion tests to ...
3727         * gdb.tui/completion.exp: ... this new file.
3728
3729 2017-03-08  Pedro Alves  <palves@redhat.com>
3730
3731         * gdb.base/tui-disasm-long-lines.c,
3732         gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3733         gdb.base/tui-layout.exp: Move to ...
3734         * gdb.tui/: ... this new directory.
3735
3736 2017-03-07  Pedro Alves  <palves@redhat.com>
3737
3738         * gdb.base/tui-layout.c: New file.
3739         * gdb.base/tui-layout.exp: New file.
3740
3741 2017-03-07  Pedro Alves  <palves@redhat.com>
3742
3743         * gdb.base/tui-layout.c: Rename to ...
3744         * gdb.base/tui-disasm-long-lines.c: ... this.
3745         * gdb.base/tui-layout.exp: Rename to ...
3746         * gdb.base/tui-disasm-long-lines.exp: ... this.
3747
3748 2017-03-07  Pedro Alves  <palves@redhat.com>
3749
3750         * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3751
3752 2017-03-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
3753
3754         * i386-mpx-call.c: New file.
3755         * i386-mpx-call.exp: New file.
3756
3757 2017-02-28  Peter Bergner  <bergner@vnet.ibm.com>
3758
3759         * gdb.arch/powerpc-power.exp: Delete test.
3760         * gdb.arch/powerpc-power.s: Likewise.
3761         * gdb.disasm/disassembler-options.exp: New test.
3762         * gdb.arch/powerpc-altivec.exp: Likewise.
3763         * gdb.arch/powerpc-altivec.s: Likewise.
3764         * gdb.arch/powerpc-altivec2.exp: Likewise.
3765         * gdb.arch/powerpc-altivec2.s: Likewise.
3766         * gdb.arch/powerpc-altivec3.exp: Likewise.
3767         * gdb.arch/powerpc-altivec3.s: Likewise.
3768         * gdb.arch/powerpc-power7.exp: Likewise.
3769         * gdb.arch/powerpc-power7.s: Likewise.
3770         * gdb.arch/powerpc-power8.exp: Likewise.
3771         * gdb.arch/powerpc-power8.s: Likewise.
3772         * gdb.arch/powerpc-power9.exp: Likewise.
3773         * gdb.arch/powerpc-power9.s: Likewise.
3774         * gdb.arch/powerpc-vsx.exp: Likewise.
3775         * gdb.arch/powerpc-vsx.s: Likewise.
3776         * gdb.arch/powerpc-vsx2.exp: Likewise.
3777         * gdb.arch/powerpc-vsx2.s: Likewise.
3778         * gdb.arch/powerpc-vsx3.exp: Likewise.
3779         * gdb.arch/powerpc-vsx3.s: Likewise.
3780         * gdb.arch/arm-disassembler-options.exp: Likewise.
3781         * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3782         * gdb.arch/s390-disassembler-options.exp: Likewise.
3783
3784 2017-02-23  Luis Machado  <lgustavo@codesourcery.com>
3785
3786         * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3787         (check_supported_features): ... this. Changed return type to void.
3788         (supports_rdseed): New static global.
3789         (rdseed): Check supports_rdseed.
3790         (initialize): Call check_supported_features.
3791
3792 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3793
3794         * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3795         gdb.arch/ppc64-atomic-inst.exp.  Add tests for lbarx/stbcx, lharx/sthcx
3796         and lqarx/stqcx.
3797         * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3798         * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3799
3800 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3801
3802         * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3803         uppercase.
3804
3805 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3806
3807         * gdb.dwarf2/formdata16.c: New file.
3808         * gdb.dwarf2/formdata16.exp: New file.
3809         * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3810
3811 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3812
3813         * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3814         * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3815         * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3816         * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3817         DW_AT_GNU_*.
3818
3819 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3820
3821         * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3822
3823 2017-02-15  Sergio Durigan Junior  <sergiodj@redhat.com>
3824
3825         PR gdb/21164
3826         * gdb.base/maint.exp: Add testcases for when the commands do
3827         not have arguments.
3828
3829 2017-02-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3830
3831         * gdb.cp/chained-calls.exp: Use p instead of P.
3832
3833 2017-02-14  Tim Wiederhake  <tim.wiederhake@intel.com>
3834
3835         * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3836         gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3837
3838 2017-02-14  Tom Tromey  <tom@tromey.com>
3839
3840         PR python/13598:
3841         * gdb.python/py-events.exp: Add before_prompt event tests.
3842
3843 2017-02-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3844
3845         * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3846
3847 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
3848
3849         * gdb.linespec/explicit.c (my_unique_function_name): New function.
3850         (main): Call my_unique_function_name.
3851         * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3852         completion of patterns with a single match.
3853         Add missing -re switches to gdb_test_multiple calls.
3854
3855 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
3856
3857         * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3858         return if core file is not recognized.
3859
3860 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
3861
3862         * gdb.base/new-ui.exp (do_test): Test queries behavior on main
3863         and extra UIs.
3864
3865 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
3866
3867         * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
3868         proc_with_prefix.
3869
3870 2017-02-10  Tom Tromey  <tom@tromey.com>
3871
3872         * gdb.python/py-xmethods.exp: Use "p" command, not "P".
3873
3874 2017-02-10  Martin Galvan  <martingalvan@sourceware.org>
3875
3876         PR gdb/21122
3877         * gdb.base/help.exp: Update match pattern for testing 'help commands'.
3878
3879 2017-02-08  Jerome Guitton  <guitton@adacore.com>
3880
3881         * gdb.base/define.exp: Add test for command abbreviations
3882         in define.
3883
3884 2017-02-06  Luis Machado  <lgustavo@codesourcery.com>
3885
3886         * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
3887         * gdb.reverse/insn-reverse-x86.c: New file.
3888
3889 2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>
3890
3891         PR tdep/20936
3892         * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
3893
3894 2017-02-03  Tom Tromey  <tom@tromey.com>
3895
3896         PR rust/21097:
3897         * gdb.rust/simple.exp: Add new tests.
3898
3899 2017-02-02  Pedro Alves  <palves@redhat.com>
3900
3901         * gdb.mi/mi-logging.exp: Add "redirect while already logging"
3902         tests.
3903
3904 2017-02-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3905
3906         * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
3907         taking a 2-byte value out of a 4-byte DWARF implicit value on
3908         big-endian targets.
3909         * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
3910         logic.  Add test cases for DW_OP_implicit.
3911
3912 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3913
3914         * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
3915
3916 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3917
3918         * gdb.btrace/enable.exp: Call gdb_exit before
3919         skip_gdbserver_tests.
3920
3921 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3922
3923         * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
3924         GDBFLAGS.
3925
3926 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3927
3928         * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
3929         the test is skipped.
3930         * gdb.btrace/data.exp: Likewise.
3931         * gdb.btrace/delta.exp: Likewise.
3932         * gdb.btrace/dlopen.exp: Likewise.
3933         * gdb.btrace/enable-running.exp: Likewise.
3934         * gdb.btrace/enable.exp: Likewise.
3935         * gdb.btrace/exception.exp: Likewise.
3936         * gdb.btrace/function_call_history.exp: Likewise.
3937         * gdb.btrace/gcore.exp: Likewise.
3938         * gdb.btrace/instruction_history.exp: Likewise.
3939         * gdb.btrace/multi-thread-step.exp: Likewise.
3940         * gdb.btrace/nohist.exp: Likewise.
3941         * gdb.btrace/non-stop.exp: Likewise.
3942         * gdb.btrace/reconnect.exp: Likewise.
3943         * gdb.btrace/record_goto-step.exp: Likewise.
3944         * gdb.btrace/record_goto.exp: Likewise.
3945         * gdb.btrace/rn-dl-bind.exp: Likewise.
3946         * gdb.btrace/segv.exp: Likewise.
3947         * gdb.btrace/step.exp: Likewise.
3948         * gdb.btrace/stepi.exp: Likewise.
3949         * gdb.btrace/tailcall-only.exp: Likewise.
3950         * gdb.btrace/tailcall.exp: Likewise.
3951         * gdb.btrace/tsx.exp: Likewise.
3952         * gdb.btrace/unknown_functions.exp: Likewise.
3953         * gdb.btrace/vdso.exp: Likewise.
3954
3955 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3956
3957         * gdb.btrace/enable-running.c: New.
3958         * gdb.btrace/enable-running.exp: New.
3959
3960 2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
3961
3962         * gdb.arch/amd64-gs_base.c: New file.
3963         * gdb.arch/amd64-gs_base.exp: New file.
3964
3965 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
3966
3967         * lib/memory.exp: Remove spurious empty newlines.
3968
3969 2017-01-26  Simon Marchi  <simon.marchi@polymtl.ca>
3970
3971         * gdb.python/py-bad-printers.exp: Load python file using "source".
3972         * gdb.python/py-events.exp: Likewise.
3973         * gdb.python/py-evsignal.exp: Likewise.
3974         * gdb.python/py-evthreads.exp: Likewise.
3975         * gdb.python/py-frame-args.exp: Likewise.
3976         * gdb.python/py-framefilter-invalidarg.exp: Likewise.
3977         * gdb.python/py-framefilter-mi.exp: Likewise.
3978         * gdb.python/py-framefilter.exp: Likewise.
3979         * gdb.python/py-mi.exp: Likewise.
3980         * gdb.python/py-pp-maint.exp: Likewise.
3981         * gdb.python/py-pp-registration.exp: Likewise.
3982         * gdb.python/py-prettyprint.exp: Likewise.
3983         (run_lang_tests): Likewise.
3984         * gdb.python/py-typeprint.exp: Likewise.
3985
3986 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
3987
3988         * lib/memory.exp: New file.
3989         * lib/gdb.exp: Load memory.exp.
3990         * gdb.base/memattr.exp (delete_memory): Move proc to
3991         lib/memory.exp and rename to delete_memory_regions.
3992         Replace delete_memory with delete_memory_regions.
3993         Cleanup memory regions before tests.
3994         * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
3995         before tests.
3996
3997 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
3998
3999         * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4000         files.
4001         (initialize): New function conditionally defined.
4002         (testcases): Move within conditional block.
4003         (main): Call initialize.
4004         * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4005         of gdb.reverse/insn-reverse.c.
4006         * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4007         gdb.reverse/insn-reverse.c.
4008
4009 2017-01-26  Yao Qi  <yao.qi@linaro.org>
4010
4011         * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4012         disassemble on address 0.
4013
4014 2017-01-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4015             Yao Qi  <yao.qi@linaro.org>
4016
4017         * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4018         * gdb.dwarf2/implptr-64bit.S: Remove.
4019         * lib/dwarf.exp (Dwarf): Handle character "%".  Evaluate some
4020         variables in caller's context.  Add DW_OP_implicit_value.
4021
4022 2017-01-25  Yao Qi  <yao.qi@linaro.org>
4023
4024         * lib/dwarf.exp (Dwarf::_location): Handle
4025         DW_OP_GNU_implicit_pointer with proper size.
4026
4027 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4028
4029         * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
4030         and add untested calls.
4031
4032 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4033
4034         * gdb.python/python.exp: Check line number against what GDB thinks
4035         the line number is for func1.
4036
4037 2017-01-08  Iain Buclaw  <ibuclaw@gdcproject.org>
4038
4039         * gdb.dlang/debug-expr.exp: New file.
4040
4041 2016-12-23  Luis Machado  <lgustavo@codesourcery.com>
4042
4043         Fix test names for the following files:
4044
4045         * gdb.ada/exec_changed.exp
4046         * gdb.ada/info_types.exp
4047         * gdb.arch/aarch64-atomic-inst.exp
4048         * gdb.arch/aarch64-fp.exp
4049         * gdb.arch/altivec-abi.exp
4050         * gdb.arch/altivec-regs.exp
4051         * gdb.arch/amd64-byte.exp
4052         * gdb.arch/amd64-disp-step.exp
4053         * gdb.arch/amd64-dword.exp
4054         * gdb.arch/amd64-entry-value-inline.exp
4055         * gdb.arch/amd64-entry-value-param.exp
4056         * gdb.arch/amd64-entry-value-paramref.exp
4057         * gdb.arch/amd64-entry-value.exp
4058         * gdb.arch/amd64-i386-address.exp
4059         * gdb.arch/amd64-invalid-stack-middle.exp
4060         * gdb.arch/amd64-invalid-stack-top.exp
4061         * gdb.arch/amd64-optimout-repeat.exp
4062         * gdb.arch/amd64-prologue-skip.exp
4063         * gdb.arch/amd64-prologue-xmm.exp
4064         * gdb.arch/amd64-stap-special-operands.exp
4065         * gdb.arch/amd64-stap-wrong-subexp.exp
4066         * gdb.arch/amd64-tailcall-cxx.exp
4067         * gdb.arch/amd64-tailcall-noret.exp
4068         * gdb.arch/amd64-tailcall-ret.exp
4069         * gdb.arch/amd64-tailcall-self.exp
4070         * gdb.arch/amd64-word.exp
4071         * gdb.arch/arm-bl-branch-dest.exp
4072         * gdb.arch/arm-disp-step.exp
4073         * gdb.arch/arm-neon.exp
4074         * gdb.arch/arm-single-step-kernel-helper.exp
4075         * gdb.arch/avr-flash-qualifier.exp
4076         * gdb.arch/disp-step-insn-reloc.exp
4077         * gdb.arch/e500-abi.exp
4078         * gdb.arch/e500-regs.exp
4079         * gdb.arch/ftrace-insn-reloc.exp
4080         * gdb.arch/i386-avx512.exp
4081         * gdb.arch/i386-bp_permanent.exp
4082         * gdb.arch/i386-byte.exp
4083         * gdb.arch/i386-cfi-notcurrent.exp
4084         * gdb.arch/i386-disp-step.exp
4085         * gdb.arch/i386-dr3-watch.exp
4086         * gdb.arch/i386-float.exp
4087         * gdb.arch/i386-gnu-cfi.exp
4088         * gdb.arch/i386-mpx-map.exp
4089         * gdb.arch/i386-mpx-sigsegv.exp
4090         * gdb.arch/i386-mpx-simple_segv.exp
4091         * gdb.arch/i386-mpx.exp
4092         * gdb.arch/i386-permbkpt.exp
4093         * gdb.arch/i386-prologue.exp
4094         * gdb.arch/i386-signal.exp
4095         * gdb.arch/i386-size-overlap.exp
4096         * gdb.arch/i386-unwind.exp
4097         * gdb.arch/i386-word.exp
4098         * gdb.arch/mips-fcr.exp
4099         * gdb.arch/powerpc-d128-regs.exp
4100         * gdb.arch/powerpc-stackless.exp
4101         * gdb.arch/ppc64-atomic-inst.exp
4102         * gdb.arch/s390-stackless.exp
4103         * gdb.arch/s390-tdbregs.exp
4104         * gdb.arch/s390-vregs.exp
4105         * gdb.arch/sparc-sysstep.exp
4106         * gdb.arch/thumb-bx-pc.exp
4107         * gdb.arch/thumb-singlestep.exp
4108         * gdb.arch/thumb2-it.exp
4109         * gdb.arch/vsx-regs.exp
4110         * gdb.asm/asm-source.exp
4111         * gdb.base/a2-run.exp
4112         * gdb.base/advance.exp
4113         * gdb.base/all-bin.exp
4114         * gdb.base/anon.exp
4115         * gdb.base/args.exp
4116         * gdb.base/arithmet.exp
4117         * gdb.base/async-shell.exp
4118         * gdb.base/async.exp
4119         * gdb.base/attach-pie-noexec.exp
4120         * gdb.base/attach-twice.exp
4121         * gdb.base/auto-load.exp
4122         * gdb.base/bang.exp
4123         * gdb.base/bitfields.exp
4124         * gdb.base/break-always.exp
4125         * gdb.base/break-caller-line.exp
4126         * gdb.base/break-entry.exp
4127         * gdb.base/break-inline.exp
4128         * gdb.base/break-on-linker-gcd-function.exp
4129         * gdb.base/break-probes.exp
4130         * gdb.base/break.exp
4131         * gdb.base/breakpoint-shadow.exp
4132         * gdb.base/call-ar-st.exp
4133         * gdb.base/call-sc.exp
4134         * gdb.base/call-signal-resume.exp
4135         * gdb.base/call-strs.exp
4136         * gdb.base/callfuncs.exp
4137         * gdb.base/catch-fork-static.exp
4138         * gdb.base/catch-gdb-caused-signals.exp
4139         * gdb.base/catch-load.exp
4140         * gdb.base/catch-signal-fork.exp
4141         * gdb.base/catch-signal.exp
4142         * gdb.base/catch-syscall.exp
4143         * gdb.base/charset.exp
4144         * gdb.base/checkpoint.exp
4145         * gdb.base/chng-syms.exp
4146         * gdb.base/code-expr.exp
4147         * gdb.base/code_elim.exp
4148         * gdb.base/commands.exp
4149         * gdb.base/completion.exp
4150         * gdb.base/complex.exp
4151         * gdb.base/cond-expr.exp
4152         * gdb.base/condbreak.exp
4153         * gdb.base/consecutive.exp
4154         * gdb.base/continue-all-already-running.exp
4155         * gdb.base/coredump-filter.exp
4156         * gdb.base/corefile.exp
4157         * gdb.base/dbx.exp
4158         * gdb.base/debug-expr.exp
4159         * gdb.base/define.exp
4160         * gdb.base/del.exp
4161         * gdb.base/disabled-location.exp
4162         * gdb.base/disasm-end-cu.exp
4163         * gdb.base/disasm-optim.exp
4164         * gdb.base/display.exp
4165         * gdb.base/duplicate-bp.exp
4166         * gdb.base/ena-dis-br.exp
4167         * gdb.base/ending-run.exp
4168         * gdb.base/enumval.exp
4169         * gdb.base/environ.exp
4170         * gdb.base/eu-strip-infcall.exp
4171         * gdb.base/eval-avoid-side-effects.exp
4172         * gdb.base/eval-skip.exp
4173         * gdb.base/exitsignal.exp
4174         * gdb.base/expand-psymtabs.exp
4175         * gdb.base/filesym.exp
4176         * gdb.base/find-unmapped.exp
4177         * gdb.base/finish.exp
4178         * gdb.base/float.exp
4179         * gdb.base/foll-exec-mode.exp
4180         * gdb.base/foll-exec.exp
4181         * gdb.base/foll-fork.exp
4182         * gdb.base/fortran-sym-case.exp
4183         * gdb.base/freebpcmd.exp
4184         * gdb.base/func-ptr.exp
4185         * gdb.base/func-ptrs.exp
4186         * gdb.base/funcargs.exp
4187         * gdb.base/gcore-buffer-overflow.exp
4188         * gdb.base/gcore-relro-pie.exp
4189         * gdb.base/gcore-relro.exp
4190         * gdb.base/gcore.exp
4191         * gdb.base/gdb1090.exp
4192         * gdb.base/gdb11530.exp
4193         * gdb.base/gdb11531.exp
4194         * gdb.base/gdb1821.exp
4195         * gdb.base/gdbindex-stabs.exp
4196         * gdb.base/gdbvars.exp
4197         * gdb.base/hbreak.exp
4198         * gdb.base/hbreak2.exp
4199         * gdb.base/included.exp
4200         * gdb.base/infcall-input.exp
4201         * gdb.base/inferior-died.exp
4202         * gdb.base/infnan.exp
4203         * gdb.base/info-macros.exp
4204         * gdb.base/info-os.exp
4205         * gdb.base/info-proc.exp
4206         * gdb.base/info-shared.exp
4207         * gdb.base/info-target.exp
4208         * gdb.base/infoline.exp
4209         * gdb.base/interp.exp
4210         * gdb.base/interrupt.exp
4211         * gdb.base/jit-reader.exp
4212         * gdb.base/jit-simple.exp
4213         * gdb.base/kill-after-signal.exp
4214         * gdb.base/kill-detach-inferiors-cmd.exp
4215         * gdb.base/label.exp
4216         * gdb.base/langs.exp
4217         * gdb.base/ldbl_e308.exp
4218         * gdb.base/line-symtabs.exp
4219         * gdb.base/linespecs.exp
4220         * gdb.base/list.exp
4221         * gdb.base/long_long.exp
4222         * gdb.base/longest-types.exp
4223         * gdb.base/maint.exp
4224         * gdb.base/max-value-size.exp
4225         * gdb.base/memattr.exp
4226         * gdb.base/mips_pro.exp
4227         * gdb.base/morestack.exp
4228         * gdb.base/moribund-step.exp
4229         * gdb.base/multi-forks.exp
4230         * gdb.base/nested-addr.exp
4231         * gdb.base/nextoverexit.exp
4232         * gdb.base/noreturn-finish.exp
4233         * gdb.base/noreturn-return.exp
4234         * gdb.base/nostdlib.exp
4235         * gdb.base/offsets.exp
4236         * gdb.base/opaque.exp
4237         * gdb.base/pc-fp.exp
4238         * gdb.base/permissions.exp
4239         * gdb.base/print-symbol-loading.exp
4240         * gdb.base/prologue-include.exp
4241         * gdb.base/psymtab.exp
4242         * gdb.base/ptype.exp
4243         * gdb.base/random-signal.exp
4244         * gdb.base/randomize.exp
4245         * gdb.base/range-stepping.exp
4246         * gdb.base/readline-ask.exp
4247         * gdb.base/recpar.exp
4248         * gdb.base/recurse.exp
4249         * gdb.base/relational.exp
4250         * gdb.base/restore.exp
4251         * gdb.base/return-nodebug.exp
4252         * gdb.base/return.exp
4253         * gdb.base/run-after-attach.exp
4254         * gdb.base/save-bp.exp
4255         * gdb.base/scope.exp
4256         * gdb.base/sect-cmd.exp
4257         * gdb.base/set-lang-auto.exp
4258         * gdb.base/set-noassign.exp
4259         * gdb.base/setvar.exp
4260         * gdb.base/sigall.exp
4261         * gdb.base/sigbpt.exp
4262         * gdb.base/siginfo-addr.exp
4263         * gdb.base/siginfo-infcall.exp
4264         * gdb.base/siginfo-obj.exp
4265         * gdb.base/siginfo.exp
4266         * gdb.base/signals-state-child.exp
4267         * gdb.base/signest.exp
4268         * gdb.base/sigstep.exp
4269         * gdb.base/sizeof.exp
4270         * gdb.base/skip.exp
4271         * gdb.base/solib-corrupted.exp
4272         * gdb.base/solib-nodir.exp
4273         * gdb.base/solib-search.exp
4274         * gdb.base/stack-checking.exp
4275         * gdb.base/stale-infcall.exp
4276         * gdb.base/stap-probe.exp
4277         * gdb.base/start.exp
4278         * gdb.base/step-break.exp
4279         * gdb.base/step-bt.exp
4280         * gdb.base/step-line.exp
4281         * gdb.base/step-over-exit.exp
4282         * gdb.base/step-over-syscall.exp
4283         * gdb.base/step-resume-infcall.exp
4284         * gdb.base/step-test.exp
4285         * gdb.base/store.exp
4286         * gdb.base/structs3.exp
4287         * gdb.base/sym-file.exp
4288         * gdb.base/symbol-without-target_section.exp
4289         * gdb.base/term.exp
4290         * gdb.base/testenv.exp
4291         * gdb.base/ui-redirect.exp
4292         * gdb.base/until.exp
4293         * gdb.base/unwindonsignal.exp
4294         * gdb.base/value-double-free.exp
4295         * gdb.base/vla-datatypes.exp
4296         * gdb.base/vla-ptr.exp
4297         * gdb.base/vla-sideeffect.exp
4298         * gdb.base/volatile.exp
4299         * gdb.base/watch-cond-infcall.exp
4300         * gdb.base/watch-cond.exp
4301         * gdb.base/watch-non-mem.exp
4302         * gdb.base/watch-read.exp
4303         * gdb.base/watch-vfork.exp
4304         * gdb.base/watchpoint-cond-gone.exp
4305         * gdb.base/watchpoint-delete.exp
4306         * gdb.base/watchpoint-hw-hit-once.exp
4307         * gdb.base/watchpoint-hw.exp
4308         * gdb.base/watchpoint-stops-at-right-insn.exp
4309         * gdb.base/watchpoints.exp
4310         * gdb.base/wchar.exp
4311         * gdb.base/whatis-exp.exp
4312         * gdb.btrace/buffer-size.exp
4313         * gdb.btrace/data.exp
4314         * gdb.btrace/delta.exp
4315         * gdb.btrace/dlopen.exp
4316         * gdb.btrace/enable.exp
4317         * gdb.btrace/exception.exp
4318         * gdb.btrace/function_call_history.exp
4319         * gdb.btrace/gcore.exp
4320         * gdb.btrace/instruction_history.exp
4321         * gdb.btrace/nohist.exp
4322         * gdb.btrace/reconnect.exp
4323         * gdb.btrace/record_goto-step.exp
4324         * gdb.btrace/record_goto.exp
4325         * gdb.btrace/rn-dl-bind.exp
4326         * gdb.btrace/segv.exp
4327         * gdb.btrace/step.exp
4328         * gdb.btrace/stepi.exp
4329         * gdb.btrace/tailcall-only.exp
4330         * gdb.btrace/tailcall.exp
4331         * gdb.btrace/tsx.exp
4332         * gdb.btrace/unknown_functions.exp
4333         * gdb.btrace/vdso.exp
4334         * gdb.compile/compile-ifunc.exp
4335         * gdb.compile/compile-ops.exp
4336         * gdb.compile/compile-print.exp
4337         * gdb.compile/compile-setjmp.exp
4338         * gdb.cp/abstract-origin.exp
4339         * gdb.cp/ambiguous.exp
4340         * gdb.cp/annota2.exp
4341         * gdb.cp/annota3.exp
4342         * gdb.cp/anon-ns.exp
4343         * gdb.cp/anon-struct.exp
4344         * gdb.cp/anon-union.exp
4345         * gdb.cp/arg-reference.exp
4346         * gdb.cp/baseenum.exp
4347         * gdb.cp/bool.exp
4348         * gdb.cp/breakpoint.exp
4349         * gdb.cp/bs15503.exp
4350         * gdb.cp/call-c.exp
4351         * gdb.cp/casts.exp
4352         * gdb.cp/chained-calls.exp
4353         * gdb.cp/class2.exp
4354         * gdb.cp/classes.exp
4355         * gdb.cp/cmpd-minsyms.exp
4356         * gdb.cp/converts.exp
4357         * gdb.cp/cp-relocate.exp
4358         * gdb.cp/cpcompletion.exp
4359         * gdb.cp/cpexprs.exp
4360         * gdb.cp/cplabel.exp
4361         * gdb.cp/cplusfuncs.exp
4362         * gdb.cp/cpsizeof.exp
4363         * gdb.cp/ctti.exp
4364         * gdb.cp/derivation.exp
4365         * gdb.cp/destrprint.exp
4366         * gdb.cp/dispcxx.exp
4367         * gdb.cp/enum-class.exp
4368         * gdb.cp/exception.exp
4369         * gdb.cp/exceptprint.exp
4370         * gdb.cp/expand-psymtabs-cxx.exp
4371         * gdb.cp/expand-sals.exp
4372         * gdb.cp/extern-c.exp
4373         * gdb.cp/filename.exp
4374         * gdb.cp/formatted-ref.exp
4375         * gdb.cp/fpointer.exp
4376         * gdb.cp/gdb1355.exp
4377         * gdb.cp/gdb2495.exp
4378         * gdb.cp/hang.exp
4379         * gdb.cp/impl-this.exp
4380         * gdb.cp/infcall-dlopen.exp
4381         * gdb.cp/inherit.exp
4382         * gdb.cp/iostream.exp
4383         * gdb.cp/koenig.exp
4384         * gdb.cp/local.exp
4385         * gdb.cp/m-data.exp
4386         * gdb.cp/m-static.exp
4387         * gdb.cp/mb-ctor.exp
4388         * gdb.cp/mb-inline.exp
4389         * gdb.cp/mb-templates.exp
4390         * gdb.cp/member-name.exp
4391         * gdb.cp/member-ptr.exp
4392         * gdb.cp/meth-typedefs.exp
4393         * gdb.cp/method.exp
4394         * gdb.cp/method2.exp
4395         * gdb.cp/minsym-fallback.exp
4396         * gdb.cp/misc.exp
4397         * gdb.cp/namelessclass.exp
4398         * gdb.cp/namespace-enum.exp
4399         * gdb.cp/namespace-nested-import.exp
4400         * gdb.cp/namespace.exp
4401         * gdb.cp/nextoverthrow.exp
4402         * gdb.cp/no-dmgl-verbose.exp
4403         * gdb.cp/non-trivial-retval.exp
4404         * gdb.cp/noparam.exp
4405         * gdb.cp/nsdecl.exp
4406         * gdb.cp/nsimport.exp
4407         * gdb.cp/nsnested.exp
4408         * gdb.cp/nsnoimports.exp
4409         * gdb.cp/nsrecurs.exp
4410         * gdb.cp/nsstress.exp
4411         * gdb.cp/nsusing.exp
4412         * gdb.cp/operator.exp
4413         * gdb.cp/oranking.exp
4414         * gdb.cp/overload-const.exp
4415         * gdb.cp/overload.exp
4416         * gdb.cp/ovldbreak.exp
4417         * gdb.cp/ovsrch.exp
4418         * gdb.cp/paren-type.exp
4419         * gdb.cp/parse-lang.exp
4420         * gdb.cp/pass-by-ref.exp
4421         * gdb.cp/pr-1023.exp
4422         * gdb.cp/pr-1210.exp
4423         * gdb.cp/pr-574.exp
4424         * gdb.cp/pr10687.exp
4425         * gdb.cp/pr12028.exp
4426         * gdb.cp/pr17132.exp
4427         * gdb.cp/pr17494.exp
4428         * gdb.cp/pr9067.exp
4429         * gdb.cp/pr9167.exp
4430         * gdb.cp/pr9631.exp
4431         * gdb.cp/printmethod.exp
4432         * gdb.cp/psmang.exp
4433         * gdb.cp/psymtab-parameter.exp
4434         * gdb.cp/ptype-cv-cp.exp
4435         * gdb.cp/ptype-flags.exp
4436         * gdb.cp/re-set-overloaded.exp
4437         * gdb.cp/ref-types.exp
4438         * gdb.cp/rtti.exp
4439         * gdb.cp/scope-err.exp
4440         * gdb.cp/shadow.exp
4441         * gdb.cp/smartp.exp
4442         * gdb.cp/static-method.exp
4443         * gdb.cp/static-print-quit.exp
4444         * gdb.cp/temargs.exp
4445         * gdb.cp/templates.exp
4446         * gdb.cp/try_catch.exp
4447         * gdb.cp/typedef-operator.exp
4448         * gdb.cp/typeid.exp
4449         * gdb.cp/userdef.exp
4450         * gdb.cp/using-crash.exp
4451         * gdb.cp/var-tag.exp
4452         * gdb.cp/virtbase.exp
4453         * gdb.cp/virtfunc.exp
4454         * gdb.cp/virtfunc2.exp
4455         * gdb.cp/vla-cxx.exp
4456         * gdb.disasm/t01_mov.exp
4457         * gdb.disasm/t02_mova.exp
4458         * gdb.disasm/t03_add.exp
4459         * gdb.disasm/t04_sub.exp
4460         * gdb.disasm/t05_cmp.exp
4461         * gdb.disasm/t06_ari2.exp
4462         * gdb.disasm/t07_ari3.exp
4463         * gdb.disasm/t08_or.exp
4464         * gdb.disasm/t09_xor.exp
4465         * gdb.disasm/t10_and.exp
4466         * gdb.disasm/t11_logs.exp
4467         * gdb.disasm/t12_bit.exp
4468         * gdb.disasm/t13_otr.exp
4469         * gdb.dlang/circular.exp
4470         * gdb.dwarf2/arr-stride.exp
4471         * gdb.dwarf2/arr-subrange.exp
4472         * gdb.dwarf2/atomic-type.exp
4473         * gdb.dwarf2/bad-regnum.exp
4474         * gdb.dwarf2/bitfield-parent-optimized-out.exp
4475         * gdb.dwarf2/callframecfa.exp
4476         * gdb.dwarf2/clztest.exp
4477         * gdb.dwarf2/corrupt.exp
4478         * gdb.dwarf2/data-loc.exp
4479         * gdb.dwarf2/dup-psym.exp
4480         * gdb.dwarf2/dw2-anon-mptr.exp
4481         * gdb.dwarf2/dw2-anonymous-func.exp
4482         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4483         * gdb.dwarf2/dw2-bad-unresolved.exp
4484         * gdb.dwarf2/dw2-basic.exp
4485         * gdb.dwarf2/dw2-canonicalize-type.exp
4486         * gdb.dwarf2/dw2-case-insensitive.exp
4487         * gdb.dwarf2/dw2-common-block.exp
4488         * gdb.dwarf2/dw2-compdir-oldgcc.exp
4489         * gdb.dwarf2/dw2-compressed.exp
4490         * gdb.dwarf2/dw2-const.exp
4491         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4492         * gdb.dwarf2/dw2-cu-size.exp
4493         * gdb.dwarf2/dw2-dup-frame.exp
4494         * gdb.dwarf2/dw2-entry-value.exp
4495         * gdb.dwarf2/dw2-icycle.exp
4496         * gdb.dwarf2/dw2-ifort-parameter.exp
4497         * gdb.dwarf2/dw2-inline-break.exp
4498         * gdb.dwarf2/dw2-inline-param.exp
4499         * gdb.dwarf2/dw2-intercu.exp
4500         * gdb.dwarf2/dw2-intermix.exp
4501         * gdb.dwarf2/dw2-lexical-block-bare.exp
4502         * gdb.dwarf2/dw2-linkage-name-trust.exp
4503         * gdb.dwarf2/dw2-minsym-in-cu.exp
4504         * gdb.dwarf2/dw2-noloc.exp
4505         * gdb.dwarf2/dw2-op-call.exp
4506         * gdb.dwarf2/dw2-op-out-param.exp
4507         * gdb.dwarf2/dw2-opt-structptr.exp
4508         * gdb.dwarf2/dw2-param-error.exp
4509         * gdb.dwarf2/dw2-producer.exp
4510         * gdb.dwarf2/dw2-ranges-base.exp
4511         * gdb.dwarf2/dw2-ref-missing-frame.exp
4512         * gdb.dwarf2/dw2-reg-undefined.exp
4513         * gdb.dwarf2/dw2-regno-invalid.exp
4514         * gdb.dwarf2/dw2-restore.exp
4515         * gdb.dwarf2/dw2-restrict.exp
4516         * gdb.dwarf2/dw2-single-line-discriminators.exp
4517         * gdb.dwarf2/dw2-strp.exp
4518         * gdb.dwarf2/dw2-undefined-ret-addr.exp
4519         * gdb.dwarf2/dw2-unresolved.exp
4520         * gdb.dwarf2/dw2-var-zero-addr.exp
4521         * gdb.dwarf2/dw4-sig-types.exp
4522         * gdb.dwarf2/dwz.exp
4523         * gdb.dwarf2/dynarr-ptr.exp
4524         * gdb.dwarf2/enum-type.exp
4525         * gdb.dwarf2/gdb-index.exp
4526         * gdb.dwarf2/implptr-64bit.exp
4527         * gdb.dwarf2/implptr-optimized-out.exp
4528         * gdb.dwarf2/implptr.exp
4529         * gdb.dwarf2/implref-array.exp
4530         * gdb.dwarf2/implref-const.exp
4531         * gdb.dwarf2/implref-global.exp
4532         * gdb.dwarf2/implref-struct.exp
4533         * gdb.dwarf2/mac-fileno.exp
4534         * gdb.dwarf2/main-subprogram.exp
4535         * gdb.dwarf2/member-ptr-forwardref.exp
4536         * gdb.dwarf2/method-ptr.exp
4537         * gdb.dwarf2/missing-sig-type.exp
4538         * gdb.dwarf2/nonvar-access.exp
4539         * gdb.dwarf2/opaque-type-lookup.exp
4540         * gdb.dwarf2/pieces-optimized-out.exp
4541         * gdb.dwarf2/pieces.exp
4542         * gdb.dwarf2/pr10770.exp
4543         * gdb.dwarf2/pr13961.exp
4544         * gdb.dwarf2/staticvirtual.exp
4545         * gdb.dwarf2/subrange.exp
4546         * gdb.dwarf2/symtab-producer.exp
4547         * gdb.dwarf2/trace-crash.exp
4548         * gdb.dwarf2/typeddwarf.exp
4549         * gdb.dwarf2/valop.exp
4550         * gdb.dwarf2/watch-notconst.exp
4551         * gdb.fortran/array-element.exp
4552         * gdb.fortran/charset.exp
4553         * gdb.fortran/common-block.exp
4554         * gdb.fortran/complex.exp
4555         * gdb.fortran/derived-type-function.exp
4556         * gdb.fortran/derived-type.exp
4557         * gdb.fortran/logical.exp
4558         * gdb.fortran/module.exp
4559         * gdb.fortran/multi-dim.exp
4560         * gdb.fortran/nested-funcs.exp
4561         * gdb.fortran/print-formatted.exp
4562         * gdb.fortran/subarray.exp
4563         * gdb.fortran/vla-alloc-assoc.exp
4564         * gdb.fortran/vla-datatypes.exp
4565         * gdb.fortran/vla-history.exp
4566         * gdb.fortran/vla-ptr-info.exp
4567         * gdb.fortran/vla-ptype-sub.exp
4568         * gdb.fortran/vla-ptype.exp
4569         * gdb.fortran/vla-sizeof.exp
4570         * gdb.fortran/vla-type.exp
4571         * gdb.fortran/vla-value-sub-arbitrary.exp
4572         * gdb.fortran/vla-value-sub-finish.exp
4573         * gdb.fortran/vla-value-sub.exp
4574         * gdb.fortran/vla-value.exp
4575         * gdb.fortran/whatis_type.exp
4576         * gdb.go/chan.exp
4577         * gdb.go/handcall.exp
4578         * gdb.go/hello.exp
4579         * gdb.go/integers.exp
4580         * gdb.go/methods.exp
4581         * gdb.go/package.exp
4582         * gdb.go/strings.exp
4583         * gdb.go/types.exp
4584         * gdb.go/unsafe.exp
4585         * gdb.guile/scm-arch.exp
4586         * gdb.guile/scm-block.exp
4587         * gdb.guile/scm-breakpoint.exp
4588         * gdb.guile/scm-cmd.exp
4589         * gdb.guile/scm-disasm.exp
4590         * gdb.guile/scm-equal.exp
4591         * gdb.guile/scm-frame-args.exp
4592         * gdb.guile/scm-frame-inline.exp
4593         * gdb.guile/scm-frame.exp
4594         * gdb.guile/scm-iterator.exp
4595         * gdb.guile/scm-math.exp
4596         * gdb.guile/scm-objfile.exp
4597         * gdb.guile/scm-ports.exp
4598         * gdb.guile/scm-symbol.exp
4599         * gdb.guile/scm-symtab.exp
4600         * gdb.guile/scm-value-cc.exp
4601         * gdb.guile/types-module.exp
4602         * gdb.linespec/break-ask.exp
4603         * gdb.linespec/cpexplicit.exp
4604         * gdb.linespec/explicit.exp
4605         * gdb.linespec/keywords.exp
4606         * gdb.linespec/linespec.exp
4607         * gdb.linespec/ls-dollar.exp
4608         * gdb.linespec/ls-errs.exp
4609         * gdb.linespec/skip-two.exp
4610         * gdb.linespec/thread.exp
4611         * gdb.mi/mi-async.exp
4612         * gdb.mi/mi-basics.exp
4613         * gdb.mi/mi-break.exp
4614         * gdb.mi/mi-catch-load.exp
4615         * gdb.mi/mi-cli.exp
4616         * gdb.mi/mi-cmd-param-changed.exp
4617         * gdb.mi/mi-console.exp
4618         * gdb.mi/mi-detach.exp
4619         * gdb.mi/mi-disassemble.exp
4620         * gdb.mi/mi-eval.exp
4621         * gdb.mi/mi-file-transfer.exp
4622         * gdb.mi/mi-file.exp
4623         * gdb.mi/mi-fill-memory.exp
4624         * gdb.mi/mi-inheritance-syntax-error.exp
4625         * gdb.mi/mi-linespec-err-cp.exp
4626         * gdb.mi/mi-logging.exp
4627         * gdb.mi/mi-memory-changed.exp
4628         * gdb.mi/mi-read-memory.exp
4629         * gdb.mi/mi-record-changed.exp
4630         * gdb.mi/mi-reg-undefined.exp
4631         * gdb.mi/mi-regs.exp
4632         * gdb.mi/mi-return.exp
4633         * gdb.mi/mi-reverse.exp
4634         * gdb.mi/mi-simplerun.exp
4635         * gdb.mi/mi-solib.exp
4636         * gdb.mi/mi-stack.exp
4637         * gdb.mi/mi-stepi.exp
4638         * gdb.mi/mi-syn-frame.exp
4639         * gdb.mi/mi-until.exp
4640         * gdb.mi/mi-var-block.exp
4641         * gdb.mi/mi-var-child.exp
4642         * gdb.mi/mi-var-cmd.exp
4643         * gdb.mi/mi-var-cp.exp
4644         * gdb.mi/mi-var-display.exp
4645         * gdb.mi/mi-var-invalidate.exp
4646         * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4647         * gdb.mi/mi-vla-fortran.exp
4648         * gdb.mi/mi-watch.exp
4649         * gdb.mi/mi2-var-child.exp
4650         * gdb.mi/user-selected-context-sync.exp
4651         * gdb.modula2/unbounded-array.exp
4652         * gdb.multi/dummy-frame-restore.exp
4653         * gdb.multi/multi-arch-exec.exp
4654         * gdb.multi/multi-arch.exp
4655         * gdb.multi/tids.exp
4656         * gdb.multi/watchpoint-multi.exp
4657         * gdb.opencl/callfuncs.exp
4658         * gdb.opencl/convs_casts.exp
4659         * gdb.opencl/datatypes.exp
4660         * gdb.opencl/operators.exp
4661         * gdb.opencl/vec_comps.exp
4662         * gdb.opt/clobbered-registers-O2.exp
4663         * gdb.opt/inline-break.exp
4664         * gdb.opt/inline-bt.exp
4665         * gdb.opt/inline-cmds.exp
4666         * gdb.opt/inline-locals.exp
4667         * gdb.pascal/case-insensitive-symbols.exp
4668         * gdb.pascal/floats.exp
4669         * gdb.pascal/gdb11492.exp
4670         * gdb.python/lib-types.exp
4671         * gdb.python/py-arch.exp
4672         * gdb.python/py-as-string.exp
4673         * gdb.python/py-bad-printers.exp
4674         * gdb.python/py-block.exp
4675         * gdb.python/py-breakpoint-create-fail.exp
4676         * gdb.python/py-breakpoint.exp
4677         * gdb.python/py-caller-is.exp
4678         * gdb.python/py-cmd.exp
4679         * gdb.python/py-explore-cc.exp
4680         * gdb.python/py-explore.exp
4681         * gdb.python/py-finish-breakpoint.exp
4682         * gdb.python/py-finish-breakpoint2.exp
4683         * gdb.python/py-frame-args.exp
4684         * gdb.python/py-frame-inline.exp
4685         * gdb.python/py-frame.exp
4686         * gdb.python/py-framefilter-mi.exp
4687         * gdb.python/py-infthread.exp
4688         * gdb.python/py-lazy-string.exp
4689         * gdb.python/py-linetable.exp
4690         * gdb.python/py-mi-events.exp
4691         * gdb.python/py-mi-objfile.exp
4692         * gdb.python/py-mi.exp
4693         * gdb.python/py-objfile.exp
4694         * gdb.python/py-pp-integral.exp
4695         * gdb.python/py-pp-maint.exp
4696         * gdb.python/py-pp-re-notag.exp
4697         * gdb.python/py-pp-registration.exp
4698         * gdb.python/py-recurse-unwind.exp
4699         * gdb.python/py-strfns.exp
4700         * gdb.python/py-symbol.exp
4701         * gdb.python/py-symtab.exp
4702         * gdb.python/py-sync-interp.exp
4703         * gdb.python/py-typeprint.exp
4704         * gdb.python/py-unwind-maint.exp
4705         * gdb.python/py-unwind.exp
4706         * gdb.python/py-value-cc.exp
4707         * gdb.python/py-xmethods.exp
4708         * gdb.reverse/amd64-tailcall-reverse.exp
4709         * gdb.reverse/break-precsave.exp
4710         * gdb.reverse/break-reverse.exp
4711         * gdb.reverse/consecutive-precsave.exp
4712         * gdb.reverse/consecutive-reverse.exp
4713         * gdb.reverse/finish-precsave.exp
4714         * gdb.reverse/finish-reverse-bkpt.exp
4715         * gdb.reverse/finish-reverse.exp
4716         * gdb.reverse/fstatat-reverse.exp
4717         * gdb.reverse/getresuid-reverse.exp
4718         * gdb.reverse/i386-precsave.exp
4719         * gdb.reverse/i386-reverse.exp
4720         * gdb.reverse/i386-sse-reverse.exp
4721         * gdb.reverse/i387-env-reverse.exp
4722         * gdb.reverse/i387-stack-reverse.exp
4723         * gdb.reverse/insn-reverse.exp
4724         * gdb.reverse/machinestate-precsave.exp
4725         * gdb.reverse/machinestate.exp
4726         * gdb.reverse/next-reverse-bkpt-over-sr.exp
4727         * gdb.reverse/pipe-reverse.exp
4728         * gdb.reverse/readv-reverse.exp
4729         * gdb.reverse/recvmsg-reverse.exp
4730         * gdb.reverse/rerun-prec.exp
4731         * gdb.reverse/s390-mvcle.exp
4732         * gdb.reverse/step-precsave.exp
4733         * gdb.reverse/step-reverse.exp
4734         * gdb.reverse/time-reverse.exp
4735         * gdb.reverse/until-precsave.exp
4736         * gdb.reverse/until-reverse.exp
4737         * gdb.reverse/waitpid-reverse.exp
4738         * gdb.reverse/watch-precsave.exp
4739         * gdb.reverse/watch-reverse.exp
4740         * gdb.rust/generics.exp
4741         * gdb.rust/methods.exp
4742         * gdb.rust/modules.exp
4743         * gdb.rust/simple.exp
4744         * gdb.server/connect-with-no-symbol-file.exp
4745         * gdb.server/ext-attach.exp
4746         * gdb.server/ext-restart.exp
4747         * gdb.server/ext-wrapper.exp
4748         * gdb.server/file-transfer.exp
4749         * gdb.server/server-exec-info.exp
4750         * gdb.server/server-kill.exp
4751         * gdb.server/server-mon.exp
4752         * gdb.server/wrapper.exp
4753         * gdb.stabs/exclfwd.exp
4754         * gdb.stabs/gdb11479.exp
4755         * gdb.threads/clone-new-thread-event.exp
4756         * gdb.threads/corethreads.exp
4757         * gdb.threads/current-lwp-dead.exp
4758         * gdb.threads/dlopen-libpthread.exp
4759         * gdb.threads/gcore-thread.exp
4760         * gdb.threads/sigstep-threads.exp
4761         * gdb.threads/watchpoint-fork.exp
4762         * gdb.trace/actions-changed.exp
4763         * gdb.trace/backtrace.exp
4764         * gdb.trace/change-loc.exp
4765         * gdb.trace/circ.exp
4766         * gdb.trace/collection.exp
4767         * gdb.trace/disconnected-tracing.exp
4768         * gdb.trace/ftrace.exp
4769         * gdb.trace/mi-trace-frame-collected.exp
4770         * gdb.trace/mi-trace-unavailable.exp
4771         * gdb.trace/mi-traceframe-changed.exp
4772         * gdb.trace/mi-tsv-changed.exp
4773         * gdb.trace/no-attach-trace.exp
4774         * gdb.trace/passc-dyn.exp
4775         * gdb.trace/qtro.exp
4776         * gdb.trace/range-stepping.exp
4777         * gdb.trace/read-memory.exp
4778         * gdb.trace/save-trace.exp
4779         * gdb.trace/signal.exp
4780         * gdb.trace/status-stop.exp
4781         * gdb.trace/tfile.exp
4782         * gdb.trace/trace-break.exp
4783         * gdb.trace/trace-buffer-size.exp
4784         * gdb.trace/trace-condition.exp
4785         * gdb.trace/tracefile-pseudo-reg.exp
4786         * gdb.trace/tstatus.exp
4787         * gdb.trace/unavailable.exp
4788         * gdb.trace/while-dyn.exp
4789         * gdb.trace/while-stepping.exp
4790
4791 2016-12-22  Doug Evans  <xdje42@gmail.com>
4792
4793         * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4794         and msymbols.
4795
4796 2016-12-19  Yao Qi  <yao.qi@linaro.org>
4797
4798         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4799         (test_with_self): Don't call do_steps_and_nexts, and remove
4800         code about stepping into xmalloc.
4801
4802 2016-12-09  Yao Qi  <yao.qi@linaro.org>
4803
4804         * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4805
4806 2016-12-09  Yao Qi  <yao.qi@linaro.org>
4807
4808         * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4809
4810 2016-12-09  Pedro Alves  <palves@redhat.com>
4811
4812         * gdb.base/all-architectures-0.exp: New file.
4813         * gdb.base/all-architectures-1.exp: New file.
4814         * gdb.base/all-architectures-2.exp: New file.
4815         * gdb.base/all-architectures-3.exp: New file.
4816         * gdb.base/all-architectures-4.exp: New file.
4817         * gdb.base/all-architectures-5.exp: New file.
4818         * gdb.base/all-architectures-6.exp: New file.
4819         * gdb.base/all-architectures-7.exp: New file.
4820         * gdb.base/all-architectures.exp.in: New file.
4821
4822 2016-12-09  Yao Qi  <yao.qi@linaro.org>
4823
4824         * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4825
4826 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
4827
4828         * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4829         possible.
4830         Remove useless pattern-matching code.
4831
4832 2016-12-02  Pedro Alves  <palves@redhat.com>
4833
4834         * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4835         procedure.
4836         (top level): Call it.
4837
4838 2016-12-02  Pedro Alves  <palves@redhat.com>
4839
4840         * gdb.base/commands.exp (user_defined_command_args_stack_test):
4841         New procedure.
4842         (top level): Call it.
4843
4844 2016-12-02  Pedro Alves  <palves@redhat.com>
4845
4846         PR cli/20559
4847         * gdb.base/commands.exp (user_defined_command_args_eval): New
4848         procedure.
4849         (top level): Call it.
4850
4851 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
4852
4853         * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4854         timeout handling.
4855
4856 2016-12-02  Tom Tromey  <tom@tromey.com>
4857
4858         * gdb.dwarf2/main-subprogram.c: New file.
4859         * gdb.dwarf2/main-subprogram.exp: New file.
4860
4861 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
4862
4863         * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4864         * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
4865         gdb_test_no_output for a couple of cases.
4866         * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
4867
4868 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
4869
4870         Fix test names and standardize compilation error messages throughout
4871         the following files:
4872
4873         * gdb.ada/start.exp
4874         * gdb.arch/alpha-step.exp
4875         * gdb.arch/e500-prologue.exp
4876         * gdb.arch/ftrace-insn-reloc.exp
4877         * gdb.arch/gdb1291.exp
4878         * gdb.arch/gdb1431.exp
4879         * gdb.arch/gdb1558.exp
4880         * gdb.arch/i386-dr3-watch.exp
4881         * gdb.arch/i386-sse-stack-align.exp
4882         * gdb.arch/ia64-breakpoint-shadow.exp
4883         * gdb.arch/pa-nullify.exp
4884         * gdb.arch/powerpc-aix-prologue.exp
4885         * gdb.arch/thumb-bx-pc.exp
4886         * gdb.base/annota1.exp
4887         * gdb.base/annota3.exp
4888         * gdb.base/arrayidx.exp
4889         * gdb.base/assign.exp
4890         * gdb.base/attach.exp
4891         * gdb.base/auxv.exp
4892         * gdb.base/bang.exp
4893         * gdb.base/bfp-test.exp
4894         * gdb.base/bigcore.exp
4895         * gdb.base/bitfields2.exp
4896         * gdb.base/break-fun-addr.exp
4897         * gdb.base/break-probes.exp
4898         * gdb.base/call-rt-st.exp
4899         * gdb.base/callexit.exp
4900         * gdb.base/catch-fork-kill.exp
4901         * gdb.base/charset.exp
4902         * gdb.base/checkpoint.exp
4903         * gdb.base/comprdebug.exp
4904         * gdb.base/constvars.exp
4905         * gdb.base/coredump-filter.exp
4906         * gdb.base/cursal.exp
4907         * gdb.base/cvexpr.exp
4908         * gdb.base/detach.exp
4909         * gdb.base/display.exp
4910         * gdb.base/dmsym.exp
4911         * gdb.base/dprintf-pending.exp
4912         * gdb.base/dso2dso.exp
4913         * gdb.base/dtrace-probe.exp
4914         * gdb.base/dump.exp
4915         * gdb.base/enum_cond.exp
4916         * gdb.base/exe-lock.exp
4917         * gdb.base/exec-invalid-sysroot.exp
4918         * gdb.base/execl-update-breakpoints.exp
4919         * gdb.base/exprs.exp
4920         * gdb.base/fileio.exp
4921         * gdb.base/find.exp
4922         * gdb.base/finish.exp
4923         * gdb.base/fixsection.exp
4924         * gdb.base/foll-vfork.exp
4925         * gdb.base/frame-args.exp
4926         * gdb.base/gcore.exp
4927         * gdb.base/gdb1250.exp
4928         * gdb.base/global-var-nested-by-dso.exp
4929         * gdb.base/gnu-ifunc.exp
4930         * gdb.base/hashline1.exp
4931         * gdb.base/hashline2.exp
4932         * gdb.base/hashline3.exp
4933         * gdb.base/hbreak-in-shr-unsupported.exp
4934         * gdb.base/huge.exp
4935         * gdb.base/infcall-input.exp
4936         * gdb.base/info-fun.exp
4937         * gdb.base/info-shared.exp
4938         * gdb.base/jit-simple.exp
4939         * gdb.base/jit-so.exp
4940         * gdb.base/jit.exp
4941         * gdb.base/jump.exp
4942         * gdb.base/label.exp
4943         * gdb.base/lineinc.exp
4944         * gdb.base/logical.exp
4945         * gdb.base/longjmp.exp
4946         * gdb.base/macscp.exp
4947         * gdb.base/miscexprs.exp
4948         * gdb.base/new-ui-echo.exp
4949         * gdb.base/new-ui-pending-input.exp
4950         * gdb.base/new-ui.exp
4951         * gdb.base/nodebug.exp
4952         * gdb.base/nofield.exp
4953         * gdb.base/offsets.exp
4954         * gdb.base/overlays.exp
4955         * gdb.base/pending.exp
4956         * gdb.base/pointers.exp
4957         * gdb.base/pr11022.exp
4958         * gdb.base/printcmds.exp
4959         * gdb.base/prologue.exp
4960         * gdb.base/ptr-typedef.exp
4961         * gdb.base/realname-expand.exp
4962         * gdb.base/relativedebug.exp
4963         * gdb.base/relocate.exp
4964         * gdb.base/remote.exp
4965         * gdb.base/reread.exp
4966         * gdb.base/return2.exp
4967         * gdb.base/savedregs.exp
4968         * gdb.base/sep.exp
4969         * gdb.base/sepdebug.exp
4970         * gdb.base/sepsymtab.exp
4971         * gdb.base/set-inferior-tty.exp
4972         * gdb.base/setshow.exp
4973         * gdb.base/shlib-call.exp
4974         * gdb.base/sigaltstack.exp
4975         * gdb.base/siginfo-addr.exp
4976         * gdb.base/signals.exp
4977         * gdb.base/signull.exp
4978         * gdb.base/sigrepeat.exp
4979         * gdb.base/so-impl-ld.exp
4980         * gdb.base/solib-display.exp
4981         * gdb.base/solib-overlap.exp
4982         * gdb.base/solib-search.exp
4983         * gdb.base/solib-symbol.exp
4984         * gdb.base/structs.exp
4985         * gdb.base/structs2.exp
4986         * gdb.base/symtab-search-order.exp
4987         * gdb.base/twice.exp
4988         * gdb.base/unload.exp
4989         * gdb.base/varargs.exp
4990         * gdb.base/watchpoint-solib.exp
4991         * gdb.base/watchpoint.exp
4992         * gdb.base/whatis.exp
4993         * gdb.base/wrong_frame_bt_full.exp
4994         * gdb.btrace/dlopen.exp
4995         * gdb.cell/ea-standalone.exp
4996         * gdb.cell/ea-test.exp
4997         * gdb.cp/dispcxx.exp
4998         * gdb.cp/gdb2384.exp
4999         * gdb.cp/method2.exp
5000         * gdb.cp/nextoverthrow.exp
5001         * gdb.cp/pr10728.exp
5002         * gdb.disasm/am33.exp
5003         * gdb.disasm/h8300s.exp
5004         * gdb.disasm/mn10300.exp
5005         * gdb.disasm/sh3.exp
5006         * gdb.dwarf2/dw2-dir-file-name.exp
5007         * gdb.fortran/complex.exp
5008         * gdb.fortran/library-module.exp
5009         * gdb.guile/scm-pretty-print.exp
5010         * gdb.guile/scm-symbol.exp
5011         * gdb.guile/scm-type.exp
5012         * gdb.guile/scm-value.exp
5013         * gdb.linespec/linespec.exp
5014         * gdb.mi/gdb701.exp
5015         * gdb.mi/gdb792.exp
5016         * gdb.mi/mi-breakpoint-changed.exp
5017         * gdb.mi/mi-dprintf-pending.exp
5018         * gdb.mi/mi-dprintf.exp
5019         * gdb.mi/mi-exit-code.exp
5020         * gdb.mi/mi-pending.exp
5021         * gdb.mi/mi-solib.exp
5022         * gdb.mi/new-ui-mi-sync.exp
5023         * gdb.mi/pr11022.exp
5024         * gdb.mi/user-selected-context-sync.exp
5025         * gdb.opt/solib-intra-step.exp
5026         * gdb.python/py-events.exp
5027         * gdb.python/py-finish-breakpoint.exp
5028         * gdb.python/py-mi.exp
5029         * gdb.python/py-prettyprint.exp
5030         * gdb.python/py-shared.exp
5031         * gdb.python/py-symbol.exp
5032         * gdb.python/py-template.exp
5033         * gdb.python/py-type.exp
5034         * gdb.python/py-value.exp
5035         * gdb.reverse/solib-precsave.exp
5036         * gdb.reverse/solib-reverse.exp
5037         * gdb.server/solib-list.exp
5038         * gdb.stabs/weird.exp
5039         * gdb.threads/reconnect-signal.exp
5040         * gdb.threads/stepi-random-signal.exp
5041         * gdb.trace/actions.exp
5042         * gdb.trace/ax.exp
5043         * gdb.trace/backtrace.exp
5044         * gdb.trace/change-loc.exp
5045         * gdb.trace/deltrace.exp
5046         * gdb.trace/ftrace-lock.exp
5047         * gdb.trace/ftrace.exp
5048         * gdb.trace/infotrace.exp
5049         * gdb.trace/mi-tracepoint-changed.exp
5050         * gdb.trace/packetlen.exp
5051         * gdb.trace/passcount.exp
5052         * gdb.trace/pending.exp
5053         * gdb.trace/range-stepping.exp
5054         * gdb.trace/report.exp
5055         * gdb.trace/stap-trace.exp
5056         * gdb.trace/tfind.exp
5057         * gdb.trace/trace-break.exp
5058         * gdb.trace/trace-condition.exp
5059         * gdb.trace/trace-enable-disable.exp
5060         * gdb.trace/trace-mt.exp
5061         * gdb.trace/tracecmd.exp
5062         * gdb.trace/tspeed.exp
5063         * gdb.trace/tsv.exp
5064         * lib/perftest.exp
5065
5066 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5067
5068         * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
5069         with gdb_test_no_output.
5070         Use command as test name.
5071
5072 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5073
5074         Fix test names starting with uppercase throughout the files.
5075
5076         * gdb.ada/assign_1.exp
5077         * gdb.ada/boolean_expr.exp
5078         * gdb.base/arrayidx.exp
5079         * gdb.base/del.exp
5080         * gdb.base/gcore-buffer-overflow.exp
5081         * gdb.base/testenv.exp
5082         * gdb.compile/compile.exp
5083         * gdb.python/py-framefilter-invalidarg.exp
5084         * gdb.python/py-framefilter.exp
5085
5086 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5087
5088         Fix test names starting with uppercase throughout the files.
5089
5090         * gdb.ada/array_return.exp
5091         * gdb.ada/expr_delims.exp
5092         * gdb.ada/mi_dyn_arr.exp
5093         * gdb.ada/mi_interface.exp
5094         * gdb.ada/mi_var_array.exp
5095         * gdb.ada/watch_arg.exp
5096         * gdb.arch/alpha-step.exp
5097         * gdb.arch/altivec-regs.exp
5098         * gdb.arch/e500-regs.exp
5099         * gdb.arch/powerpc-d128-regs.exp
5100         * gdb.base/arrayidx.exp
5101         * gdb.base/break.exp
5102         * gdb.base/checkpoint.exp
5103         * gdb.base/debug-expr.exp
5104         * gdb.base/dmsym.exp
5105         * gdb.base/radix.exp
5106         * gdb.base/sepdebug.exp
5107         * gdb.base/testenv.exp
5108         * gdb.base/watch_thread_num.exp
5109         * gdb.base/watchpoint-cond-gone.exp
5110         * gdb.cell/break.exp
5111         * gdb.cell/ea-cache.exp
5112         * gdb.compile/compile.exp
5113         * gdb.cp/gdb2495.exp
5114         * gdb.gdb/selftest.exp
5115         * gdb.gdb/xfullpath.exp
5116         * gdb.go/hello.exp
5117         * gdb.go/integers.exp
5118         * gdb.objc/basicclass.exp
5119         * gdb.pascal/hello.exp
5120         * gdb.pascal/integers.exp
5121         * gdb.python/py-breakpoint.exp
5122         * gdb.python/py-cmd.exp
5123         * gdb.python/py-linetable.exp
5124         * gdb.python/py-xmethods.exp
5125         * gdb.python/python.exp
5126         * gdb.reverse/consecutive-precsave.exp
5127         * gdb.reverse/finish-precsave.exp
5128         * gdb.reverse/i386-precsave.exp
5129         * gdb.reverse/machinestate-precsave.exp
5130         * gdb.reverse/sigall-precsave.exp
5131         * gdb.reverse/solib-precsave.exp
5132         * gdb.reverse/step-precsave.exp
5133         * gdb.reverse/until-precsave.exp
5134         * gdb.reverse/watch-precsave.exp
5135         * gdb.threads/leader-exit.exp
5136         * gdb.threads/pthreads.exp
5137         * gdb.threads/wp-replication.exp
5138         * gdb.trace/actions.exp
5139         * gdb.trace/mi-tsv-changed.exp
5140         * gdb.trace/tsv.exp
5141
5142 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5143
5144         Fix test names starting with uppercase throughout the files.
5145
5146         * gdb.arch/i386-bp_permanent.exp
5147         * gdb.arch/i386-gnu-cfi.exp
5148         * gdb.base/disasm-end-cu.exp
5149         * gdb.base/macscp.exp
5150         * gdb.base/pending.exp
5151         * gdb.base/watch_thread_num.exp
5152         * gdb.cp/exception.exp
5153         * gdb.cp/gdb2495.exp
5154         * gdb.cp/local.exp
5155         * gdb.python/py-evsignal.exp
5156         * gdb.python/python.exp
5157         * gdb.trace/tracecmd.exp
5158
5159 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5160
5161         Fix test names starting with uppercase throughout the files.
5162
5163         * gdb.base/charset.exp
5164         * gdb.base/eval.exp
5165         * gdb.base/multi-forks.exp
5166         * gdb.guile/scm-progspace.exp
5167         * gdb.opencl/datatypes.exp
5168         * gdb.python/py-block.exp
5169         * gdb.python/py-function.exp
5170         * gdb.python/py-symbol.exp
5171         * gdb.python/py-symtab.exp
5172         * gdb.python/py-xmethods.exp
5173         * gdb.reverse/break-precsave.exp
5174         * gdb.reverse/break-reverse.exp
5175         * gdb.reverse/consecutive-precsave.exp
5176         * gdb.reverse/consecutive-reverse.exp
5177         * gdb.reverse/finish-precsave.exp
5178         * gdb.reverse/finish-reverse-bkpt.exp
5179         * gdb.reverse/finish-reverse.exp
5180         * gdb.reverse/fstatat-reverse.exp
5181         * gdb.reverse/getresuid-reverse.exp
5182         * gdb.reverse/i386-precsave.exp
5183         * gdb.reverse/i386-reverse.exp
5184         * gdb.reverse/i386-sse-reverse.exp
5185         * gdb.reverse/i387-stack-reverse.exp
5186         * gdb.reverse/insn-reverse.exp
5187         * gdb.reverse/machinestate-precsave.exp
5188         * gdb.reverse/machinestate.exp
5189         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5190         * gdb.reverse/pipe-reverse.exp
5191         * gdb.reverse/readv-reverse.exp
5192         * gdb.reverse/recvmsg-reverse.exp
5193         * gdb.reverse/rerun-prec.exp
5194         * gdb.reverse/s390-mvcle.exp
5195         * gdb.reverse/sigall-precsave.exp
5196         * gdb.reverse/sigall-reverse.exp
5197         * gdb.reverse/solib-precsave.exp
5198         * gdb.reverse/solib-reverse.exp
5199         * gdb.reverse/step-precsave.exp
5200         * gdb.reverse/step-reverse.exp
5201         * gdb.reverse/time-reverse.exp
5202         * gdb.reverse/until-precsave.exp
5203         * gdb.reverse/until-reverse.exp
5204         * gdb.reverse/waitpid-reverse.exp
5205         * gdb.reverse/watch-precsave.exp
5206         * gdb.reverse/watch-reverse.exp
5207
5208 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5209
5210         Fix test names starting with uppercase throughout the files.
5211
5212         * gdb.arch/i386-mpx-simple_segv.exp
5213         * gdb.arch/i386-mpx.exp
5214         * gdb.arch/i386-permbkpt.exp
5215         * gdb.arch/pa-nullify.exp
5216         * gdb.arch/powerpc-d128-regs.exp
5217         * gdb.arch/vsx-regs.exp
5218         * gdb.base/bfp-test.exp
5219         * gdb.base/break.exp
5220         * gdb.base/breakpoint-shadow.exp
5221         * gdb.base/callfuncs.exp
5222         * gdb.base/charset.exp
5223         * gdb.base/commands.exp
5224         * gdb.base/completion.exp
5225         * gdb.base/dfp-test.exp
5226         * gdb.base/echo.exp
5227         * gdb.base/ending-run.exp
5228         * gdb.base/eval.exp
5229         * gdb.base/expand-psymtabs.exp
5230         * gdb.base/float128.exp
5231         * gdb.base/floatn.exp
5232         * gdb.base/foll-exec-mode.exp
5233         * gdb.base/gdb1056.exp
5234         * gdb.base/gdb11531.exp
5235         * gdb.base/kill-after-signal.exp
5236         * gdb.base/multi-forks.exp
5237         * gdb.base/overlays.exp
5238         * gdb.base/pending.exp
5239         * gdb.base/sepdebug.exp
5240         * gdb.base/testenv.exp
5241         * gdb.base/valgrind-db-attach.exp
5242         * gdb.base/watch_thread_num.exp
5243         * gdb.base/watchpoint-cond-gone.exp
5244         * gdb.base/watchpoint.exp
5245         * gdb.base/watchpoints.exp
5246         * gdb.cp/arg-reference.exp
5247         * gdb.cp/baseenum.exp
5248         * gdb.cp/operator.exp
5249         * gdb.cp/shadow.exp
5250         * gdb.dwarf2/dw2-op-out-param.exp
5251         * gdb.dwarf2/dw2-reg-undefined.exp
5252         * gdb.go/chan.exp
5253         * gdb.go/hello.exp
5254         * gdb.go/integers.exp
5255         * gdb.go/methods.exp
5256         * gdb.go/package.exp
5257         * gdb.guile/scm-parameter.exp
5258         * gdb.guile/scm-progspace.exp
5259         * gdb.guile/scm-value.exp
5260         * gdb.mi/mi-pending.exp
5261         * gdb.mi/user-selected-context-sync.exp
5262         * gdb.multi/multi-attach.exp
5263         * gdb.multi/tids.exp
5264         * gdb.opt/clobbered-registers-O2.exp
5265         * gdb.pascal/floats.exp
5266         * gdb.pascal/integers.exp
5267         * gdb.python/py-block.exp
5268         * gdb.python/py-events.exp
5269         * gdb.python/py-parameter.exp
5270         * gdb.python/py-symbol.exp
5271         * gdb.python/py-symtab.exp
5272         * gdb.python/py-type.exp
5273         * gdb.python/py-value.exp
5274         * gdb.python/py-xmethods.exp
5275         * gdb.python/python.exp
5276         * gdb.reverse/break-precsave.exp
5277         * gdb.reverse/consecutive-precsave.exp
5278         * gdb.reverse/finish-precsave.exp
5279         * gdb.reverse/i386-precsave.exp
5280         * gdb.reverse/machinestate-precsave.exp
5281         * gdb.reverse/sigall-precsave.exp
5282         * gdb.reverse/solib-precsave.exp
5283         * gdb.reverse/step-precsave.exp
5284         * gdb.reverse/until-precsave.exp
5285         * gdb.reverse/watch-precsave.exp
5286         * gdb.server/ext-attach.exp
5287         * gdb.server/ext-restart.exp
5288         * gdb.server/ext-run.exp
5289         * gdb.server/ext-wrapper.exp
5290         * gdb.stabs/gdb11479.exp
5291         * gdb.stabs/weird.exp
5292         * gdb.threads/attach-many-short-lived-threads.exp
5293         * gdb.threads/kill.exp
5294         * gdb.threads/watchpoint-fork.exp
5295
5296 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5297
5298         Fix test names starting with uppercase throughout all the files below.
5299
5300         * gdb.ada/array_return.exp
5301         * gdb.ada/catch_ex.exp
5302         * gdb.ada/info_exc.exp
5303         * gdb.ada/mi_catch_ex.exp
5304         * gdb.ada/mi_dyn_arr.exp
5305         * gdb.ada/mi_ex_cond.exp
5306         * gdb.ada/mi_exc_info.exp
5307         * gdb.ada/mi_interface.exp
5308         * gdb.ada/mi_task_arg.exp
5309         * gdb.ada/mi_task_info.exp
5310         * gdb.ada/mi_var_array.exp
5311         * gdb.arch/alpha-step.exp
5312         * gdb.arch/amd64-disp-step.exp
5313         * gdb.arch/arm-disp-step.exp
5314         * gdb.arch/disp-step-insn-reloc.exp
5315         * gdb.arch/e500-prologue.exp
5316         * gdb.arch/ftrace-insn-reloc.exp
5317         * gdb.arch/gdb1558.exp
5318         * gdb.arch/i386-bp_permanent.exp
5319         * gdb.arch/i386-disp-step.exp
5320         * gdb.arch/i386-float.exp
5321         * gdb.arch/i386-gnu-cfi.exp
5322         * gdb.arch/ia64-breakpoint-shadow.exp
5323         * gdb.arch/mips16-thunks.exp
5324         * gdb.arch/pa-nullify.exp
5325         * gdb.arch/powerpc-aix-prologue.exp
5326         * gdb.arch/powerpc-power.exp
5327         * gdb.arch/ppc-dfp.exp
5328         * gdb.arch/s390-tdbregs.exp
5329         * gdb.arch/spu-info.exp
5330         * gdb.arch/spu-ls.exp
5331         * gdb.arch/thumb-bx-pc.exp
5332         * gdb.base/advance.exp
5333         * gdb.base/annota-input-while-running.exp
5334         * gdb.base/arrayidx.exp
5335         * gdb.base/asmlabel.exp
5336         * gdb.base/async.exp
5337         * gdb.base/attach-wait-input.exp
5338         * gdb.base/auto-connect-native-target.exp
5339         * gdb.base/batch-preserve-term-settings.exp
5340         * gdb.base/bfp-test.exp
5341         * gdb.base/bigcore.exp
5342         * gdb.base/bp-permanent.exp
5343         * gdb.base/break-always.exp
5344         * gdb.base/break-fun-addr.exp
5345         * gdb.base/break-idempotent.exp
5346         * gdb.base/break-main-file-remove-fail.exp
5347         * gdb.base/break-probes.exp
5348         * gdb.base/break-unload-file.exp
5349         * gdb.base/break.exp
5350         * gdb.base/call-ar-st.exp
5351         * gdb.base/call-rt-st.exp
5352         * gdb.base/call-sc.exp
5353         * gdb.base/call-signal-resume.exp
5354         * gdb.base/call-strs.exp
5355         * gdb.base/callexit.exp
5356         * gdb.base/callfuncs.exp
5357         * gdb.base/catch-gdb-caused-signals.exp
5358         * gdb.base/catch-signal-siginfo-cond.exp
5359         * gdb.base/catch-syscall.exp
5360         * gdb.base/compare-sections.exp
5361         * gdb.base/cond-eval-mode.exp
5362         * gdb.base/condbreak-call-false.exp
5363         * gdb.base/consecutive-step-over.exp
5364         * gdb.base/cursal.exp
5365         * gdb.base/disabled-location.exp
5366         * gdb.base/disasm-end-cu.exp
5367         * gdb.base/display.exp
5368         * gdb.base/double-prompt-target-event-error.exp
5369         * gdb.base/dprintf-bp-same-addr.exp
5370         * gdb.base/dprintf-detach.exp
5371         * gdb.base/dprintf-next.exp
5372         * gdb.base/dprintf-non-stop.exp
5373         * gdb.base/dprintf-pending.exp
5374         * gdb.base/dso2dso.exp
5375         * gdb.base/ending-run.exp
5376         * gdb.base/enum_cond.exp
5377         * gdb.base/examine-backward.exp
5378         * gdb.base/exe-lock.exp
5379         * gdb.base/exec-invalid-sysroot.exp
5380         * gdb.base/execl-update-breakpoints.exp
5381         * gdb.base/execution-termios.exp
5382         * gdb.base/fileio.exp
5383         * gdb.base/fixsection.exp
5384         * gdb.base/foll-exec-mode.exp
5385         * gdb.base/foll-exec.exp
5386         * gdb.base/fork-running-state.exp
5387         * gdb.base/frame-args.exp
5388         * gdb.base/fullpath-expand.exp
5389         * gdb.base/func-ptr.exp
5390         * gdb.base/gcore-relro-pie.exp
5391         * gdb.base/gdb1090.exp
5392         * gdb.base/gdb1555.exp
5393         * gdb.base/global-var-nested-by-dso.exp
5394         * gdb.base/gnu-ifunc.exp
5395         * gdb.base/hbreak-in-shr-unsupported.exp
5396         * gdb.base/hbreak-unmapped.exp
5397         * gdb.base/hook-stop.exp
5398         * gdb.base/infcall-input.exp
5399         * gdb.base/info-fun.exp
5400         * gdb.base/info-shared.exp
5401         * gdb.base/interrupt-noterm.exp
5402         * gdb.base/jit-so.exp
5403         * gdb.base/jit.exp
5404         * gdb.base/line-symtabs.exp
5405         * gdb.base/list.exp
5406         * gdb.base/longjmp.exp
5407         * gdb.base/macscp.exp
5408         * gdb.base/max-value-size.exp
5409         * gdb.base/nodebug.exp
5410         * gdb.base/nofield.exp
5411         * gdb.base/overlays.exp
5412         * gdb.base/paginate-after-ctrl-c-running.exp
5413         * gdb.base/paginate-bg-execution.exp
5414         * gdb.base/paginate-inferior-exit.exp
5415         * gdb.base/pending.exp
5416         * gdb.base/pr11022.exp
5417         * gdb.base/printcmds.exp
5418         * gdb.base/ptr-typedef.exp
5419         * gdb.base/ptype.exp
5420         * gdb.base/randomize.exp
5421         * gdb.base/range-stepping.exp
5422         * gdb.base/realname-expand.exp
5423         * gdb.base/relativedebug.exp
5424         * gdb.base/remote.exp
5425         * gdb.base/savedregs.exp
5426         * gdb.base/sepdebug.exp
5427         * gdb.base/set-noassign.exp
5428         * gdb.base/shlib-call.exp
5429         * gdb.base/shreloc.exp
5430         * gdb.base/sigaltstack.exp
5431         * gdb.base/sigbpt.exp
5432         * gdb.base/siginfo-addr.exp
5433         * gdb.base/siginfo-obj.exp
5434         * gdb.base/siginfo-thread.exp
5435         * gdb.base/signest.exp
5436         * gdb.base/signull.exp
5437         * gdb.base/sigrepeat.exp
5438         * gdb.base/skip.exp
5439         * gdb.base/so-impl-ld.exp
5440         * gdb.base/solib-corrupted.exp
5441         * gdb.base/solib-disc.exp
5442         * gdb.base/solib-display.exp
5443         * gdb.base/solib-overlap.exp
5444         * gdb.base/solib-search.exp
5445         * gdb.base/solib-symbol.exp
5446         * gdb.base/source-execution.exp
5447         * gdb.base/sss-bp-on-user-bp-2.exp
5448         * gdb.base/sss-bp-on-user-bp.exp
5449         * gdb.base/stack-checking.exp
5450         * gdb.base/stale-infcall.exp
5451         * gdb.base/step-break.exp
5452         * gdb.base/step-line.exp
5453         * gdb.base/step-over-exit.exp
5454         * gdb.base/step-test.exp
5455         * gdb.base/structs.exp
5456         * gdb.base/sym-file.exp
5457         * gdb.base/symtab-search-order.exp
5458         * gdb.base/term.exp
5459         * gdb.base/type-opaque.exp
5460         * gdb.base/unload.exp
5461         * gdb.base/until-nodebug.exp
5462         * gdb.base/until.exp
5463         * gdb.base/unwindonsignal.exp
5464         * gdb.base/watch-cond.exp
5465         * gdb.base/watch-non-mem.exp
5466         * gdb.base/watch_thread_num.exp
5467         * gdb.base/watchpoint-reuse-slot.exp
5468         * gdb.base/watchpoint-solib.exp
5469         * gdb.base/watchpoint.exp
5470         * gdb.btrace/dlopen.exp
5471         * gdb.cell/arch.exp
5472         * gdb.cell/break.exp
5473         * gdb.cell/bt.exp
5474         * gdb.cell/core.exp
5475         * gdb.cell/data.exp
5476         * gdb.cell/dwarfaddr.exp
5477         * gdb.cell/ea-cache.exp
5478         * gdb.cell/ea-standalone.exp
5479         * gdb.cell/ea-test.exp
5480         * gdb.cell/f-regs.exp
5481         * gdb.cell/fork.exp
5482         * gdb.cell/gcore.exp
5483         * gdb.cell/mem-access.exp
5484         * gdb.cell/ptype.exp
5485         * gdb.cell/registers.exp
5486         * gdb.cell/sizeof.exp
5487         * gdb.cell/solib-symbol.exp
5488         * gdb.cell/solib.exp
5489         * gdb.compile/compile-tls.exp
5490         * gdb.cp/exception.exp
5491         * gdb.cp/gdb2495.exp
5492         * gdb.cp/local.exp
5493         * gdb.cp/mb-inline.exp
5494         * gdb.cp/mb-templates.exp
5495         * gdb.cp/pr10687.exp
5496         * gdb.cp/pr9167.exp
5497         * gdb.cp/scope-err.exp
5498         * gdb.cp/templates.exp
5499         * gdb.cp/virtfunc.exp
5500         * gdb.dwarf2/dw2-dir-file-name.exp
5501         * gdb.dwarf2/dw2-single-line-discriminators.exp
5502         * gdb.fortran/complex.exp
5503         * gdb.fortran/library-module.exp
5504         * gdb.guile/guile.exp
5505         * gdb.guile/scm-cmd.exp
5506         * gdb.guile/scm-frame-inline.exp
5507         * gdb.guile/scm-objfile.exp
5508         * gdb.guile/scm-pretty-print.exp
5509         * gdb.guile/scm-symbol.exp
5510         * gdb.guile/scm-type.exp
5511         * gdb.guile/scm-value.exp
5512         * gdb.linespec/keywords.exp
5513         * gdb.linespec/ls-errs.exp
5514         * gdb.linespec/macro-relative.exp
5515         * gdb.linespec/thread.exp
5516         * gdb.mi/mi-breakpoint-changed.exp
5517         * gdb.mi/mi-dprintf-pending.exp
5518         * gdb.mi/mi-fullname-deleted.exp
5519         * gdb.mi/mi-logging.exp
5520         * gdb.mi/mi-pending.exp
5521         * gdb.mi/mi-solib.exp
5522         * gdb.mi/new-ui-mi-sync.exp
5523         * gdb.mi/user-selected-context-sync.exp
5524         * gdb.multi/dummy-frame-restore.exp
5525         * gdb.multi/multi-arch-exec.exp
5526         * gdb.multi/remove-inferiors.exp
5527         * gdb.multi/watchpoint-multi-exit.exp
5528         * gdb.opt/solib-intra-step.exp
5529         * gdb.perf/backtrace.exp
5530         * gdb.perf/single-step.exp
5531         * gdb.perf/skip-command.exp
5532         * gdb.perf/skip-prologue.exp
5533         * gdb.perf/solib.exp
5534         * gdb.python/lib-types.exp
5535         * gdb.python/py-as-string.exp
5536         * gdb.python/py-bad-printers.exp
5537         * gdb.python/py-block.exp
5538         * gdb.python/py-breakpoint.exp
5539         * gdb.python/py-cmd.exp
5540         * gdb.python/py-events.exp
5541         * gdb.python/py-evthreads.exp
5542         * gdb.python/py-finish-breakpoint.exp
5543         * gdb.python/py-finish-breakpoint2.exp
5544         * gdb.python/py-frame-inline.exp
5545         * gdb.python/py-frame.exp
5546         * gdb.python/py-inferior.exp
5547         * gdb.python/py-infthread.exp
5548         * gdb.python/py-mi.exp
5549         * gdb.python/py-objfile.exp
5550         * gdb.python/py-pp-maint.exp
5551         * gdb.python/py-pp-registration.exp
5552         * gdb.python/py-prettyprint.exp
5553         * gdb.python/py-recurse-unwind.exp
5554         * gdb.python/py-shared.exp
5555         * gdb.python/py-symbol.exp
5556         * gdb.python/py-symtab.exp
5557         * gdb.python/py-template.exp
5558         * gdb.python/py-type.exp
5559         * gdb.python/py-unwind-maint.exp
5560         * gdb.python/py-unwind.exp
5561         * gdb.python/py-value.exp
5562         * gdb.python/python.exp
5563         * gdb.reverse/finish-reverse-bkpt.exp
5564         * gdb.reverse/insn-reverse.exp
5565         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5566         * gdb.reverse/solib-precsave.exp
5567         * gdb.reverse/solib-reverse.exp
5568         * gdb.stabs/gdb11479.exp
5569         * gdb.stabs/weird.exp
5570         * gdb.threads/fork-child-threads.exp
5571         * gdb.threads/fork-plus-threads.exp
5572         * gdb.threads/fork-thread-pending.exp
5573         * gdb.threads/forking-threads-plus-breakpoint.exp
5574         * gdb.threads/hand-call-in-threads.exp
5575         * gdb.threads/interrupted-hand-call.exp
5576         * gdb.threads/linux-dp.exp
5577         * gdb.threads/local-watch-wrong-thread.exp
5578         * gdb.threads/next-while-other-thread-longjmps.exp
5579         * gdb.threads/non-ldr-exit.exp
5580         * gdb.threads/pending-step.exp
5581         * gdb.threads/print-threads.exp
5582         * gdb.threads/process-dies-while-detaching.exp
5583         * gdb.threads/process-dies-while-handling-bp.exp
5584         * gdb.threads/pthreads.exp
5585         * gdb.threads/queue-signal.exp
5586         * gdb.threads/reconnect-signal.exp
5587         * gdb.threads/signal-command-handle-nopass.exp
5588         * gdb.threads/signal-command-multiple-signals-pending.exp
5589         * gdb.threads/signal-delivered-right-thread.exp
5590         * gdb.threads/signal-sigtrap.exp
5591         * gdb.threads/sigthread.exp
5592         * gdb.threads/staticthreads.exp
5593         * gdb.threads/stepi-random-signal.exp
5594         * gdb.threads/thread-unwindonsignal.exp
5595         * gdb.threads/thread_check.exp
5596         * gdb.threads/thread_events.exp
5597         * gdb.threads/tid-reuse.exp
5598         * gdb.threads/tls-nodebug.exp
5599         * gdb.threads/tls-shared.exp
5600         * gdb.threads/tls-so_extern.exp
5601         * gdb.threads/tls.exp
5602         * gdb.threads/wp-replication.exp
5603         * gdb.trace/actions-changed.exp
5604         * gdb.trace/actions.exp
5605         * gdb.trace/backtrace.exp
5606         * gdb.trace/change-loc.exp
5607         * gdb.trace/collection.exp
5608         * gdb.trace/deltrace.exp
5609         * gdb.trace/disconnected-tracing.exp
5610         * gdb.trace/entry-values.exp
5611         * gdb.trace/ftrace-lock.exp
5612         * gdb.trace/ftrace.exp
5613         * gdb.trace/infotrace.exp
5614         * gdb.trace/mi-trace-frame-collected.exp
5615         * gdb.trace/mi-trace-unavailable.exp
5616         * gdb.trace/mi-traceframe-changed.exp
5617         * gdb.trace/mi-tracepoint-changed.exp
5618         * gdb.trace/mi-tsv-changed.exp
5619         * gdb.trace/no-attach-trace.exp
5620         * gdb.trace/packetlen.exp
5621         * gdb.trace/passc-dyn.exp
5622         * gdb.trace/passcount.exp
5623         * gdb.trace/pending.exp
5624         * gdb.trace/pr16508.exp
5625         * gdb.trace/qtro.exp
5626         * gdb.trace/range-stepping.exp
5627         * gdb.trace/read-memory.exp
5628         * gdb.trace/report.exp
5629         * gdb.trace/save-trace.exp
5630         * gdb.trace/signal.exp
5631         * gdb.trace/stap-trace.exp
5632         * gdb.trace/status-stop.exp
5633         * gdb.trace/strace.exp
5634         * gdb.trace/tfile.exp
5635         * gdb.trace/tfind.exp
5636         * gdb.trace/trace-break.exp
5637         * gdb.trace/trace-condition.exp
5638         * gdb.trace/trace-enable-disable.exp
5639         * gdb.trace/trace-mt.exp
5640         * gdb.trace/tracecmd.exp
5641         * gdb.trace/tracefile-pseudo-reg.exp
5642         * gdb.trace/tspeed.exp
5643         * gdb.trace/tstatus.exp
5644         * gdb.trace/tsv.exp
5645         * gdb.trace/unavailable.exp
5646         * gdb.trace/while-dyn.exp
5647         * gdb.trace/while-stepping.exp
5648         * lib/gdb-guile.exp
5649         * lib/gdb.exp
5650         * lib/mi-support.exp
5651         * lib/pascal.exp
5652         * lib/perftest.exp
5653         * lib/prelink-support.exp
5654         * lib/selftest-support.exp
5655
5656 2016-11-30  Simon Marchi  <simon.marchi@polymtl.ca>
5657
5658         * Makefile.in: Include disable-implicit-rules.mk.
5659
5660 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5661
5662         * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5663         non-byte-aligned bit fields.
5664
5665 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5666
5667         PR gdb/12616
5668         * gdb.dwarf2/nonvar-access.exp: New testcase.  Check that GDB
5669         respects the DW_AT_data_bit_offset attribute.
5670
5671 2016-11-22  Simon Marchi  <simon.marchi@polymtl.ca>
5672
5673         * gdb.base/default.exp: Fix output of "set language".
5674
5675 2016-11-17  Simon Marchi  <simon.marchi@polymtl.ca>
5676
5677         * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5678         prefixed with @GMAKE_FALSE@.  Update comment related to non-GNU
5679         make.
5680         * configure.ac: Remove checks for the make program.
5681         * configure: Re-generate.
5682
5683 2016-11-16  Kevin Buettner  <kevinb@redhat.com>
5684
5685         * gdb.python/py-recurse-unwind.c (main): Add loop.
5686         * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5687         to read_register() and gdb.parse_and_eval().  Make each code
5688         call a separate case that can be individually tested.
5689         * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5690         proc. Call cont_and_backtrace for each of the code paths that
5691         we want to test in the unwinder.
5692
5693 2016-11-15  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5694
5695         * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5696         the definition of struct S.
5697
5698 2016-11-11  Catherine Moore  <clm@codesourcery.com>
5699
5700         * gdb.base/dump.exp: Identify verilog format dump tests as such.
5701
5702 2016-11-09  Pedro Alves  <palves@redhat.com>
5703
5704         * gdb.base/commands.exp (runto_or_return): New procedure.
5705         (gdbvar_simple_if_test, gdbvar_simple_while_test)
5706         (gdbvar_complex_if_while_test, progvar_simple_if_test)
5707         (progvar_simple_while_test, progvar_complex_if_while_test)
5708         (if_while_breakpoint_command_test)
5709         (infrun_breakpoint_command_test, breakpoint_command_test)
5710         (user_defined_command_test, watchpoint_command_test)
5711         (test_command_prompt_position, redefine_hook_test)
5712         (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5713         (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5714         multi_line_input and multi_line.  Remove gdb_expect and
5715         gdb_stop_suppressing_tests uses.
5716         * lib/gdb.exp (valnum_re): New global.
5717         (multi_line_input): New procedure.
5718
5719 2016-11-09  Simon Marchi  <simon.marchi@polymtl.ca>
5720
5721         * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5722         Remove.
5723         (test_setup): Define with proc_with_prefix.
5724         (test_cli_inferior): Likewise.
5725         (test_cli_thread): Likewise.
5726         (test_cli_frame): Likewise.
5727         (test_cli_select_frame): Likewise.
5728         (test_cli_up_down): Likewise.
5729         (test_mi_thread_select): Likewise.
5730         (test_mi_stack_select_frame): Likewise.
5731         (test_cli_in_mi_inferior): Likewise.
5732         (test_cli_in_mi_thread): Likewise.
5733         (test_cli_in_mi_frame): Likewise.
5734         (top level): Do not use with_test_prefix_procname.
5735
5736 2016-11-09  Pedro Alves  <palves@redhat.com>
5737
5738         * gdb.base/commands.exp (gdbvar_simple_if_test)
5739         (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5740         (progvar_simple_if_test, progvar_simple_while_test)
5741         (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5742         (infrun_breakpoint_command_test, breakpoint_command_test)
5743         (user_defined_command_test, watchpoint_command_test)
5744         (test_command_prompt_position, deprecated_command_test)
5745         (bp_deleted_in_command, temporary_breakpoint_commands)
5746         (stray_arg0_test, source_file_with_indented_comment)
5747         (recursive_source_test, if_commands_test)
5748         (error_clears_commands_left, redefine_hook_test)
5749         (redefine_backtrace_test): Use proc_with_prefix.
5750         * lib/gdb.exp (proc_with_prefix): New proc.
5751
5752 2016-11-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5753
5754         * gdb.base/tui-layout.c: New file.
5755         * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5756         disassembly window contains very long lines.
5757
5758 2016-11-08  Tom Tromey  <tom@tromey.com>
5759
5760         * gdb.python/py-value.exp (test_value_creation): Make "long" test
5761         depend on Python 2.
5762
5763 2016-11-08  Tom Tromey  <tom@tromey.com>
5764
5765         * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5766         New method.
5767
5768 2016-10-29  Manish Goregaokar  <manish@mozilla.com>
5769
5770         * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
5771
5772 2016-10-27  Manish Goregaokar  <manish@mozilla.com>
5773
5774         * gdb.rust/simple.rs: Add test for univariant enums without
5775         discriminants and for encoded struct-like enums.
5776
5777 2016-10-28  Pedro Alves  <palves@redhat.com>
5778
5779         * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5780         gdb_test_multiple, tighten regexps and match symtabs and line
5781         tables incrementally.
5782
5783 2016-10-28  Luis Machado  <lgustavo@codesourcery.com>
5784
5785         * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5786         general.
5787
5788 2016-10-25  Luis Machado  <lgustavo@codesourcery.com>
5789
5790         * gdb.base/exec-invalid-sysroot.exp: New file.
5791
5792 2016-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
5793
5794         * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5795
5796 2016-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
5797
5798         * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5799
5800 2016-10-19  Maciej W. Rozycki  <macro@imgtec.com>
5801
5802         * gdb.base/killed-outside.exp: Remove $options from a call to
5803         `prepare_for_testing'.
5804
5805 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
5806
5807         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5808         Change test message.
5809
5810 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
5811
5812         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5813         Update comment.
5814
5815 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
5816
5817         * gdb.trace/mi-trace-save.exp: New file.
5818
5819 2016-10-13  Yao Qi  <yao.qi@linaro.org>
5820
5821         * gdb.base/code_elim.exp (get_var_address): Remove.
5822         * gdb.base/relocate.exp: Likewise.
5823         * gdb.base/shreloc.exp: Likewise.
5824         * lib/gdb.exp (get_var_address): New.
5825
5826 2016-10-13  Yao Qi  <yao.qi@linaro.org>
5827
5828         * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5829         floating point tests if $skip_float_test is false.
5830
5831 2016-10-12  Luis Machado  <lgustavo@codesourcery.com>
5832
5833         * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5834         * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5835         argc values.
5836         Add 1 to argc so we guarantee distinct initial/modified argc values.
5837
5838 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5839
5840         * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5841
5842 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5843
5844         * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5845         * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5846         * gdb.arch/vsx-regs.exp: Likewise.
5847
5848 2016-10-07  Yao Qi  <yao.qi@linaro.org>
5849
5850         * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5851
5852 2016-10-07  Markus Metzger  <markus.t.metzger@intel.com>
5853
5854         * gdb.python/python.exp: Test decode_line("*0").
5855
5856 2016-10-06  Doug Evans  <dje@google.com>
5857
5858         * gdb.python/py-value.exp (test_value_creation): Add test for large
5859         unsigned 64-bit value.
5860
5861 2016-10-06  Tom Tromey  <tom@tromey.com>
5862
5863         * gdb.compile/compile.exp: Change java tests to rust.
5864         * gdb.base/setshow.exp: Change java tests to rust.
5865         * gdb.base/default.exp: Remove java from language list.
5866         * README (Examples): Update language example.
5867         * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
5868         test.
5869         * lib/gdb.exp (skip_java_tests): Remove.
5870         * lib/java.exp: Remove.
5871         * gdb.java: Remove.
5872
5873 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
5874
5875         * gdb.arch/mips-fcr.exp: New test.
5876         * gdb.arch/mips-fcr.c: Source for the new test.
5877
5878 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
5879
5880         * gdb.base/solib-disc.exp: Use `standard_output_file'
5881         throughout.
5882
5883 2016-10-06  Pedro Alves  <palves@redhat.com>
5884
5885         * gdb.base/jit-simple-dl.c: New file.
5886         * gdb.base/jit-simple-jit.c: New file, factored out from ...
5887         * gdb.base/jit-simple.c: ... this.
5888         * gdb.base/jit-simple.exp (jit_run): Delete.
5889         (build_jit): New proc.
5890         (jit_test_reread): Recompile either the main program or the shared
5891         library, depending on what is being tested.  Skip changing address
5892         if caller wants to.  Compare before/after addresses.  If testing
5893         standalone, explicitly load the binary.  Test "maint info
5894         breakpoints".
5895         (top level): Add "standalone vs shared lib" and "change address"
5896         vs "same address" axes.
5897
5898 2016-10-06  Pedro Alves  <palves@redhat.com>
5899
5900         * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
5901         call.
5902         (jit_run): Delete.
5903         (jit_test_reread): Use with_test_prefix.  Reload the main binary
5904         explicitly.  Compare the before/after addresses of the JIT
5905         descriptor.
5906
5907 2016-08-15  Doug Evans  <dje@google.com>
5908
5909         * gdb.xml/extra-regs.xml: Update, end field now required, default type
5910         for single bitfields is bool.
5911         * gdb.xml/tdesc-regs.exp: Ditto.
5912
5913 2016-10-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
5914
5915         * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
5916
5917 2016-10-05  Yao Qi  <yao.qi@linaro.org>
5918
5919         * lib/gdb.exp (support_complex_tests): Return zero if
5920         gdb_skip_float_test return true.
5921
5922 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
5923             Simon Marchi  <simon.marchi@ericsson.com>
5924
5925         PR gdb/20487
5926         * gdb.mi/user-selected-context-sync.exp: New file.
5927         * gdb.mi/user-selected-context-sync.c: New file.
5928
5929 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
5930             Simon Marchi  <simon.marchi@ericsson.com>
5931
5932         PR gdb/20487
5933         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
5934         =thread-select-event check.
5935
5936 2016-09-29  Peter Bergner  <bergner@vnet.ibm.com>
5937
5938         * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
5939         the compulsory L operand changes.
5940         * gdb.arch/powerpc-power.s: Likewise.
5941
5942 2016-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
5943
5944         PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
5945         * gdb.base/jit-attach-pie.c: New file.
5946         * gdb.base/jit-attach-pie.exp: New file.
5947
5948 2016-09-28  Pedro Alves  <palves@redhat.com>
5949
5950         * gdb.base/infcall-input.c: New file.
5951         * gdb.base/infcall-input.exp: New file.
5952
5953 2016-09-22  Yao Qi  <yao.qi@linaro.org>
5954
5955         * lib/gdbserver-support.exp: Rename mi_gdb_exit.
5956         (gdb_exit): Rename it to ...
5957         (gdbserver_gdb_exit): ...  Close GDBserver.
5958         (gdb_exit): New proc, call gdbserver_gdb_exit.
5959         (mi_gdb_exit): Likewise.
5960
5961 2016-09-22  Yao Qi  <yao.qi@linaro.org>
5962
5963         * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
5964         path.
5965         * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
5966         Remove duplication.
5967
5968 2016-09-22  Yao Qi  <yao.qi@linaro.org>
5969
5970         * lib/gdbserver-support.exp: Check the existence of
5971         gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
5972
5973 2016-09-21  Anton Kolesov  <anton.kolesov@synopsys.com>
5974
5975         * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
5976
5977 2016-09-21  Tom Tromey  <tom@tromey.com>
5978
5979         PR gdb/20604:
5980         * gdb.base/quit.exp: New file.
5981
5982 2016-09-21  Simon Marchi  <simon.marchi@ericsson.com>
5983
5984         * .gitignore: New file.
5985
5986 2016-09-21  Maciej W. Rozycki  <macro@imgtec.com>
5987
5988         * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
5989         throughout.
5990
5991 2016-09-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5992
5993         * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
5994
5995 2016-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
5996
5997         * gdb.cp/casts.cc (decltype): Move it ...
5998         (main): ... with its call to ...
5999         * gdb.cp/casts03.cc: ... a new file.
6000         * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6001
6002 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6003
6004         * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6005
6006 2016-09-15  Peter Bergner  <bergner@vnet.ibm.com>
6007
6008         * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6009         and sync up the test with tests in gas/testsuite/gas/ppc.
6010         * gdb.arch/powerpc-power.exp: Likewise.
6011
6012 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6013
6014         * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6015
6016 2016-09-11  Sergio Durigan Junior  <sergiodj@redhat.com>
6017             Jan Kratochvil  <jan.kratochvil@redhat.com>
6018
6019         * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
6020         make m1's definition to be different from m2's.  Use 'dummy' as an
6021         argument for probe 'two'.
6022
6023 2016-09-10  Jon Beniston  <jon@beniston.com>
6024
6025         * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
6026         for sim target.
6027
6028 2016-09-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6029
6030         * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
6031         variable declaration.
6032         (gnu_ifunc): Add parameter hwcap.  Store it in resolver_hwcap.
6033         * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6034         * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6035         received HWCAP as its argument.
6036
6037 2016-09-06  Pedro Alves  <palves@redhat.com>
6038
6039         * gdb.base/new-ui-pending-input.c: New file.
6040         * gdb.base/new-ui-pending-input.exp: New file.
6041         * gdb.exp (clear_gdb_spawn_id): New procedure.
6042         (with_spawn_id): Check whether gdb_spawn_id exists before
6043         referencing it.  If gdb_spawn_id didn't exist on entry, clear it
6044         on exit.
6045
6046 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6047
6048         * gdb.base/float128.c: New file.
6049         * gdb.base/float128.exp: Likewise.
6050         * gdb.base/floatn.c: Likewise.
6051         * gdb.base/floatn.exp: Likewise.
6052
6053 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6054
6055         * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
6056
6057 2016-09-05  Pedro Alves  <palves@redhat.com>
6058
6059         PR backtrace/19927
6060         * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
6061         unwinders are immediately called as side effect of "source" or
6062         "disable unwinder" commands.
6063         * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
6064
6065 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6066
6067         * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
6068         is true and $type is "float" or "double".
6069
6070 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6071
6072         * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
6073         true.
6074         * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
6075         * gdb.base/call-rt-st.exp: Likewise.
6076         * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
6077         return value instead of gdb,skip_float_test.
6078         * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
6079         (do_function_calls): Use its return value instead of
6080         gdb,skip_float_test.
6081         * gdb.base/finish.exp: Likewise.
6082         * gdb.base/funcargs.exp: Likewise.
6083         * gdb.base/return.exp: Likewise.
6084         * gdb.base/return2.exp: Likewise.
6085         * gdb.base/varargs.exp: Likewise.
6086         * lib/gdb.exp (gdb_skip_float_test): Change it to
6087         gdb_caching_proc.  Detect the broken ptrace on arm-linux.
6088
6089 2016-08-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6090
6091         * gdb.multi/tids.exp: Test "thread apply all".
6092
6093 2016-08-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6094
6095         * gdb.base/default.exp (tty): Remove.
6096
6097 2016-08-24  Kevin Buettner  <kevinb@redhat.com>
6098
6099         * gdb.python/py-recurse-unwind.c: New file.
6100         * gdb.python/py-recurse-unwind.py: New file.
6101         * gdb.python/py-recurse-unwind.exp: New file.
6102
6103 2016-08-24  Simon Marchi  <simon.marchi@ericsson.com>
6104
6105         * gdb.base/set-inferior-tty.exp: New file.
6106         * gdb.base/set-inferior-tty.c: New file.
6107
6108 2016-08-23  Pedro Alves  <palves@redhat.com>
6109
6110         PR gdb/20494
6111         * gdb.base/new-ui-echo.c: New file.
6112         * gdb.base/new-ui-echo.exp: New file.
6113
6114 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6115
6116         * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
6117         gdbserver_spawn.
6118         * gdb.server/connect-without-multi-process.exp (do_test):
6119         Likewise.
6120
6121 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6122
6123         * gdb.base/signals-state-child.exp: Set variables gdb_txt and
6124         standalone_txt.  Delete gdb_txt and standalone_txt on host
6125         and target.  Spawn the binary on target.  Copy files from
6126         target to host.
6127
6128 2016-08-22  Pedro Alves  <palves@redhat.com>
6129
6130         PR gdb/20505
6131         * gdb.base/vdso-warning.exp: Test core dumps too.  Use
6132         with_test_prefix.  Factor out bits to ...
6133         (test_no_vdso): ... this new procedure.
6134
6135 2016-08-19  Carl Love  <cel@us.ibm.com>
6136
6137         * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
6138         maintaining separate logic for constructing the output path.
6139         * gdb.arch/powerpc-d128-regs.exp: Likewise.
6140         * gdb.arch/ppc-dfp.exp: Likewise.
6141         * gdb.arch/ppc-fp.exp: Likewise.
6142         * gdb.arch/vsx-regs.exp: Likewise.
6143         * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
6144         binprefix for generating the additional binary files.
6145
6146 2016-08-19  Pedro Alves  <palves@redhat.com>
6147
6148         * gdb.trace/mi-trace-frame-collected.exp
6149         (test_trace_frame_collected): On x32, expect two registers.
6150
6151 2016-08-18  Carl Love  <cel@us.ibm.com>
6152
6153         * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
6154         and sync up the test with tests in gas/testsuite/gas/ppc.
6155         * gdb.arch/powerpc-power.exp: Likewise.
6156
6157 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6158
6159         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
6160         expected error message.
6161
6162 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6163
6164         * gdb.multi/remove-inferiors.exp: New file.
6165         * gdb.multi/remove-inferiors.c: New file.
6166
6167 2016-08-12  Yao Qi  <yao.qi@linaro.org>
6168
6169         * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
6170         argument list.
6171
6172 2016-08-10  Pedro Alves  <palves@redhat.com>
6173
6174         PR gdb/19187
6175         * gdb.reverse/waitpid-reverse.exp: Add comment and remove
6176         setup_kfails.
6177
6178 2016-08-09  Pedro Alves  <palves@redhat.com>
6179             Simon Marchi  <simon.marchi@ericsson.com>
6180
6181         PR gdb/20418
6182         * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
6183         * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
6184
6185 2016-08-09  Pedro Alves  <palves@redhat.com>
6186
6187         PR mi/20431
6188         * gdb.mi/mi-cmd-error.exp: New file.
6189
6190 2016-08-09  Pedro Alves  <palves@redhat.com>
6191
6192         PR gdb/18653
6193         * gdb.base/signals-state-child.c: New file.
6194         * gdb.base/signals-state-child.exp: New file.
6195         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
6196
6197 2016-08-09  Pedro Alves  <palves@redhat.com>
6198
6199         * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
6200
6201 2016-08-03  Tom Tromey  <tom@tromey.com>
6202
6203         PR python/18565:
6204         * gdb.python/py-frame-inline.exp: Add Frame.function test.
6205
6206 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6207
6208         * gdb.threads/process-dies-while-detaching.exp (do_test): Set
6209         variable mode to "multi-process" if $multi_process is 1, otherwise
6210         set it to "single-process".
6211
6212 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6213
6214         * gdb.cp/anon-struct.exp: Check is_aarch32_target.
6215         * gdb.cp/cpexprs.exp: Likewise.
6216         * gdb.cp/m-static.exp: Likewise.
6217
6218 2016-07-26  Tom Tromey  <tom@tromey.com>
6219
6220         PR python/20190:
6221         * gdb.threads/tls.exp (check_thread_local): Add python symbol
6222         test.
6223
6224 2016-07-26  Markus Metzger  <markus.t.metzger@intel.com>
6225
6226         * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
6227         selecting assembly source files.
6228         * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
6229         assembly source files.
6230         * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
6231         assembly source files.
6232         * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
6233         selecting assembly source files.
6234
6235 2016-07-25  Simon Marchi  <simon.marchi@ericsson.com>
6236
6237         * gdb.base/new-ui.exp (do_test_invalid_args): New
6238         procedure.
6239
6240 2016-07-25  Tim Wiederhake  <tim.wiederhake@intel.com>
6241
6242         * gdb.btrace/reconnect.c: New file.
6243         * gdb.btrace/reconnect.exp: New file.
6244
6245 2016-07-23  Gabriel Krisman Bertazi  <gabriel@krisman.be>
6246
6247         * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
6248         to test_catch_syscall_group.
6249         (test_catch_syscall_group): New.
6250
6251 2016-07-21  Tom Tromey  <tom@tromey.com>
6252
6253         * gdb.rust/simple.rs (main): Use empty struct expression.
6254         * gdb.rust/simple.exp: Add tests for empty struct expression.
6255
6256 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6257
6258         * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
6259         if gdb_skip_xml_test is true on some targets.
6260
6261 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6262
6263         * gdb.server/solib-list.exp: Unset last_loaded_file.
6264
6265 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6266
6267         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
6268         "step into captured_main (args)".
6269
6270 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6271
6272         * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
6273
6274 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6275
6276         * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
6277
6278 2016-07-19  Pedro Alves  <palves@redhat.com>
6279
6280         * gdb.opt/inline-break.exp: Remove optimize=-O2.
6281         * gdb.opt/inline-bt.exp: Likewise.
6282         * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
6283         additional_flags=-Winline.
6284         * gdb.opt/inline-locals.exp: Likewise.
6285         * gdb.opt/inline-markers.c (ATTR): Define.
6286         (inlined_fn): Use it.
6287
6288 2016-07-19  Yao Qi  <yao.qi@linaro.org>
6289
6290         * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
6291         (test_with_self): Remove some code.  Remove argument executable.
6292         (top-level): Use do_self_tests.
6293
6294 2016-07-15  Zachary Welch  <zwelch@codesourcery.com>
6295             Don Breazeal <donb@codesourcery.com>
6296
6297         * gdb.base/maint.exp: Escape paths used in regular expressions.
6298         * gdb.stabs/weird.exp: Likewise.
6299
6300 2016-07-13  Tom Tromey  <tom@tromey.com>
6301
6302         PR python/15620, PR python/18620:
6303         * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
6304         (test_bkpt_events): New procs.
6305
6306 2016-07-13  Tom Tromey  <tom@tromey.com>
6307
6308         PR python/17698:
6309         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6310         test.
6311         (test_watchpoints): Likewise.
6312         (test_bkpt_pending): New proc.
6313
6314 2016-07-13  Tom Tromey  <tom@tromey.com>
6315
6316         PR cli/18053:
6317         * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6318         completion test.
6319
6320 2016-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6321
6322         * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6323         * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6324         * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6325         f_label.
6326         (g): Rename g_end_lbl to g_label.
6327         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6328         low_pc and high_pc.
6329         * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6330
6331 2016-07-12  Tom Tromey  <tom@tromey.com>
6332
6333         PR python/19293:
6334         * gdb.python/py-unwind-maint.exp: Update tests.
6335
6336 2016-07-12  Yao Qi  <yao.qi@linaro.org>
6337
6338         * lib/selftest-support.exp (selftest_setup): Match the output
6339         when captured_main is inlined.
6340
6341 2016-07-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6342
6343         * gdb.fortran/derived-types.exp (result_line, result_line_2):
6344         New variables.
6345         (print this%a, print this%b, print this): New tests.
6346         * gdb.fortran/derived-types.f90 (this): New object and
6347         initialization.
6348
6349 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6350
6351         * gdb.ada/arraydim.exp: Remove extra directory level in build
6352         directory.
6353
6354 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6355
6356         * lib/ada.exp: Remove extra directory level in build directory.
6357         * gdb.ada/cond_lang.exp: Likewise.
6358         * gdb.ada/exec_changed.exp: Likewise.
6359         * gdb.ada/lang_switch.exp: Likewise.
6360
6361 2016-07-06  Manish Goregaokar  <manish@mozilla.com>
6362
6363         * simple.rs: Add test for raw pointer subscripting.
6364         * simple.exp: Add test expectations.
6365
6366 2016-07-05  Yao Qi  <yao.qi@linaro.org>
6367
6368         * gdb.mi/mi-reverse.exp: Match =record-started output.
6369
6370 2016-07-01  Pedro Alves  <palves@redhat.com>
6371
6372         * gdb.base/jit-reader.exp (info_registers_current_frame): New
6373         procedure.
6374         (jit_reader_test): Test the jit reader's unwinder.
6375         * gdb.base/jithost.c (jit_function_00_code): New global.
6376         (main): Use memcpy to fill in the mmapped code, instead of poking
6377         bytes manually here.
6378         * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6379         value.
6380         (read_debug_info): Save the function's range.
6381         (read_sp): New function.
6382         (unwind_frame): Use it.  Also unwind RBP.
6383         (get_frame_id): Use read_sp.
6384         (gdb_init_reader): Use calloc instead of malloc.
6385         * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6386         parameter.  Use gdb_test_multiple.
6387
6388 2016-07-01  Pedro Alves  <palves@redhat.com>
6389             Antoine Tremblay  <antoine.tremblay@ericsson.com>
6390
6391         * gdb.threads/process-dies-while-detaching.c: New file.
6392         * gdb.threads/process-dies-while-detaching.exp: New file.
6393
6394 2016-07-01  Pedro Alves  <palves@redhat.com>
6395
6396         * gdb.multi/watchpoint-multi-exit.c: New file.
6397         * gdb.multi/watchpoint-multi-exit.exp: New file.
6398
6399 2016-06-30  Pedro Alves  <palves@redhat.com>
6400
6401         * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6402         unset inferior_spawn_id.
6403
6404 2016-06-30  Pedro Alves  <palves@redhat.com>
6405
6406         * lib/mi-support.exp (default_mi_gdb_start): Declare global
6407         FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
6408
6409 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6410
6411         * gdb.base/return.c: Add copyright header.
6412
6413 2016-06-29  Tom Tromey  <tom@tromey.com>
6414
6415         PR python/20129:
6416         * gdb.python/py-framefilter.exp: Add tests for setting priority
6417         and disabling of non-existent frame filter.
6418
6419 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6420
6421         * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6422         0x0f07ff.
6423
6424 2016-06-28  Yao Qi  <yao.qi@linaro.org>
6425
6426         * gdb.base/catch-syscall.exp: Remove check on isnative and target
6427         triplets.  Start gdb, execute catch syscall, and continue.  Check
6428         gdb's output to determine catch syscall is supported.
6429
6430 2016-06-27  Manish Goregaokar  <manish@mozilla.com>
6431
6432         * gdb.rust/simple.rs: Add test for returning unit in a function.
6433         * gdb.rust/simple.exp: Add expectation for functions returning
6434         unit.
6435
6436 2016-06-27  Pierre-Marie de Rodat  <derodat@adacore.com>
6437
6438         * gdb.python/py-breakpoint-create-fail.c,
6439         gdb.python/py-breakpoint-create-fail.exp,
6440         gdb.python/py-breakpoint-create-fail.py: New testcase.
6441
6442 2016-06-25  Manish Goregaokar  <manish@mozilla.com>
6443
6444         PR gdb/20239
6445         * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6446         * gdb.rust/simple.exp: Add test expectations for new NonZero
6447         tests.
6448
6449 2016-06-24  David Taylor  <dtaylor@emc.com>
6450
6451         * gdb.base/offsets.exp: New file.
6452         * gdb.base/offsets.c: New file.
6453
6454 2016-06-23  Tom Tromey  <tom@tromey.com>
6455
6456         PR gdb/16483:
6457         * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6458         before any filters are loaded.
6459
6460 2016-06-21  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6461
6462         * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6463         * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6464         structs.
6465         * gdb.fortran/derived-type-function.exp: New file.
6466         * gdb.fortran/derived-type-function.f90: New file.
6467
6468
6469 2016-06-21  Pedro Alves  <palves@redhat.com>
6470
6471         * gdb.base/new-ui.exp: New file.
6472         * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6473         * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6474         (with_spawn_id): New procedure.
6475
6476 2016-06-21  Pedro Alves  <palves@redhat.com>
6477
6478         * gdb.mi/mi-exec-run.exp: New file.
6479
6480 2016-06-21  Pedro Alves  <palves@redhat.com>
6481
6482         * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6483         breakpoint command's output on the main UI.
6484         (test_break): New procedure, factored out from calls in the top
6485         level.
6486         (top level): Use foreach_with_prefix to test MI as main UI and as
6487         separate UI.
6488
6489 2016-06-21  Pedro Alves  <palves@redhat.com>
6490
6491         * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6492         (test_awatch_creation_and_listing)
6493         (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6494         Remove 'type' parameter.
6495         (test_watchpoint_all): New parameter mi_mode.  Remove
6496         with_test_prefix.
6497         (top level): Use foreach_with_prefix, and add main/separate UI MI
6498         testing axis.
6499
6500 2016-06-21  Pedro Alves  <palves@redhat.com>
6501
6502         * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6503         * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6504         * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6505         gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6506         (gdb_main_spawn_id, mi_spawn_id): Declare and
6507         comment.
6508         (mi_create_inferior_pty): New procedure,
6509         factored out from default_mi_gdb_start.
6510         (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6511         procedures.
6512         (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6513         separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6514         Use mi_create_inferior_pty.
6515         (mi_gdb_start): Use eval to pass down args list.
6516
6517 2016-06-21  Pedro Alves  <palves@redhat.com>
6518
6519         * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6520         * gdb.opt/inline-cmds.exp: Add MI tests.
6521
6522 2016-06-21  Pedro Alves  <palves@redhat.com>
6523
6524         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6525
6526 2016-06-21  Pedro Alves  <palves@redhat.com>
6527
6528         * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6529         (top level): Use it instead of mi_execute_to.
6530
6531 2016-06-21  Pedro Alves  <palves@redhat.com>
6532
6533         * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6534         (cont_handler_str): New.
6535         (signal_stop_handler): Set stop_handler_str instead of printing to
6536         stdout.
6537         (continue_handler): Set cont_handler_str instead of printing to
6538         stdout.
6539         * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6540         mi_send_resuming_command.  Print stop_handler_str and
6541         cont_handler_str instead of expecting the python events print
6542         directly.
6543
6544 2016-06-17  Sanjoy Das  <sanjoy@playingwithpointers.com>
6545
6546         * gdb.base/jit-reader.exp: New file.
6547         * gdb.base/jithost.c: New file.
6548         * gdb.base/jithost.h: New file.
6549         * gdb.base/jitreader.c : New file.
6550         * gdb.base/jit-protocol.h: New file.
6551
6552 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6553
6554         * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6555         parameters follow_fork and detach_on_fork.  Set follow-fork-mode
6556         and detach-on-fork.  Adjust tests.
6557         (top level): Invoke break_cond_on_syscall with combinations of
6558         syscall, follow-fork-mode and detach-on-fork.
6559
6560 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6561
6562         * gdb.base/step-over-exit.c: New.
6563         * gdb.base/step-over-exit.exp: New.
6564
6565 2016-06-17  Yan-Ting Lin  <currygt52@gmail.com>
6566
6567         * gdb.base/float.exp: Add target check for nds32*-*-*.
6568         * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6569
6570 2016-06-13  Andrew Burgess  <andrew.burgess@embecosm.com>
6571
6572         * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6573         for unsupported target features.
6574         * gdb.base/call-rt-st.exp: Likewise.
6575         * gdb.base/call-sc.exp: Likewise.
6576         * gdb.base/call-signal-resume.exp: Likewise.
6577         * gdb.base/call-strs.exp: Likewise.
6578         * gdb.base/callexit.exp: Likewise.
6579         * gdb.base/callfuncs.exp: Likewise.
6580         * gdb.base/nodebug.exp: Likewise.
6581         * gdb.base/printcmds.exp: Likewise.
6582         * gdb.base/ptype.exp: Likewise.
6583         * gdb.base/structs.exp: Likewise.
6584         * gdb.base/unwindonsignal.exp: Likewise.
6585         * gdb.cp/gdb2495.exp: Likewise.
6586         * gdb.cp/templates.exp: Likewise.
6587         * gdb.cp/virtfunc.exp: Likewise.
6588         * gdb.threads/hand-call-in-threads.exp: Likewise.
6589         * gdb.threads/interrupted-hand-call.exp: Likewise.
6590         * gdb.threads/thread-unwindonsignal.exp: Likewise.
6591
6592 2016-06-10  Tom Tromey  <tom@tromey.com>
6593
6594         PR rust/20110:
6595         * gdb.rust/expr.exp: Add test for integer constant larger than
6596         i32.
6597
6598 2016-06-10  Bernhard Heckel  <bernhard.heckel@intel.com>
6599
6600         * gdb.fortran/nested-funcs.exp: New.
6601         * gdb.fortran/nested-funcs.f90: New.
6602
6603 2016-06-09  Toshihito Kikuchi  <k.toshihito@yahoo.de>
6604
6605         * gdb.base/examine-backward.c: New file.
6606         * gdb.base/examine-backward.exp: New file.
6607
6608 2016-06-06  Simon Marchi  <simon.marchi@ericsson.com>
6609
6610         * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6611         matching.
6612
6613 2016-06-02  Tom Tromey  <tom@tromey.com>
6614
6615         PR python/18984:
6616         * gdb.python/py-shared.exp: Add solib_name test.
6617
6618 2016-06-02  Simon Marchi  <simon.marchi@ericsson.com>
6619
6620         * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6621
6622 2016-05-31  Martin Galvan  <martin.galvan@tallertechnologies.com>
6623
6624         PR c++/19893
6625         * gdb.dwarf2/implref.exp: Rename to...
6626         * gdb.dwarf2/implref-const.exp: ...this.  Also add more test statements.
6627         * gdb.dwarf2/implref-array.c: New file.
6628         * gdb.dwarf2/implref-array.exp: Likewise.
6629         * gdb.dwarf2/implref-global.c: Likewise.
6630         * gdb.dwarf2/implref-global.exp: Likewise.
6631         * gdb.dwarf2/implref-struct.c: Likewise.
6632         * gdb.dwarf2/implref-struct.exp: Likewise.
6633
6634 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6635
6636         * gdb.trace/trace-condition.exp: Add 64bit tests.
6637
6638 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6639
6640         * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6641         bits types.
6642         (main): Adapt to 8 to 64 bits types.
6643         * gdb.trace/trace-condition.exp: Add new tests.
6644
6645 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6646
6647         * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6648
6649 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6650
6651         * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6652         Move condition tests...
6653         * gdb.trace/trace-condition.exp: Here.
6654
6655 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6656
6657         * gdb.trace/trace-condition.exp: Add counter-case tests.
6658
6659 2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
6660
6661         PR c++/15231
6662         * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6663         * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6664
6665 2016-05-27  Pedro Alves  <palves@redhat.com>
6666
6667         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6668         New procedure.
6669         (top level): Call it, and bail out of DejaGnu is known to be bad.
6670
6671 2016-05-27  Andrew Burgess  <andrew.burgess@embecosm.com>
6672
6673         * gdb.base/whatis.c: Extend the test case.
6674         * gdb.base/whatis.exp: Add additional tests.
6675
6676 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6677
6678 * gdb.fortran/type.f90: Add pointer variable.
6679 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6680
6681 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6682
6683         * gdb.fortran/vla-type.exp: Fix testcase name.
6684
6685 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6686
6687         * gdb.fortran/vla-type.exp: Access elements in nested structs.
6688
6689 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6690
6691         * gdb.fortran/type.f90: Add nested structures.
6692         * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6693         * gdb.fortran/derived-type.exp: Adapt expected output.
6694         * gdb.fortran/vla-type.exp: Adapt expected output.
6695
6696 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6697
6698         * gdb.fortran/whatis_type.exp: Adapt expected output.
6699
6700 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6701
6702         * gdb.fortran/print_type.exp: Fix expected output.
6703         * gdb.fortran/whatis_type.exp: Fix expected output.
6704
6705 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6706
6707         * gdb.fortran/whatis_type.exp: Use multi_line.
6708
6709 2016-05-24  Tom Tromey  <tom@tromey.com>
6710
6711         PR python/17386:
6712         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6713         use value as an index.
6714
6715 2016-05-23  Tom Tromey  <tom@tromey.com>
6716
6717         PR python/17981:
6718         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6719         no-breakpoint case.
6720
6721 2016-05-24  Pedro Alves  <palves@redhat.com>
6722
6723         PR gdb/19828
6724         * gdb.threads/clone-attach-detach.c: New file.
6725         * gdb.threads/clone-attach-detach.exp: New file.
6726
6727 2016-05-24  Francis Ricci  <francisjricci@gmail.com>  (tiny patch)
6728
6729         * gdb.base/annota-input-while-running.exp: Fix syntax error.
6730
6731 2016-05-23  Tom Tromey  <tom@tromey.com>
6732
6733         PR python/19438, PR python/18393:
6734         * gdb.python/py-progspace.exp: Add "dir" test.
6735         * gdb.python/py-objfile.exp: Add "dir" test.
6736
6737 2016-05-23  Yao Qi  <yao.qi@linaro.org>
6738
6739         * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6740         * gdb.arch/thumb2-it.exp: Likewise.
6741
6742 2016-05-18  Simon Marchi  <simon.marchi@ericsson.com>
6743
6744         * gdb.mi/mi-threads-interrupt.c: New file.
6745         * gdb.mi/mi-threads-interrupt.exp: New file.
6746
6747 2016-05-17  Simon Marchi  <simon.marchi@ericsson.com>
6748
6749         PR gdb/18077
6750         * gdb.mi/mi-async-run.exp: New file.
6751         * gdb.mi/mi-async-run.c: New file.
6752
6753 2016-05-17  Tom Tromey  <tom@tromey.com>
6754             Manish Goregaokar <manishsmail@gmail.com>
6755
6756         * lib/rust-support.exp: New file.
6757         * lib/gdb.exp (skip_rust_tests): New proc.
6758         (build_executable_from_specs): Handle rust.
6759         * lib/future.exp (gdb_find_rustc): New proc.
6760         (gdb_default_target_compile): Handle rust.
6761         * gdb.rust/expr.exp: New file.
6762         * gdb.rust/generics.exp: New file.
6763         * gdb.rust/generics.rs: New file.
6764         * gdb.rust/methods.exp: New file.
6765         * gdb.rust/methods.rs: New file.
6766         * gdb.rust/modules.exp: New file.
6767         * gdb.rust/modules.rs: New file.
6768         * gdb.rust/simple.exp: New file.
6769         * gdb.rust/simple.rs: New file.
6770
6771 2016-05-17  Tom Tromey  <tom@tromey.com>
6772
6773         * gdb.base/default.exp (set language): Add rust.
6774
6775 2016-05-17  Tom Tromey  <tom@tromey.com>
6776
6777         * gdb.gdb/unittest.exp: New file.
6778
6779 2016-05-16  Yao Qi  <yao.qi@linaro.org>
6780
6781         * gdb.base/batch-preserve-term-settings.exp: Remove variable
6782         shell_prompt.  Update shell_prompt_re.
6783
6784 2016-05-12  Doug Evans  <dje@google.com>
6785
6786         PR symtab/19999
6787         * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6788         $options when building executable.
6789         * gdb.dwarf2/fission-loclists-pie.S: New file.
6790         * gdb.dwarf2/fission-loclists-pie.exp: New file.
6791
6792 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
6793
6794         * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
6795         of [is_remote target],
6796
6797 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
6798
6799         * lib/gdb.exp (use_gdb_stub): New procedure.
6800
6801 2016-05-03  Yunlian Jiang <yunlian@google.com>
6802             Doug Evans  <dje@google.com>
6803
6804         PR symtab/19914
6805         * gdb.dwarf2/dwp-sepdebug.c: New file.
6806         * gdb.dwarf2/dwp-sepdebug.exp: New file.
6807
6808 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
6809
6810         * gdb.base/detach.exp: Remove is_remote check.
6811
6812 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
6813
6814         * gdb.base/annota-input-while-running.exp: Don't check for
6815         [is_remote target].  Enable annotations after running to main.
6816         Remove unused "set test..." line.
6817
6818 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
6819
6820         * gdb.trace/trace-enable-disable.exp: New file.
6821         * gdb.trace/trace-enable-disable.c: New file.
6822
6823 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
6824
6825         * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6826         use it in info sharedlibrary test.
6827         * gdb.trace/ftrace-lock.exp: Likewise.
6828         * gdb.trace/ftrace.exp: Likewise.
6829         * gdb.trace/range-stepping.exp: Likewise.
6830         * gdb.trace/trace-break.exp: Likewise.
6831         * gdb.trace/trace-condition.exp: Likewise.
6832         * gdb.trace/trace-mt.exp: Likewise.
6833
6834 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
6835
6836         * lib/gdb.exp (gdb_load_shlibs): Rename to...
6837         (gdb_load_shlib): ... this.
6838         * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6839         gdb_load_shlib.
6840         * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6841         * gdb.base/ctxobj.exp: Likewise.
6842         * gdb.base/dprintf-pending.exp: Likewise.
6843         * gdb.base/dso2dso.exp: Likewise.
6844         * gdb.base/fixsection.exp: Likewise.
6845         * gdb.base/gcore-relro.exp: Likewise.
6846         * gdb.base/gdb1555.exp: Likewise.
6847         * gdb.base/global-var-nested-by-dso.exp: Likewise.
6848         * gdb.base/gnu-ifunc.exp: Likewise.
6849         * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6850         * gdb.base/jit-so.exp (one_jit_test): Likewise.
6851         * gdb.base/pending.exp: Likewise.
6852         * gdb.base/print-file-var.exp: Likewise.
6853         * gdb.base/print-symbol-loading.exp: Likewise.
6854         * gdb.base/shlib-call.exp: Likewise.
6855         * gdb.base/shreloc.exp: Likewise.
6856         * gdb.base/so-impl-ld.exp: Likewise.
6857         * gdb.base/solib-disc.exp: Likewise.
6858         * gdb.base/solib-nodir.exp: Likewise.
6859         * gdb.base/solib-overlap.exp: Likewise.
6860         * gdb.base/solib-symbol.exp: Likewise.
6861         * gdb.base/solib-weak.exp (do_test): Likewise.
6862         * gdb.base/sym-file.exp: Likewise.
6863         * gdb.base/symtab-search-order.exp: Likewise.
6864         * gdb.base/type-opaque.exp: Likewise.
6865         * gdb.base/unload.exp: Likewise.
6866         * gdb.base/watchpoint-solib.exp: Likewise.
6867         * gdb.compile/compile.exp: Likewise.
6868         * gdb.cp/gdb2384.exp: Likewise.
6869         * gdb.cp/infcall-dlopen.exp: Likewise.
6870         * gdb.cp/re-set-overloaded.exp: Likewise.
6871         * gdb.fortran/library-module.exp: Likewise.
6872         * gdb.opt/solib-intra-step.exp: Likewise.
6873         * gdb.python/py-finish-breakpoint.exp: Likewise.
6874         * gdb.python/py-shared.exp: Likewise.
6875         * gdb.reverse/solib-precsave.exp: Likewise.
6876         * gdb.reverse/solib-reverse.exp: Likewise.
6877         * gdb.server/solib-list.exp: Likewise.
6878         * gdb.threads/dlopen-libpthread.exp: Likewise.
6879         * gdb.threads/tls-shared.exp: Likewise.
6880         * gdb.threads/tls-so_extern.exp: Likewise.
6881         * gdb.trace/change-loc.exp: Likewise.
6882         * gdb.trace/ftrace-lock.exp: Likewise.
6883         * gdb.trace/ftrace.exp: Likewise.
6884         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
6885         * gdb.trace/pending.exp: Likewise.
6886         * gdb.trace/range-stepping.exp: Likewise.
6887         * gdb.trace/strace.exp (strace_remove_socket): Likewise.
6888         (strace_info_marker): Likewise.
6889         (strace_probe_marker): Likewise.
6890         (strace_trace_on_same_addr): Likewise.
6891         (strace_trace_on_diff_addr): Likewise.
6892         * gdb.trace/trace-break.exp: Likewise.
6893         * gdb.trace/trace-condition.exp: Likewise.
6894         * gdb.trace/trace-mt.exp: Likewise.
6895
6896 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
6897
6898         * lib/gdb.exp (gdb_load_shlibs):  Accept a single argument.  Return
6899         result of gdb_remote_download.
6900         * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
6901         * gdb.base/dso2dso.exp: Likewise.
6902         * gdb.base/global-var-nested-by-dso.exp: Likewise.
6903         * gdb.base/print-file-var.exp: Likewise.
6904         * gdb.base/shlib-call.exp: Likewise.
6905         * gdb.base/shreloc.exp: Likewise.
6906         * gdb.base/solib-overlap.exp: Likewise.
6907         * gdb.base/solib-weak.exp (do_test): Likewise.
6908         * gdb.base/unload.exp: Likewise.
6909
6910 2016-04-27  Yao Qi  <yao.qi@linaro.org>
6911
6912         * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
6913         exists.
6914
6915 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
6916
6917         * vla-type.exp: Print structure from toplevel.
6918
6919 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
6920
6921         * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
6922         of dynamic types.
6923         * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
6924         of dynamic types.
6925
6926 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
6927
6928         * gdb.fortran/vla-type.f90: New file.
6929         * gdb.fortran/vla-type.exp: New file.
6930
6931 2016-04-25  Yao Qi  <yao.qi@linaro.org>
6932
6933         * gdb.base/branch-to-self.c: New file.
6934         * gdb.base/branch-to-self.exp: New file.
6935
6936 2016-04-22  Yao Qi  <yao.qi@linaro.org>
6937
6938         * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
6939         more after $hex.
6940
6941 2016-04-22  Yao Qi  <yao.qi@linaro.org>
6942
6943         * gdb.base/annota1.exp: Set breakpoint on line $main_line.
6944         * gdb.base/annota3.exp: Likewise.
6945
6946 2016-04-22  Yao Qi  <yao.qi@linaro.org>
6947
6948         * gdb.reverse/step-precsave.exp: Do one step and test program
6949         stops in "callee" and do multiple steps until program goes out
6950         of "callee".
6951         * gdb.reverse/step-reverse.exp: Likewise.
6952
6953 2016-04-22  Yao Qi  <yao.qi@linaro.org>
6954
6955         * gdb.trace/signal.exp: Also pass if
6956         $tracepoint_hits($i) > $iterations.
6957
6958 2016-04-22  Yao Qi  <yao.qi@linaro.org>
6959
6960         * gdb.trace/signal.c: New file.
6961         * gdb.trace/signal.exp: New file.
6962
6963 2016-04-19  Doug Evans  <xdje42@gmail.com>
6964
6965         * gdb.base/bad-file.exp: New file.
6966
6967 2016-04-18  Martin Galvan  <martin.galvan@tallertechnologies.com>
6968
6969         * gdb.dwarf2/implref.exp: New file.
6970
6971 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
6972
6973         * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
6974         * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
6975         * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
6976         * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
6977         * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
6978         * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
6979         * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
6980         * lib/fortran.exp (fortran_int4): New procedure.
6981         (fortran_real4, fortran_real8, fortran_complex4): Likewise.
6982         (fortran_logical4): Likewise.
6983
6984 2016-04-18  Benrhard Heckel <bernhard.heckel@intel.com>
6985
6986         * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
6987
6988 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
6989
6990         * lib/compiler.c: Add Intel specific preprocessor macros.
6991         * lib/compiler.cc: Likewise.
6992
6993 2016-04-13  Luis Machado  <lgustavo@codesourcery.com>
6994
6995         * gdb.server/connect-with-no-symbol-file.c: New file.
6996         * gdb.server/connect-with-no-symbol-file.exp: New file.
6997
6998 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
6999
7000         * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7001
7002 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
7003
7004         * boards/gdbserver-base.exp (${board}_download): Copy source file to
7005         standard output directory.
7006
7007 2016-04-13  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7008
7009         * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7010
7011 2016-04-13  Markus Metzger  <markus.t.metzger@intel.com>
7012
7013         * gdb.btrace/instruction_history.c (loop): Add declaration.
7014
7015 2016-04-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7016
7017         * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7018
7019 2016-04-09  Simon Marchi  <simon.marchi@polymtl.ca>
7020
7021         * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
7022         parentheses to print.
7023         (continue_handler): Likewise.
7024
7025 2016-04-08  Simon Marchi  <simon.marchi@ericsson.com>
7026
7027         * gdb.server/solib-list.exp: Remove is_remote check.
7028         Pass shlib= to gdb_compile.  Don't link shared library with
7029         -soname.  Call gdb_remote_download instead of gdb_load_shlibs.
7030         Run binary filename through "readlink -f" on the target.
7031
7032 2016-04-08  Pedro Alves  <palves@redhat.com>
7033
7034         * gdb.server/solib-list.exp: Don't use gdb_load.  Instead pass the
7035         interpreter filename as argument to gdbserver_spawn.
7036         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7037         Return empty if $last_loaded_file does not exist.
7038
7039 2016-04-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7040
7041         Fix compatibility with gcc-4.8.5-4.el7.x86_64.
7042         * gdb.base/jit-main.c: Use exit after usage.
7043
7044 2016-04-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7045
7046         * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
7047         GDBHISTSIZE prior to the tests.
7048         * gdb.base/gdbinit-history.exp: Likewise.
7049
7050 2016-04-07  Pedro Alves  <palves@redhat.com>
7051
7052         * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
7053         instead of build_executable.  Use gdb_load_shlibs.
7054
7055 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7056
7057         * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
7058         Execute "si" command.
7059
7060 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7061
7062         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
7063         number instead of the comments on some line.
7064
7065 2016-04-06  Don Breazeal  <donb@codesourcery.com>
7066
7067         * gdb.dwarf2/dw2-opt-structptr.c: New test program.
7068         * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
7069
7070 2016-04-06  Simon Marchi  <simon.marchi@ericsson.com>
7071
7072         * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
7073         standard_output_file.  Remove unused binfile variable.
7074
7075 2016-04-05  Catalin Udma  <catalin.udma@freescale.com>
7076
7077         * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
7078         * gdb.python/py-mi-objfile.exp: Match "list main" output
7079         in console format.
7080
7081 2016-04-05  Simon Marchi  <simon.marchi@polymtl.ca>
7082
7083         * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
7084         absolute.
7085
7086 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7087
7088         * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
7089         absolute.
7090         * gdb.trace/ftrace.exp: Likewise.
7091         * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
7092         targets as well.
7093         (gdb_compile_shlib): Set SONAME for non-remote targets as well.
7094         (gdb_load_shlibs): Copy libraries to test directory when testing
7095         natively.  Only set solib-search-path if testing remotely.
7096         * lib/mi-support.exp (mi_load_shlibs): Likewise.
7097
7098 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7099
7100         * gdb.base/jit-so.exp: Use gdb_remote_download instead of
7101         gdb_download.  Use it even if the target is not remote.
7102         * gdb.base/jit.exp (compile_jit_test): Likewise.
7103         * lib/gdb.exp (gdb_remote_download): Copy files to the standard
7104         output directory if the destination board is local, otherwise use
7105         the standard remote_download from DejaGnu.
7106         (gdb_download): Remove.
7107         (gdb_load_shlibs): Use gdb_remote_download instead of
7108         gdb_download.
7109         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7110         Use gdb_remote_download instead of gdb_download.  Use it even if
7111         the target is not remote.
7112         * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
7113         instead of gdb_download.
7114
7115 2016-04-04  Simon Marchi  <simon.marchi@polymtl.ca>
7116
7117         * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
7118         (test_insert_delete_modify): Call mi_load_shlibs before trying to
7119         run.
7120
7121 2016-04-01  Artemiy Volkov  <artemiyv@acm.org>
7122
7123         PR gdb/19820
7124         * gdb.base/printcmds.exp: Add artificial arrays tests.
7125
7126 2016-03-31  Pedro Alves  <palves@redhat.com>
7127
7128         PR gdb/19858
7129         * gdb.base/jit-main.c: Include unistd.h.
7130         (ATTACH): Define to 0 if not already defined.
7131         (wait_for_gdb, mypid): New globals.
7132         (WAIT_FOR_GDB): New macro.
7133         (MAIN): Set an alarm.  Store the process's pid.  Wait for GDB at
7134         some breakpoint locations.
7135         * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
7136         New procedures.
7137         (one_jit_test): Add REATTACH parameter, and handle it.  Use
7138         continue_to_test_location.
7139         (top level): Test attach, and adjusts calls to one_jit_test.
7140
7141 2016-03-31  Pedro Alves  <palves@redhat.com>
7142
7143         PR gdb/19858
7144         * gdb.base/jit.exp (compile_jit_test): Add intro comment.  Add
7145         BINSUFFIX parameter, and handle it.
7146         (top level): Adjust calls compile_jit_test.
7147
7148 2016-03-31  Catalin Udma  <catalin.udma@freescale.com>
7149
7150         PR python/19743
7151         * gdb.python/py-mi-events-gdb.py: New file.
7152         * gdb.python/py-mi-events.c: New file.
7153         * gdb.python/py-mi-events.exp: New file.
7154
7155 2016-03-30  Yao Qi  <yao.qi@linaro.org>
7156
7157         * gdb.reverse/until-precsave.exp: Match function name only.
7158         * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
7159         Move malloc to a condition block.
7160         * gdb.reverse/until-reverse.exp: Match function name only.
7161
7162 2016-03-29  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7163
7164         * gdb.trace/ftrace.exp: Set arg0exp for s390.
7165         * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
7166         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
7167         variable for GPR 0 instead of assuming it is register 0.
7168         * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
7169         * lib/trace-support.exp: Add s390 registers.
7170
7171 2016-03-29  Yao Qi  <yao.qi@linaro.org>
7172
7173         * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
7174
7175 2016-03-24  Yao Qi  <yao.qi@linaro.org>
7176
7177         * gdb.reverse/break-reverse.exp: Add quotation mark in the
7178         test message.
7179
7180 2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7181
7182         * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
7183         maintaining separate logic for constructing the output path.
7184
7185 2016-03-16  Don Breazeal  <donb@codesourcery.com>
7186
7187         * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
7188         Retry fork and waitpid on interrupted system call errors.
7189         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7190         Use with_timeout_factor to increase timeout by factor of 10.
7191
7192 2016-03-15  Don Breazeal  <donb@codesourcery.com>
7193
7194         * gdb.cp/scope-err.cc: New test program.
7195         * gdb.cp/scope-err.exp: New test script.
7196         * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
7197         lines and "set breakpoint here" comment.
7198         * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
7199         Fixed some whitespace and format issues.
7200         * gdb.mi/mi-linespec-err-cp.cc: New test program.
7201         * gdb.mi/mi-linespec-err-cp.exp: New test script.
7202
7203 2016-03-15  Doug Evans  <dje@google.com>
7204
7205         * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
7206         * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
7207         All callers updated.  Add tests for enums, mixed flags register.
7208
7209 2016-03-15  Doug Evans  <dje@google.com>
7210
7211         * gdb.base/skip.c (main): Call test_skip_file_and_function.
7212         * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
7213
7214 2016-03-14  Simon Marchi  <simon.marchi@ericsson.com>
7215
7216         * gdb.base/default.exp: Add $_as_string to the list of expected
7217         convenience functions.
7218
7219 2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
7220
7221         * gdb.base/maint.exp: New tests for 'maint info line-table'.
7222
7223 2016-03-10  Simon Marchi  <simon.marchi@polymtl.ca>
7224
7225         * gdb.python/py-as-string.exp: New file.
7226         * gdb.python/py-as-string.c: New file.
7227
7228 2016-03-09  Pedro Alves  <palves@redhat.com>
7229
7230         * gdb.threads/attach-into-signal.exp: Adjust to "Program received
7231         signal" -> "Thread NN received signal" output change.
7232         * gdb.threads/ia64-sigill.exp: Likewise.
7233         * gdb.threads/linux-dp.exp: Likewise.
7234         * gdb.threads/manythreads.exp: Likewise.
7235         * gdb.threads/pending-step.exp: Likewise.
7236         * gdb.threads/print-threads.exp: Likewise.
7237         * gdb.threads/sigstep-threads.exp: Likewise.
7238         * gdb.threads/staticthreads.exp: Likewise.
7239         * gdb.threads/tls.exp: Likewise.
7240
7241 2016-03-09  Pedro Alves  <palves@redhat.com>
7242
7243         * gdb.base/command-line-input.exp: New file.
7244
7245 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7246
7247         * gdb.trace/ftrace.exp: Set arg0exp for ppc.
7248         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
7249         * gdb.trace/pending.exp: Accept leading dot before function name.
7250         * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
7251         * lib/trace-support.exp: Set registers for ppc.
7252
7253 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7254
7255         * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
7256         use it for disassembly; accept .main in addition to main in backtrace.
7257
7258 2016-03-09  Wei-cheng Wang  <cole945@gmail.com>
7259             Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7260
7261         * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
7262         (gdb_recursion_test_ptr): New global variable.
7263         (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
7264         gdb_recursion_test.
7265         (gdb_c_test): Ditto.
7266
7267 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7268
7269         * gdb.trace/change-loc.exp: Don't depend on tracepoint location
7270         ordering.
7271
7272 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7273
7274         * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
7275         (bar): Add bar_start_lbl label.
7276         * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
7277         of foo/bar for emitting DWARF and tracing.
7278
7279 2016-03-06  Sergio Durigan Junior  <sergiodj@redhat.com>
7280
7281         * analyze-racy-logs.py: Set executable bit.
7282
7283 2016-03-05  Sergio Durigan Junior  <sergiodj@redhat.com>
7284
7285         * Makefile.in (DEFAULT_RACY_ITER): New variable.
7286         (CHECK_TARGET_TMP): Likewise.
7287         (check-single-racy): New rule.
7288         (check-parallel-racy): Likewise.
7289         (TEST_TARGETS): Adjust rule to account for RACY_ITER.
7290         (do-check-parallel-racy): New rule.
7291         (check-racy/%.exp): Likewise.
7292         * README (Racy testcases): New section.
7293         * analyze-racy-logs.py: New file.
7294
7295 2016-03-03  Doug Evans  <dje@google.com>
7296
7297         * gdb.base/skip.exp: Use with_test_prefix.
7298
7299 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7300
7301         * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
7302         Invoke step_over_syscall "clone" and break_cond_on_syscall
7303         "clone".
7304         * gdb.base/step-over-clone.c: New file.
7305
7306 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7307
7308         * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
7309         code format.
7310
7311 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7312
7313         * gdb.base/disp-step-fork.c: Rename to ...
7314         * gdb.base/step-over-fork.c: ... it.  New file.
7315         * gdb.base/disp-step-vfork.c: Rename to ...
7316         * gdb.base/step-over-vfork.c: ... it.  New file.
7317         * gdb.base/disp-step-syscall.exp: Rename to ...
7318         * gdb.base/step-over-syscall.exp: ... it.  New file.
7319         (disp_step_cross_syscall): Rename to ...
7320         (step_over_syscall): ... it.
7321
7322 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7323
7324         * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7325         If target supports condition evaluation on target, invoke
7326         break_cond_on_syscall for fork and vfork.
7327
7328 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7329
7330         * gdb.base/disp-step-syscall.exp: Don't invoke
7331         support_displaced_stepping.
7332         (disp_step_cross_syscall): Test with displaced stepping off and
7333         on if supported.
7334
7335 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7336
7337         * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7338         proc.
7339         (setup): New proc.
7340         (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7341         and setup.
7342
7343 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7344
7345         * gdb.fortran/vla-history.exp: Remove breakpoint.
7346
7347 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7348
7349         * gdb.fortran/vla-history.exp: Lookup array elements and printing
7350         exceeds timeout.
7351
7352 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7353
7354         * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7355         breakpoint.
7356
7357 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7358
7359         * gdb.mi/vla.f90: Nullify pointer after declaration.
7360
7361 2016-03-01  Pedro Alves  <palves@redhat.com>
7362
7363         * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7364
7365 2016-03-01  Pedro Alves  <palves@redhat.com>
7366
7367         * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7368         before anything else.
7369         * gdb.threads/watchpoint-fork-mt.c: Likewise.  Don't define
7370         _GNU_SOURCE here.
7371         * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7372         before anything else.
7373         * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7374
7375 2016-03-01  Pedro Alves  <palves@redhat.com>
7376
7377         * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7378
7379 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7380
7381         * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7382         prepare_for_testing.
7383
7384 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7385
7386         * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7387
7388 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7389
7390         * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7391         manually constructing the output path.
7392
7393 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7394
7395         * gdb.arch/s390-stackless.S: New.
7396         * gdb.arch/s390-stackless.exp: New.
7397
7398 2016-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
7399
7400         * gdb.dlang/circular.c: New file.
7401         * gdb.dlang/circular.exp: New file.
7402
7403 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7404
7405         * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
7406         [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
7407         (testcases): Update.
7408
7409 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7410
7411         * gdb.reverse/aarch64.c: Rename to ...
7412         * gdb.reverse/insn-reverse.c: ... it.
7413         * gdb.reverse/aarch64.exp: Rename to ...
7414         * gdb.reverse/insn-reverse.exp: ... it.
7415
7416 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7417
7418         * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7419         (testcase_ftype): New.
7420         (testcases): New array.
7421         (n_testcases): New.
7422         (main): Call each element in testcases.
7423         * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7424         (read_testcase): New.
7425         Do the tests in a loop.
7426
7427 2016-02-25  Yao Qi  <yao.qi@linaro.org>
7428
7429         * gdb.base/branches.c: Remove.
7430
7431 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7432
7433         PR gdb/13808
7434         * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7435
7436 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7437
7438         * gdb.trace/ftrace.exp: Remove unnecessary target check.
7439
7440 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7441
7442         * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7443         change x86_64 call_insn to 'callq'.
7444
7445 2016-02-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7446
7447         * gdb.trace/tfile-avx.c: Move to...
7448         * gdb.trace/tracefile-pseudo-reg.c: Here.
7449         * gdb.trace/tfile-avx.exp: Move to...
7450         * gdb.trace/tracefile-pseudo-reg.exp: Here.
7451
7452 2016-02-24  Gary Benson <gbenson@redhat.com>
7453
7454         * gdb.base/attach-pie-noexec.exp: Do not expect an error
7455         message on attach.
7456
7457 2016-02-23  Doug Evans  <dje@google.com>
7458
7459         * gdb.base/skip.c (test_skip): New function.
7460         (end_test_skip_file_and_function): New function.
7461         (test_skip_file_and_function): New function.
7462         * gdb.base/skip1.c (test_skip): New function.
7463         (skip1_test_skip_file_and_function): New function.
7464         * gdb.base/skip.exp: Add tests for new skip options.
7465         * gdb.base/skip-solib.exp: Update expected output.
7466         * gdb.perf/skip-command.cc: New file.
7467         * gdb.perf/skip-command.exp: New file.
7468         * gdb.perf/skip-command.py: New file.
7469
7470 2016-02-22  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7471
7472         * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7473         info registers pattern.
7474
7475 2016-02-18  Iain Buclaw  <ibuclaw@gdcproject.org>
7476
7477         * lib/future.exp: Add D support.
7478         (gdb_find_gdc): New proc.
7479         (gdb_default_target_compile): Add D support.
7480
7481 2016-02-18  Wei-cheng Wang  <cole945@gmail.com>
7482
7483         * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7484         user+system time.
7485         (trace_speed_test): Determine the iteration count for a time
7486         between 15..30 seconds.
7487
7488 2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>
7489
7490         * gdb.arch/i386-mpx-sigsegv.c: New file.
7491         * gdb.arch/i386-mpx-sigsegv.exp: New file.
7492         * gdb.arch/i386-mpx-simple_segv.c: New file.
7493         * gdb.arch/i386-mpx-simple_segv.exp: New file.
7494
7495 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7496
7497         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7498         Don't call setup_kfail.
7499
7500 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7501
7502         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7503         Set "set breakpoint condition-evaluation" per $cond_bp_target.
7504
7505 2016-02-16  Doug Evans  <dje@google.com>
7506
7507         * gdb.base/skip.c: Add copyright.  Whitespace cleanup.
7508         * gdb.base/skip1.c: Ditto.
7509         * gdb.base/skip.exp: Whitespace cleanup.
7510
7511 2016-02-16  Don Breazeal  <donb@codesourcery.com>
7512
7513         PR remote/19496
7514         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7515         Remove kfail for PR remote/19496.
7516
7517 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7518
7519         * lib/gdb.exp (standard_temp_file): Return a path specific to
7520         the runtest invocation.
7521
7522 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7523
7524         * gdb.trace/save-trace.exp: Change relative path to be in the
7525         standard output directory.
7526
7527 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7528
7529         * gdb.arch/i386-prologue.c: Add missing prototypes.
7530
7531 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7532
7533         * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7534         * gdb.arch/i386-prologue.exp: Likewise.
7535         * gdb.arch/i386-size.exp: Likewise.
7536
7537 2016-02-15  Simon Marchi  <simon.marchi@ericsson.com>
7538
7539         * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7540         define object file path.
7541         * gdb.btrace/gcore.exp: Use standard_output_file to define core
7542         file path.
7543         * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7544         standard_output_file to define binfile.
7545
7546 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7547
7548         Fix compatibility with recent gfortran-5.3.1.
7549         * gdb.fortran/vla-history.exp (print vla1 allocated)
7550         (print vla2 allocated, print $2, print $3): Remove
7551         (print $4): Rename to ...
7552         (print $2): ... here.
7553         (print $9): Rename to ...
7554         (print $5): ... here.
7555         (print $10): Rename to ...
7556         (print $6): ... here.
7557         * gdb.fortran/vla.f90: Add pvla initialization.
7558
7559 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7560
7561         * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7562         New test.
7563         * gdb.fortran/vla-value-sub.exp: Likewise.
7564
7565 2016-02-12  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7566
7567         * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7568
7569 2016-02-12  Simon Marchi  <simon.marchi@ericsson.com>
7570
7571         * i386-biarch-core.exp: Define corefile using
7572         standard_output_file.
7573
7574 2016-02-12  Yao Qi  <yao.qi@linaro.org>
7575
7576         * gdb.arch/arm-single-step-kernel-helper.c: New.
7577         * gdb.arch/arm-single-step-kernel-helper.exp: New.
7578
7579 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
7580
7581         * gdb.btrace/tailcall-only.exp: New.
7582         * gdb.btrace/tailcall-only.c: New.
7583         * gdb.btrace/x86_64-tailcall-only.S: New.
7584         * gdb.btrace/i686-tailcall-only.S: New.
7585
7586 2016-02-11  Pedro Alves  <palves@redhat.com>
7587
7588         * README (Parallel testing): Add missing double quotes.
7589
7590 2016-02-11  Pedro Alves  <palves@redhat.com>
7591
7592         * README (Parallel testing): New section.
7593         (GDB_PARALLEL): Rewrite.
7594         (FORCE_PARALLEL): Document.
7595
7596 2016-02-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7597
7598         * gdb.trace/tfile-avx.c: New test.
7599         * gdb.trace/tfile-avx.exp: New test.
7600
7601 2016-02-09  Keith Seitz  <keiths@redhat.com>
7602
7603         PR breakpoints/19546
7604         * gdb.base/infcall-exec.c: New file.
7605         * gdb.base/infcall-exec2.c: New file.
7606         * gdb.base/infcall-exec.exp: New file.
7607
7608 2016-02-09  Keith Seitz  <keiths@redhat.com>
7609
7610         * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7611         (toplevel): Call test_bkpt_address.
7612
7613 2016-02-09  Keith Seitz  <keiths@redhat.com>
7614
7615         PR python/19506
7616         * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7617         (toplevel): Call test_bkpt_address.
7618
7619 2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
7620
7621         * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7622         to AC_OUTPUT.
7623         * configure: Regenerate.
7624
7625 2016-02-09  Pedro Alves  <palves@redhat.com>
7626
7627         PR breakpoints/19548
7628         * gdb.base/execl-update-breakpoints.c (some_function): New
7629         function.
7630         (main): Call it.
7631         * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7632         Tighten expected GDB output.
7633
7634 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
7635
7636         * Makefile.in (ALL_SUBDIRS): Remove.
7637         (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7638         (distclean maintainer-clean realclean): Likewise.
7639         * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7640         * configure: Regenerate.
7641         * gdb.ada/Makefile.in: Delete.
7642         * gdb.arch/Makefile.in: Likewise.
7643         * gdb.asm/Makefile.in: Likewise.
7644         * gdb.base/Makefile.in: Likewise.
7645         * gdb.btrace/Makefile.in: Likewise.
7646         * gdb.cell/Makefile.in: Likewise.
7647         * gdb.compile/Makefile.in: Likewise.
7648         * gdb.cp/Makefile.in: Likewise.
7649         * gdb.disasm/Makefile.in: Likewise.
7650         * gdb.dlang/Makefile.in: Likewise.
7651         * gdb.dwarf2/Makefile.in: Likewise.
7652         * gdb.fortran/Makefile.in: Likewise.
7653         * gdb.gdb/Makefile.in: Likewise.
7654         * gdb.go/Makefile.in: Likewise.
7655         * gdb.guile/Makefile.in: Likewise.
7656         * gdb.java/Makefile.in: Likewise.
7657         * gdb.linespec/Makefile.in: Likewise.
7658         * gdb.mi/Makefile.in: Likewise.
7659         * gdb.modula2/Makefile.in: Likewise.
7660         * gdb.multi/Makefile.in: Likewise.
7661         * gdb.objc/Makefile.in: Likewise.
7662         * gdb.opencl/Makefile.in: Likewise.
7663         * gdb.opt/Makefile.in: Likewise.
7664         * gdb.pascal/Makefile.in: Likewise.
7665         * gdb.perf/Makefile.in: Likewise.
7666         * gdb.python/Makefile.in: Likewise.
7667         * gdb.reverse/Makefile.in: Likewise.
7668         * gdb.server/Makefile.in: Likewise.
7669         * gdb.stabs/Makefile.in: Likewise.
7670         * gdb.threads/Makefile.in: Likewise.
7671         * gdb.trace/Makefile.in: Likewise.
7672         * gdb.xml/Makefile.in: Likewise.
7673         * lib/gdb.exp (make_gdb_parallel_path): Add check for
7674         GDB_PARALLEL.
7675         (standard_output_file): Remove check for GDB_PARALLEL, always
7676         return path in outputs/$subdir/$testname.
7677
7678 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
7679
7680         * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7681         (site.exp): Assign abs_srcdir to tcl's srcdir.
7682
7683 2016-02-04  Yao Qi  <yao.qi@linaro.org>
7684
7685         * gdb.base/foll-exec-mode.c: Include limits.h.
7686         (main): Add parameters argc and argv.  Get directory from
7687         argv[0].
7688         * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7689         compilation.
7690         * gdb.base/foll-exec.c: Include limits.h.
7691         (main): Add parameters argc and argv.
7692         Get directory from argv[0].
7693         * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7694         Adjust tests on the number of lines as source code changed.
7695         * gdb.base/foll-vfork-exit.c: Include limits.h.
7696         (main): Add one line of statement before vfork.
7697         * gdb.base/foll-vfork.c: Include limits.h and string.h.
7698         (main): Add parameters argc and argv.  Get directory from
7699         argv[0].
7700         * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7701         (setup_gdb): Set tbreak to skip some source lines.
7702         * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7703         (main): Add parameters argc and argv.  Get directory from
7704         argv[0].
7705         * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7706         compilation.
7707         * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7708         (main): Add parameters argc and argv.  Get directory from
7709         argv[0].
7710         * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7711         compilation.
7712
7713 2016-02-01  Doug Evans  <dje@google.com>
7714
7715         * gdb.base/skip.exp: Clean up multiple references to same test name.
7716
7717 2016-02-01  Pedro Alves  <palves@redhat.com>
7718
7719         PR remote/19496
7720         * gdb.threads/forking-threads-plus-breakpoint.exp
7721         (displaced_stepping_supported): New global.
7722         (probe_displaced_stepping_support): New procedure.
7723         (do_test): Add 'displaced' parameter, and use it.
7724         (top level): Check for displaced stepping support.  Add displaced
7725         stepping on/off testing axis.
7726
7727 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
7728
7729         * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7730         pointer.  Don't perform further tests on the unassociated pointer
7731         if the first test fails.
7732
7733 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
7734
7735         * gdb.base/max-value-size.c: New file.
7736         * gdb.base/max-value-size.exp: New file.
7737         * gdb.base/huge.exp: Disable max-value-size for this test.
7738
7739 2016-01-28  Iain Buclaw  <ibuclaw@gdcproject.org>
7740
7741         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7742
7743 2016-01-28  Yao Qi  <yao.qi@linaro.org>
7744
7745         * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7746
7747 2016-01-25  Pedro Alves  <palves@redhat.com>
7748
7749         PR threads/19461
7750         * gdb.base/fork-running-state.c: New file.
7751         * gdb.base/fork-running-state.exp: New file.
7752
7753 2016-01-25  Pedro Alves  <palves@redhat.com>
7754
7755         PR gdb/19494
7756         * gdb.base/catch-fork-kill.c: New file.
7757         * gdb.base/catch-fork-kill.exp: New file.
7758
7759 2016-01-25  Pedro Alves  <palves@redhat.com>
7760
7761         * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7762         Delete, moved to lib/gdb.exp.
7763         * gdb.threads/forking-threads-plus-breakpoint.exp
7764         (foreach_with_prefix): Likewise.
7765         * gdb.threads/process-dies-while-handling-bp.exp
7766         (foreach_with_prefix): Likewise.
7767         * lib/gdb.exp (foreach_with_prefix): New procedure.
7768
7769 2016-01-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7770
7771         * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7772         * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7773
7774 2016-01-23  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7775
7776         * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7777         endian targets.
7778
7779 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
7780             Pedro Alves  <palves@redhat.com>
7781
7782         Fix testsuite compatibility with Guile.
7783         * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7784         number.
7785
7786 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
7787
7788         Fix testsuite compatibility with Guile.
7789         * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7790         (thread 1): New test for backtrace through signal handler.
7791
7792 2016-01-22  Yao Qi  <yao.qi@linaro.org>
7793
7794         PR testsuite/19491
7795         * gdb.base/multi-forks.c: Include
7796         ../lib/unbuffer_output.c
7797         (main): Call gdb_unbuffer_output.
7798
7799 2016-01-21  Doug Evans  <dje@google.com>
7800
7801         * lib/ada.exp (gdb_compile_ada): Fix typo.
7802
7803 2016-01-21  Joel Brobecker  <brobecker@adacore.com>
7804
7805         * gdb.base/break-fun-addr.exp: New file.
7806         * gdb.base/break-fun-addr1.c: New file.
7807         * gdb.base/break-fun-addr2.c: New file.
7808
7809 2016-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
7810
7811         * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7812         * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7813         enum flag values.
7814
7815 2016-01-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7816
7817         * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7818         when GDB can not set the vector return value.  Add more comments
7819         for clarification.
7820
7821 2016-01-20  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7822
7823         * gdb.trace/tspeed.exp:  Use shlib instead of libs in gdb_compile
7824         command.
7825
7826 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
7827
7828         * Makefile.in (DO_RUNTEST): Add --status and update usages.
7829
7830 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
7831
7832         * Makefile.in (check-single): Pass --status to runtest.
7833         (check/%.exp): Likewise.
7834
7835 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
7836
7837         * Makefile.in (check-parallel): Propagate return code from make
7838         do-check-parallel.
7839
7840 2016-01-19  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7841
7842         * gdb.trace/ftrace.exp: Fix expected message on continue.
7843         * gdb.trace/pending.exp: Fix expected message on continue.
7844         * gdb.trace/trace-break.exp: Fix expected message on continue.
7845
7846 2016-01-18  Simon Marchi  <simon.marchi@ericsson.com>
7847
7848         * lib/gdb.exp (gdb_test): Remove unused global references.
7849
7850 2016-01-18  Pedro Alves  <palves@redhat.com>
7851
7852         * gdb.base/async-shell.exp: Adjust expected output.
7853         * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7854         * gdb.base/siginfo-thread.exp: Adjust expected output.
7855         * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7856         * gdb.java/jnpe.exp: Adjust expected output.
7857         * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7858         * gdb.threads/continue-pending-status.exp: Adjust expected output.
7859         * gdb.threads/leader-exit.exp: Adjust expected output.
7860         * gdb.threads/manythreads.exp: Adjust expected output.
7861         * gdb.threads/pthreads.exp: Adjust expected output.
7862         * gdb.threads/schedlock.exp: Adjust expected output.
7863         * gdb.threads/siginfo-threads.exp: Adjust expected output.
7864         * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
7865         expected output.
7866         * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
7867         output.
7868         * gdb.threads/sigthread.exp: Adjust expected output.
7869         * gdb.threads/watchpoint-fork.exp: Adjust expected output.
7870
7871 2016-01-18  Yao Qi  <yao.qi@linaro.org>
7872
7873         * gdb.guile/scm-section-script.c: Replace @progbits with
7874         %progbits.
7875         * gdb.python/py-section-script.c: Likewise.
7876
7877 2016-01-15  Pedro Alves  <palves@redhat.com>
7878
7879         * gdb.multi/tids.exp: Test star wildcard ranges.
7880
7881 2016-01-15  Pedro Alves  <palves@redhat.com>
7882
7883         * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
7884         command from "thread apply" invocation.
7885         (thr_apply_info_thr_invalid): Default the expected output to the
7886         input tid list.
7887         (top level): Add tests that use convenience variables.  Add tests
7888         for "thread apply" with a valid TID list, but missing the command.
7889
7890 2016-01-13  Pedro Alves  <palves@redhat.com>
7891
7892         * gdb.base/default.exp: Expect $_gthread as well.
7893         * gdb.multi/tids.exp: Test $_gthread.
7894         * gdb.threads/thread-specific.exp: Test $_gthread.
7895
7896 2016-01-13  Pedro Alves  <palves@redhat.com>
7897
7898         * gdb.multi/tids.exp: Test "info threads -gid".
7899
7900 2016-01-13  Pedro Alves  <palves@redhat.com>
7901
7902         * gdb.multi/tids.exp: Test InferiorThread.global_num and
7903         Breakpoint.thread.
7904         * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
7905
7906 2016-01-07  Pedro Alves  <palves@redhat.com>
7907
7908         * gdb.base/break.exp: Adjust to output changes.
7909         * gdb.base/hbreak2.exp: Likewise.
7910         * gdb.base/sepdebug.exp: Likewise.
7911         * gdb.base/watch_thread_num.exp: Likewise.
7912         * gdb.linespec/keywords.exp: Likewise.
7913         * gdb.multi/info-threads.exp: Likewise.
7914         * gdb.threads/thread-find.exp: Likewise.
7915         * gdb.multi/tids.c: New file.
7916         * gdb.multi/tids.exp: New file.
7917
7918 2016-01-13  Pedro Alves  <palves@redhat.com>
7919
7920         * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
7921
7922 2016-01-13  Pedro Alves  <palves@redhat.com>
7923
7924         * gdb.base/default.exp: Expect $_inferior as well.
7925         * gdb.multi/base.exp: Test $_inferior.
7926
7927 2016-01-13  Pedro Alves  <palves@redhat.com>
7928
7929         PR breakpoints/19388
7930         * gdb.base/catch-signal-siginfo-cond.c: New file.
7931         * gdb.base/catch-signal-siginfo-cond.exp: New file.
7932
7933 2016-01-12  Josh Stone  <jistone@redhat.com>
7934             Philippe Waroquiers  <philippe.waroquiers@skynet.be>
7935
7936         * gdb.base/catch-syscall.c (do_execve): New variable.
7937         (main): Conditionally trigger an execve.
7938         * gdb.base/catch-syscall.exp: Enable testing for remote targets.
7939         (test_catch_syscall_execve): New, check entry/return across execve.
7940         (do_syscall_tests): Call test_catch_syscall_execve.
7941
7942 2016-01-12  Pedro Alves  <palves@redhat.com>
7943
7944         * gdb.base/random-signal.exp (do_test): New procedure, with body
7945         of testcase moved in.
7946
7947 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7948             Pedro Alves  <palves@redhat.com>
7949
7950         * gdb.base/funcargs.exp (finish from indirectly called function):
7951         Reintroduce the case for 'First'.
7952
7953 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7954             Pedro Alves  <palves@redhat.com>
7955
7956         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7957         (tcatch_vfork_then_child_follow_exec)
7958         (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
7959         identification.
7960
7961 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7962
7963         * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
7964         and repeats to unlimited.
7965         * gdb.python/py-value.exp: Likewise.
7966         * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
7967         and repeats to unlimited.
7968
7969 2016-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7970
7971         * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
7972         and reordering the functions.
7973         * gdb.multi/hangout.c: Likewise.
7974         * gdb.multi/hello.c: Likewise.
7975
7976 2016-01-08  Simon Marchi  <simon.marchi@ericsson.com>
7977
7978         * gdb.perf/lib/perftest/perftest.py: Change relative imports to
7979         absolute.
7980         (SingleStatisticTestResult.report): Use dict.keys instead of
7981         dict.iterkeys.
7982
7983 2016-01-06  Pedro Alves  <palves@redhat.com>
7984
7985         * gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
7986
7987 2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
7988
7989         * gdb.btrace/dlopen.exp: New.
7990         * gdb.btrace/dlopen.c: New.
7991         * gdb.btrace/dlopen-dso.c: New.
7992
7993 2015-12-25  Sandra Loosemore  <sandra@codesourcery.com>
7994
7995         * lib/gdb.exp (gdb_test): Update comments to clarify that the
7996         PATTERN argument is optional.
7997
7998 2015-12-24  Joel Brobecker  <brobecker@adacore.com>
7999
8000         * lib/ada.exp (target_compile_ada_from_dir): New function.
8001         (gdb_compile_ada): Reimplement avoiding the use of project files.
8002         * gdb.ada/gnat_ada.gpr: Delete.
8003         * gdb.ada/cond_lang.exp: Adjust test to make path before
8004         filename optional.
8005         * gdb.ada/small_reg_param.exp: Likewise.
8006
8007 2015-12-22  Simon Marchi  <simon.marchi@ericsson.com>
8008
8009         * gdb.base/foll-vork.exp: Remove HP-UX special case.
8010
8011 2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>
8012
8013         * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8014         case.
8015
8016 2015-12-21  Simon Marchi  <simon.marchi@ericsson.com>
8017
8018         * gdb.base/break.exp: Remove dead code.
8019         * gdb.base/sepdebug.exp: Likewise.
8020
8021 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8022
8023         * gdb.asm/asm-source.exp: Remove HP-UX references.
8024         * gdb.base/annota1.exp: Likewise.
8025         * gdb.base/annota3.exp: Likewise.
8026         * gdb.base/attach.exp: Likewise.
8027         * gdb.base/bigcore.exp: Likewise.
8028         * gdb.base/break.exp: Likewise.
8029         * gdb.base/call-ar-st.exp: Likewise.
8030         * gdb.base/callfuncs.exp: Likewise.
8031         * gdb.base/catch-fork-static.exp: Likewise.
8032         * gdb.base/display.exp: Likewise.
8033         * gdb.base/foll-exec-mode.exp: Likewise.
8034         * gdb.base/foll-exec.exp: Likewise.
8035         * gdb.base/foll-fork.exp: Likewise.
8036         * gdb.base/foll-vfork.exp: Likewise.
8037         * gdb.base/funcargs.exp: Likewise.
8038         * gdb.base/hbreak2.exp: Likewise.
8039         * gdb.base/inferior-died.exp: Likewise.
8040         * gdb.base/interrupt.exp: Likewise.
8041         * gdb.base/multi-forks.exp: Likewise.
8042         * gdb.base/nodebug.exp: Likewise.
8043         * gdb.base/sepdebug.exp: Likewise.
8044         * gdb.base/solib1.c: Likewise.
8045         * gdb.base/step-test.exp: Likewise.
8046         * gdb.mi/non-stop.c: Likewise.
8047         * gdb.mi/pthreads.c: Likewise.
8048         * gdb.multi/bkpt-multi-exec.ex: Likewise.
8049         * gdb.threads/pthreads.c: Likewise.
8050         * gdb.threads/staticthreads.exp: Likewise.
8051         * lib/future.exp: Likewise.
8052         * lib/gdb.exp: Likewise.
8053         * gdb.base/so-indr-cl.c: Remove.
8054         * gdb.base/so-indr-cl.exp: Likewise.
8055         * gdb.base/solib.c: Likewise.
8056         * gdb.base/solib.exp: Likewise.
8057         * gdb.base/solib2.c: Likewise.
8058
8059 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8060
8061         * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
8062         * gdb.base/call-ar-st.exp: Likewise.
8063         * gdb.base/callfuncs.exp: Likewise.
8064         * gdb.base/condbreak.exp: Likewise.
8065         * gdb.base/constvars.exp: Likewise.
8066         * gdb.base/hbreak2.exp: Likewise.
8067         * gdb.base/langs.exp: Likewise.
8068         * gdb.base/list.exp: Likewise.
8069         * gdb.base/long_long.exp: Likewise.
8070         * gdb.base/ptype.exp: Likewise.
8071         * gdb.base/scope.exp: Likewise.
8072         * gdb.base/signals.exp: Likewise.
8073         * gdb.base/so-impl-ld.exp: Likewise.
8074         * gdb.base/varargs.exp: Likewise.
8075         * gdb.base/volatile.exp: Likewise.
8076         * gdb.base/whatis.exp: Likewise.
8077         * gdb.cp/cplusfuncs.exp: Likewise.
8078         * gdb.cp/inherit.exp: Likewise.
8079         * gdb.cp/local.exp: Likewise.
8080         * gdb.cp/member-ptr.exp: Likewise.
8081         * gdb.cp/method.exp: Likewise.
8082         * gdb.cp/overload.exp: Likewise.
8083         * gdb.cp/templates.exp: Likewise.
8084         * gdb.stabs/weird.exp: Likewise.
8085         * lib/compiler.c: Likewise.
8086         * lib/compiler.cc: Likewise.
8087         * lib/cp-support.exp: Likewise.
8088         * lib/gdb.exp: Likewise.
8089
8090 2015-12-20  Simon Marchi  <simon.marchi@polymtl.ca>
8091
8092         * configure.ac: Remove HP-UX case.
8093         * configure: Regenerate.
8094
8095 2015-12-18  Simon Marchi  <simon.marchi@ericsson.com>
8096
8097         * lib/gdb.exp (gdb_compile): Add function doc.
8098
8099 2015-12-17  Pedro Alves  <palves@redhat.com>
8100
8101         PR threads/19354
8102         * gdb.multi/info-threads.exp: New file.
8103
8104 2015-12-15  Yao Qi  <yao.qi@linaro.org>
8105
8106         * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
8107         is aarch64*-*-*.
8108
8109 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8110
8111         * gdb.base/history-duplicates.exp: Skip if no readline support.
8112
8113 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8114
8115         * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
8116
8117 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8118
8119         * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
8120
8121 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8122
8123         * gdb.base/completion.exp: Skip tests that interrupt GDB with
8124         ctrl-C if nointerrupts target property is set.
8125         * gdb.base/double-prompt-target-event-error.exp: Likewise.
8126         * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
8127         * gdb.base/paginate-bg-execution.exp: Likewise.
8128         * gdb.base/paginate-execution-startup.exp: Likewise.
8129         * gdb.base/random-signal.exp: Likewise.
8130         * gdb.base/range-stepping.exp: Likewise.
8131         * gdb.cp/annota2.exp: Likewise.
8132         * gdb.cp/annota3.exp: Likewise.
8133         * gdb.gdb/selftest.exp: Likewise.
8134         * gdb.threads/continue-pending-status.exp: Likewise.
8135         * gdb.threads/leader-exit.exp: Likewise.
8136         * gdb.threads/manythreads.exp: Likewise.
8137         * gdb.threads/pthreads.exp: Likewise.
8138         * gdb.threads/schedlock.exp: Likewise.
8139         * gdb.threads/sigthread.exp: Likewise.
8140
8141 2015-12-11  Don Breazeal  <donb@codesourcery.com>
8142
8143         * gdb.base/execl-update-breakpoints.exp (main): Enable for target
8144         remote.
8145         * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
8146         * gdb.base/foll-exec.exp (main): Enable for target remote.
8147         * gdb.base/foll-fork.exp (main): Likewise.
8148         * gdb.base/foll-vfork.exp (main): Likewise.
8149         * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
8150         (proc continue_to_exit_bp_loc): Use clean_restart.
8151         * gdb.base/pie-execl.exp (main): Disable for target remote.
8152         * gdb.base/watch-vfork.exp (main): Enable for target remote.
8153         * gdb.mi/mi-nsthrexec.exp (main): Likewise.
8154         * gdb.threads/execl.exp (main): Likewise.
8155         * gdb.threads/fork-child-threads.exp (main): Likewise.
8156         * gdb.threads/fork-plus-threads.exp (main): Disable for target
8157         remote.
8158         * gdb.threads/fork-thread-pending.exp (main): Enable for target
8159         remote.
8160         * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
8161         pid.tid style ptids, instead of just tid.
8162         * gdb.threads/thread-execl.exp (main): Enable for target remote.
8163         * gdb.threads/watchpoint-fork.exp (main): Likewise.
8164         * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
8165         ptids, instead of just tid.
8166
8167 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8168
8169         * gdb.base/list.exp (test_list_forward): Add end of file error
8170         test.
8171         (test_repeat_list_command): Add end of file error test.
8172         (test_list_backwards): Add beginning of file error test.
8173
8174 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8175
8176         * gdb.base/list.exp (test_list_invalid_args): New function,
8177         defined, and called.
8178
8179 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8180
8181         * gdb.base/list.exp (test_list): Make test names unique.
8182
8183 2015-12-11  Yao Qi  <yao.qi@linaro.org>
8184
8185         * gdb.base/coremaker2.c: Remove.
8186
8187 2015-12-10  Pedro Alves  <palves@redhat.com>
8188
8189         * gdb.multi/base.exp: Remove stale "spaces" references.
8190
8191 2015-12-10  Pedro Alves  <palves@redhat.com>
8192
8193         * gdb.multi/base.exp: Don't use nowarnings.
8194         * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
8195         * gdb.multi/hangout.c: Include stdio.h.
8196         * gdb.multi/hello.c: Include stdlib.h.
8197         * gdb.multi/multi-arch-exec.c: Include stdlib.h.
8198         * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
8199         * gdb.multi/multi-arch.exp: Don't use nowarnings.
8200
8201 2015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
8202
8203         * gdb.dwarf2/dw2-ranges-base.c: New file.
8204         * gdb.dwarf2/dw2-ranges-base.exp: New file.
8205         * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
8206         support additional line table, and debug ranges generation.
8207         (Dwarf::ranges): New function, generate .debug_ranges.
8208         (Dwarf::lines): Support generating simple line table programs.
8209         (Dwarf::assemble): Initialise new namespace variables.
8210
8211 2015-12-09  Kevin Buettner  <kevinb@redhat.com>
8212
8213         * gdb.base/async.exp (proc test_background): Add case for
8214         asynchronous execution not supported.
8215
8216 2015-12-09  Luis Machado  <lgustavo@codesourcery.com>
8217
8218         * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
8219           format and change test names to make them unique.
8220
8221 2015-12-09  Ruslan Kabatsayev  <b7.10110111@gmail.com>
8222             Pedro Alves  <pedro@redhat.com>
8223
8224         PR gdb/18702
8225         Add checking of floatformats setup on x86_64 hosts.
8226         * gdb.arch/i386-float.S (main): Load bigval and smallval.
8227         (smallval, bigval): New labels/constants.
8228         * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
8229         float" after loading bigval and smallval.
8230
8231 2015-12-07  Pierre-Marie de Rodat  <derodat@adacore.com>
8232
8233         * gdb.ada/fun_overload_menu.exp: New testcase.
8234         * gdb.ada/fun_overload_menu/foo.adb: New testcase.
8235
8236 2015-12-04  Josh Stone  <jistone@redhat.com>
8237
8238         * gdb.base/catch-fork-static.exp: New.
8239
8240 2015-12-03  Yao Qi  <yao.qi@linaro.org>
8241
8242         * gdb.base/sizeof.c: Don't include stdio.h and
8243         ../lib/unbuffer_output.c.
8244         (main): New variable 'size' and 'value'.  Remove printf and
8245         gdb_unbuffer_output.  Assign return value to size and value.
8246         * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
8247         at the beginning.
8248         (check_sizeof): Check the result by printing variable 'size'.
8249         (check_valueof): Check the result by printing variable 'value'.
8250
8251 2015-12-01  Yao Qi  <yao.qi@linaro.org>
8252
8253         * gdb.base/disp-step-syscall.exp: Define syscall instruction
8254         for aarch64*-*-linux* target.
8255
8256 2015-11-30  Pedro Alves  <palves@redhat.com>
8257
8258         * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
8259
8260 2015-11-30  Pedro Alves  <palves@redhat.com>
8261
8262         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
8263         Handle non-stop mode vCont replies.
8264
8265 2015-11-30  Pedro Alves  <palves@redhat.com>
8266
8267         * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
8268         prepare_for_testing.  Start gdb with "set non-stop on" appended to
8269         GDBFLAGS.  Lax expected stop output.
8270
8271 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8272
8273         * gdb.arch/arm-neon.exp: New.
8274         * gdb.arch/arm-neon.c: New.
8275
8276 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8277
8278         * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
8279
8280 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8281
8282         * gdb.cp/annota2.exp: Allow multiple occurrences of the
8283         frames-invalid annotation.
8284
8285 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8286
8287         * gdb.cp/annota2.exp: Use ${frames_invalid}.
8288
8289 2015-11-26  Simon Marchi  <simon.marchi@ericsson.com>
8290
8291         * gdb.threads/names.exp: New file.
8292         * gdb.threads/names.c: New file.
8293         * README: Mention gdb,no_thread_names.
8294
8295 2015-11-26  Markus Metzger  <markus.t.metzger@intel.com>
8296
8297         PR 19297
8298         * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
8299         support" error.
8300
8301 2015-11-24  Pedro Alves  <palves@redhat.com>
8302
8303         PR 17539
8304         * gdb.base/display.exp: Expect displays to be sorted in ascending
8305         order.  Use multi_line.
8306         * gdb.base/solib-display.exp: Likewise.
8307
8308 2015-11-24  Pedro Alves  <palves@redhat.com>
8309
8310         PR 17539
8311         * gdb.base/display.exp: Expect displays to be sorted in ascending
8312         order.  Use multi_line.
8313         * gdb.base/solib-display.exp: Likewise.
8314
8315 2015-11-24  Pedro Alves  <palves@redhat.com>
8316
8317         PR 17539
8318         * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8319         threads in ascending order.
8320         * gdb.base/foll-fork.exp: Likewise.
8321         * gdb.base/foll-vfork.exp: Likewise.
8322         * gdb.base/multi-forks.exp: Likewise.
8323         * gdb.mi/mi-nonstop.exp: Likewise.
8324         * gdb.mi/mi-nsintrall.exp: Likewise.
8325         * gdb.multi/base.exp: Likewise.
8326         * gdb.multi/multi-arch.exp: Likewise.
8327         * gdb.python/py-inferior.exp: Likewise.
8328         * gdb.threads/break-while-running.exp: Likewise.
8329         * gdb.threads/execl.exp: Likewise.
8330         * gdb.threads/gcore-thread.exp: Likewise.
8331         * gdb.threads/info-threads-cur-sal.exp: Likewise.
8332         * gdb.threads/kill.exp: Likewise.
8333         * gdb.threads/linux-dp.exp: Likewise.
8334         * gdb.threads/multiple-step-overs.exp: Likewise.
8335         * gdb.threads/next-bp-other-thread.exp: Likewise.
8336         * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8337         * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8338         * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8339         * gdb.threads/thread-find.exp: Likewise.
8340         * gdb.threads/tls.exp: Likewise.
8341         * lib/mi-support.exp (mi_reverse_list): Delete.
8342         (mi_check_thread_states): No longer reverse list.
8343
8344 2015-11-24  Pedro Alves  <palves@redhat.com>
8345
8346         * gdb.python/py-inferior.exp: Use with_test_prefix.  Consistently
8347         use lowercase.
8348
8349 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8350
8351         * gdb.trace/actions.c: Include trace-common.h.
8352         (main): Add a location for a fast tracepoint.
8353         * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8354         the normal tracepoints.
8355         (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8356
8357 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8358
8359         * save-trace.exp: Factor out code to these...
8360         (gdb_save_tracepoints): New.
8361         (gdb_load_tracepoints): New.
8362         (do_save_load_test): New.
8363
8364 2015-11-23  Kevin Buettner  <kevinb@redhat.com>
8365
8366         * gdb.base/asmlabel.exp: New test.
8367         * gdb.base/asmlabel.c: New test case.
8368
8369 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8370
8371         * gdb.base/wrong_frame_bt_full-main.c: New file.
8372         * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8373         * gdb.base/wrong_frame_bt_full.exp: New file.
8374
8375 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8376
8377         * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8378
8379 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8380
8381         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8382         pstate register when comparing registers values in
8383         sparc64-*-linux-gnu targets to avoid spurious differences.
8384
8385 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8386
8387         * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8388
8389 2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>
8390
8391         * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8392         as type argument to gdb_compile.
8393         * gdb.base/nested-subp2.exp: Likewise.
8394         * gdb.base/nested-subp3.exp: Likewise.
8395
8396 2015-11-17  Dominik Vogt  <vogt@linux.vnet.ibm.com>
8397
8398         * lib/dwarf.exp (_note): Fix left shift of negative value.
8399         * gdb.trace/trace-condition.exp: Likewise.
8400
8401 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8402
8403         * gdb.base/call-sc.exp (test_scalar_returns): Remove the
8404         comments about d10v.
8405         (test_scalar_returns): Likewise.
8406         * gdb.base/d10v.ld: Remove.
8407         * gdb.base/overlays.exp: Remove the target triplet checking for
8408         d10v-*-*.
8409         * gdb.base/structs.exp (test_struct_returns): Remove the
8410         comments about d10v.
8411         (test_struct_calls): Likewise.
8412
8413 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8414
8415         * gdb.base/gnu_vector.exp: Check the return value by "p res".
8416         * gdb.base/gnu_vector.c: Don't include stdio.h.
8417         (main): Don't print res and call add_some_intvecs.
8418
8419 2015-11-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8420
8421         * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8422         macro.
8423         (func5): Removed.
8424         (func4): Use FAST_TRACEPOINT_LABEL.
8425         * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8426         macro.
8427         (func): Removed.
8428         (thread_function): Use FAST_TRACEPOINT_LABEL.
8429         * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8430         (func): Remove.
8431         (marker): Use FAST_TRACEPOINT_LABEL.
8432         * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8433         (pendfunc1): Remove.
8434         (pendfunc): Use FAST_TRACEPOINT_LABEL.
8435         * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8436         (foo): Remove.
8437         (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8438         * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8439         macro.
8440         (func): Remove.
8441         (marker): Use FAST_TRACEPOINT_LABEL.
8442         * gdb.trace/trace-common.h: New header.
8443         * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8444         macro.
8445         (func): Remove.
8446         (marker): Use FAST_TRACEPOINT_LABEL.
8447         * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8448         (func): Remove.
8449         (thread_function): Use FAST_TRACEPOINT_LABEL.
8450
8451 2015-11-10  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8452
8453         * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8454         in front.
8455         * gdb.trace/change-loc.exp: Use global pcreg definition.
8456         * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8457         * gdb.trace/entry-values.exp: Use global spreg definition, add $
8458         in front.
8459         * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8460         * gdb.trace/pending.exp: Likewise.
8461         * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8462         * gdb.trace/trace-break.exp: Likewise.
8463         * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8464         in front.
8465         * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8466         * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8467         in front.
8468         * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8469
8470 2015-11-09  Joel Brobecker  <brobecker@adacore.com>
8471
8472         * gdb.ada/fin_fun_out: New testcase.
8473
8474 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8475
8476         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8477         value associated with DW_AT_byte_size.
8478         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8479         constants for DW_AT_byte_size, DW_AT_lower_bound, and
8480         DW_AT_upper_bound.
8481
8482 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8483
8484         * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8485         (gdb_target_symbol_prefix_flags): Define in terms of _asm
8486         version.
8487         * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8488         gdb.dwarf2/dw2-canonicalize-type.exp,
8489         gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8490         gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8491         gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8492         provided by gdb_target_symbol_prefix_flags_asm.
8493         * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8494         testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8495         testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8496         testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8497         gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8498         macros where needed).  Use this macro for symbols which require
8499         the prefix provided by SYMBOL_PREFIX.
8500
8501 2015-11-05  Kevin Buettner  <kevinb@redhat.com>
8502
8503         * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8504         New procs.
8505         * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8506         representing expressions, of more than one list element.
8507         * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8508         to prepend linker symbol prefix to f.
8509         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8510         table_1 and table_2.
8511         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8512         Likewise, for f and g.
8513         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8514         for ptr.
8515         * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8516         for main.
8517         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8518         table_1_ptr and table_2_ptr.
8519
8520 2015-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
8521             Joel Brobecker  <brobecker@adacore.com>
8522
8523         * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8524
8525 2015-11-04  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8526
8527         * gdb.reverse/s390-mvcle.c: New test.
8528         * gdb.reverse/s390-mvcle.exp: New file.
8529         * lib/gdb.exp: Enable reverse tests on s390*-linux.
8530
8531 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8532
8533         * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8534
8535 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8536
8537         * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8538         reaching marker2.
8539         * gdb.reverse/getresuid-reverse.exp: Likewise.
8540         * gdb.reverse/pipe-reverse.exp: Likewise.
8541         * gdb.reverse/readv-reverse.exp: Likewise.
8542         * gdb.reverse/recvmsg-reverse.exp: Likewise.
8543         * gdb.reverse/time-reverse.exp: Likewise.
8544         * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8545
8546 2015-10-30  Yao Qi  <yao.qi@linaro.org>
8547
8548         * gdb.threads/wp-replication.c (watch_count_done): Remove.
8549         (empty_cycle): Remove.
8550         (main): Don't call empty_cycle.  Don't use watch_count_done.
8551         * gdb.threads/wp-replication.exp: Don't set breakpoint on
8552         empty_cycle.  Rewrite the code counting HW watchpoints.
8553
8554 2015-10-30  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8555
8556         * gdb.reverse/fstatat-reverse.c: New test.
8557         * gdb.reverse/fstatat-reverse.exp: New file.
8558         * gdb.reverse/getresuid-reverse.c: New test.
8559         * gdb.reverse/getresuid-reverse.exp: New file.
8560         * gdb.reverse/pipe-reverse.c: New test.
8561         * gdb.reverse/pipe-reverse.exp: New file.
8562         * gdb.reverse/readv-reverse.c: New test.
8563         * gdb.reverse/readv-reverse.exp: New file.
8564         * gdb.reverse/recvmsg-reverse.c: New test.
8565         * gdb.reverse/recvmsg-reverse.exp: New file.
8566         * gdb.reverse/time-reverse.c: New test.
8567         * gdb.reverse/time-reverse.exp: New file.
8568         * gdb.reverse/waitpid-reverse.c: New test.
8569         * gdb.reverse/waitpid-reverse.exp: New file.
8570
8571 2015-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8572
8573         * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8574
8575 2015-10-26  Doug Evans  <dje@google.com>
8576
8577         PR symtab/17391
8578         * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8579         * gdb.dwarf2/bad-regnum.c: New file.
8580         * gdb.dwarf2/bad-regnum.exp: New file.
8581
8582 2015-10-26  Doug Evans  <dje@google.com>
8583
8584         PR python/18938
8585         * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8586         file.
8587
8588 2015-10-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8589
8590         * gdb.compile/compile.exp (compile code globalvar): Update expectation
8591         for a change by "Mention language in compile error message".
8592
8593 2015-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
8594
8595         PR python/18073
8596         * gdb.python/py-type.c (C::a_method): New.
8597         (C::a_const_method): New.
8598         (C::a_static_method): New.
8599         (a_function): New.
8600         * gdb.python/py-type.exp (test_fields): Test getting fields
8601         from function and method.
8602
8603 2015-10-21  Keven Boell  <keven.boell@intel.com>
8604
8605         * gdb.fortran/vla-alloc-assoc.exp: New file.
8606         * gdb.fortran/vla-datatypes.exp: New file.
8607         * gdb.fortran/vla-datatypes.f90: New file.
8608         * gdb.fortran/vla-history.exp: New file.
8609         * gdb.fortran/vla-ptype-sub.exp: New file.
8610         * gdb.fortran/vla-ptype.exp: New file.
8611         * gdb.fortran/vla-sizeof.exp: New file.
8612         * gdb.fortran/vla-sub.f90: New file.
8613         * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8614         * gdb.fortran/vla-value-sub-finish.exp: New file.
8615         * gdb.fortran/vla-value-sub.exp: New file.
8616         * gdb.fortran/vla-value.exp: New file.
8617         * gdb.fortran/vla-ptr-info.exp: New file.
8618         * gdb.mi/mi-vla-fortran.exp: New file.
8619         * gdb.mi/vla.f90: New file.
8620
8621 2015-10-21  Sandra Loosemore  <sandra@codesourcery.com>
8622
8623         * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8624         of hardwired timeout value.
8625
8626 2015-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
8627             Pedro Alves  <palves@redhat.com>
8628
8629         * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8630         * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8631
8632 2015-10-19  Josh Stone  <jistone@redhat.com>
8633
8634         * gdb.base/catch-syscall.c: Include <sched.h>.
8635         (unknown_syscall): New variable.
8636         (main): Trigger a vfork and an unknown syscall.
8637         * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8638         (unknown_syscall_number): Likewise.
8639         (check_call_to_syscall): Accept an optional syscall pattern.
8640         (check_return_from_syscall): Likewise.
8641         (check_continue): Likewise.
8642         (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8643         (test_catch_syscall_skipping_return): New test toggling off 'catch
8644         syscall' to step over the syscall return, then toggling back on.
8645         (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8646         during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8647         (do_syscall_tests): Call test_catch_syscall_without_args and
8648         test_catch_syscall_mid_vfork.
8649         (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8650         (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8651
8652 2015-10-19  Andrew Stubbs  <ams@codesourcery.com>
8653
8654         * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8655         print g_vE): Add new pass patterns.
8656         * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8657         print various symbol names for vptr fields.
8658
8659 2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
8660
8661         * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8662         results.
8663
8664 2015-10-12  Yao Qi  <yao.qi@linaro.org>
8665
8666         * gdb.arch/disp-step-insn-reloc.exp: New test case.
8667
8668 2015-10-12  Yao Qi  <yao.qi@linaro.org>
8669
8670         * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8671         is aarch64*-*-linux*.
8672
8673 2015-10-12  Yao Qi  <yao.qi@linaro.org>
8674
8675         * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8676         (can_relocate_bcond_true): ... it.
8677         (can_relocate_bcond_false): New function.
8678         (foo): Likewise.
8679         (can_relocate_bl): Likewise.
8680         (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8681         can_relocate_bl.
8682
8683 2015-10-12  Pierre-Marie de Rodat  <derodat@adacore.com>
8684
8685         * gdb.base/nested-addr.c: New file.
8686         * gdb.base/nested-addr.exp: New testcase.
8687
8688 2015-10-09  Markus Metzger  <markus.t.metzger@intel.com>
8689
8690         * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8691         * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8692         its output.  Ignore the output of "record goto begin" and instead
8693         check that GDB is replaying.
8694
8695 2015-10-09  Pedro Alves  <palves@redhat.com>
8696
8697         * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8698         (top level): Use it in the run with no args test.
8699
8700 2015-10-08  Iain Buclaw  <ibuclaw@gdcproject.org>
8701
8702         * gdb.dlang/properties.exp: New file.
8703
8704 2015-10-02  Sandra Loosemore  <sandra@codesourcery.com>
8705
8706         * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8707         whether or not address 0x1000 is mapped on the target.
8708
8709 2015-09-30  Simon Marchi  <simon.marchi@ericsson.com>
8710
8711         * gdb.python/py-type.exp: Do not run tests if binaries fail to
8712         build.
8713
8714 2015-09-30  Markus Metzger  <markus.t.metzger@intel.com>
8715
8716         * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8717         instruction-history test.
8718
8719 2015-09-28  Doug Evans  <dje@google.com>
8720
8721         * gdb.base/gcore.c (array_func): Add reference to static_array.
8722
8723 2015-09-25  Simon Marchi  <simon.marchi@ericsson.com>
8724
8725         * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8726         source line.
8727
8728 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8729
8730         * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8731         short or char as base type.
8732
8733 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8734
8735         * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8736         to allow any size enum.
8737
8738 2015-09-23  Pierre-Marie de Rodat  <derodat@adacore.com>
8739
8740         * gdb.ada/array_ptr_renaming.exp: New testcase.
8741         * gdb.ada/array_ptr_renaming/foo.adb: New file.
8742         * gdb.ada/array_ptr_renaming/pack.ads: New file.
8743
8744 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
8745
8746         * gdb.trace/ftrace-lock.c: New file.
8747         * gdb.trace/ftrace-lock.exp: New file.
8748
8749 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
8750
8751         * gdb.arch/insn-reloc.c: New file.
8752         * gdb.arch/ftrace-insn-reloc.exp: New file.
8753
8754 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
8755
8756         * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8757         instruction.
8758         * gdb.trace/pendshr1.c (pendfunc): Likewise.
8759         * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8760         * gdb.trace/range-stepping.c: Likewise.
8761         * gdb.trace/trace-break.c: Likewise.
8762         * gdb.trace/trace-mt.c (thread_function): Likewise.
8763         * gdb.trace/ftrace.c (marker): Likewise.
8764         * gdb.trace/trace-condition.c (marker): Likewise.
8765         * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8766         * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8767         is_aarch64_target.
8768
8769 2015-09-18  Doug Evans  <xdje42@gmail.com>
8770
8771         * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8772         * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8773
8774 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8775
8776         * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8777         the breakpoint.
8778
8779 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8780
8781         * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8782         the pending breakpoint.  Remove timeout override for "Run till
8783         MI pending breakpoint on pendfunc3 on thread 2" test.
8784
8785 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8786
8787         * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8788         filename pattern.
8789
8790 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8791
8792         * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8793         in breakpoint filename pattern.
8794
8795 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8796
8797         * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8798
8799 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8800
8801         * gdb.linespec/explicit.exp: Check for readline support for
8802         tab-completion tests.  Fix obvious typo.
8803
8804 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
8805
8806         * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8807         and replay.
8808
8809 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
8810
8811         * gdb.btrace/non-stop.c: New.
8812         * gdb.btrace/non-stop.exp: New.
8813
8814 2015-09-17  Pierre Langlois  <pierre.langlois@arm.com>
8815             Yao Qi  <yao.qi@linaro.org>
8816
8817         * gdb.trace/trace-condition.c: New file.
8818         * gdb.trace/trace-condition.exp: New file.
8819
8820 2015-09-16  Wei-cheng Wang  <cole945@gmail.com>
8821
8822         * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8823         for testing bytecode compilation.
8824
8825 2015-09-16  Pedro Alves  <palves@redhat.com>
8826             Sandra Loosemore <sandra@codesourcery.com>
8827
8828         * gdb.threads/non-stop-fair-events.c (timeout): New global.
8829         (SECONDS): Redefine.
8830         (main): Call pthread_kill and alarm early.
8831         * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8832         support.
8833         (test): If the target can't hardware step and doesn't support
8834         displaced stepping, increase the timeout.
8835
8836 2015-09-16  Pedro Alves  <palves@redhat.com>
8837
8838         * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8839         (enable_debug): New procedures.
8840         (test): Use them.  Bail out if waiting for threads fails.
8841         (top level): Bail out if a test fails.
8842
8843 2015-09-16  Yao Qi  <yao.qi@linaro.org>
8844
8845         * gdb.asm/asm-source.exp: Set asm-arch for
8846         aarch64*-*-* target.
8847         * gdb.asm/aarch64.inc: New file.
8848
8849 2015-09-15  Pierre-Marie de Rodat  <derodat@adacore.com>
8850
8851         * gdb.ada/array_of_variable_length.exp: New testcase.
8852         * gdb.ada/array_of_variable_length/foo.adb: New file.
8853         * gdb.ada/array_of_variable_length/pck.adb: New file.
8854         * gdb.ada/array_of_variable_length/pck.ads: New file.
8855
8856 2015-09-15  Doug Evans  <dje@google.com>
8857
8858         * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
8859         of function static local variable.
8860
8861 2015-09-15  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
8862
8863         * gdb.threads/tls-so_extern.exp: New test file.
8864         * gdb.threads/tls-so_extern.c: New test file.
8865         * gdb.threads/tls-so_extern_main.c: New test file.
8866
8867 2015-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
8868
8869         * gdb.opt/solib-intra-step-lib.c: New file.
8870         * gdb.opt/solib-intra-step-main.c: New file.
8871         * gdb.opt/solib-intra-step.exp: New file.
8872
8873 2015-09-15  Pedro Alves  <palves@redhat.com>
8874
8875         * gdb.threads/non-ldr-exc-3.exp (do_test): Use
8876         gdb_continue_to_breakpoint instead of gdb_test_multiple.
8877
8878 2015-09-14  Pedro Alves  <palves@redhat.com>
8879
8880         * gdb.base/hook-stop-continue.c: Delete.
8881         * gdb.base/hook-stop-continue.exp: Delete.
8882         * gdb.base/hook-stop-frame.c: Delete.
8883         * gdb.base/hook-stop-frame.exp: Delete.
8884         * gdb.base/hook-stop.c: New file.
8885         * gdb.base/hook-stop.exp: New file.
8886
8887 2015-09-14  Pierre-Marie de Rodat  <derodat@adacore.com>
8888
8889         * gdb.ada/access_to_packed_array.exp: New testcase.
8890         * gdb.ada/access_to_packed_array/foo.adb: New file.
8891         * gdb.ada/access_to_packed_array/pack.adb: New file.
8892         * gdb.ada/access_to_packed_array/pack.ads: New file.
8893
8894 2015-09-14  Markus Metzger  <markus.t.metzger@intel.com>
8895
8896         * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
8897         buffer size test.
8898
8899 2015-09-11  Don Breazeal  <donb@codesourcery.com>
8900
8901         * gdb.base/foll-exec.c: Add copyright header.  Fix
8902         formatting issues.
8903         * gdb.base/foll-exec.exp (zap_session): Delete proc.
8904         (do_exec_tests): Use clean_restart in place of zap_session,
8905         and for test initialization.  Fix formatting issues.  Use
8906         fail in place of perror.
8907         * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
8908         an expect statement to match an expression with output from
8909         the program under debug.
8910         * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
8911         non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
8912         * gdb.threads/non-ldr-exc-2.exp: Likewise.
8913         * gdb.threads/non-ldr-exc-3.exp: Likewise.
8914         * gdb.threads/non-ldr-exc-4.exp: Likewise.
8915
8916 2015-09-09  Doug Evans  <dje@google.com>
8917
8918         * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
8919
8920 2015-09-09  Doug Evans  <dje@google.com>
8921
8922         * gdb.base/pie-execl.exp: Fix result test of build_executable.
8923
8924 2015-09-09  Doug Evans  <dje@google.com>
8925
8926         * gdb.base/savedregs.exp: Fix typo.
8927
8928 2015-09-09  Pedro Alves  <palves@redhat.com>
8929
8930         * gdb.mi/mi-cli.exp: Add CLI finish tests.
8931
8932 2015-09-08  Sandra Loosemore  <sandra@codesourcery.com>
8933
8934         * gdb.threads/hand-call-in-threads.exp: Make sure the thread
8935         command actually switches threads.  Give up on remaining
8936         tests if target fails to stop at breakpoint.
8937
8938 2015-09-03  Pierre-Marie de Rodat  <derodat@adacore.com>
8939
8940         * gdb.ada/funcall_char.exp: New testcase.
8941         * gdb.ada/funcall_char/foo.adb: New file.
8942
8943 2015-09-01  Pierre-Marie de Rodat  <derodat@adacore.com>
8944
8945         * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
8946         expected outputs.  Add two testcases for completing ambiguous
8947         functions.
8948         * gdb.ada/complete/aux_pck.adb: New file.
8949         * gdb.ada/complete/aux_pck.ads: New file.
8950         * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
8951         Ambiguous_Func functions.
8952         * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
8953         * gdb.ada/complete/pck.adb: Likewise.
8954
8955 2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
8956
8957         * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
8958         failures to run the test program under GDB.
8959
8960 2015-08-26  Luis Machado  <lgustavo@codesourcery.com>
8961
8962         * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
8963         to C.
8964
8965 2015-08-26  Patrick Palka  <patrick@parcs.ath.cx>
8966
8967         * gdb.base/run-after-attach.exp: New test file.
8968         * gdb.base/run-after-attach.c: New test file.
8969
8970 2015-08-26  Don Breazeal  <donb@codesourcery.com>
8971
8972         * gdb.base/foll-exec-2.c: New test program.
8973         * gdb.base/foll-exec-2.exp: New test.
8974
8975 2015-08-25  Pierre-Marie de Rodat  <derodat@adacore.com>
8976
8977         * gdb.base/nested-subp1.exp: New file.
8978         * gdb.base/nested-subp1.c: New file.
8979         * gdb.base/nested-subp2.exp: New file.
8980         * gdb.base/nested-subp2.c: New file.
8981         * gdb.base/nested-subp3.exp: New file.
8982         * gdb.base/nested-subp3.c: New file.
8983
8984 2015-08-24  Pedro Alves  <palves@redhat.com>
8985
8986         * gdb.server/connect-without-multi-process.c: New file.
8987         * gdb.server/connect-without-multi-process.exp: New file.
8988
8989 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
8990
8991         * gdb.opt/inline-markers.c: Make z int.
8992
8993 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
8994
8995         * gdb.opt/inline-markers.c: Make z volatile.
8996
8997 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
8998
8999         * gdb.opt/inline-bt.c: New volatile global z.
9000         * gdb.opt/inline-cmds.c: Likewise.
9001         * gdb.opt/inline-locals.c: Likewise.
9002         * gdb.opt/inline-markers.c: New extern global z.
9003         (marker): Use z.
9004         (inline_fn): Likewise.
9005
9006 2015-08-24  Pedro Alves  <palves@redhat.com>
9007
9008         * config/m32r-stub.exp: Remove file.
9009         * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9010         * gdb.base/call-rt-st.exp: Likewise.
9011         * gdb.base/call-strs.exp: Likewise.
9012         * gdb.base/default.exp: Remove references to h8300-*-hms and
9013         *-*-udi*.
9014         * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9015
9016 2015-08-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9017
9018         * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9019         -Wno-psabi" if "-mcpu=native" fails.  For the tests with "finish"
9020         and "return" use KFAIL when GDB can not read/write the vector
9021         return value.
9022
9023 2015-08-21  Gary Benson <gbenson@redhat.com>
9024
9025         * gdb.trace/pending.exp: Cope with remote transfer warnings.
9026
9027 2015-08-20  Pedro Alves  <palves@redhat.com>
9028
9029         * gdb.server/solib-list.exp: No longer expect an interior stop in
9030         non-stop mode.
9031
9032 2015-08-20  Pedro Alves  <palves@redhat.com>
9033
9034         * gdb.server/connect-stopped-target.c: New file.
9035         * gdb.server/connect-stopped-target.exp: New file.
9036
9037 2015-08-20  Pedro Alves  <palves@redhat.com>
9038
9039         * gdb.dwarf2/comp-unit-lang.exp: New file.
9040         * gdb.dwarf2/comp-unit-lang.c: New file.
9041
9042 2015-08-20  Pierre-Marie de Rodat  <derodat@adacore.com>
9043
9044         * gdb.ada/attr_ref_and_charlit.exp: New testcase.
9045         * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
9046
9047 2015-08-19  Kevin Buettner  <kevinb@redhat.com>
9048
9049         * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
9050         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
9051
9052 2015-08-18  Doug Evans  <dje@google.com>
9053             Adrian Sendroiu <adrian.sendroiu@freescale.com>
9054
9055         * lib/gdb.exp (skip_python_tests_prompt): Renamed from
9056         skip_python_tests.  New arg prompt_regexp.
9057         (skip_python_tests): New function.
9058         * lib/mi-support.exp (mi_skip_python_tests): New function.
9059         * gdb.python/py-mi-objfile-gdb.py: New file.
9060         * gdb.python/py-mi-objfile.c: New file.
9061         * gdb.python/py-mi-objfile.exp: New file.
9062
9063 2015-08-17  Keith Seitz  <keiths@redhat.com>
9064
9065         * gdb.linespec/explicit.exp: Move strace test from here ...
9066         * gdb.trace/strace.exp: ... to here.
9067
9068 2015-08-15  Patrick Palka  <patrick@parcs.ath.cx>
9069
9070         * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
9071         * gdb.base/kill-detach-inferiors-cmd.c: New test file.
9072
9073 2015-08-14  Doug Evans  <xdje42@gmail.com>
9074
9075         * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
9076         inferior before selecting a new file.
9077
9078 2015-08-14  Doug Evans  <xdje42@gmail.com>
9079
9080         * gdb.mi/mi-disassemble.exp: Update.
9081         * gdb.base/disasm-optim.S: New file.
9082         * gdb.base/disasm-optim.c: New file.
9083         * gdb.base/disasm-optim.h: New file.
9084         * gdb.base/disasm-optim.exp: New file.
9085
9086 2015-08-14  Keith Seitz  <keiths@redhat.com>
9087
9088         * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
9089         "evaluated-by".
9090
9091 2015-08-13  Joel Brobecker  <brobecker@adacore.com>
9092
9093         * gdb.base/dso2dso.exp: Improve the testcase's documentation.
9094
9095 2015-08-13  Pierre-Marie de Rodat  <derodat@adacore.com>
9096
9097         * gdb.ada/fun_renaming.exp: New testcase.
9098         * gdb.ada/fun_renaming/fun_renaming.adb: New file.
9099         * gdb.ada/fun_renaming/pack.adb: New file.
9100         * gdb.ada/fun_renaming/pack.ads: New file.
9101
9102 2015-08-12  Keith Seitz  <keiths@redhat.com>
9103
9104         * gdb.base/dso2dso.exp: Pass basename of source file in call to
9105         gdb_get_line_number.
9106
9107 2015-08-12  Joel Brobecker  <brobecker@adacore.com>
9108
9109         * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
9110         gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
9111         gdb.base/dso2dso.exp: New files.
9112
9113 2015-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
9114             Pedro Alves  <palves@redhat.com>
9115             Keith Seitz  <keiths@redhat.com>
9116
9117         * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
9118         GDBFLAGS.
9119
9120 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9121
9122         * gdb.base/gdbhistsize-history.exp
9123         (test_histsize_history_setting): Use save_vars.
9124         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9125         Use save_vars.
9126         (test_no_truncation_of_unlimited_history_file): Use save_vars.
9127         * gdb.base/readline.exp: Use save_vars.
9128
9129 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9130
9131         * lib/gdb.exp (save_vars): New proc.
9132
9133 2015-08-11  Keith Seitz  <keiths@redhat.com>
9134
9135         * gdb.base/help.exp: Update help_breakpoint_text.
9136
9137 2015-08-11  Keith Seitz  <keiths@redhat.com>
9138
9139         * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
9140         (at toplevel): Call test_explicit_breakpoints.
9141         * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
9142         breakpoints.
9143         * lib/mi-support.exp (mi_make_breakpoint): Add support for
9144         breakpoint conditions, "-cond".
9145
9146 2015-08-11  Keith Seitz  <keiths@redhat.com>
9147
9148         * gdb.linespec/3explicit.c: New file.
9149         * gdb.linespec/cpexplicit.cc: New file.
9150         * gdb.linespec/cpexplicit.exp: New file.
9151         * gdb.linespec/explicit.c: New file.
9152         * gdb.linespec/explicit.exp: New file.
9153         * gdb.linespec/explicit2.c: New file.
9154         * gdb.linespec/ls-errs.exp: Add explicit location tests.
9155         * lib/gdb.exp (capture_command_output): Regexp-escape `command'
9156         before using in the matching pattern.
9157         Clarify that `prefix' is a regular expression.
9158
9159 2015-08-11  Keith Seitz  <keiths@redhat.com>
9160
9161         * gdb.base/dprintf-pending.exp: Update dprintf "without format"
9162         test.
9163         Add tests for missing ",FMT" and ",".
9164
9165 2015-08-10  Doug Evans  <dje@google.com>
9166             Keith Seitz  <keiths@redhat.com>
9167
9168         PR gdb/17960
9169         * gdb.base/completion.exp: Add location completer tests.
9170
9171 2015-08-07  Pedro Alves  <palves@redhat.com>
9172
9173         * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
9174         tests here.
9175         (top level): Run do_test with and without displaced stepping.
9176
9177 2015-08-07  Pedro Alves  <palves@redhat.com>
9178
9179         * gdb.base/valgrind-disp-step.c: New file.
9180         * gdb.base/valgrind-disp-step.exp: New file.
9181
9182 2015-08-07  Pedro Alves  <palves@redhat.com>
9183
9184         * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
9185         Delete function.
9186         (main): Add alarm.  Run an infinite loop instead of calling
9187         wait_threads.
9188         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
9189         comment.
9190         * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
9191         Delete function.
9192         (main): Add alarm.  Run an infinite loop instead of calling
9193         wait_threads.
9194         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
9195         comment.
9196
9197 2015-08-07  Pedro Alves  <palves@redhat.com>
9198
9199         * gdb.base/checkpoint-ns.exp: New file.
9200         * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
9201         standard_testfile.
9202
9203 2015-08-07  Markus Metzger  <markus.t.metzger@intel.com>
9204
9205         * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
9206         * gdb.btrace/instruction_history.exp: Update.
9207         * gdb.btrace/tsx.exp: New.
9208         * gdb.btrace/tsx.c: New.
9209
9210 2015-08-06  Pedro Alves <palves@redhat.com>
9211
9212         * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
9213         increase timeout.
9214         * gdb.reverse/until-precsave.exp: Bump timeouts.
9215
9216 2015-08-06  Pedro Alves  <palves@redhat.com>
9217
9218         * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
9219
9220 2015-08-06  Pedro Alves  <palves@redhat.com>
9221
9222         PR gdb/18749
9223         * gdb.threads/process-dies-while-handling-bp.c: New file.
9224         * gdb.threads/process-dies-while-handling-bp.exp: New file.
9225
9226 2015-08-06  Pedro Alves  <palves@redhat.com>
9227
9228         * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
9229         * gdb.threads/forking-threads-plus-breakpoint.c: New file.
9230
9231 2015-08-05  Pedro Alves  <palves@redhat.com>
9232
9233         * gdb.threads/next-while-other-thread-longjmps.c: New file.
9234         * gdb.threads/next-while-other-thread-longjmps.exp: New file.
9235
9236 2015-08-03  Sandra Loosemore  <sandra@codesourcery.com>
9237
9238         * gdb.base/bp-permanent.exp: Report test as unsupported if
9239         the target cannot stop at the permanent breakpoint.
9240
9241 2015-08-03  Doug Evans  <dje@google.com>
9242
9243         * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
9244         10000.
9245
9246 2015-08-03  Doug Evans  <dje@google.com>
9247
9248         * Makefile.in (workers/%.worker, build-perf): New rule.
9249         (GDB_PERFTEST_MODE): New variable.
9250         (check-perf): Use it.
9251         (clean): Clean up gdb.perf parallel build subdirs.
9252         * lib/build-piece.exp: New file.
9253         * lib/gdb.exp (make_gdb_parallel_path): New function
9254         (standard_output_file, standard_temp_file): Call it.
9255         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9256         of $GDB_PARALLEL.
9257         * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
9258
9259 2015-08-03  Doug Evans  <dje@google.com>
9260
9261         * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
9262         (LOG_FILE_NAME): New global.
9263         (TextReporter.__init__): Initialize self.txt_sum.
9264         (TextReporter.report): Add support for multiple data-points.
9265         Move report to perftest.sum, put raw data in perftest.log.
9266         (TextReporter.start): Open sum and log files.
9267         (TextReporter.end): Close sum and log files.
9268         * gdb.perf/lib/perftest/testresult.py
9269         (SingleStatisticTestResult.record): Handle multiple data-points.
9270
9271 2015-07-31  Pedro Alves  <palves@redhat.com>
9272
9273         * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
9274         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9275         kill_wait_spawned_process instead of explicit "kill -9".
9276         * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
9277         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9278         kill_wait_spawned_process.
9279         * gdb.base/attach-twice.exp: Likewise.
9280         * gdb.base/attach.exp: Likewise.
9281         (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
9282         gdb_test_multiple.
9283         * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
9284         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9285         kill_wait_spawned_process.
9286         * gdb.base/valgrind-infcall.exp: Likewise.
9287         * gdb.multi/multi-attach.exp: Likewise.
9288         * gdb.python/py-prompt.exp: Likewise.
9289         * gdb.python/py-sync-interp.exp: Likewise.
9290         * gdb.server/ext-attach.exp: Likewise.
9291         * gdb.threads/attach-into-signal.exp (corefunc): Use
9292         spawn_wait_for_attach, spawn_id_get_pid and
9293         kill_wait_spawned_process.
9294         * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
9295         spawn_wait_for_attach returning a spawn id instead of a pid.  Use
9296         spawn_id_get_pid and kill_wait_spawned_process.
9297         * gdb.threads/attach-stopped.exp (corefunc): Use
9298         spawn_wait_for_attach, spawn_id_get_pid and
9299         kill_wait_spawned_process.
9300         * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
9301         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9302         kill_wait_spawned_process instead of explicit "kill -9".
9303         * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
9304         (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
9305         (spawn_wait_for_attach): Use spawn instead of exec to spawn
9306         processes.  Don't map cygwin/windows pids here.  Now returns a
9307         spawn id list.
9308
9309 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9310
9311         * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
9312         4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
9313         correct patch.
9314
9315 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9316
9317         * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9318
9319 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9320
9321         Reapply:
9322         2014-05-21  Mark Wielaard  <mjw@redhat.com>
9323
9324         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9325
9326 2015-07-30  Pedro Alves  <palves@redhat.com>
9327
9328         * linux-low.c (handle_extended_wait): Set the child's last
9329         reported status to TARGET_WAITKIND_STOPPED.
9330
9331 2015-07-30  Pedro Alves  <palves@redhat.com>
9332
9333         PR threads/18600
9334         * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9335         only shows inferior 1.
9336
9337 2015-07-30  Simon Marchi  <simon.marchi@ericsson.com>
9338             Pedro Alves  <palves@redhat.com>
9339
9340         PR threads/18600
9341         * gdb.threads/fork-plus-threads.c: New file.
9342         * gdb.threads/fork-plus-threads.exp: New file.
9343
9344 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9345
9346         * gdb.base/batch-preserve-term-settings.exp
9347         (test_terminal_settings_preserved_after_cli_exit): Use
9348         send_quit_command.
9349
9350 2015-07-29  Pedro Alves  <palves@redhat.com>
9351             Don Breazeal  <donb@codesourcery.com>
9352
9353         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9354         output from both inferior_spawn_id and gdb_spawn_id.
9355
9356 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9357
9358         * gdb.threads/attach-into-signal.exp (corefunc): Use
9359         with_test_prefix on nested loops, uniquefying the test messages.
9360
9361 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9362
9363         * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9364         commit.
9365
9366 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9367
9368         * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9369         New proc.
9370         (test_terminal_settings_preserved_after_sigterm): New test.
9371
9372 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9373
9374         * gdb.base/batch-preserve-term-settings.exp
9375         (test_terminal_settings_preserved_after_cli_exit): New test.
9376
9377 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9378
9379         * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9380         manipulation of saved_gdbflags.
9381         (test_terminal_settings_preserved): Remove global declaration of
9382         the unused variable pagination_prompt.  Remove manipulation of
9383         saved_gdbflags.  Use a local variable EXTRA_GDBFLAGS instead of
9384         GDBFLAGS.
9385
9386 2015-07-29  Pedro Alves  <palves@redhat.com>
9387
9388         * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9389
9390 2015-07-29  Pedro Alves  <palves@redhat.com>
9391
9392         * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9393         at the top.
9394
9395 2015-07-29  Pedro Alves  <palves@redhat.com>
9396
9397         * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9398         (main): Call gdb_unbuffer_output.
9399         * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9400         (main): Call gdb_unbuffer_output.
9401         * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9402         (main): Call gdb_unbuffer_output.
9403         * gdb.base/call-strs.exp: Adjust to step over the
9404         gdb_unbuffer_output call.
9405         * gdb.base/catch-gdb-caused-signals.c: Include
9406         "../lib/unbuffer_output.c".
9407         (main): Call gdb_unbuffer_output.
9408         * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
9409         (main): Call gdb_unbuffer_output.
9410         * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
9411         (main): Call gdb_unbuffer_output.
9412         * gdb.base/run.c: Include "../lib/unbuffer_output.c".
9413         (main): Call gdb_unbuffer_output.
9414         * gdb.base/shlib-call.exp: Adjust to step over the
9415         gdb_unbuffer_output call.
9416         * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9417         (main): Call gdb_unbuffer_output.
9418         * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9419         (main): Call gdb_unbuffer_output.
9420         * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9421         (main): Rename to ...
9422         (test): ... this.
9423         (main): Reimplement.
9424         * gdb.base/varargs.exp: Run to test instead of to main.
9425         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9426         (main): Call gdb_unbuffer_output.
9427
9428 2015-07-29  Pedro Alves  <palves@redhat.com>
9429
9430         * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9431         factore out from mi_continue_dprintf.  For call-style dprintfs,
9432         expect dprintf output out of $inferior_spawn_id.
9433         (mi_continue_dprintf): Use mi_expect_dprintf.
9434         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9435         (main): Call gdb_unbuffer_output.
9436
9437 2015-07-29  Pedro Alves  <palves@redhat.com>
9438
9439         * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9440         (default_mi_gdb_start): Set inferior_spawn_id instead of
9441         mi_inferior_spawn_id.  If $inferior_spawn_id is not set, set it to
9442         gdb_spawn_id.
9443         (mi_gdb_test): Always expect inferior output from both
9444         $inferior_spawn_id and $gdb_spawn_id.
9445
9446 2015-07-29  Pedro Alves  <palves@redhat.com>
9447
9448         * gdb.gdb/selftest.exp (test_with_self): Update comment.  Use
9449         send_inferior and $inferior_spawn_id.
9450
9451 2015-07-29  Pedro Alves  <palves@redhat.com>
9452
9453         * gdb.gdb/complaints.exp (test_initial_complaints)
9454         (test_serial_complaints, test_short_complaints): Use
9455         gdb_test_stdio.
9456         (test_empty_complaint): Handle $inferior_spawn_id !=
9457         $gdb_spawn_id.
9458
9459 2015-07-29  Pedro Alves  <palves@redhat.com>
9460
9461         * gdb.base/varargs.exp: Use gdb_test_stdio.
9462
9463 2015-07-29  Pedro Alves  <palves@redhat.com>
9464
9465         * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9466
9467 2015-07-29  Pedro Alves  <palves@redhat.com>
9468
9469         * gdb.base/ending-run.exp: Use gdb_test_stdio.
9470
9471 2015-07-29  Pedro Alves  <palves@redhat.com>
9472
9473         * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9474         parameter into two new parameters, "inf_result" and "gdb_result".
9475         Expect inferior output and gdb output from $inferior_spawn_id and
9476         $gdb_spawn_id, respectively.  Adjust all callers.
9477
9478 2015-07-29  Pedro Alves  <palves@redhat.com>
9479
9480         * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9481         of gdb_test_sequence.
9482
9483 2015-07-29  Pedro Alves  <palves@redhat.com>
9484
9485         * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9486         (saw_spurious_output): Expect inferior output from
9487         $inferior_spawn_id.  Use gdb_test_stdio.
9488
9489 2015-07-29  Pedro Alves  <palves@redhat.com>
9490
9491         * gdb.base/dprintf.exp: Use standard_testfile.  Change
9492         prepare_for_testing call.
9493         (srcfile): Don't set.
9494         (restart): New procedure.
9495         (test_dprintf): New procecure, use to continue over dprintfs.
9496         (test_call, test_agent): New procedures, tests moved here.
9497         Restart gdb and recreate dprintfs.  Adjust expected output.
9498
9499 2015-07-29  Pedro Alves  <palves@redhat.com>
9500
9501         * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9502
9503 2015-07-29  Pedro Alves  <palves@redhat.com>
9504
9505         * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9506
9507 2015-07-29  Pedro Alves  <palves@redhat.com>
9508
9509         * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9510         gdb_test_stdio.
9511
9512 2015-07-29  Pedro Alves  <palves@redhat.com>
9513
9514         * lib/gdb.exp (gdb_test_stdio): New procedure.
9515
9516 2015-07-29  Pedro Alves  <palves@redhat.com>
9517
9518         * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9519
9520 2015-07-29  Pedro Alves  <palves@redhat.com>
9521
9522         * gdb.base/call-signal-resume.exp: Remove check for
9523         gdb,noinferiorio.  Don't expect "no signal".  Use gdb_test.
9524         * gdb.base/unwindonsignal.exp: Likewise.
9525         * gdb.base/call-signals.c (gen_signal): Remove printf call.
9526         * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9527
9528 2015-07-29  Pedro Alves  <palves@redhat.com>
9529
9530         * gdb.base/siginfo-addr.c (pass): New function.
9531         (handler): Call it iff si_addr is correct.
9532         * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9533         Set a breakpoint at "pass" and continue to it.
9534
9535 2015-07-28  Sergio Durigan Junior  <sergiodj@redhat.com>
9536
9537         * gdb.python/py-objfile.exp: Make some tests have unique names.
9538         * gdb.python/py-pp-registration.exp: Likewise.
9539
9540 2015-07-28  Pedro Alves  <palves@redhat.com>
9541
9542         * gdb.server/server-exec-info.exp: Issue a "disconnect".
9543
9544 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9545
9546         * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9547
9548 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9549
9550         * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9551
9552 2015-07-27  Patrick Palka  <patrick@parcs.ath.cx>
9553
9554         * gdb.base/gdb-sigterm-2.exp: New test.
9555
9556 2015-07-25  Doug Evans  <xdje42@gmail.com>
9557
9558         Revert:
9559         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9560         (workers/%.worker, build-perf): New rule.
9561         (GDB_PERFTEST_MODE): New variable.
9562         (check-perf): Use it.
9563         (clean): Clean up gdb.perf parallel build subdirs.
9564         * lib/build-piece.exp: New file.
9565         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9566         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9567         name.
9568         (standard_temp_file): Ditto.
9569         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9570         of $GDB_PARALLEL.
9571
9572 2015-07-24  Doug Evans  <dje@google.com>
9573
9574         * gdb.perf/lib/perftest/utils.py: New file.
9575         * gdb.perf/gm-hello.cc: New file.
9576         * gdb.perf/gm-pervasive-typedef.cc: New file.
9577         * gdb.perf/gm-pervasive-typedef.h: New file.
9578         * gdb.perf/gm-std.cc: New file.
9579         * gdb.perf/gm-std.h: New file.
9580         * gdb.perf/gm-use-cerr.cc: New file.
9581         * gdb.perf/gm-utils.h: New file.
9582         * gdb.perf/gmonster-null-lookup.py: New file.
9583         * gdb.perf/gmonster-pervasive-typedef.py: New file.
9584         * gdb.perf/gmonster-print-cerr.py: New file.
9585         * gdb.perf/gmonster-ptype-string.py: New file.
9586         * gdb.perf/gmonster-runto-main.py: New file.
9587         * gdb.perf/gmonster-select-file.py: New file.
9588         * gdb.perf/gmonster1-null-lookup.exp: New file.
9589         * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9590         * gdb.perf/gmonster1-print-cerr.exp: New file.
9591         * gdb.perf/gmonster1-ptype-string.exp: New file.
9592         * gdb.perf/gmonster1-runto-main.exp: New file.
9593         * gdb.perf/gmonster1-select-file.exp: New file.
9594         * gdb.perf/gmonster1.cc: New file.
9595         * gdb.perf/gmonster1.exp: New file.
9596         * gdb.perf/gmonster2-null-lookup.exp: New file.
9597         * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9598         * gdb.perf/gmonster2-print-cerr.exp: New file.
9599         * gdb.perf/gmonster2-ptype-string.exp: New file.
9600         * gdb.perf/gmonster2-runto-main.exp: New file.
9601         * gdb.perf/gmonster2-select-file.exp: New file.
9602         * gdb.perf/gmonster2.cc: New file.
9603         * gdb.perf/gmonster2.exp: New file.
9604
9605 2015-07-24  Doug Evans  <dje@google.com>
9606
9607         * gdb.perf/README: New file.
9608         * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9609         * lib/gen-perf-test.exp: New file.
9610
9611 2015-07-24  Doug Evans  <dje@google.com>
9612
9613         * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9614         (PerfTest::startup): New function.
9615         (PerfTest::run): Return result of calling body.
9616         (PerfTest::assemble): Rewrite.
9617         * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9618         * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9619         * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9620         * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9621         * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9622
9623 2015-07-24  Doug Evans  <dje@google.com>
9624
9625         * lib/gdb.exp (clean_restart): Make executable optional.
9626
9627 2015-07-24  Doug Evans  <dje@google.com>
9628
9629         * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9630         compiler_info references.
9631         * gdb.cp/temargs.exp: Ditto.
9632         * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9633         (get_compiler_info): Early exit if already computed.  Set compiler_info
9634         to "unknown" if there was a problem.
9635         (test_compiler_info): Add function comment.  Call get_compiler_info.
9636
9637 2015-07-24  Doug Evans  <dje@google.com>
9638
9639         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9640         (workers/%.worker, build-perf): New rule.
9641         (GDB_PERFTEST_MODE): New variable.
9642         (check-perf): Use it.
9643         (clean): Clean up gdb.perf parallel build subdirs.
9644         * lib/build-piece.exp: New file.
9645         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9646         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9647         name.
9648         (standard_temp_file): Ditto.
9649         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9650         of $GDB_PARALLEL.
9651
9652 2015-07-24  Doug Evans  <dje@google.com>
9653
9654         * lib/future.exp (gdb_default_target_compile): New option
9655         "early_flags".
9656         * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9657         --as-needed.
9658
9659 2015-07-24  Sergio Durigan Junior  <sergiodj@redhat.com>
9660
9661         * gdb.base/catch-syscall.exp: Call gdb_exit before
9662         gdb_skip_xml_test.
9663
9664 2015-07-24  Pedro Alves  <palves@redhat.com>
9665
9666         * gdb.python/py-events.exp: Accept output between the stop event
9667         and the prompt.
9668         * gdb.python/py-evsignal.exp: Likewise.
9669         * gdb.python/py-evthreads.exp: Likewise.
9670
9671 2015-07-24  Pedro Alves  <palves@redhat.com>
9672
9673         PR gdb/18717
9674         * gdb.threads/non-ldr-exit.c: New file.
9675         * gdb.threads/non-ldr-exit.exp: New file.
9676
9677 2015-07-24  Yao Qi  <yao.qi@linaro.org>
9678
9679         * gdb.server/ext-wrapper.exp: Test --wrapper option when
9680         restarting process.
9681
9682 2015-07-24  Yao Qi  <yao.qi@linaro.org>
9683
9684         * gdb.server/ext-restart.exp: New file.
9685
9686 2015-07-24  Yao Qi  <yao.qi@linaro.org>
9687
9688         * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9689         argument options.
9690         * gdb.server/ext-wrapper.exp: New file.
9691
9692 2015-07-23  Doug Evans  <dje@google.com>
9693
9694         * gdb.dwarf2/dw2-dummy-cu.S: New file.
9695         * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9696
9697 2015-07-23  Pierre-Marie de Rodat  <derodat@adacore.com>
9698
9699         * gdb.ada/var_arr_typedef.exp: New testcase.
9700         * gdb.ada/var_arr_typedef/pack.adb: New file.
9701         * gdb.ada/var_arr_typedef/pack.ads: New file.
9702         * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9703
9704 2015-07-20  Joel Brobecker  <brobecker@adacore.com>
9705
9706         * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9707
9708 2015-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
9709
9710         * gdb.arch/i386-biarch-core.exp: Replace istarget
9711         by "complete set gnutarget". Remove expectation for the "core-file"
9712         command.
9713
9714 2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9715
9716         Revert the previous commit:
9717         Tests for validate symbol file using build-id.
9718
9719 2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
9720
9721         Tests for validate symbol file using build-id.
9722         * gdb.base/solib-mismatch-lib.c: New file.
9723         * gdb.base/solib-mismatch-libmod.c: New file.
9724         * gdb.base/solib-mismatch.c: New file.
9725         * gdb.base/solib-mismatch.exp: New file.
9726
9727 2015-07-15  Sandra Loosemore  <sandra@codesourcery.com>
9728
9729         * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9730         nios2-*-linux*.
9731         * gdb.base/sigbpt.exp (stepi_out): Likewise.
9732         * gdb.base/siginfo.exp: Likewise.
9733         * gdb.base/sigstep.exp (advance, advancei): Likewise.
9734
9735 2015-07-15  Pierre Langlois  <pierre.langlois@arm.com>
9736
9737         * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9738         Move it to ...
9739         * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9740         ... here.
9741         * gdb.trace/range-stepping.exp: Check that the target supports
9742         range stepping.
9743
9744 2015-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
9745
9746         * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9747
9748 2015-07-14  Pedro Alves  <palves@redhat.com>
9749
9750         * gdb.base/killed-outside.exp: New file.
9751         * gdb.base/killed-outside.c: New file.
9752
9753 2015-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
9754
9755         * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9756         (n at main): New.
9757         * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9758
9759 2015-07-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9760
9761         * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9762         infcall tests instead of setting up for KFAIL.
9763
9764 2015-07-10  Markus Metzger  <markus.t.metzger@intel.com>
9765
9766         * gdb.btrace/record_goto-step.exp: New.
9767
9768 2015-07-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
9769
9770         PR compile/18484
9771         * gdb.compile/compile.c (struct struct_type): Add volatile to
9772         selffield's type.
9773         * gdb.compile/compile.exp
9774         (compile code struct_object.selffield = &struct_object): Skip further
9775         struct_object tests if this one xfails.
9776
9777 2015-07-08  Robert O'Callahan  <robert@ocallahan.org>
9778
9779         PR exp/18617
9780         * gdb.trace/ax.exp: Add test.
9781
9782 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9783
9784         * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9785         instead of istarget "aarch64*-*-*".
9786         * gdb.arch/aarch64-fp.exp: Likewise.
9787         * gdb.base/float.exp: Likewise.
9788         * gdb.reverse/aarch64.exp: Likewise.
9789         * lib/gdb.exp (is_aarch64_target): New proc.
9790
9791 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9792
9793         * lib/gdb.exp (is_aarch32_target): New proc.
9794         * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9795         instead of "istarget "arm*-*-*"".
9796         * gdb.arch/arm-disp-step.exp: Likewise.
9797         * gdb.arch/thumb-bx-pc.exp: Likewise.
9798         * gdb.arch/thumb-prologue.exp: Likewise.
9799         * gdb.arch/thumb-singlestep.exp: Likewise.
9800         * gdb.base/disp-step-syscall.exp: Likewise.
9801         * gdb.base/float.exp: Likewise.
9802
9803 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9804
9805         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9806         Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9807
9808 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9809
9810         * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9811         is aarch64.  If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9812         if it exists.
9813         * gdb.multi/multi-arch.exp: Likewise.
9814
9815 2015-07-07  Simon Marchi  <simon.marchi@ericsson.com>
9816
9817         * gdb.python/py-lazy-string.exp: Add missing parentheses to
9818         print.
9819
9820 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9821
9822         * gdb.arch/thumb-singlestep.exp: Do one more single step.
9823
9824 2015-06-30  Martin Galvan  <martin.galvan@tallertechnologies.com>
9825
9826         * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9827         '[' and ']' characters.
9828
9829 2015-06-30  Iain Buclaw  <ibuclaw@gdcproject.org>
9830
9831         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9832
9833 2015-06-29  Pedro Alves  <palves@redhat.com>
9834
9835         PR threads/18127
9836         * gdb.threads/hand-call-new-thread.c: New file.
9837         * gdb.threads/hand-call-new-thread.c: New file.
9838
9839 2015-06-26  Keith Seitz  <keiths@redhat.com>
9840             Doug Evans  <dje@google.com>
9841
9842         PR 16253
9843         * gdb.cp/var-tag-2.cc: New file.
9844         * gdb.cp/var-tag-3.cc: New file.
9845         * gdb.cp/var-tag-4.cc: New file.
9846         * gdb.cp/var-tag.cc: New file.
9847         * gdb.cp/var-tag.exp: New file.
9848
9849 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
9850
9851         * gdb.base/history-duplicates.exp: New test.
9852
9853 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
9854
9855         * gdb.base/completion.exp: Test the completion of the "focus"
9856         command.
9857
9858 2015-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
9859
9860         * gdb.arch/amd64-prologue-skip.S: New file.
9861         * gdb.arch/amd64-prologue-skip.exp: New file.
9862
9863 2015-06-25  Simon Marchi  <simon.marchi@ericsson.com>
9864
9865         * gdb.python/py-prettyprint.exp (run_lang_tests): Add
9866         is_address_zero_readable check.
9867
9868 2015-06-24  Peter Bergner  <bergner@vnet.ibm.com>
9869
9870         * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
9871         * gdb.arch/powerpc-power.s <rfebb>: Likewise.
9872
9873 2015-06-24  Yao Qi  <yao.qi@linaro.org>
9874
9875         * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
9876         linux targets.
9877
9878 2015-06-24  Yao Qi  <yao.qi@linaro.org>
9879
9880         * lib/gdb.exp (supports_get_siginfo_type): New proc.
9881         * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
9882         * gdb.base/siginfo-thread.exp: Likewise.
9883
9884 2015-06-22  Yao Qi  <yao.qi@linaro.org>
9885
9886         * boards/remote-gdbserver-on-localhost.exp: Add comments.
9887
9888 2015-06-22  Yao Qi  <yao.qi@linaro.org>
9889
9890         * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
9891         aarch64*-*-*.
9892         (skip_hw_watchpoint_tests): Likewise.
9893
9894 2015-06-18  Patrick Palka  <patrick@parcs.ath.cx>
9895
9896         * gdb.base/gdbinit-history.exp: Test the interaction between
9897         setting GDBHISTSIZE and setting the history size via .gdbinit.
9898
9899 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
9900
9901         PR gdb/16999
9902         * gdb.base/gdbhistsize-history.exp: New test.
9903
9904 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
9905
9906         * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9907         with GDBHISTSIZE.
9908         * gdb.base/readline.exp: Likewise.
9909
9910 2015-06-17  Yao Qi  <yao.qi@linaro.org>
9911
9912         * lib/gdb.exp (get_build_id): Move braces and "else" to the same
9913         line.
9914
9915 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
9916
9917         * gdb.base/gdbinit-history.exp: Add test case to check that
9918         an unlimited history file does not get truncated on exit.
9919
9920 2015-06-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9921
9922         * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
9923         (VECTOR): New macro.  Use it...
9924         (int4, uint4, char4, float4, int2, longlong2, float2, double2):
9925         ...for these typedefs.
9926         (int8, char1, int1, double1): New typedefs.
9927         (struct just_int2, struct two_int2): New structures.
9928         (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
9929         (add_structvecs, add_singlevecs): New functions.
9930         (main): Call add_some_intvecs twice.
9931         * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
9932         the compile and exit upon failure.  Try compiling for the "native"
9933         architecture.  Test inferior function calls with vector arguments
9934         and vector return value handling with "finish" and "return".
9935
9936 2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
9937
9938         * gdb.base/sepdebug.exp: Add EXEEXT where needed.
9939         * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
9940         PE file.
9941         * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
9942
9943 2015-06-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
9944
9945         PR breakpoints/16465
9946         * gdb.mi/mi-dprintf-pending.c: New file.
9947         * gdb.mi/mi-dprintf-pending.exp: New test.
9948         * gdb.mi/mi-dprintf-pendshr.c: New file.
9949
9950 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
9951             Mircea Gherzan  <mircea.gherzan@intel.com>
9952
9953         * gdb.arch/i386-mpx-map.c: New file.
9954         * gdb.arch/i386-mpx-map.exp: New File.
9955
9956 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
9957
9958         * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
9959         * gdb.arch/i386-mpx.exp: Indentation fixed.
9960
9961 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
9962
9963         * gdb.arch/i386-mpx.c: Added final return to the have_mpx
9964         function and improved indentation.
9965         * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
9966         gdb_test_multiple. Added additional tests to skip the test.
9967
9968 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
9969
9970         * gdb.arch/i386-avx512.c: Change path in include file.
9971         * gdb.arch/i386-avx512.exp: Change include dir path
9972         compilation flag.
9973         * gdb.arch/i386-mpx.c: Change path in include file.
9974         * gdb.arch/i386-mpx.exp: Change include dir path compilation
9975         flag.
9976
9977 2015-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
9978
9979         * gdb.compile/compile-print.exp (compile print *vararray@3)
9980         (compile print *vararrayp@3): Change xfail to kfail compile/18489.
9981
9982 2015-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
9983
9984         * gdb.compile/compile.exp (keep jit in memory): Rename to ...
9985         (do not keep jit in memory): ... this.
9986         (expect 5): Change it to ...
9987         (expect no 5): ... this.
9988
9989 2015-06-02  Simon Marchi  <simon.marchi@ericsson.com>
9990
9991         PR gdb/15564
9992         * gdb.mi/mi-detach.exp: New file.
9993
9994 2015-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
9995
9996         PR symtab/18392
9997         * gdb.arch/amd64-tailcall-self.S: New file.
9998         * gdb.arch/amd64-tailcall-self.c: New file.
9999         * gdb.arch/amd64-tailcall-self.exp: New file.
10000
10001 2015-05-28  Don Breazeal  <donb@codesourcery.com>
10002
10003         * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10004         tests for remote targets by checking is_target_gdbserver.
10005
10006 2015-05-27  Doug Evans  <dje@google.com>
10007
10008         * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10009         * gdb.dwarf2/opaque-type-lookup.c: New file.
10010         * gdb.dwarf2/opaque-type-lookup.exp: New file.
10011
10012 2015-05-26  Doug Evans  <dje@google.com>
10013
10014         * gdb.cp/iostream.cc: New file.
10015         * gdb.cp/iostream.exp: New file.
10016
10017 2015-05-26  Doug Evans  <dje@google.com>
10018
10019         * gdb.dwarf2/dw2-op-call.exp: Update.
10020         * gdb.dwarf2/dw4-sig-types.exp: Update.
10021         * gdb.dwarf2/implptr.exp: Update.
10022         * gdb.mi/mi-cmd-param-changed.exp: Update.
10023
10024 2015-05-26  Doug Evans  <dje@google.com>
10025
10026         * gdb.python/py-lazy-string.c: New file.
10027         * gdb.python/py-lazy-string.exp: New file.
10028         * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
10029         (main): Update.  Add estring3.
10030         * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
10031         * gdb.python/py-prettyprint.py (pp_ls): Handle length.
10032
10033 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10034             Yao Qi  <yao.qi@linaro.org>
10035
10036         * gdb.reverse/aarch64.c: New.
10037         * gdb.reverse/aarch64.exp: New.
10038
10039 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10040
10041         * lib/gdb.exp (supports_process_record): Return true for
10042         aarch64*-linux*.
10043         (supports_reverse): Likewise.
10044
10045 2015-05-22  Patrick Palka  <patrick@parcs.ath.cx>
10046
10047         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10048         Use with_test_prefix.
10049
10050 2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
10051
10052         * gdb.base/completion.exp: Add test for completion of layout
10053         names.
10054
10055 2015-05-20  Andrew Burgess  <andrew.burgess@embecosm.com>
10056
10057         * lib/gdb.exp (skip_tui_tests): New proc.
10058         * gdb.base/tui-layout.exp: Check skip_tui_tests.
10059
10060 2015-05-19  Pedro Alves  <palves@redhat.com>
10061
10062         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10063         Save the whole env array instead of just HOME.  Unset HISTSIZE in
10064         the environment while testing.  Restore whole environment
10065         afterwards.
10066
10067 2015-05-16  Doug Evans  <xdje42@gmail.com>
10068
10069         * gdb.guile/scm-ports.c: New file.
10070         * gdb.guile/scm-ports.exp: Add memory port tests.
10071
10072 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10073
10074         * gdb.compile/compile-print.c: New file.
10075         * gdb.compile/compile-print.exp: New file.
10076
10077 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10078
10079         * gdb.compile/compile-ops.exp: Cast param to void.
10080         * gdb.compile/compile.exp: Complete type for _gdb_expr.
10081         (compile code struct_object.selffield = &struct_object): Add xfail.
10082
10083 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10084
10085         * gdb.ada/arr_enum_with_gap: New testcase.
10086
10087 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10088
10089         * gdb.ada/byte_packed_arr: New testcase.
10090
10091 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10092
10093         * gdb.ada/pckd_neg: New testcase.
10094
10095 2015-05-13  Patrick Palka  <patrick@parcs.ath.cx>
10096
10097         PR gdb/17820
10098         * gdb.base/gdbinit-history.exp: New test.
10099         * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
10100         * gdb.base/gdbinit-history/zero/.gdbinit: New file.
10101
10102 2015-05-09  Siva Chandra Reddy  <sivachandra@google.com>
10103
10104         * gdb.python/py-xmethods.cc: Enhance test case.
10105         * gdb.python/py-xmethods.exp: New tests.
10106         * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
10107         function.
10108         (B_indexoper): Likewise.
10109         (global_dm_list) : Add new xmethod worker functions.
10110
10111 2015-05-08  Sergio Durigan Junior  <sergiodj@redhat.com>
10112
10113         * gdb.base/coredump-filter.exp: Correctly unset
10114         "coredump_var_addr" array.
10115
10116 2015-05-08  Pedro Alves  <palves@redhat.com>
10117
10118         * gdb.server/non-existing-program.exp: Unset spawn_id.
10119
10120 2015-05-08  Siva Chandra Reddy  <sivachandra@google.com>
10121
10122         PR python/18291
10123         * gdb.python/py-xmethods.exp: Add tests.
10124
10125 2015-05-08  Yao Qi  <yao.qi@linaro.org>
10126
10127         PR gdb/18208
10128         * gdb.base/coredump-filter.c (set_coredump_filter): New function.
10129         * gdb.base/coredump-filter.exp (do_save_core): Call inferior
10130         function set_coredump_filter, and remove remote_exec call.
10131         Remove argument ipid.  Callers update.
10132         (top level): Don't get inferior's PID.
10133
10134 2015-05-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10135
10136         * gdb.base/watch_thread_num.exp: Skip test on targets without
10137         access watchpoints.
10138
10139 2015-05-06  Pedro Alves  <palves@redhat.com>
10140
10141         PR server/18081
10142         * gdb.server/non-existing-program.exp: New file.
10143
10144 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10145
10146         * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
10147
10148 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10149
10150         * gdb.ada/out_of_line_in_inlined: New testcase.
10151
10152 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10153
10154         * gdb.ada/var_rec_arr: New testcase.
10155
10156 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10157
10158         * gdb.base/break-idempotent.exp: If
10159         skip_hw_watchpoint_multi_tests returns true, skip the tests
10160         on "rwatch" and "awatch".
10161
10162 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10163
10164         * gdb.base/relativedebug.exp: Invoke gdb command
10165         "info sharedlibrary", and if libc.so doesn't have debug info,
10166         skip the test.
10167
10168 2015-04-29  Doug Evans  <dje@google.com>
10169
10170         * gdb.python/py-xmethods.exp: Add ptype tests.
10171         * gdb.python/py-xmethods.py (E_method_char_worker): Add
10172         get_result_type method.
10173
10174 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10175
10176         * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
10177         the target does not support hardware watchpoints.
10178
10179 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10180
10181         * gdb.base/break-always.exp: Abort testing if writing to memory
10182         causes an error.
10183
10184 2015-04-28  Doug Evans  <dje@google.com>
10185
10186         * gdb.python/py-pp-maint.py: Move "replace" testing to ...
10187         * gdb.python/py-pp-registration.exp: ... here.  New file.
10188         * gdb.python/py-pp-registration.c: New file.
10189         * gdb.python/py-pp-registration.py: New file.
10190
10191 2015-04-28  Doug Evans  <dje@google.com>
10192
10193         * gdb.python/py-bad-printers.c: New file.
10194         * gdb.python/py-bad-printers.py: New file.
10195         * gdb.python/py-bad-printers.exp: New file.
10196
10197 2015-04-28  Sasha Smundak  <asmundak@google.com>
10198
10199         * gdb.python/py-type.exp: New test.
10200
10201 2015-04-28  Andy Wingo  <wingo@igalia.com>
10202
10203         * gdb.python/py-parameter.exp:
10204         * gdb.guile/scm-parameter.exp: Escape the path that we are
10205         matching against, as it might contain characters that are special
10206         to regular expressions.
10207
10208 2015-04-27  Joel Brobecker  <brobecker@adacore.com>
10209
10210         * gdb.ada/rec_comp: New testcase.
10211
10212 2015-04-26  Sergio Durigan Junior  <sergiodj@redhat.com>
10213
10214         * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
10215         before using it.
10216
10217 2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
10218
10219         * gdb.base/dump.exp: Add *.verilog files to all_files list.  Add
10220         new tests for verilog output.
10221
10222 2015-04-24  Yao Qi  <yao.qi@linaro.org>
10223
10224         * boards/remote-gdbserver-on-localhost.exp: New file.
10225
10226 2015-04-23  Pedro Alves  <palves@redhat.com>
10227
10228         * gdb.base/interrupt.exp: Use an indirect spawn id list holding
10229         $inferior_spawn_id instead of $inferior_spawn_id directly.  On
10230         "end of file", remove $inferior_spawn_id from the indirect list.
10231
10232 2015-04-23  Pedro Alves  <palves@redhat.com>
10233
10234         * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
10235
10236 2015-04-23  Pedro Alves  <palves@redhat.com>
10237
10238         * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
10239         on $any_spawn_id instead of only on $gdb_spawn_id.
10240
10241 2015-04-21  Pierre Muller  <muller@sourceware.org>
10242
10243         PR pascal/17815
10244         * lib/pascal.exp (gpc_compile): Add new option "class".
10245         (fpc_compile): Likewise.
10246         * gdb.pascal/case-insensitive-symbols.pas: New file.
10247         * gdb.pascal/case-insensitive-symbols.exp: New file.
10248
10249 2015-04-20  Gary Benson <gbenson@redhat.com>
10250
10251         * gdb.base/attach.exp: Fix three extended remote failures.
10252
10253 2015-04-17  Gary Benson <gbenson@redhat.com>
10254
10255         * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
10256         the main executable over the remote protocol.
10257
10258 2015-04-16  Pedro Alves  <palves@redhat.com>
10259
10260         * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
10261         a new gdbserver if gdbserver_reconnect_p is set.
10262
10263 2015-04-16  Pedro Alves  <palves@redhat.com>
10264
10265         * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
10266         is set, don't exit gdbserver.
10267
10268 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10269
10270         * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
10271         appropriate .insn, such that an older assembler can be used.
10272         * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
10273         the z/Architecture instruction set on 31-bit targets as well.
10274
10275 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10276
10277         * gdb.go/handcall.exp: Remove all logic related to the first
10278         breakpoint and rely on go_runto_main instead.
10279         * gdb.go/strings.exp: Likewise.
10280         * gdb.go/unsafe.exp: Likewise.
10281         * gdb.go/hello.exp: Likewise.  Also rename the remaining
10282         breakpoint marker to "breakpoint 1".
10283         * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
10284         * gdb.go/strings.go: Likewise.
10285         * gdb.go/unsafe.go: Likewise.
10286         * gdb.go/hello.go: Likewise.  Also remove the second occurrence of
10287         "set breakpoint 2 here" and rename the remaining breakpoint marker
10288         to "breakpoint 1".
10289
10290 2015-04-15  Simon Marchi  <simon.marchi@ericsson.com>
10291
10292         * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
10293         if itertools.imap is not present.
10294         * gdb.python/py-objfile.exp: Add parentheses.
10295         * gdb.python/py-type.exp: Same.
10296         * gdb.python/py-unwind-maint.py: Same.
10297
10298 2015-04-15  Yao Qi  <yao.qi@linaro.org>
10299
10300         * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
10301         of ":$ptr_size" and set its form explicitly.
10302
10303 2015-04-15  Pedro Alves  <palves@redhat.com>
10304             Yao Qi  <yao.qi@linaro.org>
10305
10306         * gdb.base/watch-bitfields.exp (test_watch_location): Increase
10307         timeout by factor of 4.
10308         (test_regular_watch): Likewise.
10309         * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
10310         * gdb.reverse/sigall-reverse.exp: Likewise.
10311         * gdb.reverse/until-precsave.exp: Likewise.
10312         * lib/gdb.exp (with_timeout_factor): New proc.
10313         (gdb_expect): Move some code to ...
10314         (get_largest_timeout): ... here.  New procedure.
10315
10316 2015-04-14  Luis Machado  <lgustavo@codesourcery.com>
10317
10318         * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10319
10320 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10321
10322         * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10323         to write to the .text section.
10324
10325 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10326
10327         * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10328         Handle the case of targets that do not provide PID information.
10329
10330 2015-04-13  Yao Qi  <yao.qi@linaro.org>
10331
10332         * lib/gdbserver-support.exp (gdb_exit): Catch exception
10333         and use expect instead of gdb_expect.
10334
10335 2015-04-13  Sergio Durigan Junior  <sergiodj@redhat.com>
10336
10337         * gdb.base/coredump-filter.exp: Rename variable "addr" to
10338         "coredump_var_addr" to avoid naming conflict with other testcases.
10339
10340 2015-04-10  Pedro Alves  <palves@redhat.com>
10341
10342         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10343         gdb_test_sequence and gdb_assert.
10344
10345 2015-04-10  Pedro Alves  <palves@redhat.com>
10346
10347         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10348         test messages that don't include the breakpoint address.
10349
10350 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10351
10352         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10353         false for some offset and width combinations which aren't
10354         supported by linux kernel.
10355
10356 2015-04-10  Pedro Alves  <palves@redhat.com>
10357
10358         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10359         procedure, factored out from ...
10360         (top level): ... here.  Add "set displaced-stepping" testing axis.
10361         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10362         parameter "displaced".  Use it.
10363         (top level): Use foreach and add "set displaced-stepping" testing
10364         axis.
10365
10366 2015-04-10  Pedro Alves  <palves@redhat.com>
10367
10368         * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10369         Remove comment.
10370         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10371         both the address of the instruction that triggers the watchpoint
10372         and the address of the instruction immediately after, and use
10373         those addresses for the test.  Fix comment.
10374
10375 2015-04-10  Pedro Alves  <palves@redhat.com>
10376
10377         * gdb.base/sigstep.exp (breakpoint_to_handler)
10378         (breakpoint_to_handler_entry): New parameter 'displaced'.  Use it.
10379         Test "backtrace" in handler.
10380         (breakpoint_over_handler): New parameter 'displaced'.  Use it.
10381         (top level): Add new "displaced" test axis to
10382         breakpoint_to_handler, breakpoint_to_handler_entry and
10383         breakpoint_over_handler.
10384
10385 2015-04-10  Pedro Alves  <palves@redhat.com>
10386
10387         PR gdb/18216
10388         * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10389
10390 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10391
10392         * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10393         (test_add_rn_pc): New function.
10394         * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10395         (top level): Invoke test_add_rn_pc.
10396
10397 2015-04-10  Pedro Alves  <palves@redhat.com>
10398
10399         PR gdb/13858
10400         * gdb.base/step-over-no-symbols.exp: New file.
10401
10402 2015-04-09  Andy Wingo  <wingo@igalia.com>
10403
10404         * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
10405         after the Python tests.
10406
10407 2015-04-08  Keith Seitz  <keiths@redhat.com>
10408
10409         PR python/16699
10410         * gdb.python/py-completion.exp: New tests for completion.
10411         * gdb.python/py-completion.py (CompleteLimit1): New class.
10412         (CompleteLimit2): Likewise.
10413         (CompleteLimit3): Likewise.
10414         (CompleteLimit4): Likewise.
10415         (CompleteLimit5): Likewise.
10416         (CompleteLimit6): Likewise.
10417         (CompleteLimit7): Likewise.
10418
10419 2015-04-08  Pedro Alves  <palves@redhat.com>
10420
10421         PR gdb/18214
10422         PR gdb/18216
10423         * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10424         function.
10425         (main): Install it as SIGUSR1 handler.
10426         * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10427         parameter.  Always use "setup" as prefix.  Toggle "set
10428         displaced-stepping" off/on depending on global.  Don't switch to
10429         thread 1 here.
10430         (top level): Add displaced stepping "off/on" test axis.  Update
10431         "setup" calls.  Wrap each subtest with with_test_prefix.  Test
10432         continuing with a queued signal in each thread.
10433
10434 2015-04-08  Pedro Alves  <palves@redhat.com>
10435
10436         * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10437         * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd.  Use
10438         gdb_breakpoint instead of gdb_test that doesn't expect anything.
10439         Return early if running to main fails.
10440         * gdb.trace/while-stepping.exp: Likewise.
10441
10442 2015-04-07  Pedro Alves  <palves@redhat.com>
10443
10444         * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10445         $gdb_spawn_id.  Use send_inferior and $inferior_spawn_id to
10446         interact with inferior program.
10447
10448 2015-04-07  Pedro Alves  <palves@redhat.com>
10449
10450         * lib/gdb.exp (inferior_spawn_id): New global.
10451         (gdb_test_multiple): Handle "-i".  Reset the spawn id to GDB's
10452         spawn id after processing the user code.
10453         (default_gdb_start): Set inferior_spawn_id.
10454         (send_inferior): New procedure.
10455         * lib/gdbserver-support.exp (gdbserver_start): Set
10456         inferior_spawn_id.
10457         (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10458
10459 2015-04-07  Pedro Alves  <palves@redhat.com>
10460
10461         * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10462         * lib/gdbserver-support.exp (gdbserver_start): Make
10463         $server_spawn_id global.
10464         (gdbserver_start): Don't wait for gdbserver's spawn id with
10465         expect_background.
10466         (close_gdbserver): New procedure.
10467         (gdb_exit): Rename the default version and reimplement.
10468
10469 2015-04-07  Pedro Alves  <palves@redhat.com>
10470
10471         * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10472         append the substituted item, not the original item.
10473
10474 2015-04-07  Pedro Alves  <palves@redhat.com>
10475
10476         * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10477         gdb_expect.
10478
10479 2015-04-07  Pedro Alves  <palves@redhat.com>
10480
10481         * gdb.base/interrupt.exp: Don't handle the case of the inferior
10482         output appearing once only.
10483
10484 2015-04-07  Pedro Alves  <palves@redhat.com>
10485
10486         * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10487         that doesn't expect anything.  Return early if running to main
10488         fails.
10489
10490 2015-04-07  Yao Qi  <yao.qi@linaro.org>
10491
10492         * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10493         (child_function): Call alarm.
10494         (main): Move call to alarm into the loop.
10495         * gdb.threads/non-stop-fair-events.exp: Build program with
10496         -DTIMEOUT=$timeout.
10497
10498 2015-04-06  Doug Evans  <xdje42@gmail.com>
10499
10500         * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10501         Fix dest parameter to board_info.
10502         (fpc_compile): Ditto.
10503         (gdb_compile_pascal): Rename dest arg to destfile.
10504
10505 2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
10506
10507         * gdb.ada/funcall_ref.exp: New file.
10508         * gdb.ada/funcall_ref/foo.adb: New file.
10509
10510 2015-04-02  Yao Qi  <yao.qi@linaro.org>
10511
10512         * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10513         is remote.
10514
10515 2015-04-02  Gary Benson <gbenson@redhat.com>
10516
10517         * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10518
10519 2015-04-01  Sasha Smundak  <asmundak@google.com>
10520
10521         * gdb.python/py-unwind-maint.c: New file.
10522         * gdb.python/py-unwind-maint.exp: New test.
10523         * gdb.python/py-unwind-maint.py: New file.
10524         * gdb.python/py-unwind.c: New file.
10525         * gdb.python/py-unwind.exp: New test.
10526         * gdb.python/py-unwind.py: New test.
10527
10528 2015-04-01  Pedro Alves  <palves@redhat.com>
10529
10530         * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10531         to fail instead of non-existent $test.
10532
10533 2015-04-01  Pedro Alves  <palves@redhat.com>
10534
10535         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10536         GDBFLAGS if not empty.
10537
10538 2015-04-01  Pierre-Marie de Rodat  <derodat@adacore.com>
10539
10540         * gdb.ada/complete.exp: Remove "multi_line".
10541         * gdb.ada/info_exc.exp: Remove "multi_line".
10542         * gdb.ada/packed_tagged.exp: Remove "multi_line".
10543         * gdb.ada/ptype_field.exp: Remove "multi_line".
10544         * gdb.ada/sym_print_name.exp: Remove "multi_line".
10545         * gdb.ada/tagged.exp: Remove "multi_line".
10546         * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10547         [multi_line ...]
10548         * gdb.btrace/delta.exp: Likewise.
10549         * gdb.btrace/exception.exp: Likewise.
10550         * gdb.btrace/function_call_history.exp: Likewise.
10551         * gdb.btrace/instruction_history.exp: Likewise.
10552         * gdb.btrace/nohist.exp: Likewise.
10553         * gdb.btrace/record_goto.exp: Likewise.
10554         * gdb.btrace/segv.exp: Likewise.
10555         * gdb.btrace/stepi.exp: Likewise.
10556         * gdb.btrace/tailcall.exp: Likewise.
10557         * gdb.btrace/unknown_functions.exp: Likewise.
10558         * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10559         * lib/gdb.exp: Add the "multi_line" helper.
10560
10561 2015-04-01  Pedro Alves  <palves@redhat.com>
10562
10563         * gdb.threads/tid-reuse.c: New file.
10564         * gdb.threads/tid-reuse.exp: New file.
10565
10566 2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
10567
10568         PR corefiles/16092
10569         * gdb.base/coredump-filter.c: New file.
10570         * gdb.base/coredump-filter.exp: Likewise.
10571
10572 2015-03-27  Petr Machata  <pmachata@redhat.com>
10573
10574         * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10575         (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10576         (Dwarf::assemble): Initialize them.
10577         (Dwarf::lines): New function.
10578
10579 2015-03-26  Jon Turney  <jon.turney@dronecode.org.uk>
10580
10581         * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10582         SYMBOL_PREFIX for x86_64-*-cygwin.
10583
10584 2015-03-26  Andy Wingo  <wingo@igalia.com>
10585
10586         PR symtab/18148
10587         * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10588         const_value but not a location.
10589         * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10590         location defined in non-main CUs are visible.
10591
10592 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10593
10594         PR testsuite/18139
10595         * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10596         Add a line number entry for the same line.
10597         * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10598         Add a line number entry for the same line.
10599
10600 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10601
10602         * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10603         .int 0.
10604         (func): Likewise.  Add .Lfunc_1 label.
10605         Use .Lfunc_1 label.
10606         * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10607         .int 0.
10608         (func): Likewise.
10609         Use .Lfunc_1 label.
10610
10611 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10612
10613         * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10614         Call gdb_compile instead to compile each .s files without debug
10615         information.
10616
10617 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10618
10619         * gdb.base/savedregs.exp (process_saved_regs): Make
10620         "Saved registers:" optional in the pattern.
10621
10622 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
10623
10624         * gdb.btrace/next.exp: Merged into step.exp.
10625         * gdb.btrace/finish.exp: Merged into step.exp.
10626         * gdb.btrace/nexti.exp: Merged into stepi.exp.
10627         * gdb.btrace/step.exp: Use record_goto.c as test file.  Avoid using
10628         "record goto" and checking the exact replay position.
10629         * gdb.btrace/stepi.exp: Choose test file based on target.  Do not
10630         check for "Recording format" in "info record" output.
10631         * gdb.btrace/record_goto.exp: Choose test file based on target.
10632         * gdb.btrace/x86-record_goto.S: Renamed into ...
10633         * gdb.btrace/x86_64-record_goto.S: ... this.
10634         * gdb.btrace/i686-record_goto.S: New.
10635         * gdb.btrace/x86-tailcall.S: Renamed into ...
10636         * gdb.btrace/x86_64-tailcall.S: ... this.
10637         * gdb.btrace/i686-tailcall.S: New.
10638         * gdb.btrace/x86-tailcall.c: Renamed into ...
10639         * gdb.btrace/tailcall.c: ... this.  Split "return ++answer" into two
10640         separate statements.  Update test.
10641         * gdb.btrace/delta.exp: Use record_goto.c as test file.
10642         * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10643         * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10644         * gdb.btrace/tailcall.exp: Choose test file based on target.
10645         * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10646
10647 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
10648
10649         * gdb.btrace/exception.exp: Increase BTS buffer size.
10650
10651 2015-03-24  Pedro Alves  <palves@redhat.com>
10652
10653         * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10654
10655 2015-03-24  Pedro Alves  <palves@redhat.com>
10656
10657         * gdb.threads/schedlock.exp (test_step): No longer expect that
10658         "set scheduler-locking step" with "next" over a function call runs
10659         threads unlocked.
10660
10661 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10662
10663         * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10664
10665 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10666
10667         PR breakpoints/16466
10668         * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10669         * gdb.mi/mi-pending.c (thread_func): New function.
10670         (int main): Add threading support required.
10671         * gdb.mi/mi-pending.exp: Add tests for this issue.
10672         * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10673         (pendfunc2): Remove stdio dependency.
10674         * gdb.mi/mi-pendshr2.c: New file.
10675
10676 2015-03-23  Keith Seitz  <keiths@redhat.com>
10677
10678         * gdb.linespec/keywords.c: New file.
10679         * gdb.linespec/keywords.exp: New file.
10680
10681 2015-03-23  Keith Seitz  <keiths@redhat.com>
10682
10683         PR gdb/18021
10684         * gdb.dwarf2/staticvirtual.exp: New test.
10685
10686 2015-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
10687
10688         * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10689         * README: Remove HP-UX and gdb.hp.
10690         (configuration):
10691         * configure: Regenerate.
10692         * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10693         gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10694         gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10695         gdb.hp/gdb.defects/Makefile.
10696         * gdb.hp/Makefile.in: File deleted.
10697         * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10698         * gdb.hp/gdb.aCC/optimize.c: File deleted.
10699         * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10700         * gdb.hp/gdb.aCC/run.c: File deleted.
10701         * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10702         * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10703         * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10704         * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10705         * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10706         * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10707         * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10708         * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10709         * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10710         * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10711         * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10712         * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10713         * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10714         * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10715         * gdb.hp/gdb.base-hp/reg.s: File deleted.
10716         * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10717         * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10718         * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10719         * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10720         * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10721         * gdb.hp/gdb.compat/Makefile.in: File deleted.
10722         * gdb.hp/gdb.compat/average.c: File deleted.
10723         * gdb.hp/gdb.compat/sum.c: File deleted.
10724         * gdb.hp/gdb.compat/xdb.c: File deleted.
10725         * gdb.hp/gdb.compat/xdb0.c: File deleted.
10726         * gdb.hp/gdb.compat/xdb0.h: File deleted.
10727         * gdb.hp/gdb.compat/xdb1.c: File deleted.
10728         * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10729         * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10730         * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10731         * gdb.hp/gdb.defects/Makefile.in: File deleted.
10732         * gdb.hp/gdb.defects/bs14602.c: File deleted.
10733         * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10734         * gdb.hp/gdb.defects/solib-d.c: File deleted.
10735         * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10736         * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10737         * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10738         * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10739         * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10740         * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10741         * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10742         * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10743         * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10744         * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10745         * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10746         * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10747         * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10748         * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10749         * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10750         * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10751         * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10752         * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10753         * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10754         * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10755         * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10756         * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10757         * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10758         * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10759         * gdb.hp/tools/odump: File deleted.
10760
10761 2015-03-19  Pedro Alves  <palves@redhat.com>
10762
10763         * gdb.threads/continue-pending-status.exp (saw_thread_2)
10764         (saw_thread_3): New globals.
10765         (top level): Increment them when an event for the corresponding
10766         thread is seen.
10767         (no thread starvation): New test.
10768
10769 2015-03-19  Pedro Alves  <palves@redhat.com>
10770
10771         * gdb.threads/continue-pending-status.c: New file.
10772         * gdb.threads/continue-pending-status.exp: New file.
10773
10774 2015-03-18  Pedro Alves  <palves@redhat.com>
10775
10776         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10777         Use gdb_is_target_remote instead of is_remote.  Use
10778         gdb_test_multiple instead of gdb_expect.  Exit early if
10779         gdb_test_multiple hits its internal matches.  Tighten stepi tests
10780         expected output.  Fail on exit with any signal, instead of just
10781         SIGILL.
10782
10783 2015-03-18  Yao Qi  <yao.qi@linaro.org>
10784
10785         PR tdep/18107
10786         * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10787         variable.
10788         * gdb.base/catch-syscall.exp: Don't skip it on
10789         aarch64*-*-linux* target.  Remove elements in all_syscalls.
10790         (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10791         target.
10792         (setup_all_syscalls): New proc.
10793
10794 2015-03-16  Yao Qi  <yao.qi@linaro.org>
10795
10796         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10797         (top level): Skip tests if valid_addr_p returns false for
10798         $cmd1 or $cmd2.
10799
10800 2015-03-11  Andy Wingo  <wingo@igalia.com>
10801
10802         * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10803
10804 2015-03-11  Yao Qi  <yao.qi@linaro.org>
10805
10806         * gdb.base/catch-syscall.exp: Fix typo in comments.
10807
10808 2015-03-11  Yao Qi  <yao.qi@linaro.org>
10809
10810         * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10811
10812 2015-03-09  Pedro Alves  <palves@redhat.com>
10813
10814         * dg-extract-results.py: Delete.
10815
10816 2015-03-09  Pedro Alves  <palves@redhat.com>
10817
10818         Merge dg-extract-results.sh from GCC upstream (r218843).
10819
10820         2014-12-17  Sergio Durigan Junior  <sergiodj@redhat.com>
10821                 * dg-extract-results.sh: Use --text with grep to avoid issues with
10822                 binary files.  Fall back to cat -v, if that doesn't work.
10823
10824 2015-03-05  Pedro Alves  <palves@redhat.com>
10825
10826         * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10827
10828 2015-03-04  Simon Marchi  <simon.marchi@ericsson.com>
10829
10830         * lib/mi-support.exp (mi_expect_interrupt): Accept
10831         alternative event for when in all-stop mode.
10832
10833 2015-03-04  Pedro Alves  <palves@redhat.com>
10834
10835         * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10836
10837 2015-03-04  Mark Kettenis  <kettenis@gnu.org>
10838
10839         * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10840
10841 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10842
10843         * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10844         regexps for GDB's current line display, accept a hex address
10845         preceding the line number.
10846
10847 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10848
10849         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10850         the 'arch1' variable for "s390*-linux*" targets.
10851
10852 2015-03-04  Pedro Alves  <palves@redhat.com>
10853
10854         * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10855         (main): Pass missing retval argument to pthread_join call.
10856
10857 2015-03-02  Pedro Alves  <palves@redhat.com>
10858
10859         * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
10860         (top level): Call do_test with non-stop as well.
10861
10862 2015-03-02  Pedro Alves  <palves@redhat.com>
10863
10864         * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
10865         -1.
10866
10867 2015-03-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10868
10869         * gdb.arch/s390-vregs.exp: New test.
10870         * gdb.arch/s390-vregs.S: New file.
10871
10872 2015-02-27  Pedro Alves  <palves@redhat.com>
10873
10874         * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
10875         call to catch_command_errors.
10876         * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
10877         catch_command_errors.
10878
10879 2015-02-27  Pedro Alves  <palves@redhat.com>
10880
10881         * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
10882         "true" for boolean result.
10883         * gdb.gdb/selftest.exp (test_with_self): Also accept full
10884         prototype of main.
10885
10886 2015-02-27  Pedro Alves  <palves@redhat.com>
10887
10888         * lib/unbuffer_output.c: New file.
10889         * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
10890         (main): Call gdb_unbuffer_output.
10891
10892 2015-02-27  Yao Qi  <yao.qi@linaro.org>
10893
10894         * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
10895         target.
10896
10897 2015-02-26  Doug Evans  <dje@google.com>
10898
10899         * gdb.cp/class2.cc (Dbase, D): New classes.
10900         (main): New local delta.
10901         * gdb.cp/class2.exp: Test printing delta.
10902         * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
10903         (dynbar): New global.
10904         * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
10905
10906 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
10907
10908         * gdb.compile/compile-ifunc.c: New file.
10909         * gdb.compile/compile-ifunc.exp: New file.
10910
10911 2015-02-26  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10912
10913         * gdb.base/structs.exp: Check for correct struct on finish.
10914
10915 2015-02-26  Yao Qi  <yao.qi@linaro.org>
10916
10917         * lib/dwarf.exp (function_range): Adjust pattern when $func_length
10918         is zero.
10919
10920 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
10921
10922         * gdb.arch/cordic.ko.bz2: New file.
10923         * gdb.arch/cordic.ko.debug.bz2: New file.
10924         * gdb.arch/ppc64-symtab-cordic.exp: New file.
10925
10926 2015-02-25  Yao Qi  <yao.qi@linaro.org>
10927
10928         * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
10929         aarch64*-*-* target.
10930
10931 2015-02-23  Pedro Alves  <palves@redhat.com>
10932
10933         * lib/gdb.exp (delete_breakpoints): Rewrite using
10934         gdb_test_multiple.
10935
10936 2015-02-23  Pedro Alves  <palves@redhat.com>
10937
10938         * gdb.base/info-os.c: Include stdlib.h.
10939
10940 2015-02-22  Doug Evans  <xdje42@gmail.com>
10941
10942         PR symtab/17855
10943         * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
10944         is read after symbols have been re-read.
10945         * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
10946         * gdb.ada/exec_changed/second.adb (Second): Ditto.
10947
10948 2015-02-21  Doug Evans  <dje@google.com>
10949
10950         * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
10951
10952 2015-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
10953
10954         PR corefiles/17808
10955         * gdb.arch/i386-biarch-core.core.bz2: New file.
10956         * gdb.arch/i386-biarch-core.exp: New file.
10957
10958 2015-02-21  Pedro Alves  <palves@redhat.com>
10959
10960         * gdb.threads/multi-create-ns-info-thr.exp: Return early if
10961         runto_main fails.
10962
10963 2015-02-20  Pedro Alves  <palves@redhat.com>
10964
10965         * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
10966         info probes.
10967
10968 2015-02-20  Pedro Alves  <palves@redhat.com>
10969
10970         * gdb.threads/multi-create-ns-info-thr.exp: New file.
10971
10972 2015-02-20  Pedro Alves  <palves@redhat.com>
10973
10974         * gdb.trace/no-attach-trace.exp: Don't run to main.  Do
10975         clean_restart before gdb_target_supports_trace.
10976
10977 2015-02-20  Pedro Alves  <palves@redhat.com>
10978
10979         PR threads/18006
10980         * gdb.threads/clone-thread_db.c: New file.
10981         * gdb.threads/clone-thread_db.exp: New file.
10982
10983 2015-02-19  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10984
10985         PR breakpoints/16812
10986         * gdb.base/catch-gdb-caused-signals.c: New file.
10987         * gdb.base/catch-gdb-caused-signals.exp: New file.
10988
10989 2015-02-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
10990
10991         * configure: Regenerated.
10992         * configure.ac: Use GDB_AC_TRANSFORM.
10993         * aclocal.m4: sinclude ../transform.m4.
10994
10995 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
10996
10997         * lib/dtrace.exp: New file.
10998         * gdb.base/dtrace-probe.exp: Likewise.
10999         * gdb.base/dtrace-probe.d: Likewise.
11000         * gdb.base/dtrace-probe.c: Likewise.
11001         * lib/pdtrace.in: Likewise.
11002         * configure.ac: Output variables with the transformed names of
11003         the strip, readelf, as and nm tools.  AC_SUBST lib/pdtrace.in.
11004         * configure: Regenerated.
11005
11006 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11007
11008         * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11009         expected message when trying to access $_probe_* convenience
11010         variables while not on a probe.
11011
11012 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11013
11014         * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11015
11016 2015-02-11  Pedro Alves  <pedro@codesourcery.com>
11017
11018         * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11019         * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
11020
11021 2015-02-10  Doug Evans  <xdje42@gmail.com>
11022
11023         * lib/gdb.exp (gdb_load): Always return a result.
11024
11025 2015-02-10  Pedro Alves  <palves@redhat.com>
11026
11027         * gdb.threads/signal-sigtrap.c: New file.
11028         * gdb.threads/signal-sigtrap.exp: New file.
11029
11030 2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
11031
11032         * gdb.trace/no-attach-trace.c: New file.
11033         * gdb.trace/no-attach-trace.exp: New file.
11034
11035 2015-02-09  Mark Wielaard  <mjw@redhat.com>
11036
11037         * gdb.dwarf2/atomic.c: New file.
11038         * gdb.dwarf2/atomic-type.exp: Likewise.
11039
11040 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11041
11042         * gdb.btrace/buffer-size.exp: Update "info record" output.
11043         * gdb.btrace/delta.exp: Update "info record" output.
11044         * gdb.btrace/enable.exp: Update "info record" output.
11045         * gdb.btrace/finish.exp: Update "info record" output.
11046         * gdb.btrace/instruction_history.exp: Update "info record" output.
11047         * gdb.btrace/next.exp: Update "info record" output.
11048         * gdb.btrace/nexti.exp: Update "info record" output.
11049         * gdb.btrace/step.exp: Update "info record" output.
11050         * gdb.btrace/stepi.exp: Update "info record" output.
11051         * gdb.btrace/nohist.exp: Update "info record" output.
11052
11053 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11054
11055         * gdb.btrace/buffer-size: New.
11056
11057 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11058
11059         * gdb.btrace/delta.exp: Update "info record" output.
11060         * gdb.btrace/enable.exp: Update "info record" output.
11061         * gdb.btrace/finish.exp: Update "info record" output.
11062         * gdb.btrace/instruction_history.exp: Update "info record" output.
11063         * gdb.btrace/next.exp: Update "info record" output.
11064         * gdb.btrace/nexti.exp: Update "info record" output.
11065         * gdb.btrace/step.exp: Update "info record" output.
11066         * gdb.btrace/stepi.exp: Update "info record" output.
11067         * gdb.btrace/nohist.exp: Update "info record" output.
11068
11069 2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
11070
11071         PR gdb/15678
11072         * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
11073
11074 2015-02-06  Pedro Alves  <palves@redhat.com>
11075
11076         * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
11077         macro.
11078         (seconds_left, again): New globals.
11079         (main): Wait seconds_left in a 1-second sleep loop instead of
11080         sleeping 180 seconds.  If 'again' is set, reset the seconds
11081         counter.
11082         * gdb.threads/attach-many-short-lived-threads.exp (test): Set
11083         'again' in the inferior before detaching.  Print the seconds left.
11084         (options): New global.
11085         (top level): Build program with -DTIMEOUT=$timeout.
11086
11087 2015-02-06  Pedro Alves  <palves@redhat.com>
11088
11089         * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
11090         determine how many seconds to pass to 'alarm'.
11091         * gdb.base/gdb-sigterm.exp (top level): Build program with
11092         -DTIMEOUT=$timeout.
11093         (do_test): Return success/failure indication.  Add more verbose
11094         logging.  Don't fail if 200 single steps are seen.  Instead, fail
11095         when the test times out.
11096         (passes): New global.
11097         (top level): Break the testing loop if testing fails on any
11098         iteration.  Use gdb_assert.
11099
11100 2015-02-04  Don Breazeal  <donb@codesourcery.com>
11101
11102         * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
11103         and initialize them.
11104         (ipc_cleanup): New function.
11105         (main): Don't declare shmid, semid, and msqid.  Add a call to
11106         atexit so that we call ipc_cleanup on exit.
11107
11108 2015-02-04  Pedro Alves  <palves@redhat.com>
11109
11110         * boards/native-extended-gdbserver.exp: Remove any target variant
11111         specifications from the board name before clearing the isremote
11112         flag from board_info.
11113
11114 2015-01-31  Doug Evans  <xdje42@gmail.com>
11115
11116         * gdb.base/maint.exp <maint print type argc>: Update expected output.
11117
11118 2015-01-31  Gary Benson <gbenson@redhat.com>
11119
11120         * gdb.base/completion.exp: Disable completion limiting for
11121         existing tests.  Add new tests to check completion limiting.
11122         * gdb.linespec/ls-errs.exp: Disable completion limiting.
11123
11124 2015-01-31  Doug Evans  <xdje42@gmail.com>
11125
11126         * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
11127
11128 2015-01-31  Doug Evans  <xdje42@gmail.com>
11129
11130         * gdb.guile/scm-section-script.c: Add duplicate inlined section script
11131         entries.  Duplicate file section script entries.
11132         * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
11133         inlined entries.  Add test for safe-path rejection.
11134         * gdb.python/py-section-script.c: Add duplicate inlined section script
11135         entries.  Duplicate file section script entries.
11136         * gdb.python/py-section-script.exp: Add tests for duplicate entries,
11137         inlined entries.  Add test for safe-path rejection.
11138
11139 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11140
11141         * gdb.ada/disc_arr_bound: New testcase.
11142
11143 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11144
11145         * gdb.ada/mi_var_array: New testcase.
11146
11147 2015-01-27  Doug Evans  <dje@google.com>
11148
11149         * gdb.python/py-objfile.exp: Add tests for objfile.username.
11150         Add test for objfile.filename, objfile.username after objfile
11151         has been unloaded.
11152
11153 2015-01-26  Joel Brobecker  <brobecker@adacore.com>
11154
11155         * gdb.python/py-lookup-type.exp (test_lookup_type): Change
11156         the second test to print the name attribute of value
11157         returned by the call to gdb.lookup_type, and adjust
11158         the expected output accordingly.
11159
11160 2015-01-25  Mark Wielaard  <mjw@redhat.com>
11161
11162         * gdb.arch/i386-bp_permanent.c (standard): New declaration.
11163         * gdb.base/disp-step-fork.c: Include unistd.h.
11164         * gdb.base/siginfo-obj.c: Include stdio.h.
11165         * gdb.base/siginfo-thread.c: Likewise.
11166         * gdb.mi/non-stop.c: Include unistd.h.
11167         * gdb.mi/nsthrexec.c: Include stdio.h.
11168         * gdb.mi/pthreads.c: Include unistd.h.
11169         * gdb.modula2/unbounded1.c (main): Declare returns int.
11170         * gdb.reverse/consecutive-reverse.c: Likewise.
11171         * gdb.threads/create-fail.c: Include unistd.h.
11172         * gdb.threads/killed.c: Likewise.
11173         * gdb.threads/linux-dp.c: Likewise.
11174         * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
11175         * gdb.threads/non-ldr-exc-2.c: Likewise.
11176         * gdb.threads/non-ldr-exc-3.c: Likewise.
11177         * gdb.threads/non-ldr-exc-4.c: Likewise.
11178         * gdb.threads/pthreads.c: Include unistd.h.
11179         (main): Declare returns int.
11180         * gdb.threads/tls-main.c (foo): New declaration.
11181         * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
11182
11183 2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
11184
11185         * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
11186         * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
11187
11188 2015-01-15  Mark Wielaard  <mjw@redhat.com>
11189
11190         * gdb.base/noreturn-return.c: New file.
11191         * gdb.base/noreturn-return.exp: New file.
11192         * gdb.base/noreturn-finish.c: New file.
11193         * gdb.base/noreturn-finish.exp: New file.
11194
11195 2015-01-23  Pedro Alves  <palves@redhat.com>
11196
11197         * gdb.threads/continue-pending-after-query.c: New file.
11198         * gdb.threads/continue-pending-after-query.exp: New file.
11199
11200 2015-01-22  Anders Granlund  <anders.granlund@ericsson.com>
11201             Simon Marchi  <simon.marchi@ericsson.com>
11202
11203         * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
11204         * gdb.base/valgrind-db-attach.exp: Same.
11205         * gdb.base/valgrind-infcall.exp: Same.
11206         * lib/mi-support.exp (default_mi_gdb_start): Same.
11207         * lib/prompt.exp (default_prompt_gdb_start): Same.
11208         * lib/gdb.exp (default_gdb_spawn): Same.
11209         (gdb_interact): New.
11210
11211
11212 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
11213
11214         * gdb.compile/compile.exp (pointer to jit function): New test.
11215
11216 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
11217
11218         * lib/gdb.exp (supports_process_record): Return true for
11219         powerpc*-*-linux*.
11220         (supports_reverse): Likewise.
11221
11222 2015-01-15  Don Breazeal  <donb@codesourcery.com>
11223
11224         * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
11225         instead of checking whether the target board is remote and
11226         use spawn_wait_for_attach instead of exec/sleep.
11227         * gdb.base/attach-twice.exp: Likewise.
11228
11229 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
11230
11231         * gdb.ada/var_arr_attrs: New testcase.
11232
11233 2015-01-14  Pedro Alves  <palves@redhat.com>
11234             Joel Brobecker  <brobecker@adacore.com>
11235
11236         PR gdb/17525
11237         * gdb.base/bp-cmds-execution-x-script.c: New file.
11238         * gdb.base/bp-cmds-execution-x-script.exp: New file.
11239         * gdb.base/bp-cmds-execution-x-script.gdb: New file.
11240
11241 2015-01-14  Pedro Alves  <palves@redhat.com>
11242
11243         PR cli/17828
11244         * gdb.base/batch-preserve-term-settings.c: New file.
11245         * gdb.base/batch-preserve-term-settings.exp: New file.
11246
11247 2015-01-13  Doug Evans  <dje@google.com>
11248
11249         * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
11250         binary.
11251
11252 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11253
11254         * Makefile.in (clean mostlyclean): Do not delete *.py.
11255
11256 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11257
11258         * gdb.python/py-lookup-type.exp: New file.
11259
11260 2015-01-12  Pedro Alves  <palves@redhat.com>
11261
11262         * gdb.python/py-prompt.exp: When the board can't spawn for attach,
11263         restore GDBFLAGS before returning.
11264
11265 2015-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
11266
11267         * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
11268         is_amd64_regs_target and is_x86_like_target.
11269
11270 2015-01-11  Doug Evans  <xdje42@gmail.com>
11271
11272         * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
11273         is given without an explicit form.
11274         * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
11275         attributes.
11276         * gdb.dwarf/corrupt.exp: Ditto.
11277         * gdb.dwarf2/enum-type.exp: Ditto.
11278         * gdb.trace/entry-values.exp: Ditto.
11279         * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
11280
11281 2015-01-11  Doug Evans  <xdje42@gmail.com>
11282
11283         PR gdb/15830
11284         * gdb.base/maint.exp: Remove references to "maint demangle".
11285         * gdb.cp/demangle.exp: Update.  "maint demangle" -> "demangle".
11286         Add tests for explicitly specifying language to demangle.
11287         * gdb.dlang/demangle.exp: Ditto.
11288
11289 2015-01-09  Pedro Alves  <palves@redhat.com>
11290
11291         * gdb.threads/non-stop-fair-events.c: New file.
11292         * gdb.threads/non-stop-fair-events.exp: New file.
11293
11294 2015-01-09  Pedro Alves  <palves@redhat.com>
11295
11296         * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
11297         the global scope.  Set a breakpoint after all threads are started
11298         rather than stepping over two source lines.  Expect the prompt.
11299         * gdb.base/watch_thread_num.c (threads_started_barrier): New
11300         global.
11301         (NUM): Now 15.
11302         (main): Use threads_started_barrier to wait for all threads to
11303         start.  Main thread no longer calls thread_function.  Exit after
11304         180 seconds.
11305         (loop): New function.
11306         (thread_function): Wait on threads_started_barrier barrier.  Call
11307         'loop' at each iteration.
11308         * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
11309         threads have started, instead of hardcoding number of "next"
11310         steps.  Use an access watchpoint instead of a write watchpoint.
11311
11312 2015-01-09  Pedro Alves  <palves@redhat.com>
11313
11314         * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
11315         (thread_func): Wait on barrier.
11316         (main): Wait for all threads to start before stopping GDB.
11317         * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11318         global.
11319         (thread1_func, thread2_func): Wait on barrier.
11320         (main): Wait for all threads to start before stopping GDB.
11321         * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11322         New global.
11323         (thread1_func, thread2_func): Wait on barrier.
11324         (main): Wait for all threads to start before stopping GDB.
11325
11326 2015-01-09  Pedro Alves  <palves@redhat.com>
11327
11328         * gdb.threads/attach-many-short-lived-threads.c: New file.
11329         * gdb.threads/attach-many-short-lived-threads.exp: New file.
11330
11331 2014-01-09  Pedro Alves  <palves@redhat.com>
11332
11333         * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11334         instead of to thread 2.
11335         * gdb.threads/signal-command-multiple-signals-pending.c (main):
11336         Add barrier around each pthread_create call instead of around all
11337         calls.
11338         * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11339         Set a break on thread_function and have the child threads hit it
11340         one at at a time.
11341
11342 2015-01-09  Pedro Alves  <palves@redhat.com>
11343
11344         * lib/gdb.exp (can_spawn_for_attach): New procedure.
11345         (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11346         false.
11347         * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11348         checking whether the target board is remote.
11349         * gdb.multi/multi-attach.exp: Likewise.
11350         * gdb.python/py-sync-interp.exp: Likewise.
11351         * gdb.server/ext-attach.exp: Likewise.
11352         * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11353         tests that need to attach, instead of checking whether the target
11354         board is remote at the top of the file.
11355
11356 2015-01-08  Yao Qi  <yao@codesourcery.com>
11357
11358         * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11359
11360 2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
11361
11362         Fix testcase compilation.
11363         * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11364
11365 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
11366
11367         * gdb.python/py-type.exp: Add a couple test about empty
11368         array creation, and negative-length array creation.
11369
11370 2015-01-02  Doug Evans  <xdje42@gmail.com>
11371
11372         * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11373
11374 2015-01-02  Doug Evans  <dje@google.com>
11375
11376         * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11377
11378 2014-12-29  Yao Qi  <yao@codesourcery.com>
11379
11380         * gdb.trace/entry-values.exp: Update comments.  Rename variable
11381         bar_call_foo to returned_from_foo.
11382
11383 2014-12-20  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
11384
11385         PR gdb/17394
11386         * gdb.linespec/break-asm-file.c: New file.
11387         * gdb.linespec/break-asm-file.exp: New file.
11388         * gdb.linespec/break-asm-file0.s: New file.
11389         * gdb.linespec/break-asm-file1.s: New file.
11390
11391 2014-12-18  Nigel Stephens  <nigel@mips.com>
11392             Maciej W. Rozycki  <macro@codesourcery.com>
11393
11394         * gdb.base/float.exp: Handle the new output from "info float" on
11395         MIPS targets.
11396
11397 2014-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
11398
11399         Fix MinGW compilation.
11400         * gdb.compile/compile-ops.exp: Update untested message if
11401         !skip_compile_feature_tests.
11402         * gdb.compile/compile-setjmp.exp: Likewise.
11403         * gdb.compile/compile-tls.exp: Likewise.
11404         * gdb.compile/compile.exp: Likewise.
11405         * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
11406         supported on this host".
11407
11408 2014-12-16  Doug Evans  <xdje42@gmail.com>
11409
11410         * boards/stabs.exp: New file.
11411
11412 2014-12-16  Andreas Arnez  <arnez@vnet.linux.ibm.com>
11413
11414         * gdb.base/completion.exp: Adjust to format changes of "maint
11415         print user-registers".
11416
11417 2014-12-16  Catalin Udma  <catalin.udma@freescale.com>
11418
11419         PR server/17457
11420         * gdb.arch/aarch64-fp.c: New file.
11421         * gdb.arch/aarch64-fp.exp: New file.
11422
11423 2014-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
11424
11425         Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11426         r210637, r210913, r211666, r215400, r215817).
11427
11428         2014-05-08  Richard Sandiford  <rdsandiford@googlemail.com>
11429                 * dg-extract-results.py: New file.
11430                 * dg-extract-results.sh: Use it if the environment seems
11431                 suitable.
11432
11433         2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
11434
11435                 * dg-extract-results.py (parse_run): Handle warnings that
11436                 are printed before a test harness is run.
11437
11438         2014-05-25  Richard Sandiford  <rdsandiford@googlemail.com>
11439
11440                 * dg-extract-results.py (Named): Remove __cmp__ method.
11441                 (output_variation): Use a key to sort variation.harnesses.
11442
11443         2014-06-14  Richard Sandiford  <rdsandiford@googlemail.com>
11444
11445                 * dg-extract-results.py: For Python 3, force sys.stdout to
11446                 handle surrogate escape sequences.
11447                 (safe_open): New function.
11448                 (output_segment, main): Use it.
11449
11450         2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>
11451
11452                 * dg-extract-results.py (Prog.result_re): Include options
11453                 in test name.
11454
11455         2014-10-02  Segher Boessenkool  <segher@kernel.crashing.org>
11456
11457                 * dg-extract-results.py (output_variation): Always sort if
11458                 do_sum.
11459
11460 2014-12-15  Simon Marchi  <simon.marchi@ericsson.com>
11461
11462         * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11463         as long as we get pagination notifications.
11464
11465 2014-12-15  Jason Merrill  <jason@redhat.com>
11466
11467         * Makefile.in (check-gdb.%): Restore.
11468         * README: Mention it.
11469
11470 2014-12-13  Joel Brobecker  <brobecker@adacore.com>
11471
11472         * gdb.ada/str_uninit: New testcase.
11473
11474 2014-12-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
11475
11476         PR symtab/17642
11477         * gdb.base/vla-stub-define.c: New file.
11478         * gdb.base/vla-stub.c: New file.
11479         * gdb.base/vla-stub.exp: New file.
11480
11481 2014-12-12  Phil Muldoon  <pmuldoon@redhat.com>
11482             Jan Kratochvil  <jan.kratochvil@redhat.com>
11483             Tom Tromey  <tromey@redhat.com>
11484
11485         * configure.ac: Add gdb.compile/.
11486         * configure: Regenerate.
11487         * gdb.compile/Makefile.in: New file.
11488         * gdb.compile/compile-ops.exp: New file.
11489         * gdb.compile/compile-ops.c: New file.
11490         * gdb.compile/compile-tls.c: New file.
11491         * gdb.compile/compile-tls.exp: New file.
11492         * gdb.compile/compile-constvar.S: New file.
11493         * gdb.compile/compile-constvar.c: New file.
11494         * gdb.compile/compile-mod.c: New file.
11495         * gdb.compile/compile-nodebug.c: New file.
11496         * gdb.compile/compile-setjmp-mod.c: New file.
11497         * gdb.compile/compile-setjmp.c: New file.
11498         * gdb.compile/compile-setjmp.exp: New file.
11499         * gdb.compile/compile-shlib.c: New file.
11500         * gdb.compile/compile.c: New file.
11501         * gdb.compile/compile.exp: New file.
11502         * lib/gdb.exp (skip_compile_feature_tests): New proc.
11503
11504 2014-12-12  Tom Tromey  <tromey@redhat.com>
11505
11506         * lib/dwarf.exp (_location): Ignore blank lines.  Allow comments.
11507         Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11508
11509 2014-12-12  Doug Evans  <dje@google.com>
11510
11511         * lib/gdb-python.exp (get_python_valueof): New function.
11512         * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11513
11514 2014-12-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11515
11516         * gdb.base/completion.exp: Add test for completion of "info
11517         registers ".
11518
11519 2014-12-12  Maciej W. Rozycki  <macro@codesourcery.com>
11520
11521         * gdb.base/func-ptrs.c: New file.
11522         * gdb.base/func-ptrs.exp: New file.
11523
11524 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11525
11526         PR breakpoints/17012
11527         * gdb.base/dprintf-detach.c: New file.
11528         * gdb.base/dprintf-detach.exp: New file.
11529
11530 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11531
11532         * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11533         * lib/gdb.exp (target_is_gdbserver): New procedure.
11534
11535 2014-12-08  Doug Evans  <dje@google.com>
11536
11537         * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11538
11539 2014-12-05  Yao Qi  <yao@codesourcery.com>
11540
11541         * gdb.guile/scm-error.exp: Remove the third argument to
11542         gdb_remote_download.
11543         * gdb.guile/scm-frame-args.exp: Likewise.
11544         * gdb.guile/scm-section-script.exp: Likewise.
11545
11546 2014-12-05  Yao Qi  <yao@codesourcery.com>
11547
11548         * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11549
11550 2014-12-04  Doug Evans  <dje@google.com>
11551
11552         * gdb.python/py-objfile.exp: Add tests for
11553         objfile.add_separate_debug_file.
11554
11555 2014-12-04  Doug Evans  <dje@google.com>
11556
11557         * lib/gdb.exp (get_build_id): New function.
11558         (build_id_debug_filename_get): Rewrite to use it.
11559         * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11560
11561 2014-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
11562
11563         * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11564         `method(long)', not just 0x0.
11565         * gdb.cp/nsalias.exp: Align code labels to 4.
11566         * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11567         * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11568         * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11569         * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11570         (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11571         * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11572
11573 2014-12-02  Doug Evans  <dje@google.com>
11574
11575         PR symtab/17602
11576         * gdb.cp/anon-ns.cc: Move guts of this file to ...
11577         * gdb.cp/anon-ns2.cc: ... here.  New file.
11578         * gdb.cp/anon-ns.exp: Update.
11579
11580 2014-12-02  Nick Bull  <nicholaspbull@gmail.com>
11581
11582         * gdb.python/py-events.py (inferior_call_handler): New.
11583         (register_changed_handler, memory_changed_handler): New.
11584         (test_events.invoke): Register new handlers.
11585         * gdb.python/py-events.exp: Add tests for inferior call,
11586         memory_changed and register_changed events.
11587
11588 2014-12-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11589
11590         * gdb.base/execl-update-breakpoints.exp: Specify the link address
11591         with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
11592         if the linker doesn't understand this.
11593
11594 2014-12-01  Simon Marchi  <simon.marchi@ericsson.com>
11595
11596         * gdb.python/python.exp: Change expected reply to help().
11597
11598 2014-12-01  Yao Qi  <yao@codesourcery.com>
11599
11600         * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
11601         AC_CONFIG_SUBDIRS(gdb.gdbtk).
11602         * configure: Re-generated.
11603
11604 2014-11-28  Siva Chandra Reddy  <sivachandra@google.com>
11605
11606         * gdb.cp/chained-calls.cc: New file.
11607         * gdb.cp/chained-calls.exp: New file.
11608         * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11609
11610 2014-11-28  Simon Marchi  <simon.marchi@ericsson.com>
11611
11612         * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11613         * gdb.dwarf2/symtab-producer.exp: Same.
11614         * gdb.gdb/python-interrupts.exp: Same.
11615         * gdb.gdb/python-selftest.exp: Same.
11616         * gdb.python/py-linetable.exp: Same.
11617         * gdb.python/py-type.exp: Same.
11618         * gdb.python/py-value-cc.exp: Same.
11619         * gdb.python/py-value.exp: Same.
11620
11621 2014-11-28  Yao Qi  <yao@codesourcery.com>
11622
11623         * gdb.base/break-probes.exp: Match library name prefixed with
11624         sysroot.
11625
11626 2014-11-27  Simon Marchi  <simon.marchi@ericsson.com>
11627
11628         * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11629         test expected output.  Add parentheses for the call to print.
11630         Remove L suffix from integers.
11631
11632 2014-11-26  Doug Evans  <dje@google.com>
11633
11634         * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11635
11636 2014-11-22  Yao Qi  <yao@codesourcery.com>
11637
11638         * gdb.trace/entry-values.c: Remove asms.
11639         (foo): Add foo_label.
11640         (bar): Add bar_label.
11641         * gdb.trace/entry-values.exp: Remove code computing  foo's
11642         length and bar's length.
11643         (Dwarf::assemble): Invoke function_range for bar and use
11644         MACRO_AT_func for foo.
11645
11646 2014-11-22  Yao Qi  <yao@codesourcery.com>
11647
11648         * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11649         and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
11650         Use .Lgcc43_procstart instead of gcc43.
11651
11652 2014-11-21  Joel Brobecker  <brobecker@adacore.com>
11653
11654         * gdb.ada/n_arr_bound: New testcase.
11655
11656 2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
11657
11658         PR breakpoints/10737
11659         * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11660         test_catch_syscall_multi_arch.
11661         (test_catch_syscall_multi_arch): New function.
11662
11663 2014-11-20  Doug Evans  <xdje42@gmail.com>
11664
11665         * gdb.base/maint.exp: Update expected output.
11666
11667 2014-11-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11668
11669         * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11670         4-byte instruction on S390.
11671
11672 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
11673
11674         * gdb.ada/arr_arr: New testcase.
11675
11676 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
11677
11678         * gdb.ada/pkd_arr_elem: New Testcase.
11679
11680 2014-11-18  Luis Machado  <lgustavo@codesourcery.com>
11681
11682         * gdb.reverse/break-precsave: Expect completion message for
11683         core file reads.
11684         * gdb.reverse/consecutive-precsave.exp: Likewise.
11685         * gdb.reverse/finish-precsave.exp: Likewise.
11686         * gdb.reverse/i386-precsave.exp: Likewise.
11687         * gdb.reverse/machinestate-precsave.exp: Likewise.
11688         * gdb.reverse/sigall-precsave.exp: Likewise.
11689         * gdb.reverse/solib-precsave.exp: Likewise.
11690         * gdb.reverse/step-precsave.exp: Likewise.
11691         * gdb.reverse/until-precsave.exp: Likewise.
11692         * gdb.reverse/watch-precsave.exp: Likewise.
11693
11694 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11695
11696         * gdb.base/bp-permanent.c: Include unistd.h.
11697         * gdb.python/py-framefilter-mi.c (main): Add return type.
11698         * gdb.python/py-framefilter.c (main): Likewise.
11699         * gdb.trace/actions-changed.c (main): Likewise.
11700
11701 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11702
11703         * gdb.mi/until.c: Add eye-catchers.
11704         * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11705         line numbers.
11706
11707 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11708
11709         * gdb.base/condbreak.exp: Drop references to removed non-prototype
11710         function header variants in break1.c.
11711         * gdb.base/ena-dis-br.exp: Likewise.
11712         * gdb.base/hbreak2.exp: Likewise.
11713         * gdb.reverse/until-precsave.exp: Drop references to removed
11714         non-prototype function header variants in ur1.c.
11715         * gdb.reverse/until-reverse.exp: Likewise.
11716
11717 2014-11-17  Petr Machata  <pmachata@redhat.com>
11718
11719         * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
11720         ${_cu_offset_size} bytes abbrev offset.
11721
11722 2014-11-15  Doug Evans  <xdje42@gmail.com>
11723
11724         PR symtab/17559
11725         * gdb.base/line-symtabs.exp: New file.
11726         * gdb.base/line-symtabs.c: New file.
11727         * gdb.base/line-symtabs.h: New file.
11728
11729 2014-11-14  Yao Qi  <yao@codesourcery.com>
11730
11731         * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11732         (func): Add label func_label.
11733         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11734         Replace low_pc and high_pc with MACRO_AT_range.
11735         Replace name, low_pc and high_pc with MACRO_AT_func.
11736
11737 2014-11-14  Yao Qi  <yao@codesourcery.com>
11738
11739         * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
11740         Replace name, low_pc and high_pc with MACRO_AT_func.
11741
11742 2014-11-14  Yao Qi  <yao@codesourcery.com>
11743
11744         * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
11745         produce debug information.
11746         * gdb.dwarf2/implptr-optimized-out.S: Removed.
11747
11748 2014-11-14  Yao Qi  <yao@codesourcery.com>
11749
11750         * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11751         object and get function length.
11752         (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11753         with MACRO_AT_func.
11754         (top-level): Replace gdb_compile and clean_restart with
11755         prepare_for_testing.
11756         * gdb.dwarf2/main.c (main): Add label main_label.
11757
11758 2014-11-14  Yao Qi  <yao@codesourcery.com>
11759
11760         * lib/dwarf.exp (function_range): New procedure.
11761         (Dwarf::_handle_macro_at_func): New procedure.
11762         (Dwarf::_handle_macro_at_range): New procedure.
11763         (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11764
11765 2014-11-14  Yao Qi  <yao@codesourcery.com>
11766
11767         * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11768         (_handle_attribute): New procedure.
11769
11770 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11771
11772         * gdb.ada/cond_lang/foo.c (callme): Add return type.
11773         * gdb.base/call-sc.c (zed): Likewise.
11774         * gdb.base/checkpoint.c (main): Likewise.
11775         * gdb.base/dump.c (main): Likewise.
11776         * gdb.base/gcore.c (main): Likewise.
11777         * gdb.base/huge.c (main): Likewise.
11778         * gdb.base/multi-forks.c (main): Likewise.
11779         * gdb.base/pr10179-a.c (main): Likewise.
11780         * gdb.base/savedregs.c (main): Likewise.
11781         * gdb.base/sigaltstack.c (main): Likewise.
11782         * gdb.base/siginfo.c (main): Likewise.
11783         * gdb.base/structs.c (zed): Likewise.
11784         * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11785         * gdb.mi/mi-syn-frame.c (main): Likewise.
11786         * gdb.mi/until.c (foo, main): Likewise.
11787         * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11788         * gdb.base/solib-weak.c (foo): Declare.
11789         * gdb.base/attach-twice.c: Include stdio.h.
11790         * gdb.base/weaklib1.c: Likewise.
11791         * gdb.base/weaklib2.c: Likewise.
11792         * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11793         * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11794         unistd.h.
11795         * gdb.base/attach-pie-misread.c: Include stdlib.h.
11796         * gdb.mi/mi-exit-code.c: Likewise.
11797         * gdb.base/break-interp-lib.c: Include string.h.
11798         * gdb.base/coremaker.c: Likewise.
11799         * gdb.base/testenv.c: Likewise.
11800         * gdb.python/py-finish-breakpoint.c: Likewise.
11801         * gdb.base/inferior-died.c: Include sys/wait.h.
11802         * gdb.base/fileio.c: Include time.h.
11803         * gdb.base/async-shell.c: Include unistd.h.
11804         * gdb.base/dprintf-non-stop.c: Likewise.
11805         * gdb.base/info-os.c: Likewise.
11806         * gdb.mi/mi-console.c: Likewise.
11807         * gdb.mi/watch-nonstop.c: Likewise.
11808         * gdb.python/py-events.c: Likewise.
11809         * gdb.base/async.c (baz): Move up before its invocation.
11810         * gdb.base/code_elim2.c (my_global_func): Likewise.
11811         * gdb.base/skip-solib-lib.c (multiply): Likewise.
11812         * gdb.base/advance.c (func2): Likewise.
11813
11814 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11815
11816         * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11817         variant.
11818         * gdb.base/annota3.c: Likewise.
11819         * gdb.base/async.c: Likewise.
11820         * gdb.base/average.c: Likewise.
11821         * gdb.base/call-ar-st.c: Likewise.
11822         * gdb.base/call-rt-st.c: Likewise.
11823         * gdb.base/call-sc.c: Likewise.
11824         * gdb.base/call-strs.c: Likewise.
11825         * gdb.base/ending-run.c: Likewise.
11826         * gdb.base/execd-prog.c: Likewise.
11827         * gdb.base/exprs.c: Likewise.
11828         * gdb.base/foll-exec.c: Likewise.
11829         * gdb.base/foll-fork.c: Likewise.
11830         * gdb.base/foll-vfork.c: Likewise.
11831         * gdb.base/funcargs.c: Likewise.
11832         * gdb.base/gcore.c: Likewise.
11833         * gdb.base/jump.c: Likewise.
11834         * gdb.base/langs0.c: Likewise.
11835         * gdb.base/langs1.c: Likewise.
11836         * gdb.base/langs2.c: Likewise.
11837         * gdb.base/mips_pro.c: Likewise.
11838         * gdb.base/nodebug.c: Likewise.
11839         * gdb.base/opaque0.c: Likewise.
11840         * gdb.base/opaque1.c: Likewise.
11841         * gdb.base/recurse.c: Likewise.
11842         * gdb.base/run.c: Likewise.
11843         * gdb.base/scope0.c: Likewise.
11844         * gdb.base/scope1.c: Likewise.
11845         * gdb.base/setshow.c: Likewise.
11846         * gdb.base/setvar.c: Likewise.
11847         * gdb.base/shmain.c: Likewise.
11848         * gdb.base/shr1.c: Likewise.
11849         * gdb.base/shr2.c: Likewise.
11850         * gdb.base/sigall.c: Likewise.
11851         * gdb.base/signals.c: Likewise.
11852         * gdb.base/so-indr-cl.c: Likewise.
11853         * gdb.base/solib2.c: Likewise.
11854         * gdb.base/structs.c: Likewise.
11855         * gdb.base/sum.c: Likewise.
11856         * gdb.base/vforked-prog.c: Likewise.
11857         * gdb.base/watchpoint.c: Likewise.
11858         * gdb.reverse/shr2.c: Likewise.
11859         * gdb.reverse/until-reverse.c: Likewise.
11860         * gdb.reverse/ur1.c: Likewise.
11861         * gdb.reverse/watch-reverse.c: Likewise.
11862
11863 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11864
11865         * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
11866         variant.
11867         * gdb.base/sepdebug.exp: Drop references to removed code.
11868
11869 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11870
11871         * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
11872         variant.  Preserve original line numbering.
11873         * gdb.base/list1.c: Likewise.
11874
11875 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11876
11877         * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11878         variant.
11879         * gdb.base/break1.c: Likewise.
11880         * gdb.base/break.exp: Drop references to removed code.
11881
11882 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11883
11884         * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
11885         variant.
11886
11887 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11888
11889         * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
11890
11891 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11892
11893         * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
11894         logic into perform_all_tests() and invoke it with and without
11895         function header prototypes.
11896         (do_function_calls): Remove conditional XFAIL for PR 5318.
11897         (rerun_and_prepare): Remove duplicate code.
11898         (perform_all_tests): New.  Main logic moved here.
11899
11900 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11901
11902         * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
11903         code guarded by #ifdef NO_PROTOTYPES.
11904         (t_double_many_args): Likewise.
11905         (DEF_FUNC_MANY_ARGS_1): Likewise.
11906         (DEF_FUNC_VALUES_1): Likewise.
11907         (t_structs_ldc): Renamed from t_structs_fc in conditional code
11908         guarded by #ifdef PROTOTYPES.
11909
11910 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11911
11912         * gdb.mi/mi-console.c: Add eye-catcher.
11913         * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
11914         instead of literal line number.
11915
11916 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11917
11918         * gdb.base/shr2.c: Add eye-catcher.
11919         * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
11920         line number.
11921
11922 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11923
11924         * gdb.base/jump.c: Add eye-catchers.
11925         * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
11926         numbers.
11927
11928 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11929
11930         * gdb.base/execd-prog.c: Add eye-catchers.
11931         * gdb.base/foll-exec.c: Likewise.
11932         * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
11933         line numbers.
11934
11935 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11936
11937         * gdb.base/ending-run.c: Add eye-catchers.
11938         * gdb.base/ending-run.exp: Refer to eye-catchers instead of
11939         literal line numbers.
11940
11941 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11942
11943         * gdb.base/call-rt-st.c: Add eye-catchers.
11944         * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
11945         literal line numbers.
11946
11947 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11948
11949         * gdb.base/call-ar-st.c: Add eye-catchers.
11950         * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
11951         literal line numbers.
11952
11953 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11954
11955         * gdb.base/average.c: Add eye-catchers.
11956         * gdb.base/sum.c: Likewise.
11957         * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
11958         regexps dynamically.
11959
11960 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11961
11962         * gdb.base/solib1.c: Add eye-catchers.
11963         * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
11964         literal line numbers.
11965
11966 2014-11-12  Pedro Alves  <palves@redhat.com>
11967
11968         * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
11969         leader has exited.
11970
11971 2014-11-12  Pedro Alves  <palves@redhat.com>
11972
11973         * gdb.arch/i386-bp_permanent.c: New file.
11974         * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
11975         (srcfile): Set to i386-bp_permanent.c.
11976         (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
11977         that stepi does not execute the 'leave' instruction, instead of
11978         testing it does execute.
11979         * gdb.base/bp-permanent.c: New file.
11980         * gdb.base/bp-permanent.exp: New file.
11981
11982 2014-11-10  Doug Evans  <xdje42@gmail.com>
11983
11984         PR symtab/17564
11985         * gdb.base/symtab-search-order.exp: New file.
11986         * gdb.base/symtab-search-order.c: New file.
11987         * gdb.base/symtab-search-order-1.c: New file.
11988         * gdb.base/symtab-search-order-shlib-1.c: New file.
11989
11990 2014-11-07  Pedro Alves  <palves@redhat.com>
11991
11992         PR gdb/17511
11993         * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
11994         i?86-*-linux*.
11995
11996 2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
11997
11998         PR c++/17494
11999         * gdb.cp/pr17494.cc: New file.
12000         * gdb.cp/pr17494.exp: New file.
12001
12002 2014-11-02  Yao Qi  <yao@codesourcery.com>
12003
12004         * gdb.python/python.exp: Get working directory and match the
12005         output of "set extended-prompt \\w " with it.
12006
12007 2014-10-30  Doug Evans  <dje@google.com>
12008
12009         * gdb.python/py-objfile.exp: Add tests for setting random attributes
12010         in objfiles.
12011         * gdb.python/py-progspace.exp: Add tests for setting random attributes
12012         in progspaces.
12013
12014 2014-10-30  Janis Johnson  <janisjo@codesourcery.com>
12015
12016         * gdb.base/fullpath-expand.exp: Skip for a remote host.
12017         * gdb.base/realname-expand.exp: Likewise.
12018         * gdb.linespec/macro-relative.exp: Likewise.
12019
12020 2014-10-29  Pedro Alves  <palves@redhat.com>
12021
12022         PR gdb/17408
12023         * gdb.threads/schedlock.c (some_function): New function.
12024         (call_function): New global.
12025         (MAYBE_CALL_SOME_FUNCTION): New macro.
12026         (thread_function): Call it.
12027         * gdb.threads/schedlock.exp (get_args): Add description parameter,
12028         and use it instead of a global counter.  Adjust all callers.
12029         (get_current_thread): Use "find current thread" for test message
12030         here rather than having all callers pass down the same string.
12031         (goto_loop): New procedure, factored out from ...
12032         (my_continue): ... this.
12033         (step_ten_loops): Change parameter from test message to command to
12034         use.  Adjust.
12035         (list_count): Delete global.
12036         (check_result): New procedure, factored out from duplicate top
12037         level code.
12038         (continue tests): Wrap in with_test_prefix.
12039         (test_step): New procedure, factored out from duplicate top level
12040         code.
12041         (top level): Test "step" in combination with all scheduler-locking
12042         modes.  Test "next" in combination with all scheduler-locking
12043         modes, and in combination with stepping over a function call or
12044         not.
12045         * gdb.threads/next-bp-other-thread.c: New file.
12046         * gdb.threads/next-bp-other-thread.exp: New file.
12047
12048 2014-10-29  Pedro Alves  <palves@redhat.com>
12049
12050         PR python/17372
12051         * gdb.python/python.exp: Test a multi-line command that spawns
12052         interactive Python.
12053         * gdb.base/multi-line-starts-subshell.exp: New file.
12054
12055 2014-10-29  Yao Qi  <yao@codesourcery.com>
12056
12057         * gdb.base/fileio.exp: Make directories on host.
12058
12059 2014-10-29  Yao Qi  <yao@codesourcery.com>
12060
12061         * gdb.base/fileio.c (test_write): Close the file.
12062
12063 2014-10-28  Pedro Alves  <palves@redhat.com>
12064
12065         PR gdb/12623
12066         * gdb.base/sigstep.c (no_handler): New global.
12067         (main): If 'no_handler is true, set the signal handlers to
12068         SIG_IGN.
12069         * gdb.base/sigstep.exp (breakpoint_over_handler): Add
12070         with_sw_watch and no_handler parameters.  Handle them.
12071         (top level) <stepping over handler when stopped at a breakpoint
12072         test>: Add a test axis for testing with a software watchpoint, and
12073         another for testing with the signal handler set to SIG_IGN.
12074         * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
12075         * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
12076
12077 2014-10-28  Pedro Alves  <palves@redhat.com>
12078
12079         PR gdb/17511
12080         * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
12081         * gdb.base/sigstep.exp (other_handler_location): New global.
12082         (advance): Support stepping into the signal handler, and running
12083         commands while in the handler.
12084         (in_handler_map): New global.
12085         (top level): In the advance test, add combinations for getting
12086         into the handler with stepping commands, and for running commands
12087         in the handler.  Add comment descripting the advancei tests.
12088
12089 2014-10-28  Pedro Alves  <palves@redhat.com>
12090
12091         * gdb.base/sigstep.exp: Use build_executable instead of
12092         prepare_for_testing.
12093         (top level): Move code that starts GDB, runs to main and creates a
12094         display to ...
12095         (restart): ... this new procedure.
12096         (top level): Move backtrace from signal handler test to ...
12097         (validate_backtrace): ... this new procedure.
12098         (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
12099         with_test_prefix.  Always restart GDB.
12100         (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
12101         with_test_prefix.  Always restart GDB.  No need to delete
12102         breakpoints after the test.
12103         (test_skip_handler): Remove prefix parameter.
12104         (skip_over_handler, breakpoint_to_handler)
12105         (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
12106         parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
12107         restart GDB.  No need to delete breakpoints after the test.
12108         (top level): Use foreach to call the test procedures with
12109         different commands.
12110
12111 2014-10-28  Pedro Alves  <palves@redhat.com>
12112
12113         * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
12114         instead of GNATS numbers.
12115         * gdb.base/sigbpt.exp: Likewise.
12116         * gdb.base/siginfo.exp: Likewise.
12117         * gdb.base/sigstep.exp: Likewise.
12118
12119 2014-10-27  Pedro Alves  <palves@redhat.com>
12120
12121         * gdb.base/sigstep.c (dummy): New global.
12122         (main): Issue a couple writes to the new global.
12123         * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
12124         procedures.
12125         (skip_over_handler): Use test_skip_handler.
12126         (top level): Call skip_over_handler for stepi and nexti too.
12127         (breakpoint_over_handler): Use test_skip_handler.
12128         (top level): Call breakpoint_over_handler for stepi and nexti too.
12129
12130 2014-10-27  Yao Qi  <yao@codesourcery.com>
12131
12132         * gdb.trace/tfile.c (adjust_function_address)
12133         [__powerpc64__ && _CALL_ELF != 2]: Get function address from
12134         function descriptor.
12135
12136 2014-10-24  Don Breazeal  <donb@codesourcery.com>
12137
12138         * gdb.base/foll-fork.exp (test_follow_fork,
12139         catch_fork_child_follow): Check for updated fork messages emitted
12140         from infrun.c.
12141         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
12142         vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
12143         vfork_and_exec_child_follow_through_step): Check for updated vfork
12144         messages emitted from infrun.c.
12145
12146 2014-10-24  Pedro Alves  <palves@redhat.com>
12147
12148         * gdb.base/corefile.exp: Remove references to ultrix.
12149         * gdb.base/interrupt.exp: Likewise.
12150         * gdb.base/whatis.exp: Likewise.
12151         * gdb.gdb/selftest.exp: Likewise.
12152         * gdb.threads/manythreads.exp: Likewise.
12153         * gdb.threads/print-threads.exp: Likewise.
12154         * gdb.threads/pthreads.exp:: Likewise.
12155         * gdb.threads/schedlock.exp: Likewise.
12156
12157 2014-10-24  Siva Chandra Reddy  <sivachandra@google.com>
12158
12159         * gdb.cp/non-trivial-retval.cc: Add a test case.
12160         * gdb.cp/non-trivial-retval.exp: Add a test.
12161
12162 2014-10-20  Yao Qi  <yao@codesourcery.com>
12163
12164         * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
12165         * gdb.python/py-objfile-script-gdb.py: New file.
12166         * gdb.python/py-objfile-script.exp: Update reference to
12167         py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
12168         of remote_download.  Remove the dest file.
12169
12170 2014-10-20  Yao Qi  <yao@codesourcery.com>
12171
12172         * gdb.base/checkpoint.exp: Don't remove file copied on host.
12173         * gdb.base/step-line.exp: Likewise.
12174         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12175         * gdb.dwarf2/dw2-basic.exp: Likewise.
12176         * gdb.dwarf2/dw2-compressed.exp: Likewise.
12177         * gdb.dwarf2/dw2-filename.exp: Likewise.
12178         * gdb.dwarf2/dw2-intercu.exp: Likewise.
12179         * gdb.dwarf2/dw2-intermix.exp: Likewise.
12180         * gdb.dwarf2/dw2-producer.exp: Likewise.
12181         * gdb.dwarf2/mac-fileno.exp: Likewise.
12182         * gdb.python/py-frame-args.exp: Likewise.
12183         * gdb.python/py-framefilter.exp: Likewise.
12184         * gdb.python/py-mi.exp: Likewise.
12185         * gdb.python/py-objfile-script.exp: Likewise
12186         * gdb.python/py-pp-integral.exp: Likewise.
12187         * gdb.python/py-pp-re-notag.exp: Likewise.
12188         * gdb.python/py-prettyprint.exp: Likewise.
12189         * gdb.python/py-section-script.exp: Likewise.
12190         * gdb.python/py-typeprint.exp: Likewise.
12191         * gdb.python/py-xmethods.exp: Likewise.
12192         * gdb.stabs/weird.exp: Likewise.
12193         * gdb.xml/tdesc-regs.exp: Likewise.
12194
12195 2014-10-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
12196
12197         * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
12198         (out_cu): Use addr_len for the size of addresses.
12199         (out_line): Likewise.  Size DW_LNE_set_address instruction
12200         according to addr_len.
12201         * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
12202         (FUNC): Add START_INSNS to definition.
12203
12204 2014-10-18  Yao Qi  <yao@codesourcery.com>
12205
12206         * gdb.base/argv0-symlink.exp: Check argv[0] value if
12207         gdb_has_argv0 return true.
12208         * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
12209         check [target_info exists noargs], check [gdb_has_argv0]
12210         instead.
12211         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12212         * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
12213         procedures.
12214
12215 2014-10-17  Doug Evans  <dje@google.com>
12216
12217         * gdb.python/py-events.exp: Update expected output for clear_objfiles
12218         event.
12219         * gdb.python/py-events.py: Add clear_objfiles event.
12220
12221 2014-10-17  Doug Evans  <dje@google.com>
12222
12223         * gdb.python/py-objfile.exp: Test progspace attribute.
12224
12225 2014-10-17  Luis Machado  <lgustavo@codesourcery.com>
12226
12227         * gdb.guile/scm-breakpoint.exp: Do not assume any
12228         directory separators when matching source file paths.
12229         * gdb.python/py-breakpoint.exp: Likewise.
12230         * gdb.reverse/break-precsave.exp: Likewise.
12231         * gdb.reverse/break-reverse.exp: Likewise.
12232         * gdb.reverse/consecutive-precsave.exp: Likewise.
12233         * gdb.reverse/finish-precsave.exp: Likewise.
12234         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
12235         * gdb.reverse/finish-reverse.exp: Likewise.
12236         * gdb.reverse/i386-precsave.exp: Likewise.
12237         * gdb.reverse/i387-env-reverse.exp: Likewise.
12238         * gdb.reverse/i387-stack-reverse.exp: Likewise.
12239         * gdb.reverse/machinestate-precsave.exp: Likewise.
12240         * gdb.reverse/machinestate.exp: Likewise.
12241         * gdb.reverse/sigall-precsave.exp: Likewise.
12242         * gdb.reverse/solib-precsave.exp: Likewise.
12243         * gdb.reverse/step-precsave.exp: Likewise.
12244         * gdb.reverse/until-precsave.exp: Likewise.
12245         * gdb.reverse/watch-precsave.exp: Likewise.
12246         * gdb.reverse/watch-reverse.exp: Likewise.
12247
12248 2014-10-17  Yao Qi  <yao@codesourcery.com>
12249
12250         * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
12251         * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
12252
12253 2014-10-17  Pedro Alves  <palves@redhat.com>
12254
12255         PR gdb/17471
12256         * gdb.base/bg-execution-repeat.c: New file.
12257         * gdb.base/bg-execution-repeat.exp: New file.
12258
12259 2014-10-17  Pedro Alves  <palves@redhat.com>
12260
12261         PR gdb/17300
12262         * gdb.base/continue-all-already-running.c: New file.
12263         * gdb.base/continue-all-already-running.exp: New file.
12264
12265 2014-10-17  Pedro Alves  <palves@redhat.com>
12266
12267         PR gdb/17472
12268         * gdb.base/annota-input-while-running.c: New file.
12269         * gdb.base/annota-input-while-running.exp: New file.
12270
12271 2014-10-17  Pedro Alves  <palves@redhat.com>
12272
12273         * gdb.base/callfuncs.exp: emove references to osf.
12274         * gdb.base/sigall.exp: Likewise.
12275         * gdb.gdb/selftest.exp: Likewise.
12276         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12277         * gdb.mi/non-stop.c: Likewise.
12278         * gdb.mi/pthreads.c: Likewise.
12279         * gdb.reverse/sigall-precsave.exp: Likewise.
12280         * gdb.reverse/sigall-reverse.exp: Likewise.
12281         * gdb.threads/pthreads.c: Likewise.
12282         * gdb.threads/pthreads.exp: Likewise.
12283
12284 2014-10-17  Yao Qi  <yao@codesourcery.com>
12285
12286         * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
12287         check 'target_info exists noargs'.
12288         (test_command_prompt_position): Likewise.
12289         (progvar_simple_if_test): Don't check 'target_info exists noargs'.
12290         Remove "set args".
12291         (progvar_simple_while_test): Likewise.
12292         (progvar_complex_if_while_test): Likewise.
12293         (if_while_breakpoint_command_test): Likewise.
12294         (infrun_breakpoint_command_test): Likewise.
12295         (breakpoint_command_test): Likewise.
12296         (watchpoint_command_test): Likewise.
12297         (bp_deleted_in_command_test): Likewise.
12298         (temporary_breakpoint_commands): Likewise.
12299
12300 2014-10-16  Yao Qi  <yao@codesourcery.com>
12301
12302         * gdb.base/remotetimeout.exp: Remove noargs checking.
12303
12304 2014-10-15  Pedro Alves  <palves@redhat.com>
12305
12306         PR breakpoints/9649
12307         * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
12308         * gdb.base/breakpoint-in-ro-region.exp
12309         (probe_target_hardware_step): New procedure.
12310         (top level): Probe hardware stepping and hardware breakpoint
12311         support.  Test stepping through a read-only region, with both
12312         "breakpoint auto-hw" on and off and both "always-inserted" on and
12313         off.
12314
12315 2014-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
12316
12317         * gdb.dlang/demangle.exp: Update for demangling changes.
12318
12319 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12320
12321         * gdb.cp/non-trivial-retval.cc: Add new test cases.
12322         * gdb.cp/non-trivial-retval.exp: Add new tests.
12323
12324 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12325
12326         PR c++/13403
12327         PR c++/15154
12328         * gdb.cp/non-trivial-retval.cc: New file.
12329         * gdb.cp/non-trivial-retval.exp: New file.
12330
12331 2014-10-15  Yao Qi  <yao@codesourcery.com>
12332
12333         * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12334         remote host.
12335
12336 2014-10-15  Yao Qi  <yao@codesourcery.com>
12337
12338         * gdb.python/py-symbol.exp: Match file base name if host is
12339         remote, otherwise match file name with dir name.
12340         * gdb.python/py-symtab.exp: Likewise.
12341         * gdb.python/python.exp: Likewise.
12342
12343 2014-10-15  Yao Qi  <yao@codesourcery.com>
12344
12345         * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12346         pattern.
12347         * gdb.python/py-symtab.exp: Likewise.
12348         * gdb.python/python.exp: Remove trailing ".*".  Fix typo
12349         locationn.
12350
12351 2014-10-14  Joel Brobecker  <brobecker@adacore.com>
12352
12353         * gdb.ada/addr_arith: New testcase.
12354
12355 2014-10-14  Maciej W. Rozycki  <macro@codesourcery.com>
12356
12357         * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12358         * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12359         * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12360         * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12361
12362 2014-10-14  Sergio Durigan Junior  <sergiodj@redhat.com>
12363
12364         * gdb.arch/stap-eval-lang-ada.S: Likewise.
12365         * gdb.arch/stap-eval-lang-ada.c: Likewise.
12366         * gdb.arch/stap-eval-lang-ada.exp: New file.
12367
12368 2014-10-14  Yao Qi  <yao@codesourcery.com>
12369
12370         * gdb.mi/mi-var-child.c (nothing1): New function.
12371         (nothing2): New function.
12372         (do_children_tests): Set function pointers by nothing1 and
12373         nothing2.
12374         * gdb.mi/mi-var-child.exp: Step over new added statements.
12375         Update test to match the new output.
12376         * gdb.mi/var-cmd.c (nothing1): New function.
12377         (nothing2): New function.
12378         (do_children_tests): Set function pointers by  nothing1 and
12379         nothing2.
12380         * gdb.mi/mi-var-display.exp: Update test to match output.
12381         Step to the line specified by $line_dct_nothing.
12382         Increase the number of lines to step.
12383
12384 2014-10-14  Yao Qi  <yao@codesourcery.com>
12385
12386         * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12387         tests.
12388         * gdb.mi/mi2-var-child.exp: Likewise.
12389
12390 2014-10-13  Doug Evans  <dje@google.com>
12391
12392         * gdb.python/py-objfile.exp: Change name of file name test.
12393
12394 2014-10-13  Doug Evans  <dje@google.com>
12395
12396         * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12397         from the start of the CU.
12398
12399 2014-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
12400             Yao Qi  <yao@codesourcery.com>
12401
12402         Fix "save breakpoints" for "catch" command.
12403         * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
12404         Remove -nonewline.  Match also the added "main" line.
12405
12406 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12407
12408         Fix "save breakpoints" for "disable $bpnum" command.
12409         * gdb.base/save-bp.c (main): Add label.
12410         * gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
12411
12412 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12413
12414         * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12415
12416 2014-10-11  Yao Qi  <yao@codesourcery.com>
12417
12418         * gdb.server/server-kill.exp: Execute command
12419         "set remote trace-status-packet on" before "tstatus".
12420
12421 2014-10-11  Yao Qi  <yao@codesourcery.com>
12422
12423         * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12424         (main): Call getppid.
12425         * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12426         and continue to it.  Read variable "server_pid".
12427
12428 2014-10-11  Yao Qi  <yao@codesourcery.com>
12429
12430         * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12431
12432 2014-10-11  Yao Qi  <yao@codesourcery.com>
12433
12434         * gdb.threads/thread-find.exp: Don't execute command
12435         "info threads".
12436         * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12437         * gdb.threads/linux-dp.exp: Don't check the condition
12438         $threads_created equals to zero.
12439
12440 2014-10-10  Pedro Alves  <palves@redhat.com>
12441
12442         * gdb.base/bigcore.exp: Remove references to IRIX.
12443         * gdb.base/funcargs.exp: Likewise.
12444         * gdb.base/interrupt.exp: Likewise.
12445         * gdb.base/mips_pro.exp: Likewise.
12446         * gdb.base/nodebug.exp: Likewise.
12447         * gdb.base/setvar.exp: Likewise.
12448         * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12449
12450 2014-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
12451             Pedro Alves  <palves@redhat.com>
12452
12453         PR symtab/14466
12454         * gdb.base/vdso-warning.c: New file.
12455         * gdb.base/vdso-warning.exp: New file.
12456
12457 2014-10-02  Doug Evans  <dje@google.com>
12458
12459         * gdb.base/structs.c (main): Don't run forever.
12460
12461 2014-10-02  Pedro Alves  <palves@redhat.com>
12462
12463         * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12464         (top level) <stop threads 1, stop threads 2>: Use it.
12465
12466 2014-10-02  Pedro Alves  <palves@redhat.com>
12467
12468         * gdb.threads/break-while-running.exp (test): Add new
12469         'update_thread_list' argument.  Skip "info threads" if false.
12470         (top level): Add new 'update_thread_list' axis.
12471
12472 2014-10-02  Pedro Alves  <palves@redhat.com>
12473
12474         PR breakpoints/17431
12475         * gdb.base/execl-update-breakpoints.c: New file.
12476         * gdb.base/execl-update-breakpoints.exp: New file.
12477
12478 2014-10-01  Pedro Alves  <palves@redhat.com>
12479
12480         * gdb.base/breakpoint-in-ro-region.c: New file.
12481         * gdb.base/breakpoint-in-ro-region.exp: New file.
12482
12483 2014-10-01  Simon Marchi  <simon.marchi@ericsson.com>
12484
12485         * gdb.mi/mi-exit-code.exp: New file.
12486         * gdb.mi/mi-exit-code.c: New file.
12487
12488 2014-09-30  Yao Qi  <yao@codesourcery.com>
12489
12490         * lib/prelink-support.exp (build_executable_own_libs): Error if
12491         the target isn't native.
12492
12493 2014-09-30  Yao Qi  <yao@codesourcery.com>
12494
12495         * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12496         false.
12497
12498 2014-09-22  Pedro Alves  <palves@redhat.com>
12499
12500         * gdb.threads/break-while-running.exp: New file.
12501         * gdb.threads/break-while-running.c: New file.
12502
12503 2014-09-19  Yao Qi  <yao@codesourcery.com>
12504
12505         * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12506         Invoke test.  Restart GDB with --readnow and invoke test again.
12507
12508 2014-09-19  Yao Qi  <yao@codesourcery.com>
12509
12510         * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12511         proc set_breakpoint_on_gcd_function.  Invoke
12512         set_breakpoint_on_gcd_function.  Restart GDB with --readnow and
12513         invoke set_breakpoint_on_gcd_function again.
12514
12515 2014-09-18  Doug Evans  <dje@google.com>
12516
12517         * gdb.dwarf2/symtab-producer.exp: New file.
12518
12519 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12520
12521         * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12522         * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12523         * gdb.base/global-var-nested-by-dso.c: Likewise.
12524         * gdb.base/global-var-nested-by-dso.exp: Likewise.
12525
12526 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12527             Pedro Alves  <palves@redhat.com>
12528
12529         * gdb.base/watch-bitfields.exp: Pass string other than test file
12530         name to prepare_for_testing.
12531         (watch): New procedure.
12532         (expect_watchpoint): Use with_test_prefix.
12533         (top level): Factor out tests to ...
12534         (test_watch_location, test_regular_watch): ... these new
12535         procedures, and use with_test_prefix and gdb_continue_to_end.
12536
12537 2014-09-16  Patrick Palka  <patrick@parcs.ath.cx>
12538
12539         PR breakpoints/12526
12540         * gdb.base/watch-bitfields.exp: New file.
12541         * gdb.base/watch-bitfields.c: New file.
12542
12543 2014-09-16  Pedro Alves  <palves@redhat.com>
12544
12545         * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12546         software and hardware addresses, not software address against
12547         itself.
12548
12549 2014-09-16  Pedro Alves  <palves@redhat.com>
12550
12551         * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12552         * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12553
12554 2014-09-16  Pedro Alves  <palves@redhat.com>
12555
12556         * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12557         files.
12558         * gdb.base/a2-run.exp: Remove all code guarded by istarget
12559         "*-*-vxworks*" throughout.
12560         * gdb.base/break.exp: Likewise.
12561         * gdb.base/default.exp: Likewise.
12562         * gdb.base/scope.exp: Likewise.
12563         * gdb.base/sepdebug.exp: Likewise.
12564         * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12565         throughout.
12566         * gdb.base/run.c: Likewise.
12567         * gdb.base/sepdebug.c: Likewise.
12568         * gdb.hp/gdb.aCC/run.c: Likewise.
12569         * gdb.reverse/until-reverse.c: Likewise.
12570         * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12571
12572 2014-09-16  Yao Qi  <yao@codesourcery.com>
12573
12574         * boards/local-remote-host-native.exp: New file.
12575
12576 2014-09-14  Doug Evans  <xdje42@gmail.com>
12577
12578         * gdb.threads/queue-signal.c (thread_count): New variable.
12579         (thread_count_mutex, thread_count_condvar): New variables.
12580         (incr_thread_count, wait_all_threads_running): New functions.
12581         (main): Wait for all threads to be in their thread functions.
12582
12583 2014-09-13  Doug Evans  <xdje42@gmail.com>
12584
12585         * gdb.threads/queue-signal.c: New file.
12586         * gdb.threads/queue-signal.exp: New file.
12587
12588 2014-09-13  Doug Evans  <xdje42@gmail.com>
12589
12590         * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12591         be consistent with what default_gdb_init uses.
12592         (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12593         the plain text of the prompt.  Add some logging printfs.
12594         * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12595
12596 2014-09-12  Pedro Alves  <palves@redhat.com>
12597
12598         * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12599         gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12600         * gdb.arch/i386-size-overlap.exp: Likewise.
12601         * gdb.arch/i386-size.exp: Likewise.
12602         * gdb.arch/i386-unwind.exp: Likewise.
12603         * gdb.base/a2-run.exp: Likewise.
12604         * gdb.base/break.exp: Likewise.
12605         * gdb.base/charset.exp: Likewise.
12606         * gdb.base/chng-syms.exp: Likewise.
12607         * gdb.base/commands.exp: Likewise.
12608         * gdb.base/dbx.exp: Likewise.
12609         * gdb.base/find.exp: Likewise.
12610         * gdb.base/funcargs.exp: Likewise.
12611         * gdb.base/jit-simple.exp: Likewise.
12612         * gdb.base/reread.exp: Likewise.
12613         * gdb.base/sepdebug.exp: Likewise.
12614         * gdb.base/step-bt.exp: Likewise.
12615         * gdb.cp/mb-inline.exp: Likewise.
12616         * gdb.cp/mb-templates.exp: Likewise.
12617         * gdb.objc/basicclass.exp: Likewise.
12618         * gdb.threads/killed.exp: Likewise.
12619
12620 2014-09-12  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
12621
12622         PR tdep/17379
12623         * gdb.arch/powerpc-stackless.S: New file.
12624         * gdb.arch/powerpc-stackless.exp: New file.
12625
12626 2014-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12627
12628         * gdb.base/attach.c: Include unistd.h.
12629         (main): Call alarm.  Add label postloop.
12630         * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12631         gdb_breakpoint, gdb_continue_to_breakpoint.
12632         (test_command_line_attach_run): Kill ${testpid} in one exit path.
12633
12634 2014-09-11  Pedro Alves  <palves@redhat.com>
12635
12636         PR gdb/17347
12637         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12638         * gdb.base/attach.exp (test_command_line_attach_run): New
12639         procedure.
12640         (top level): Call it.
12641
12642 2014-09-11  Pedro Alves  <palves@redhat.com>
12643
12644         * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12645         * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12646         (do_command_attach_tests): Use spawn_wait_for_attach.
12647         * gdb.base/solib-overlap.exp: Likewise.
12648         * gdb.multi/multi-attach.exp: Likewise.
12649         * gdb.python/py-prompt.exp: Likewise.
12650         * gdb.python/py-sync-interp.exp: Likewise.
12651         * gdb.server/ext-attach.exp: Likewise.
12652
12653 2014-09-11  Gabriel Krisman Bertazi  <gabriel@krisman.be>
12654
12655         * gdb.fortran/array-element.exp: Remove unexpected "continue"
12656         command in testcase.  Simplify testcase.
12657
12658 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12659
12660         * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12661
12662 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12663
12664         * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12665
12666 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12667
12668         * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12669
12670 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12671
12672         * gdb.dwarf2/dynarr-ptr.c: New file.
12673         * gdb.dwarf2/dynarr-ptr.exp: New file.
12674
12675 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12676
12677         * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12678         of 30 rather than hardcoding 120 for a slow test case.  Take the
12679         `gdb,timeout' target setting into account for this calculation.
12680         Don't extend the timeout for the test cases that don't need it.
12681
12682 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12683
12684         * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12685         a factor of 2 for a slow test case.  Take the `gdb,timeout'
12686         target setting into account for this calculation.
12687         * gdb.reverse/until-precsave.exp: Increase the timeout by
12688         a factor of 15 and 3 respectively rather than adding 120
12689         for a pair of slow test cases.  Take the `gdb,timeout'
12690         target setting into account for this calculation.
12691
12692 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12693
12694         * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12695         timeout, don't pass one down to gdb_expect.
12696         (gdb_expect): Rework timeout selection.
12697
12698 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12699
12700         * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12701         exception on timeout.
12702         (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12703         (gdbserver_start_extended): Catch any `gdbserver_start' error
12704         exceptions.
12705         (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12706         * lib/mi-support.exp (mi_gdb_target_load): Catch any
12707         `gdbserver_gdb_load' error exceptions.
12708
12709 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12710
12711         * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12712         120 on waiting for the TCP socket to open.
12713
12714 2014-09-09  Doug Evans  <xdje42@gmail.com>
12715
12716         * gdb.base/default.exp (show_conv_list): Add _caller_is,
12717         _caller_matches, _any_caller_is, _any_caller_matches.
12718
12719 2014-09-09  Doug Evans  <xdje42@gmail.com>
12720
12721         * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12722
12723 2014-09-09  Yao Qi  <yao@codesourcery.com>
12724
12725         * gdb.mi/mi-var-display.exp: Set print symbol off.
12726
12727 2014-09-07  Gabriel Krisman Bertazi  <gabriel@krisman.be>
12728
12729         PR gdb/17035
12730         * gdb.base/commands.exp: Add tests to verify user-defined
12731         commands with empty bodies.
12732         * gdb.python/py-cmd.exp: Test that we don't show user-defined
12733         python commands in `show user command`.
12734         * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12735         scheme commands in `show user command`.
12736
12737 2014-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
12738
12739         PR python/17355
12740         * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12741         * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12742         * gdb.python/py-framefilter-invalidarg.exp: New file.
12743         * gdb.python/py-framefilter-invalidarg.py: New file.
12744
12745 2014-09-06  Doug Evans  <xdje42@gmail.com>
12746
12747         PR 15276
12748         * gdb.python/py-caller-is.c: New file.
12749         * gdb.python/py-caller-is.exp: New file.
12750
12751 2014-09-05  Sergio Durigan Junior  <sergiodj@redhat.com>
12752
12753         PR gdb/17235
12754         * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12755         * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12756
12757 2014-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
12758
12759         PR fortran/17237
12760         * gdb.fortran/print-formatted.exp: New file.
12761         * gdb.fortran/print-formatted.f90: Likewise.
12762
12763 2014-09-03  Sasha Smundak  <asmundak@google.com>
12764
12765         * gdb.python/py-frame.exp: Test Frame.read_register.
12766
12767 2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
12768
12769         PR python/16699
12770         * gdb.python/py-completion.exp: New file.
12771         * gdb.python/py-completion.py: Likewise.
12772
12773 2014-08-28  Doug Evans  <dje@google.com>
12774
12775         * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12776         eax,etc. are live with values set by gdb and thus the compiler can't
12777         use them.
12778         * gdb.arch/i386-pseudo.c (main): Ditto.
12779
12780 2014-08-27  Doug Evans  <dje@google.com>
12781
12782         * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12783
12784 2014-08-25  Doug Evans  <dje@google.com>
12785
12786         * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12787         (main): Ditto.
12788
12789 2014-08-25  Doug Evans  <dje@google.com>
12790
12791         * gdb.threads/thread-execl.exp: #include <stdio.h>.
12792
12793 2014-08-24  Yao Qi  <yao@codesourcery.com>
12794
12795         * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12796         symbol off.
12797         * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12798
12799 2014-08-22  Doug Evans  <dje@google.com>
12800
12801         PR 17276
12802         * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12803         * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12804         * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12805
12806 2014-08-22  Yao Qi  <yao@codesourcery.com>
12807
12808         * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12809         * gdb.python/py-finish-breakpoint2.exp: Likewise.
12810         * gdb.python/python.exp: Likewise.  Use .py file on the host
12811         instead of the build.
12812
12813 2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
12814
12815         * gdb.threads/gcore-stale-thread.c: New file.
12816         * gdb.threads/gcore-stale-thread.exp: New file.
12817
12818 2014-08-21  Pedro Alves  <palves@redhat.com>
12819
12820         * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12821         * gdb.base/gcore-relro-pie.exp: Likewise.
12822         * gdb.base/gcore-relro.exp: Likewise.
12823         * gdb.base/gcore.exp: Likewise.
12824         * gdb.base/print-symbol-loading.exp: Likewise.
12825         * gdb.threads/gcore-thread.exp: Likewise.
12826         * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12827
12828 2014-08-20  Pedro Alves  <palves@redhat.com>
12829             Jan Kratochvil  <jan.kratochvil@redhat.com>
12830
12831         * Makefile.in (EXTRA_RULES, CC): New variables, get from
12832         configure.
12833         (EXPECT): Handle READ1 being set.
12834         (all): Depend on EXTRA_RULES.
12835         (check-read1, expect-read1, read1.so, read1): New rules.
12836         * README (Testsuite Parameters): Document the READ1 make variable.
12837         (Race detection): New section.
12838         * configure: Regenerate.
12839         * configure.ac: If build==host==target, and running under a
12840         GNU/glibc system, add read1 to the extra Makefile rules.
12841         (EXTRA_RULES): AC_SUBST it.
12842         * lib/read1.c: New file.
12843
12844 2014-08-20  Joel Brobecker  <brobecker@adacore.com>
12845
12846         * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12847         the handling of variables declared as a typedef to an array
12848         which a DW_AT_data_location attribute.
12849
12850 2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
12851             Pedro Alves  <palves@redhat.com>
12852
12853         PR symtab/14604
12854         PR symtab/14605
12855         * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12856         gdb_test.
12857
12858 2014-08-19  Pedro Alves  <palves@redhat.com>
12859
12860         * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
12861
12862 2014-08-19  Yao Qi  <yao@codesourcery.com>
12863
12864         * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
12865         right line.
12866
12867 2014-08-18  David Blaikie  <dblaikie@gmail.com>
12868
12869         * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
12870
12871 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
12872
12873         * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
12874         attribute in array range.
12875
12876 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
12877
12878         * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
12879
12880 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
12881
12882         PR c++/17132
12883         * gdb.cp/pr17132.cc: New file.
12884         * gdb.cp/pr17132.exp: New file.
12885
12886 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
12887
12888         * gdb.python/py-xmethods.py (A_getarrayind)
12889         (E_method_char_worker.__call__, E_method_int_worker.__call__):
12890         Use 'print' with function call syntax.
12891         (E_method_matcher.match): Fix tab vs space indentation mixup.
12892
12893 2014-08-15  Yao Qi  <yao@codesourcery.com>
12894
12895         * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
12896         false.
12897
12898 2014-08-15  Yao Qi  <yao@codesourcery.com>
12899
12900         * gdb.cp/casts.exp: Set print symbol off.
12901         * gdb.cp/class2.exp: Likewise.
12902         * gdb.cp/overload.exp: Likewise.
12903         * gdb.cp/templates.exp: Likewise.
12904
12905 2014-08-11  Doug Evans  <dje@google.com>
12906
12907         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
12908         (test_load_shlib): Update.
12909
12910 2014-08-09  Yao Qi  <yao@codesourcery.com>
12911
12912         * gdb.base/display.exp: Invoke is_address_zero_readable.
12913         * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
12914         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12915         * gdb.base/hbreak-unmapped.exp: Return if
12916         is_address_zero_readable returns true.
12917         * gdb.base/signest.exp: Likewise.
12918         * gdb.base/signull.exp: Likewise.
12919         * gdb.base/sigbpt.exp: Likewise.
12920         * gdb.guile/scm-disasm.exp: Do the test if
12921         is_address_zero_readable returns false.
12922         * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
12923         * gdb.python/py-arch.exp: Likewise.
12924         * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
12925         * lib/gdb.exp (is_address_zero_readable): New proc.
12926
12927 2014-08-09  Yao Qi  <yao@codesourcery.com>
12928
12929         PR testsuite/13443
12930         * gdb.mi/mi-var-display.exp: Make test messages unique.
12931
12932 2014-08-04  Tom Tromey  <tromey@redhat.com>
12933
12934         * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
12935         target 0".
12936
12937 2014-08-04  Tom Tromey  <tromey@redhat.com>
12938
12939         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
12940         "target_resume".
12941
12942 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
12943
12944         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
12945         inner_vla_struct_object_size.
12946         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
12947         as xfail.
12948
12949 2014-07-30  Pedro Alves  <palves@redhat.com>
12950
12951         * gdb.threads/signal-command-handle-nopass.exp (test): Add
12952         comment.
12953
12954 2014-07-29  Yao Qi  <yao@codesourcery.com>
12955
12956         PR gdb/17206
12957         * gdb.base/until-nodebug.exp: New.
12958
12959 2014-07-28  Doug Evans  <xdje42@gmail.com>
12960
12961         PR guile/17203
12962         * gdb.guile/scm-parameter.exp: Add tests for trying to create
12963         previously existing parameter, and previously ambiguously spelled
12964         parameter.
12965
12966 2014-07-28  Will Newton  <will.newton@linaro.org>
12967
12968         * gdb.base/varargs.exp: Remove KFAILs for ARM.
12969
12970 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
12971             Doug Evans  <xdje42@gmail.com>
12972
12973         PR guile/17146
12974         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
12975
12976 2014-07-25  Pedro Alves  <palves@redhat.com>
12977
12978         * gdb.threads/signal-command-handle-nopass.c: New file.
12979         * gdb.threads/signal-command-handle-nopass.exp: New file.
12980         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
12981         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
12982         * gdb.threads/signal-delivered-right-thread.c: New file.
12983         * gdb.threads/signal-delivered-right-thread.exp: New file.
12984
12985 2014-07-25  Pedro Alves  <palves@redhat.com>
12986
12987         * gdb.base/double-prompt-target-event-error.exp
12988         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
12989         match.
12990         (cancel_pagination_in_target_event): Rework double prompt
12991         detection.
12992         * gdb.base/paginate-after-ctrl-c-running.exp
12993         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
12994         <return>' match.
12995         * gdb.base/paginate-bg-execution.exp
12996         (test_bg_execution_pagination_return)
12997         (test_bg_execution_pagination_cancel): Remove '-notransfer
12998         <return>' matches.
12999         * gdb.base/paginate-execution-startup.exp
13000         (test_fg_execution_pagination_return)
13001         (test_fg_execution_pagination_cancel): Remove '-notransfer
13002         <return>' matches.
13003         * gdb.base/paginate-inferior-exit.exp
13004         (test_paginate_inferior_exited): Remove '-notransfer <return>'
13005         match.
13006         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13007         * lib/gdb.exp (pagination_prompt): Run text through
13008         string_to_regexp.
13009         (gdb_test_multiple): Match $pagination_prompt instead of
13010         "<return>".
13011         (string_to_regexp): Move to lib/gdb-utils.exp.
13012
13013 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
13014
13015         * gdb.arch/amd64-entry-value-paramref.S: New file.
13016         * gdb.arch/amd64-entry-value-paramref.cc: New file.
13017         * gdb.arch/amd64-entry-value-paramref.exp: New file.
13018         * gdb.arch/amd64-optimout-repeat.S: New file.
13019         * gdb.arch/amd64-optimout-repeat.c: New file.
13020         * gdb.arch/amd64-optimout-repeat.exp: New file.
13021
13022 2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
13023
13024         PR gdb/17170
13025         * gdb.base/statistics.exp: New file.
13026
13027 2014-07-17  Doug Evans  <dje@google.com>
13028
13029         PR gdb/17170
13030         * gdb.base/maint.exp: Update testing of per-command stats.
13031
13032 2014-07-16  Pedro Alves  <palves@redhat.com>
13033
13034         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13035         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13036         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
13037         (tfile_write_buf): New functions.
13038         (add_memory_block): Rewrite using the above.
13039         (adjust_function_address): New function.
13040         (FUNCTION_ADDRESS): New macro.
13041         (write_basic_trace_file): Remove short_x local, and use
13042         tfile_write_16. Change type of func_addr local to unsigned long
13043         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
13044         here.  Cast argument of add_memory_block to char pointer.
13045         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
13046         (main): Remove parameters.
13047         * gdb.trace/tfile.exp: Remove nowarnings.
13048
13049 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
13050
13051         * gdb.base/debug-expr.exp: Test string evaluation with
13052         "debug expression" on.
13053
13054 2014-07-15  Pedro Alves  <palves@redhat.com>
13055
13056         * gdb.base/reread.exp: Use clean_restart.
13057
13058 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
13059
13060         * gdb.arch/avr-flash-qualifer.c: New.
13061         * gdb.arch/avr-flash-qualifer.exp: New.
13062
13063 2014-07-14  Pedro Alves  <palves@redhat.com>
13064
13065         * gdb.base/paginate-after-ctrl-c-running.c: New file.
13066         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
13067
13068 2014-07-14  Pedro Alves  <palves@redhat.com>
13069
13070         * gdb.base/double-prompt-target-event-error.c: New file.
13071         * gdb.base/double-prompt-target-event-error.exp: New file.
13072
13073 2014-07-14  Pedro Alves  <palves@redhat.com>
13074
13075         PR gdb/17072
13076         * gdb.base/paginate-inferior-exit.c: New file.
13077         * gdb.base/paginate-inferior-exit.exp: New file.
13078
13079 2014-07-14  Pedro Alves  <palves@redhat.com>
13080
13081         PR gdb/17072
13082         * gdb.base/paginate-bg-execution.c: New file.
13083         * gdb.base/paginate-bg-execution.exp: New file.
13084
13085 2014-07-14  Pedro Alves  <palves@redhat.com>
13086
13087         PR gdb/17072
13088         * gdb.base/paginate-execution-startup.c: New file.
13089         * gdb.base/paginate-execution-startup.exp: New file.
13090         * lib/gdb.exp (pagination_prompt): New global.
13091         (default_gdb_spawn): New procedure, factored out from
13092         default_gdb_spawn.
13093         (default_gdb_start): Adjust to call default_gdb_spawn.
13094         (gdb_spawn): New procedure.
13095
13096 2014-07-14  Pedro Alves  <palves@redhat.com>
13097
13098         * lib/gdb.exp (gdb_assert): New procedure.
13099         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
13100
13101 2014-07-14  Pedro Alves  <palves@redhat.com>
13102
13103         * gdb.base/execution-termios.c: New file.
13104         * gdb.base/execution-termios.exp: New file.
13105
13106 2014-07-14  Tom Tromey  <tromey@redhat.com>
13107
13108         * gdb.cp/vla-cxx.cc: New file.
13109         * gdb.cp/vla-cxx.exp: New file.
13110
13111 2014-07-14  Tom Tromey  <tromey@redhat.com>
13112
13113         * gdb.reverse/rerun-prec.c: New file.
13114         * gdb.reverse/rerun-prec.exp: New file.
13115
13116 2014-07-12  Maciej W. Rozycki  <macro@mips.com>
13117             Maciej W. Rozycki  <macro@codesourcery.com>
13118
13119         * lib/gdb-utils.exp: New file.
13120         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
13121         inline `gdb_init_command' processing.
13122         (gdb_start_cmd): Likewise.
13123         * lib/mi-support.exp (mi_run_cmd): Likewise.
13124         * README: Document `gdb_init_command' and `gdb_init_commands'.
13125
13126 2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13127
13128         Fix false FAIL running under a very long directory name.
13129         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
13130         and "set print elements 10000".  Twice.
13131
13132 2014-07-11  Yao Qi  <yao@codesourcery.com>
13133
13134         * gdb.base/exprs.exp: "set print symbol off".
13135
13136 2014-07-11  Pedro Alves  <palves@redhat.com>
13137
13138         * gdb.threads/kill.c: New file.
13139         * gdb.threads/kill.exp: New file.
13140
13141 2014-07-10  Yao Qi  <yao@codesourcery.com>
13142
13143         * gdb.trace/tfile.c (write_basic_trace_file)
13144         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
13145         address written to trace file.
13146
13147 2014-07-09  Pedro Alves  <palves@redhat.com>
13148
13149         * gdb.base/attach-wait-input.exp: New file.
13150         * gdb.base/attach-wait-input.c: New file.
13151
13152 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
13153
13154         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
13155         setting up test structures.
13156         (main): Call new test function.
13157         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
13158         test function, continue into test function and walk test
13159         structures.
13160
13161 2014-07-02  Yao Qi  <yao@codesourcery.com>
13162
13163         * gdb.trace/entry-values.c: Define labels 'foo_start' and
13164         'bar_start' at the beginning of functions 'foo' and 'bar'
13165         respectively.
13166         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
13167         instead of 'foo' and 'bar'.
13168
13169 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
13170
13171         * gdb.btrace/segv.exp: New.
13172         * gdb.btrace/segv.c: New.
13173
13174 2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
13175
13176         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
13177         instruction.
13178
13179 2014-06-30  Mark Wielaard  <mjw@redhat.com>
13180
13181         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
13182         vulture, vilify, villar): New volatile array constants.
13183         (vindictive, vegetation): New const volatile array constants.
13184         * gdb.base/volatile.exp: Test volatile and const volatile array
13185         types.
13186
13187 2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13188
13189         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
13190         target lacks support for awatch, rwatch, or hbreak.
13191
13192 2014-06-27  Yao Qi  <yao@codesourcery.com>
13193
13194         * gdb.multi/dummy-frame-restore.exp: New.
13195         * gdb.multi/dummy-frame-restore.c: New.
13196
13197 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
13198
13199         * gdb.btrace/gcore.exp: New.
13200
13201 2014-06-23  Pedro Alves  <palves@redhat.com>
13202
13203         * gdb.base/watchpoint-reuse-slot.c: New file.
13204         * gdb.base/watchpoint-reuse-slot.exp: New file.
13205
13206 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
13207
13208         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
13209         progspace's filename in 'info', 'enable' and 'disable' command
13210         tests.
13211
13212 2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
13213
13214         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
13215         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13216         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
13217
13218 2014-06-20  Gary Benson  <gbenson@redhat.com>
13219
13220         * gdb.arch/i386-avx.exp: Fix include file location.
13221         * gdb.arch/i386-sse.exp: Likewise.
13222
13223 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
13224
13225         * gdb.dlang/expression.exp: New file.
13226
13227 2014-06-19  Pedro Alves  <palves@redhat.com>
13228
13229         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
13230         out from ...
13231         (top level): ... here.  Iterate running tests under different
13232         scheduler-locking settings.
13233
13234 2014-06-18  Luis Machado  <lgustavo@codesourcery.com>
13235
13236         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
13237         to DW_FORM_addr and use non-zero addresses.
13238
13239 2014-06-18  Siva Chandra Reddy  <sivachandra@google.com>
13240
13241         PR gdb/17017
13242         * gdb.python/py-xmethods.cc: Add global function call counters and
13243         increment them in their respective functions.  Remove "cout"
13244         statements.
13245         * gdb.python/py-xmethods.exp: Make tests check the global function
13246         call counters instead of depending on inferior IO.
13247
13248 2014-06-18  Don Breazeal  <donb@codesourcery.com>
13249
13250         * gdb.base/foll-fork.exp (default_fork_parent_follow):
13251         Deleted procedure.
13252         (explicit_fork_parent_follow): Deleted procedure.
13253         (explicit_fork_child_follow): Deleted procedure.
13254         (test_follow_fork): New procedure.
13255         (do_fork_tests): Replace calls to deleted procedures with
13256         calls to test_follow_fork and reset GDB for subsequent
13257         procedure calls.
13258
13259 2014-06-17  Yao Qi  <yao@codesourcery.com>
13260
13261         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
13262         CP1252.
13263
13264 2014-06-17  Luis Machado  <lgustavo@codesourcery.com>
13265
13266         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
13267         Initialize ptr and S explicitly.
13268         (skip_type_update_when_not_use_rtti_test): Likewise.
13269
13270 2014-06-16  Keith Seitz  <keiths@redhat.com>
13271
13272         PR mi/15863
13273         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
13274         the inferior is started.
13275
13276 2014-06-16  Pedro Alves  <palves@redhat.com>
13277
13278         * gdb.base/break-main-file-remove-fail.c: New file.
13279         * gdb.base/break-main-file-remove-fail.exp: New file.
13280         * gdb.base/break-unload-file.exp: Use build_executable instead of
13281         prepare_for_testing.
13282         (test_break): New parameter "initial_load".  Handle it.
13283         (top level): Add initial_load cmdline/file axis.
13284
13285 2014-06-12  Tom Tromey  <tromey@redhat.com>
13286
13287         * gdb.base/completion.exp: Don't use directory name in test.
13288
13289 2014-06-09  Gary Benson  <gbenson@redhat.com>
13290
13291         * gdb.base/sigall.c [Functions to send signals]: Reorder to
13292         separate the always-available ANSI-standard signals from the
13293         signals that require checking.
13294         (main): Likewise.
13295         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
13296         Likewise.
13297         (main): Likewise.
13298
13299 2014-06-07  Keith Seitz  <keiths@redhat.com>
13300
13301         Revert:
13302         PR c++/16253
13303         * gdb.cp/var-tag.cc: New file.
13304         * gdb.cp/var-tag.exp: New file.
13305         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13306         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13307         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13308         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13309
13310 2014-06-06  Doug Evans  <xdje42@gmail.com>
13311
13312         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
13313
13314 2014-06-06  Pedro Alves  <palves@redhat.com>
13315
13316         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
13317         in target debug output instead of looking at RSP packets,
13318         disabling the test on any target that uses hardware stepping.
13319         Update comments.
13320
13321 2014-06-06  Pedro Alves  <palves@redhat.com>
13322
13323         * gdb.base/break-unload-file.exp: Fix typo.
13324
13325 2014-06-06  Yao Qi  <yao@codesourcery.com>
13326
13327         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13328         from "jit_function" to "^jit_function".
13329
13330 2014-06-06  Yao Qi  <yao@codesourcery.com>
13331
13332         * gdb.base/async.c (foo): Add one statement.
13333         * gdb.base/async.exp: Get the next instruction address and
13334         match the output of "nexti" by instruction address.  Match
13335         the hex address in the output of "finish".
13336
13337 2014-06-06  Gary Benson  <gbenson@redhat.com>
13338
13339         * gdb.base/call-signals.c: Remove preprocessor conditionals
13340         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13341         SIGSEGV and SIGTERM.
13342         * gdb.base/sigall.c: Likewise.
13343         * gdb.base/unwindonsignal.c: Likewise.
13344         * gdb.reverse/sigall-reverse.c: Likewise.
13345
13346 2014-06-06  Yao Qi  <yao@codesourcery.com>
13347
13348         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
13349         readable, skip the test.
13350
13351 2014-06-06  Yao Qi  <yao@codesourcery.com>
13352
13353         * gdb.threads/staticthreads.c (thread_function): Move the line
13354         setting breakpoint on forward.
13355         * gdb.threads/staticthreads.exp: Update comments.
13356
13357 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
13358
13359         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13360         "history-append! type error".
13361
13362 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
13363
13364         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13365         erroneous dprintf expected input.
13366
13367 2014-06-04  Doug Evans  <xdje42@gmail.com>
13368
13369         * gdb.guile/scm-generics.exp: Delete.
13370
13371 2014-06-04  Doug Evans  <xdje42@gmail.com>
13372
13373         * gdb.guile/scm-breakpoint.exp: Update.
13374         Add tests for breakpoint registration.
13375
13376 2014-06-04  Tom Tromey  <tromey@redhat.com>
13377
13378         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13379         VLA-in-union.
13380         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13381         inner_vla_struct, vla_union types.  Initialize objects of those
13382         types and compute their sizes.
13383
13384 2014-06-04  Nathan Sidwell  <nathan@codesourcery.com>
13385             Hui Zhu  <hui@codesourcery.com>
13386
13387         * gdb.base/fileio.exp: Add test for shell not available as well as
13388         available.
13389         * gdb.base/fileio.c (test_system): Check for shell twice.
13390
13391 2014-06-04  Yao Qi  <yao@codesourcery.com>
13392
13393         * gdb.base/auto-connect-native-target.exp: Remove redundant
13394         space from the regexp pattern.
13395
13396 2014-06-04  Yao Qi  <yao@codesourcery.com>
13397
13398         * gdb.base/default.exp: Replace "child" with "native" in
13399         regexp pattern.
13400
13401 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
13402
13403         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
13404         * gdb.python/py-xmethods.exp: New tests to test xmethods.
13405         * gdb.python/py-xmethods.py: Python script supporting the
13406         new testcase and tests.
13407
13408 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
13409             Pedro Alves  <palves@redhat.com>
13410
13411         PR breakpoints/17000
13412         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
13413         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
13414
13415 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
13416
13417         * gdb.base/subst.exp: Add tests to verify partial path matching
13418         output.
13419
13420 2014-06-03  Pedro Alves  <palves@redhat.com>
13421
13422         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13423         target that doesn't use software single-stepping.
13424
13425 2014-06-03  Pedro Alves  <palves@redhat.com>
13426
13427         PR breakpoints/17000
13428         * gdb.base/sss-bp-on-user-bp-2.c: New file.
13429         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13430
13431 2014-06-02  Doug Evans  <xdje42@gmail.com>
13432
13433         * gdb.guile/scm-parameter.exp: New file.
13434
13435 2014-06-02  Doug Evans  <xdje42@gmail.com>
13436
13437         * gdb.guile/scm-cmd.c: New file.
13438         * gdb.guile/scm-cmd.exp: New file.
13439
13440 2014-06-02  Doug Evans  <xdje42@gmail.com>
13441
13442         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13443         pretty-printer lookup.
13444         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13445         (make-pp_s-printer): Call it.
13446         (make-pretty-printer-from-dict): New function.
13447         (lookup-pretty-printer-maker-from-dict): New function.
13448         (*pretty-printer*): Simplify.
13449         (make-objfile-pp_s-printer): New function.
13450         (install-objfile-pretty-printers!): New function.
13451         (make-progspace-pp_s-printer): New function.
13452         (install-progspace-pretty-printers!): New function.
13453         * gdb.guile/scm-progspace.c: New file.
13454         * gdb.guile/scm-progspace.exp: New file.
13455
13456 2014-06-02  Pedro Alves  <palves@redhat.com>
13457
13458         * gdb.base/dprintf-bp-same-addr.c: New file.
13459         * gdb.base/dprintf-bp-same-addr.exp: New file.
13460
13461 2014-06-02  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13462
13463         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13464         * gdb.arch/powerpc-power.s: Likewise.
13465
13466 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
13467
13468         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13469
13470 2014-06-01  Yao Qi  <yao@codesourcery.com>
13471
13472         * gdb.base/watchpoint.exp (test_watch_location): Check null
13473         pointer can be dereferenced.  If not, do the test, otherwise
13474         skip it.
13475
13476 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13477
13478         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13479         results.
13480         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13481
13482 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13483
13484         * gdb.arch/amd64-invalid-stack-middle.S: New file.
13485         * gdb.arch/amd64-invalid-stack-middle.c: New file.
13486         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13487         * gdb.arch/amd64-invalid-stack-top.c: New file.
13488         * gdb.arch/amd64-invalid-stack-top.exp: New file.
13489
13490 2014-05-30  Pedro Alves  <palves@redhat.com>
13491
13492         PR breakpoints/17000
13493         * gdb.base/sss-bp-on-user-bp.c: New file.
13494         * gdb.base/sss-bp-on-user-bp.exp: New file.
13495
13496 2014-05-30  David Blaikie  <dblaikie@gmail.com>
13497
13498         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13499         gnu_inline semantics via attribute.
13500         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13501         source explicitly specifies the required semantics.
13502
13503 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
13504
13505         * gdb.reverse/sigall-reverse.exp: Fix a typo.
13506
13507 2014-05-29  Pedro Alves  <palves@redhat.com>
13508             Tom Tromey  <tromey@redhat.com>
13509
13510         * gdb.base/async-shell.exp: Don't enable target-async.
13511         * gdb.base/async.exp
13512         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13513         parameter.  Adjust.
13514         (top level): Don't test with "target-async".
13515         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13516         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13517         * gdb.base/inferior-died.exp: Don't enable target-async.
13518         * gdb.base/interrupt-noterm.exp: Likewise.
13519         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13520         * gdb.mi/mi-nonstop-exit.exp: Likewise.
13521         * gdb.mi/mi-nonstop.exp: Likewise.
13522         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13523         * gdb.mi/mi-nsintrall.exp: Likewise.
13524         * gdb.mi/mi-nsmoribund.exp: Likewise.
13525         * gdb.mi/mi-nsthrexec.exp: Likewise.
13526         * gdb.mi/mi-watch-nonstop.exp: Likewise.
13527         * gdb.multi/watchpoint-multi.exp: Adjust comment.
13528         * gdb.python/py-evsignal.exp: Don't enable target-async.
13529         * gdb.python/py-evthreads.exp: Likewise.
13530         * gdb.python/py-prompt.exp: Likewise.
13531         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13532         * gdb.server/solib-list.exp: Don't enable target-async.
13533         * gdb.threads/thread-specific-bp.exp: Likewise.
13534         * lib/mi-support.exp: Adjust to use mi-async.
13535
13536 2014-05-29  Pedro Alves  <palves@redhat.com>
13537
13538         PR gdb/13860
13539         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13540         reason, even in sync mode.
13541
13542 2014-05-29  Pedro Alves  <palves@redhat.com>
13543             Hui Zhu  <hui@codesourcery.com>
13544
13545         PR PR15693
13546         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13547         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13548         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13549         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13550
13551 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
13552
13553         * config/monitor.exp (gdb_target_monitor): Replace use of
13554         "set remotebaud" by "set serial baud".
13555
13556 2014-05-26  Andy Wingo  <wingo@igalia.com>
13557
13558         * gdb.guile/scm-breakpoint.exp:
13559         * gdb.guile/scm-gsmob.exp: Update to use plain old object
13560         properties instead of gdb-object-properties.
13561
13562 2014-05-26  Yao Qi  <yao@codesourcery.com>
13563
13564         * gdb.server/no-thread-db.exp: Specify source file name
13565         explicitly when setting a breakpoint.
13566
13567 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13568
13569         * gdb.btrace/vdso.c: New.
13570         * gdb.btrace/vdso.exp: New.
13571
13572 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13573
13574         * gdb.base/gcore.exp (capture_command_output): Move ...
13575         * lib/gdb.exp (capture_command_output): ... here.
13576
13577 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13578
13579         * gdb.btrace/data.exp: Test memory access during btrace replay.
13580
13581 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
13582
13583         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13584
13585 2014-05-21  Pedro Alves  <palves@redhat.com>
13586
13587         PR gdb/13860
13588         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13589         (top level): Test that output related to execution commands is
13590         sent to the console with CLI commands, but not with MI commands.
13591         Test that breakpoint events are always mirrored to the console.
13592         Also expect the new source line to be output after a "next" in
13593         async mode too.  Make it a pass/fail test.
13594         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13595         output.
13596         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13597
13598 2014-05-21  Pedro Alves  <palves@redhat.com>
13599
13600         * gdb.base/list.exp (build_pattern, test_list): New procedures.
13601         Use them to test variations of "list" after reaching a breakpoint.
13602         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13603         Test "list" with listsize 10 after reaching a breakpoint.
13604         * gdb.python/python.exp (decode_line current location line
13605         number): Adjust expected line number.
13606
13607 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
13608
13609         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13610         behavior for $args, pass it directly to "run".
13611
13612 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
13613
13614         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13615         30000 to 65536.
13616
13617 2014-05-21  Pedro Alves  <palves@redhat.com>
13618
13619         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13620         auto-connect-native-target off".
13621         * gdb.base/auto-connect-native-target.c: New file.
13622         * gdb.base/auto-connect-native-target.exp: New file.
13623
13624 2014-05-21  Pedro Alves  <palves@redhat.com>
13625
13626         * gdb.base/default.exp: Test "target native" instead of "target
13627         child".
13628
13629 2014-05-21  Mark Wielaard  <mjw@redhat.com>
13630
13631         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13632
13633 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
13634
13635         Fix TLS access for -static -pthread.
13636         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13637         <HAVE_TLS> (thread_function, main): Initialize it.
13638         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13639         Add clean_restart.
13640         <$have_tls != "">: Check TLSVAR.
13641
13642 2014-05-21  Pedro Alves  <palves@redhat.com>
13643
13644         * gdb.base/dcache-line-read-error.c: New.
13645         * gdb.base/dcache-line-read-error.exp: New.
13646
13647 2014-05-20  Pedro Alves  <palves@redhat.com>
13648
13649         * gdb.base/compare-sections.c: New file.
13650         * gdb.base/compare-sections.exp: New file.
13651
13652 2014-05-20  Pedro Alves  <palves@redhat.com>
13653
13654         * gdb.base/break-idempotent.c: New file.
13655         * gdb.base/break-idempotent.exp: New file.
13656
13657 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
13658
13659         * gdb.btrace/nohist.exp: New.
13660
13661 2014-05-20  Yao Qi  <yao@codesourcery.com>
13662
13663         * lib/gdb.exp (gdb_init): Set timeout if test file is under
13664         gdb.reverse directory and gdb_reverse_timeout exists in board
13665         setting.
13666         * README: Document gdb_reverse_timeout.
13667
13668 2014-05-20  Yao Qi  <yao@codesourcery.com>
13669
13670         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13671         'test_file_name'.  Treat args as a string instead of a list.
13672         (gdb_init): Rename argument 'args' by 'test_file_name'.
13673
13674 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
13675
13676         * gdb.arch/powerpc-power.exp: New file.
13677         * gdb.arch/powerpc-power.s: New file.
13678
13679 2014-05-16  Doug Evans  <dje@google.com>
13680
13681         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
13682         * gdb.base/completion.exp: Check that all expected files exist
13683         before doing file completion.
13684
13685 2014-05-16  Doug Evans  <dje@google.com>
13686
13687         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13688         Update.
13689         (do_syscall_tests_without_xml): Update.
13690
13691 2014-05-16  Pedro Alves  <palves@redhat.com>
13692
13693         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13694         instead of "unknown output after running".
13695
13696 2014-05-16  Yao Qi  <yao@codesourcery.com>
13697
13698         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
13699         file1.txt from host at the end.
13700         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13701
13702 2014-05-15  Doug Evans  <dje@google.com>
13703
13704         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13705         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13706         loading file.  Add test for TU lookup.
13707
13708 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
13709
13710         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13711         calling "-exec-arguments" or "set args" before running the
13712         inferior.
13713
13714 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
13715
13716         * lib/mi-support.exp (mi_expect_stop): Expect message for
13717         inferiors that exit with non-zero exit code.
13718
13719 2014-05-14  Yao Qi  <yao@codesourcery.com>
13720
13721         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13722         match absolute path on remote host.
13723         (test_file_list_exec_source_files): Remove "/" from the
13724         pattern.
13725
13726 2014-05-14  Yao Qi  <yao@codesourcery.com>
13727
13728         * boards/local-remote-host-notty.exp (${board}_file): New
13729         proc.
13730
13731 2014-05-07  Kyle McMartin  <kyle@redhat.com>
13732
13733         Pushed by Joel Brobecker  <brobecker@adacore.com>.
13734         * gdb.arch/aarch64-atomic-inst.c: New file.
13735         * gdb.arch/aarch64-atomic-inst.exp: New file.
13736
13737 2014-05-07  Yao Qi  <yao@codesourcery.com>
13738
13739         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13740         in current context" too.
13741
13742 2014-05-05  Keith Seitz  <keiths@redhat.com>
13743
13744         * gdb.linespec/ls-dollar.exp: Add test for linespec
13745         file:convenience_variable.
13746
13747 2014-05-05  Yao Qi  <yao@codesourcery.com>
13748
13749         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13750         traceframes into tfile and ctf trace files.  Read data from
13751         trace file and test collected data.
13752         (gdb_collect_locals_test): Likewise.
13753         (gdb_unavailable_registers_test): Likewise.
13754         (gdb_unavailable_floats): Likewise.
13755         (gdb_collect_globals_test): Likewise.
13756         (top-level): Append "ctf" to trace_file_targets if GDB
13757         supports.
13758
13759 2014-05-05  Yao Qi  <yao@codesourcery.com>
13760
13761         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13762         code to ...
13763         (gdb_collect_args_test_1): ... it.  New proc.
13764         (gdb_collect_locals_test): Move some code to ...
13765         (gdb_collect_locals_test_1): ... it.  New proc.
13766         (gdb_unavailable_registers_test): Move some code to ...
13767         (gdb_unavailable_registers_test_1): ... it.  New proc.
13768         (gdb_unavailable_floats): Move some code to ...
13769         (gdb_unavailable_floats_1): ... it.  New proc.
13770
13771 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
13772
13773         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13774         probes to test for bitness recognition.
13775         * gdb.arch/amd64-stap-optional-prefix.exp
13776         (test_probe_value_without_reg): New procedure.
13777         Add code to test for different kinds of bitness.
13778
13779 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
13780
13781         PR breakpoints/16889
13782         * gdb.arch/amd64-stap-optional-prefix.S: New file.
13783         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13784
13785 2014-05-01  Pedro Alves  <palves@redhat.com>
13786
13787         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
13788         gdb_file_cmd if no file is specified.
13789         * boards/native-extended-gdbserver.exp (gdb_load): Use the
13790         last_loaded_file to set the remote exec-file.
13791
13792 2014-05-01  Pedro Alves  <palves@redhat.com>
13793
13794         * boards/local-remote-host.exp: New file.
13795
13796 2014-05-01  Pedro Alves  <palves@redhat.com>
13797
13798         * boards/local-remote-host.exp: Rename to ...
13799         * boards/local-remote-host-notty.exp: ... this.
13800
13801 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
13802
13803         * gdb.ada/dyn_arrayidx: New testcase.
13804
13805 2014-04-26  Yao Qi  <yao@codesourcery.com>
13806
13807         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
13808         and compute the length of function main.  Save it in
13809         $main_length.
13810         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13811         (top-level): Use gdb_compile to compile objects into
13812         executable and restart GDB.  Remove invocation to
13813         prepare_for_testing.
13814
13815 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
13816             Pedro Alves  <palves@redhat.com>
13817
13818         PR server/16255
13819         * gdb.multi/multi-attach.c: New file.
13820         * gdb.multi/multi-attach.exp: New file.
13821
13822 2014-04-25  Pedro Alves  <palves@redhat.com>
13823
13824         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13825         user.
13826         (top level): Test that "set remote conditional-breakpoints-packet
13827         off" works as intended.
13828         * gdb.base/dprintf.exp: Test that "set remote
13829         breakpoint-commands-packet off" works as intended.
13830         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13831         New function.
13832         (top level): Call it.
13833         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13834         remote fast-tracepoints-packet off" works as intended.
13835         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13836         * lib/gdb.exp (gdb_is_target_remote): ... here.
13837
13838 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13839
13840         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13841         ensure clang would not discard them.
13842         * gdb.base/gdbvars.c: Ditto.
13843         * gdb.base/memattr.c: Ditto.
13844         * gdb.base/whatis.c: Ditto.
13845         * gdb.python/py-prettyprint.c: Ditto.
13846         * gdb.trace/actions.c: Ditto.
13847         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13848         ensure clang would not discard it.
13849
13850 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13851
13852         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13853         clang to emit the full definition of type required by the test
13854         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13855
13856 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13857
13858         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
13859         coax Clang into emitting the definition of the type.
13860         * gdb.cp/pr10728-x.h (y): Ditto.
13861         * gdb.cp/pr10728-y.cc (y): Ditto.
13862
13863 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13864
13865         * gdb.base/label.exp: XFAIL label related tests under Clang.
13866         * gdb.cp/cplabel.exp: Ditto.
13867         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
13868         under Clang those using labels.
13869
13870 2014-04-25  Yao Qi  <yao@codesourcery.com>
13871
13872         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
13873         double_label.
13874         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
13875         partial_label and double_label.
13876
13877 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13878
13879         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
13880
13881 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13882
13883         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
13884         of the function to work across GCC and Clang.
13885         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
13886         pointer types (const void ** const V void **).
13887
13888 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
13889             Walfred Tedeschi  <walfred.tedeschi@intel.com>
13890
13891         * Makefile.in (EXECUTABLES): Added i386-avx512.
13892         * gdb.arch/i386-avx512.c: New file.
13893         * gdb.arch/i386-avx512.exp: Likewise.
13894
13895 2014-04-23  Keith Seitz  <keiths@redhat.com>
13896
13897         * lib/mi-support.exp (mi_list_breakpoints): Delete.
13898         (mi_make_breakpoint_table): New procedure.
13899         (mi_create_breakpoint): Use mi_make_breakpoint
13900         and return the result.
13901         (mi_make_breakpoint): New procedure.
13902         (mi_build_kv_pairs): New procedure.
13903
13904         * gdb.mi/mi-break.exp: Remove unused globals,
13905         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
13906         All callers updated.
13907         * gdb.mi/mi-dprintf.exp: Use variable to track command
13908         number.
13909         Update all callers of mi_create_breakpoint and use
13910         mi_make_breakpoint_table.
13911         Remove any unused global variables.
13912         * gdb.mi/mi-nonstop.exp: Likewise.
13913         * gdb.mi/mi-nsintrall.exp: Likewise.
13914         * gdb.mi/mi-nsmoribund.exp: Likewise.
13915         * gdb.mi/mi-nsthrexec.exp: Likewise.
13916         * gdb.mi/mi-reverse.exp: Likewise.
13917         * gdb.mi/mi-simplerun.exp: Likewise.
13918         * gdb.mi/mi-stepn.exp: Likewise.
13919         * gdb.mi/mi-syn-frame.exp: Likewise.
13920         * gdb.mi/mi-until.exp: Likewise.
13921         * gdb.mi/mi-var-cp.exp: Likewise.
13922         * gdb.mi/mi-var-display.exp: Likewise.
13923         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
13924         * gdb.mi/mi2-var-child.exp: Likewise.
13925         * gdb.mi/mi-vla-c99.exp: Likewise.
13926         * lib/mi-support.exp: Likewise.
13927
13928         From Ian Lance Taylor  <iant@cygnus.com>:
13929         * lib/gdb.exp (parse_args): New procedure.
13930
13931 2014-04-23  Pedro Alves  <palves@redhat.com>
13932
13933         * gdb.base/break-unload-file.c: New file.
13934         * gdb.base/break-unload-file.exp: New file.
13935         * gdb.base/sym-file-lib.c (baz): New function.
13936         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
13937         field.
13938         (load): Store the segment's mapped size.
13939         (unload): New function.
13940         (unload_shlib): New function.
13941         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
13942         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
13943         set a breakpoint at baz, and call it.
13944         * gdb.base/sym-file.exp: New tests for stale breakpoint
13945         instructions.
13946
13947 2014-04-23  Pedro Alves  <palves@redhat.com>
13948
13949         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
13950         * gdb.base/hbreak-in-shr-unsupported.c: New file.
13951         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
13952         * gdb.base/hbreak-unmapped.c: New file.
13953         * gdb.base/hbreak-unmapped.exp: New file.
13954         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
13955         * lib/gdb.exp (gdb_is_target_remote): ... here.
13956
13957 2014-04-22  Pedro Alves  <palves@redhat.com>
13958
13959         * gdb.base/consecutive-step-over.c: New file.
13960         * gdb.base/consecutive-step-over.exp: New file.
13961
13962 2014-04-22  Pedro Alves  <palves@redhat.com>
13963
13964         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
13965         instead of send_gdb/gdb_expect.
13966
13967 2014-04-22  Yao Qi  <yao@codesourcery.com>
13968
13969         * lib/trace-support.exp (generate_tracefile): New procedure.
13970         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
13971         return 0.
13972         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
13973         if generate_tracefile returns 1.
13974
13975 2014-04-18  Tom Tromey  <palves@redhat.com>
13976             Pedro alves  <tromey@redhat.com>
13977
13978         PR backtrace/15558
13979         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
13980         with a backtrace limit.
13981         * gdb.python/py-frame-inline.exp: Test running to an inline
13982         function with a backtrace limit, and printing the newest frame.
13983         * gdb.python/py-frame-inline.c (main): Call f.
13984
13985 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13986
13987         * gdb.java/jnpe.exp: Drop srcdir from untested path.
13988
13989 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13990
13991         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
13992         Drop prefix from unsupported source file path.
13993
13994 2014-04-17  Yao Qi  <yao@codesourcery.com>
13995
13996         * lib/gdb.exp (with_target_charset): New proc.
13997         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
13998         with_target_charset.
13999         (test_print_strings): Likewise.
14000         (test_repeat_bytes): Likewise.
14001         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14002         for some tests.
14003
14004 2014-04-16  Keith Seitz  <keiths@redhat.com>
14005
14006         PR gdb/15827
14007         * gdb.dwarf2/corrupt.c: New file.
14008         * gdb.dwarf2/corrupt.exp: New file.
14009
14010 2014-04-16  Keith Seitz  <keiths@redhat.com>
14011
14012         PR c++/16597
14013         * gdb.cp/namelessclass.cc: New file.
14014         * gdb.cp/namelessclass.exp: New file.
14015         * gdb.cp/namelessclass.S: New file.
14016
14017 2014-04-16  Doug Evans  <dje@google.com>
14018
14019         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
14020         Add comment.
14021         (gdbserver_default_get_comm_port): New function.
14022         (gdbserver_start): Check if board file provided
14023         "gdbserver,get_comm_port" and use it if so.
14024         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
14025         (gdb,socketport): Set to "stdio".
14026         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
14027         (stdio_gdbserver_template): Delete.
14028         (${board}_get_remote_address): Update.
14029         (${board}_build_remote_cmd): Delete.
14030         (${board}_get_comm_port): New function.
14031         (${board}_spawn): Update.
14032         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
14033         Delete.
14034         (${board}_get_remote_address): Update.
14035         (${board}_get_comm_port): New function.
14036
14037 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
14038
14039         * gdb.base/memattr.exp: Improve regexps to handle memory regions
14040         appearing in any order.
14041
14042 2014-04-15  Doug Evans  <dje@google.com>
14043
14044         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
14045         uninitialized value of "description".
14046
14047 2014-04-15  Keith Seitz  <keiths@redhat.com>
14048
14049         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
14050         Remove unused globals.
14051         (test_running_the_program): Likewise.
14052         (test_controlled_execution): Likewise.
14053         (test_controlling_breakpoints): Likewise.
14054         (test_program_termination): Likewise.
14055
14056 2014-04-15  Keith Seitz  <keiths@redhat.com>
14057
14058         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
14059         unused globals.
14060         (test_rbreak_creation_and_listing): Likewise.
14061         (test_ignore_count): Likewise.
14062         (test_error): Likewise.
14063
14064 2014-04-15  Pedro Alves  <palves@redhat.com>
14065
14066         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
14067         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
14068         sym-file-loader.c.
14069         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14070         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14071         to sym-file-loader.c.
14072         (struct library): Forward declare.
14073         (load_shlib, lookup_function): Change prototypes.
14074         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14075         (translate_offset): Remove declarations.
14076         (get_text_addr): New declaration.
14077         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
14078         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
14079         sym-file-loader.h.
14080         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14081         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14082         here from sym-file-loader.h.
14083         (struct library): New structure.
14084         (load_shlib, lookup_function): Change prototypes and adjust to
14085         work with a struct library.
14086         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14087         (translate_offset): Make static.
14088         (get_text_addr): New function.
14089         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
14090
14091 2014-04-15  Pedro Alves  <palves@redhat.com>
14092
14093         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
14094
14095 2014-04-15  Pedro Alves  <palves@redhat.com>
14096
14097         * gdb.base/sym-file-loader.c: Include <limits.h>.
14098         (SELF_LINK): New define.
14099         (get_origin): New function.
14100         (load_shlib): Use it.
14101         * gdb.base/sym-file.exp: Don't early return if the target is
14102         remote.  Use runto_main, and issue fail is that fails.  Use
14103         gdb_load_shlibs.
14104         (shlib_name): Delete.
14105         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
14106
14107 2014-04-15  Pedro Alves <palves@redhat.com>
14108
14109         * gdb.base/sym-file.exp: Remove regex characters from test
14110         message.  Don't refer to breakpoint numbers in test messages.
14111
14112 2014-04-14  Keith Seitz  <keiths@redhat.com>
14113
14114         PR c++/16253
14115         * gdb.cp/var-tag.cc: New file.
14116         * gdb.cp/var-tag.exp: New file.
14117         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14118         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14119         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14120         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14121
14122 2014-04-14  Tom Tromey  <tromey@redhat.com>
14123
14124         * gdb.cp/classes.exp (test_enums): Handle underlying type.
14125         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
14126         type.
14127         * gdb.cp/enum-class.exp: New file.
14128         * gdb.cp/enum-class.cc: New file.
14129
14130 2014-04-14  Tom Tromey  <tromey@redhat.com>
14131
14132         * gdb.dwarf2/enum-type.exp: New file.
14133
14134 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14135
14136         * gdb.mi/mi-vla-c99.exp: New file.
14137         * gdb.mi/vla.c: New file.
14138
14139 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14140
14141         * gdb.base/vla-datatypes.c: New file.
14142         * gdb.base/vla-datatypes.exp: New file.
14143
14144 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14145
14146         * gdb.base/vla-ptr.c: New file.
14147         * gdb.base/vla-ptr.exp: New file.
14148
14149 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14150
14151         * gdb.dwarf2/count.exp: New file.
14152
14153 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14154
14155         * gdb.base/vla-sideeffect.c: New file.
14156         * gdb.base/vla-sideeffect.exp: New file.
14157
14158 2014-04-14  David Blaikie <dblaikie@gmail.com>
14159
14160         * gdb.mi/non-stop.c: Add return value for non-void function return
14161         statement.
14162         * gdb.threads/staticthreads.c: Ditto.
14163
14164 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
14165             Doug Evans  <xdje42@gmail.com>
14166
14167         * gdb.guile/scm-value.c: Improve test case.
14168         * gdb.guile/scm-value.exp: Add new test.
14169
14170 2014-04-11  David Blaikie  <dblaikie@gmail.com>
14171
14172         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
14173         override Clang's default.
14174
14175 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
14176
14177         Revert the following changes (regressions):
14178
14179         * gdb.base/vla-sideeffect.c: New file.
14180         * gdb.base/vla-sideeffect.exp: New file.
14181
14182         * gdb.dwarf2/count.exp: New file.
14183
14184         * gdb.base/vla-multi.c: New file.
14185         * gdb.base/vla-multi.exp: New file.
14186
14187         * gdb.base/vla-ptr.c: New file.
14188         * gdb.base/vla-ptr.exp: New file.
14189
14190         * gdb.base/vla-datatypes.c: New file.
14191         * gdb.base/vla-datatypes.exp: New file.
14192
14193         * gdb.mi/mi-vla-c99.exp: New file.
14194         * gdb.mi/vla.c: New file.
14195
14196 2014-04-11  Keith Seitz  <keiths@redhat.com>
14197
14198         PR c++/16675
14199         * gdb.cp/cpsizeof.exp: New file.
14200         * gdb.cp/cpsizeof.cc: New file.
14201
14202 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14203
14204         * gdb.mi/mi-vla-c99.exp: New file.
14205         * gdb.mi/vla.c: New file.
14206
14207 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14208
14209         * gdb.base/vla-datatypes.c: New file.
14210         * gdb.base/vla-datatypes.exp: New file.
14211
14212 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14213
14214         * gdb.base/vla-ptr.c: New file.
14215         * gdb.base/vla-ptr.exp: New file.
14216
14217 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14218
14219         * gdb.base/vla-multi.c: New file.
14220         * gdb.base/vla-multi.exp: New file.
14221
14222 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14223
14224         * gdb.dwarf2/count.exp: New file.
14225
14226 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14227
14228         * gdb.base/vla-sideeffect.c: New file.
14229         * gdb.base/vla-sideeffect.exp: New file.
14230
14231 2014-04-11  Yao Qi  <yao@codesourcery.com>
14232
14233         * gdb.base/completion.exp: Check file exists before running tests
14234         on file completion.
14235
14236 2014-04-10  Pedro Alves  <palves@redhat.com>
14237
14238         * gdb.base/cond-eval-mode.c: New file.
14239         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
14240         prepare_for_testing to build the new file.  Check result of
14241         runto_main.
14242         (test_break, test_watch): New procedures.
14243         (top level): Use them.
14244
14245 2014-04-08  Pierre Muller  <muller@sourceware.org>
14246
14247         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
14248         Ctrl-V use for mingw hosts.
14249
14250 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
14251
14252         * gdb.python/py-value.c: Improve test case.
14253         * gdb.python/py-value.exp: Add new test.
14254
14255 2014-04-07  David Blaikie  <dblaikie@gmail.com>
14256
14257         * lib/compiler.c: Identify the clang compiler.
14258         * lib/compiler.cc: Ditto.
14259
14260 2014-04-03  Yao Qi  <yao@codesourcery.com>
14261
14262         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
14263
14264 2014-04-01  Anton Blanchard  <anton@samba.org>
14265
14266         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
14267         messages unique.
14268
14269 2014-04-01  Anton Blanchard  <anton@samba.org>
14270
14271         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
14272         prepare_for_testing.
14273
14274 2014-04-01  Anton Blanchard  <anton@samba.org>
14275
14276         * gdb.arch/ppc64-atomic-inst.c: Remove.
14277         * gdb.arch/ppc64-atomic-inst.S: New file.
14278         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
14279
14280 2014-03-31  Doug Evans  <dje@google.com>
14281
14282         * gdb.base/print-symbol-loading-lib.c: New file.
14283         * gdb.base/print-symbol-loading-main.c: New file.
14284         * gdb.base/print-symbol-loading.exp: New file.
14285
14286 2014-03-31  Yao Qi  <yao@codesourcery.com>
14287
14288         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
14289
14290 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
14291
14292         * gdb.ada/mi_dyn_arr: New testcase.
14293
14294 2014-03-27  Doug Evans  <dje@google.com>
14295
14296         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
14297
14298 2014-03-27  Yao Qi  <yao@codesourcery.com>
14299
14300         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
14301         if target is nios2-*-*.
14302
14303 2014-03-26  Yao Qi  <yao@codesourcery.com>
14304
14305         * lib/gdb.exp (readline_is_used): New proc.
14306         * gdb.base/completion.exp: Move tests on command complete up.
14307         Skip the rest of tests if readline is not used.
14308         * gdb.ada/complete.exp: Skp the test if readline is not
14309         used.
14310         * gdb.base/filesym.exp: Likewise.
14311         * gdb.base/macscp.exp: Likewise.
14312         * gdb.base/readline-ask.exp: Likewise.
14313         * gdb.base/readline.exp: Likewise.
14314         * gdb.python/py-cmd.exp: Likewise.
14315         * gdb.trace/tfile.exp: Likewise.
14316
14317 2014-03-26  Yao Qi  <yao@codesourcery.com>
14318
14319         * gdb.base/macscp.exp: Fix code format issues.
14320
14321 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
14322
14323         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14324         * gdb.asm/powerpc64le.inc: New file.
14325
14326 2014-03-25  Pedro Alves  <palves@redhat.com>
14327             Doug Evans  <dje@google.com>
14328
14329         * gdb.base/source-execution.c: New file.
14330         * gdb.base/source-execution.exp: New file.
14331         * gdb.base/source-execution.gdb: New file.
14332
14333 2014-03-24  Doug Evans  <dje@google.com>
14334
14335         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14336         using fission.
14337
14338 2014-03-24  Hui Zhu  <hui@codesourcery.com>
14339             Pedro Alves  <palves@redhat.com>
14340
14341         PR breakpoints/16101
14342         * gdb.base/dprintf.exp: Use unsupported rather than changing the
14343         test pass/fail messages.  Detect missing support for dprintf when
14344         breakpoints are actually inserted.
14345         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14346         breakpoints are actually inserted.
14347         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14348         fails.
14349
14350 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
14351
14352         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14353
14354 2014-03-22  Doug Evans  <xdje42@gmail.com>
14355
14356         * gdb.python/python.exp (python not supported): Verify multi-line
14357         python command issues an error.
14358         * gdb.guile/guile.exp (guile not supported): Verify multi-line
14359         guile command issues an error.
14360
14361 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
14362
14363         * gdb.threads/thread-specific.exp: Handle the lack of usable
14364         $this_breakpoint and $this_thread.
14365
14366 2014-03-21  Hui Zhu  <hui@codesourcery.com>
14367
14368         * gdb.base/attach.exp (do_command_attach_tests): New.
14369
14370 2014-03-20  Tom Tromey  <tromey@redhat.com>
14371             Pedro Alves  <palves@redhat.com>
14372
14373         PR cli/15718
14374         * gdb.base/condbreak-call-false.c: New file.
14375         * gdb.base/condbreak-call-false.exp: New file.
14376
14377 2014-03-20  Pedro Alves  <palves@redhat.com>
14378
14379         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14380         Delete.
14381         (block_signals, unblock_signals): Delete.
14382         (child_function_2, main): Remove references to deleted variable
14383         and functions.
14384
14385 2014-03-20  Pedro Alves  <palves@redhat.com>
14386
14387         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14388         Use pthread_kill to signal thread 2.
14389         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14390         Adjust to make the test send itself a signal rather than using the
14391         host's "kill" command.
14392
14393 2014-03-20  Pedro Alves  <palves@redhat.com>
14394
14395         * gdb.threads/multiple-step-overs.c: New file.
14396         * gdb.threads/multiple-step-overs.exp: New file.
14397         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14398         Adjust expected infrun debug output.
14399
14400 2014-03-20  Pedro Alves  <palves@redhat.com>
14401
14402         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14403         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
14404
14405 2014-03-20  Pedro Alves  <palves@redhat.com>
14406
14407         PR breakpoints/7143
14408         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
14409         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
14410         of gdb_test_multiple.
14411         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
14412         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
14413
14414 2014-03-20  Pedro Alves  <palves@redhat.com>
14415
14416         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14417         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14418
14419 2014-03-19  Pedro Alves  <palves@redhat.com>
14420
14421         * gdb.base/async.exp: Remove early return.
14422
14423 2014-03-19  Pedro Alves  <palves@redhat.com>
14424
14425         * gdb.base/async.exp (step& tests): Pass explicit test messages.
14426
14427 2014-03-19  Pedro Alves  <palves@redhat.com>
14428
14429         * gdb.base/async.exp (test_background): Expect \r\n after
14430         "completed." in the fail pattern.
14431
14432 2014-03-19  Pedro Alves  <palves@redhat.com>
14433
14434         * gdb.base/async.exp (test_background): New procedure.
14435         Use it for all background execution command tests.
14436
14437 2014-03-19  Pedro Alves  <palves@redhat.com>
14438
14439         * gdb.base/async.exp: Use prepare_for_testing.
14440
14441 2014-03-19  Pedro Alves  <palves@redhat.com>
14442
14443         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
14444         the same line.
14445
14446 2014-03-19  Pedro Alves  <palves@redhat.com>
14447
14448         * gdb.base/async.c (main): Add "jump here" and "until here" line
14449         marker comments.
14450         * gdb.base/async.exp (jump_here): New global.
14451         (jump& test): Use it.
14452         (until_here): New global.
14453         (until& test): Use it.
14454
14455 2014-03-19  Pedro Alves  <palves@redhat.com>
14456
14457         * gdb.base/async.exp: Don't frob gdb_protocol.
14458
14459 2014-03-18  Doug Evans  <xdje42@gmail.com>
14460
14461         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
14462         Fix spelling of exec-done-display.
14463
14464 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
14465
14466         PR gdb/15358
14467         * gdb.base/gdb-sigterm.c: New file.
14468         * gdb.base/gdb-sigterm.exp: New file.
14469
14470 2014-03-18  Pedro Alves  <palves@redhat.com>
14471
14472         PR gdb/13860
14473         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14474         * lib/mi-support.exp (mi_expect_stop): Add special handling for
14475         solib-event.
14476
14477 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
14478
14479         * gdb.ada/pckd_arr_ren: New testcase.
14480
14481 2014-03-13  Doug Evans  <xdje42@gmail.com>
14482
14483         PR guile/16612
14484         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14485         collect after discarding symbols.
14486
14487 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
14488             Doug Evans  <xdje42@gmail.com>
14489
14490         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14491         to history survives a gc.
14492
14493 2014-03-13  Pedro Alves  <palves@redhat.com>
14494
14495         * gdb.base/default.exp: Don't test "target procfs".
14496
14497 2014-03-13  Pedro Alves  <palves@redhat.com>
14498
14499         * gdb.base/default.exp: Update "target child" and "target procfs"
14500         tests to not expect "Unix".
14501
14502 2014-03-12  Tom Tromey  <tromey@redhat.com>
14503
14504         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14505         New procs.  Add target-async tests.
14506         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14507         Add target-async tests.
14508
14509 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14510
14511         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14512         'func_start' and 'func_end' for the beginning and end of the
14513         function code, respectively.
14514         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14515         'func_end' instead of 'func' and 'main'.
14516
14517 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14518
14519         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14520         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14521         generate the debug info assembler source.
14522
14523 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14524
14525         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14526         * gdb.dwarf2/arr-subrange.exp: Likewise.
14527         * gdb.dwarf2/dwz.exp: Likewise.
14528         * gdb.dwarf2/method-ptr.exp: Likewise.
14529         * gdb.dwarf2/missing-sig-type.exp: Likewise.
14530         * gdb.dwarf2/subrange.exp: Likewise.
14531         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14532         * gdb.dwarf2/implptrpiece.exp: Likewise.
14533         * gdb.dwarf2/nostaticblock.exp: Likewise.
14534
14535 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14536
14537         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14538         directory to absolute path name arguments.
14539
14540 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
14541
14542         * gdb.ada/tagged_access: New testcase.
14543
14544 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
14545
14546         * gdb.btrace/data.exp: Update expected output.
14547
14548 2014-03-06  Yao Qi  <yao@codesourcery.com>
14549
14550         * gdb.trace/pr16508.exp: New file.
14551
14552 2014-03-05  Pedro Alves  <palves@redhat.com>
14553
14554         PR gdb/16575
14555         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14556         procedure.
14557         (top level): Adjust to use it.  Add tests that exercise breakpoint
14558         interaction with the code-cache.
14559
14560 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
14561
14562         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14563         test for 'history-append!'.
14564
14565 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14566
14567         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14568         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14569         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14570         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14571         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14572         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14573
14574 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14575
14576         * testsuite/gdb.python/py-pp-re-notag.c: New file.
14577         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14578         * testsuite/gdb.python/py-pp-re-notag.p: New file.
14579
14580 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14581
14582         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14583
14584 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14585
14586         * gdb.dwarf2/arr-stride.c: New file.
14587         * gdb.dwarf2/arr-stride.exp: New file.
14588
14589 2014-02-26  Pedro Alves  <palves@redhat.com>
14590
14591         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14592         that won't ever trigger.  Make sure that GDB reports the correct
14593         breakpoint that caused the stop.
14594
14595 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14596
14597         PR gdb/16626
14598         * gdb.base/auto-load-script: New file.
14599         * gdb.base/auto-load.c: New file.
14600         * gdb.base/auto-load.exp: New file.
14601
14602         PR gdb/16626
14603         * gdb.base/auto-load.exp: Fix out-of-srctree run.
14604
14605 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14606
14607         Fix dw2-icycle.exp -fsanitize=address GDB crash.
14608         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14609
14610 2014-02-24  Doug Evans  <dje@google.com>
14611
14612         * lib/gdb.exp (run_on_host): Log error output if program fails.
14613
14614 2014-02-21  Pedro Alves  <palves@redhat.com>
14615
14616         * gdb.threads/step-after-sr-lock.c: Rename to ...
14617         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14618         * gdb.threads/step-after-sr-lock.exp: Rename to ...
14619         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14620         ... this.
14621
14622 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
14623
14624         PR tdep/16397
14625         * gdb.arch/amd64-stap-special-operands.exp: New file.
14626         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14627         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14628         * gdb.arch/amd64-stap-triplet.S: Likewise.
14629         * gdb.arch/amd64-stap-triplet.c: Likewise.
14630
14631 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
14632
14633         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14634         in .section pseudo-op.
14635
14636 2014-02-20  lin zuojian  <manjian2006@gmail.com>
14637             Joel Brobecker  <brobecker@adacore.com>
14638             Doug Evans  <xdje42@gmail.com>
14639
14640         PR symtab/16581
14641         * gdb.dwarf2/dw2-icycle.S: New file.
14642         * gdb.dwarf2/dw2-icycle.c: New file.
14643         * gdb.dwarf2/dw2-icycle.exp: New file.
14644
14645 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
14646
14647         * gdb.python/py-value-cc.cc: Improve test case to enable testing
14648         operations on gdb.Value objects.
14649         * gdb.python/py-value-cc.exp: Add new test to test operations on
14650         gdb.Value objects.
14651
14652 2014-02-18  Doug Evans  <dje@google.com>
14653
14654         * Makefile.in (TESTS): New variable.
14655         (expanded_tests, expanded_tests_or_none): New variables
14656         (check-single): Pass $(expanded_tests_or_none) to runtest.
14657         (check-parallel): Only run tests in $(TESTS) if non-empty.
14658         (check/no-matching-tests-found): New rule.
14659         * README: Document TESTS makefile variable.
14660
14661 2014-02-18  Doug Evans  <dje@google.com>
14662
14663         * Makefile.in (check-parallel): rm -rf outputs temp.
14664
14665 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
14666
14667         Fix "ERROR: no fileid for" in the testsuite.
14668         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14669
14670 2014-02-12  Doug Evans  <dje@google.com>
14671
14672         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14673         (MISCELLANEOUS): New variable.
14674         (clean): rm -rf $(MISCELLANEOUS).
14675         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14676         dwp live in the same directory as symlinks, with each symlink pointed
14677         to a differently named file in a different directory.
14678
14679 2014-02-11  Doug Evans  <dje@google.com>
14680
14681         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14682         of Tcl file commands.
14683
14684 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
14685
14686         * gdb.threads/step-after-sr-lock.exp: Avoid executing
14687         "kill -SIGUSR1 -1".
14688
14689 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
14690
14691         * gdb.ada/tick_length_array_enum_idx: New testcase.
14692
14693 2014-02-10  Doug Evans  <xdje42@gmail.com>
14694
14695         * configure.ac (AC_OUTPUT): Add gdb.guile.
14696         * configure: Regenerate.
14697         * lib/gdb-guile.exp: New file.
14698         * lib/gdb.exp (get_target_charset): New function.
14699         * gdb.base/help.exp: Update expected output from "apropos apropos".
14700         * gdb.guile/Makefile.in: New file.
14701         * gdb.guile/guile.exp: New file.
14702         * gdb.guile/scm-arch.c: New file.
14703         * gdb.guile/scm-arch.exp: New file.
14704         * gdb.guile/scm-block.c: New file.
14705         * gdb.guile/scm-block.exp: New file.
14706         * gdb.guile/scm-breakpoint.c: New file.
14707         * gdb.guile/scm-breakpoint.exp: New file.
14708         * gdb.guile/scm-disasm.c: New file.
14709         * gdb.guile/scm-disasm.exp: New file.
14710         * gdb.guile/scm-equal.c: New file.
14711         * gdb.guile/scm-equal.exp: New file.
14712         * gdb.guile/scm-error.exp: New file.
14713         * gdb.guile/scm-error.scm: New file.
14714         * gdb.guile/scm-frame-args.c: New file.
14715         * gdb.guile/scm-frame-args.exp: New file.
14716         * gdb.guile/scm-frame-args.scm: New file.
14717         * gdb.guile/scm-frame-inline.c: New file.
14718         * gdb.guile/scm-frame-inline.exp: New file.
14719         * gdb.guile/scm-frame.c: New file.
14720         * gdb.guile/scm-frame.exp: New file.
14721         * gdb.guile/scm-generics.exp: New file.
14722         * gdb.guile/scm-gsmob.exp: New file.
14723         * gdb.guile/scm-iterator.c: New file.
14724         * gdb.guile/scm-iterator.exp: New file.
14725         * gdb.guile/scm-math.c: New file.
14726         * gdb.guile/scm-math.exp: New file.
14727         * gdb.guile/scm-objfile-script-gdb.in: New file.
14728         * gdb.guile/scm-objfile-script.c: New file.
14729         * gdb.guile/scm-objfile-script.exp: New file.
14730         * gdb.guile/scm-objfile.c: New file.
14731         * gdb.guile/scm-objfile.exp: New file.
14732         * gdb.guile/scm-ports.exp: New file.
14733         * gdb.guile/scm-pretty-print.c: New file.
14734         * gdb.guile/scm-pretty-print.exp: New file.
14735         * gdb.guile/scm-pretty-print.scm: New file.
14736         * gdb.guile/scm-section-script.c: New file.
14737         * gdb.guile/scm-section-script.exp: New file.
14738         * gdb.guile/scm-section-script.scm: New file.
14739         * gdb.guile/scm-symbol.c: New file.
14740         * gdb.guile/scm-symbol.exp: New file.
14741         * gdb.guile/scm-symtab-2.c: New file.
14742         * gdb.guile/scm-symtab.c: New file.
14743         * gdb.guile/scm-symtab.exp: New file.
14744         * gdb.guile/scm-type.c: New file.
14745         * gdb.guile/scm-type.exp: New file.
14746         * gdb.guile/scm-value-cc.cc: New file.
14747         * gdb.guile/scm-value-cc.exp: New file.
14748         * gdb.guile/scm-value.c: New file.
14749         * gdb.guile/scm-value.exp: New file.
14750         * gdb.guile/source2.scm: New file.
14751         * gdb.guile/types-module.cc: New file.
14752         * gdb.guile/types-module.exp: New file.
14753
14754 2014-02-10  Yao Qi  <yao@codesourcery.com>
14755
14756         PR testsuite/16543
14757         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14758         * configure: Regenerated.
14759         * Makefile.in: New file.
14760
14761 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
14762
14763         * gdb.python/py-framefilter.exp: Fix typo.
14764
14765 2014-02-08  Yao Qi  <yao@codesourcery.com>
14766
14767         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14768         that no =breakpoint-modified is emitted when breakpoints are
14769         modified through MI commands.
14770
14771 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
14772             Pedro Alves  <palves@redhat.com>
14773
14774         * gdb.threads/step-after-sr-lock.c: New file.
14775         * gdb.threads/step-after-sr-lock.exp: New file.
14776
14777 2014-02-07  Pedro Alves  <palves@redhat.com>
14778
14779         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14780
14781 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
14782
14783         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14784         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14785
14786 2014-02-06  Doug Evans  <xdje42@gmail.com>
14787
14788         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14789         output.
14790
14791         * gdb.gdb/python-interrupts.exp: New file.
14792
14793 2014-02-05  Yao Qi  <yao@codesourcery.com>
14794
14795         * gdb.trace/report.exp (use_collected_data): Test the output
14796         of "info threads" and "info inferiors".
14797
14798 2014-02-05  Yao Qi  <yao@codesourcery.com>
14799
14800         Revert this patch:
14801
14802         2013-05-24  Yao Qi  <yao@codesourcery.com>
14803
14804         * gdb.trace/tfile.exp: Test inferior and thread.
14805
14806 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14807
14808         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14809         on a function.
14810         * gdb.base/step-bt.c: Call hello via function pointer to make
14811         sure its first instruction is executed on powerpc64le-linux.
14812
14813 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14814
14815         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14816
14817 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14818
14819         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
14820         of the test patterns for use on little-endian systems.
14821
14822 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14823
14824         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14825         (decimal_vector): Fix for little-endian.
14826
14827 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
14828
14829         * gdb.arch/sparc-sysstep.exp: New file.
14830         * gdb.arch/sparc-sysstep.c: Likewise.
14831
14832         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14833
14834 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
14835
14836         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14837
14838 2014-01-23  Tom Tromey  <tromey@redhat.com>
14839
14840         * gdb.ada/array_char_idx: New testcase.
14841
14842 2014-01-23  Tom Tromey  <tromey@redhat.com>
14843
14844         PR python/16487:
14845         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14846         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14847         classes.
14848
14849 2014-01-23  Tom Tromey  <tromey@redhat.com>
14850
14851         PR python/16491:
14852         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14853         string from an inferior frame.
14854         * gdb.python/py-framefilter-mi.exp: Update.
14855
14856 2014-01-22  Doug Evans  <dje@google.com>
14857
14858         * gdb.server/server-mon.exp: Add tests for "set debug-format".
14859
14860 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14861
14862         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
14863
14864 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14865
14866         * gdb.trace/entry-values.exp: Remove excess space character from
14867         regex patterns.  Handle s390 call instruction.
14868
14869 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14870
14871         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
14872         define "*_start" label.  Make "name" static.
14873         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
14874         ${name} by references to ${name}_start.
14875
14876 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14877
14878         * gdb.base/info-macros.exp: Remove "debug" from the compile
14879         options.
14880
14881 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
14882
14883         * gdb.dlang/demangle.exp: New file.
14884
14885 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
14886
14887         * gdb.dlang/primitive-types.exp: New file.
14888
14889 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
14890
14891         * configure.ac: Create gdb.dlang/Makefile.
14892         * configure: Regenerate.
14893         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
14894         * gdb.dlang/Makefile.in: New file.
14895         * lib/d-support.exp: New file.
14896         * lib/gdb.exp (skip_d_tests): New proc.
14897
14898 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14899
14900         * gdb.btrace/delta.exp: Check reverse stepi.
14901         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
14902         * gdb.btrace/finish.exp: New.
14903         * gdb.btrace/next.exp: New.
14904         * gdb.btrace/nexti.exp: New.
14905         * gdb.btrace/record_goto.c: Add comments.
14906         * gdb.btrace/step.exp: New.
14907         * gdb.btrace/stepi.exp: New.
14908         * gdb.btrace/multi-thread-step.c: New.
14909         * gdb.btrace/multi-thread-step.exp: New.
14910         * gdb.btrace/rn-dl-bind.c: New.
14911         * gdb.btrace/rn-dl-bind.exp: New.
14912         * gdb.btrace/data.c: New.
14913         * gdb.btrace/data.exp: New.
14914         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14915
14916 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14917
14918         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
14919         * gdb.btrace/exception.exp: Update.
14920         * gdb.btrace/instruction_history.exp: Update.
14921         * gdb.btrace/record_goto.exp: Update.
14922         * gdb.btrace/tailcall.exp: Update.
14923         * gdb.btrace/unknown_functions.exp: Update.
14924         * gdb.btrace/delta.exp: New.
14925
14926 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14927
14928         * gdb.btrace/record_goto.exp: Add backtrace test.
14929         * gdb.btrace/tailcall.exp: Add backtrace test.
14930
14931 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14932
14933         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
14934         * gdb.btrace/record_goto.c: New.
14935         * gdb.btrace/record_goto.exp: New.
14936         * gdb.btrace/x86-record_goto.S: New.
14937
14938 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14939
14940         * gdb.btrace/function_call_history.exp: Update tests.
14941         * gdb.btrace/instruction_history.exp: Update tests.
14942
14943 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14944
14945         * gdb.btrace/function_call_history.exp: Fix expected field
14946         order for "record function-call-history".
14947         Add new tests for "record function-call-history /c".
14948         * gdb.btrace/exception.cc: New.
14949         * gdb.btrace/exception.exp: New.
14950         * gdb.btrace/tailcall.exp: New.
14951         * gdb.btrace/x86-tailcall.S: New.
14952         * gdb.btrace/x86-tailcall.c: New.
14953         * gdb.btrace/unknown_functions.c: New.
14954         * gdb.btrace/unknown_functions.exp: New.
14955         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14956
14957 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14958
14959         * gdb.btrace/instruction_history.exp: Update.
14960         * gdb.btrace/function_call_history.exp: Update.
14961
14962 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14963
14964         * gdb.btrace/function_call_history.exp: Fix expected function
14965         trace.
14966         * gdb.btrace/instruction_history.exp: Initialize traced.
14967         Remove traced_functions.
14968
14969 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14970
14971         * gdb.btrace/function_call_history.exp: Update
14972         * gdb.btrace/instruction_history.exp: Update.
14973
14974 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14975
14976         * gdb.btrace/enable.exp: Update expected text.
14977
14978 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
14979
14980         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
14981         bytes.
14982
14983 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
14984
14985         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
14986
14987 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
14988
14989         * lib/gdb.exp (supports_process_record): Return true for
14990         arm*-linux*.  (supports_reverse): Likewise.
14991
14992 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
14993
14994         PR python/15464
14995         PR python/16113
14996         * gdb.python/py-type.c: Enhance test case.
14997         * gdb.python/py-value-cc.cc: Likewise
14998         * gdb.python/py-type.exp: Add new tests.
14999         * gdb.python/py-value-cc.exp: Likewise
15000
15001 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15002             Pedro Alves <palves@redhat.com>
15003
15004         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15005         Make "name" extern.
15006         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15007         references to ${name}_start by references to ${name}.
15008
15009 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15010
15011         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15012
15013 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15014
15015         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15016
15017 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
15018             Pedro Alves  <palves@redhat.com>
15019
15020         * gdb.mi/mi-info-os.exp: Connect to the target with
15021         mi_gdb_target_load.
15022
15023 2014-01-08  Pedro Alves  <palves@redhat.com>
15024
15025         * gdb.threads/reconnect-signal.c: New file.
15026         * gdb.threads/reconnect-signal.exp: New file.
15027
15028 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
15029
15030         * gdb.base/source-dir.exp: New file.
15031
15032 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15033
15034         * gdb.ada/mi_interface: New testcase.
15035
15036 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15037
15038         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
15039         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
15040         gdb.ada/pp-rec-component/pck.ads: New files.
15041
15042 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15043
15044         * gdb.python/py-pp-integral.c: New file.
15045         * gdb.python/py-pp-integral.py: New file.
15046         * gdb.python/py-pp-integral.exp: New file.
15047
15048 For older changes see ChangeLog-1993-2013.
15049 \f
15050 ;; Local Variables:
15051 ;; mode: change-log
15052 ;; left-margin: 8
15053 ;; fill-column: 74
15054 ;; version-control: never
15055 ;; End:
15056
15057     Copyright 2014-2018 Free Software Foundation, Inc.
15058   Copying and distribution of this file, with or without modification,
15059   are permitted provided the copyright notice and this notice are preserved.