Add a test to verify info [functions|variables|types]|rbreak respect language_mode.
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
2
3         * gdb.ada/info_auto_lang.exp: New testcase.
4         * gdb.ada/info_auto_lang/global_pack.ads: New file.
5         * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
6         * gdb.ada/info_auto_lang/some_c.c: New file.
7
8 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
9
10         * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
11         FUNC_lang language syntax.
12
13 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
14
15         * gdb.base/info_minsym.c: New file.
16         * gdb.base/info_minsym.exp: New file.
17
18 2018-11-19  Tom Tromey  <tom@tromey.com>
19
20         PR rust/23625:
21         * gdb.rust/simple.exp: Add ptype test.  Update expected output.
22         * gdb.rust/expr.exp: Update expected output.  Change one test.
23
24 2018-11-19  Tom Tromey  <tom@tromey.com>
25
26         * gdb.rust/simple.rs: Don't initialize empty_enum_value.
27
28 2018-11-19  Pedro Alves  <palves@redhat.com>
29
30         * gdb.base/warning.exp: Don't override INTERNAL_FLAGS.  Use
31         gdb_spawn_with_cmdline_opts instead of gdb_start.  Check that we
32         see the expected warning.
33
34 2018-11-16  Alan Hayward  <alan.hayward@arm.com>
35
36         PR gdb/22736:
37         * gdb.cp/infcall-nodebug-lib.c: New test.
38         * gdb.cp/infcall-nodebug-main.c: New test.
39         * gdb.cp/infcall-nodebug.exp: New file.
40
41 2018-11-12  Simon Marchi  <simon.marchi@polymtl.ca>
42
43         * gdb.base/skip.exp: Add standard_testfile.  Add "skip delete"
44         completer tests.
45
46 2018-11-09  Tom de Vries  <tdevries@suse.de>
47
48         * gdb.base/msym-lang.c: New test.
49         * gdb.base/msym-lang.exp: New file.
50         * gdb.base/msym-lang-main.c: New test.
51
52 2018-11-08  Tom Tromey  <tom@tromey.com>
53
54         PR gdb/23555:
55         PR gdb/23838:
56         * gdb.base/warning.exp: New file.
57
58 2018-11-08  Jan Beulich  <jbeulich@suse.com>
59
60         * testsuite/gdb.arch/i386-avx512.c,
61         testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
62
63 2018-11-08  Andrew Burgess  <andrew.burgess@embecosm.com>
64
65         * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
66         point hardware.
67
68 2018-11-07  Andrew Burgess  <andrew.burgess@embecosm.com>
69
70         * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
71         * gdb.dwarf2/missing-type-name.exp: New file.
72
73 2018-11-06  Tom de Vries  <tdevries@suse.de>
74
75         * gdb.base/many-headers.c: New test.
76         * gdb.base/many-headers.exp: New file.
77
78 2018-11-06  Jim Wilson  <jimw@sifive.com>
79
80         * gdb.base/code_elim.exp: For riscv, set additional_flags
81         to include -msmall-data-limit=0.
82
83 2018-11-01  Joel Brobecker  <brobecker@adacore.com>
84
85         * gdb.ada/watch_minus_l: New testcase.
86
87 2018-11-01  Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
88
89         * gdb.arch/aix-sighandle.c: New file.
90         * gdb.arch/aix-sighandle.exp: New file.
91
92 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
93
94         * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
95         registers being unions.
96
97 2018-10-31  Tom de Vries  <tdevries@suse.de>
98
99         * lib/valgrind.exp: New file.
100          (vgdb_start, vgdb_stop): New procs, factored out of ...
101         * gdb.base/valgrind-bt.exp: ... here, ...
102         * gdb.base/valgrind-disp-step.exp: ... here and ...
103         * gdb.base/valgrind-infcall.exp: ... here.
104
105 2018-10-31  Tom de Vries  <tdevries@suse.de>
106
107         * lib/gdb.exp (get_valueof): Don't output read value in test name.
108
109 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
110
111         * gdb.dwarf2/void-type.c: New file.
112         * gdb.dwarf2/void-type.exp: New file.
113
114 2018-10-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
115
116         * gdb.base/info_qt.c: New file.
117         * gdb.base/info_qt.exp: New file.
118
119 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
120
121         * gdb.arch/powerpc-htm-regs.c: New file.
122         * gdb.arch/powerpc-htm-regs.exp: New file.
123
124 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
125
126         * gdb.arch/powerpc-tar.c: New file.
127         * gdb.arch/powerpc-tar.exp: New file.
128
129 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
130
131         * gdb.arch/powerpc-ppr-dscr.c: New file.
132         * gdb.arch/powerpc-ppr-dscr.exp: New file.
133
134 2018-10-25  Tom de Vries  <tdevries@suse.de>
135
136         * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
137
138 2018-10-24  Tom de Vries  <tdevries@suse.de>
139
140         * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
141         longer exists error.
142
143 2018-10-24  Tom de Vries  <tdevries@suse.de>
144
145         * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
146
147 2018-10-24  Tom de Vries  <tdevries@suse.de>
148
149         * gdb.base/valgrind-db-attach.exp: Handle removed support for
150         --db-attach in valgrind.
151
152 2018-10-23  Andrew Burgess  <andrew.burgess@embecosm.com>
153
154         * gdb.arch/riscv-reg-aliases.c: New file.
155         * gdb.arch/riscv-reg-aliases.exp: New file.
156
157 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
158
159         * gdb.python/py-cmd.exp: Check for gdb_prompt.
160
161 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
162
163         * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
164
165 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
166
167         * gdb.cp/ovldbreak.exp: Fix regexps.
168
169 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
170
171         * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
172
173 2018-10-18  Sergio Durigan Junior  <sergiodj@redhat.com>
174
175         PR cli/23785
176         * gdb.base/restore.exp: New test to check if "restore" with an
177         invalid file doesn't segfault.
178
179 2018-10-18  Tom de Vries  <tdevries@suse.de>
180
181         * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
182         * gdb.ada/excep_handle.exp: Same.
183         * gdb.ada/mi_string_access.exp: Same.
184         * gdb.ada/mi_var_union.exp: Same.
185         * gdb.arch/arc-analyze-prologue.exp: Same.
186         * gdb.arch/arc-decode-insn.exp: Same.
187         * gdb.base/readnever.exp: Same.
188         * gdb.fortran/printing-types.exp: Same.
189         * gdb.guile/scm-lazy-string.exp: Same.
190
191 2018-10-16  Tom de Vries  <tdevries@suse.de>
192
193         PR gdb/23730
194         * gdb.base/catch-follow-exec.c: Add copyright notice.
195         * gdb.base/catch-follow-exec.exp: Rewrite to use
196         gdb_spawn_with_cmdline_opts.  Require gdb-native.
197
198 2018-10-12  Sandra Loosemore  <sandra@codesourcery.com>
199
200         * gdb.trace/actions-changed.exp: Check for arch support.
201         * gdb.trace/actions.exp: Likewise.
202         * gdb.trace/ax.exp: Likewise.
203         * gdb.trace/backtrace.exp: Likewise.
204         * gdb.trace/change-loc.exp: Likewise.
205         * gdb.trace/deltrace.exp: Likewise.
206         * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
207         * gdb.trace/ftrace.exp: Likewise.
208         * gdb.trace/infotrace.exp: Check for arch support.
209         * gdb.trace/mi-trace-frame-collected.exp: Likewise.
210         * gdb.trace/mi-tracepoint-changed.exp: Likewise.
211         * gdb.trace/mi-tsv-changed.exp: Likewise.
212         * gdb.trace/packetlen.exp: Likewise.
213         * gdb.trace/passc-dyn.exp: Likewise.
214         * gdb.trace/passcount.exp: Likewise.
215         * gdb.trace/pending.exp: Likewise.
216         * gdb.trace/range-stepping.exp: Check for shlib support.
217         * gdb.trace/report.exp: Check for arch support.
218         * gdb.trace/save-trace.exp: Likewise.
219         * gdb.trace/signal.exp: Check for signal support.
220         * gdb.trace/tfind.exp: Check for arch support.
221         * gdb.trace/trace-break.exp: Check for arch and shlib support.
222         * gdb.trace/trace-common.h: Add comment.
223         * gdb.trace/trace-condition.exp: Check for shlib and arch support.
224         * gdb.trace/trace-enable-disable.exp: Likewise.
225         * gdb.trace/trace-mt.exp: Likewise.  Remove redundant untested call.
226         * gdb.trace/tracecmd.exp: Check for arch support.
227         * gdb.trace/tspeed.exp: Check for shlib and target support.
228         * gdb.trace/tstatus.exp: Check for arch support.
229         * gdb.trace/tsv.exp: Likewise.
230         * gdb.trace/while-dyn.exp: Likewise.
231         * gdb.trace/while-stepping.exp: Likewise.
232         * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
233
234 2018-10-12  Simon Marchi  <simon.marchi@ericsson.com>
235
236         * gdb.trace/tspeed.exp: Remove nowarnings.
237         (prepare_for_trace_test): Declare "global ipalib".
238         * gdb.trace/tspeed.c: Include unistd.h.
239         (main): Remove superfluous printf argument.
240
241 2018-10-11  Sandra Loosemore  <sandra@codesourcery.com>
242
243         * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
244         directory prefix on the filename.
245
246 2018-10-10  Sergio Durigan Junior  <sergiodj@redhat.com>
247
248         * gdb.gdb/unittest.exp: Update expected message informing that
249         selftests have been disabled.
250         * gdb.server/unittest.exp: Likewise.
251
252 2018-10-09  Tom de Vries  <tdevries@suse.de>
253
254         * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
255         with runto_main.
256
257 2018-10-08  Weimin Pan  <weimin.pan@oracle.com>
258
259         PR c++/16841
260         * gdb.cp/virtbase2.cc: New file.
261         * gdb.cp/virtbase2.exp: New file.
262
263 2018-10-06  Tom Tromey  <tom@tromey.com>
264
265         PR python/19399:
266         * gdb.python/py-inferior.exp: Add architecture test.
267
268 2018-10-06  Tom Tromey  <tom@tromey.com>
269
270         * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
271         * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
272
273 2018-10-06  Tom Tromey  <tom@tromey.com>
274
275         * gdb.python/py-breakpoint.exp (check_last_event): Check location
276         of a "throw" catchpoint.
277
278 2018-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>
279
280         * gdb.base/info-proc.exp: Update string expected from "help info
281         proc".
282
283 2018-10-04  Tom Tromey  <tom@tromey.com>
284
285         * gdb.cp/maint.exp (test_invalid_name): Update expected output.
286         * gdb.gdb/complaints.exp (test_short_complaints): Remove.
287         (test_initial_complaints, test_empty_complaints): Update.
288         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
289
290 2018-10-04  Tom Tromey  <tom@tromey.com>
291
292         PR cli/19551:
293         * lib/mi-support.exp (mi_gdb_file_cmd): Update.
294         * lib/gdb.exp (gdb_file_cmd): Update.
295         * gdb.stabs/weird.exp (print_weird_var): Update.
296         * gdb.server/solib-list.exp: Update.
297         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
298         * gdb.mi/mi-cli.exp: Update.
299         * gdb.linespec/linespec.exp: Update.
300         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
301         * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
302         * gdb.cp/cp-relocate.exp: Update.
303         * gdb.base/sym-file.exp: Update.
304         * gdb.base/relocate.exp: Update.
305         * gdb.base/readnever.exp: Update.
306         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
307         * gdb.base/kill-detach-inferiors-cmd.exp: Update.
308         * gdb.base/dbx.exp (gdb_file_cmd): Update.
309         * gdb.base/code_elim.exp: Update.
310         * gdb.base/break-unload-file.exp (test_break): Update.
311         * gdb.base/break-interp.exp (test_attach_gdb): Update.
312         * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
313         Update.
314         * gdb.base/attach.exp (do_attach_tests): Update.
315         * gdb.base/sepdebug.exp: Update.
316         * gdb.python/py-section-script.exp: Update.
317
318 2018-10-04  Tom Tromey  <tom@tromey.com>
319
320         PR cli/22234:
321         * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
322         * gdb.gdb/complaints.exp (test_short_complaints): Update expected
323         output.
324
325 2018-10-04  Tom Tromey  <tom@tromey.com>
326
327         * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
328         set width and height to 0.
329         (test_command_line_attach_run): Use -quiet.
330
331 2018-10-03  Sandra Loosemore  <sandra@codesourcery.com>
332
333         * lib/gdb.exp (skip_ifunc_tests): New.
334         * gdb.base/gnu-ifunc.exp: Skip if no ifunc support.  Handle
335         other compile failures.
336         * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
337
338 2018-10-01  Simon Marchi  <simon.marchi@ericsson.com>
339
340         * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
341         is_amd64_regs_target.
342
343 2018-10-01  Alan Hayward  <alan.hayward@arm.com>
344
345         * gdb.arch/aarch64-sighandler-regs.c: New test.
346         * gdb.arch/aarch64-sighandler-regs.exp: New file.
347         * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
348
349 2018-10-01  Markus Metzger  <markus.t.metzger@intel.com>
350
351         * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
352         assembly.
353
354 2018-09-28  Andrew Burgess  <andrew.burgess@embecosm.com>
355
356         * gdb.base/frame-selection.exp: New file.
357         * gdb.base/frame-selection.c: New file.
358
359 2018-09-27  Alan Hayward  <alan.hayward@arm.com>
360
361         * gdb.threads/check-libthread-db.c (thread_routine): Use a
362         pthread barrier.
363         (main): Likewise.
364
365 2018-09-26  Andrew Burgess  <andrew.burgess@embecosm.com>
366
367         * gdb.base/large-frame-1.c: New file.
368         * gdb.base/large-frame-2.c: New file.
369         * gdb.base/large-frame.exp: New file.
370         * gdb.base/large-frame.h: New file.
371
372 2018-09-24  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
373
374         PR gdb/20948
375         * gdb.base/write_mem.exp: New test.
376         * gdb.base/write_mem.c: Likewise.
377
378 2018-09-23  Tom Tromey  <tom@tromey.com>
379
380         PR python/18852:
381         * gdb.python/py-parameter.exp: Add test for parameter that throws
382         on "set".
383
384 2018-09-23  Tom Tromey  <tom@tromey.com>
385
386         PR python/17284:
387         * gdb.python/py-template.exp (test_template_arg): Add test for
388         negative template argument number.
389
390 2018-09-23  Tom Tromey  <tom@tromey.com>
391
392         PR python/14062:
393         * gdb.python/python.exp: Add test for post_event error.
394
395 2018-09-23  Tom Tromey  <tom@tromey.com>
396
397         PR python/18170:
398         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
399         convert pointers to int and long.
400
401 2018-09-23  Tom Tromey  <tom@tromey.com>
402
403         PR python/20126:
404         * gdb.python/py-value.exp (test_value_numeric_ops): Add
405         signed-ness conversion tests.
406
407 2018-09-23  Tom Tromey  <tom@tromey.com>
408
409         PR python/18352;
410         * gdb.python/py-value.exp (test_float_conversion): New proc.
411         Use it.
412
413 2018-09-20  Hafiz Abid Qadeer  <abidh@codesourcery.com>
414
415         gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
416
417 2018-09-18  Sandra Loosemore  <sandra@codesourcery.com>
418
419         * gdb.base/complete-empty.exp: Skip tab-completion tests if
420         no readline.
421         * gdb.base/utf8-identifiers.exp: Likewise.
422         * gdb.cp/cpcompletion.exp: Likewise.
423         * gdb.linespec/cpcompletion.exp: Likewise.
424         * gdb.linespec/cpls-abi-tag.exp: Likewise.
425         * gdb.linespec/cpls-ops.exp: Likewise.
426
427 2018-09-19  Richard Bunt  <richard.bunt@arm.com>
428             Chris January  <chris.january@arm.com>
429
430         * gdb.cp/koenig.exp: Extend to test logical short circuiting.
431         * gdb.fortran/short-circuit-argument-list.exp: New file.
432         * gdb.fortran/short-circuit-argument-list.f90: New test.
433
434 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
435
436         * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
437         "arch=" keyword when executing "-stack-list-frames".
438
439 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
440
441         * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
442         "arch=" keyword when executing "-stack-list-frames".
443
444 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
445
446         * gdb.ada/complete.exp: Expect for "@" when doing "complete
447         break ada".
448
449 2018-09-17  Simon Marchi  <simon.marchi@polymtl.ca>
450
451         PR python/23669
452         * gdb.python/python.exp: Test gdb.execute("show commands").
453
454 2018-09-16  Tom Tromey  <tom@tromey.com>
455
456         * gdb.base/new-ui.exp (do_execution_tests): Update.
457         * gdb.base/dbx.exp (test_breakpoints): Update.
458
459 2018-09-14  Alan Hayward  <alan.hayward@arm.com>
460
461         * lib/gdb.exp (gdb_simple_compile): Add proc.
462         (is_elf_target): Use gdb_simple_compile.
463         (skip_altivec_tests): Likewise.
464         (skip_vsx_tests): Likewise.
465         (skip_tsx_tests): Likewise.
466         (skip_btrace_tests): Likewise.
467         (skip_btrace_pt_tests): Likewise.
468         (gdb_can_simple_compile): Likewise.
469         (gdb_has_argv0): Likewise.
470         (gdb_target_symbol_prefix): Likewise.
471         (target_supports_scheduler_locking): Likewise.
472
473 2018-09-13  Tom Tromey  <tom@tromey.com>
474
475         * Makefile.in (TAGS): Recognize proc_with_prefix and
476         gdb_caching_proc.
477
478 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
479
480         * gdb.python/py-progspace.exp: Test the Progspace.objfiles
481         method.
482
483 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
484
485         * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
486         and a few other Inferior properties when the Inferior is no
487         longer valid.
488
489 2018-09-13  Tom Tromey  <tom@tromey.com>
490
491         PR rust/23650:
492         * gdb.rust/simple.exp: Add test for enum field access error.
493
494 2018-09-13  Tom Tromey  <tom@tromey.com>
495
496         PR rust/23626:
497         * gdb.rust/simple.rs (EmptyEnum): New type.
498         (main): Use it.
499         * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
500
501 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
502
503         * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
504         * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
505         * gdb.python/py-symtab.exp: Update test printing an objfile.
506
507 2018-09-12  Simon Marchi  <simon.marchi@ericsson.com>
508
509         * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
510         object.
511
512 2018-09-12  Alan Hayward  <alan.hayward@arm.com>
513
514         * lib/gdb.exp (gdb_can_simple_compile): Add proc.
515         (support_complex_tests): Use gdb_can_simple_compile.
516         (is_ilp32_target): Likewise.
517         (is_lp64_target): Likewise.
518         (is_64_target): Likewise.
519         (is_amd64_regs_target): Likewise.
520         (is_aarch32_target): Likewise.
521         (gdb_int128_helper): Likewise.
522
523 2018-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
524
525         * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
526
527 2018-09-10  Jerome Guitton  <guitton@adacore.com>
528
529         * gdb.ada/same_component_name: Add test for case of tagged record
530         with variable-length fields.
531
532 2018-09-10  Xavier Roirand  <roirand@adacore.com>
533
534         * gdb.ada/access_to_unbounded_array.exp: New testcase.
535         * gdb.ada/access_to_unbounded_array/foo.adb: New file.
536         * gdb.ada/access_to_unbounded_array/pack.adb: New file.
537         * gdb.ada/access_to_unbounded_array/pack.ads: New file.
538
539 2018-09-10  Xavier Roirand  <roirand@adacore.com>
540
541         * gdb.ada/mi_string_access.exp: New testcase.
542         * gdb.ada/mi_string_access/bar.adb: New file.
543         * gdb.ada/mi_string_access/pck.adb: New file.
544         * gdb.ada/mi_string_access/pck.asd: New file.
545
546 2018-09-10  Xavier Roirand  <roirand@adacore.com>
547
548         * gdb.ada/mi_var_union.exp: New testcase.
549         * gdb.ada/mi_var_union/bar.adb: New file.
550         * gdb.ada/mi_var_union/pck.adb: New file.
551         * gdb.ada/mi_var_union/pck.asd: New file.
552
553 2018-09-08  Tom Tromey  <tom@tromey.com>
554
555         * gdb.python/py-prettyprint.exp: Use with_test_prefix.
556
557 2018-09-08  Tom Tromey  <tom@tromey.com>
558
559         PR python/16047:
560         * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
561         (register_pretty_printers): Register new printer.
562         * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
563         test.
564         * gdb.python/py-prettyprint.c (int_type3): New typedef.
565         (an_int_type3): New global.
566
567 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
568
569         * gdb.ada/expr_with_funcall: New testcase.
570
571 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
572
573         * gdb.ada/packed_array_assign: New testcase.
574
575 2018-09-07  Andrew Burgess  <andrew.burgess@embecosm.com>
576
577         * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
578         names, and add test prefixes to make test names unique.
579
580 2018-09-05  Tom de Vries  <tdevries@suse.de>
581
582         * gdb.dwarf2/varval.exp: Add test.
583
584 2018-09-04  Gary Benson <gbenson@redhat.com>
585
586         * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
587         'eof' before 'wait -i'.  Use remote_close and clear_gdb_spawn_id.
588
589 2018-08-31  Tom Tromey  <tom@tromey.com>
590
591         * gdb.rust/simple.rs: Rename second variable "v".
592
593 2018-08-30  Andrew Burgess  <andrew.burgess@embecosm.com>
594
595         * gdb.base/funcargs.c (use_a): New function.
596         (recurse): Call use_a.
597
598 2018-08-29  Keith Seitz  <keiths@redhat.com>
599
600         * gdb.compile/compile-cplus-anonymous.cc: New file.
601         * gdb.compile/compile-cplus-anonymous.exp: New file.
602         * gdb.compile/compile-cplus-array-decay.cc: New file.
603         * gdb.compile/compile-cplus-array-decay.exp: New file.
604         * gdb.compile/compile-cplus-inherit.cc: New file.
605         * gdb.compile/compile-cplus-inherit.exp: New file.
606         * gdb.compile/compile-cplus-member.cc: New file.
607         * gdb.compile/compile-cplus-member.exp: New file.
608         * gdb.compile/compile-cplus-method.cc: New file.
609         * gdb.compile/compile-cplus-method.exp: New file.
610         * gdb.compile/compile-cplus-mod.c: "New" file.
611         * gdb.compile/compile-cplus-namespace.cc: New file.
612         * gdb.compile/compile-cplus-namespace.exp: New file.
613         * gdb.compile/compile-cplus-nested.cc: New file.
614         * gdb.compile/compile-cplus-nested.exp: New file.
615         * gdb.compile/compile-cplus-print.c: "New" file.
616         * gdb.compile/compile-cplus-print.exp: "New" file.
617         * gdb.compile/compile-cplus-virtual.cc: New file.
618         * gdb.compile/compile-cplus-virtual.exp: New file.
619         * gdb.compile/compile-cplus.c: "New" file.
620         * gdb.compile/compile-cplus.exp: "New" file.
621         * lib/compile-support.exp: New file.
622
623 2018-08-16  Gary Benson <gbenson@redhat.com>
624
625         PR gdb/13000:
626         * gdb.base/batch-exit-status.exp: New file.
627         * gdb.base/batch-exit-status.good-commands: Likewise.
628         * gdb.base/batch-exit-status.bad-commands: Likewise.
629
630 2018-08-29  Alan Hayward  <alan.hayward@arm.com>
631
632         * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
633         (struct struct02): Likewise.
634         (struct struct03): Likewise.
635         (struct struct04): Likewise.
636         (struct struct_01_01): New struct.
637         (struct struct_01_02): Likewise.
638         (struct struct_01_03): Likewise.
639         (struct struct_01_04): Likewise.
640         (struct struct_02_01): Likewise.
641         (struct struct_02_02): Likewise.
642         (struct struct_02_03): Likewise.
643         (struct struct_02_04): Likewise.
644         (struct struct_04_01): Likewise.
645         (struct struct_04_02): Likewise.
646         (struct struct_04_03): Likewise.
647         (struct struct_04_04): Likewise.
648         (struct struct_05_01): Likewise.
649         (struct struct_05_02): Likewise.
650         (struct struct_05_03): Likewise.
651         (struct struct_05_04): Likewise.
652         (cmp_struct01): Remove function.
653         (cmp_struct02): Likewise.
654         (cmp_struct03): Likewise.
655         (cmp_struct04): Likewise.
656         (cmp_struct_01_01): Add Function.
657         (cmp_struct_01_02): Likewise.
658         (cmp_struct_01_03): Likewise.
659         (cmp_struct_01_04): Likewise.
660         (cmp_struct_02_01): Likewise.
661         (cmp_struct_02_02): Likewise.
662         (cmp_struct_02_03): Likewise.
663         (cmp_struct_02_04): Likewise.
664         (cmp_struct_04_01): Likewise.
665         (cmp_struct_04_02): Likewise.
666         (cmp_struct_04_03): Likewise.
667         (cmp_struct_04_04): Likewise.
668         (cmp_struct_05_01): Likewise.
669         (cmp_struct_05_02): Likewise.
670         (cmp_struct_05_03): Likewise.
671         (cmp_struct_05_04): Likewise.
672         (call_all): Add new structs.
673         * gdb.base/infcall-nested-structs.exp: Likewise.
674
675 2018-08-27  Jan Vrany  <jan.vrany@fit.cvut.cz>
676
677         * gdb.python/py-framefilter-mi.exp: Update regexp to
678         check for "arch" field in frame output.
679
680 2018-08-23  Kevin Buettner  <kevinb@redhat.com>
681
682         * gdb.dwarf2/dw2-ranges-func.c: New file.
683         * gdb.dwarf2/dw2-ranges-func.exp: New file.
684
685 2018-08-22  Simon Marchi  <simon.marchi@polymtl.ca>
686
687         * gdb.base/term.exp: Compare terminal settings with values from
688         the inferior.
689         * gdb.base/term.c: Get and set terminal settings.
690
691 2018-08-22  Jan Vrany  <jan.vrany@fit.cvut.cz>
692
693         * lib/mi-support.exp (mi_expect_stop): Update regexp to
694         accommodate new "arch" field in frame output.
695         * gdb.mi/mi-return.exp: Likewise.
696         * gdb.mi/mi-stack.exp: Likewise.
697         * gdb.mi/mi-syn-frame.exp: Likewise.
698         * gdb.mi/user-selected-context-sync.exp: Likewise.
699
700 2018-08-19  Michael Spang  <spang@google.com>
701
702         PR gdb/11786
703         * gdb.base/gcore-tls-pie.c: New file.
704         * gdb.base/gcore-tls-pie.exp: New file.
705
706 2018-08-18  Kevin Buettner  <kevinb@redhat.com>
707
708         * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
709         * gdb.dwarf2/varval.c: New file.
710         * gdb.dwarf2/varval.exp: New file.
711
712 2018-08-17  Alan Hayward  <alan.hayward@arm.com>
713
714         PR gdb/18931
715         * gdb.arch/aarch64-fp.c (main): Fix asm registers.
716
717 2018-08-16  Keith Seitz  <keiths@redhat.com>
718
719         * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
720         tests expected to pass.
721
722 2018-08-14  Jan Vrany  <jan.vrany@fit.cvut.cz>
723
724         * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
725         -data-disassemble -a.
726         (test_disassembly_bogus_args): Likewise.
727
728 2018-08-14  Andrew Burgess  <andrew.burgess@embecosm.com>
729
730         * gdb.mi/list-thread-groups-available.exp: Update test regexp.
731
732 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
733
734         * gdb.base/vla-optimized-out.exp: Add new test.
735
736 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
737
738         * gdb.base/vla-optimized-out-o3.exp: Delete.
739         * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
740         * gdb.base/vla-optimized-out.exp: Extend to cover all of the
741         deleted tests.
742
743 2018-08-08  Andrew Burgess  <andrew.burgess@embecosm.com>
744
745         PR gdb/18050:
746         * gdb.server/extended-remote-restart.c: New file.
747         * gdb.server/extended-remote-restart.exp: New file.
748
749 2018-08-07  Simon Marchi  <simon.marchi@polymtl.ca>
750
751         * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
752         "set variable index = 42".
753
754 2018-08-07  Simon Marchi  <simon.marchi@ericsson.com>
755
756         * boards/index-cache-gdb.exp: New file.
757         * gdb.dwarf2/index-cache.exp: New file.
758         * gdb.dwarf2/index-cache.c: New file.
759         * gdb.base/maint.exp: Check if we are using the index cache.
760
761 2018-08-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
762
763         * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
764         MAKEFLAGS.
765
766 2018-08-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
767
768         * dg-extract-results.sh: Move to toplevel contrib.
769         * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
770         * Makefile.in (check-parallel-racy): Likewise.
771
772 2018-08-06  Andrew Burgess  <andrew.burgess@embecosm.com>
773
774         * lib/gdb.exp (target_supports_scheduler_locking): New proc.
775         * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
776         tests if the target supports scheduler locking.
777
778 2018-08-04  Tom de Vries  <tdevries@suse.de>
779
780         * gdb.python/py-rbreak.exp: Fix rbreak regexp.
781
782 2018-08-02  Tom Tromey  <tom@tromey.com>
783
784         PR symtab/16842.
785         * gdb.cp/temargs.exp: Test "info address" of a template
786         parameter.
787
788 2018-07-31  Jan Vrany  <jan.vrany@fit.cvut.cz>
789
790         * gdb.python/py-mi-var-info-path-expression.c: New file.
791         * gdb.python/py-mi-var-info-path-expression.py: New file.
792         * gdb.python/py-mi-var-info-path-expression.exp: New file.
793
794 2018-07-30  Sergio Durigan Junior  <sergiodj@redhat.com>
795
796         * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
797         error after "cannot resolve name" string.
798
799 2018-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
800
801         * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
802         started.
803         * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
804
805 2018-07-28  Tom de Vries  <tdevries@suse.de>
806
807         * gdb.base/vla-optimized-out-o3-strict.exp: New file.
808
809 2018-07-26  Tom de Vries  <tdevries@suse.de>
810
811         * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
812
813 2018-07-26  Andrew Burgess  <andrew.burgess@embecosm.com>
814
815         * gdb.base/maint.exp: Add check that dwarf unwinders control flag
816         is visible.
817
818 2018-07-26  Tom de Vries  <tdevries@suse.de>
819
820         PR breakpoints/23366
821         * gdb.base/catch-follow-exec.c: New test.
822         * gdb.base/catch-follow-exec.exp: New file.
823
824 2018-07-25  Tom de Vries  <tdevries@suse.de>
825
826         * gdb.base/vla-optimized-out-o3.exp: New file.  Reuse
827         vla-optimized-out.c.
828
829 2018-07-25  Jan Vrany  <jan.vrany@fit.cvut.cz>
830
831         * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
832         * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
833
834 2018-07-20  Tom de Vries  <tdevries@suse.de>
835
836         * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
837         NOCLONE macro.
838         * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
839
840 2018-07-19  Tom de Vries  <tdevries@suse.de>
841
842         * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
843         regular expression.
844
845 2018-07-18  Tom de Vries  <tdevries@suse.de>
846
847         * gdb.base/vla-optimized-out.c: New test.
848         * gdb.base/vla-optimized-out.exp: New file.
849
850 2018-07-13  Sergio Durigan Junior  <sergiodj@redhat.com>
851
852         * lib/gdbserver-support.exp (gdbserver_start): Expect for the
853         message "No address associated with hostname" when gdbserver
854         cannot resolve the hostname.
855
856 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
857
858         * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
859         Add some test prefixes to make tests unique.
860
861 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
862
863         * gdb.base/frameapply.c: New file.
864         * gdb.base/frameapply.exp: New file.
865
866 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
867
868         * gdb.base/skip.exp: Update expected error message.
869
870 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
871             Jan Kratochvil  <jan.kratochvil@redhat.com>
872             Paul Fertser  <fercerpav@gmail.com>
873             Tsutomu Seki  <sekiriki@gmail.com>
874
875         * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
876         parameter.
877         * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
878         by default.
879         * boards/native-gdbserver.exp: Likewise.
880         * gdb.server/run-without-local-binary.exp: Improve regexp used
881         for detecting when a remote debugging connection succeeds.
882         * gdb.server/server-connect.exp: New file.
883         * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
884         Do not prefix the port number with ":".
885         (gdbserver_start): New global GDB_TEST_SOCKETHOST.  Implement
886         support for detecting and using it.  Add '$debughost_gdbserver'
887         to the list of arguments used to start gdbserver.  Handle case
888         when gdbserver cannot resolve a network name.
889
890 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
891
892         PR c++/23373
893         * gdb.base/ptype-offsets.cc (struct static_member): New
894         struct.
895         (main) <stmember>: New variable.
896         * gdb.base/ptype-offsets.exp: Add test for printing a struct
897         with a static member in it.
898
899 2018-07-10  Andrew Burgess  <andrew.burgess@embecosm.com>
900
901         * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
902         watchpoints enabled and disabled.
903
904 2018-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
905
906         * gdb.base/examine-backward.exp: Still run tests around address
907         0x0, even if address 0x0 is not readable.  Update the pattern for
908         matching address 0x0 in expected output.
909
910 2018-07-06  Andrew Burgess  <andrew.burgess@embecosm.com>
911
912         * gdb.base/share-env-with-gdbserver.c (main): Add call to
913         malloc/free.
914
915 2018-07-04  Tom de Vries  <tdevries@suse.de>
916
917         * gdb.dwarf2/dw2-error.exp: Update expected error message.
918
919 2018-07-02  Maciej W. Rozycki  <macro@mips.com>
920
921         PR tdep/8282
922         * gdb.arch/mips-disassembler-options.exp: New test.
923         * gdb.arch/mips-disassembler-options.s: New test source.
924
925 2018-06-29  Pedro Alves  <palves@redhat.com>
926
927         * gdb.threads/names.exp: Adjust expected "info threads" output.
928
929 2018-06-29  Pedro Alves  <palves@redhat.com>
930
931         * gdb.opt/inline-break.exp (line number, address): Add "info
932         break" tests.
933
934 2018-06-29  Pedro Alves  <palves@redhat.com>
935
936         * gdb.opt/inline-break.c (func1): Add "break here" marker.
937         * gdb.opt/inline-break.exp: Test setting breakpoints by line
938         number and address and running to them.
939
940 2018-06-29  Richard Bunt  <richard.bunt@arm.com>
941
942         * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
943
944 2018-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
945
946         * lib/compiler.c: Remove executable permission flag.
947
948 2018-06-28  Richard Bunt  <richard.bunt@arm.com>
949
950         * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
951         code.
952         * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
953
954 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
955
956         * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
957
958 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
959
960         * gdb.base/relocate.exp: Test add-symbol-file behavior when the
961         address argument is omitted.
962
963 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
964
965         * gdb.base/relocate.exp: Add test for "symbol-file -o ".
966
967 2018-06-27  Omair Javaid  <omair.javaid@linaro.org>
968
969         PR gdb/21695
970         * gdb.base/infoline-reloc-main-from-zero.exp: New test.
971         * gdb.base/infoline-reloc-main-from-zero.c: New file.
972
973 2018-06-26  Tom Tromey  <tom@tromey.com>
974
975         PR rust/22574:
976         * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
977         * gdb.rust/simple.rs (struct SimpleLayout): New.
978
979 2018-06-22  Simon Marchi  <simon.marchi@ericsson.com>
980
981         * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
982         "info registers" output.
983
984 2018-06-21  Richard Bunt  <richard.bunt@arm.com>
985
986         * gdb.base/watchpoint-hw-attach.c: New test.
987         * gdb.base/watchpoint-hw-attach.exp: New file.
988
989 2018-06-20  Simon Marchi  <simon.marchi@ericsson.com>
990
991         * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
992         through /bin/sh.
993         * boards/dwarf4-gdb-index.exp: Likewise.
994         * boards/fission-dwp.exp: Likewise.
995
996 2018-06-20  Ulrich Weigand  <uweigand@de.ibm.com>
997
998         * gdb.base/float128.exp: Add comment and improved fail message
999         to the failure case of "print large128" test.
1000
1001 2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
1002
1003         * configure.ac: Remove AC_PREREQ.
1004         * configure: Re-generate.
1005
1006 2018-06-19  Pedro Alves  <palves@redhat.com>
1007
1008         * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
1009         (func_extern_caller): New.
1010         (main): Call func_extern_caller.
1011         * gdb.opt/inline-break.exp: Add tests for inline frame skipping
1012         logic change.
1013
1014 2018-06-18  Weimin Pan  <weimin.pan@oracle.com>
1015
1016         PR gdb/16841
1017         * gdb.cp/typedef-base.cc: New file.
1018         * gdb.cp/typedef-base.exp: New file.
1019
1020 2018-06-18  Tom de Vries  <tdevries@suse.de>
1021
1022         * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1023
1024 2018-06-16  Andrew Burgess  <andrew.burgess@embecosm.com>
1025             Richard Bunt <Richard.Bunt@arm.com>
1026
1027         * gdb.threads/attach-slow-waitpid.c: New file.
1028         * gdb.threads/attach-slow-waitpid.exp: New file.
1029         * gdb.threads/slow-waitpid.c: New file.
1030
1031 2018-06-14  Pedro Alves  <palves@redhat.com>
1032
1033         * gdb.base/fork-running-state.c: Include <errno.h>.
1034         (exit_if_relative_exits): New.
1035         (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1036         exits.
1037         (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1038         child exits.
1039
1040 2018-06-14  Tom de Vries  <tdevries@suse.de>
1041
1042         PR cli/22573
1043         * gdb.base/finish-pretty.c: New test.
1044         * gdb.base/finish-pretty.exp: New file.
1045
1046 2018-06-14  Pedro Alves  <palves@redhat.com>
1047
1048         * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
1049         gdb's expected startup output.
1050
1051 2018-06-14  Pedro Alves  <palves@redhat.com>
1052
1053         * lib/selftest-support.exp (selftest_setup): Remove inlined
1054         function handling.
1055
1056 2018-06-14  Tom de Vries  <tdevries@suse.de>
1057
1058         * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1059         matching of breakpoint printing.
1060
1061 2018-06-13  Tom de Vries  <tdevries@suse.de>
1062
1063         PR testsuite/23269
1064         * gdb.base/fork-running-state.c (main): Move setting of alarm ...
1065         (fork_child): ... here, and ...
1066         (fork_parent): ... here.
1067
1068 2018-06-12  Tom de Vries  <tdevries@suse.de>
1069
1070         * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
1071
1072 2018-06-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1073             Stephen Roberts  <stephen.roberts@arm.com>
1074
1075         * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
1076         rewrite test to describe action performed, rather than possible
1077         failure.
1078
1079 2018-06-08  Gary Benson <gbenson@redhat.com>
1080
1081         * gdb.threads/check-libthread-db.exp: New file.
1082         * gdb.threads/check-libthread-db.c: Likewise.
1083
1084 2018-06-05  Tom Tromey  <tom@tromey.com>
1085
1086         * gdb.base/default.exp: Update expected "show version" output.
1087
1088 2018-06-05  Tom Tromey  <tom@tromey.com>
1089
1090         PR cli/12326:
1091         * gdb.cp/static-print-quit.exp: Update.
1092         * lib/gdb.exp (pagination_prompt): Update.
1093         * gdb.base/page.exp: Use pagination_prompt.  Add new tests.
1094         * gdb.python/python.exp: Update.
1095
1096 2018-06-04  Joel Brobecker  <brobecker@adacore.com>
1097
1098         * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
1099
1100 2018-06-01  Joel Brobecker  <brobecker@adacore.com>
1101
1102         * gdb.ada/bp_fun_addr: New testcase.
1103
1104 2018-06-01  Tom Tromey  <tom@tromey.com>
1105
1106         * gdb.xml/tdesc-regs.exp (load_description): Update expected
1107         results.
1108         * gdb.dwarf2/method-ptr.exp: Set language to C++.
1109         * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
1110         * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
1111         * gdb.base/maint.exp (maint_pass_if): Update.
1112
1113 2018-05-31  Maciej W. Rozycki  <macro@mips.com>
1114
1115         * gdb.base/endian.exp: New test.
1116         * gdb.base/endian.c: New test source.
1117
1118 2018-05-24  Andrew Burgess  <andrew.burgess@embecosm.com>
1119
1120         PR gdb/23203
1121         * gdb.base/bt-selected-frame.c: New file.
1122         * gdb.base/bt-selected-frame.exp: New file.
1123         * lib/gdb.exp (get_current_frame_number): New function.
1124
1125 2018-05-24  Maciej W. Rozycki  <macro@mips.com>
1126             Pedro Alves  <palves@redhat.com>
1127
1128         * gdb.threads/tls-core.c: Include <stdlib.h>
1129         (thread_proc): Call `abort'.
1130         * gdb.threads/tls-core.exp: Generate a core with core_find too.
1131         (tls_core_test): New procedure, bits factored out from ...
1132         (top level): ... here.  Test both native cores and gcore cores.
1133
1134 2018-05-23  Tom Tromey  <tom@tromey.com>
1135
1136         * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
1137
1138 2018-05-23  Tom Tromey  <tom@tromey.com>
1139
1140         * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
1141         symfile_complaints.
1142         (test_short_complaints): Likewise.
1143         (test_empty_complaints): Likewise.
1144         (test_initial_complaints): Update.
1145
1146 2018-05-23  Tom Tromey  <tom@tromey.com>
1147
1148         * gdb.gdb/complaints.exp (test_empty_complaints): Update.
1149
1150 2018-05-23  Tom Tromey  <tom@tromey.com>
1151
1152         * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
1153         (test_short_complaints): Update.
1154
1155 2018-05-22  Pedro Alves  <palves@redhat.com>
1156
1157         * gdb.base/remote.exp: Only gdb_start after compiling the
1158         testcase.  Issue "disconnect" before testing "set remote" command
1159         defaults.  Issue clean_restart before running to main.
1160
1161 2018-05-22  Pedro Alves  <palves@redhat.com>
1162
1163         * gdb.base/remote.exp: Adjust expected output of "show remote
1164         memory-write-packet-size".  Add tests for "set remote
1165         memory-write-packet-size 0" and "set remote
1166         memory-write-packet-size fixed/limit".
1167
1168 2018-05-22  Pedro Alves  <palves@redhat.com>
1169
1170         PR gdb/22973
1171         * gdb.base/utf8-identifiers.c: New file.
1172         * gdb.base/utf8-identifiers.exp: New file.
1173
1174 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1175
1176         * gdb.arch/powerpc-fpscr-gcore.exp: New file.
1177
1178 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1179
1180         * gdb.arch/powerpc-vsx-gcore.exp: New file.
1181
1182 2018-05-18  Tom Tromey  <tom@tromey.com>
1183
1184         * gdb.base/ptype-offsets.exp: Update.
1185
1186 2018-05-17  Keith Seitz  <keiths@redhat.com>
1187
1188         * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
1189         in expected breakpoint stop locations.
1190         * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
1191         move to proper scope to test variable values.
1192         * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
1193         (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
1194         New functions.
1195         (main): Call not_inline_func3.
1196         * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
1197         inline_func1, inline_func2, and inline_func3.  Test that when each
1198         breakpoint is hit, GDB properly reports both the stop location
1199         and the backtrace. Repeat tests for temporary breakpoints.
1200
1201 2018-05-15  Maciej W. Rozycki  <macro@mips.com>
1202
1203         * gdb.server/server-kill.exp: Verify whether `server_pid' exists
1204         rather then trying to access it in determining whether the PID
1205         of `gdbserver' could have been retrieved.
1206
1207 2018-05-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1208
1209         * gdb.arch/amd64-init-x87-values.S: New file.
1210         * gdb.arch/amd64-init-x87-values.exp: New file.
1211
1212 2018-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1213
1214         * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
1215
1216 2018-05-04  Tom Tromey  <tom@tromey.com>
1217
1218         PR python/22730:
1219         * gdb.python/python.exp: Test multi-line execute.
1220
1221 2018-05-04  Tom Tromey  <tom@tromey.com>
1222
1223         PR python/22731:
1224         * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
1225
1226 2018-05-04  Tom Tromey  <tom@tromey.com>
1227
1228         PR gdb/11750:
1229         * gdb.base/define.exp: Test defining a user command inside a user
1230         command.
1231         * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
1232
1233 2018-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
1234             Pedro Alves <palves@redhat.com>
1235
1236         PR breakpoints/19806 and support for PR external/20207.
1237         * gdb.base/watchpoint-unaligned.c: New file.
1238         * gdb.base/watchpoint-unaligned.exp: New file.
1239
1240 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1241
1242         * gdb.base/maint.exp: Make test names unique, use
1243         test_prefix_command_help to test 'help maint info', and remove
1244         repeated test of 'help maint'.
1245
1246 2018-05-04  Tom Tromey  <tom@tromey.com>
1247
1248         PR gdb/22619:
1249         * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
1250         behavior.
1251
1252 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1253
1254         * gdb.base/maint.exp: Process output from 'maint print registers'
1255         line at a time.
1256
1257 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1258
1259         * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
1260         timeout.
1261
1262 2018-05-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1263
1264         * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
1265         filter pattern.
1266
1267 2018-05-02  Pedro Alves  <palves@redhat.com>
1268
1269         * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
1270         to_log_command renames.
1271         * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1272
1273 2018-05-02  Tom Tromey  <tom@tromey.com>
1274
1275         * gdb.python/py-parameter.exp: Set test message.
1276
1277 2018-05-02  Tom Tromey  <tom@tromey.com>
1278
1279         PR python/20084:
1280         * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
1281         PARAM_ZUINTEGER_UNLIMITED tests.
1282
1283 2018-04-28  Dan Robertson  <danlrobertson89@gmail.com>
1284
1285         PR rust/23124
1286         * gdb.rust/expr.exp: Test that the unit type is correctly parsed
1287         when casting.
1288
1289 2018-04-30  Tom Tromey  <tom@tromey.com>
1290
1291         * gdb.python/py-type.exp: Check align attribute.
1292         * gdb.python/py-type.c: New "aligncheck" global.
1293
1294 2018-04-30  Tom Tromey  <tom@tromey.com>
1295
1296         PR exp/17095:
1297         * gdb.dwarf2/dw2-align.exp: New file.
1298         * gdb.cp/align.exp: New file.
1299         * gdb.base/align.exp: New file.
1300         * lib/gdb.exp (gdb_int128_helper): New proc.
1301         (has_int128_c, has_int128_cxx): New caching procs.
1302
1303 2018-04-27  Tom Tromey  <tom@tromey.com>
1304
1305         PR rust/22545:
1306         * gdb.rust/simple.exp: Add inclusive range tests.
1307
1308 2018-04-26  Pedro Alves  <palves@redhat.com>
1309
1310         * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
1311         ifunc breakpoint locations correctly of ifunc breakpoints set
1312         while the program resolves the ifunc.
1313
1314 2018-04-26  Pedro Alves  <palves@redhat.com>
1315
1316         * gdb.base/gnu-ifunc-final.c: New file.
1317         * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
1318         * gdb.base/gnu-ifunc.exp (executable): Delete.
1319         (staticexecutable): Adjust.
1320         (lib_opts, exec_opts): Delete.
1321         (make_binsuffix, build, set-break): New procedures.
1322         (misc_tests): New, with tests factored out from the top level.
1323         (top level): Test different combinations of ifunc resolver name,
1324         resolver with and with debug info, and ifunc target with and
1325         without debug info.  Wrap static tests with with_target_prefix.
1326
1327 2018-04-26  Pedro Alves  <palves@redhat.com>
1328
1329         * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
1330         return type" warnings.
1331
1332 2018-04-25  Pedro Alves  <palves@redhat.com>
1333
1334         * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
1335         killed".
1336         * gdb.base/kill-after-signal.exp: Likewise.
1337         * gdb.threads/kill.exp: Likewise.
1338
1339 2018-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1340             Sergio Durigan Junior  <sergiodj@redhat.com>
1341             Pedro Alves  <palves@redhat.com>
1342
1343         * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1344         regexps to expect for '[Inferior ... detached]' as well.
1345         * gdb.base/attach.exp: Likewise.
1346         * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1347         "gdb_continue_to_end".
1348         (test_catch_syscall_with_wrong_args): Likewise.
1349         * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1350         ']'.  Don't set 'verbose' on.
1351         * gdb.base/foll-vfork.exp: Likewise.
1352         * gdb.base/fork-print-inferior-events.c: New file.
1353         * gdb.base/fork-print-inferior-events.exp: New file.
1354         * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1355         '[Inferior ... has been killed]' message.
1356         * gdb.base/kill-after-signal.exp: Likewise.
1357         * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1358         detach message.
1359         * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1360         message.
1361         * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1362         regexps to expect for '[Inferior ... detached]' as well.
1363         * gdb.threads/process-dies-while-detaching.exp: Likewise.
1364
1365 2018-04-24  Simon Marchi  <simon.marchi@ericsson.com>
1366
1367         PR gdb/23104
1368         * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1369
1370 2018-04-19  Richard Bunt  <richard.bunt@arm.com>
1371
1372         * gdb.threads/multiple-successive-infcall.c: New test.
1373         * gdb.threads/multiple-successive-infcall.exp: New file.
1374
1375 2018-04-17  Tom Tromey  <tom@tromey.com>
1376
1377         * gdb.rust/simple.rs (Union): New type.
1378         (main): New local "u".
1379         * gdb.rust/simple.exp (test_one_slice): Add new test case.
1380
1381 2018-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1382
1383         * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1384         number information in output of "whereis" command.
1385         * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1386
1387 2018-04-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1388
1389         * gdb.ada/info_types.exp: Adjust expected output to the line
1390         numbers now printed by "info var/func/type".
1391         * gdb.base/completion.exp: Likewise.
1392         * gdb.base/included.exp: Likewise.
1393         * gdb.cp/cp-relocate.exp: Likewise.
1394         * gdb.cp/cplusfuncs.exp: Likewise.
1395         * gdb.cp/namespace.exp: Likewise.
1396         * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1397
1398 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1399
1400         * gdb.btrace/cpu.exp: New.
1401
1402 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1403
1404         * gdb.base/step-indirect-call-thunk.exp: New.
1405         * gdb.base/step-indirect-call-thunk.c: New.
1406         * gdb.reverse/step-indirect-call-thunk.exp: New.
1407         * gdb.reverse/step-indirect-call-thunk.c: New.
1408
1409 2018-04-11  Simon Marchi  <simon.marchi@ericsson.com>
1410
1411         * gdb.base/pie-fork.c: New file.
1412         * gdb.base/pie-fork.exp: New file.
1413
1414 2018-04-11  Tom Tromey  <tom@tromey.com>
1415
1416         * gdb.rust/simple.exp: Add test for ".." struct initializer.
1417
1418 2018-04-10  Pedro Alves  <palves@redhat.com>
1419
1420         * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1421         exits.  Instead loop running forever.
1422         (fork_parent): Run forever too.
1423
1424 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1425
1426         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
1427         mi_continue_to_line.
1428         * gdb.mi/mi-stack.c (callee4): Add comment.
1429
1430 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1431
1432         * gdb.mi/mi-stack.exp: Fix indentation.
1433
1434 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1435
1436         PR gdb/22979
1437         * gdb.arch/amd64-osabi.exp: New file.
1438
1439 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1440
1441         PR gdb/22980
1442         * gdb.base/osabi.exp: New file.
1443
1444 2018-04-02  Weimin Pan  <weimin.pan@oracle.com>
1445
1446         * gdb.cp/static-typedef-print.exp: New file.
1447         * gdb.cp/static-typedef-print.cc: New file.
1448
1449 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1450
1451         * gdb.ada/varsize_limit: New testcase.
1452
1453 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1454
1455         * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1456
1457         * gdb.ada/notcplusplus: New testcase.
1458
1459         * gdb.base/c-linkage-name.c: New file.
1460         * gdb.base/c-linkage-name.exp: New testcase.
1461
1462 2018-03-26  Tom Tromey  <tom@tromey.com>
1463
1464         * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1465         * gdb.python/py-framefilter.py (name_error): New global.
1466         (ErrorInName.function): Use name_error.
1467
1468 2018-03-26  Tom Tromey  <tom@tromey.com>
1469
1470         PR backtrace/15582:
1471         * gdb.python/py-framefilter.exp: Add "bt hide" test.
1472
1473 2018-03-23  Keith Seitz  <keiths@redhat.com>
1474
1475         PR c++/22968
1476         * gdb.cp/subtypes.exp: New file.
1477         * gdb.cp/subtypes.h: New file.
1478         * gdb.cp/subtypes.cc: New file.
1479         * gdb.cp/subtypes-2.cc: New file.
1480
1481 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1482
1483         * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1484         (done): Call '_exit' not 'exit' to avoid atexit handlers.
1485         * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1486         -nostartfiles when compiling the test.  Confirm that all registers
1487         xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1488
1489 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1490
1491         * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1492         option, syntax was wrong anyway.
1493         * gdb.arch/arm-disp-step.exp: Likewise.
1494         * gdb.arch/sparc64-regs.exp: Likewise.
1495         * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1496         option, syntax was wrong anyway, switch to use
1497         prepare_for_testing.
1498         * gdb.arch/i386-disp-step.exp: Likewise.
1499
1500 2018-03-23  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1501
1502         * gdb.ada/exec_changed.exp: Replace "target_info exists
1503         use_gdb_stub" by "use_gdb_stub".
1504         * gdb.ada/start.exp: Likewise.
1505         * gdb.base/async-shell.exp: Likewise.
1506         * gdb.base/attach-pie-misread.exp: Likewise.
1507         * gdb.base/attach-wait-input.exp: Likewise.
1508         * gdb.base/break-entry.exp: Likewise.
1509         * gdb.base/break-interp.exp: Likewise.
1510         * gdb.base/dprintf-detach.exp: Likewise.
1511         * gdb.base/nostdlib.exp: Likewise.
1512         * gdb.base/solib-nodir.exp: Likewise.
1513         * gdb.base/statistics.exp: Likewise.
1514         * gdb.base/testenv.exp: Likewise.
1515         * gdb.mi/mi-exec-run.exp: Likewise.
1516         * gdb.mi/mi-start.exp: Likewise.
1517         * gdb.multi/dummy-frame-restore.exp: Likewise.
1518         * gdb.multi/multi-arch-exec.exp: Likewise.
1519         * gdb.multi/multi-arch.exp: Likewise.
1520         * gdb.multi/tids.exp: Likewise.
1521         * gdb.multi/watchpoint-multi.exp: Likewise.
1522         * gdb.python/py-events.exp: Likewise.
1523         * gdb.threads/attach-into-signal.exp: Likewise.
1524         * gdb.threads/attach-stopped.exp: Likewise.
1525         * gdb.threads/threadapply.exp: Likewise.
1526         * lib/selftest-support.exp: Likewise.
1527
1528 2018-03-22  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1529
1530         * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1531
1532 2018-03-20  Stephen Roberts  <stephen.roberts@arm.com>
1533
1534         * gdb.perf/template-breakpoints.cc: New file.
1535         * gdb.perf/template-breakpoints.exp: New file.
1536         * gdb.perf/template-breakpoints.py: New file.
1537
1538 2018-03-19  Tom Tromey  <tom@tromey.com>
1539
1540         * gdb.rust/simple.rs (main): Add local variables field1, field2,
1541         y0.
1542         * gdb.rust/simple.exp: Test bare identifier form of struct
1543         initializer.
1544
1545 2018-03-19  Tom Tromey  <tom@tromey.com>
1546
1547         * gdb.gdb/observer.exp: Remove.
1548
1549 2018-03-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1550
1551         * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1552         "qualified" option when setting breakpoints.
1553         * gdb.trace/backtrace.exp: Likewise.
1554         * gdb.trace/circ.exp: Likewise.
1555         * gdb.trace/collection.exp: Likewise.
1556         * gdb.trace/disconnected-tracing.exp: Likewise.
1557         * gdb.trace/ftrace-lock.exp: Likewise.
1558         * gdb.trace/ftrace.exp: Likewise.
1559         * gdb.trace/infotrace.exp: Likewise.
1560         * gdb.trace/packetlen.exp: Likewise.
1561         * gdb.trace/passc-dyn.exp: Likewise.
1562         * gdb.trace/qtro.exp: Likewise.
1563         * gdb.trace/read-memory.exp: Likewise.
1564         * gdb.trace/report.exp: Likewise.
1565         * gdb.trace/signal.exp: Likewise.
1566         * gdb.trace/status-stop.exp: Likewise.
1567         * gdb.trace/strace.exp: Likewise.
1568         * gdb.trace/tfind.exp: Likewise.
1569         * gdb.trace/trace-break.exp: Likewise.
1570         * gdb.trace/trace-condition.exp: Likewise.
1571         * gdb.trace/trace-mt.exp: Likewise.
1572         * gdb.trace/tstatus.exp: Likewise.
1573         * gdb.trace/tsv.exp: Likewise.
1574         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1575         * gdb.trace/unavailable.exp: Likewise.
1576         * gdb.trace/while-dyn.exp: Likewise.
1577
1578 2018-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1579
1580         * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1581         that libinproctrace is copied to the target.
1582
1583 2018-03-14  Tom Tromey  <tom@tromey.com>
1584
1585         PR cli/14977:
1586         * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1587         a null pointer.
1588         * gdb.base/wchar.exp: Likewise.
1589
1590 2018-03-14  Tom Tromey  <tom@tromey.com>
1591
1592         PR cli/19918:
1593         * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1594         flag.
1595
1596 2018-03-08  Simon Marchi  <simon.marchi@ericsson.com>
1597
1598         PR gdb/22841
1599         * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1600         "target" to remote_exec.
1601
1602 2018-03-08  Simon Marchi  <simon.marchi@polymtl.ca>
1603
1604         PR gdb/22841
1605         * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1606         ${board}_upload): Remove.
1607
1608 2018-03-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1609
1610         * gdb.cp/watch-cp.cc: New test.
1611         * gdb.cp/watch-cp.exp: New file.
1612
1613 2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1614
1615         * gdb.base/infcall-nested-structs.exp: New file.
1616         * gdb.base/infcall-nested-structs.c: New file.
1617         * gdb.base/float.exp: Add riscv support.
1618
1619 2018-03-02  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1620
1621         * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1622         * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1623
1624 2018-02-28  Sergio Durigan Junior  <sergiodj@redhat.com>
1625
1626         * gdb.server/abspath.exp: New file.
1627         * lib/gdb.exp (with_cwd): New procedure.
1628
1629 2018-02-28  Simon Marchi  <simon.marchi@ericsson.com>
1630
1631         * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1632         use it.
1633         (gdb_is_target_remote_prompt): New proc.
1634         (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1635         (gdb_is_target_native): Pass prompt parameter to
1636         gdb_is_target_1.
1637
1638 2018-02-26  Simon Marchi  <simon.marchi@polymtl.ca>
1639
1640         * gdb.base/load-command.c: New file.
1641         * gdb.base/load-command.exp: New file.
1642         * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1643         (gdb_is_target_1): ...this, and generalize for other targets
1644         than just remote.
1645         (gdb_is_target_remote): Use gdb_is_target_1.
1646         (gdb_is_target_native): use gdb_is_target_1.
1647
1648 2018-02-26  Tom Tromey  <tom@tromey.com>
1649
1650         PR python/16497:
1651         * gdb.python/py-framefilter.exp: Update test.
1652
1653 2018-02-26  Tom Tromey  <tom@tromey.com>
1654
1655         * gdb.dwarf2/variant.c: New file.
1656         * gdb.dwarf2/variant.exp: New file.
1657
1658 2018-02-26  Tom Tromey  <tom@tromey.com>
1659
1660         * gdb.rust/simple.exp: Accept more possible results in enum test.
1661
1662 2018-02-25  Simon Marchi  <simon.marchi@polymtl.ca>
1663
1664         * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1665         parentheses.
1666
1667 2018-02-23  Maciej W. Rozycki  <macro@mips.com>
1668
1669         * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1670         name of a variable: $actual_linejj -> $actual_line.
1671
1672 2018-02-21  John Baldwin  <jhb@FreeBSD.org>
1673
1674         * gdb.arch/amd64-i386-address.exp: Fix a typo.
1675
1676 2018-02-20  Markus Metzger  <markus.t.metzger@intel.com>
1677
1678         * gdb.btrace/buffer-size.exp: Do not force BTS.
1679
1680 2018-02-14  Pedro Alves  <palves@redhat.com>
1681
1682         * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1683         getting a "Quit".
1684
1685 2018-02-09  Markus Metzger  <markus.t.metzger@intel.com>
1686
1687         * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1688         Fix test name.
1689
1690 2018-02-07  Simon Marchi  <simon.marchi@ericsson.com>
1691
1692         * gdb.cp/m-static.exp: Check type of optimized out static
1693         member.
1694
1695 2018-02-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1696
1697         * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1698         * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1699
1700 2018-02-01  Simon Marchi  <simon.marchi@polymtl.ca>
1701             Leszek Swirski  <leszeks@google.com>
1702
1703         * gdb.python/py-prettyprint.c
1704         (struct to_string_returns_value_inner,
1705         struct to_string_returns_value_wrapper): New.
1706         (main): Add tsrvw variable.
1707         * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1708         ToStringReturnsValueWrapper): New classes.
1709         (register_pretty_printers): Register new pretty-printers.
1710         * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1711         recursive pretty printer.
1712         * gdb.python/py-mi.exp: Likewise.
1713
1714 2018-02-01  Leszek Swirski  <leszeks@google.com>
1715
1716         * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1717         functions with the same name as an include file are parsed
1718         correctly.
1719
1720 2018-02-01  Yao Qi  <yao.qi@linaro.org>
1721
1722         * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1723         "\[^\r\n\]*".
1724
1725 2018-01-31  Nikola Prica  <nikola.prica@rt-rk.com>
1726
1727         * gdb.arch/powerpc-prologue-frame.s: New file.
1728         * gdb.arch/powerpc-prologue-frame.c: Likewise.
1729         * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1730
1731 2018-01-31  Joel Brobecker  <brobecker@adacore.com>
1732
1733         * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1734
1735 2018-01-30  Pedro Alves  <palves@redhat.com>
1736
1737         PR gdb/13211
1738         * gdb.base/interrupt-daemon.c: New.
1739         * gdb.base/interrupt-daemon.exp: New.
1740         * gdb.multi/multi-term-settings.c: New.
1741         * gdb.multi/multi-term-settings.exp: New.
1742
1743 2018-01-30  Joel Brobecker  <brobecker@adacore.com>
1744
1745         * gdb.base/break.exp: Save the location where the breakpoint
1746         on break.c:47 was actually inserted when debugging the version
1747         compiled at -O2 and use it in the expected output of the "info
1748         break" test performed soon after.
1749
1750 2018-01-22  Pedro Alves  <palves@redhat.com>
1751             Sergio Durigan Junior  <sergiodj@redhat.com>
1752
1753         * gdb.base/whatis.exp: Add tests for 'set print object on' +
1754         'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1755
1756 2018-01-22  Joel Brobecker  <brobecker@adacore.com>
1757
1758         * gdb.base/break-include.c, gdb.base/break-include.inc,
1759         gdb.base/break-include.exp: New files.
1760         * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1761         line number now being the actual line number where the breakpoint
1762         was inserted.
1763         * gdb.mi/mi-break.exp: Likewise.
1764         * gdb.mi/mi-reverse.exp: Likewise.
1765         * gdb.mi/mi-simplerun.exp: Ditto.
1766
1767 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1768
1769         * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1770         varobj.
1771         * gdb.mi/mi-var-create-rtti.exp: Likewise.
1772
1773 2018-01-21  Don Breazeal  <donb@codesourcery.com>
1774             Andrew Burgess  <andrew.burgess@embecosm.com>
1775
1776         * gdb.mi/basics.c: Add new global.
1777         * gdb.mi/mi-frame-regs.exp: New file.
1778         * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1779         case.
1780
1781 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1782
1783         * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1784         non-parameter, and on an unknown symbol.
1785
1786 2018-01-19  Tom Tromey  <tom@tromey.com>
1787
1788         * gdb.rust/modules.rs (TWENTY_THREE): New global.
1789         * gdb.rust/modules.exp: Add ::-qualified lookup test.
1790
1791 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1792
1793         * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1794         setrlimit and chdir to int.
1795
1796 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1797
1798         * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1799         function.
1800         (my_tend): Likewise.
1801         * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1802         rationale of avoiding FP- and vector instructions.
1803
1804 2018-01-19  Ruslan Kabatsayev  <b7.10110111@gmail.com>
1805
1806         * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1807         "info reg" with "\[ \t\]*".
1808         * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1809         "\[ \t\]+".
1810         * gdb.arch/s390-multiarch.exp: Ditto.
1811         * gdb.base/pc-fp.exp: Ditto.
1812         * gdb.reverse/i386-precsave.exp: Ditto.
1813         * gdb.reverse/i386-reverse.exp: Ditto.
1814         * gdb.reverse/i387-env-reverse.exp: Ditto.
1815         * gdb.reverse/i387-stack-reverse.exp: Ditto.
1816
1817 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1818
1819         * lib/gdb.exp (gdb_compile): Re-enable use of
1820         universal_compile_options for languages other than Rust.
1821
1822 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1823
1824         * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1825
1826 2018-01-17  Mike Gulick  <mgulick@mathworks.com>
1827
1828         PR gdb/16577
1829         * gdb.base/solib-vanish.exp: New.
1830         * gdb.base/solib-vanish-main.c: New.
1831         * gdb.base/solib-vanish-lib1.c: New.
1832         * gdb.base/solib-vanish-lib2.c: New.
1833
1834 2018-01-17  Yao Qi  <yao.qi@linaro.org>
1835
1836         * gdb.compile/compile.exp: Match the address printed for
1837         frame in the output of command "bt".
1838
1839 2018-01-15  Tom Tromey  <tom@tromey.com>
1840
1841         * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1842         compute sp_reg.
1843
1844 2018-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1845
1846         * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1847         to prepare.
1848         (prepare): Return 0 on error, 1 on success.
1849
1850 2018-01-12  Pedro Alves  <palves@redhat.com>
1851
1852         * gdb.base/continue-after-aborted-step-over.c: New.
1853         * gdb.base/continue-after-aborted-step-over.exp: New.
1854
1855 2018-01-11  Simon Marchi  <simon.marchi@ericsson.com>
1856
1857         * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1858         options when not creating an executable.
1859
1860 2018-01-11  Pedro Alves  <palves@redhat.com>
1861
1862         PR remote/22597
1863         * gdb.server/stop-reply-no-thread.c: New file.
1864         * gdb.server/stop-reply-no-thread.exp: New file.
1865
1866 2018-01-10  Pedro Alves  <palves@redhat.com>
1867
1868         PR gdb/22670
1869         * gdb.ada/bp_c_mixed_case.exp: Add intro comment.  Test printing C
1870         functions too.  Test setting breakpoints and printing C functions
1871         with no debug info too.
1872         * gdb.ada/bp_c_mixed_case/qux.c: New file.
1873
1874 2018-01-10  Pedro Alves  <palves@redhat.com>
1875
1876         PR gdb/22670
1877         * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1878         a fail.
1879
1880 2018-01-10  Pedro Alves  <palves@redhat.com>
1881
1882         PR gdb/22670
1883         * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
1884
1885 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
1886
1887         * gdb.server/unittest.exp: Match the output in non-development
1888         mode.
1889
1890 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
1891
1892         * gdb.gdb/unittest.exp: Match output in non-development mode.
1893
1894 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
1895
1896         * gdb.ada/access_tagged_param.exp: Relax expected output
1897         for value of "ObjL" in "continue" to pck.inspect breakpoint
1898         test.
1899
1900 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
1901
1902         * gdb.ada/arr_enum_idx_w_gap.exp: New file.
1903         * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
1904
1905 2018-01-05  Pedro Alves  <palves@redhat.com>
1906
1907         PR gdb/18653
1908         * gdb.base/libsegfault.exp: New.
1909
1910 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1911
1912         PR gdb/22670
1913         * gdb.ada/access_tagged_param.exp: New file.
1914         * gdb.ada/access_tagged_param/foo.adb: New file.
1915
1916 2018-01-05  Pedro Alves  <palves@redhat.com>
1917
1918         PR gdb/22670
1919         * gdb.ada/info_addr_mixed_case.exp: Remove kfail.  Extend test to
1920         exercise lower case too, and to exercise both full matching and
1921         wild matching.
1922
1923 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1924
1925         * gdb.ada/rename_subscript_param: New testcase.
1926
1927 2018-01-05  Jerome Guitton  <guitton@adacore.com>
1928
1929         * gdb.ada/arr_acc_idx_w_gap: New testcase.
1930
1931 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1932
1933         * gdb.ada/convvar_comp: New testcase.
1934
1935 2018-01-05  Xavier Roirand  <roirand@adacore.com>
1936
1937         * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
1938         (My_Table): New global variable.
1939         * testsuite/gdb.ada/array_char_idx.exp: Add test.
1940
1941 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
1942
1943         PR gdb/22670
1944         * gdb.ada/maint_with_ada: New testcase.
1945
1946 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
1947
1948         PR gdb/22670
1949         * gdb.ada/bp_c_mixed_case: New testcase.
1950
1951 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
1952
1953         PR gdb/22670
1954         * gdb.ada/complete.exp: Add "complete break ada" test.
1955
1956 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
1957
1958         PR gdb/22670
1959         * gdb.ada/info_addr_mixed_case: New testcase.
1960
1961 2018-01-03  Xavier Roirand  <roirand@adacore.com>
1962
1963         * gdb.ada/excep_handle.exp: New testcase.
1964         * gdb.ada/excep_handle/foo.adb: New file.
1965         * gdb.ada/excep_handle/pck.ads: New file.
1966
1967 2018-01-03  Joel Brobecker  <brobecker@adacore.com>
1968
1969         * gdb.base/step-line.c: Add extra empty line in copyright header.
1970         * gdb.base/step-line.inp: Likewise.
1971
1972 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
1973
1974         * gdb.ada/dyn_stride.exp: Add slice test.
1975
1976 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
1977
1978         * gdb.ada/dyn_stride: New testcase.
1979
1980 2017-12-27  Stafford Horne  <shorne@gmail.com>
1981
1982         * gdb.xml/extra-regs.xml: Add example foo reggroup.
1983         * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
1984
1985 2017-12-27  Stafford Horne  <shorne@gmail.com>
1986
1987         * gdb.base/reggroups.c: New file.
1988         * gdb.base/reggroups.exp: New file.
1989
1990 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
1991
1992         * gdb.dwarf2/ada-valprint-error.c: New file.
1993         * gdb.dwarf2/ada-valprint-error.exp: New file.
1994
1995 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
1996
1997         * gdb.ada/assign_arr: New testcase.
1998
1999 2017-12-18  Xavier Roirand  <roirand@adacore.com>
2000
2001         * gdb.ada/funcall_ptr: New testcase.
2002
2003 2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
2004
2005         PR cli/16224
2006         * gdb.base/ptype-offsets.cc: New file.
2007         * gdb.base/ptype-offsets.exp: New file.
2008
2009 2017-12-15  Yao Qi  <yao.qi@linaro.org>
2010
2011         * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
2012         if XML is disabled.
2013
2014 2017-12-15  Xavier Roirand  <roirand@adacore.com>
2015
2016         * gdb.ada/same_component_name: New testcase.
2017
2018 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
2019
2020         * gdb.ada/str_binop_equal: New testcase.
2021
2022 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
2023
2024         * gdb.ada/task_switch_in_core: New testcase.
2025
2026 2017-12-13  Simon Marchi  <simon.marchi@ericsson.com>
2027
2028         * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2029         * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2030         call test_bkpt_qualified.
2031         (test_bkpt_qualified): New proc.
2032
2033 2017-12-13  Pedro Alves  <palves@redhat.com>
2034
2035         * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2036         Tighten regexp by matching with an anchor.
2037
2038 2017-12-13  Pedro Alves  <palves@redhat.com>
2039
2040         * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2041         ("expression with namespace"): New set of tests.
2042         * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
2043         (Nested::Test_NS::qux): New.
2044         * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
2045         defaults to 'start_quote_char' and 'end_quote_char' parameters.
2046
2047 2017-12-13  Joel Brobecker  <brobecker@adacore.com>
2048
2049         * gdb.base/server-del-break.c: New file.
2050         * gdb.base/server-del-break.exp: New file.
2051
2052 2017-12-12  Stafford Horne  <shorne@gmail.com>
2053
2054         * gdb.xml/tdesc-regs.exp: Add or1k support.
2055
2056 2017-12-12  Stafford Horne  <shorne@gmail.com>
2057
2058         * gdb.base/bp-permanent.c: Define nop of or1k.
2059
2060 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2061
2062         * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
2063         output with components being reordered.
2064
2065 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2066
2067         * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
2068         output with components being reordered.
2069
2070 2017-12-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2071             Pedro Alves  <palves@redhat.com>
2072
2073         * gdb.base/maint.exp (check for .gdb_index): Check also for
2074         .debug_names.
2075         * gdb.dlang/watch-loc.c (.debug_aranges): New.
2076         * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
2077         * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
2078         (.gdb_index used after symbol reloading): Support also .debug_names.
2079         * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
2080
2081 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2082
2083         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2084         * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
2085
2086 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2087
2088         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2089         * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
2090
2091 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2092
2093         * gdb.arch/aarch64-tagged-pointer.c: New file.
2094         * gdb.arch/aarch64-tagged-pointer.exp: New file.
2095
2096 2017-12-08  Sergio Durigan Junior  <sergiodj@redhat.com>
2097
2098         * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
2099         "int".
2100
2101 2017-12-07  Keith Seitz  <keiths@redhat.com>
2102
2103         PR breakpoints/22569
2104         * gdb.linespec/ls-errs.exp: Change expected result of "break
2105         -source this file has spaces.c -line 3".
2106         Check that an explicit source file followed by whitespace is
2107         identified as an invalid explicit location.
2108
2109 2017-12-07  Keith Seitz  <keiths@redhat.com>
2110
2111         * gdb.cp/nested-types.cc: New file.
2112         * gdb.cp/nested-types.exp: New file.
2113         * lib/cp-support.exp: Load data-structures.exp library.
2114         (debug_cp_test_ptype_class): New global.
2115         (cp_ptype_class_verbose, next_line): New procedures.
2116         (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
2117         Add and document new return value.
2118         Switch the list of lines to a queue.
2119         Add support for new `type' key for nested type definitions.
2120         Add debugging/troubleshooting messages.
2121         * lib/data-structures.exp: New file.
2122
2123 2017-12-07  Simon Marchi  <simon.marchi@ericsson.com>
2124
2125         * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
2126         with proc_with_prefix, don't use with_test_prefix.
2127
2128 2017-12-07  Tom Tromey  <tom@tromey.com>
2129
2130         * gdb.base/break.exp: Add test for empty "commands".
2131
2132 2017-12-07  Yao Qi  <yao.qi@linaro.org>
2133
2134         * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
2135         malloc and catch syscall.
2136
2137 2017-12-07  Phil Muldoon  <pmuldoon@redhat.com>
2138
2139        * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
2140         tests for explicit locations.
2141
2142 2017-12-06  Pedro Alves  <palves@redhat.com>
2143
2144         * gdb.arch/i386-avx.exp: If testing with a RSP target, check
2145         force-disabling XML descriptions.
2146
2147 2017-12-04  Pedro Alves  <palves@redhat.com>
2148
2149         PR gdb/22499
2150         * gdb.arch/amd64-disp-step-avx.S: New file.
2151         * gdb.arch/amd64-disp-step-avx.exp: New file.
2152
2153 2017-12-03  Pedro Alves  <palves@redhat.com>
2154
2155         * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
2156         and <string.h>.
2157         (parent_function): Print distinct messages when waitpid fails, or
2158         the child exits with a signal, or the child exits for an unhandled
2159         reason.
2160         * gdb.threads/process-dies-while-detaching.exp
2161         (detach_and_expect_exit): New 'inf_output_re' parameter and use
2162         it.  Wait for both inferior output and GDB's prompt.  Use an
2163         indirect spawn id list.
2164         (do_detach): New parameter 'child_exit'.  Use it to compute
2165         expected inferior output.
2166         (test_detach, test_detach_watch, test_detach_killed_outside):
2167         Adjust to pass down the expected child exit kind.
2168
2169 2017-12-01  Joel Brobecker  <brobecker@adacore.com>
2170             Sergio Durigan Junior  <sergiodj@redhat.com>
2171             Pedro Alves  <palves@redhat.com>
2172
2173         * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
2174
2175 2017-12-01  Sergio Durigan Junior  <sergiodj@redhat.com>
2176
2177         * gdb.base/relocate.exp: Add tests to guarantee that arguments
2178         to 'symbol-file' and 'add-symbol-file' can be
2179         position-independent.
2180
2181 2017-12-01  Yao Qi  <yao.qi@linaro.org>
2182
2183         * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
2184         the URL in copyright header.
2185         * gdb.arch/aarch64-fp.exp: Likewise.
2186         * gdb.arch/ppc64-atomic-inst.exp: Likewise.
2187         * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
2188         * gdb.base/expand-psymtabs.exp: Likewise.
2189         * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
2190         * gdb.fortran/common-block.exp: Likewise.
2191         * gdb.fortran/common-block.f90: Likewise.
2192         * gdb.fortran/logical.exp: Likewise.
2193         * gdb.fortran/vla-datatypes.f90: Likewise.
2194         * gdb.fortran/vla-sub.f90: Likewise.
2195
2196 2017-11-30  Joel Brobecker  <brobecker@adacore.com>
2197
2198         * gdb.ada/repeat_dyn: New testcase.
2199
2200 2017-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
2201
2202         * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
2203         Update for changed thread numbering.
2204         * gdb.cell/bt.exp: Update for changed GDB output.
2205
2206 2017-11-30  Simon Marchi  <simon.marchi@ericsson.com>
2207
2208         * boards/cc-with-tweaks.exp: Include local-board.exp instead of
2209         setting isremote by hand.
2210         * boards/dwarf4-gdb-index.exp: Likewise.
2211         * boards/fission.exp: Likewise.
2212         * boards/stabs.exp: Likewise.
2213
2214 2017-11-30  Pedro Alves  <palves@redhat.com>
2215
2216         * gdb.linespec/cpls-ops.exp
2217         (check_explicit_skips_function_argument): Extract the underlying
2218         type of size_t instead of hardcoding it.
2219
2220 2017-11-29  Pedro Alves  <palves@redhat.com>
2221
2222         PR c++/19436
2223         * gdb.linespec/cpls-abi-tag.cc: New file.
2224         * gdb.linespec/cpls-abi-tag.exp: New file.
2225
2226 2017-11-29  Pedro Alves  <palves@redhat.com>
2227
2228         * gdb.base/langs.exp: Use -qualified.
2229         * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
2230         it.
2231         * gdb.cp/namespace.exp: Use -qualified.
2232         * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
2233         (overload-3, template-overload, template-ret-type, const-overload)
2234         (const-overload-quoted, anon-ns, ambiguous-prefix): New
2235         procedures.
2236         (test_driver): Call them.
2237         * gdb.cp/save-bp-qualified.cc: New.
2238         * gdb.cp/save-bp-qualified.exp: New.
2239         * gdb.linespec/explicit.exp: Test -qualified.
2240         * lib/completion-support.exp (completion::explicit_opts_list): Add
2241         "-qualified".
2242         * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
2243
2244 2017-11-29  Phil Muldoon  <pmuldoon@redhat.com>
2245
2246         * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
2247
2248 2017-11-29  Tom Tromey  <tom@tromey.com>
2249
2250         * gdb.base/relocate.exp: Update invalid argument test.
2251         Add new tests for invalid arguments.
2252
2253 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2254
2255         * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
2256         Return 0 as a long.
2257         * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
2258
2259 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2260
2261         * gdb.cp/breakpoint.cc (bar): Set return type to void.
2262         * gdb.cp/psymtab-parameter.cc (func): Likewise.
2263         * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
2264         func ().
2265         * gdb.cp/shadow.cc (B.func): Return 0.
2266
2267 2017-11-27  Joel Brobecker  <brobecker@adacore.com>
2268
2269         * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
2270         expected output in gdb_expect call to allow the exception
2271         message to be present as well.  Fix syntax confusion to avoid
2272         TCL thinking that exception_name is an array.
2273
2274 2017-11-26  Ulrich Weigand  <uweigand@de.ibm.com>
2275
2276         * gdb.arch/spu-info.c: Include <unistd.h>.
2277         (do_signal_test): Fix broken calls to write.
2278         * gdb.arch/spu-info.exp: Use prepare_for_testing.
2279         Fix checks for empty mailboxes.  Update signal tests for corrected
2280         do_signal_test routine.  Allow nonzero event status.
2281         * gdb.arch/spu-ls.exp: Use prepare_for_testing.
2282         * gdb.cell/arch.exp: Use standard_output_file.
2283         * gdb.cell/break.exp: Likewise.
2284         * gdb.cell/bt.exp: Likewise.
2285         * gdb.cell/core.exp: Likewise.
2286         * gdb.cell/dwarfaddr.exp: Likewise.
2287         * gdb.cell/ea-cache.exp: Likewise.
2288         * gdb.cell/ea-standalone.exp: Likewise.
2289         * gdb.cell/f-regs.exp: Likewise.
2290         * gdb.cell/fork.exp: Likewise.
2291         * gdb.cell/gcore.exp: Likewise.
2292         * gdb.cell/mem-access.exp: Likewise.
2293         * gdb.cell/ptype.exp: Likewise.
2294         * gdb.cell/registers.exp: Likewise.
2295         * gdb.cell/sizeof.exp: Likewise.
2296         * gdb.cell/solib-symbol.exp: Likewise.
2297         * gdb.cell/solib.exp: Likewise.
2298
2299 2017-11-25   Pedro Alves  <palves@redhat.com>
2300
2301         * gdb.base/complete-empty.exp: New file.
2302         * gdb.base/completion.exp: Adjust.
2303
2304 2017-11-25  Pedro Alves  <palves@redhat.com>
2305
2306         * gdb.linespec/cpls-ops.cc: New file.
2307         * gdb.linespec/cpls-ops.exp: New file.
2308         * lib/completion-support.exp (test_complete_prefix_range_re): New,
2309         factored out from ...
2310         (test_complete_prefix_range): ... this.
2311
2312 2017-11-24  Pedro Alves  <palves@redhat.com>
2313
2314         * gdb.linespec/cpcompletion.exp: New file.
2315         * gdb.linespec/cpls-hyphen.cc: New file.
2316         * gdb.linespec/cpls.cc: New file.
2317         * gdb.linespec/cpls2.cc: New file.
2318         * gdb.linespec/explicit.exp: Load completion-support.exp.  Adjust
2319         test to use test_gdb_complete_unique.  Add label completion,
2320         keyword completion and explicit location completion tests.
2321         * lib/completion-support.exp: New file.
2322
2323 2017-11-24  Joel Brobecker  <brobecker@adacore.com>
2324
2325         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
2326         gdb.ada/mi_ex_cond.exp: Accept optional exception message in
2327         when hitting an exception catchpoint.
2328
2329 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2330
2331         * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
2332
2333 2017-11-22  Simon Marchi  <simon.marchi@ericsson.com>
2334
2335         * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
2336         * gdb.dwarf2/info-locals-optimized-out.exp: New file.
2337         * gdb.dwarf2/info-locals-optimized-out.c: New file.
2338
2339 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2340
2341         * gdb.base/info-os.exp: Pass pthreads.
2342         * gdb.multi/multi-attach.exp: Likewise.
2343
2344 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2345
2346         * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2347         compiler.
2348
2349 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2350
2351         * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2352         * gdb.base/break-interp.exp: Likewise.
2353         * gdb.base/jit-attach-pie.exp: Likewise.
2354
2355 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2356
2357         * gdb.base/float128.c (large128): New variable.
2358         * gdb.base/float128.exp: Add test to print largest __float128 value.
2359
2360 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2361
2362         * gdb.arch/vsx-regs.exp: Update register content checks.
2363
2364 2017-11-21  Ulrich Weigand  <uweigand@de.ibm.com>
2365
2366         * gdb.arch/ppc-longdouble.exp: New file.
2367         * gdb.arch/ppc-longdouble.c: Likewise.
2368
2369 2017-11-21  Pedro Alves  <palves@redhat.com>
2370
2371         * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2372
2373 2017-11-20  Pedro Alves  <palves@redhat.com>
2374
2375         * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2376         (long_double_typedef): New typedefs.
2377         Use DEF on double and long double.
2378         * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2379         cases.
2380         (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2381         and 'long_double_ptr_same_size' locals.  Use them to decide
2382         whether cast from array/function to float is valid/invalid.
2383
2384 2017-11-17  Tom Tromey  <tom@tromey.com>
2385
2386         * gdb.rust/traits.rs: New file.
2387         * gdb.rust/traits.exp: New file.
2388
2389 2017-11-17  Joel Brobecker  <brobecker@adacore.com>
2390
2391         * gdb.ada/minsyms: New testcase.
2392
2393 2017-11-16  Pedro Alves  <palves@redhat.com>
2394
2395         * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2396         * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2397
2398 2017-11-16  Pedro Alves  <palves@redhat.com>
2399
2400         * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2401         gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2402
2403 2017-11-16  Pedro Alves  <palves@redhat.com>
2404
2405         * gdb.server/reconnect-ctrl-c.c: New file.
2406         * gdb.server/reconnect-ctrl-c.exp: New file.
2407
2408 2017-11-16  Phil Muldoon  <pmuldoon@redhat.com>
2409
2410         * gdb.python/py-rbreak.exp: New file.
2411         * gdb.python/py-rbreak.c: New file.
2412         * gdb.python/py-rbreak-func2.c: New file.
2413
2414 2017-11-16  Pedro Alves  <palves@redhat.com>
2415
2416         * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2417         pattern.
2418         * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2419         GDB.
2420
2421 2017-11-15  Simon Marchi  <simon.marchi@ericsson.com>
2422
2423         * gdb.tui/completionn.exp (test_tab_completion): Add space in
2424         regex.
2425
2426 2017-11-13  Simon Marchi  <simon.marchi@polymtl.ca>
2427
2428         * gdb.opt/inline-locals.exp: Remove trailing parentheses from
2429         test names.
2430
2431 2017-11-09  Pedro Alves  <palves@redhat.com>
2432
2433         * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
2434         factored out from ...
2435         (top level): ... here, and adjusted to avoid expecting beyond the
2436         prompt in a single gdb_test_multiple.
2437
2438 2017-11-09  Pedro Alves  <palves@redhat.com>
2439
2440         * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2441         output.
2442         * gdb.server/ext-attach.exp ("kill" test): Likewise.
2443         * gdb.server/ext-restart.exp ("kill" test): Likewise.
2444         * gdb.server/ext-run.exp ("kill" test): Likewise.
2445         * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2446
2447 2017-11-09  Pedro Alves  <palves@redhat.com>
2448
2449         * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2450         match till end of line.
2451
2452 2017-11-09  Pedro Alves  <palves@redhat.com>
2453
2454         * gdb.base/memattr.exp: Tighten regexes to match the end line.
2455
2456 2017-11-09  Pedro Alves  <palves@redhat.com>
2457
2458         * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2459         New procedures, factored out from ...
2460         (top level): ... here, and adjusted to avoid expecting beyond the
2461         prompt in one go.
2462
2463 2017-11-09  Pedro Alves  <palves@redhat.com>
2464
2465         * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2466         output.  Fix '?' match.
2467
2468 2017-11-08  Joel Brobecker  <brobecker@adacore.com>
2469
2470         * gdb.ada/scoped_watch: New testcase.
2471         * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2472         which is actually correct.
2473         * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2474         * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2475
2476 2017-11-08  Pedro Alves  <palves@redhat.com>
2477
2478         * gdb.gdb/complaints.exp (test_initial_complaints)
2479         (test_serial_complaints, test_short_complaints): Call
2480         complaint_internal instead of complaint.
2481
2482 2017-11-08  Djordje Todorovic  <djordje.todorovic@rt-rk.com>
2483
2484         * gdb.threads/tls-core.c: New file.
2485         * gdb.threads/tls-core.exp: Likewise.
2486
2487 2017-11-08   Pedro Alves  <palves@redhat.com>
2488
2489         * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2490         (p Exported_Capitalized): New test.
2491         (p exported_capitalized): New test.
2492
2493 2017-11-07  Pedro Alves  <palves@redhat.com>
2494
2495         * gdb.cp/ena-dis-br-range.exp: Add more tests.
2496
2497 2017-11-07  Pedro Alves  <palves@redhat.com>
2498
2499         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2500         * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2501         (disable_invalid, disable_inverted, disable_negative): New
2502         procedures.
2503         ("bad numbers"): New set of tests.
2504
2505 2017-11-07  Pedro Alves  <palves@redhat.com>
2506
2507         * gdb.cp/ena-dis-br-range.exp: Add tests.
2508
2509 2017-11-07  Pedro Alves  <palves@redhat.com>
2510
2511         * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2512
2513 2017-11-07  Xavier Roirand  <roirand@adacore.com>
2514             Pedro Alves  <palves@redhat.com>
2515
2516         * gdb.base/ena-dis-br.exp: Add reference to
2517         gdb.cp/ena-dis-br-range.exp.
2518         * gdb.cp/ena-dis-br-range.exp: New file.
2519         * gdb.cp/ena-dis-br-range.cc: New file.
2520
2521 2017-11-06  Pedro Alves  <palves@redhat.com>
2522
2523         * gdb.base/attach-non-pgrp-leader.c: New.
2524         * gdb.base/attach-non-pgrp-leader.exp: New.
2525
2526 2017-11-06  Pedro Alves  <palves@redhat.com>
2527
2528         * configure.ac: No longer check for termio.h and sgtty.h.
2529         * configure: Regenerate.
2530         * remote-utils.c: Include termios.h instead of gdb_termios.h.
2531         (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2532         Remove termio and sgtty code.
2533
2534 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2535
2536         * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2537         in GDB is disabled.
2538
2539 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2540
2541         * gdb.python/py-thrhandle.exp: Skip it if python is not
2542         enabled.
2543
2544 2017-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
2545
2546         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2547         as a breakpoint command.
2548
2549 2017-10-28  Maksim Dzabraev  <dzabraew@gmail.com>
2550
2551         PR python/21213
2552         * gdb.python/py-infthread.exp: Test calling
2553         InferiorThread.inferior () multiple times in a row.
2554
2555 2017-10-27  Keith Seitz  <keiths@redhat.com>
2556
2557         * gdb.opt/inline-break.exp (break_info_1): New procedure.
2558         Test "info break" for every inlined function breakpoint.
2559
2560 2017-10-27  Yao Qi  <yao.qi@linaro.org>
2561
2562         * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2563
2564 2017-10-26  Patrick Frants  <osscontribute@gmail.com>
2565
2566         * gdb.cp/classes.exp (test_static_members): Test printing
2567         Outer::instance.
2568         * gdb.cp/classes.c (struct Inner, struct Outer): New.
2569         (Inner::instance, Outer::instance): New.
2570
2571 2017-10-24  Pedro Alves  <palves@redhat.com>
2572
2573         * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2574         extra console" test in two stages.
2575
2576 2017-10-24  Pedro Alves  <palves@redhat.com>
2577
2578         * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2579
2580 2017-10-24  Pedro Alves  <palves@redhat.com>
2581
2582         * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2583         loop.
2584
2585 2017-10-24  Pedro Alves  <palves@redhat.com>
2586
2587         * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2588         $attempt" and "stoppedtry $stoppedtry" test prefixes.
2589
2590 2017-10-24  Pedro Alves  <palves@redhat.com>
2591
2592         * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2593         parameter and handle it.  Don't output read value in test name.
2594
2595 2017-10-24  Pedro Alves  <palves@redhat.com>
2596
2597         * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2598         custom test name.
2599
2600 2017-10-24  Pedro Alves  <palves@redhat.com>
2601
2602         * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2603         include the unstable output directory name in the test's name.
2604         (initial_setup_simple) <'set args'>: Use custom test name.
2605
2606 2017-10-24  Pedro Alves  <palves@redhat.com>
2607
2608         * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2609         with explicit test name.
2610
2611 2017-10-20  Pedro Alves  <palves@redhat.com>
2612
2613         * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2614         'wait -i'.  Use gdb_assert and remote_close.
2615
2616 2017-10-19  Andrew Burgess  <andrew.burgess@embecosm.com>
2617
2618         * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2619         number from variable rather than hard-coded.
2620
2621 2017-10-19  Pedro Alves  <palves@redhat.com>
2622
2623         * gdb.base/long-inferior-output.c: New file.
2624         * gdb.base/long-inferior-output.exp: New file.
2625
2626 2017-11-18  Keith Seitz  <keiths@redhat.com>
2627
2628         * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2629         method.
2630         (main): Call it.
2631         * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2632         Add additional user-defined conversion operator tests.
2633
2634 2017-10-17  Pedro Alves  <palves@redhat.com>
2635
2636         * boards/native-stdio-gdbserver.exp: Load "local-board".
2637
2638 2017-10-17  Pedro Alves  <palves@redhat.com>
2639
2640         * gdb.base/quit-live.c: New file.
2641         * gdb.base/quit-live.exp: New file.
2642
2643 2017-10-16  Keith Seitz  <keiths@redhat.com>
2644
2645         * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2646         (class_with_protected_typedef, class_with_private_typedef)
2647         (struct_with_public_typedef, struct_with_protected_typedef)
2648         (struct_with_private_typedef): New classes/structs.
2649         * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2650         typedefs and access specifiers.
2651
2652 2017-10-16  Pedro Alves  <palves@redhat.com>
2653             Simon Marchi  <simon.marchi@polymtl.ca>
2654
2655         * README (Local vs Remote vs Native): New section.
2656         * boards/local-board.exp: New file, with bits factored out from
2657         ...
2658         * boards/native-extended-gdbserver.exp: ... here.  Load
2659         "local-board".
2660         * boards/native-gdbserver.exp: Load "local-board".
2661         (${board}_spawn, ${board}_exec): Delete.
2662         * boards/native-stdio-gdbserver.exp: Most contents factored out to
2663         ...
2664         * boards/stdio-gdbserver-base.exp: ... this new file.
2665         * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2666         "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2667         procedure.
2668         * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2669         instead of native-stdio-gdbserver.  Don't set gdb_server_prog nor
2670         stdio_gdbserver_command.
2671         (${board}_get_remote_address, ${board}_get_comm_port)
2672         (${board}_download, ${board}_upload): Delete.
2673         (get_target_remote_pipe_cmd): New.
2674
2675 2017-10-16  Simon Marchi  <simon.marchi@ericsson.com>
2676
2677         * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2678         test_bkpt_deletion, test_bkpt_cond_and_cmds,
2679         test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2680         test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2681         test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2682         remove with_test_prefix.
2683
2684 2017-10-13  Pedro Alves  <palves@redhat.com>
2685
2686         * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2687         * gdb.base/annota1.exp: Use it instead of is_remote.
2688         * gdb.base/annota3.exp: Use it instead of is_remote.
2689         * gdb.cp/annota2.exp: Use it instead of is_remote.
2690         * gdb.cp/annota3.exp: Use it instead of is_remote.
2691         * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2692
2693 2017-10-13  Pedro Alves  <palves@redhat.com>
2694
2695         * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2696         (test_num_test_vars, run_and_count_vars, find_env)
2697         (test_set_unset_env, test_inherit_env_var): New procedures.
2698         (top level): Use them.
2699
2700 2017-10-13  Pedro Alves  <palves@redhat.com>
2701
2702         * lib/selftest-support.exp (selftest_setup): Extend comments, and
2703         also skip on stub-like targets.
2704
2705 2017-10-13  Pedro Alves  <palves@redhat.com>
2706
2707         PR gdb/22293
2708         * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2709         (top level): Move some tests to ...
2710         (test_not_found): ... this new procedure.
2711         (top level): Call it.
2712
2713 2017-10-13  Pedro Alves  <palves@redhat.com>
2714
2715         * gdb.base/term.exp: Don't skip if is_remote target.  Instead,
2716         expect different "info terminal" output if testing with a
2717         non-native target.
2718
2719 2017-10-13  Pedro Alves  <palves@redhat.com>
2720             Simon Marchi  <simon.marchi@polymtl.ca>
2721
2722         PR python/12966
2723         * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2724
2725 2017-10-13  Pedro Alves  <palves@redhat.com>
2726
2727         * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2728         already.
2729
2730 2017-10-13  Pedro Alves  <palves@redhat.com>
2731
2732         * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2733         is_remote.
2734
2735 2017-10-13  Pedro Alves  <palves@redhat.com>
2736
2737         * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2738         is_remote.
2739
2740 2017-10-13  Pedro Alves  <palves@redhat.com>
2741
2742         * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2743         is set.
2744         (corefile_test_attach): Likewise.  Check can_spawn_for_attach
2745         instead of is_remote.
2746
2747 2017-10-13  Pedro Alves  <palves@redhat.com>
2748
2749         * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2750         (top level): Add comment.
2751
2752 2017-10-13  Pedro Alves  <palves@redhat.com>
2753
2754         * gdb.base/remote.exp (top level): Fix comment typo and add
2755         missing return.
2756
2757 2017-10-13  Pedro Alves  <palves@redhat.com>
2758             Simon Marchi  <simon.marchi@polymtl.ca>
2759
2760         * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2761         calls and add comments.  Skip test if use_gdb_stub is set.
2762         (top level): Use "set cwd" command instead of "cd" command.
2763
2764 2017-10-13  Pedro Alves  <palves@redhat.com>
2765
2766         * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2767         is_remote target check.
2768
2769 2017-10-13  Pedro Alves  <palves@redhat.com>
2770
2771         * gdb.base/scope.exp: Use build_executable + clean_restart +
2772         gdb_file_cmd instead of prepare_for_testing and no longer skip
2773         "before run" tests on is_remote target boards.  Update comments.
2774         * boards/native-extended-gdbserver.exp
2775         (extended_gdbserver_load_last_file): New, factored out from ...
2776         (gdb_load): ... this.  Move further below and add comment.
2777         (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2778
2779 2017-10-12  Pedro Alves  <palves@redhat.com>
2780
2781         * gdb.base/attach.exp: Remove references to gdb64.
2782         * gdb.base/dbx.exp: Remove references to gdb64.
2783
2784 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
2785             Pedro Alves  <palves@redhat.com>
2786
2787         * gdb.base/label.exp: Remove is_remote target check.
2788
2789 2017-10-12  Pedro Alves  <palves@redhat.com>
2790
2791         * gdb.base/auvx.exp (coredir): Update comment.
2792         (top level) <core_works>: Use "set cwd" command instead of "cd"
2793         command.
2794
2795 2017-10-12  Pedro Alves  <palves@redhat.com>
2796             Simon Marchi  <simon.marchi@polymtl.ca>
2797
2798         * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2799         target boards.
2800
2801 2017-10-12  Pedro Alves  <palves@redhat.com>
2802             Simon Marchi  <simon.marchi@polymtl.ca>
2803
2804         * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2805         Instead skip if there's any gdb_protocol set.
2806
2807 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
2808             Pedro Alves  <palves@redhat.com>
2809
2810         * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2811
2812 2017-10-12  Pedro Alves  <palves@redhat.com>
2813             Simon Marchi  <simon.marchi@polymtl.ca>
2814
2815         * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2816         instead of on dejagnu remote boards.
2817
2818 2017-10-12  Pedro Alves  <palves@redhat.com>
2819             Simon Marchi  <simon.marchi@polymtl.ca>
2820
2821         * gdb.base/inferior-died.exp: Remove is_remote and isnative
2822         checks.  Use build_executable + clean_restart instead of
2823         prepare_for_testing.  Pass "set non-stop on" via GDBFLAGS instead
2824         of enabling non-stop after starting gdb.
2825
2826 2017-10-12  Pedro Alves  <palves@redhat.com>
2827
2828         * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2829         * gdb.threads/non-ldr-exc-2.exp: Ditto.
2830         * gdb.threads/non-ldr-exc-3.exp: Ditto.
2831         * gdb.threads/non-ldr-exc-4.exp: Ditto.
2832
2833 2017-10-11  Anton Kolesov  <Anton.Kolesov@synopsys.com>
2834
2835         * gdb.arch/arc-tdesc-cpu.exp: New file.
2836         * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2837
2838 2017-10-10  Simon Marchi  <simon.marchi@ericsson.com>
2839
2840         * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2841
2842 2017-10-10  Pedro Alves <palves@redhat.com>
2843
2844         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2845         expect CLI output.
2846
2847 2017-10-10  Pedro Alves  <palves@redhat.com>
2848
2849         * lib/selftest-support.exp (selftest_setup): Update for
2850         captured_command_loop's prototype change.
2851
2852 2017-10-09  Pedro Alves  <palves@redhat.com>
2853
2854         Test both arch1=>arch2 and arch2=>arch1.
2855
2856         * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2857         (srcfile2, binfile2, march1, march2): Remove globals.  Largely
2858         factored out to...
2859         (append_arch1_options, append_arch2_options, append_arch_options)
2860         (build_executables): New procedures.
2861         (do_test): New 'first_arch' parameter.  Use it to define 'from_exec'
2862         local.
2863         (top level): Add new 'first_arch' testing axis.
2864
2865 2017-10-09  Pedro Alves  <palves@redhat.com>
2866
2867         * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2868         (barrier): New.
2869         (thread_start, all_started): New functions.
2870         (main): Spawn new thread and wait until it is scheduled.
2871         * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2872         option.
2873         (do_test): Add 'selected_thread' parameter.  Run to all_started
2874         instead of main.  Explicitly set the breakpoint at main.  Switch
2875         to the SELECTED_THREAD thread.
2876         (top level): Test handling the exec event with either the main
2877         thread or the second thread selected.
2878
2879 2017-10-09  Pedro Alves  <palves@redhat.com>
2880
2881         * gdb.base/print-file-var-main.c: Fix get_version_2 value check
2882         logic.  Move STOP marker after the value checks.
2883         * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
2884         regexp.
2885
2886 2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>
2887
2888         * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
2889
2890 2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
2891
2892         * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
2893         integer-to-dfp conversion.
2894         * gdb.base/dfp-test.exp: Likewise.
2895
2896 2017-10-04  Pedro Alves  <palves@redhat.com>
2897
2898         * gdb.multi/hangout.c: Include <unistd.h>.
2899         (hangout_loop): New function.
2900         (main): Call alarm.  Call hangout_loop in a loop.
2901         * gdb.multi/hello.c: Include <unistd.h>.
2902         (hello_loop): New function.
2903         (main): Call alarm.  Call hangout_loop in a loop.
2904         * gdb.multi/multi-arch.exp: Test running to a breakpoint one
2905         inferior with the other selected.
2906
2907 2017-10-04  Simon Marchi  <simon.marchi@ericsson.com>
2908
2909         * gdb.mi/list-thread-groups-available.exp: New file.
2910         * gdb.mi/list-thread-groups-available.c: New file.
2911
2912 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
2913
2914         * gdb.base/set-cwd.exp: Make it available on
2915         native-extended-gdbserver.
2916
2917 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
2918
2919         * gdb.base/set-cwd.c: New file.
2920         * gdb.base/set-cwd.exp: Likewise.
2921
2922 2017-10-02  Tom Tromey  <tom@tromey.com>
2923
2924         PR rust/22236:
2925         * gdb.rust/simple.rs (main): New variable "fslice".
2926         * gdb.rust/simple.exp: Add slice tests.  Update string tests.
2927
2928 2017-10-02  Tom Tromey  <tom@tromey.com>
2929
2930         * gdb.rust/simple.exp: Test ptype of a slice.
2931
2932 2017-10-02  Tom Tromey  <tom@tromey.com>
2933
2934         * gdb.rust/simple.exp: Test index of slice.
2935
2936 2017-09-27  Tom Tromey  <tom@tromey.com>
2937
2938         * gdb.base/macscp.exp: Add __VA_OPT__ tests.
2939
2940 2017-09-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2941             Pedro Alves  <palves@redhat.com>
2942
2943         * gdb.base/compare-sections.exp (get value of read-only section): Read
2944         as unsigned value.
2945         (corrupt read-only section): Likewise and don't set written if patching
2946         failed.
2947
2948 2017-09-21  Kevin Buettner  <kevinb@redhat.com>
2949
2950         * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
2951         files.
2952
2953 2017-09-20  Pedro Alves  <palves@redhat.com>
2954
2955         * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
2956         symbol names in gdb's output.
2957         * gdb.cp/overload.exp ("list all overloads"): Likewise.
2958
2959 2017-09-20  Pedro Alves  <palves@redhat.com>
2960
2961         * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
2962         Rename to ...
2963         (test_list_ambiguous_symbol): ... this and add a symbol name
2964         parameter.  Adjust.
2965         (test_list_ambiguous_function): Reimplement on top of
2966         test_list_ambiguous_symbol and also test listing ambiguous
2967         variables.
2968         * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
2969         (ambiguous_fun): ... this.
2970         (ambiguous_var): New.
2971         * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
2972         (ambiguous_fun): ... this.
2973         (ambiguous_var): New.
2974
2975 2017-09-19  John Baldwin  <jhb@FreeBSD.org>
2976
2977         * gdb.base/starti.c: New file.
2978         * gdb.base/starti.exp: New file.
2979         * lib/gdb.exp (gdb_starti_cmd): New procedure.
2980
2981 2017-09-14  Pedro Alves  <palves@redhat.com>
2982
2983         * gdb.base/nodebug.exp (nodebug_runto): New procedure.
2984         (top level): Use it instead of runto.
2985
2986 2017-09-11  Tom Tromey  <tom@tromey.com>
2987
2988         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
2989
2990 2017-09-11  Tom Tromey  <tom@tromey.com>
2991
2992         * gdb.python/py-infthread.exp: Add tests for new_thread event.
2993         * gdb.python/py-inferior.exp: Add tests for new inferior events.
2994
2995 2017-09-08  Christoph Weinmann  <christoph.t.weinmann@intel.com>
2996
2997         * gdb.fortran/printing-types.exp: New file.
2998         * gdb.fortran/printing-types.exp: New file.
2999
3000 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
3001
3002         * gdb.fortran/vla-ptype.exp: Fix typos.
3003         * gdb.fortran/vla-value.exp: Same.
3004
3005 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
3006
3007         * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
3008         * gdb.mi/mi-var-child-f.exp: Likewise.
3009         * gdb.mi/mi-vla-fortran.exp: Likewise.
3010
3011 2017-09-08  Frank Penczek  <frank.penczek@intel.com>
3012             Christoph Weinmann  <christoph.t.weinmann@intel.com>
3013             Bernhard Heckel  <bernhard.heckel@intel.com>
3014
3015         * gdb.fortran/ptr-indentation.f90: New file.
3016         * gdb.fortran/ptr-indentation.exp: New file.
3017
3018 2017-09-05  Tom Tromey  <tom@tromey.com>
3019
3020         PR gdb/22010:
3021         * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
3022
3023 2017-09-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3024
3025         * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3026
3027 2017-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3028
3029         * gdb.threads/tls-nodebug-pie.c: New file.
3030         * gdb.threads/tls-nodebug-pie.exp: New file.
3031
3032 2017-09-05  Tom Tromey  <tom@tromey.com>
3033
3034         * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3035         for rust.
3036
3037 2017-09-05  Simon Marchi  <simon.marchi@ericsson.com>
3038
3039         * gdb.multi/multi-arch-exec.exp: Test with different
3040         "follow-exec-mode" settings.
3041         (do_test): New procedure.
3042
3043 2017-09-04  Pedro Alves  <palves@redhat.com>
3044
3045         * gdb.base/func-static.c (S::method const, S::method volatile)
3046         (S::method volatile const): New methods.
3047         (c_s, v_s, cv_s): New instances.
3048         (main): Call method() on them.
3049         * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
3050         (cannot_resolve): New procedure.
3051         (cxx_scopes_list): Test cv methods.  Add print-scope-quote and
3052         print-quote-unquoted columns.
3053         (do_test): Test printing each scope too.
3054
3055 2017-09-04  Pedro Alves  <palves@redhat.com>
3056
3057         * gdb.base/local-static.exp: Also test with
3058         class::method::variable wholly quoted.
3059         * gdb.cp/m-static.exp (class::method::variable): Remove test.
3060
3061 2017-09-04  Pedro Alves  <palves@redhat.com>
3062
3063         * gdb.base/local-static.c: New.
3064         * gdb.base/local-static.cc: New.
3065         * gdb.base/local-static.exp:  New.
3066
3067 2017-09-04  Pedro Alves  <palves@redhat.com>
3068
3069         * gdb.asm/asm-source.exp: Add casts to int.
3070         * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
3071         (dataglobal64_1, dataglobal64_2): New globals.
3072         * gdb.base/nodebug.exp: Test different expressions involving the
3073         new globals, with print, whatis and ptype.  Add casts to int.
3074         * gdb.base/solib-display.exp: Add casts to int.
3075         * gdb.compile/compile-ifunc.exp: Expect warning.  Add cast to int.
3076         * gdb.cp/m-static.exp: Add cast to int.
3077         * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
3078         * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
3079         tls variable with no debug info without a cast.  Test with a cast
3080         to int too.
3081         * gdb.trace/entry-values.exp: Add casts.
3082
3083 2017-09-04  Pedro Alves  <palves@redhat.com>
3084
3085         * gdb.base/nodebug.exp: Test that ptype's error about functions
3086         with unknown return type includes the function name too.
3087
3088 2017-09-04  Pedro Alves  <palves@redhat.com>
3089
3090         * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
3091         return type of munmap in infcall.
3092         * gdb.base/break-probes.exp: Cast return type of foo in infcall.
3093         * gdb.base/checkpoint.exp: Simplify using for loop.  Cast return
3094         type of ftell in infcall.
3095         * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
3096         type of getpid in infcall.
3097         * gdb.base/infcall-exec.exp: Cast return type of execlp in
3098         infcall.
3099         * gdb.base/info-os.exp: Cast return type of getpid in infcall.
3100         Bail on failure to extract the pid.
3101         * gdb.base/nodebug.c: #include <stdint.h>.
3102         (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
3103         New functions.
3104         * gdb.base/nodebug.exp (test_call_promotion): New procedure.
3105         Change expected output of print/whatis/ptype with functions with
3106         no debug info.  Test all supported languages.  Call
3107         test_call_promotion.
3108         * gdb.compile/compile.exp: Adjust expected output to expect
3109         warning.
3110         * gdb.threads/siginfo-threads.exp: Likewise.
3111
3112 2017-09-04  Pedro Alves  <palves@redhat.com>
3113
3114         * gdb.base/callfuncs.exp (do_function_calls): New parameter
3115         "prototypes".  Test calling float functions via prototyped and
3116         unprototyped function pointers.
3117         (perform_all_tests): New parameter "prototypes".  Pass it down.
3118         (top level): Pass down "prototypes" parameter to
3119         perform_all_tests.
3120
3121 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3122
3123         * gdb.base/commands.exp (loop_break_test, loop_continue_test):
3124         Test with nested loops.
3125
3126 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3127
3128         * gdb.base/commands.exp: Call the new procedures.
3129         (loop_break_test, loop_continue_test): New procedures.
3130
3131 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3132
3133         * gdb.base/commands.exp: Call new procedure.
3134         (define_if_without_arg_test): New procedure.
3135
3136 2017-09-04  Pedro Alves  <palves@redhat.com>
3137
3138         * gdb.base/list-ambiguous.exp: New file.
3139         * gdb.base/list-ambiguous0.c: New file.
3140         * gdb.base/list-ambiguous1.c: New file.
3141         * gdb.base/list.exp (test_list_range): Adjust expected output.
3142
3143 2017-08-31  Sergio Durigan Junior  <sergiodj@redhat.com>
3144
3145         * gdb.base/share-env-with-gdbserver.c: New file.
3146         * gdb.base/share-env-with-gdbserver.exp: Likewise.
3147
3148 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3149
3150         * gdb.base/commands.exp (gdbvar_simple_if_test,
3151         gdbvar_simple_if_test, gdbvar_complex_if_while_test,
3152         progvar_simple_if_test, progvar_simple_while_test,
3153         progvar_complex_if_while_test, user_defined_command_test,
3154         user_defined_command_args_eval,
3155         user_defined_command_args_stack_test,
3156         user_defined_command_manyargs_test, bp_deleted_in_command_test,
3157         temporary_breakpoint_commands,
3158         gdb_test_no_prompt, redefine_hook_test,
3159         redefine_backtrace_test): Remove "global gdb_prompt".
3160
3161 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3162
3163         * gdb.base/commands.exp (user_defined_command_case_sensitivity):
3164         New proc, call it from toplevel.
3165
3166 2017-08-23  Sergio Durigan Junior  <sergiodj@redhat.com>
3167
3168         PR remote/21852
3169         * gdb.server/normal.c: New file, copied from gdb.base.
3170         * gdb.server/run-without-local-binary.exp: New file.
3171
3172 2017-08-07  Weimin Pan  <weimin.pan@oracle.com>
3173
3174         * gdb.arch/sparc64-adi.exp: New file.
3175         * gdb.arch/sparc64-adi.c: New file.
3176
3177 2017-08-22  Pedro Alves  <palves@redhat.com>
3178
3179         * gdb.cp/overload.exp (line_range_pattern): New procedure.
3180         (top level): Add "list all overloads" tests.
3181
3182 2017-08-22  Tom Tromey  <tom@tromey.com>
3183
3184         * gdb.gdb/xfullpath.exp: Remove.
3185
3186 2017-08-21  Pedro Alves  <palves@redhat.com>
3187
3188         PR gdb/19487
3189         * gdb.base/symbol-alias.c: New.
3190         * gdb.base/symbol-alias2.c: New.
3191         * gdb.base/symbol-alias.exp: New.
3192
3193 2017-08-21  Pedro Alves  <palves@redhat.com>
3194
3195         * gdb.base/dfp-test.c
3196         (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
3197         (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
3198         * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
3199         * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
3200         * gdb.base/whatis-ptype-typedefs.c: New.
3201         * gdb.base/whatis-ptype-typedefs.exp: New.
3202         * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
3203         (an_int, an_int_type, an_int_type2): New globals.
3204         * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
3205         involving typedefs and cast expressions.
3206         * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
3207         (lookup_typedefs_function): New.
3208         (typedefs_pretty_printers_dict): New.
3209         (top level): Register lookup_typedefs_function in
3210         gdb.pretty_printers.
3211
3212 2017-08-18  Yao Qi  <yao.qi@linaro.org>
3213
3214         * gdb.server/unittest.exp: New.
3215
3216 2017-08-15  Sergio Durigan Junior  <sergiodj@redhat.com>
3217
3218         PR gdb/21954
3219         * gdb.base/environ.exp: Add test to check if 'unset environment'
3220         works.
3221
3222 2017-08-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3223
3224         * lib/gdb.exp (universal_compile_options): New caching proc.
3225         (gdb_compile): Suppress GCC's coloring of messages.
3226
3227 2017-08-14  Tom Tromey  <tom@tromey.com>
3228
3229         PR gdb/21675:
3230         * gdb.base/printcmds.exp (test_radices): New function.
3231         * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
3232         * gdb.base/sizeof.exp (check_valueof): Use p/d.
3233         * lib/gdb.exp (get_integer_valueof): Use p/d.
3234
3235 2017-08-12  Simon Marchi  <simon.marchi@ericsson.com>
3236
3237         * lib/gdb.exp (get_valueof): Don't capture end-of-line
3238         characters.
3239
3240 2017-08-05  Tom Tromey  <tom@tromey.com>
3241
3242         * gdb.rust/simple.exp: Allow String to appear in a different
3243         namespace.
3244
3245 2017-07-26  Yao Qi  <yao.qi@linaro.org>
3246
3247         * gdb.gdb/unittest.exp: Invoke command
3248         "maintenance check xml-descriptions".
3249
3250 2017-07-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3251
3252         * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
3253         calling context.
3254         (hex128): Drop erroneous calculation of parameters.
3255
3256 2017-07-22  Simon Marchi  <simon.marchi@ericsson.com>
3257
3258         * gdb.python/py-unwind.exp: Disable stack protection when
3259         building test file.
3260
3261 2017-07-20  Pedro Alves  <palves@redhat.com>
3262
3263         * gdb.base/default.exp (set language): Adjust expected output.
3264
3265 2017-07-20  Pedro Alves  <palves@redhat.com>
3266
3267         * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
3268         (test_minsym): ... this, and make static.
3269         (get_pck__foo__bar__minsym): Rename to ...
3270         (get_test_minsym): ... this.
3271         * gdb.base/dmsym.exp (): Remove "set language ada" call.  Adjust
3272         symbol names and comments.
3273         * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
3274         (get_test_minsym): ... this.
3275         (pck__foo__bar__minsym__2): Rename to ...
3276         (test_minsym): ... this.
3277         (main): Adjust.
3278
3279 2017-07-17  Pedro Alves  <palves@redhat.com>
3280
3281         * gdb.base/completion.exp: Adjust expected output.
3282         * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
3283         the completer works.
3284
3285 2017-07-17  Pedro Alves  <palves@redhat.com>
3286
3287         * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
3288
3289 2017-07-15  Andrew Burgess  <andrew.burgess@embecosm.com>
3290
3291         * gdb.mi/mi-vla-fortran.exp: Make test names unique.
3292
3293 2017-07-14  Tom Tromey  <tom@tromey.com>
3294
3295         PR rust/21764:
3296         * gdb.rust/simple.exp: Add tests.
3297
3298 2017-07-14  Tom Tromey  <tom@tromey.com>
3299
3300         * gdb.rust/simple.exp: Add regression test for PR rust/21763.
3301
3302 2017-07-14  Pedro Alves  <palves@redhat.com>
3303
3304         * gdb.linespec/base/one/thefile.cc (z1): New function.
3305         * gdb.linespec/base/two/thefile.cc (z2): New function.
3306         * gdb.linespec/linespec.exp: Add tests.
3307
3308 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3309
3310         * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
3311         to mi_create_breakpoint.
3312
3313 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3314
3315         * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
3316         mi_create_breakpoint.
3317
3318 2017-07-11  Iain Buclaw  <ibuclaw@gdcproject.org>
3319
3320         * gdb.dlang/demangle.exp: Update for demangling changes.
3321
3322 2017-07-09  Tom Tromey  <tom@tromey.com>
3323
3324         * gdb.dwarf2/shortpiece.exp: New file.
3325
3326 2017-07-06  David Blaikie  <dblaikie@gmail.com>
3327
3328         * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
3329         built from fissiont-multi-cu{1,2}.c.
3330         * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
3331         except putting 'main' and 'func' in separate CUs in the same DWO file.
3332         * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
3333         test.
3334         * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
3335         test.
3336
3337 2017-07-06  Pedro Alves  <palves@redhat.com>
3338
3339         * gdb.python/py-unwind.exp: Test flushregs.
3340
3341 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3342
3343         PR cli/21688
3344         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3345         tests for alias commands and trailing whitespace.
3346
3347 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3348
3349         PR cli/21688
3350         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3351         procedure.  Call it.
3352
3353 2017-06-29  Pedro Alves  <palves@redhat.com>
3354
3355         * gdb.base/printcmds.exp: Add tests.
3356
3357 2017-06-28  Doug Gilmore  <Doug.Gilmore@imgtec.com>
3358
3359         PR gdb/21337
3360         * gdb.base/reread-readsym.exp: New file.
3361         * gdb.base/reread-readsym.c: New file.
3362
3363 2017-06-21  Kevin Buettner  <kevinb@redhat.com>
3364
3365         * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3366         subpattern.
3367
3368 2017-06-19  Peter Bergner  <bergner@vnet.ibm.com>
3369
3370         * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3371         extended mnemonic.
3372         * gdb.arch/powerpc-power9.s: Likewise.
3373
3374 2017-06-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3375
3376         * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3377         on 32-bit x86 targets.  Exploit is_*_target macros where
3378         appropriate.
3379
3380 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3381
3382         * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3383         register pieces.
3384
3385 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3386
3387         * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3388         located in one or more DWARF pieces.
3389
3390 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3391
3392         * lib/gdb.exp (get_endianness): New proc.
3393         * gdb.arch/aarch64-fp.exp: Use it.
3394         * gdb.arch/altivec-regs.exp: Likewise.
3395         * gdb.arch/e500-regs.exp: Likewise.
3396         * gdb.arch/vsx-regs.exp: Likewise.
3397         * gdb.base/dump.exp: Likewise.
3398         * gdb.base/funcargs.exp: Likewise.
3399         * gdb.base/gnu_vector.exp: Likewise.
3400         * gdb.dwarf2/formdata16.exp: Likewise.
3401         * gdb.dwarf2/implptrpiece.exp: Likewise.
3402         * gdb.dwarf2/nonvar-access.exp: Likewise.
3403         * gdb.python/py-inferior.exp: Likewise.
3404         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3405
3406 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3407
3408         PR gdb/21226
3409         * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3410         stack value pieces are taken from the LSB end.
3411
3412 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3413
3414         * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3415         variable at nonzero offset.
3416
3417 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3418
3419         * gdb.dwarf2/var-access.c: New file.
3420         * gdb.dwarf2/var-access.exp: New test.
3421         * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3422
3423 2017-06-12  Tom Tromey  <tom@tromey.com>
3424
3425         * gdb.dwarf2/formdata16.exp: Add tests.
3426
3427 2017-06-12  Tom Tromey  <tom@tromey.com>
3428
3429         * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
3430
3431 2017-06-12  Tom Tromey  <tom@tromey.com>
3432
3433         PR exp/16225:
3434         * gdb.reverse/i386-sse-reverse.exp: Update tests.
3435         * gdb.arch/vsx-regs.exp: Update tests.
3436         * gdb.arch/s390-vregs.exp (hex128): New proc.
3437         Update test.
3438         * gdb.arch/altivec-regs.exp: Update tests.
3439
3440 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3441
3442         * gdb.base/startup-with-shell.c: New file.
3443         * gdb.base/startup-with-shell.exp: Likewise.
3444
3445 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3446
3447         * gdb.server/non-existing-program.exp: Update regex in order to
3448         reflect the fact that gdbserver is now using fork_inferior (with a
3449         shell) to startup the inferior.
3450
3451 2017-05-30  Simon Marchi  <simon.marchi@ericsson.com>
3452
3453         * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3454         support function calls from GDB.
3455
3456 2017-05-21  Tom Tromey  <tom@tromey.com>
3457
3458         PR rust/21466:
3459         * gdb.rust/unsized.exp: New file.
3460         * gdb.rust/unsized.rs: New file.
3461
3462 2017-05-19  Tom Tromey  <tom@tromey.com>
3463
3464         PR rust/21484:
3465         * gdb.rust/watch.exp: New file.
3466         * gdb.rust/watch.rs: New file.
3467
3468 2017-05-18  Tom Tromey  <tom@tromey.com>
3469
3470         * gdb.rust/simple.exp: Allow Box to be qualified.
3471
3472 2017-05-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3473
3474         * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3475
3476 2017-05-18  Pedro Alves  <palves@redhat.com>
3477
3478         * gdb.base/fileio.c (test_write, test_read, test_close)
3479         (test_fstat): Don't print 'ret' in the fail path.
3480
3481 2017-05-18  Pedro Alves  <palves@redhat.com>
3482
3483         * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3484         (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3485         (test_system, test_rename, test_unlink, test_time): Change
3486         prototypes.
3487         * gdb.base/fileio.exp (stop_msg): Adjust.
3488
3489 2017-05-18  Pedro Alves  <palves@redhat.com>
3490
3491         * gdb.base/fileio.c (null_str): New global.
3492         (test_stat): Use it.
3493         * gdb.base/fileio.exp: Remove nowarnings.
3494
3495 2017-05-17  Yao Qi  <yao.qi@linaro.org>
3496
3497         * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3498
3499 2017-05-17  Simon Marchi  <simon.marchi@ericsson.com>
3500
3501         * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3502         argument command.
3503         (top-level): Invoke test_set_inferior_tty.
3504
3505 2017-05-04  Pedro Alves  <palves@redhat.com>
3506
3507         * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3508         Add parens to print call for Python 3.
3509
3510 2017-05-03  Keith Seitz  <keiths@redhat.com>
3511
3512         * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3513         (main): Call it.
3514
3515 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3516
3517         * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3518         to prev and next.
3519
3520 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3521
3522         * gdb.python/py-record-btrace.exp: Remove test for
3523         gdb.BtraceInstruction.error.
3524
3525 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3526
3527         * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3528
3529 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3530
3531         * gdb.python/py-record-btrace-threads.c: New file.
3532         * gdb.python/py-record-btrace-threads.exp: New file.
3533
3534 2017-04-28  Sergio Durigan Junior  <sergiodj@redhat.com>
3535
3536         PR testsuite/8595
3537         * gdb.base/environ.exp: Make test available in all architectures.
3538         Move bits related to "info program" testing to
3539         gdb.base/info-program.exp.  Rewrite tests to use the two new
3540         procedures mentione below.
3541         (test_set_show_env_var) New procedure.
3542         (test_set_show_env_var_equal): Likewise.
3543         * gdb.base/info-program.exp: New file.
3544
3545 2017-04-27  Keith Seitz  <keiths@redhat.com>
3546
3547         * gdb.cp/oranking.cc (test15): New function.
3548         (main): Call test15 and declare additional variables for testing.
3549         * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3550         "p foo101('abc')" tests.
3551         Add tests for cv qualifier overloads.
3552         * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3553         "lvalue reference overload" test.
3554         * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3555         "print value of f1 on Child&& in f2" test.
3556
3557 2017-04-19  Pedro Alves  <palves@redhat.com>
3558
3559         * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3560         procedure.
3561         (top level): Call it.
3562         * lib/gdb.exp (gdb_define_cmd): New procedure.
3563
3564 2017-04-12  Pedro Alves  <palves@redhat.com>
3565
3566         PR gdb/21323
3567         * gdb.cp/wide_char_types.c: Include <wchar.h>.
3568         (wchar): New global.
3569         * gdb.cp/wide_char_types.exp (wide_char_types_program)
3570         (do_test_wide_char, wide_char_types_no_program, top level): Add
3571         wchar_t testing.
3572
3573 2017-04-12  Pedro Alves  <palves@redhat.com>
3574
3575         PR c++/21323
3576         * gdb.cp/wide_char_types.c: New file.
3577         * gdb.cp/wide_char_types.exp: New file.
3578
3579 2017-04-05  Sergio Durigan Junior  <sergiodj@redhat.com>
3580
3581         PR gdb/21352
3582         * gdb.trace/tsv.exp: Add test for "tsave -r".
3583
3584 2017-03-30  Iain Buclaw  <ibuclaw@gdcproject.org>
3585
3586         * gdb.dlang/watch-loc.c: New file.
3587         * gdb.dlang/watch-loc.exp: New file.
3588
3589 2017-03-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3590
3591         * gdb.python/py-section-script.exp (sepdebug): New testcases.
3592
3593 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3594
3595         * gdb.arch/arc-analyze-prologue.S: New file.
3596         * gdb.arch/arc-analyze-prologue.exp: Likewise.
3597
3598 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3599
3600         * gdb.arch/arc-decode-insn.S: New file.
3601         * gdb.arch/arc-decode-insn.exp: Likewise.
3602
3603 2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>
3604
3605         PR tdep/20928
3606         * gdb.arch/sparc64-regs.exp: New file.
3607         * gdb.arch/sparc64-regs.S: Likewise.
3608
3609 2017-03-21  Tim Wiederhake  <tim.wiederhake@intel.com>
3610
3611         * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3612         and memory view on Python 3.
3613
3614 2017-03-20  Artemiy Volkov  <artemiyv@acm.org>
3615             Keith Seitz  <keiths@redhat.com>
3616
3617         PR gdb/14441
3618         * gdb.cp/demangle.exp: Add rvalue reference tests.
3619         * gdb.cp/rvalue-ref-casts.cc: New file.
3620         * gdb.cp/rvalue-ref-casts.exp: New file.
3621         * gdb.cp/rvalue-ref-overload.cc: New file.
3622         * gdb.cp/rvalue-ref-overload.exp: New file.
3623         * gdb.cp/rvalue-ref-params.cc: New file.
3624         * gdb.cp/rvalue-ref-params.exp: New file.
3625         * gdb.cp/rvalue-ref-sizeof.cc: New file.
3626         * gdb.cp/rvalue-ref-sizeof.exp: New file.
3627         * gdb.cp/rvalue-ref-types.cc: New file.
3628         * gdb.cp/rvalue-ref-types.exp: New file.
3629         * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3630         * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3631
3632 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
3633
3634         * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3635         New procedure.
3636
3637 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
3638
3639         * lib/mi-support.exp (mi_gdb_test): Add additional message
3640         for unexpected output.
3641
3642 2017-03-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3643
3644         * gdb.base/examine-backward.c (Barrier): New character array
3645         constant, to ensure that TestStrings is preceded by a string
3646         terminator.
3647
3648 2017-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3649
3650         * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3651         * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3652         and implicit pointer into such a location.
3653
3654 2017-03-16  Doug Evans  <dje@google.com>
3655
3656         * gdb.python/py-lazy-string (pointer): Really add new typedef.
3657
3658 2017-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3659
3660         * gdb.cp/m-static.exp: Fix expectation for prototype of
3661         test5.single_constructor and single_constructor::single_constructor.
3662
3663 2017-03-16  Doug Evans  <dje@google.com>
3664
3665         * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3666         * gdb.guile/scm-lazy-string.c: New file.
3667         * gdb.guile/scm-value.exp: Move lazy string tests to ...
3668         * gdb.guile/scm-lazy-string.exp: ... here, new file.  Add more tests
3669         for pointer, array, typedef lazy strings.
3670
3671 2017-03-16  Doug Evans  <dje@google.com>
3672
3673         PR python/17728, python/18439, python/18779
3674         * gdb.python/py-value.c (main) Delete locals sptr, sn.
3675         * gdb.python/py-lazy-string.c (pointer): New typedef.
3676         (main): New locals ptr, array, typedef_ptr.
3677         * gdb.python/py-value.exp: Move lazy string tests to ...
3678         * gdb.python/py-lazy-string.exp: ... here.  Add more tests for pointer,
3679         array, typedef lazy strings.
3680
3681 2017-03-14  Anton Kolesov  <anton.kolesov@synopsys.com>
3682
3683         * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3684           Add optional 'test' parameter.
3685
3686 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
3687
3688         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3689         Skip for versions of DejaGnu < 1.5.
3690
3691 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
3692
3693         * lib/gdb.exp (dejagnu_version): New proc.
3694         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3695         Use dejagnu_version.
3696
3697 2017-03-10  Keith Seitz  <keiths@redhat.com>
3698
3699         PR c++/8128
3700         * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3701         type from destructor regexps.
3702         Add a branch which actually passes the test.
3703         Adjust "ptype t5i" test names.
3704
3705 2017-03-08  Pedro Alves  <palves@redhat.com>
3706
3707         * gdb.base/step-over-exit.exp: Add explicit test message.
3708
3709 2017-03-08  Pedro Alves  <palves@redhat.com>
3710
3711         PR gdb/18360
3712         * gdb.threads/interrupt-while-step-over.c: New file.
3713         * gdb.threads/interrupt-while-step-over.exp: New file.
3714
3715 2017-03-08  Pedro Alves  <palves@redhat.com>
3716
3717         * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3718         * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3719
3720 2017-03-08  Pedro Alves  <palves@redhat.com>
3721
3722         * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3723         PKRU as not supported as a PASS.
3724
3725 2017-03-08  Pedro Alves  <palves@redhat.com>
3726
3727         * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3728         prefix instead of $binfile1/$binfile2.
3729         * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3730         in test message.
3731         * gdb.python/py-completion.exp: Use "load python file" as test
3732         messages instead of unstable path names.
3733
3734 2017-03-08  Pedro Alves  <palves@redhat.com>
3735             Jan Kratochvil  <jan.kratochvil@redhat.com>
3736
3737         PR cli/21218
3738         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3739         New proc.
3740         (top level): Call it.
3741
3742 2017-03-08  Pedro Alves  <palves@redhat.com>
3743
3744         PR tui/21216
3745         * gdb.tui/tui-nl-filtered-output.exp: New file.
3746
3747 2017-03-08  Pedro Alves  <palves@redhat.com>
3748
3749         * gdb.base/completion.exp: Move TUI completion tests to ...
3750         * gdb.tui/completion.exp: ... this new file.
3751
3752 2017-03-08  Pedro Alves  <palves@redhat.com>
3753
3754         * gdb.base/tui-disasm-long-lines.c,
3755         gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3756         gdb.base/tui-layout.exp: Move to ...
3757         * gdb.tui/: ... this new directory.
3758
3759 2017-03-07  Pedro Alves  <palves@redhat.com>
3760
3761         * gdb.base/tui-layout.c: New file.
3762         * gdb.base/tui-layout.exp: New file.
3763
3764 2017-03-07  Pedro Alves  <palves@redhat.com>
3765
3766         * gdb.base/tui-layout.c: Rename to ...
3767         * gdb.base/tui-disasm-long-lines.c: ... this.
3768         * gdb.base/tui-layout.exp: Rename to ...
3769         * gdb.base/tui-disasm-long-lines.exp: ... this.
3770
3771 2017-03-07  Pedro Alves  <palves@redhat.com>
3772
3773         * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3774
3775 2017-03-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
3776
3777         * i386-mpx-call.c: New file.
3778         * i386-mpx-call.exp: New file.
3779
3780 2017-02-28  Peter Bergner  <bergner@vnet.ibm.com>
3781
3782         * gdb.arch/powerpc-power.exp: Delete test.
3783         * gdb.arch/powerpc-power.s: Likewise.
3784         * gdb.disasm/disassembler-options.exp: New test.
3785         * gdb.arch/powerpc-altivec.exp: Likewise.
3786         * gdb.arch/powerpc-altivec.s: Likewise.
3787         * gdb.arch/powerpc-altivec2.exp: Likewise.
3788         * gdb.arch/powerpc-altivec2.s: Likewise.
3789         * gdb.arch/powerpc-altivec3.exp: Likewise.
3790         * gdb.arch/powerpc-altivec3.s: Likewise.
3791         * gdb.arch/powerpc-power7.exp: Likewise.
3792         * gdb.arch/powerpc-power7.s: Likewise.
3793         * gdb.arch/powerpc-power8.exp: Likewise.
3794         * gdb.arch/powerpc-power8.s: Likewise.
3795         * gdb.arch/powerpc-power9.exp: Likewise.
3796         * gdb.arch/powerpc-power9.s: Likewise.
3797         * gdb.arch/powerpc-vsx.exp: Likewise.
3798         * gdb.arch/powerpc-vsx.s: Likewise.
3799         * gdb.arch/powerpc-vsx2.exp: Likewise.
3800         * gdb.arch/powerpc-vsx2.s: Likewise.
3801         * gdb.arch/powerpc-vsx3.exp: Likewise.
3802         * gdb.arch/powerpc-vsx3.s: Likewise.
3803         * gdb.arch/arm-disassembler-options.exp: Likewise.
3804         * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3805         * gdb.arch/s390-disassembler-options.exp: Likewise.
3806
3807 2017-02-23  Luis Machado  <lgustavo@codesourcery.com>
3808
3809         * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3810         (check_supported_features): ... this. Changed return type to void.
3811         (supports_rdseed): New static global.
3812         (rdseed): Check supports_rdseed.
3813         (initialize): Call check_supported_features.
3814
3815 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3816
3817         * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3818         gdb.arch/ppc64-atomic-inst.exp.  Add tests for lbarx/stbcx, lharx/sthcx
3819         and lqarx/stqcx.
3820         * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3821         * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3822
3823 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3824
3825         * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3826         uppercase.
3827
3828 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3829
3830         * gdb.dwarf2/formdata16.c: New file.
3831         * gdb.dwarf2/formdata16.exp: New file.
3832         * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3833
3834 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3835
3836         * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3837         * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3838         * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3839         * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3840         DW_AT_GNU_*.
3841
3842 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3843
3844         * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3845
3846 2017-02-15  Sergio Durigan Junior  <sergiodj@redhat.com>
3847
3848         PR gdb/21164
3849         * gdb.base/maint.exp: Add testcases for when the commands do
3850         not have arguments.
3851
3852 2017-02-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3853
3854         * gdb.cp/chained-calls.exp: Use p instead of P.
3855
3856 2017-02-14  Tim Wiederhake  <tim.wiederhake@intel.com>
3857
3858         * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3859         gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3860
3861 2017-02-14  Tom Tromey  <tom@tromey.com>
3862
3863         PR python/13598:
3864         * gdb.python/py-events.exp: Add before_prompt event tests.
3865
3866 2017-02-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3867
3868         * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3869
3870 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
3871
3872         * gdb.linespec/explicit.c (my_unique_function_name): New function.
3873         (main): Call my_unique_function_name.
3874         * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3875         completion of patterns with a single match.
3876         Add missing -re switches to gdb_test_multiple calls.
3877
3878 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
3879
3880         * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3881         return if core file is not recognized.
3882
3883 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
3884
3885         * gdb.base/new-ui.exp (do_test): Test queries behavior on main
3886         and extra UIs.
3887
3888 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
3889
3890         * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
3891         proc_with_prefix.
3892
3893 2017-02-10  Tom Tromey  <tom@tromey.com>
3894
3895         * gdb.python/py-xmethods.exp: Use "p" command, not "P".
3896
3897 2017-02-10  Martin Galvan  <martingalvan@sourceware.org>
3898
3899         PR gdb/21122
3900         * gdb.base/help.exp: Update match pattern for testing 'help commands'.
3901
3902 2017-02-08  Jerome Guitton  <guitton@adacore.com>
3903
3904         * gdb.base/define.exp: Add test for command abbreviations
3905         in define.
3906
3907 2017-02-06  Luis Machado  <lgustavo@codesourcery.com>
3908
3909         * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
3910         * gdb.reverse/insn-reverse-x86.c: New file.
3911
3912 2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>
3913
3914         PR tdep/20936
3915         * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
3916
3917 2017-02-03  Tom Tromey  <tom@tromey.com>
3918
3919         PR rust/21097:
3920         * gdb.rust/simple.exp: Add new tests.
3921
3922 2017-02-02  Pedro Alves  <palves@redhat.com>
3923
3924         * gdb.mi/mi-logging.exp: Add "redirect while already logging"
3925         tests.
3926
3927 2017-02-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3928
3929         * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
3930         taking a 2-byte value out of a 4-byte DWARF implicit value on
3931         big-endian targets.
3932         * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
3933         logic.  Add test cases for DW_OP_implicit.
3934
3935 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3936
3937         * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
3938
3939 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3940
3941         * gdb.btrace/enable.exp: Call gdb_exit before
3942         skip_gdbserver_tests.
3943
3944 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3945
3946         * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
3947         GDBFLAGS.
3948
3949 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3950
3951         * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
3952         the test is skipped.
3953         * gdb.btrace/data.exp: Likewise.
3954         * gdb.btrace/delta.exp: Likewise.
3955         * gdb.btrace/dlopen.exp: Likewise.
3956         * gdb.btrace/enable-running.exp: Likewise.
3957         * gdb.btrace/enable.exp: Likewise.
3958         * gdb.btrace/exception.exp: Likewise.
3959         * gdb.btrace/function_call_history.exp: Likewise.
3960         * gdb.btrace/gcore.exp: Likewise.
3961         * gdb.btrace/instruction_history.exp: Likewise.
3962         * gdb.btrace/multi-thread-step.exp: Likewise.
3963         * gdb.btrace/nohist.exp: Likewise.
3964         * gdb.btrace/non-stop.exp: Likewise.
3965         * gdb.btrace/reconnect.exp: Likewise.
3966         * gdb.btrace/record_goto-step.exp: Likewise.
3967         * gdb.btrace/record_goto.exp: Likewise.
3968         * gdb.btrace/rn-dl-bind.exp: Likewise.
3969         * gdb.btrace/segv.exp: Likewise.
3970         * gdb.btrace/step.exp: Likewise.
3971         * gdb.btrace/stepi.exp: Likewise.
3972         * gdb.btrace/tailcall-only.exp: Likewise.
3973         * gdb.btrace/tailcall.exp: Likewise.
3974         * gdb.btrace/tsx.exp: Likewise.
3975         * gdb.btrace/unknown_functions.exp: Likewise.
3976         * gdb.btrace/vdso.exp: Likewise.
3977
3978 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3979
3980         * gdb.btrace/enable-running.c: New.
3981         * gdb.btrace/enable-running.exp: New.
3982
3983 2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
3984
3985         * gdb.arch/amd64-gs_base.c: New file.
3986         * gdb.arch/amd64-gs_base.exp: New file.
3987
3988 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
3989
3990         * lib/memory.exp: Remove spurious empty newlines.
3991
3992 2017-01-26  Simon Marchi  <simon.marchi@polymtl.ca>
3993
3994         * gdb.python/py-bad-printers.exp: Load python file using "source".
3995         * gdb.python/py-events.exp: Likewise.
3996         * gdb.python/py-evsignal.exp: Likewise.
3997         * gdb.python/py-evthreads.exp: Likewise.
3998         * gdb.python/py-frame-args.exp: Likewise.
3999         * gdb.python/py-framefilter-invalidarg.exp: Likewise.
4000         * gdb.python/py-framefilter-mi.exp: Likewise.
4001         * gdb.python/py-framefilter.exp: Likewise.
4002         * gdb.python/py-mi.exp: Likewise.
4003         * gdb.python/py-pp-maint.exp: Likewise.
4004         * gdb.python/py-pp-registration.exp: Likewise.
4005         * gdb.python/py-prettyprint.exp: Likewise.
4006         (run_lang_tests): Likewise.
4007         * gdb.python/py-typeprint.exp: Likewise.
4008
4009 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4010
4011         * lib/memory.exp: New file.
4012         * lib/gdb.exp: Load memory.exp.
4013         * gdb.base/memattr.exp (delete_memory): Move proc to
4014         lib/memory.exp and rename to delete_memory_regions.
4015         Replace delete_memory with delete_memory_regions.
4016         Cleanup memory regions before tests.
4017         * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
4018         before tests.
4019
4020 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4021
4022         * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4023         files.
4024         (initialize): New function conditionally defined.
4025         (testcases): Move within conditional block.
4026         (main): Call initialize.
4027         * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4028         of gdb.reverse/insn-reverse.c.
4029         * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4030         gdb.reverse/insn-reverse.c.
4031
4032 2017-01-26  Yao Qi  <yao.qi@linaro.org>
4033
4034         * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4035         disassemble on address 0.
4036
4037 2017-01-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4038             Yao Qi  <yao.qi@linaro.org>
4039
4040         * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4041         * gdb.dwarf2/implptr-64bit.S: Remove.
4042         * lib/dwarf.exp (Dwarf): Handle character "%".  Evaluate some
4043         variables in caller's context.  Add DW_OP_implicit_value.
4044
4045 2017-01-25  Yao Qi  <yao.qi@linaro.org>
4046
4047         * lib/dwarf.exp (Dwarf::_location): Handle
4048         DW_OP_GNU_implicit_pointer with proper size.
4049
4050 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4051
4052         * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
4053         and add untested calls.
4054
4055 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4056
4057         * gdb.python/python.exp: Check line number against what GDB thinks
4058         the line number is for func1.
4059
4060 2017-01-08  Iain Buclaw  <ibuclaw@gdcproject.org>
4061
4062         * gdb.dlang/debug-expr.exp: New file.
4063
4064 2016-12-23  Luis Machado  <lgustavo@codesourcery.com>
4065
4066         Fix test names for the following files:
4067
4068         * gdb.ada/exec_changed.exp
4069         * gdb.ada/info_types.exp
4070         * gdb.arch/aarch64-atomic-inst.exp
4071         * gdb.arch/aarch64-fp.exp
4072         * gdb.arch/altivec-abi.exp
4073         * gdb.arch/altivec-regs.exp
4074         * gdb.arch/amd64-byte.exp
4075         * gdb.arch/amd64-disp-step.exp
4076         * gdb.arch/amd64-dword.exp
4077         * gdb.arch/amd64-entry-value-inline.exp
4078         * gdb.arch/amd64-entry-value-param.exp
4079         * gdb.arch/amd64-entry-value-paramref.exp
4080         * gdb.arch/amd64-entry-value.exp
4081         * gdb.arch/amd64-i386-address.exp
4082         * gdb.arch/amd64-invalid-stack-middle.exp
4083         * gdb.arch/amd64-invalid-stack-top.exp
4084         * gdb.arch/amd64-optimout-repeat.exp
4085         * gdb.arch/amd64-prologue-skip.exp
4086         * gdb.arch/amd64-prologue-xmm.exp
4087         * gdb.arch/amd64-stap-special-operands.exp
4088         * gdb.arch/amd64-stap-wrong-subexp.exp
4089         * gdb.arch/amd64-tailcall-cxx.exp
4090         * gdb.arch/amd64-tailcall-noret.exp
4091         * gdb.arch/amd64-tailcall-ret.exp
4092         * gdb.arch/amd64-tailcall-self.exp
4093         * gdb.arch/amd64-word.exp
4094         * gdb.arch/arm-bl-branch-dest.exp
4095         * gdb.arch/arm-disp-step.exp
4096         * gdb.arch/arm-neon.exp
4097         * gdb.arch/arm-single-step-kernel-helper.exp
4098         * gdb.arch/avr-flash-qualifier.exp
4099         * gdb.arch/disp-step-insn-reloc.exp
4100         * gdb.arch/e500-abi.exp
4101         * gdb.arch/e500-regs.exp
4102         * gdb.arch/ftrace-insn-reloc.exp
4103         * gdb.arch/i386-avx512.exp
4104         * gdb.arch/i386-bp_permanent.exp
4105         * gdb.arch/i386-byte.exp
4106         * gdb.arch/i386-cfi-notcurrent.exp
4107         * gdb.arch/i386-disp-step.exp
4108         * gdb.arch/i386-dr3-watch.exp
4109         * gdb.arch/i386-float.exp
4110         * gdb.arch/i386-gnu-cfi.exp
4111         * gdb.arch/i386-mpx-map.exp
4112         * gdb.arch/i386-mpx-sigsegv.exp
4113         * gdb.arch/i386-mpx-simple_segv.exp
4114         * gdb.arch/i386-mpx.exp
4115         * gdb.arch/i386-permbkpt.exp
4116         * gdb.arch/i386-prologue.exp
4117         * gdb.arch/i386-signal.exp
4118         * gdb.arch/i386-size-overlap.exp
4119         * gdb.arch/i386-unwind.exp
4120         * gdb.arch/i386-word.exp
4121         * gdb.arch/mips-fcr.exp
4122         * gdb.arch/powerpc-d128-regs.exp
4123         * gdb.arch/powerpc-stackless.exp
4124         * gdb.arch/ppc64-atomic-inst.exp
4125         * gdb.arch/s390-stackless.exp
4126         * gdb.arch/s390-tdbregs.exp
4127         * gdb.arch/s390-vregs.exp
4128         * gdb.arch/sparc-sysstep.exp
4129         * gdb.arch/thumb-bx-pc.exp
4130         * gdb.arch/thumb-singlestep.exp
4131         * gdb.arch/thumb2-it.exp
4132         * gdb.arch/vsx-regs.exp
4133         * gdb.asm/asm-source.exp
4134         * gdb.base/a2-run.exp
4135         * gdb.base/advance.exp
4136         * gdb.base/all-bin.exp
4137         * gdb.base/anon.exp
4138         * gdb.base/args.exp
4139         * gdb.base/arithmet.exp
4140         * gdb.base/async-shell.exp
4141         * gdb.base/async.exp
4142         * gdb.base/attach-pie-noexec.exp
4143         * gdb.base/attach-twice.exp
4144         * gdb.base/auto-load.exp
4145         * gdb.base/bang.exp
4146         * gdb.base/bitfields.exp
4147         * gdb.base/break-always.exp
4148         * gdb.base/break-caller-line.exp
4149         * gdb.base/break-entry.exp
4150         * gdb.base/break-inline.exp
4151         * gdb.base/break-on-linker-gcd-function.exp
4152         * gdb.base/break-probes.exp
4153         * gdb.base/break.exp
4154         * gdb.base/breakpoint-shadow.exp
4155         * gdb.base/call-ar-st.exp
4156         * gdb.base/call-sc.exp
4157         * gdb.base/call-signal-resume.exp
4158         * gdb.base/call-strs.exp
4159         * gdb.base/callfuncs.exp
4160         * gdb.base/catch-fork-static.exp
4161         * gdb.base/catch-gdb-caused-signals.exp
4162         * gdb.base/catch-load.exp
4163         * gdb.base/catch-signal-fork.exp
4164         * gdb.base/catch-signal.exp
4165         * gdb.base/catch-syscall.exp
4166         * gdb.base/charset.exp
4167         * gdb.base/checkpoint.exp
4168         * gdb.base/chng-syms.exp
4169         * gdb.base/code-expr.exp
4170         * gdb.base/code_elim.exp
4171         * gdb.base/commands.exp
4172         * gdb.base/completion.exp
4173         * gdb.base/complex.exp
4174         * gdb.base/cond-expr.exp
4175         * gdb.base/condbreak.exp
4176         * gdb.base/consecutive.exp
4177         * gdb.base/continue-all-already-running.exp
4178         * gdb.base/coredump-filter.exp
4179         * gdb.base/corefile.exp
4180         * gdb.base/dbx.exp
4181         * gdb.base/debug-expr.exp
4182         * gdb.base/define.exp
4183         * gdb.base/del.exp
4184         * gdb.base/disabled-location.exp
4185         * gdb.base/disasm-end-cu.exp
4186         * gdb.base/disasm-optim.exp
4187         * gdb.base/display.exp
4188         * gdb.base/duplicate-bp.exp
4189         * gdb.base/ena-dis-br.exp
4190         * gdb.base/ending-run.exp
4191         * gdb.base/enumval.exp
4192         * gdb.base/environ.exp
4193         * gdb.base/eu-strip-infcall.exp
4194         * gdb.base/eval-avoid-side-effects.exp
4195         * gdb.base/eval-skip.exp
4196         * gdb.base/exitsignal.exp
4197         * gdb.base/expand-psymtabs.exp
4198         * gdb.base/filesym.exp
4199         * gdb.base/find-unmapped.exp
4200         * gdb.base/finish.exp
4201         * gdb.base/float.exp
4202         * gdb.base/foll-exec-mode.exp
4203         * gdb.base/foll-exec.exp
4204         * gdb.base/foll-fork.exp
4205         * gdb.base/fortran-sym-case.exp
4206         * gdb.base/freebpcmd.exp
4207         * gdb.base/func-ptr.exp
4208         * gdb.base/func-ptrs.exp
4209         * gdb.base/funcargs.exp
4210         * gdb.base/gcore-buffer-overflow.exp
4211         * gdb.base/gcore-relro-pie.exp
4212         * gdb.base/gcore-relro.exp
4213         * gdb.base/gcore.exp
4214         * gdb.base/gdb1090.exp
4215         * gdb.base/gdb11530.exp
4216         * gdb.base/gdb11531.exp
4217         * gdb.base/gdb1821.exp
4218         * gdb.base/gdbindex-stabs.exp
4219         * gdb.base/gdbvars.exp
4220         * gdb.base/hbreak.exp
4221         * gdb.base/hbreak2.exp
4222         * gdb.base/included.exp
4223         * gdb.base/infcall-input.exp
4224         * gdb.base/inferior-died.exp
4225         * gdb.base/infnan.exp
4226         * gdb.base/info-macros.exp
4227         * gdb.base/info-os.exp
4228         * gdb.base/info-proc.exp
4229         * gdb.base/info-shared.exp
4230         * gdb.base/info-target.exp
4231         * gdb.base/infoline.exp
4232         * gdb.base/interp.exp
4233         * gdb.base/interrupt.exp
4234         * gdb.base/jit-reader.exp
4235         * gdb.base/jit-simple.exp
4236         * gdb.base/kill-after-signal.exp
4237         * gdb.base/kill-detach-inferiors-cmd.exp
4238         * gdb.base/label.exp
4239         * gdb.base/langs.exp
4240         * gdb.base/ldbl_e308.exp
4241         * gdb.base/line-symtabs.exp
4242         * gdb.base/linespecs.exp
4243         * gdb.base/list.exp
4244         * gdb.base/long_long.exp
4245         * gdb.base/longest-types.exp
4246         * gdb.base/maint.exp
4247         * gdb.base/max-value-size.exp
4248         * gdb.base/memattr.exp
4249         * gdb.base/mips_pro.exp
4250         * gdb.base/morestack.exp
4251         * gdb.base/moribund-step.exp
4252         * gdb.base/multi-forks.exp
4253         * gdb.base/nested-addr.exp
4254         * gdb.base/nextoverexit.exp
4255         * gdb.base/noreturn-finish.exp
4256         * gdb.base/noreturn-return.exp
4257         * gdb.base/nostdlib.exp
4258         * gdb.base/offsets.exp
4259         * gdb.base/opaque.exp
4260         * gdb.base/pc-fp.exp
4261         * gdb.base/permissions.exp
4262         * gdb.base/print-symbol-loading.exp
4263         * gdb.base/prologue-include.exp
4264         * gdb.base/psymtab.exp
4265         * gdb.base/ptype.exp
4266         * gdb.base/random-signal.exp
4267         * gdb.base/randomize.exp
4268         * gdb.base/range-stepping.exp
4269         * gdb.base/readline-ask.exp
4270         * gdb.base/recpar.exp
4271         * gdb.base/recurse.exp
4272         * gdb.base/relational.exp
4273         * gdb.base/restore.exp
4274         * gdb.base/return-nodebug.exp
4275         * gdb.base/return.exp
4276         * gdb.base/run-after-attach.exp
4277         * gdb.base/save-bp.exp
4278         * gdb.base/scope.exp
4279         * gdb.base/sect-cmd.exp
4280         * gdb.base/set-lang-auto.exp
4281         * gdb.base/set-noassign.exp
4282         * gdb.base/setvar.exp
4283         * gdb.base/sigall.exp
4284         * gdb.base/sigbpt.exp
4285         * gdb.base/siginfo-addr.exp
4286         * gdb.base/siginfo-infcall.exp
4287         * gdb.base/siginfo-obj.exp
4288         * gdb.base/siginfo.exp
4289         * gdb.base/signals-state-child.exp
4290         * gdb.base/signest.exp
4291         * gdb.base/sigstep.exp
4292         * gdb.base/sizeof.exp
4293         * gdb.base/skip.exp
4294         * gdb.base/solib-corrupted.exp
4295         * gdb.base/solib-nodir.exp
4296         * gdb.base/solib-search.exp
4297         * gdb.base/stack-checking.exp
4298         * gdb.base/stale-infcall.exp
4299         * gdb.base/stap-probe.exp
4300         * gdb.base/start.exp
4301         * gdb.base/step-break.exp
4302         * gdb.base/step-bt.exp
4303         * gdb.base/step-line.exp
4304         * gdb.base/step-over-exit.exp
4305         * gdb.base/step-over-syscall.exp
4306         * gdb.base/step-resume-infcall.exp
4307         * gdb.base/step-test.exp
4308         * gdb.base/store.exp
4309         * gdb.base/structs3.exp
4310         * gdb.base/sym-file.exp
4311         * gdb.base/symbol-without-target_section.exp
4312         * gdb.base/term.exp
4313         * gdb.base/testenv.exp
4314         * gdb.base/ui-redirect.exp
4315         * gdb.base/until.exp
4316         * gdb.base/unwindonsignal.exp
4317         * gdb.base/value-double-free.exp
4318         * gdb.base/vla-datatypes.exp
4319         * gdb.base/vla-ptr.exp
4320         * gdb.base/vla-sideeffect.exp
4321         * gdb.base/volatile.exp
4322         * gdb.base/watch-cond-infcall.exp
4323         * gdb.base/watch-cond.exp
4324         * gdb.base/watch-non-mem.exp
4325         * gdb.base/watch-read.exp
4326         * gdb.base/watch-vfork.exp
4327         * gdb.base/watchpoint-cond-gone.exp
4328         * gdb.base/watchpoint-delete.exp
4329         * gdb.base/watchpoint-hw-hit-once.exp
4330         * gdb.base/watchpoint-hw.exp
4331         * gdb.base/watchpoint-stops-at-right-insn.exp
4332         * gdb.base/watchpoints.exp
4333         * gdb.base/wchar.exp
4334         * gdb.base/whatis-exp.exp
4335         * gdb.btrace/buffer-size.exp
4336         * gdb.btrace/data.exp
4337         * gdb.btrace/delta.exp
4338         * gdb.btrace/dlopen.exp
4339         * gdb.btrace/enable.exp
4340         * gdb.btrace/exception.exp
4341         * gdb.btrace/function_call_history.exp
4342         * gdb.btrace/gcore.exp
4343         * gdb.btrace/instruction_history.exp
4344         * gdb.btrace/nohist.exp
4345         * gdb.btrace/reconnect.exp
4346         * gdb.btrace/record_goto-step.exp
4347         * gdb.btrace/record_goto.exp
4348         * gdb.btrace/rn-dl-bind.exp
4349         * gdb.btrace/segv.exp
4350         * gdb.btrace/step.exp
4351         * gdb.btrace/stepi.exp
4352         * gdb.btrace/tailcall-only.exp
4353         * gdb.btrace/tailcall.exp
4354         * gdb.btrace/tsx.exp
4355         * gdb.btrace/unknown_functions.exp
4356         * gdb.btrace/vdso.exp
4357         * gdb.compile/compile-ifunc.exp
4358         * gdb.compile/compile-ops.exp
4359         * gdb.compile/compile-print.exp
4360         * gdb.compile/compile-setjmp.exp
4361         * gdb.cp/abstract-origin.exp
4362         * gdb.cp/ambiguous.exp
4363         * gdb.cp/annota2.exp
4364         * gdb.cp/annota3.exp
4365         * gdb.cp/anon-ns.exp
4366         * gdb.cp/anon-struct.exp
4367         * gdb.cp/anon-union.exp
4368         * gdb.cp/arg-reference.exp
4369         * gdb.cp/baseenum.exp
4370         * gdb.cp/bool.exp
4371         * gdb.cp/breakpoint.exp
4372         * gdb.cp/bs15503.exp
4373         * gdb.cp/call-c.exp
4374         * gdb.cp/casts.exp
4375         * gdb.cp/chained-calls.exp
4376         * gdb.cp/class2.exp
4377         * gdb.cp/classes.exp
4378         * gdb.cp/cmpd-minsyms.exp
4379         * gdb.cp/converts.exp
4380         * gdb.cp/cp-relocate.exp
4381         * gdb.cp/cpcompletion.exp
4382         * gdb.cp/cpexprs.exp
4383         * gdb.cp/cplabel.exp
4384         * gdb.cp/cplusfuncs.exp
4385         * gdb.cp/cpsizeof.exp
4386         * gdb.cp/ctti.exp
4387         * gdb.cp/derivation.exp
4388         * gdb.cp/destrprint.exp
4389         * gdb.cp/dispcxx.exp
4390         * gdb.cp/enum-class.exp
4391         * gdb.cp/exception.exp
4392         * gdb.cp/exceptprint.exp
4393         * gdb.cp/expand-psymtabs-cxx.exp
4394         * gdb.cp/expand-sals.exp
4395         * gdb.cp/extern-c.exp
4396         * gdb.cp/filename.exp
4397         * gdb.cp/formatted-ref.exp
4398         * gdb.cp/fpointer.exp
4399         * gdb.cp/gdb1355.exp
4400         * gdb.cp/gdb2495.exp
4401         * gdb.cp/hang.exp
4402         * gdb.cp/impl-this.exp
4403         * gdb.cp/infcall-dlopen.exp
4404         * gdb.cp/inherit.exp
4405         * gdb.cp/iostream.exp
4406         * gdb.cp/koenig.exp
4407         * gdb.cp/local.exp
4408         * gdb.cp/m-data.exp
4409         * gdb.cp/m-static.exp
4410         * gdb.cp/mb-ctor.exp
4411         * gdb.cp/mb-inline.exp
4412         * gdb.cp/mb-templates.exp
4413         * gdb.cp/member-name.exp
4414         * gdb.cp/member-ptr.exp
4415         * gdb.cp/meth-typedefs.exp
4416         * gdb.cp/method.exp
4417         * gdb.cp/method2.exp
4418         * gdb.cp/minsym-fallback.exp
4419         * gdb.cp/misc.exp
4420         * gdb.cp/namelessclass.exp
4421         * gdb.cp/namespace-enum.exp
4422         * gdb.cp/namespace-nested-import.exp
4423         * gdb.cp/namespace.exp
4424         * gdb.cp/nextoverthrow.exp
4425         * gdb.cp/no-dmgl-verbose.exp
4426         * gdb.cp/non-trivial-retval.exp
4427         * gdb.cp/noparam.exp
4428         * gdb.cp/nsdecl.exp
4429         * gdb.cp/nsimport.exp
4430         * gdb.cp/nsnested.exp
4431         * gdb.cp/nsnoimports.exp
4432         * gdb.cp/nsrecurs.exp
4433         * gdb.cp/nsstress.exp
4434         * gdb.cp/nsusing.exp
4435         * gdb.cp/operator.exp
4436         * gdb.cp/oranking.exp
4437         * gdb.cp/overload-const.exp
4438         * gdb.cp/overload.exp
4439         * gdb.cp/ovldbreak.exp
4440         * gdb.cp/ovsrch.exp
4441         * gdb.cp/paren-type.exp
4442         * gdb.cp/parse-lang.exp
4443         * gdb.cp/pass-by-ref.exp
4444         * gdb.cp/pr-1023.exp
4445         * gdb.cp/pr-1210.exp
4446         * gdb.cp/pr-574.exp
4447         * gdb.cp/pr10687.exp
4448         * gdb.cp/pr12028.exp
4449         * gdb.cp/pr17132.exp
4450         * gdb.cp/pr17494.exp
4451         * gdb.cp/pr9067.exp
4452         * gdb.cp/pr9167.exp
4453         * gdb.cp/pr9631.exp
4454         * gdb.cp/printmethod.exp
4455         * gdb.cp/psmang.exp
4456         * gdb.cp/psymtab-parameter.exp
4457         * gdb.cp/ptype-cv-cp.exp
4458         * gdb.cp/ptype-flags.exp
4459         * gdb.cp/re-set-overloaded.exp
4460         * gdb.cp/ref-types.exp
4461         * gdb.cp/rtti.exp
4462         * gdb.cp/scope-err.exp
4463         * gdb.cp/shadow.exp
4464         * gdb.cp/smartp.exp
4465         * gdb.cp/static-method.exp
4466         * gdb.cp/static-print-quit.exp
4467         * gdb.cp/temargs.exp
4468         * gdb.cp/templates.exp
4469         * gdb.cp/try_catch.exp
4470         * gdb.cp/typedef-operator.exp
4471         * gdb.cp/typeid.exp
4472         * gdb.cp/userdef.exp
4473         * gdb.cp/using-crash.exp
4474         * gdb.cp/var-tag.exp
4475         * gdb.cp/virtbase.exp
4476         * gdb.cp/virtfunc.exp
4477         * gdb.cp/virtfunc2.exp
4478         * gdb.cp/vla-cxx.exp
4479         * gdb.disasm/t01_mov.exp
4480         * gdb.disasm/t02_mova.exp
4481         * gdb.disasm/t03_add.exp
4482         * gdb.disasm/t04_sub.exp
4483         * gdb.disasm/t05_cmp.exp
4484         * gdb.disasm/t06_ari2.exp
4485         * gdb.disasm/t07_ari3.exp
4486         * gdb.disasm/t08_or.exp
4487         * gdb.disasm/t09_xor.exp
4488         * gdb.disasm/t10_and.exp
4489         * gdb.disasm/t11_logs.exp
4490         * gdb.disasm/t12_bit.exp
4491         * gdb.disasm/t13_otr.exp
4492         * gdb.dlang/circular.exp
4493         * gdb.dwarf2/arr-stride.exp
4494         * gdb.dwarf2/arr-subrange.exp
4495         * gdb.dwarf2/atomic-type.exp
4496         * gdb.dwarf2/bad-regnum.exp
4497         * gdb.dwarf2/bitfield-parent-optimized-out.exp
4498         * gdb.dwarf2/callframecfa.exp
4499         * gdb.dwarf2/clztest.exp
4500         * gdb.dwarf2/corrupt.exp
4501         * gdb.dwarf2/data-loc.exp
4502         * gdb.dwarf2/dup-psym.exp
4503         * gdb.dwarf2/dw2-anon-mptr.exp
4504         * gdb.dwarf2/dw2-anonymous-func.exp
4505         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4506         * gdb.dwarf2/dw2-bad-unresolved.exp
4507         * gdb.dwarf2/dw2-basic.exp
4508         * gdb.dwarf2/dw2-canonicalize-type.exp
4509         * gdb.dwarf2/dw2-case-insensitive.exp
4510         * gdb.dwarf2/dw2-common-block.exp
4511         * gdb.dwarf2/dw2-compdir-oldgcc.exp
4512         * gdb.dwarf2/dw2-compressed.exp
4513         * gdb.dwarf2/dw2-const.exp
4514         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4515         * gdb.dwarf2/dw2-cu-size.exp
4516         * gdb.dwarf2/dw2-dup-frame.exp
4517         * gdb.dwarf2/dw2-entry-value.exp
4518         * gdb.dwarf2/dw2-icycle.exp
4519         * gdb.dwarf2/dw2-ifort-parameter.exp
4520         * gdb.dwarf2/dw2-inline-break.exp
4521         * gdb.dwarf2/dw2-inline-param.exp
4522         * gdb.dwarf2/dw2-intercu.exp
4523         * gdb.dwarf2/dw2-intermix.exp
4524         * gdb.dwarf2/dw2-lexical-block-bare.exp
4525         * gdb.dwarf2/dw2-linkage-name-trust.exp
4526         * gdb.dwarf2/dw2-minsym-in-cu.exp
4527         * gdb.dwarf2/dw2-noloc.exp
4528         * gdb.dwarf2/dw2-op-call.exp
4529         * gdb.dwarf2/dw2-op-out-param.exp
4530         * gdb.dwarf2/dw2-opt-structptr.exp
4531         * gdb.dwarf2/dw2-param-error.exp
4532         * gdb.dwarf2/dw2-producer.exp
4533         * gdb.dwarf2/dw2-ranges-base.exp
4534         * gdb.dwarf2/dw2-ref-missing-frame.exp
4535         * gdb.dwarf2/dw2-reg-undefined.exp
4536         * gdb.dwarf2/dw2-regno-invalid.exp
4537         * gdb.dwarf2/dw2-restore.exp
4538         * gdb.dwarf2/dw2-restrict.exp
4539         * gdb.dwarf2/dw2-single-line-discriminators.exp
4540         * gdb.dwarf2/dw2-strp.exp
4541         * gdb.dwarf2/dw2-undefined-ret-addr.exp
4542         * gdb.dwarf2/dw2-unresolved.exp
4543         * gdb.dwarf2/dw2-var-zero-addr.exp
4544         * gdb.dwarf2/dw4-sig-types.exp
4545         * gdb.dwarf2/dwz.exp
4546         * gdb.dwarf2/dynarr-ptr.exp
4547         * gdb.dwarf2/enum-type.exp
4548         * gdb.dwarf2/gdb-index.exp
4549         * gdb.dwarf2/implptr-64bit.exp
4550         * gdb.dwarf2/implptr-optimized-out.exp
4551         * gdb.dwarf2/implptr.exp
4552         * gdb.dwarf2/implref-array.exp
4553         * gdb.dwarf2/implref-const.exp
4554         * gdb.dwarf2/implref-global.exp
4555         * gdb.dwarf2/implref-struct.exp
4556         * gdb.dwarf2/mac-fileno.exp
4557         * gdb.dwarf2/main-subprogram.exp
4558         * gdb.dwarf2/member-ptr-forwardref.exp
4559         * gdb.dwarf2/method-ptr.exp
4560         * gdb.dwarf2/missing-sig-type.exp
4561         * gdb.dwarf2/nonvar-access.exp
4562         * gdb.dwarf2/opaque-type-lookup.exp
4563         * gdb.dwarf2/pieces-optimized-out.exp
4564         * gdb.dwarf2/pieces.exp
4565         * gdb.dwarf2/pr10770.exp
4566         * gdb.dwarf2/pr13961.exp
4567         * gdb.dwarf2/staticvirtual.exp
4568         * gdb.dwarf2/subrange.exp
4569         * gdb.dwarf2/symtab-producer.exp
4570         * gdb.dwarf2/trace-crash.exp
4571         * gdb.dwarf2/typeddwarf.exp
4572         * gdb.dwarf2/valop.exp
4573         * gdb.dwarf2/watch-notconst.exp
4574         * gdb.fortran/array-element.exp
4575         * gdb.fortran/charset.exp
4576         * gdb.fortran/common-block.exp
4577         * gdb.fortran/complex.exp
4578         * gdb.fortran/derived-type-function.exp
4579         * gdb.fortran/derived-type.exp
4580         * gdb.fortran/logical.exp
4581         * gdb.fortran/module.exp
4582         * gdb.fortran/multi-dim.exp
4583         * gdb.fortran/nested-funcs.exp
4584         * gdb.fortran/print-formatted.exp
4585         * gdb.fortran/subarray.exp
4586         * gdb.fortran/vla-alloc-assoc.exp
4587         * gdb.fortran/vla-datatypes.exp
4588         * gdb.fortran/vla-history.exp
4589         * gdb.fortran/vla-ptr-info.exp
4590         * gdb.fortran/vla-ptype-sub.exp
4591         * gdb.fortran/vla-ptype.exp
4592         * gdb.fortran/vla-sizeof.exp
4593         * gdb.fortran/vla-type.exp
4594         * gdb.fortran/vla-value-sub-arbitrary.exp
4595         * gdb.fortran/vla-value-sub-finish.exp
4596         * gdb.fortran/vla-value-sub.exp
4597         * gdb.fortran/vla-value.exp
4598         * gdb.fortran/whatis_type.exp
4599         * gdb.go/chan.exp
4600         * gdb.go/handcall.exp
4601         * gdb.go/hello.exp
4602         * gdb.go/integers.exp
4603         * gdb.go/methods.exp
4604         * gdb.go/package.exp
4605         * gdb.go/strings.exp
4606         * gdb.go/types.exp
4607         * gdb.go/unsafe.exp
4608         * gdb.guile/scm-arch.exp
4609         * gdb.guile/scm-block.exp
4610         * gdb.guile/scm-breakpoint.exp
4611         * gdb.guile/scm-cmd.exp
4612         * gdb.guile/scm-disasm.exp
4613         * gdb.guile/scm-equal.exp
4614         * gdb.guile/scm-frame-args.exp
4615         * gdb.guile/scm-frame-inline.exp
4616         * gdb.guile/scm-frame.exp
4617         * gdb.guile/scm-iterator.exp
4618         * gdb.guile/scm-math.exp
4619         * gdb.guile/scm-objfile.exp
4620         * gdb.guile/scm-ports.exp
4621         * gdb.guile/scm-symbol.exp
4622         * gdb.guile/scm-symtab.exp
4623         * gdb.guile/scm-value-cc.exp
4624         * gdb.guile/types-module.exp
4625         * gdb.linespec/break-ask.exp
4626         * gdb.linespec/cpexplicit.exp
4627         * gdb.linespec/explicit.exp
4628         * gdb.linespec/keywords.exp
4629         * gdb.linespec/linespec.exp
4630         * gdb.linespec/ls-dollar.exp
4631         * gdb.linespec/ls-errs.exp
4632         * gdb.linespec/skip-two.exp
4633         * gdb.linespec/thread.exp
4634         * gdb.mi/mi-async.exp
4635         * gdb.mi/mi-basics.exp
4636         * gdb.mi/mi-break.exp
4637         * gdb.mi/mi-catch-load.exp
4638         * gdb.mi/mi-cli.exp
4639         * gdb.mi/mi-cmd-param-changed.exp
4640         * gdb.mi/mi-console.exp
4641         * gdb.mi/mi-detach.exp
4642         * gdb.mi/mi-disassemble.exp
4643         * gdb.mi/mi-eval.exp
4644         * gdb.mi/mi-file-transfer.exp
4645         * gdb.mi/mi-file.exp
4646         * gdb.mi/mi-fill-memory.exp
4647         * gdb.mi/mi-inheritance-syntax-error.exp
4648         * gdb.mi/mi-linespec-err-cp.exp
4649         * gdb.mi/mi-logging.exp
4650         * gdb.mi/mi-memory-changed.exp
4651         * gdb.mi/mi-read-memory.exp
4652         * gdb.mi/mi-record-changed.exp
4653         * gdb.mi/mi-reg-undefined.exp
4654         * gdb.mi/mi-regs.exp
4655         * gdb.mi/mi-return.exp
4656         * gdb.mi/mi-reverse.exp
4657         * gdb.mi/mi-simplerun.exp
4658         * gdb.mi/mi-solib.exp
4659         * gdb.mi/mi-stack.exp
4660         * gdb.mi/mi-stepi.exp
4661         * gdb.mi/mi-syn-frame.exp
4662         * gdb.mi/mi-until.exp
4663         * gdb.mi/mi-var-block.exp
4664         * gdb.mi/mi-var-child.exp
4665         * gdb.mi/mi-var-cmd.exp
4666         * gdb.mi/mi-var-cp.exp
4667         * gdb.mi/mi-var-display.exp
4668         * gdb.mi/mi-var-invalidate.exp
4669         * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4670         * gdb.mi/mi-vla-fortran.exp
4671         * gdb.mi/mi-watch.exp
4672         * gdb.mi/mi2-var-child.exp
4673         * gdb.mi/user-selected-context-sync.exp
4674         * gdb.modula2/unbounded-array.exp
4675         * gdb.multi/dummy-frame-restore.exp
4676         * gdb.multi/multi-arch-exec.exp
4677         * gdb.multi/multi-arch.exp
4678         * gdb.multi/tids.exp
4679         * gdb.multi/watchpoint-multi.exp
4680         * gdb.opencl/callfuncs.exp
4681         * gdb.opencl/convs_casts.exp
4682         * gdb.opencl/datatypes.exp
4683         * gdb.opencl/operators.exp
4684         * gdb.opencl/vec_comps.exp
4685         * gdb.opt/clobbered-registers-O2.exp
4686         * gdb.opt/inline-break.exp
4687         * gdb.opt/inline-bt.exp
4688         * gdb.opt/inline-cmds.exp
4689         * gdb.opt/inline-locals.exp
4690         * gdb.pascal/case-insensitive-symbols.exp
4691         * gdb.pascal/floats.exp
4692         * gdb.pascal/gdb11492.exp
4693         * gdb.python/lib-types.exp
4694         * gdb.python/py-arch.exp
4695         * gdb.python/py-as-string.exp
4696         * gdb.python/py-bad-printers.exp
4697         * gdb.python/py-block.exp
4698         * gdb.python/py-breakpoint-create-fail.exp
4699         * gdb.python/py-breakpoint.exp
4700         * gdb.python/py-caller-is.exp
4701         * gdb.python/py-cmd.exp
4702         * gdb.python/py-explore-cc.exp
4703         * gdb.python/py-explore.exp
4704         * gdb.python/py-finish-breakpoint.exp
4705         * gdb.python/py-finish-breakpoint2.exp
4706         * gdb.python/py-frame-args.exp
4707         * gdb.python/py-frame-inline.exp
4708         * gdb.python/py-frame.exp
4709         * gdb.python/py-framefilter-mi.exp
4710         * gdb.python/py-infthread.exp
4711         * gdb.python/py-lazy-string.exp
4712         * gdb.python/py-linetable.exp
4713         * gdb.python/py-mi-events.exp
4714         * gdb.python/py-mi-objfile.exp
4715         * gdb.python/py-mi.exp
4716         * gdb.python/py-objfile.exp
4717         * gdb.python/py-pp-integral.exp
4718         * gdb.python/py-pp-maint.exp
4719         * gdb.python/py-pp-re-notag.exp
4720         * gdb.python/py-pp-registration.exp
4721         * gdb.python/py-recurse-unwind.exp
4722         * gdb.python/py-strfns.exp
4723         * gdb.python/py-symbol.exp
4724         * gdb.python/py-symtab.exp
4725         * gdb.python/py-sync-interp.exp
4726         * gdb.python/py-typeprint.exp
4727         * gdb.python/py-unwind-maint.exp
4728         * gdb.python/py-unwind.exp
4729         * gdb.python/py-value-cc.exp
4730         * gdb.python/py-xmethods.exp
4731         * gdb.reverse/amd64-tailcall-reverse.exp
4732         * gdb.reverse/break-precsave.exp
4733         * gdb.reverse/break-reverse.exp
4734         * gdb.reverse/consecutive-precsave.exp
4735         * gdb.reverse/consecutive-reverse.exp
4736         * gdb.reverse/finish-precsave.exp
4737         * gdb.reverse/finish-reverse-bkpt.exp
4738         * gdb.reverse/finish-reverse.exp
4739         * gdb.reverse/fstatat-reverse.exp
4740         * gdb.reverse/getresuid-reverse.exp
4741         * gdb.reverse/i386-precsave.exp
4742         * gdb.reverse/i386-reverse.exp
4743         * gdb.reverse/i386-sse-reverse.exp
4744         * gdb.reverse/i387-env-reverse.exp
4745         * gdb.reverse/i387-stack-reverse.exp
4746         * gdb.reverse/insn-reverse.exp
4747         * gdb.reverse/machinestate-precsave.exp
4748         * gdb.reverse/machinestate.exp
4749         * gdb.reverse/next-reverse-bkpt-over-sr.exp
4750         * gdb.reverse/pipe-reverse.exp
4751         * gdb.reverse/readv-reverse.exp
4752         * gdb.reverse/recvmsg-reverse.exp
4753         * gdb.reverse/rerun-prec.exp
4754         * gdb.reverse/s390-mvcle.exp
4755         * gdb.reverse/step-precsave.exp
4756         * gdb.reverse/step-reverse.exp
4757         * gdb.reverse/time-reverse.exp
4758         * gdb.reverse/until-precsave.exp
4759         * gdb.reverse/until-reverse.exp
4760         * gdb.reverse/waitpid-reverse.exp
4761         * gdb.reverse/watch-precsave.exp
4762         * gdb.reverse/watch-reverse.exp
4763         * gdb.rust/generics.exp
4764         * gdb.rust/methods.exp
4765         * gdb.rust/modules.exp
4766         * gdb.rust/simple.exp
4767         * gdb.server/connect-with-no-symbol-file.exp
4768         * gdb.server/ext-attach.exp
4769         * gdb.server/ext-restart.exp
4770         * gdb.server/ext-wrapper.exp
4771         * gdb.server/file-transfer.exp
4772         * gdb.server/server-exec-info.exp
4773         * gdb.server/server-kill.exp
4774         * gdb.server/server-mon.exp
4775         * gdb.server/wrapper.exp
4776         * gdb.stabs/exclfwd.exp
4777         * gdb.stabs/gdb11479.exp
4778         * gdb.threads/clone-new-thread-event.exp
4779         * gdb.threads/corethreads.exp
4780         * gdb.threads/current-lwp-dead.exp
4781         * gdb.threads/dlopen-libpthread.exp
4782         * gdb.threads/gcore-thread.exp
4783         * gdb.threads/sigstep-threads.exp
4784         * gdb.threads/watchpoint-fork.exp
4785         * gdb.trace/actions-changed.exp
4786         * gdb.trace/backtrace.exp
4787         * gdb.trace/change-loc.exp
4788         * gdb.trace/circ.exp
4789         * gdb.trace/collection.exp
4790         * gdb.trace/disconnected-tracing.exp
4791         * gdb.trace/ftrace.exp
4792         * gdb.trace/mi-trace-frame-collected.exp
4793         * gdb.trace/mi-trace-unavailable.exp
4794         * gdb.trace/mi-traceframe-changed.exp
4795         * gdb.trace/mi-tsv-changed.exp
4796         * gdb.trace/no-attach-trace.exp
4797         * gdb.trace/passc-dyn.exp
4798         * gdb.trace/qtro.exp
4799         * gdb.trace/range-stepping.exp
4800         * gdb.trace/read-memory.exp
4801         * gdb.trace/save-trace.exp
4802         * gdb.trace/signal.exp
4803         * gdb.trace/status-stop.exp
4804         * gdb.trace/tfile.exp
4805         * gdb.trace/trace-break.exp
4806         * gdb.trace/trace-buffer-size.exp
4807         * gdb.trace/trace-condition.exp
4808         * gdb.trace/tracefile-pseudo-reg.exp
4809         * gdb.trace/tstatus.exp
4810         * gdb.trace/unavailable.exp
4811         * gdb.trace/while-dyn.exp
4812         * gdb.trace/while-stepping.exp
4813
4814 2016-12-22  Doug Evans  <xdje42@gmail.com>
4815
4816         * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4817         and msymbols.
4818
4819 2016-12-19  Yao Qi  <yao.qi@linaro.org>
4820
4821         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4822         (test_with_self): Don't call do_steps_and_nexts, and remove
4823         code about stepping into xmalloc.
4824
4825 2016-12-09  Yao Qi  <yao.qi@linaro.org>
4826
4827         * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4828
4829 2016-12-09  Yao Qi  <yao.qi@linaro.org>
4830
4831         * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4832
4833 2016-12-09  Pedro Alves  <palves@redhat.com>
4834
4835         * gdb.base/all-architectures-0.exp: New file.
4836         * gdb.base/all-architectures-1.exp: New file.
4837         * gdb.base/all-architectures-2.exp: New file.
4838         * gdb.base/all-architectures-3.exp: New file.
4839         * gdb.base/all-architectures-4.exp: New file.
4840         * gdb.base/all-architectures-5.exp: New file.
4841         * gdb.base/all-architectures-6.exp: New file.
4842         * gdb.base/all-architectures-7.exp: New file.
4843         * gdb.base/all-architectures.exp.in: New file.
4844
4845 2016-12-09  Yao Qi  <yao.qi@linaro.org>
4846
4847         * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4848
4849 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
4850
4851         * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4852         possible.
4853         Remove useless pattern-matching code.
4854
4855 2016-12-02  Pedro Alves  <palves@redhat.com>
4856
4857         * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4858         procedure.
4859         (top level): Call it.
4860
4861 2016-12-02  Pedro Alves  <palves@redhat.com>
4862
4863         * gdb.base/commands.exp (user_defined_command_args_stack_test):
4864         New procedure.
4865         (top level): Call it.
4866
4867 2016-12-02  Pedro Alves  <palves@redhat.com>
4868
4869         PR cli/20559
4870         * gdb.base/commands.exp (user_defined_command_args_eval): New
4871         procedure.
4872         (top level): Call it.
4873
4874 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
4875
4876         * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4877         timeout handling.
4878
4879 2016-12-02  Tom Tromey  <tom@tromey.com>
4880
4881         * gdb.dwarf2/main-subprogram.c: New file.
4882         * gdb.dwarf2/main-subprogram.exp: New file.
4883
4884 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
4885
4886         * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4887         * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
4888         gdb_test_no_output for a couple of cases.
4889         * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
4890
4891 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
4892
4893         Fix test names and standardize compilation error messages throughout
4894         the following files:
4895
4896         * gdb.ada/start.exp
4897         * gdb.arch/alpha-step.exp
4898         * gdb.arch/e500-prologue.exp
4899         * gdb.arch/ftrace-insn-reloc.exp
4900         * gdb.arch/gdb1291.exp
4901         * gdb.arch/gdb1431.exp
4902         * gdb.arch/gdb1558.exp
4903         * gdb.arch/i386-dr3-watch.exp
4904         * gdb.arch/i386-sse-stack-align.exp
4905         * gdb.arch/ia64-breakpoint-shadow.exp
4906         * gdb.arch/pa-nullify.exp
4907         * gdb.arch/powerpc-aix-prologue.exp
4908         * gdb.arch/thumb-bx-pc.exp
4909         * gdb.base/annota1.exp
4910         * gdb.base/annota3.exp
4911         * gdb.base/arrayidx.exp
4912         * gdb.base/assign.exp
4913         * gdb.base/attach.exp
4914         * gdb.base/auxv.exp
4915         * gdb.base/bang.exp
4916         * gdb.base/bfp-test.exp
4917         * gdb.base/bigcore.exp
4918         * gdb.base/bitfields2.exp
4919         * gdb.base/break-fun-addr.exp
4920         * gdb.base/break-probes.exp
4921         * gdb.base/call-rt-st.exp
4922         * gdb.base/callexit.exp
4923         * gdb.base/catch-fork-kill.exp
4924         * gdb.base/charset.exp
4925         * gdb.base/checkpoint.exp
4926         * gdb.base/comprdebug.exp
4927         * gdb.base/constvars.exp
4928         * gdb.base/coredump-filter.exp
4929         * gdb.base/cursal.exp
4930         * gdb.base/cvexpr.exp
4931         * gdb.base/detach.exp
4932         * gdb.base/display.exp
4933         * gdb.base/dmsym.exp
4934         * gdb.base/dprintf-pending.exp
4935         * gdb.base/dso2dso.exp
4936         * gdb.base/dtrace-probe.exp
4937         * gdb.base/dump.exp
4938         * gdb.base/enum_cond.exp
4939         * gdb.base/exe-lock.exp
4940         * gdb.base/exec-invalid-sysroot.exp
4941         * gdb.base/execl-update-breakpoints.exp
4942         * gdb.base/exprs.exp
4943         * gdb.base/fileio.exp
4944         * gdb.base/find.exp
4945         * gdb.base/finish.exp
4946         * gdb.base/fixsection.exp
4947         * gdb.base/foll-vfork.exp
4948         * gdb.base/frame-args.exp
4949         * gdb.base/gcore.exp
4950         * gdb.base/gdb1250.exp
4951         * gdb.base/global-var-nested-by-dso.exp
4952         * gdb.base/gnu-ifunc.exp
4953         * gdb.base/hashline1.exp
4954         * gdb.base/hashline2.exp
4955         * gdb.base/hashline3.exp
4956         * gdb.base/hbreak-in-shr-unsupported.exp
4957         * gdb.base/huge.exp
4958         * gdb.base/infcall-input.exp
4959         * gdb.base/info-fun.exp
4960         * gdb.base/info-shared.exp
4961         * gdb.base/jit-simple.exp
4962         * gdb.base/jit-so.exp
4963         * gdb.base/jit.exp
4964         * gdb.base/jump.exp
4965         * gdb.base/label.exp
4966         * gdb.base/lineinc.exp
4967         * gdb.base/logical.exp
4968         * gdb.base/longjmp.exp
4969         * gdb.base/macscp.exp
4970         * gdb.base/miscexprs.exp
4971         * gdb.base/new-ui-echo.exp
4972         * gdb.base/new-ui-pending-input.exp
4973         * gdb.base/new-ui.exp
4974         * gdb.base/nodebug.exp
4975         * gdb.base/nofield.exp
4976         * gdb.base/offsets.exp
4977         * gdb.base/overlays.exp
4978         * gdb.base/pending.exp
4979         * gdb.base/pointers.exp
4980         * gdb.base/pr11022.exp
4981         * gdb.base/printcmds.exp
4982         * gdb.base/prologue.exp
4983         * gdb.base/ptr-typedef.exp
4984         * gdb.base/realname-expand.exp
4985         * gdb.base/relativedebug.exp
4986         * gdb.base/relocate.exp
4987         * gdb.base/remote.exp
4988         * gdb.base/reread.exp
4989         * gdb.base/return2.exp
4990         * gdb.base/savedregs.exp
4991         * gdb.base/sep.exp
4992         * gdb.base/sepdebug.exp
4993         * gdb.base/sepsymtab.exp
4994         * gdb.base/set-inferior-tty.exp
4995         * gdb.base/setshow.exp
4996         * gdb.base/shlib-call.exp
4997         * gdb.base/sigaltstack.exp
4998         * gdb.base/siginfo-addr.exp
4999         * gdb.base/signals.exp
5000         * gdb.base/signull.exp
5001         * gdb.base/sigrepeat.exp
5002         * gdb.base/so-impl-ld.exp
5003         * gdb.base/solib-display.exp
5004         * gdb.base/solib-overlap.exp
5005         * gdb.base/solib-search.exp
5006         * gdb.base/solib-symbol.exp
5007         * gdb.base/structs.exp
5008         * gdb.base/structs2.exp
5009         * gdb.base/symtab-search-order.exp
5010         * gdb.base/twice.exp
5011         * gdb.base/unload.exp
5012         * gdb.base/varargs.exp
5013         * gdb.base/watchpoint-solib.exp
5014         * gdb.base/watchpoint.exp
5015         * gdb.base/whatis.exp
5016         * gdb.base/wrong_frame_bt_full.exp
5017         * gdb.btrace/dlopen.exp
5018         * gdb.cell/ea-standalone.exp
5019         * gdb.cell/ea-test.exp
5020         * gdb.cp/dispcxx.exp
5021         * gdb.cp/gdb2384.exp
5022         * gdb.cp/method2.exp
5023         * gdb.cp/nextoverthrow.exp
5024         * gdb.cp/pr10728.exp
5025         * gdb.disasm/am33.exp
5026         * gdb.disasm/h8300s.exp
5027         * gdb.disasm/mn10300.exp
5028         * gdb.disasm/sh3.exp
5029         * gdb.dwarf2/dw2-dir-file-name.exp
5030         * gdb.fortran/complex.exp
5031         * gdb.fortran/library-module.exp
5032         * gdb.guile/scm-pretty-print.exp
5033         * gdb.guile/scm-symbol.exp
5034         * gdb.guile/scm-type.exp
5035         * gdb.guile/scm-value.exp
5036         * gdb.linespec/linespec.exp
5037         * gdb.mi/gdb701.exp
5038         * gdb.mi/gdb792.exp
5039         * gdb.mi/mi-breakpoint-changed.exp
5040         * gdb.mi/mi-dprintf-pending.exp
5041         * gdb.mi/mi-dprintf.exp
5042         * gdb.mi/mi-exit-code.exp
5043         * gdb.mi/mi-pending.exp
5044         * gdb.mi/mi-solib.exp
5045         * gdb.mi/new-ui-mi-sync.exp
5046         * gdb.mi/pr11022.exp
5047         * gdb.mi/user-selected-context-sync.exp
5048         * gdb.opt/solib-intra-step.exp
5049         * gdb.python/py-events.exp
5050         * gdb.python/py-finish-breakpoint.exp
5051         * gdb.python/py-mi.exp
5052         * gdb.python/py-prettyprint.exp
5053         * gdb.python/py-shared.exp
5054         * gdb.python/py-symbol.exp
5055         * gdb.python/py-template.exp
5056         * gdb.python/py-type.exp
5057         * gdb.python/py-value.exp
5058         * gdb.reverse/solib-precsave.exp
5059         * gdb.reverse/solib-reverse.exp
5060         * gdb.server/solib-list.exp
5061         * gdb.stabs/weird.exp
5062         * gdb.threads/reconnect-signal.exp
5063         * gdb.threads/stepi-random-signal.exp
5064         * gdb.trace/actions.exp
5065         * gdb.trace/ax.exp
5066         * gdb.trace/backtrace.exp
5067         * gdb.trace/change-loc.exp
5068         * gdb.trace/deltrace.exp
5069         * gdb.trace/ftrace-lock.exp
5070         * gdb.trace/ftrace.exp
5071         * gdb.trace/infotrace.exp
5072         * gdb.trace/mi-tracepoint-changed.exp
5073         * gdb.trace/packetlen.exp
5074         * gdb.trace/passcount.exp
5075         * gdb.trace/pending.exp
5076         * gdb.trace/range-stepping.exp
5077         * gdb.trace/report.exp
5078         * gdb.trace/stap-trace.exp
5079         * gdb.trace/tfind.exp
5080         * gdb.trace/trace-break.exp
5081         * gdb.trace/trace-condition.exp
5082         * gdb.trace/trace-enable-disable.exp
5083         * gdb.trace/trace-mt.exp
5084         * gdb.trace/tracecmd.exp
5085         * gdb.trace/tspeed.exp
5086         * gdb.trace/tsv.exp
5087         * lib/perftest.exp
5088
5089 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5090
5091         * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
5092         with gdb_test_no_output.
5093         Use command as test name.
5094
5095 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5096
5097         Fix test names starting with uppercase throughout the files.
5098
5099         * gdb.ada/assign_1.exp
5100         * gdb.ada/boolean_expr.exp
5101         * gdb.base/arrayidx.exp
5102         * gdb.base/del.exp
5103         * gdb.base/gcore-buffer-overflow.exp
5104         * gdb.base/testenv.exp
5105         * gdb.compile/compile.exp
5106         * gdb.python/py-framefilter-invalidarg.exp
5107         * gdb.python/py-framefilter.exp
5108
5109 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5110
5111         Fix test names starting with uppercase throughout the files.
5112
5113         * gdb.ada/array_return.exp
5114         * gdb.ada/expr_delims.exp
5115         * gdb.ada/mi_dyn_arr.exp
5116         * gdb.ada/mi_interface.exp
5117         * gdb.ada/mi_var_array.exp
5118         * gdb.ada/watch_arg.exp
5119         * gdb.arch/alpha-step.exp
5120         * gdb.arch/altivec-regs.exp
5121         * gdb.arch/e500-regs.exp
5122         * gdb.arch/powerpc-d128-regs.exp
5123         * gdb.base/arrayidx.exp
5124         * gdb.base/break.exp
5125         * gdb.base/checkpoint.exp
5126         * gdb.base/debug-expr.exp
5127         * gdb.base/dmsym.exp
5128         * gdb.base/radix.exp
5129         * gdb.base/sepdebug.exp
5130         * gdb.base/testenv.exp
5131         * gdb.base/watch_thread_num.exp
5132         * gdb.base/watchpoint-cond-gone.exp
5133         * gdb.cell/break.exp
5134         * gdb.cell/ea-cache.exp
5135         * gdb.compile/compile.exp
5136         * gdb.cp/gdb2495.exp
5137         * gdb.gdb/selftest.exp
5138         * gdb.gdb/xfullpath.exp
5139         * gdb.go/hello.exp
5140         * gdb.go/integers.exp
5141         * gdb.objc/basicclass.exp
5142         * gdb.pascal/hello.exp
5143         * gdb.pascal/integers.exp
5144         * gdb.python/py-breakpoint.exp
5145         * gdb.python/py-cmd.exp
5146         * gdb.python/py-linetable.exp
5147         * gdb.python/py-xmethods.exp
5148         * gdb.python/python.exp
5149         * gdb.reverse/consecutive-precsave.exp
5150         * gdb.reverse/finish-precsave.exp
5151         * gdb.reverse/i386-precsave.exp
5152         * gdb.reverse/machinestate-precsave.exp
5153         * gdb.reverse/sigall-precsave.exp
5154         * gdb.reverse/solib-precsave.exp
5155         * gdb.reverse/step-precsave.exp
5156         * gdb.reverse/until-precsave.exp
5157         * gdb.reverse/watch-precsave.exp
5158         * gdb.threads/leader-exit.exp
5159         * gdb.threads/pthreads.exp
5160         * gdb.threads/wp-replication.exp
5161         * gdb.trace/actions.exp
5162         * gdb.trace/mi-tsv-changed.exp
5163         * gdb.trace/tsv.exp
5164
5165 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5166
5167         Fix test names starting with uppercase throughout the files.
5168
5169         * gdb.arch/i386-bp_permanent.exp
5170         * gdb.arch/i386-gnu-cfi.exp
5171         * gdb.base/disasm-end-cu.exp
5172         * gdb.base/macscp.exp
5173         * gdb.base/pending.exp
5174         * gdb.base/watch_thread_num.exp
5175         * gdb.cp/exception.exp
5176         * gdb.cp/gdb2495.exp
5177         * gdb.cp/local.exp
5178         * gdb.python/py-evsignal.exp
5179         * gdb.python/python.exp
5180         * gdb.trace/tracecmd.exp
5181
5182 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5183
5184         Fix test names starting with uppercase throughout the files.
5185
5186         * gdb.base/charset.exp
5187         * gdb.base/eval.exp
5188         * gdb.base/multi-forks.exp
5189         * gdb.guile/scm-progspace.exp
5190         * gdb.opencl/datatypes.exp
5191         * gdb.python/py-block.exp
5192         * gdb.python/py-function.exp
5193         * gdb.python/py-symbol.exp
5194         * gdb.python/py-symtab.exp
5195         * gdb.python/py-xmethods.exp
5196         * gdb.reverse/break-precsave.exp
5197         * gdb.reverse/break-reverse.exp
5198         * gdb.reverse/consecutive-precsave.exp
5199         * gdb.reverse/consecutive-reverse.exp
5200         * gdb.reverse/finish-precsave.exp
5201         * gdb.reverse/finish-reverse-bkpt.exp
5202         * gdb.reverse/finish-reverse.exp
5203         * gdb.reverse/fstatat-reverse.exp
5204         * gdb.reverse/getresuid-reverse.exp
5205         * gdb.reverse/i386-precsave.exp
5206         * gdb.reverse/i386-reverse.exp
5207         * gdb.reverse/i386-sse-reverse.exp
5208         * gdb.reverse/i387-stack-reverse.exp
5209         * gdb.reverse/insn-reverse.exp
5210         * gdb.reverse/machinestate-precsave.exp
5211         * gdb.reverse/machinestate.exp
5212         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5213         * gdb.reverse/pipe-reverse.exp
5214         * gdb.reverse/readv-reverse.exp
5215         * gdb.reverse/recvmsg-reverse.exp
5216         * gdb.reverse/rerun-prec.exp
5217         * gdb.reverse/s390-mvcle.exp
5218         * gdb.reverse/sigall-precsave.exp
5219         * gdb.reverse/sigall-reverse.exp
5220         * gdb.reverse/solib-precsave.exp
5221         * gdb.reverse/solib-reverse.exp
5222         * gdb.reverse/step-precsave.exp
5223         * gdb.reverse/step-reverse.exp
5224         * gdb.reverse/time-reverse.exp
5225         * gdb.reverse/until-precsave.exp
5226         * gdb.reverse/until-reverse.exp
5227         * gdb.reverse/waitpid-reverse.exp
5228         * gdb.reverse/watch-precsave.exp
5229         * gdb.reverse/watch-reverse.exp
5230
5231 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5232
5233         Fix test names starting with uppercase throughout the files.
5234
5235         * gdb.arch/i386-mpx-simple_segv.exp
5236         * gdb.arch/i386-mpx.exp
5237         * gdb.arch/i386-permbkpt.exp
5238         * gdb.arch/pa-nullify.exp
5239         * gdb.arch/powerpc-d128-regs.exp
5240         * gdb.arch/vsx-regs.exp
5241         * gdb.base/bfp-test.exp
5242         * gdb.base/break.exp
5243         * gdb.base/breakpoint-shadow.exp
5244         * gdb.base/callfuncs.exp
5245         * gdb.base/charset.exp
5246         * gdb.base/commands.exp
5247         * gdb.base/completion.exp
5248         * gdb.base/dfp-test.exp
5249         * gdb.base/echo.exp
5250         * gdb.base/ending-run.exp
5251         * gdb.base/eval.exp
5252         * gdb.base/expand-psymtabs.exp
5253         * gdb.base/float128.exp
5254         * gdb.base/floatn.exp
5255         * gdb.base/foll-exec-mode.exp
5256         * gdb.base/gdb1056.exp
5257         * gdb.base/gdb11531.exp
5258         * gdb.base/kill-after-signal.exp
5259         * gdb.base/multi-forks.exp
5260         * gdb.base/overlays.exp
5261         * gdb.base/pending.exp
5262         * gdb.base/sepdebug.exp
5263         * gdb.base/testenv.exp
5264         * gdb.base/valgrind-db-attach.exp
5265         * gdb.base/watch_thread_num.exp
5266         * gdb.base/watchpoint-cond-gone.exp
5267         * gdb.base/watchpoint.exp
5268         * gdb.base/watchpoints.exp
5269         * gdb.cp/arg-reference.exp
5270         * gdb.cp/baseenum.exp
5271         * gdb.cp/operator.exp
5272         * gdb.cp/shadow.exp
5273         * gdb.dwarf2/dw2-op-out-param.exp
5274         * gdb.dwarf2/dw2-reg-undefined.exp
5275         * gdb.go/chan.exp
5276         * gdb.go/hello.exp
5277         * gdb.go/integers.exp
5278         * gdb.go/methods.exp
5279         * gdb.go/package.exp
5280         * gdb.guile/scm-parameter.exp
5281         * gdb.guile/scm-progspace.exp
5282         * gdb.guile/scm-value.exp
5283         * gdb.mi/mi-pending.exp
5284         * gdb.mi/user-selected-context-sync.exp
5285         * gdb.multi/multi-attach.exp
5286         * gdb.multi/tids.exp
5287         * gdb.opt/clobbered-registers-O2.exp
5288         * gdb.pascal/floats.exp
5289         * gdb.pascal/integers.exp
5290         * gdb.python/py-block.exp
5291         * gdb.python/py-events.exp
5292         * gdb.python/py-parameter.exp
5293         * gdb.python/py-symbol.exp
5294         * gdb.python/py-symtab.exp
5295         * gdb.python/py-type.exp
5296         * gdb.python/py-value.exp
5297         * gdb.python/py-xmethods.exp
5298         * gdb.python/python.exp
5299         * gdb.reverse/break-precsave.exp
5300         * gdb.reverse/consecutive-precsave.exp
5301         * gdb.reverse/finish-precsave.exp
5302         * gdb.reverse/i386-precsave.exp
5303         * gdb.reverse/machinestate-precsave.exp
5304         * gdb.reverse/sigall-precsave.exp
5305         * gdb.reverse/solib-precsave.exp
5306         * gdb.reverse/step-precsave.exp
5307         * gdb.reverse/until-precsave.exp
5308         * gdb.reverse/watch-precsave.exp
5309         * gdb.server/ext-attach.exp
5310         * gdb.server/ext-restart.exp
5311         * gdb.server/ext-run.exp
5312         * gdb.server/ext-wrapper.exp
5313         * gdb.stabs/gdb11479.exp
5314         * gdb.stabs/weird.exp
5315         * gdb.threads/attach-many-short-lived-threads.exp
5316         * gdb.threads/kill.exp
5317         * gdb.threads/watchpoint-fork.exp
5318
5319 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5320
5321         Fix test names starting with uppercase throughout all the files below.
5322
5323         * gdb.ada/array_return.exp
5324         * gdb.ada/catch_ex.exp
5325         * gdb.ada/info_exc.exp
5326         * gdb.ada/mi_catch_ex.exp
5327         * gdb.ada/mi_dyn_arr.exp
5328         * gdb.ada/mi_ex_cond.exp
5329         * gdb.ada/mi_exc_info.exp
5330         * gdb.ada/mi_interface.exp
5331         * gdb.ada/mi_task_arg.exp
5332         * gdb.ada/mi_task_info.exp
5333         * gdb.ada/mi_var_array.exp
5334         * gdb.arch/alpha-step.exp
5335         * gdb.arch/amd64-disp-step.exp
5336         * gdb.arch/arm-disp-step.exp
5337         * gdb.arch/disp-step-insn-reloc.exp
5338         * gdb.arch/e500-prologue.exp
5339         * gdb.arch/ftrace-insn-reloc.exp
5340         * gdb.arch/gdb1558.exp
5341         * gdb.arch/i386-bp_permanent.exp
5342         * gdb.arch/i386-disp-step.exp
5343         * gdb.arch/i386-float.exp
5344         * gdb.arch/i386-gnu-cfi.exp
5345         * gdb.arch/ia64-breakpoint-shadow.exp
5346         * gdb.arch/mips16-thunks.exp
5347         * gdb.arch/pa-nullify.exp
5348         * gdb.arch/powerpc-aix-prologue.exp
5349         * gdb.arch/powerpc-power.exp
5350         * gdb.arch/ppc-dfp.exp
5351         * gdb.arch/s390-tdbregs.exp
5352         * gdb.arch/spu-info.exp
5353         * gdb.arch/spu-ls.exp
5354         * gdb.arch/thumb-bx-pc.exp
5355         * gdb.base/advance.exp
5356         * gdb.base/annota-input-while-running.exp
5357         * gdb.base/arrayidx.exp
5358         * gdb.base/asmlabel.exp
5359         * gdb.base/async.exp
5360         * gdb.base/attach-wait-input.exp
5361         * gdb.base/auto-connect-native-target.exp
5362         * gdb.base/batch-preserve-term-settings.exp
5363         * gdb.base/bfp-test.exp
5364         * gdb.base/bigcore.exp
5365         * gdb.base/bp-permanent.exp
5366         * gdb.base/break-always.exp
5367         * gdb.base/break-fun-addr.exp
5368         * gdb.base/break-idempotent.exp
5369         * gdb.base/break-main-file-remove-fail.exp
5370         * gdb.base/break-probes.exp
5371         * gdb.base/break-unload-file.exp
5372         * gdb.base/break.exp
5373         * gdb.base/call-ar-st.exp
5374         * gdb.base/call-rt-st.exp
5375         * gdb.base/call-sc.exp
5376         * gdb.base/call-signal-resume.exp
5377         * gdb.base/call-strs.exp
5378         * gdb.base/callexit.exp
5379         * gdb.base/callfuncs.exp
5380         * gdb.base/catch-gdb-caused-signals.exp
5381         * gdb.base/catch-signal-siginfo-cond.exp
5382         * gdb.base/catch-syscall.exp
5383         * gdb.base/compare-sections.exp
5384         * gdb.base/cond-eval-mode.exp
5385         * gdb.base/condbreak-call-false.exp
5386         * gdb.base/consecutive-step-over.exp
5387         * gdb.base/cursal.exp
5388         * gdb.base/disabled-location.exp
5389         * gdb.base/disasm-end-cu.exp
5390         * gdb.base/display.exp
5391         * gdb.base/double-prompt-target-event-error.exp
5392         * gdb.base/dprintf-bp-same-addr.exp
5393         * gdb.base/dprintf-detach.exp
5394         * gdb.base/dprintf-next.exp
5395         * gdb.base/dprintf-non-stop.exp
5396         * gdb.base/dprintf-pending.exp
5397         * gdb.base/dso2dso.exp
5398         * gdb.base/ending-run.exp
5399         * gdb.base/enum_cond.exp
5400         * gdb.base/examine-backward.exp
5401         * gdb.base/exe-lock.exp
5402         * gdb.base/exec-invalid-sysroot.exp
5403         * gdb.base/execl-update-breakpoints.exp
5404         * gdb.base/execution-termios.exp
5405         * gdb.base/fileio.exp
5406         * gdb.base/fixsection.exp
5407         * gdb.base/foll-exec-mode.exp
5408         * gdb.base/foll-exec.exp
5409         * gdb.base/fork-running-state.exp
5410         * gdb.base/frame-args.exp
5411         * gdb.base/fullpath-expand.exp
5412         * gdb.base/func-ptr.exp
5413         * gdb.base/gcore-relro-pie.exp
5414         * gdb.base/gdb1090.exp
5415         * gdb.base/gdb1555.exp
5416         * gdb.base/global-var-nested-by-dso.exp
5417         * gdb.base/gnu-ifunc.exp
5418         * gdb.base/hbreak-in-shr-unsupported.exp
5419         * gdb.base/hbreak-unmapped.exp
5420         * gdb.base/hook-stop.exp
5421         * gdb.base/infcall-input.exp
5422         * gdb.base/info-fun.exp
5423         * gdb.base/info-shared.exp
5424         * gdb.base/interrupt-noterm.exp
5425         * gdb.base/jit-so.exp
5426         * gdb.base/jit.exp
5427         * gdb.base/line-symtabs.exp
5428         * gdb.base/list.exp
5429         * gdb.base/longjmp.exp
5430         * gdb.base/macscp.exp
5431         * gdb.base/max-value-size.exp
5432         * gdb.base/nodebug.exp
5433         * gdb.base/nofield.exp
5434         * gdb.base/overlays.exp
5435         * gdb.base/paginate-after-ctrl-c-running.exp
5436         * gdb.base/paginate-bg-execution.exp
5437         * gdb.base/paginate-inferior-exit.exp
5438         * gdb.base/pending.exp
5439         * gdb.base/pr11022.exp
5440         * gdb.base/printcmds.exp
5441         * gdb.base/ptr-typedef.exp
5442         * gdb.base/ptype.exp
5443         * gdb.base/randomize.exp
5444         * gdb.base/range-stepping.exp
5445         * gdb.base/realname-expand.exp
5446         * gdb.base/relativedebug.exp
5447         * gdb.base/remote.exp
5448         * gdb.base/savedregs.exp
5449         * gdb.base/sepdebug.exp
5450         * gdb.base/set-noassign.exp
5451         * gdb.base/shlib-call.exp
5452         * gdb.base/shreloc.exp
5453         * gdb.base/sigaltstack.exp
5454         * gdb.base/sigbpt.exp
5455         * gdb.base/siginfo-addr.exp
5456         * gdb.base/siginfo-obj.exp
5457         * gdb.base/siginfo-thread.exp
5458         * gdb.base/signest.exp
5459         * gdb.base/signull.exp
5460         * gdb.base/sigrepeat.exp
5461         * gdb.base/skip.exp
5462         * gdb.base/so-impl-ld.exp
5463         * gdb.base/solib-corrupted.exp
5464         * gdb.base/solib-disc.exp
5465         * gdb.base/solib-display.exp
5466         * gdb.base/solib-overlap.exp
5467         * gdb.base/solib-search.exp
5468         * gdb.base/solib-symbol.exp
5469         * gdb.base/source-execution.exp
5470         * gdb.base/sss-bp-on-user-bp-2.exp
5471         * gdb.base/sss-bp-on-user-bp.exp
5472         * gdb.base/stack-checking.exp
5473         * gdb.base/stale-infcall.exp
5474         * gdb.base/step-break.exp
5475         * gdb.base/step-line.exp
5476         * gdb.base/step-over-exit.exp
5477         * gdb.base/step-test.exp
5478         * gdb.base/structs.exp
5479         * gdb.base/sym-file.exp
5480         * gdb.base/symtab-search-order.exp
5481         * gdb.base/term.exp
5482         * gdb.base/type-opaque.exp
5483         * gdb.base/unload.exp
5484         * gdb.base/until-nodebug.exp
5485         * gdb.base/until.exp
5486         * gdb.base/unwindonsignal.exp
5487         * gdb.base/watch-cond.exp
5488         * gdb.base/watch-non-mem.exp
5489         * gdb.base/watch_thread_num.exp
5490         * gdb.base/watchpoint-reuse-slot.exp
5491         * gdb.base/watchpoint-solib.exp
5492         * gdb.base/watchpoint.exp
5493         * gdb.btrace/dlopen.exp
5494         * gdb.cell/arch.exp
5495         * gdb.cell/break.exp
5496         * gdb.cell/bt.exp
5497         * gdb.cell/core.exp
5498         * gdb.cell/data.exp
5499         * gdb.cell/dwarfaddr.exp
5500         * gdb.cell/ea-cache.exp
5501         * gdb.cell/ea-standalone.exp
5502         * gdb.cell/ea-test.exp
5503         * gdb.cell/f-regs.exp
5504         * gdb.cell/fork.exp
5505         * gdb.cell/gcore.exp
5506         * gdb.cell/mem-access.exp
5507         * gdb.cell/ptype.exp
5508         * gdb.cell/registers.exp
5509         * gdb.cell/sizeof.exp
5510         * gdb.cell/solib-symbol.exp
5511         * gdb.cell/solib.exp
5512         * gdb.compile/compile-tls.exp
5513         * gdb.cp/exception.exp
5514         * gdb.cp/gdb2495.exp
5515         * gdb.cp/local.exp
5516         * gdb.cp/mb-inline.exp
5517         * gdb.cp/mb-templates.exp
5518         * gdb.cp/pr10687.exp
5519         * gdb.cp/pr9167.exp
5520         * gdb.cp/scope-err.exp
5521         * gdb.cp/templates.exp
5522         * gdb.cp/virtfunc.exp
5523         * gdb.dwarf2/dw2-dir-file-name.exp
5524         * gdb.dwarf2/dw2-single-line-discriminators.exp
5525         * gdb.fortran/complex.exp
5526         * gdb.fortran/library-module.exp
5527         * gdb.guile/guile.exp
5528         * gdb.guile/scm-cmd.exp
5529         * gdb.guile/scm-frame-inline.exp
5530         * gdb.guile/scm-objfile.exp
5531         * gdb.guile/scm-pretty-print.exp
5532         * gdb.guile/scm-symbol.exp
5533         * gdb.guile/scm-type.exp
5534         * gdb.guile/scm-value.exp
5535         * gdb.linespec/keywords.exp
5536         * gdb.linespec/ls-errs.exp
5537         * gdb.linespec/macro-relative.exp
5538         * gdb.linespec/thread.exp
5539         * gdb.mi/mi-breakpoint-changed.exp
5540         * gdb.mi/mi-dprintf-pending.exp
5541         * gdb.mi/mi-fullname-deleted.exp
5542         * gdb.mi/mi-logging.exp
5543         * gdb.mi/mi-pending.exp
5544         * gdb.mi/mi-solib.exp
5545         * gdb.mi/new-ui-mi-sync.exp
5546         * gdb.mi/user-selected-context-sync.exp
5547         * gdb.multi/dummy-frame-restore.exp
5548         * gdb.multi/multi-arch-exec.exp
5549         * gdb.multi/remove-inferiors.exp
5550         * gdb.multi/watchpoint-multi-exit.exp
5551         * gdb.opt/solib-intra-step.exp
5552         * gdb.perf/backtrace.exp
5553         * gdb.perf/single-step.exp
5554         * gdb.perf/skip-command.exp
5555         * gdb.perf/skip-prologue.exp
5556         * gdb.perf/solib.exp
5557         * gdb.python/lib-types.exp
5558         * gdb.python/py-as-string.exp
5559         * gdb.python/py-bad-printers.exp
5560         * gdb.python/py-block.exp
5561         * gdb.python/py-breakpoint.exp
5562         * gdb.python/py-cmd.exp
5563         * gdb.python/py-events.exp
5564         * gdb.python/py-evthreads.exp
5565         * gdb.python/py-finish-breakpoint.exp
5566         * gdb.python/py-finish-breakpoint2.exp
5567         * gdb.python/py-frame-inline.exp
5568         * gdb.python/py-frame.exp
5569         * gdb.python/py-inferior.exp
5570         * gdb.python/py-infthread.exp
5571         * gdb.python/py-mi.exp
5572         * gdb.python/py-objfile.exp
5573         * gdb.python/py-pp-maint.exp
5574         * gdb.python/py-pp-registration.exp
5575         * gdb.python/py-prettyprint.exp
5576         * gdb.python/py-recurse-unwind.exp
5577         * gdb.python/py-shared.exp
5578         * gdb.python/py-symbol.exp
5579         * gdb.python/py-symtab.exp
5580         * gdb.python/py-template.exp
5581         * gdb.python/py-type.exp
5582         * gdb.python/py-unwind-maint.exp
5583         * gdb.python/py-unwind.exp
5584         * gdb.python/py-value.exp
5585         * gdb.python/python.exp
5586         * gdb.reverse/finish-reverse-bkpt.exp
5587         * gdb.reverse/insn-reverse.exp
5588         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5589         * gdb.reverse/solib-precsave.exp
5590         * gdb.reverse/solib-reverse.exp
5591         * gdb.stabs/gdb11479.exp
5592         * gdb.stabs/weird.exp
5593         * gdb.threads/fork-child-threads.exp
5594         * gdb.threads/fork-plus-threads.exp
5595         * gdb.threads/fork-thread-pending.exp
5596         * gdb.threads/forking-threads-plus-breakpoint.exp
5597         * gdb.threads/hand-call-in-threads.exp
5598         * gdb.threads/interrupted-hand-call.exp
5599         * gdb.threads/linux-dp.exp
5600         * gdb.threads/local-watch-wrong-thread.exp
5601         * gdb.threads/next-while-other-thread-longjmps.exp
5602         * gdb.threads/non-ldr-exit.exp
5603         * gdb.threads/pending-step.exp
5604         * gdb.threads/print-threads.exp
5605         * gdb.threads/process-dies-while-detaching.exp
5606         * gdb.threads/process-dies-while-handling-bp.exp
5607         * gdb.threads/pthreads.exp
5608         * gdb.threads/queue-signal.exp
5609         * gdb.threads/reconnect-signal.exp
5610         * gdb.threads/signal-command-handle-nopass.exp
5611         * gdb.threads/signal-command-multiple-signals-pending.exp
5612         * gdb.threads/signal-delivered-right-thread.exp
5613         * gdb.threads/signal-sigtrap.exp
5614         * gdb.threads/sigthread.exp
5615         * gdb.threads/staticthreads.exp
5616         * gdb.threads/stepi-random-signal.exp
5617         * gdb.threads/thread-unwindonsignal.exp
5618         * gdb.threads/thread_check.exp
5619         * gdb.threads/thread_events.exp
5620         * gdb.threads/tid-reuse.exp
5621         * gdb.threads/tls-nodebug.exp
5622         * gdb.threads/tls-shared.exp
5623         * gdb.threads/tls-so_extern.exp
5624         * gdb.threads/tls.exp
5625         * gdb.threads/wp-replication.exp
5626         * gdb.trace/actions-changed.exp
5627         * gdb.trace/actions.exp
5628         * gdb.trace/backtrace.exp
5629         * gdb.trace/change-loc.exp
5630         * gdb.trace/collection.exp
5631         * gdb.trace/deltrace.exp
5632         * gdb.trace/disconnected-tracing.exp
5633         * gdb.trace/entry-values.exp
5634         * gdb.trace/ftrace-lock.exp
5635         * gdb.trace/ftrace.exp
5636         * gdb.trace/infotrace.exp
5637         * gdb.trace/mi-trace-frame-collected.exp
5638         * gdb.trace/mi-trace-unavailable.exp
5639         * gdb.trace/mi-traceframe-changed.exp
5640         * gdb.trace/mi-tracepoint-changed.exp
5641         * gdb.trace/mi-tsv-changed.exp
5642         * gdb.trace/no-attach-trace.exp
5643         * gdb.trace/packetlen.exp
5644         * gdb.trace/passc-dyn.exp
5645         * gdb.trace/passcount.exp
5646         * gdb.trace/pending.exp
5647         * gdb.trace/pr16508.exp
5648         * gdb.trace/qtro.exp
5649         * gdb.trace/range-stepping.exp
5650         * gdb.trace/read-memory.exp
5651         * gdb.trace/report.exp
5652         * gdb.trace/save-trace.exp
5653         * gdb.trace/signal.exp
5654         * gdb.trace/stap-trace.exp
5655         * gdb.trace/status-stop.exp
5656         * gdb.trace/strace.exp
5657         * gdb.trace/tfile.exp
5658         * gdb.trace/tfind.exp
5659         * gdb.trace/trace-break.exp
5660         * gdb.trace/trace-condition.exp
5661         * gdb.trace/trace-enable-disable.exp
5662         * gdb.trace/trace-mt.exp
5663         * gdb.trace/tracecmd.exp
5664         * gdb.trace/tracefile-pseudo-reg.exp
5665         * gdb.trace/tspeed.exp
5666         * gdb.trace/tstatus.exp
5667         * gdb.trace/tsv.exp
5668         * gdb.trace/unavailable.exp
5669         * gdb.trace/while-dyn.exp
5670         * gdb.trace/while-stepping.exp
5671         * lib/gdb-guile.exp
5672         * lib/gdb.exp
5673         * lib/mi-support.exp
5674         * lib/pascal.exp
5675         * lib/perftest.exp
5676         * lib/prelink-support.exp
5677         * lib/selftest-support.exp
5678
5679 2016-11-30  Simon Marchi  <simon.marchi@polymtl.ca>
5680
5681         * Makefile.in: Include disable-implicit-rules.mk.
5682
5683 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5684
5685         * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5686         non-byte-aligned bit fields.
5687
5688 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5689
5690         PR gdb/12616
5691         * gdb.dwarf2/nonvar-access.exp: New testcase.  Check that GDB
5692         respects the DW_AT_data_bit_offset attribute.
5693
5694 2016-11-22  Simon Marchi  <simon.marchi@polymtl.ca>
5695
5696         * gdb.base/default.exp: Fix output of "set language".
5697
5698 2016-11-17  Simon Marchi  <simon.marchi@polymtl.ca>
5699
5700         * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5701         prefixed with @GMAKE_FALSE@.  Update comment related to non-GNU
5702         make.
5703         * configure.ac: Remove checks for the make program.
5704         * configure: Re-generate.
5705
5706 2016-11-16  Kevin Buettner  <kevinb@redhat.com>
5707
5708         * gdb.python/py-recurse-unwind.c (main): Add loop.
5709         * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5710         to read_register() and gdb.parse_and_eval().  Make each code
5711         call a separate case that can be individually tested.
5712         * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5713         proc. Call cont_and_backtrace for each of the code paths that
5714         we want to test in the unwinder.
5715
5716 2016-11-15  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5717
5718         * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5719         the definition of struct S.
5720
5721 2016-11-11  Catherine Moore  <clm@codesourcery.com>
5722
5723         * gdb.base/dump.exp: Identify verilog format dump tests as such.
5724
5725 2016-11-09  Pedro Alves  <palves@redhat.com>
5726
5727         * gdb.base/commands.exp (runto_or_return): New procedure.
5728         (gdbvar_simple_if_test, gdbvar_simple_while_test)
5729         (gdbvar_complex_if_while_test, progvar_simple_if_test)
5730         (progvar_simple_while_test, progvar_complex_if_while_test)
5731         (if_while_breakpoint_command_test)
5732         (infrun_breakpoint_command_test, breakpoint_command_test)
5733         (user_defined_command_test, watchpoint_command_test)
5734         (test_command_prompt_position, redefine_hook_test)
5735         (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5736         (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5737         multi_line_input and multi_line.  Remove gdb_expect and
5738         gdb_stop_suppressing_tests uses.
5739         * lib/gdb.exp (valnum_re): New global.
5740         (multi_line_input): New procedure.
5741
5742 2016-11-09  Simon Marchi  <simon.marchi@polymtl.ca>
5743
5744         * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5745         Remove.
5746         (test_setup): Define with proc_with_prefix.
5747         (test_cli_inferior): Likewise.
5748         (test_cli_thread): Likewise.
5749         (test_cli_frame): Likewise.
5750         (test_cli_select_frame): Likewise.
5751         (test_cli_up_down): Likewise.
5752         (test_mi_thread_select): Likewise.
5753         (test_mi_stack_select_frame): Likewise.
5754         (test_cli_in_mi_inferior): Likewise.
5755         (test_cli_in_mi_thread): Likewise.
5756         (test_cli_in_mi_frame): Likewise.
5757         (top level): Do not use with_test_prefix_procname.
5758
5759 2016-11-09  Pedro Alves  <palves@redhat.com>
5760
5761         * gdb.base/commands.exp (gdbvar_simple_if_test)
5762         (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5763         (progvar_simple_if_test, progvar_simple_while_test)
5764         (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5765         (infrun_breakpoint_command_test, breakpoint_command_test)
5766         (user_defined_command_test, watchpoint_command_test)
5767         (test_command_prompt_position, deprecated_command_test)
5768         (bp_deleted_in_command, temporary_breakpoint_commands)
5769         (stray_arg0_test, source_file_with_indented_comment)
5770         (recursive_source_test, if_commands_test)
5771         (error_clears_commands_left, redefine_hook_test)
5772         (redefine_backtrace_test): Use proc_with_prefix.
5773         * lib/gdb.exp (proc_with_prefix): New proc.
5774
5775 2016-11-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5776
5777         * gdb.base/tui-layout.c: New file.
5778         * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5779         disassembly window contains very long lines.
5780
5781 2016-11-08  Tom Tromey  <tom@tromey.com>
5782
5783         * gdb.python/py-value.exp (test_value_creation): Make "long" test
5784         depend on Python 2.
5785
5786 2016-11-08  Tom Tromey  <tom@tromey.com>
5787
5788         * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5789         New method.
5790
5791 2016-10-29  Manish Goregaokar  <manish@mozilla.com>
5792
5793         * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
5794
5795 2016-10-27  Manish Goregaokar  <manish@mozilla.com>
5796
5797         * gdb.rust/simple.rs: Add test for univariant enums without
5798         discriminants and for encoded struct-like enums.
5799
5800 2016-10-28  Pedro Alves  <palves@redhat.com>
5801
5802         * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5803         gdb_test_multiple, tighten regexps and match symtabs and line
5804         tables incrementally.
5805
5806 2016-10-28  Luis Machado  <lgustavo@codesourcery.com>
5807
5808         * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5809         general.
5810
5811 2016-10-25  Luis Machado  <lgustavo@codesourcery.com>
5812
5813         * gdb.base/exec-invalid-sysroot.exp: New file.
5814
5815 2016-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
5816
5817         * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5818
5819 2016-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
5820
5821         * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5822
5823 2016-10-19  Maciej W. Rozycki  <macro@imgtec.com>
5824
5825         * gdb.base/killed-outside.exp: Remove $options from a call to
5826         `prepare_for_testing'.
5827
5828 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
5829
5830         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5831         Change test message.
5832
5833 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
5834
5835         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5836         Update comment.
5837
5838 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
5839
5840         * gdb.trace/mi-trace-save.exp: New file.
5841
5842 2016-10-13  Yao Qi  <yao.qi@linaro.org>
5843
5844         * gdb.base/code_elim.exp (get_var_address): Remove.
5845         * gdb.base/relocate.exp: Likewise.
5846         * gdb.base/shreloc.exp: Likewise.
5847         * lib/gdb.exp (get_var_address): New.
5848
5849 2016-10-13  Yao Qi  <yao.qi@linaro.org>
5850
5851         * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5852         floating point tests if $skip_float_test is false.
5853
5854 2016-10-12  Luis Machado  <lgustavo@codesourcery.com>
5855
5856         * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5857         * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5858         argc values.
5859         Add 1 to argc so we guarantee distinct initial/modified argc values.
5860
5861 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5862
5863         * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5864
5865 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5866
5867         * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5868         * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5869         * gdb.arch/vsx-regs.exp: Likewise.
5870
5871 2016-10-07  Yao Qi  <yao.qi@linaro.org>
5872
5873         * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5874
5875 2016-10-07  Markus Metzger  <markus.t.metzger@intel.com>
5876
5877         * gdb.python/python.exp: Test decode_line("*0").
5878
5879 2016-10-06  Doug Evans  <dje@google.com>
5880
5881         * gdb.python/py-value.exp (test_value_creation): Add test for large
5882         unsigned 64-bit value.
5883
5884 2016-10-06  Tom Tromey  <tom@tromey.com>
5885
5886         * gdb.compile/compile.exp: Change java tests to rust.
5887         * gdb.base/setshow.exp: Change java tests to rust.
5888         * gdb.base/default.exp: Remove java from language list.
5889         * README (Examples): Update language example.
5890         * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
5891         test.
5892         * lib/gdb.exp (skip_java_tests): Remove.
5893         * lib/java.exp: Remove.
5894         * gdb.java: Remove.
5895
5896 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
5897
5898         * gdb.arch/mips-fcr.exp: New test.
5899         * gdb.arch/mips-fcr.c: Source for the new test.
5900
5901 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
5902
5903         * gdb.base/solib-disc.exp: Use `standard_output_file'
5904         throughout.
5905
5906 2016-10-06  Pedro Alves  <palves@redhat.com>
5907
5908         * gdb.base/jit-simple-dl.c: New file.
5909         * gdb.base/jit-simple-jit.c: New file, factored out from ...
5910         * gdb.base/jit-simple.c: ... this.
5911         * gdb.base/jit-simple.exp (jit_run): Delete.
5912         (build_jit): New proc.
5913         (jit_test_reread): Recompile either the main program or the shared
5914         library, depending on what is being tested.  Skip changing address
5915         if caller wants to.  Compare before/after addresses.  If testing
5916         standalone, explicitly load the binary.  Test "maint info
5917         breakpoints".
5918         (top level): Add "standalone vs shared lib" and "change address"
5919         vs "same address" axes.
5920
5921 2016-10-06  Pedro Alves  <palves@redhat.com>
5922
5923         * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
5924         call.
5925         (jit_run): Delete.
5926         (jit_test_reread): Use with_test_prefix.  Reload the main binary
5927         explicitly.  Compare the before/after addresses of the JIT
5928         descriptor.
5929
5930 2016-08-15  Doug Evans  <dje@google.com>
5931
5932         * gdb.xml/extra-regs.xml: Update, end field now required, default type
5933         for single bitfields is bool.
5934         * gdb.xml/tdesc-regs.exp: Ditto.
5935
5936 2016-10-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
5937
5938         * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
5939
5940 2016-10-05  Yao Qi  <yao.qi@linaro.org>
5941
5942         * lib/gdb.exp (support_complex_tests): Return zero if
5943         gdb_skip_float_test return true.
5944
5945 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
5946             Simon Marchi  <simon.marchi@ericsson.com>
5947
5948         PR gdb/20487
5949         * gdb.mi/user-selected-context-sync.exp: New file.
5950         * gdb.mi/user-selected-context-sync.c: New file.
5951
5952 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
5953             Simon Marchi  <simon.marchi@ericsson.com>
5954
5955         PR gdb/20487
5956         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
5957         =thread-select-event check.
5958
5959 2016-09-29  Peter Bergner  <bergner@vnet.ibm.com>
5960
5961         * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
5962         the compulsory L operand changes.
5963         * gdb.arch/powerpc-power.s: Likewise.
5964
5965 2016-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
5966
5967         PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
5968         * gdb.base/jit-attach-pie.c: New file.
5969         * gdb.base/jit-attach-pie.exp: New file.
5970
5971 2016-09-28  Pedro Alves  <palves@redhat.com>
5972
5973         * gdb.base/infcall-input.c: New file.
5974         * gdb.base/infcall-input.exp: New file.
5975
5976 2016-09-22  Yao Qi  <yao.qi@linaro.org>
5977
5978         * lib/gdbserver-support.exp: Rename mi_gdb_exit.
5979         (gdb_exit): Rename it to ...
5980         (gdbserver_gdb_exit): ...  Close GDBserver.
5981         (gdb_exit): New proc, call gdbserver_gdb_exit.
5982         (mi_gdb_exit): Likewise.
5983
5984 2016-09-22  Yao Qi  <yao.qi@linaro.org>
5985
5986         * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
5987         path.
5988         * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
5989         Remove duplication.
5990
5991 2016-09-22  Yao Qi  <yao.qi@linaro.org>
5992
5993         * lib/gdbserver-support.exp: Check the existence of
5994         gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
5995
5996 2016-09-21  Anton Kolesov  <anton.kolesov@synopsys.com>
5997
5998         * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
5999
6000 2016-09-21  Tom Tromey  <tom@tromey.com>
6001
6002         PR gdb/20604:
6003         * gdb.base/quit.exp: New file.
6004
6005 2016-09-21  Simon Marchi  <simon.marchi@ericsson.com>
6006
6007         * .gitignore: New file.
6008
6009 2016-09-21  Maciej W. Rozycki  <macro@imgtec.com>
6010
6011         * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
6012         throughout.
6013
6014 2016-09-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6015
6016         * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
6017
6018 2016-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6019
6020         * gdb.cp/casts.cc (decltype): Move it ...
6021         (main): ... with its call to ...
6022         * gdb.cp/casts03.cc: ... a new file.
6023         * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6024
6025 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6026
6027         * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6028
6029 2016-09-15  Peter Bergner  <bergner@vnet.ibm.com>
6030
6031         * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6032         and sync up the test with tests in gas/testsuite/gas/ppc.
6033         * gdb.arch/powerpc-power.exp: Likewise.
6034
6035 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6036
6037         * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6038
6039 2016-09-11  Sergio Durigan Junior  <sergiodj@redhat.com>
6040             Jan Kratochvil  <jan.kratochvil@redhat.com>
6041
6042         * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
6043         make m1's definition to be different from m2's.  Use 'dummy' as an
6044         argument for probe 'two'.
6045
6046 2016-09-10  Jon Beniston  <jon@beniston.com>
6047
6048         * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
6049         for sim target.
6050
6051 2016-09-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6052
6053         * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
6054         variable declaration.
6055         (gnu_ifunc): Add parameter hwcap.  Store it in resolver_hwcap.
6056         * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6057         * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6058         received HWCAP as its argument.
6059
6060 2016-09-06  Pedro Alves  <palves@redhat.com>
6061
6062         * gdb.base/new-ui-pending-input.c: New file.
6063         * gdb.base/new-ui-pending-input.exp: New file.
6064         * gdb.exp (clear_gdb_spawn_id): New procedure.
6065         (with_spawn_id): Check whether gdb_spawn_id exists before
6066         referencing it.  If gdb_spawn_id didn't exist on entry, clear it
6067         on exit.
6068
6069 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6070
6071         * gdb.base/float128.c: New file.
6072         * gdb.base/float128.exp: Likewise.
6073         * gdb.base/floatn.c: Likewise.
6074         * gdb.base/floatn.exp: Likewise.
6075
6076 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6077
6078         * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
6079
6080 2016-09-05  Pedro Alves  <palves@redhat.com>
6081
6082         PR backtrace/19927
6083         * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
6084         unwinders are immediately called as side effect of "source" or
6085         "disable unwinder" commands.
6086         * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
6087
6088 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6089
6090         * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
6091         is true and $type is "float" or "double".
6092
6093 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6094
6095         * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
6096         true.
6097         * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
6098         * gdb.base/call-rt-st.exp: Likewise.
6099         * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
6100         return value instead of gdb,skip_float_test.
6101         * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
6102         (do_function_calls): Use its return value instead of
6103         gdb,skip_float_test.
6104         * gdb.base/finish.exp: Likewise.
6105         * gdb.base/funcargs.exp: Likewise.
6106         * gdb.base/return.exp: Likewise.
6107         * gdb.base/return2.exp: Likewise.
6108         * gdb.base/varargs.exp: Likewise.
6109         * lib/gdb.exp (gdb_skip_float_test): Change it to
6110         gdb_caching_proc.  Detect the broken ptrace on arm-linux.
6111
6112 2016-08-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6113
6114         * gdb.multi/tids.exp: Test "thread apply all".
6115
6116 2016-08-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6117
6118         * gdb.base/default.exp (tty): Remove.
6119
6120 2016-08-24  Kevin Buettner  <kevinb@redhat.com>
6121
6122         * gdb.python/py-recurse-unwind.c: New file.
6123         * gdb.python/py-recurse-unwind.py: New file.
6124         * gdb.python/py-recurse-unwind.exp: New file.
6125
6126 2016-08-24  Simon Marchi  <simon.marchi@ericsson.com>
6127
6128         * gdb.base/set-inferior-tty.exp: New file.
6129         * gdb.base/set-inferior-tty.c: New file.
6130
6131 2016-08-23  Pedro Alves  <palves@redhat.com>
6132
6133         PR gdb/20494
6134         * gdb.base/new-ui-echo.c: New file.
6135         * gdb.base/new-ui-echo.exp: New file.
6136
6137 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6138
6139         * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
6140         gdbserver_spawn.
6141         * gdb.server/connect-without-multi-process.exp (do_test):
6142         Likewise.
6143
6144 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6145
6146         * gdb.base/signals-state-child.exp: Set variables gdb_txt and
6147         standalone_txt.  Delete gdb_txt and standalone_txt on host
6148         and target.  Spawn the binary on target.  Copy files from
6149         target to host.
6150
6151 2016-08-22  Pedro Alves  <palves@redhat.com>
6152
6153         PR gdb/20505
6154         * gdb.base/vdso-warning.exp: Test core dumps too.  Use
6155         with_test_prefix.  Factor out bits to ...
6156         (test_no_vdso): ... this new procedure.
6157
6158 2016-08-19  Carl Love  <cel@us.ibm.com>
6159
6160         * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
6161         maintaining separate logic for constructing the output path.
6162         * gdb.arch/powerpc-d128-regs.exp: Likewise.
6163         * gdb.arch/ppc-dfp.exp: Likewise.
6164         * gdb.arch/ppc-fp.exp: Likewise.
6165         * gdb.arch/vsx-regs.exp: Likewise.
6166         * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
6167         binprefix for generating the additional binary files.
6168
6169 2016-08-19  Pedro Alves  <palves@redhat.com>
6170
6171         * gdb.trace/mi-trace-frame-collected.exp
6172         (test_trace_frame_collected): On x32, expect two registers.
6173
6174 2016-08-18  Carl Love  <cel@us.ibm.com>
6175
6176         * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
6177         and sync up the test with tests in gas/testsuite/gas/ppc.
6178         * gdb.arch/powerpc-power.exp: Likewise.
6179
6180 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6181
6182         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
6183         expected error message.
6184
6185 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6186
6187         * gdb.multi/remove-inferiors.exp: New file.
6188         * gdb.multi/remove-inferiors.c: New file.
6189
6190 2016-08-12  Yao Qi  <yao.qi@linaro.org>
6191
6192         * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
6193         argument list.
6194
6195 2016-08-10  Pedro Alves  <palves@redhat.com>
6196
6197         PR gdb/19187
6198         * gdb.reverse/waitpid-reverse.exp: Add comment and remove
6199         setup_kfails.
6200
6201 2016-08-09  Pedro Alves  <palves@redhat.com>
6202             Simon Marchi  <simon.marchi@ericsson.com>
6203
6204         PR gdb/20418
6205         * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
6206         * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
6207
6208 2016-08-09  Pedro Alves  <palves@redhat.com>
6209
6210         PR mi/20431
6211         * gdb.mi/mi-cmd-error.exp: New file.
6212
6213 2016-08-09  Pedro Alves  <palves@redhat.com>
6214
6215         PR gdb/18653
6216         * gdb.base/signals-state-child.c: New file.
6217         * gdb.base/signals-state-child.exp: New file.
6218         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
6219
6220 2016-08-09  Pedro Alves  <palves@redhat.com>
6221
6222         * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
6223
6224 2016-08-03  Tom Tromey  <tom@tromey.com>
6225
6226         PR python/18565:
6227         * gdb.python/py-frame-inline.exp: Add Frame.function test.
6228
6229 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6230
6231         * gdb.threads/process-dies-while-detaching.exp (do_test): Set
6232         variable mode to "multi-process" if $multi_process is 1, otherwise
6233         set it to "single-process".
6234
6235 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6236
6237         * gdb.cp/anon-struct.exp: Check is_aarch32_target.
6238         * gdb.cp/cpexprs.exp: Likewise.
6239         * gdb.cp/m-static.exp: Likewise.
6240
6241 2016-07-26  Tom Tromey  <tom@tromey.com>
6242
6243         PR python/20190:
6244         * gdb.threads/tls.exp (check_thread_local): Add python symbol
6245         test.
6246
6247 2016-07-26  Markus Metzger  <markus.t.metzger@intel.com>
6248
6249         * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
6250         selecting assembly source files.
6251         * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
6252         assembly source files.
6253         * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
6254         assembly source files.
6255         * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
6256         selecting assembly source files.
6257
6258 2016-07-25  Simon Marchi  <simon.marchi@ericsson.com>
6259
6260         * gdb.base/new-ui.exp (do_test_invalid_args): New
6261         procedure.
6262
6263 2016-07-25  Tim Wiederhake  <tim.wiederhake@intel.com>
6264
6265         * gdb.btrace/reconnect.c: New file.
6266         * gdb.btrace/reconnect.exp: New file.
6267
6268 2016-07-23  Gabriel Krisman Bertazi  <gabriel@krisman.be>
6269
6270         * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
6271         to test_catch_syscall_group.
6272         (test_catch_syscall_group): New.
6273
6274 2016-07-21  Tom Tromey  <tom@tromey.com>
6275
6276         * gdb.rust/simple.rs (main): Use empty struct expression.
6277         * gdb.rust/simple.exp: Add tests for empty struct expression.
6278
6279 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6280
6281         * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
6282         if gdb_skip_xml_test is true on some targets.
6283
6284 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6285
6286         * gdb.server/solib-list.exp: Unset last_loaded_file.
6287
6288 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6289
6290         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
6291         "step into captured_main (args)".
6292
6293 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6294
6295         * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
6296
6297 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6298
6299         * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
6300
6301 2016-07-19  Pedro Alves  <palves@redhat.com>
6302
6303         * gdb.opt/inline-break.exp: Remove optimize=-O2.
6304         * gdb.opt/inline-bt.exp: Likewise.
6305         * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
6306         additional_flags=-Winline.
6307         * gdb.opt/inline-locals.exp: Likewise.
6308         * gdb.opt/inline-markers.c (ATTR): Define.
6309         (inlined_fn): Use it.
6310
6311 2016-07-19  Yao Qi  <yao.qi@linaro.org>
6312
6313         * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
6314         (test_with_self): Remove some code.  Remove argument executable.
6315         (top-level): Use do_self_tests.
6316
6317 2016-07-15  Zachary Welch  <zwelch@codesourcery.com>
6318             Don Breazeal <donb@codesourcery.com>
6319
6320         * gdb.base/maint.exp: Escape paths used in regular expressions.
6321         * gdb.stabs/weird.exp: Likewise.
6322
6323 2016-07-13  Tom Tromey  <tom@tromey.com>
6324
6325         PR python/15620, PR python/18620:
6326         * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
6327         (test_bkpt_events): New procs.
6328
6329 2016-07-13  Tom Tromey  <tom@tromey.com>
6330
6331         PR python/17698:
6332         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6333         test.
6334         (test_watchpoints): Likewise.
6335         (test_bkpt_pending): New proc.
6336
6337 2016-07-13  Tom Tromey  <tom@tromey.com>
6338
6339         PR cli/18053:
6340         * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6341         completion test.
6342
6343 2016-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6344
6345         * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6346         * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6347         * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6348         f_label.
6349         (g): Rename g_end_lbl to g_label.
6350         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6351         low_pc and high_pc.
6352         * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6353
6354 2016-07-12  Tom Tromey  <tom@tromey.com>
6355
6356         PR python/19293:
6357         * gdb.python/py-unwind-maint.exp: Update tests.
6358
6359 2016-07-12  Yao Qi  <yao.qi@linaro.org>
6360
6361         * lib/selftest-support.exp (selftest_setup): Match the output
6362         when captured_main is inlined.
6363
6364 2016-07-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6365
6366         * gdb.fortran/derived-types.exp (result_line, result_line_2):
6367         New variables.
6368         (print this%a, print this%b, print this): New tests.
6369         * gdb.fortran/derived-types.f90 (this): New object and
6370         initialization.
6371
6372 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6373
6374         * gdb.ada/arraydim.exp: Remove extra directory level in build
6375         directory.
6376
6377 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6378
6379         * lib/ada.exp: Remove extra directory level in build directory.
6380         * gdb.ada/cond_lang.exp: Likewise.
6381         * gdb.ada/exec_changed.exp: Likewise.
6382         * gdb.ada/lang_switch.exp: Likewise.
6383
6384 2016-07-06  Manish Goregaokar  <manish@mozilla.com>
6385
6386         * simple.rs: Add test for raw pointer subscripting.
6387         * simple.exp: Add test expectations.
6388
6389 2016-07-05  Yao Qi  <yao.qi@linaro.org>
6390
6391         * gdb.mi/mi-reverse.exp: Match =record-started output.
6392
6393 2016-07-01  Pedro Alves  <palves@redhat.com>
6394
6395         * gdb.base/jit-reader.exp (info_registers_current_frame): New
6396         procedure.
6397         (jit_reader_test): Test the jit reader's unwinder.
6398         * gdb.base/jithost.c (jit_function_00_code): New global.
6399         (main): Use memcpy to fill in the mmapped code, instead of poking
6400         bytes manually here.
6401         * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6402         value.
6403         (read_debug_info): Save the function's range.
6404         (read_sp): New function.
6405         (unwind_frame): Use it.  Also unwind RBP.
6406         (get_frame_id): Use read_sp.
6407         (gdb_init_reader): Use calloc instead of malloc.
6408         * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6409         parameter.  Use gdb_test_multiple.
6410
6411 2016-07-01  Pedro Alves  <palves@redhat.com>
6412             Antoine Tremblay  <antoine.tremblay@ericsson.com>
6413
6414         * gdb.threads/process-dies-while-detaching.c: New file.
6415         * gdb.threads/process-dies-while-detaching.exp: New file.
6416
6417 2016-07-01  Pedro Alves  <palves@redhat.com>
6418
6419         * gdb.multi/watchpoint-multi-exit.c: New file.
6420         * gdb.multi/watchpoint-multi-exit.exp: New file.
6421
6422 2016-06-30  Pedro Alves  <palves@redhat.com>
6423
6424         * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6425         unset inferior_spawn_id.
6426
6427 2016-06-30  Pedro Alves  <palves@redhat.com>
6428
6429         * lib/mi-support.exp (default_mi_gdb_start): Declare global
6430         FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
6431
6432 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6433
6434         * gdb.base/return.c: Add copyright header.
6435
6436 2016-06-29  Tom Tromey  <tom@tromey.com>
6437
6438         PR python/20129:
6439         * gdb.python/py-framefilter.exp: Add tests for setting priority
6440         and disabling of non-existent frame filter.
6441
6442 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6443
6444         * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6445         0x0f07ff.
6446
6447 2016-06-28  Yao Qi  <yao.qi@linaro.org>
6448
6449         * gdb.base/catch-syscall.exp: Remove check on isnative and target
6450         triplets.  Start gdb, execute catch syscall, and continue.  Check
6451         gdb's output to determine catch syscall is supported.
6452
6453 2016-06-27  Manish Goregaokar  <manish@mozilla.com>
6454
6455         * gdb.rust/simple.rs: Add test for returning unit in a function.
6456         * gdb.rust/simple.exp: Add expectation for functions returning
6457         unit.
6458
6459 2016-06-27  Pierre-Marie de Rodat  <derodat@adacore.com>
6460
6461         * gdb.python/py-breakpoint-create-fail.c,
6462         gdb.python/py-breakpoint-create-fail.exp,
6463         gdb.python/py-breakpoint-create-fail.py: New testcase.
6464
6465 2016-06-25  Manish Goregaokar  <manish@mozilla.com>
6466
6467         PR gdb/20239
6468         * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6469         * gdb.rust/simple.exp: Add test expectations for new NonZero
6470         tests.
6471
6472 2016-06-24  David Taylor  <dtaylor@emc.com>
6473
6474         * gdb.base/offsets.exp: New file.
6475         * gdb.base/offsets.c: New file.
6476
6477 2016-06-23  Tom Tromey  <tom@tromey.com>
6478
6479         PR gdb/16483:
6480         * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6481         before any filters are loaded.
6482
6483 2016-06-21  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6484
6485         * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6486         * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6487         structs.
6488         * gdb.fortran/derived-type-function.exp: New file.
6489         * gdb.fortran/derived-type-function.f90: New file.
6490
6491
6492 2016-06-21  Pedro Alves  <palves@redhat.com>
6493
6494         * gdb.base/new-ui.exp: New file.
6495         * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6496         * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6497         (with_spawn_id): New procedure.
6498
6499 2016-06-21  Pedro Alves  <palves@redhat.com>
6500
6501         * gdb.mi/mi-exec-run.exp: New file.
6502
6503 2016-06-21  Pedro Alves  <palves@redhat.com>
6504
6505         * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6506         breakpoint command's output on the main UI.
6507         (test_break): New procedure, factored out from calls in the top
6508         level.
6509         (top level): Use foreach_with_prefix to test MI as main UI and as
6510         separate UI.
6511
6512 2016-06-21  Pedro Alves  <palves@redhat.com>
6513
6514         * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6515         (test_awatch_creation_and_listing)
6516         (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6517         Remove 'type' parameter.
6518         (test_watchpoint_all): New parameter mi_mode.  Remove
6519         with_test_prefix.
6520         (top level): Use foreach_with_prefix, and add main/separate UI MI
6521         testing axis.
6522
6523 2016-06-21  Pedro Alves  <palves@redhat.com>
6524
6525         * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6526         * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6527         * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6528         gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6529         (gdb_main_spawn_id, mi_spawn_id): Declare and
6530         comment.
6531         (mi_create_inferior_pty): New procedure,
6532         factored out from default_mi_gdb_start.
6533         (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6534         procedures.
6535         (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6536         separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6537         Use mi_create_inferior_pty.
6538         (mi_gdb_start): Use eval to pass down args list.
6539
6540 2016-06-21  Pedro Alves  <palves@redhat.com>
6541
6542         * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6543         * gdb.opt/inline-cmds.exp: Add MI tests.
6544
6545 2016-06-21  Pedro Alves  <palves@redhat.com>
6546
6547         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6548
6549 2016-06-21  Pedro Alves  <palves@redhat.com>
6550
6551         * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6552         (top level): Use it instead of mi_execute_to.
6553
6554 2016-06-21  Pedro Alves  <palves@redhat.com>
6555
6556         * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6557         (cont_handler_str): New.
6558         (signal_stop_handler): Set stop_handler_str instead of printing to
6559         stdout.
6560         (continue_handler): Set cont_handler_str instead of printing to
6561         stdout.
6562         * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6563         mi_send_resuming_command.  Print stop_handler_str and
6564         cont_handler_str instead of expecting the python events print
6565         directly.
6566
6567 2016-06-17  Sanjoy Das  <sanjoy@playingwithpointers.com>
6568
6569         * gdb.base/jit-reader.exp: New file.
6570         * gdb.base/jithost.c: New file.
6571         * gdb.base/jithost.h: New file.
6572         * gdb.base/jitreader.c : New file.
6573         * gdb.base/jit-protocol.h: New file.
6574
6575 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6576
6577         * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6578         parameters follow_fork and detach_on_fork.  Set follow-fork-mode
6579         and detach-on-fork.  Adjust tests.
6580         (top level): Invoke break_cond_on_syscall with combinations of
6581         syscall, follow-fork-mode and detach-on-fork.
6582
6583 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6584
6585         * gdb.base/step-over-exit.c: New.
6586         * gdb.base/step-over-exit.exp: New.
6587
6588 2016-06-17  Yan-Ting Lin  <currygt52@gmail.com>
6589
6590         * gdb.base/float.exp: Add target check for nds32*-*-*.
6591         * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6592
6593 2016-06-13  Andrew Burgess  <andrew.burgess@embecosm.com>
6594
6595         * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6596         for unsupported target features.
6597         * gdb.base/call-rt-st.exp: Likewise.
6598         * gdb.base/call-sc.exp: Likewise.
6599         * gdb.base/call-signal-resume.exp: Likewise.
6600         * gdb.base/call-strs.exp: Likewise.
6601         * gdb.base/callexit.exp: Likewise.
6602         * gdb.base/callfuncs.exp: Likewise.
6603         * gdb.base/nodebug.exp: Likewise.
6604         * gdb.base/printcmds.exp: Likewise.
6605         * gdb.base/ptype.exp: Likewise.
6606         * gdb.base/structs.exp: Likewise.
6607         * gdb.base/unwindonsignal.exp: Likewise.
6608         * gdb.cp/gdb2495.exp: Likewise.
6609         * gdb.cp/templates.exp: Likewise.
6610         * gdb.cp/virtfunc.exp: Likewise.
6611         * gdb.threads/hand-call-in-threads.exp: Likewise.
6612         * gdb.threads/interrupted-hand-call.exp: Likewise.
6613         * gdb.threads/thread-unwindonsignal.exp: Likewise.
6614
6615 2016-06-10  Tom Tromey  <tom@tromey.com>
6616
6617         PR rust/20110:
6618         * gdb.rust/expr.exp: Add test for integer constant larger than
6619         i32.
6620
6621 2016-06-10  Bernhard Heckel  <bernhard.heckel@intel.com>
6622
6623         * gdb.fortran/nested-funcs.exp: New.
6624         * gdb.fortran/nested-funcs.f90: New.
6625
6626 2016-06-09  Toshihito Kikuchi  <k.toshihito@yahoo.de>
6627
6628         * gdb.base/examine-backward.c: New file.
6629         * gdb.base/examine-backward.exp: New file.
6630
6631 2016-06-06  Simon Marchi  <simon.marchi@ericsson.com>
6632
6633         * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6634         matching.
6635
6636 2016-06-02  Tom Tromey  <tom@tromey.com>
6637
6638         PR python/18984:
6639         * gdb.python/py-shared.exp: Add solib_name test.
6640
6641 2016-06-02  Simon Marchi  <simon.marchi@ericsson.com>
6642
6643         * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6644
6645 2016-05-31  Martin Galvan  <martin.galvan@tallertechnologies.com>
6646
6647         PR c++/19893
6648         * gdb.dwarf2/implref.exp: Rename to...
6649         * gdb.dwarf2/implref-const.exp: ...this.  Also add more test statements.
6650         * gdb.dwarf2/implref-array.c: New file.
6651         * gdb.dwarf2/implref-array.exp: Likewise.
6652         * gdb.dwarf2/implref-global.c: Likewise.
6653         * gdb.dwarf2/implref-global.exp: Likewise.
6654         * gdb.dwarf2/implref-struct.c: Likewise.
6655         * gdb.dwarf2/implref-struct.exp: Likewise.
6656
6657 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6658
6659         * gdb.trace/trace-condition.exp: Add 64bit tests.
6660
6661 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6662
6663         * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6664         bits types.
6665         (main): Adapt to 8 to 64 bits types.
6666         * gdb.trace/trace-condition.exp: Add new tests.
6667
6668 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6669
6670         * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6671
6672 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6673
6674         * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6675         Move condition tests...
6676         * gdb.trace/trace-condition.exp: Here.
6677
6678 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6679
6680         * gdb.trace/trace-condition.exp: Add counter-case tests.
6681
6682 2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
6683
6684         PR c++/15231
6685         * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6686         * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6687
6688 2016-05-27  Pedro Alves  <palves@redhat.com>
6689
6690         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6691         New procedure.
6692         (top level): Call it, and bail out of DejaGnu is known to be bad.
6693
6694 2016-05-27  Andrew Burgess  <andrew.burgess@embecosm.com>
6695
6696         * gdb.base/whatis.c: Extend the test case.
6697         * gdb.base/whatis.exp: Add additional tests.
6698
6699 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6700
6701 * gdb.fortran/type.f90: Add pointer variable.
6702 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6703
6704 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6705
6706         * gdb.fortran/vla-type.exp: Fix testcase name.
6707
6708 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6709
6710         * gdb.fortran/vla-type.exp: Access elements in nested structs.
6711
6712 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6713
6714         * gdb.fortran/type.f90: Add nested structures.
6715         * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6716         * gdb.fortran/derived-type.exp: Adapt expected output.
6717         * gdb.fortran/vla-type.exp: Adapt expected output.
6718
6719 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6720
6721         * gdb.fortran/whatis_type.exp: Adapt expected output.
6722
6723 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6724
6725         * gdb.fortran/print_type.exp: Fix expected output.
6726         * gdb.fortran/whatis_type.exp: Fix expected output.
6727
6728 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6729
6730         * gdb.fortran/whatis_type.exp: Use multi_line.
6731
6732 2016-05-24  Tom Tromey  <tom@tromey.com>
6733
6734         PR python/17386:
6735         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6736         use value as an index.
6737
6738 2016-05-23  Tom Tromey  <tom@tromey.com>
6739
6740         PR python/17981:
6741         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6742         no-breakpoint case.
6743
6744 2016-05-24  Pedro Alves  <palves@redhat.com>
6745
6746         PR gdb/19828
6747         * gdb.threads/clone-attach-detach.c: New file.
6748         * gdb.threads/clone-attach-detach.exp: New file.
6749
6750 2016-05-24  Francis Ricci  <francisjricci@gmail.com>  (tiny patch)
6751
6752         * gdb.base/annota-input-while-running.exp: Fix syntax error.
6753
6754 2016-05-23  Tom Tromey  <tom@tromey.com>
6755
6756         PR python/19438, PR python/18393:
6757         * gdb.python/py-progspace.exp: Add "dir" test.
6758         * gdb.python/py-objfile.exp: Add "dir" test.
6759
6760 2016-05-23  Yao Qi  <yao.qi@linaro.org>
6761
6762         * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6763         * gdb.arch/thumb2-it.exp: Likewise.
6764
6765 2016-05-18  Simon Marchi  <simon.marchi@ericsson.com>
6766
6767         * gdb.mi/mi-threads-interrupt.c: New file.
6768         * gdb.mi/mi-threads-interrupt.exp: New file.
6769
6770 2016-05-17  Simon Marchi  <simon.marchi@ericsson.com>
6771
6772         PR gdb/18077
6773         * gdb.mi/mi-async-run.exp: New file.
6774         * gdb.mi/mi-async-run.c: New file.
6775
6776 2016-05-17  Tom Tromey  <tom@tromey.com>
6777             Manish Goregaokar <manishsmail@gmail.com>
6778
6779         * lib/rust-support.exp: New file.
6780         * lib/gdb.exp (skip_rust_tests): New proc.
6781         (build_executable_from_specs): Handle rust.
6782         * lib/future.exp (gdb_find_rustc): New proc.
6783         (gdb_default_target_compile): Handle rust.
6784         * gdb.rust/expr.exp: New file.
6785         * gdb.rust/generics.exp: New file.
6786         * gdb.rust/generics.rs: New file.
6787         * gdb.rust/methods.exp: New file.
6788         * gdb.rust/methods.rs: New file.
6789         * gdb.rust/modules.exp: New file.
6790         * gdb.rust/modules.rs: New file.
6791         * gdb.rust/simple.exp: New file.
6792         * gdb.rust/simple.rs: New file.
6793
6794 2016-05-17  Tom Tromey  <tom@tromey.com>
6795
6796         * gdb.base/default.exp (set language): Add rust.
6797
6798 2016-05-17  Tom Tromey  <tom@tromey.com>
6799
6800         * gdb.gdb/unittest.exp: New file.
6801
6802 2016-05-16  Yao Qi  <yao.qi@linaro.org>
6803
6804         * gdb.base/batch-preserve-term-settings.exp: Remove variable
6805         shell_prompt.  Update shell_prompt_re.
6806
6807 2016-05-12  Doug Evans  <dje@google.com>
6808
6809         PR symtab/19999
6810         * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6811         $options when building executable.
6812         * gdb.dwarf2/fission-loclists-pie.S: New file.
6813         * gdb.dwarf2/fission-loclists-pie.exp: New file.
6814
6815 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
6816
6817         * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
6818         of [is_remote target],
6819
6820 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
6821
6822         * lib/gdb.exp (use_gdb_stub): New procedure.
6823
6824 2016-05-03  Yunlian Jiang <yunlian@google.com>
6825             Doug Evans  <dje@google.com>
6826
6827         PR symtab/19914
6828         * gdb.dwarf2/dwp-sepdebug.c: New file.
6829         * gdb.dwarf2/dwp-sepdebug.exp: New file.
6830
6831 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
6832
6833         * gdb.base/detach.exp: Remove is_remote check.
6834
6835 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
6836
6837         * gdb.base/annota-input-while-running.exp: Don't check for
6838         [is_remote target].  Enable annotations after running to main.
6839         Remove unused "set test..." line.
6840
6841 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
6842
6843         * gdb.trace/trace-enable-disable.exp: New file.
6844         * gdb.trace/trace-enable-disable.c: New file.
6845
6846 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
6847
6848         * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6849         use it in info sharedlibrary test.
6850         * gdb.trace/ftrace-lock.exp: Likewise.
6851         * gdb.trace/ftrace.exp: Likewise.
6852         * gdb.trace/range-stepping.exp: Likewise.
6853         * gdb.trace/trace-break.exp: Likewise.
6854         * gdb.trace/trace-condition.exp: Likewise.
6855         * gdb.trace/trace-mt.exp: Likewise.
6856
6857 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
6858
6859         * lib/gdb.exp (gdb_load_shlibs): Rename to...
6860         (gdb_load_shlib): ... this.
6861         * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6862         gdb_load_shlib.
6863         * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6864         * gdb.base/ctxobj.exp: Likewise.
6865         * gdb.base/dprintf-pending.exp: Likewise.
6866         * gdb.base/dso2dso.exp: Likewise.
6867         * gdb.base/fixsection.exp: Likewise.
6868         * gdb.base/gcore-relro.exp: Likewise.
6869         * gdb.base/gdb1555.exp: Likewise.
6870         * gdb.base/global-var-nested-by-dso.exp: Likewise.
6871         * gdb.base/gnu-ifunc.exp: Likewise.
6872         * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6873         * gdb.base/jit-so.exp (one_jit_test): Likewise.
6874         * gdb.base/pending.exp: Likewise.
6875         * gdb.base/print-file-var.exp: Likewise.
6876         * gdb.base/print-symbol-loading.exp: Likewise.
6877         * gdb.base/shlib-call.exp: Likewise.
6878         * gdb.base/shreloc.exp: Likewise.
6879         * gdb.base/so-impl-ld.exp: Likewise.
6880         * gdb.base/solib-disc.exp: Likewise.
6881         * gdb.base/solib-nodir.exp: Likewise.
6882         * gdb.base/solib-overlap.exp: Likewise.
6883         * gdb.base/solib-symbol.exp: Likewise.
6884         * gdb.base/solib-weak.exp (do_test): Likewise.
6885         * gdb.base/sym-file.exp: Likewise.
6886         * gdb.base/symtab-search-order.exp: Likewise.
6887         * gdb.base/type-opaque.exp: Likewise.
6888         * gdb.base/unload.exp: Likewise.
6889         * gdb.base/watchpoint-solib.exp: Likewise.
6890         * gdb.compile/compile.exp: Likewise.
6891         * gdb.cp/gdb2384.exp: Likewise.
6892         * gdb.cp/infcall-dlopen.exp: Likewise.
6893         * gdb.cp/re-set-overloaded.exp: Likewise.
6894         * gdb.fortran/library-module.exp: Likewise.
6895         * gdb.opt/solib-intra-step.exp: Likewise.
6896         * gdb.python/py-finish-breakpoint.exp: Likewise.
6897         * gdb.python/py-shared.exp: Likewise.
6898         * gdb.reverse/solib-precsave.exp: Likewise.
6899         * gdb.reverse/solib-reverse.exp: Likewise.
6900         * gdb.server/solib-list.exp: Likewise.
6901         * gdb.threads/dlopen-libpthread.exp: Likewise.
6902         * gdb.threads/tls-shared.exp: Likewise.
6903         * gdb.threads/tls-so_extern.exp: Likewise.
6904         * gdb.trace/change-loc.exp: Likewise.
6905         * gdb.trace/ftrace-lock.exp: Likewise.
6906         * gdb.trace/ftrace.exp: Likewise.
6907         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
6908         * gdb.trace/pending.exp: Likewise.
6909         * gdb.trace/range-stepping.exp: Likewise.
6910         * gdb.trace/strace.exp (strace_remove_socket): Likewise.
6911         (strace_info_marker): Likewise.
6912         (strace_probe_marker): Likewise.
6913         (strace_trace_on_same_addr): Likewise.
6914         (strace_trace_on_diff_addr): Likewise.
6915         * gdb.trace/trace-break.exp: Likewise.
6916         * gdb.trace/trace-condition.exp: Likewise.
6917         * gdb.trace/trace-mt.exp: Likewise.
6918
6919 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
6920
6921         * lib/gdb.exp (gdb_load_shlibs):  Accept a single argument.  Return
6922         result of gdb_remote_download.
6923         * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
6924         * gdb.base/dso2dso.exp: Likewise.
6925         * gdb.base/global-var-nested-by-dso.exp: Likewise.
6926         * gdb.base/print-file-var.exp: Likewise.
6927         * gdb.base/shlib-call.exp: Likewise.
6928         * gdb.base/shreloc.exp: Likewise.
6929         * gdb.base/solib-overlap.exp: Likewise.
6930         * gdb.base/solib-weak.exp (do_test): Likewise.
6931         * gdb.base/unload.exp: Likewise.
6932
6933 2016-04-27  Yao Qi  <yao.qi@linaro.org>
6934
6935         * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
6936         exists.
6937
6938 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
6939
6940         * vla-type.exp: Print structure from toplevel.
6941
6942 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
6943
6944         * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
6945         of dynamic types.
6946         * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
6947         of dynamic types.
6948
6949 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
6950
6951         * gdb.fortran/vla-type.f90: New file.
6952         * gdb.fortran/vla-type.exp: New file.
6953
6954 2016-04-25  Yao Qi  <yao.qi@linaro.org>
6955
6956         * gdb.base/branch-to-self.c: New file.
6957         * gdb.base/branch-to-self.exp: New file.
6958
6959 2016-04-22  Yao Qi  <yao.qi@linaro.org>
6960
6961         * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
6962         more after $hex.
6963
6964 2016-04-22  Yao Qi  <yao.qi@linaro.org>
6965
6966         * gdb.base/annota1.exp: Set breakpoint on line $main_line.
6967         * gdb.base/annota3.exp: Likewise.
6968
6969 2016-04-22  Yao Qi  <yao.qi@linaro.org>
6970
6971         * gdb.reverse/step-precsave.exp: Do one step and test program
6972         stops in "callee" and do multiple steps until program goes out
6973         of "callee".
6974         * gdb.reverse/step-reverse.exp: Likewise.
6975
6976 2016-04-22  Yao Qi  <yao.qi@linaro.org>
6977
6978         * gdb.trace/signal.exp: Also pass if
6979         $tracepoint_hits($i) > $iterations.
6980
6981 2016-04-22  Yao Qi  <yao.qi@linaro.org>
6982
6983         * gdb.trace/signal.c: New file.
6984         * gdb.trace/signal.exp: New file.
6985
6986 2016-04-19  Doug Evans  <xdje42@gmail.com>
6987
6988         * gdb.base/bad-file.exp: New file.
6989
6990 2016-04-18  Martin Galvan  <martin.galvan@tallertechnologies.com>
6991
6992         * gdb.dwarf2/implref.exp: New file.
6993
6994 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
6995
6996         * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
6997         * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
6998         * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
6999         * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
7000         * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
7001         * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
7002         * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
7003         * lib/fortran.exp (fortran_int4): New procedure.
7004         (fortran_real4, fortran_real8, fortran_complex4): Likewise.
7005         (fortran_logical4): Likewise.
7006
7007 2016-04-18  Benrhard Heckel <bernhard.heckel@intel.com>
7008
7009         * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
7010
7011 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
7012
7013         * lib/compiler.c: Add Intel specific preprocessor macros.
7014         * lib/compiler.cc: Likewise.
7015
7016 2016-04-13  Luis Machado  <lgustavo@codesourcery.com>
7017
7018         * gdb.server/connect-with-no-symbol-file.c: New file.
7019         * gdb.server/connect-with-no-symbol-file.exp: New file.
7020
7021 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
7022
7023         * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7024
7025 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
7026
7027         * boards/gdbserver-base.exp (${board}_download): Copy source file to
7028         standard output directory.
7029
7030 2016-04-13  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7031
7032         * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7033
7034 2016-04-13  Markus Metzger  <markus.t.metzger@intel.com>
7035
7036         * gdb.btrace/instruction_history.c (loop): Add declaration.
7037
7038 2016-04-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7039
7040         * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7041
7042 2016-04-09  Simon Marchi  <simon.marchi@polymtl.ca>
7043
7044         * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
7045         parentheses to print.
7046         (continue_handler): Likewise.
7047
7048 2016-04-08  Simon Marchi  <simon.marchi@ericsson.com>
7049
7050         * gdb.server/solib-list.exp: Remove is_remote check.
7051         Pass shlib= to gdb_compile.  Don't link shared library with
7052         -soname.  Call gdb_remote_download instead of gdb_load_shlibs.
7053         Run binary filename through "readlink -f" on the target.
7054
7055 2016-04-08  Pedro Alves  <palves@redhat.com>
7056
7057         * gdb.server/solib-list.exp: Don't use gdb_load.  Instead pass the
7058         interpreter filename as argument to gdbserver_spawn.
7059         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7060         Return empty if $last_loaded_file does not exist.
7061
7062 2016-04-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7063
7064         Fix compatibility with gcc-4.8.5-4.el7.x86_64.
7065         * gdb.base/jit-main.c: Use exit after usage.
7066
7067 2016-04-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7068
7069         * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
7070         GDBHISTSIZE prior to the tests.
7071         * gdb.base/gdbinit-history.exp: Likewise.
7072
7073 2016-04-07  Pedro Alves  <palves@redhat.com>
7074
7075         * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
7076         instead of build_executable.  Use gdb_load_shlibs.
7077
7078 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7079
7080         * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
7081         Execute "si" command.
7082
7083 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7084
7085         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
7086         number instead of the comments on some line.
7087
7088 2016-04-06  Don Breazeal  <donb@codesourcery.com>
7089
7090         * gdb.dwarf2/dw2-opt-structptr.c: New test program.
7091         * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
7092
7093 2016-04-06  Simon Marchi  <simon.marchi@ericsson.com>
7094
7095         * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
7096         standard_output_file.  Remove unused binfile variable.
7097
7098 2016-04-05  Catalin Udma  <catalin.udma@freescale.com>
7099
7100         * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
7101         * gdb.python/py-mi-objfile.exp: Match "list main" output
7102         in console format.
7103
7104 2016-04-05  Simon Marchi  <simon.marchi@polymtl.ca>
7105
7106         * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
7107         absolute.
7108
7109 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7110
7111         * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
7112         absolute.
7113         * gdb.trace/ftrace.exp: Likewise.
7114         * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
7115         targets as well.
7116         (gdb_compile_shlib): Set SONAME for non-remote targets as well.
7117         (gdb_load_shlibs): Copy libraries to test directory when testing
7118         natively.  Only set solib-search-path if testing remotely.
7119         * lib/mi-support.exp (mi_load_shlibs): Likewise.
7120
7121 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7122
7123         * gdb.base/jit-so.exp: Use gdb_remote_download instead of
7124         gdb_download.  Use it even if the target is not remote.
7125         * gdb.base/jit.exp (compile_jit_test): Likewise.
7126         * lib/gdb.exp (gdb_remote_download): Copy files to the standard
7127         output directory if the destination board is local, otherwise use
7128         the standard remote_download from DejaGnu.
7129         (gdb_download): Remove.
7130         (gdb_load_shlibs): Use gdb_remote_download instead of
7131         gdb_download.
7132         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7133         Use gdb_remote_download instead of gdb_download.  Use it even if
7134         the target is not remote.
7135         * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
7136         instead of gdb_download.
7137
7138 2016-04-04  Simon Marchi  <simon.marchi@polymtl.ca>
7139
7140         * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
7141         (test_insert_delete_modify): Call mi_load_shlibs before trying to
7142         run.
7143
7144 2016-04-01  Artemiy Volkov  <artemiyv@acm.org>
7145
7146         PR gdb/19820
7147         * gdb.base/printcmds.exp: Add artificial arrays tests.
7148
7149 2016-03-31  Pedro Alves  <palves@redhat.com>
7150
7151         PR gdb/19858
7152         * gdb.base/jit-main.c: Include unistd.h.
7153         (ATTACH): Define to 0 if not already defined.
7154         (wait_for_gdb, mypid): New globals.
7155         (WAIT_FOR_GDB): New macro.
7156         (MAIN): Set an alarm.  Store the process's pid.  Wait for GDB at
7157         some breakpoint locations.
7158         * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
7159         New procedures.
7160         (one_jit_test): Add REATTACH parameter, and handle it.  Use
7161         continue_to_test_location.
7162         (top level): Test attach, and adjusts calls to one_jit_test.
7163
7164 2016-03-31  Pedro Alves  <palves@redhat.com>
7165
7166         PR gdb/19858
7167         * gdb.base/jit.exp (compile_jit_test): Add intro comment.  Add
7168         BINSUFFIX parameter, and handle it.
7169         (top level): Adjust calls compile_jit_test.
7170
7171 2016-03-31  Catalin Udma  <catalin.udma@freescale.com>
7172
7173         PR python/19743
7174         * gdb.python/py-mi-events-gdb.py: New file.
7175         * gdb.python/py-mi-events.c: New file.
7176         * gdb.python/py-mi-events.exp: New file.
7177
7178 2016-03-30  Yao Qi  <yao.qi@linaro.org>
7179
7180         * gdb.reverse/until-precsave.exp: Match function name only.
7181         * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
7182         Move malloc to a condition block.
7183         * gdb.reverse/until-reverse.exp: Match function name only.
7184
7185 2016-03-29  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7186
7187         * gdb.trace/ftrace.exp: Set arg0exp for s390.
7188         * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
7189         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
7190         variable for GPR 0 instead of assuming it is register 0.
7191         * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
7192         * lib/trace-support.exp: Add s390 registers.
7193
7194 2016-03-29  Yao Qi  <yao.qi@linaro.org>
7195
7196         * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
7197
7198 2016-03-24  Yao Qi  <yao.qi@linaro.org>
7199
7200         * gdb.reverse/break-reverse.exp: Add quotation mark in the
7201         test message.
7202
7203 2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7204
7205         * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
7206         maintaining separate logic for constructing the output path.
7207
7208 2016-03-16  Don Breazeal  <donb@codesourcery.com>
7209
7210         * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
7211         Retry fork and waitpid on interrupted system call errors.
7212         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7213         Use with_timeout_factor to increase timeout by factor of 10.
7214
7215 2016-03-15  Don Breazeal  <donb@codesourcery.com>
7216
7217         * gdb.cp/scope-err.cc: New test program.
7218         * gdb.cp/scope-err.exp: New test script.
7219         * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
7220         lines and "set breakpoint here" comment.
7221         * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
7222         Fixed some whitespace and format issues.
7223         * gdb.mi/mi-linespec-err-cp.cc: New test program.
7224         * gdb.mi/mi-linespec-err-cp.exp: New test script.
7225
7226 2016-03-15  Doug Evans  <dje@google.com>
7227
7228         * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
7229         * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
7230         All callers updated.  Add tests for enums, mixed flags register.
7231
7232 2016-03-15  Doug Evans  <dje@google.com>
7233
7234         * gdb.base/skip.c (main): Call test_skip_file_and_function.
7235         * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
7236
7237 2016-03-14  Simon Marchi  <simon.marchi@ericsson.com>
7238
7239         * gdb.base/default.exp: Add $_as_string to the list of expected
7240         convenience functions.
7241
7242 2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
7243
7244         * gdb.base/maint.exp: New tests for 'maint info line-table'.
7245
7246 2016-03-10  Simon Marchi  <simon.marchi@polymtl.ca>
7247
7248         * gdb.python/py-as-string.exp: New file.
7249         * gdb.python/py-as-string.c: New file.
7250
7251 2016-03-09  Pedro Alves  <palves@redhat.com>
7252
7253         * gdb.threads/attach-into-signal.exp: Adjust to "Program received
7254         signal" -> "Thread NN received signal" output change.
7255         * gdb.threads/ia64-sigill.exp: Likewise.
7256         * gdb.threads/linux-dp.exp: Likewise.
7257         * gdb.threads/manythreads.exp: Likewise.
7258         * gdb.threads/pending-step.exp: Likewise.
7259         * gdb.threads/print-threads.exp: Likewise.
7260         * gdb.threads/sigstep-threads.exp: Likewise.
7261         * gdb.threads/staticthreads.exp: Likewise.
7262         * gdb.threads/tls.exp: Likewise.
7263
7264 2016-03-09  Pedro Alves  <palves@redhat.com>
7265
7266         * gdb.base/command-line-input.exp: New file.
7267
7268 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7269
7270         * gdb.trace/ftrace.exp: Set arg0exp for ppc.
7271         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
7272         * gdb.trace/pending.exp: Accept leading dot before function name.
7273         * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
7274         * lib/trace-support.exp: Set registers for ppc.
7275
7276 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7277
7278         * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
7279         use it for disassembly; accept .main in addition to main in backtrace.
7280
7281 2016-03-09  Wei-cheng Wang  <cole945@gmail.com>
7282             Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7283
7284         * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
7285         (gdb_recursion_test_ptr): New global variable.
7286         (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
7287         gdb_recursion_test.
7288         (gdb_c_test): Ditto.
7289
7290 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7291
7292         * gdb.trace/change-loc.exp: Don't depend on tracepoint location
7293         ordering.
7294
7295 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7296
7297         * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
7298         (bar): Add bar_start_lbl label.
7299         * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
7300         of foo/bar for emitting DWARF and tracing.
7301
7302 2016-03-06  Sergio Durigan Junior  <sergiodj@redhat.com>
7303
7304         * analyze-racy-logs.py: Set executable bit.
7305
7306 2016-03-05  Sergio Durigan Junior  <sergiodj@redhat.com>
7307
7308         * Makefile.in (DEFAULT_RACY_ITER): New variable.
7309         (CHECK_TARGET_TMP): Likewise.
7310         (check-single-racy): New rule.
7311         (check-parallel-racy): Likewise.
7312         (TEST_TARGETS): Adjust rule to account for RACY_ITER.
7313         (do-check-parallel-racy): New rule.
7314         (check-racy/%.exp): Likewise.
7315         * README (Racy testcases): New section.
7316         * analyze-racy-logs.py: New file.
7317
7318 2016-03-03  Doug Evans  <dje@google.com>
7319
7320         * gdb.base/skip.exp: Use with_test_prefix.
7321
7322 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7323
7324         * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
7325         Invoke step_over_syscall "clone" and break_cond_on_syscall
7326         "clone".
7327         * gdb.base/step-over-clone.c: New file.
7328
7329 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7330
7331         * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
7332         code format.
7333
7334 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7335
7336         * gdb.base/disp-step-fork.c: Rename to ...
7337         * gdb.base/step-over-fork.c: ... it.  New file.
7338         * gdb.base/disp-step-vfork.c: Rename to ...
7339         * gdb.base/step-over-vfork.c: ... it.  New file.
7340         * gdb.base/disp-step-syscall.exp: Rename to ...
7341         * gdb.base/step-over-syscall.exp: ... it.  New file.
7342         (disp_step_cross_syscall): Rename to ...
7343         (step_over_syscall): ... it.
7344
7345 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7346
7347         * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7348         If target supports condition evaluation on target, invoke
7349         break_cond_on_syscall for fork and vfork.
7350
7351 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7352
7353         * gdb.base/disp-step-syscall.exp: Don't invoke
7354         support_displaced_stepping.
7355         (disp_step_cross_syscall): Test with displaced stepping off and
7356         on if supported.
7357
7358 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7359
7360         * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7361         proc.
7362         (setup): New proc.
7363         (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7364         and setup.
7365
7366 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7367
7368         * gdb.fortran/vla-history.exp: Remove breakpoint.
7369
7370 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7371
7372         * gdb.fortran/vla-history.exp: Lookup array elements and printing
7373         exceeds timeout.
7374
7375 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7376
7377         * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7378         breakpoint.
7379
7380 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7381
7382         * gdb.mi/vla.f90: Nullify pointer after declaration.
7383
7384 2016-03-01  Pedro Alves  <palves@redhat.com>
7385
7386         * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7387
7388 2016-03-01  Pedro Alves  <palves@redhat.com>
7389
7390         * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7391         before anything else.
7392         * gdb.threads/watchpoint-fork-mt.c: Likewise.  Don't define
7393         _GNU_SOURCE here.
7394         * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7395         before anything else.
7396         * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7397
7398 2016-03-01  Pedro Alves  <palves@redhat.com>
7399
7400         * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7401
7402 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7403
7404         * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7405         prepare_for_testing.
7406
7407 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7408
7409         * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7410
7411 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7412
7413         * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7414         manually constructing the output path.
7415
7416 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7417
7418         * gdb.arch/s390-stackless.S: New.
7419         * gdb.arch/s390-stackless.exp: New.
7420
7421 2016-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
7422
7423         * gdb.dlang/circular.c: New file.
7424         * gdb.dlang/circular.exp: New file.
7425
7426 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7427
7428         * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
7429         [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
7430         (testcases): Update.
7431
7432 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7433
7434         * gdb.reverse/aarch64.c: Rename to ...
7435         * gdb.reverse/insn-reverse.c: ... it.
7436         * gdb.reverse/aarch64.exp: Rename to ...
7437         * gdb.reverse/insn-reverse.exp: ... it.
7438
7439 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7440
7441         * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7442         (testcase_ftype): New.
7443         (testcases): New array.
7444         (n_testcases): New.
7445         (main): Call each element in testcases.
7446         * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7447         (read_testcase): New.
7448         Do the tests in a loop.
7449
7450 2016-02-25  Yao Qi  <yao.qi@linaro.org>
7451
7452         * gdb.base/branches.c: Remove.
7453
7454 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7455
7456         PR gdb/13808
7457         * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7458
7459 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7460
7461         * gdb.trace/ftrace.exp: Remove unnecessary target check.
7462
7463 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7464
7465         * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7466         change x86_64 call_insn to 'callq'.
7467
7468 2016-02-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7469
7470         * gdb.trace/tfile-avx.c: Move to...
7471         * gdb.trace/tracefile-pseudo-reg.c: Here.
7472         * gdb.trace/tfile-avx.exp: Move to...
7473         * gdb.trace/tracefile-pseudo-reg.exp: Here.
7474
7475 2016-02-24  Gary Benson <gbenson@redhat.com>
7476
7477         * gdb.base/attach-pie-noexec.exp: Do not expect an error
7478         message on attach.
7479
7480 2016-02-23  Doug Evans  <dje@google.com>
7481
7482         * gdb.base/skip.c (test_skip): New function.
7483         (end_test_skip_file_and_function): New function.
7484         (test_skip_file_and_function): New function.
7485         * gdb.base/skip1.c (test_skip): New function.
7486         (skip1_test_skip_file_and_function): New function.
7487         * gdb.base/skip.exp: Add tests for new skip options.
7488         * gdb.base/skip-solib.exp: Update expected output.
7489         * gdb.perf/skip-command.cc: New file.
7490         * gdb.perf/skip-command.exp: New file.
7491         * gdb.perf/skip-command.py: New file.
7492
7493 2016-02-22  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7494
7495         * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7496         info registers pattern.
7497
7498 2016-02-18  Iain Buclaw  <ibuclaw@gdcproject.org>
7499
7500         * lib/future.exp: Add D support.
7501         (gdb_find_gdc): New proc.
7502         (gdb_default_target_compile): Add D support.
7503
7504 2016-02-18  Wei-cheng Wang  <cole945@gmail.com>
7505
7506         * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7507         user+system time.
7508         (trace_speed_test): Determine the iteration count for a time
7509         between 15..30 seconds.
7510
7511 2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>
7512
7513         * gdb.arch/i386-mpx-sigsegv.c: New file.
7514         * gdb.arch/i386-mpx-sigsegv.exp: New file.
7515         * gdb.arch/i386-mpx-simple_segv.c: New file.
7516         * gdb.arch/i386-mpx-simple_segv.exp: New file.
7517
7518 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7519
7520         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7521         Don't call setup_kfail.
7522
7523 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7524
7525         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7526         Set "set breakpoint condition-evaluation" per $cond_bp_target.
7527
7528 2016-02-16  Doug Evans  <dje@google.com>
7529
7530         * gdb.base/skip.c: Add copyright.  Whitespace cleanup.
7531         * gdb.base/skip1.c: Ditto.
7532         * gdb.base/skip.exp: Whitespace cleanup.
7533
7534 2016-02-16  Don Breazeal  <donb@codesourcery.com>
7535
7536         PR remote/19496
7537         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7538         Remove kfail for PR remote/19496.
7539
7540 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7541
7542         * lib/gdb.exp (standard_temp_file): Return a path specific to
7543         the runtest invocation.
7544
7545 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7546
7547         * gdb.trace/save-trace.exp: Change relative path to be in the
7548         standard output directory.
7549
7550 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7551
7552         * gdb.arch/i386-prologue.c: Add missing prototypes.
7553
7554 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7555
7556         * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7557         * gdb.arch/i386-prologue.exp: Likewise.
7558         * gdb.arch/i386-size.exp: Likewise.
7559
7560 2016-02-15  Simon Marchi  <simon.marchi@ericsson.com>
7561
7562         * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7563         define object file path.
7564         * gdb.btrace/gcore.exp: Use standard_output_file to define core
7565         file path.
7566         * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7567         standard_output_file to define binfile.
7568
7569 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7570
7571         Fix compatibility with recent gfortran-5.3.1.
7572         * gdb.fortran/vla-history.exp (print vla1 allocated)
7573         (print vla2 allocated, print $2, print $3): Remove
7574         (print $4): Rename to ...
7575         (print $2): ... here.
7576         (print $9): Rename to ...
7577         (print $5): ... here.
7578         (print $10): Rename to ...
7579         (print $6): ... here.
7580         * gdb.fortran/vla.f90: Add pvla initialization.
7581
7582 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7583
7584         * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7585         New test.
7586         * gdb.fortran/vla-value-sub.exp: Likewise.
7587
7588 2016-02-12  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7589
7590         * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7591
7592 2016-02-12  Simon Marchi  <simon.marchi@ericsson.com>
7593
7594         * i386-biarch-core.exp: Define corefile using
7595         standard_output_file.
7596
7597 2016-02-12  Yao Qi  <yao.qi@linaro.org>
7598
7599         * gdb.arch/arm-single-step-kernel-helper.c: New.
7600         * gdb.arch/arm-single-step-kernel-helper.exp: New.
7601
7602 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
7603
7604         * gdb.btrace/tailcall-only.exp: New.
7605         * gdb.btrace/tailcall-only.c: New.
7606         * gdb.btrace/x86_64-tailcall-only.S: New.
7607         * gdb.btrace/i686-tailcall-only.S: New.
7608
7609 2016-02-11  Pedro Alves  <palves@redhat.com>
7610
7611         * README (Parallel testing): Add missing double quotes.
7612
7613 2016-02-11  Pedro Alves  <palves@redhat.com>
7614
7615         * README (Parallel testing): New section.
7616         (GDB_PARALLEL): Rewrite.
7617         (FORCE_PARALLEL): Document.
7618
7619 2016-02-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7620
7621         * gdb.trace/tfile-avx.c: New test.
7622         * gdb.trace/tfile-avx.exp: New test.
7623
7624 2016-02-09  Keith Seitz  <keiths@redhat.com>
7625
7626         PR breakpoints/19546
7627         * gdb.base/infcall-exec.c: New file.
7628         * gdb.base/infcall-exec2.c: New file.
7629         * gdb.base/infcall-exec.exp: New file.
7630
7631 2016-02-09  Keith Seitz  <keiths@redhat.com>
7632
7633         * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7634         (toplevel): Call test_bkpt_address.
7635
7636 2016-02-09  Keith Seitz  <keiths@redhat.com>
7637
7638         PR python/19506
7639         * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7640         (toplevel): Call test_bkpt_address.
7641
7642 2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
7643
7644         * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7645         to AC_OUTPUT.
7646         * configure: Regenerate.
7647
7648 2016-02-09  Pedro Alves  <palves@redhat.com>
7649
7650         PR breakpoints/19548
7651         * gdb.base/execl-update-breakpoints.c (some_function): New
7652         function.
7653         (main): Call it.
7654         * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7655         Tighten expected GDB output.
7656
7657 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
7658
7659         * Makefile.in (ALL_SUBDIRS): Remove.
7660         (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7661         (distclean maintainer-clean realclean): Likewise.
7662         * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7663         * configure: Regenerate.
7664         * gdb.ada/Makefile.in: Delete.
7665         * gdb.arch/Makefile.in: Likewise.
7666         * gdb.asm/Makefile.in: Likewise.
7667         * gdb.base/Makefile.in: Likewise.
7668         * gdb.btrace/Makefile.in: Likewise.
7669         * gdb.cell/Makefile.in: Likewise.
7670         * gdb.compile/Makefile.in: Likewise.
7671         * gdb.cp/Makefile.in: Likewise.
7672         * gdb.disasm/Makefile.in: Likewise.
7673         * gdb.dlang/Makefile.in: Likewise.
7674         * gdb.dwarf2/Makefile.in: Likewise.
7675         * gdb.fortran/Makefile.in: Likewise.
7676         * gdb.gdb/Makefile.in: Likewise.
7677         * gdb.go/Makefile.in: Likewise.
7678         * gdb.guile/Makefile.in: Likewise.
7679         * gdb.java/Makefile.in: Likewise.
7680         * gdb.linespec/Makefile.in: Likewise.
7681         * gdb.mi/Makefile.in: Likewise.
7682         * gdb.modula2/Makefile.in: Likewise.
7683         * gdb.multi/Makefile.in: Likewise.
7684         * gdb.objc/Makefile.in: Likewise.
7685         * gdb.opencl/Makefile.in: Likewise.
7686         * gdb.opt/Makefile.in: Likewise.
7687         * gdb.pascal/Makefile.in: Likewise.
7688         * gdb.perf/Makefile.in: Likewise.
7689         * gdb.python/Makefile.in: Likewise.
7690         * gdb.reverse/Makefile.in: Likewise.
7691         * gdb.server/Makefile.in: Likewise.
7692         * gdb.stabs/Makefile.in: Likewise.
7693         * gdb.threads/Makefile.in: Likewise.
7694         * gdb.trace/Makefile.in: Likewise.
7695         * gdb.xml/Makefile.in: Likewise.
7696         * lib/gdb.exp (make_gdb_parallel_path): Add check for
7697         GDB_PARALLEL.
7698         (standard_output_file): Remove check for GDB_PARALLEL, always
7699         return path in outputs/$subdir/$testname.
7700
7701 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
7702
7703         * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7704         (site.exp): Assign abs_srcdir to tcl's srcdir.
7705
7706 2016-02-04  Yao Qi  <yao.qi@linaro.org>
7707
7708         * gdb.base/foll-exec-mode.c: Include limits.h.
7709         (main): Add parameters argc and argv.  Get directory from
7710         argv[0].
7711         * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7712         compilation.
7713         * gdb.base/foll-exec.c: Include limits.h.
7714         (main): Add parameters argc and argv.
7715         Get directory from argv[0].
7716         * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7717         Adjust tests on the number of lines as source code changed.
7718         * gdb.base/foll-vfork-exit.c: Include limits.h.
7719         (main): Add one line of statement before vfork.
7720         * gdb.base/foll-vfork.c: Include limits.h and string.h.
7721         (main): Add parameters argc and argv.  Get directory from
7722         argv[0].
7723         * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7724         (setup_gdb): Set tbreak to skip some source lines.
7725         * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7726         (main): Add parameters argc and argv.  Get directory from
7727         argv[0].
7728         * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7729         compilation.
7730         * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7731         (main): Add parameters argc and argv.  Get directory from
7732         argv[0].
7733         * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7734         compilation.
7735
7736 2016-02-01  Doug Evans  <dje@google.com>
7737
7738         * gdb.base/skip.exp: Clean up multiple references to same test name.
7739
7740 2016-02-01  Pedro Alves  <palves@redhat.com>
7741
7742         PR remote/19496
7743         * gdb.threads/forking-threads-plus-breakpoint.exp
7744         (displaced_stepping_supported): New global.
7745         (probe_displaced_stepping_support): New procedure.
7746         (do_test): Add 'displaced' parameter, and use it.
7747         (top level): Check for displaced stepping support.  Add displaced
7748         stepping on/off testing axis.
7749
7750 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
7751
7752         * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7753         pointer.  Don't perform further tests on the unassociated pointer
7754         if the first test fails.
7755
7756 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
7757
7758         * gdb.base/max-value-size.c: New file.
7759         * gdb.base/max-value-size.exp: New file.
7760         * gdb.base/huge.exp: Disable max-value-size for this test.
7761
7762 2016-01-28  Iain Buclaw  <ibuclaw@gdcproject.org>
7763
7764         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7765
7766 2016-01-28  Yao Qi  <yao.qi@linaro.org>
7767
7768         * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7769
7770 2016-01-25  Pedro Alves  <palves@redhat.com>
7771
7772         PR threads/19461
7773         * gdb.base/fork-running-state.c: New file.
7774         * gdb.base/fork-running-state.exp: New file.
7775
7776 2016-01-25  Pedro Alves  <palves@redhat.com>
7777
7778         PR gdb/19494
7779         * gdb.base/catch-fork-kill.c: New file.
7780         * gdb.base/catch-fork-kill.exp: New file.
7781
7782 2016-01-25  Pedro Alves  <palves@redhat.com>
7783
7784         * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7785         Delete, moved to lib/gdb.exp.
7786         * gdb.threads/forking-threads-plus-breakpoint.exp
7787         (foreach_with_prefix): Likewise.
7788         * gdb.threads/process-dies-while-handling-bp.exp
7789         (foreach_with_prefix): Likewise.
7790         * lib/gdb.exp (foreach_with_prefix): New procedure.
7791
7792 2016-01-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7793
7794         * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7795         * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7796
7797 2016-01-23  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7798
7799         * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7800         endian targets.
7801
7802 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
7803             Pedro Alves  <palves@redhat.com>
7804
7805         Fix testsuite compatibility with Guile.
7806         * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7807         number.
7808
7809 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
7810
7811         Fix testsuite compatibility with Guile.
7812         * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7813         (thread 1): New test for backtrace through signal handler.
7814
7815 2016-01-22  Yao Qi  <yao.qi@linaro.org>
7816
7817         PR testsuite/19491
7818         * gdb.base/multi-forks.c: Include
7819         ../lib/unbuffer_output.c
7820         (main): Call gdb_unbuffer_output.
7821
7822 2016-01-21  Doug Evans  <dje@google.com>
7823
7824         * lib/ada.exp (gdb_compile_ada): Fix typo.
7825
7826 2016-01-21  Joel Brobecker  <brobecker@adacore.com>
7827
7828         * gdb.base/break-fun-addr.exp: New file.
7829         * gdb.base/break-fun-addr1.c: New file.
7830         * gdb.base/break-fun-addr2.c: New file.
7831
7832 2016-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
7833
7834         * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7835         * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7836         enum flag values.
7837
7838 2016-01-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7839
7840         * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7841         when GDB can not set the vector return value.  Add more comments
7842         for clarification.
7843
7844 2016-01-20  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7845
7846         * gdb.trace/tspeed.exp:  Use shlib instead of libs in gdb_compile
7847         command.
7848
7849 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
7850
7851         * Makefile.in (DO_RUNTEST): Add --status and update usages.
7852
7853 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
7854
7855         * Makefile.in (check-single): Pass --status to runtest.
7856         (check/%.exp): Likewise.
7857
7858 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
7859
7860         * Makefile.in (check-parallel): Propagate return code from make
7861         do-check-parallel.
7862
7863 2016-01-19  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7864
7865         * gdb.trace/ftrace.exp: Fix expected message on continue.
7866         * gdb.trace/pending.exp: Fix expected message on continue.
7867         * gdb.trace/trace-break.exp: Fix expected message on continue.
7868
7869 2016-01-18  Simon Marchi  <simon.marchi@ericsson.com>
7870
7871         * lib/gdb.exp (gdb_test): Remove unused global references.
7872
7873 2016-01-18  Pedro Alves  <palves@redhat.com>
7874
7875         * gdb.base/async-shell.exp: Adjust expected output.
7876         * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7877         * gdb.base/siginfo-thread.exp: Adjust expected output.
7878         * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7879         * gdb.java/jnpe.exp: Adjust expected output.
7880         * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7881         * gdb.threads/continue-pending-status.exp: Adjust expected output.
7882         * gdb.threads/leader-exit.exp: Adjust expected output.
7883         * gdb.threads/manythreads.exp: Adjust expected output.
7884         * gdb.threads/pthreads.exp: Adjust expected output.
7885         * gdb.threads/schedlock.exp: Adjust expected output.
7886         * gdb.threads/siginfo-threads.exp: Adjust expected output.
7887         * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
7888         expected output.
7889         * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
7890         output.
7891         * gdb.threads/sigthread.exp: Adjust expected output.
7892         * gdb.threads/watchpoint-fork.exp: Adjust expected output.
7893
7894 2016-01-18  Yao Qi  <yao.qi@linaro.org>
7895
7896         * gdb.guile/scm-section-script.c: Replace @progbits with
7897         %progbits.
7898         * gdb.python/py-section-script.c: Likewise.
7899
7900 2016-01-15  Pedro Alves  <palves@redhat.com>
7901
7902         * gdb.multi/tids.exp: Test star wildcard ranges.
7903
7904 2016-01-15  Pedro Alves  <palves@redhat.com>
7905
7906         * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
7907         command from "thread apply" invocation.
7908         (thr_apply_info_thr_invalid): Default the expected output to the
7909         input tid list.
7910         (top level): Add tests that use convenience variables.  Add tests
7911         for "thread apply" with a valid TID list, but missing the command.
7912
7913 2016-01-13  Pedro Alves  <palves@redhat.com>
7914
7915         * gdb.base/default.exp: Expect $_gthread as well.
7916         * gdb.multi/tids.exp: Test $_gthread.
7917         * gdb.threads/thread-specific.exp: Test $_gthread.
7918
7919 2016-01-13  Pedro Alves  <palves@redhat.com>
7920
7921         * gdb.multi/tids.exp: Test "info threads -gid".
7922
7923 2016-01-13  Pedro Alves  <palves@redhat.com>
7924
7925         * gdb.multi/tids.exp: Test InferiorThread.global_num and
7926         Breakpoint.thread.
7927         * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
7928
7929 2016-01-07  Pedro Alves  <palves@redhat.com>
7930
7931         * gdb.base/break.exp: Adjust to output changes.
7932         * gdb.base/hbreak2.exp: Likewise.
7933         * gdb.base/sepdebug.exp: Likewise.
7934         * gdb.base/watch_thread_num.exp: Likewise.
7935         * gdb.linespec/keywords.exp: Likewise.
7936         * gdb.multi/info-threads.exp: Likewise.
7937         * gdb.threads/thread-find.exp: Likewise.
7938         * gdb.multi/tids.c: New file.
7939         * gdb.multi/tids.exp: New file.
7940
7941 2016-01-13  Pedro Alves  <palves@redhat.com>
7942
7943         * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
7944
7945 2016-01-13  Pedro Alves  <palves@redhat.com>
7946
7947         * gdb.base/default.exp: Expect $_inferior as well.
7948         * gdb.multi/base.exp: Test $_inferior.
7949
7950 2016-01-13  Pedro Alves  <palves@redhat.com>
7951
7952         PR breakpoints/19388
7953         * gdb.base/catch-signal-siginfo-cond.c: New file.
7954         * gdb.base/catch-signal-siginfo-cond.exp: New file.
7955
7956 2016-01-12  Josh Stone  <jistone@redhat.com>
7957             Philippe Waroquiers  <philippe.waroquiers@skynet.be>
7958
7959         * gdb.base/catch-syscall.c (do_execve): New variable.
7960         (main): Conditionally trigger an execve.
7961         * gdb.base/catch-syscall.exp: Enable testing for remote targets.
7962         (test_catch_syscall_execve): New, check entry/return across execve.
7963         (do_syscall_tests): Call test_catch_syscall_execve.
7964
7965 2016-01-12  Pedro Alves  <palves@redhat.com>
7966
7967         * gdb.base/random-signal.exp (do_test): New procedure, with body
7968         of testcase moved in.
7969
7970 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7971             Pedro Alves  <palves@redhat.com>
7972
7973         * gdb.base/funcargs.exp (finish from indirectly called function):
7974         Reintroduce the case for 'First'.
7975
7976 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7977             Pedro Alves  <palves@redhat.com>
7978
7979         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7980         (tcatch_vfork_then_child_follow_exec)
7981         (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
7982         identification.
7983
7984 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7985
7986         * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
7987         and repeats to unlimited.
7988         * gdb.python/py-value.exp: Likewise.
7989         * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
7990         and repeats to unlimited.
7991
7992 2016-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7993
7994         * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
7995         and reordering the functions.
7996         * gdb.multi/hangout.c: Likewise.
7997         * gdb.multi/hello.c: Likewise.
7998
7999 2016-01-08  Simon Marchi  <simon.marchi@ericsson.com>
8000
8001         * gdb.perf/lib/perftest/perftest.py: Change relative imports to
8002         absolute.
8003         (SingleStatisticTestResult.report): Use dict.keys instead of
8004         dict.iterkeys.
8005
8006 2016-01-06  Pedro Alves  <palves@redhat.com>
8007
8008         * gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
8009
8010 2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
8011
8012         * gdb.btrace/dlopen.exp: New.
8013         * gdb.btrace/dlopen.c: New.
8014         * gdb.btrace/dlopen-dso.c: New.
8015
8016 2015-12-25  Sandra Loosemore  <sandra@codesourcery.com>
8017
8018         * lib/gdb.exp (gdb_test): Update comments to clarify that the
8019         PATTERN argument is optional.
8020
8021 2015-12-24  Joel Brobecker  <brobecker@adacore.com>
8022
8023         * lib/ada.exp (target_compile_ada_from_dir): New function.
8024         (gdb_compile_ada): Reimplement avoiding the use of project files.
8025         * gdb.ada/gnat_ada.gpr: Delete.
8026         * gdb.ada/cond_lang.exp: Adjust test to make path before
8027         filename optional.
8028         * gdb.ada/small_reg_param.exp: Likewise.
8029
8030 2015-12-22  Simon Marchi  <simon.marchi@ericsson.com>
8031
8032         * gdb.base/foll-vork.exp: Remove HP-UX special case.
8033
8034 2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>
8035
8036         * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8037         case.
8038
8039 2015-12-21  Simon Marchi  <simon.marchi@ericsson.com>
8040
8041         * gdb.base/break.exp: Remove dead code.
8042         * gdb.base/sepdebug.exp: Likewise.
8043
8044 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8045
8046         * gdb.asm/asm-source.exp: Remove HP-UX references.
8047         * gdb.base/annota1.exp: Likewise.
8048         * gdb.base/annota3.exp: Likewise.
8049         * gdb.base/attach.exp: Likewise.
8050         * gdb.base/bigcore.exp: Likewise.
8051         * gdb.base/break.exp: Likewise.
8052         * gdb.base/call-ar-st.exp: Likewise.
8053         * gdb.base/callfuncs.exp: Likewise.
8054         * gdb.base/catch-fork-static.exp: Likewise.
8055         * gdb.base/display.exp: Likewise.
8056         * gdb.base/foll-exec-mode.exp: Likewise.
8057         * gdb.base/foll-exec.exp: Likewise.
8058         * gdb.base/foll-fork.exp: Likewise.
8059         * gdb.base/foll-vfork.exp: Likewise.
8060         * gdb.base/funcargs.exp: Likewise.
8061         * gdb.base/hbreak2.exp: Likewise.
8062         * gdb.base/inferior-died.exp: Likewise.
8063         * gdb.base/interrupt.exp: Likewise.
8064         * gdb.base/multi-forks.exp: Likewise.
8065         * gdb.base/nodebug.exp: Likewise.
8066         * gdb.base/sepdebug.exp: Likewise.
8067         * gdb.base/solib1.c: Likewise.
8068         * gdb.base/step-test.exp: Likewise.
8069         * gdb.mi/non-stop.c: Likewise.
8070         * gdb.mi/pthreads.c: Likewise.
8071         * gdb.multi/bkpt-multi-exec.ex: Likewise.
8072         * gdb.threads/pthreads.c: Likewise.
8073         * gdb.threads/staticthreads.exp: Likewise.
8074         * lib/future.exp: Likewise.
8075         * lib/gdb.exp: Likewise.
8076         * gdb.base/so-indr-cl.c: Remove.
8077         * gdb.base/so-indr-cl.exp: Likewise.
8078         * gdb.base/solib.c: Likewise.
8079         * gdb.base/solib.exp: Likewise.
8080         * gdb.base/solib2.c: Likewise.
8081
8082 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8083
8084         * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
8085         * gdb.base/call-ar-st.exp: Likewise.
8086         * gdb.base/callfuncs.exp: Likewise.
8087         * gdb.base/condbreak.exp: Likewise.
8088         * gdb.base/constvars.exp: Likewise.
8089         * gdb.base/hbreak2.exp: Likewise.
8090         * gdb.base/langs.exp: Likewise.
8091         * gdb.base/list.exp: Likewise.
8092         * gdb.base/long_long.exp: Likewise.
8093         * gdb.base/ptype.exp: Likewise.
8094         * gdb.base/scope.exp: Likewise.
8095         * gdb.base/signals.exp: Likewise.
8096         * gdb.base/so-impl-ld.exp: Likewise.
8097         * gdb.base/varargs.exp: Likewise.
8098         * gdb.base/volatile.exp: Likewise.
8099         * gdb.base/whatis.exp: Likewise.
8100         * gdb.cp/cplusfuncs.exp: Likewise.
8101         * gdb.cp/inherit.exp: Likewise.
8102         * gdb.cp/local.exp: Likewise.
8103         * gdb.cp/member-ptr.exp: Likewise.
8104         * gdb.cp/method.exp: Likewise.
8105         * gdb.cp/overload.exp: Likewise.
8106         * gdb.cp/templates.exp: Likewise.
8107         * gdb.stabs/weird.exp: Likewise.
8108         * lib/compiler.c: Likewise.
8109         * lib/compiler.cc: Likewise.
8110         * lib/cp-support.exp: Likewise.
8111         * lib/gdb.exp: Likewise.
8112
8113 2015-12-20  Simon Marchi  <simon.marchi@polymtl.ca>
8114
8115         * configure.ac: Remove HP-UX case.
8116         * configure: Regenerate.
8117
8118 2015-12-18  Simon Marchi  <simon.marchi@ericsson.com>
8119
8120         * lib/gdb.exp (gdb_compile): Add function doc.
8121
8122 2015-12-17  Pedro Alves  <palves@redhat.com>
8123
8124         PR threads/19354
8125         * gdb.multi/info-threads.exp: New file.
8126
8127 2015-12-15  Yao Qi  <yao.qi@linaro.org>
8128
8129         * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
8130         is aarch64*-*-*.
8131
8132 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8133
8134         * gdb.base/history-duplicates.exp: Skip if no readline support.
8135
8136 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8137
8138         * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
8139
8140 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8141
8142         * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
8143
8144 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8145
8146         * gdb.base/completion.exp: Skip tests that interrupt GDB with
8147         ctrl-C if nointerrupts target property is set.
8148         * gdb.base/double-prompt-target-event-error.exp: Likewise.
8149         * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
8150         * gdb.base/paginate-bg-execution.exp: Likewise.
8151         * gdb.base/paginate-execution-startup.exp: Likewise.
8152         * gdb.base/random-signal.exp: Likewise.
8153         * gdb.base/range-stepping.exp: Likewise.
8154         * gdb.cp/annota2.exp: Likewise.
8155         * gdb.cp/annota3.exp: Likewise.
8156         * gdb.gdb/selftest.exp: Likewise.
8157         * gdb.threads/continue-pending-status.exp: Likewise.
8158         * gdb.threads/leader-exit.exp: Likewise.
8159         * gdb.threads/manythreads.exp: Likewise.
8160         * gdb.threads/pthreads.exp: Likewise.
8161         * gdb.threads/schedlock.exp: Likewise.
8162         * gdb.threads/sigthread.exp: Likewise.
8163
8164 2015-12-11  Don Breazeal  <donb@codesourcery.com>
8165
8166         * gdb.base/execl-update-breakpoints.exp (main): Enable for target
8167         remote.
8168         * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
8169         * gdb.base/foll-exec.exp (main): Enable for target remote.
8170         * gdb.base/foll-fork.exp (main): Likewise.
8171         * gdb.base/foll-vfork.exp (main): Likewise.
8172         * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
8173         (proc continue_to_exit_bp_loc): Use clean_restart.
8174         * gdb.base/pie-execl.exp (main): Disable for target remote.
8175         * gdb.base/watch-vfork.exp (main): Enable for target remote.
8176         * gdb.mi/mi-nsthrexec.exp (main): Likewise.
8177         * gdb.threads/execl.exp (main): Likewise.
8178         * gdb.threads/fork-child-threads.exp (main): Likewise.
8179         * gdb.threads/fork-plus-threads.exp (main): Disable for target
8180         remote.
8181         * gdb.threads/fork-thread-pending.exp (main): Enable for target
8182         remote.
8183         * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
8184         pid.tid style ptids, instead of just tid.
8185         * gdb.threads/thread-execl.exp (main): Enable for target remote.
8186         * gdb.threads/watchpoint-fork.exp (main): Likewise.
8187         * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
8188         ptids, instead of just tid.
8189
8190 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8191
8192         * gdb.base/list.exp (test_list_forward): Add end of file error
8193         test.
8194         (test_repeat_list_command): Add end of file error test.
8195         (test_list_backwards): Add beginning of file error test.
8196
8197 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8198
8199         * gdb.base/list.exp (test_list_invalid_args): New function,
8200         defined, and called.
8201
8202 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8203
8204         * gdb.base/list.exp (test_list): Make test names unique.
8205
8206 2015-12-11  Yao Qi  <yao.qi@linaro.org>
8207
8208         * gdb.base/coremaker2.c: Remove.
8209
8210 2015-12-10  Pedro Alves  <palves@redhat.com>
8211
8212         * gdb.multi/base.exp: Remove stale "spaces" references.
8213
8214 2015-12-10  Pedro Alves  <palves@redhat.com>
8215
8216         * gdb.multi/base.exp: Don't use nowarnings.
8217         * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
8218         * gdb.multi/hangout.c: Include stdio.h.
8219         * gdb.multi/hello.c: Include stdlib.h.
8220         * gdb.multi/multi-arch-exec.c: Include stdlib.h.
8221         * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
8222         * gdb.multi/multi-arch.exp: Don't use nowarnings.
8223
8224 2015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
8225
8226         * gdb.dwarf2/dw2-ranges-base.c: New file.
8227         * gdb.dwarf2/dw2-ranges-base.exp: New file.
8228         * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
8229         support additional line table, and debug ranges generation.
8230         (Dwarf::ranges): New function, generate .debug_ranges.
8231         (Dwarf::lines): Support generating simple line table programs.
8232         (Dwarf::assemble): Initialise new namespace variables.
8233
8234 2015-12-09  Kevin Buettner  <kevinb@redhat.com>
8235
8236         * gdb.base/async.exp (proc test_background): Add case for
8237         asynchronous execution not supported.
8238
8239 2015-12-09  Luis Machado  <lgustavo@codesourcery.com>
8240
8241         * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
8242           format and change test names to make them unique.
8243
8244 2015-12-09  Ruslan Kabatsayev  <b7.10110111@gmail.com>
8245             Pedro Alves  <pedro@redhat.com>
8246
8247         PR gdb/18702
8248         Add checking of floatformats setup on x86_64 hosts.
8249         * gdb.arch/i386-float.S (main): Load bigval and smallval.
8250         (smallval, bigval): New labels/constants.
8251         * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
8252         float" after loading bigval and smallval.
8253
8254 2015-12-07  Pierre-Marie de Rodat  <derodat@adacore.com>
8255
8256         * gdb.ada/fun_overload_menu.exp: New testcase.
8257         * gdb.ada/fun_overload_menu/foo.adb: New testcase.
8258
8259 2015-12-04  Josh Stone  <jistone@redhat.com>
8260
8261         * gdb.base/catch-fork-static.exp: New.
8262
8263 2015-12-03  Yao Qi  <yao.qi@linaro.org>
8264
8265         * gdb.base/sizeof.c: Don't include stdio.h and
8266         ../lib/unbuffer_output.c.
8267         (main): New variable 'size' and 'value'.  Remove printf and
8268         gdb_unbuffer_output.  Assign return value to size and value.
8269         * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
8270         at the beginning.
8271         (check_sizeof): Check the result by printing variable 'size'.
8272         (check_valueof): Check the result by printing variable 'value'.
8273
8274 2015-12-01  Yao Qi  <yao.qi@linaro.org>
8275
8276         * gdb.base/disp-step-syscall.exp: Define syscall instruction
8277         for aarch64*-*-linux* target.
8278
8279 2015-11-30  Pedro Alves  <palves@redhat.com>
8280
8281         * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
8282
8283 2015-11-30  Pedro Alves  <palves@redhat.com>
8284
8285         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
8286         Handle non-stop mode vCont replies.
8287
8288 2015-11-30  Pedro Alves  <palves@redhat.com>
8289
8290         * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
8291         prepare_for_testing.  Start gdb with "set non-stop on" appended to
8292         GDBFLAGS.  Lax expected stop output.
8293
8294 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8295
8296         * gdb.arch/arm-neon.exp: New.
8297         * gdb.arch/arm-neon.c: New.
8298
8299 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8300
8301         * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
8302
8303 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8304
8305         * gdb.cp/annota2.exp: Allow multiple occurrences of the
8306         frames-invalid annotation.
8307
8308 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8309
8310         * gdb.cp/annota2.exp: Use ${frames_invalid}.
8311
8312 2015-11-26  Simon Marchi  <simon.marchi@ericsson.com>
8313
8314         * gdb.threads/names.exp: New file.
8315         * gdb.threads/names.c: New file.
8316         * README: Mention gdb,no_thread_names.
8317
8318 2015-11-26  Markus Metzger  <markus.t.metzger@intel.com>
8319
8320         PR 19297
8321         * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
8322         support" error.
8323
8324 2015-11-24  Pedro Alves  <palves@redhat.com>
8325
8326         PR 17539
8327         * gdb.base/display.exp: Expect displays to be sorted in ascending
8328         order.  Use multi_line.
8329         * gdb.base/solib-display.exp: Likewise.
8330
8331 2015-11-24  Pedro Alves  <palves@redhat.com>
8332
8333         PR 17539
8334         * gdb.base/display.exp: Expect displays to be sorted in ascending
8335         order.  Use multi_line.
8336         * gdb.base/solib-display.exp: Likewise.
8337
8338 2015-11-24  Pedro Alves  <palves@redhat.com>
8339
8340         PR 17539
8341         * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8342         threads in ascending order.
8343         * gdb.base/foll-fork.exp: Likewise.
8344         * gdb.base/foll-vfork.exp: Likewise.
8345         * gdb.base/multi-forks.exp: Likewise.
8346         * gdb.mi/mi-nonstop.exp: Likewise.
8347         * gdb.mi/mi-nsintrall.exp: Likewise.
8348         * gdb.multi/base.exp: Likewise.
8349         * gdb.multi/multi-arch.exp: Likewise.
8350         * gdb.python/py-inferior.exp: Likewise.
8351         * gdb.threads/break-while-running.exp: Likewise.
8352         * gdb.threads/execl.exp: Likewise.
8353         * gdb.threads/gcore-thread.exp: Likewise.
8354         * gdb.threads/info-threads-cur-sal.exp: Likewise.
8355         * gdb.threads/kill.exp: Likewise.
8356         * gdb.threads/linux-dp.exp: Likewise.
8357         * gdb.threads/multiple-step-overs.exp: Likewise.
8358         * gdb.threads/next-bp-other-thread.exp: Likewise.
8359         * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8360         * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8361         * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8362         * gdb.threads/thread-find.exp: Likewise.
8363         * gdb.threads/tls.exp: Likewise.
8364         * lib/mi-support.exp (mi_reverse_list): Delete.
8365         (mi_check_thread_states): No longer reverse list.
8366
8367 2015-11-24  Pedro Alves  <palves@redhat.com>
8368
8369         * gdb.python/py-inferior.exp: Use with_test_prefix.  Consistently
8370         use lowercase.
8371
8372 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8373
8374         * gdb.trace/actions.c: Include trace-common.h.
8375         (main): Add a location for a fast tracepoint.
8376         * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8377         the normal tracepoints.
8378         (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8379
8380 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8381
8382         * save-trace.exp: Factor out code to these...
8383         (gdb_save_tracepoints): New.
8384         (gdb_load_tracepoints): New.
8385         (do_save_load_test): New.
8386
8387 2015-11-23  Kevin Buettner  <kevinb@redhat.com>
8388
8389         * gdb.base/asmlabel.exp: New test.
8390         * gdb.base/asmlabel.c: New test case.
8391
8392 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8393
8394         * gdb.base/wrong_frame_bt_full-main.c: New file.
8395         * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8396         * gdb.base/wrong_frame_bt_full.exp: New file.
8397
8398 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8399
8400         * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8401
8402 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8403
8404         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8405         pstate register when comparing registers values in
8406         sparc64-*-linux-gnu targets to avoid spurious differences.
8407
8408 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8409
8410         * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8411
8412 2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>
8413
8414         * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8415         as type argument to gdb_compile.
8416         * gdb.base/nested-subp2.exp: Likewise.
8417         * gdb.base/nested-subp3.exp: Likewise.
8418
8419 2015-11-17  Dominik Vogt  <vogt@linux.vnet.ibm.com>
8420
8421         * lib/dwarf.exp (_note): Fix left shift of negative value.
8422         * gdb.trace/trace-condition.exp: Likewise.
8423
8424 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8425
8426         * gdb.base/call-sc.exp (test_scalar_returns): Remove the
8427         comments about d10v.
8428         (test_scalar_returns): Likewise.
8429         * gdb.base/d10v.ld: Remove.
8430         * gdb.base/overlays.exp: Remove the target triplet checking for
8431         d10v-*-*.
8432         * gdb.base/structs.exp (test_struct_returns): Remove the
8433         comments about d10v.
8434         (test_struct_calls): Likewise.
8435
8436 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8437
8438         * gdb.base/gnu_vector.exp: Check the return value by "p res".
8439         * gdb.base/gnu_vector.c: Don't include stdio.h.
8440         (main): Don't print res and call add_some_intvecs.
8441
8442 2015-11-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8443
8444         * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8445         macro.
8446         (func5): Removed.
8447         (func4): Use FAST_TRACEPOINT_LABEL.
8448         * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8449         macro.
8450         (func): Removed.
8451         (thread_function): Use FAST_TRACEPOINT_LABEL.
8452         * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8453         (func): Remove.
8454         (marker): Use FAST_TRACEPOINT_LABEL.
8455         * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8456         (pendfunc1): Remove.
8457         (pendfunc): Use FAST_TRACEPOINT_LABEL.
8458         * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8459         (foo): Remove.
8460         (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8461         * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8462         macro.
8463         (func): Remove.
8464         (marker): Use FAST_TRACEPOINT_LABEL.
8465         * gdb.trace/trace-common.h: New header.
8466         * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8467         macro.
8468         (func): Remove.
8469         (marker): Use FAST_TRACEPOINT_LABEL.
8470         * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8471         (func): Remove.
8472         (thread_function): Use FAST_TRACEPOINT_LABEL.
8473
8474 2015-11-10  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8475
8476         * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8477         in front.
8478         * gdb.trace/change-loc.exp: Use global pcreg definition.
8479         * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8480         * gdb.trace/entry-values.exp: Use global spreg definition, add $
8481         in front.
8482         * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8483         * gdb.trace/pending.exp: Likewise.
8484         * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8485         * gdb.trace/trace-break.exp: Likewise.
8486         * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8487         in front.
8488         * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8489         * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8490         in front.
8491         * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8492
8493 2015-11-09  Joel Brobecker  <brobecker@adacore.com>
8494
8495         * gdb.ada/fin_fun_out: New testcase.
8496
8497 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8498
8499         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8500         value associated with DW_AT_byte_size.
8501         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8502         constants for DW_AT_byte_size, DW_AT_lower_bound, and
8503         DW_AT_upper_bound.
8504
8505 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8506
8507         * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8508         (gdb_target_symbol_prefix_flags): Define in terms of _asm
8509         version.
8510         * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8511         gdb.dwarf2/dw2-canonicalize-type.exp,
8512         gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8513         gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8514         gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8515         provided by gdb_target_symbol_prefix_flags_asm.
8516         * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8517         testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8518         testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8519         testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8520         gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8521         macros where needed).  Use this macro for symbols which require
8522         the prefix provided by SYMBOL_PREFIX.
8523
8524 2015-11-05  Kevin Buettner  <kevinb@redhat.com>
8525
8526         * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8527         New procs.
8528         * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8529         representing expressions, of more than one list element.
8530         * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8531         to prepend linker symbol prefix to f.
8532         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8533         table_1 and table_2.
8534         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8535         Likewise, for f and g.
8536         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8537         for ptr.
8538         * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8539         for main.
8540         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8541         table_1_ptr and table_2_ptr.
8542
8543 2015-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
8544             Joel Brobecker  <brobecker@adacore.com>
8545
8546         * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8547
8548 2015-11-04  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8549
8550         * gdb.reverse/s390-mvcle.c: New test.
8551         * gdb.reverse/s390-mvcle.exp: New file.
8552         * lib/gdb.exp: Enable reverse tests on s390*-linux.
8553
8554 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8555
8556         * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8557
8558 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8559
8560         * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8561         reaching marker2.
8562         * gdb.reverse/getresuid-reverse.exp: Likewise.
8563         * gdb.reverse/pipe-reverse.exp: Likewise.
8564         * gdb.reverse/readv-reverse.exp: Likewise.
8565         * gdb.reverse/recvmsg-reverse.exp: Likewise.
8566         * gdb.reverse/time-reverse.exp: Likewise.
8567         * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8568
8569 2015-10-30  Yao Qi  <yao.qi@linaro.org>
8570
8571         * gdb.threads/wp-replication.c (watch_count_done): Remove.
8572         (empty_cycle): Remove.
8573         (main): Don't call empty_cycle.  Don't use watch_count_done.
8574         * gdb.threads/wp-replication.exp: Don't set breakpoint on
8575         empty_cycle.  Rewrite the code counting HW watchpoints.
8576
8577 2015-10-30  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8578
8579         * gdb.reverse/fstatat-reverse.c: New test.
8580         * gdb.reverse/fstatat-reverse.exp: New file.
8581         * gdb.reverse/getresuid-reverse.c: New test.
8582         * gdb.reverse/getresuid-reverse.exp: New file.
8583         * gdb.reverse/pipe-reverse.c: New test.
8584         * gdb.reverse/pipe-reverse.exp: New file.
8585         * gdb.reverse/readv-reverse.c: New test.
8586         * gdb.reverse/readv-reverse.exp: New file.
8587         * gdb.reverse/recvmsg-reverse.c: New test.
8588         * gdb.reverse/recvmsg-reverse.exp: New file.
8589         * gdb.reverse/time-reverse.c: New test.
8590         * gdb.reverse/time-reverse.exp: New file.
8591         * gdb.reverse/waitpid-reverse.c: New test.
8592         * gdb.reverse/waitpid-reverse.exp: New file.
8593
8594 2015-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8595
8596         * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8597
8598 2015-10-26  Doug Evans  <dje@google.com>
8599
8600         PR symtab/17391
8601         * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8602         * gdb.dwarf2/bad-regnum.c: New file.
8603         * gdb.dwarf2/bad-regnum.exp: New file.
8604
8605 2015-10-26  Doug Evans  <dje@google.com>
8606
8607         PR python/18938
8608         * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8609         file.
8610
8611 2015-10-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8612
8613         * gdb.compile/compile.exp (compile code globalvar): Update expectation
8614         for a change by "Mention language in compile error message".
8615
8616 2015-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
8617
8618         PR python/18073
8619         * gdb.python/py-type.c (C::a_method): New.
8620         (C::a_const_method): New.
8621         (C::a_static_method): New.
8622         (a_function): New.
8623         * gdb.python/py-type.exp (test_fields): Test getting fields
8624         from function and method.
8625
8626 2015-10-21  Keven Boell  <keven.boell@intel.com>
8627
8628         * gdb.fortran/vla-alloc-assoc.exp: New file.
8629         * gdb.fortran/vla-datatypes.exp: New file.
8630         * gdb.fortran/vla-datatypes.f90: New file.
8631         * gdb.fortran/vla-history.exp: New file.
8632         * gdb.fortran/vla-ptype-sub.exp: New file.
8633         * gdb.fortran/vla-ptype.exp: New file.
8634         * gdb.fortran/vla-sizeof.exp: New file.
8635         * gdb.fortran/vla-sub.f90: New file.
8636         * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8637         * gdb.fortran/vla-value-sub-finish.exp: New file.
8638         * gdb.fortran/vla-value-sub.exp: New file.
8639         * gdb.fortran/vla-value.exp: New file.
8640         * gdb.fortran/vla-ptr-info.exp: New file.
8641         * gdb.mi/mi-vla-fortran.exp: New file.
8642         * gdb.mi/vla.f90: New file.
8643
8644 2015-10-21  Sandra Loosemore  <sandra@codesourcery.com>
8645
8646         * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8647         of hardwired timeout value.
8648
8649 2015-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
8650             Pedro Alves  <palves@redhat.com>
8651
8652         * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8653         * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8654
8655 2015-10-19  Josh Stone  <jistone@redhat.com>
8656
8657         * gdb.base/catch-syscall.c: Include <sched.h>.
8658         (unknown_syscall): New variable.
8659         (main): Trigger a vfork and an unknown syscall.
8660         * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8661         (unknown_syscall_number): Likewise.
8662         (check_call_to_syscall): Accept an optional syscall pattern.
8663         (check_return_from_syscall): Likewise.
8664         (check_continue): Likewise.
8665         (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8666         (test_catch_syscall_skipping_return): New test toggling off 'catch
8667         syscall' to step over the syscall return, then toggling back on.
8668         (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8669         during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8670         (do_syscall_tests): Call test_catch_syscall_without_args and
8671         test_catch_syscall_mid_vfork.
8672         (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8673         (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8674
8675 2015-10-19  Andrew Stubbs  <ams@codesourcery.com>
8676
8677         * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8678         print g_vE): Add new pass patterns.
8679         * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8680         print various symbol names for vptr fields.
8681
8682 2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
8683
8684         * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8685         results.
8686
8687 2015-10-12  Yao Qi  <yao.qi@linaro.org>
8688
8689         * gdb.arch/disp-step-insn-reloc.exp: New test case.
8690
8691 2015-10-12  Yao Qi  <yao.qi@linaro.org>
8692
8693         * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8694         is aarch64*-*-linux*.
8695
8696 2015-10-12  Yao Qi  <yao.qi@linaro.org>
8697
8698         * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8699         (can_relocate_bcond_true): ... it.
8700         (can_relocate_bcond_false): New function.
8701         (foo): Likewise.
8702         (can_relocate_bl): Likewise.
8703         (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8704         can_relocate_bl.
8705
8706 2015-10-12  Pierre-Marie de Rodat  <derodat@adacore.com>
8707
8708         * gdb.base/nested-addr.c: New file.
8709         * gdb.base/nested-addr.exp: New testcase.
8710
8711 2015-10-09  Markus Metzger  <markus.t.metzger@intel.com>
8712
8713         * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8714         * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8715         its output.  Ignore the output of "record goto begin" and instead
8716         check that GDB is replaying.
8717
8718 2015-10-09  Pedro Alves  <palves@redhat.com>
8719
8720         * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8721         (top level): Use it in the run with no args test.
8722
8723 2015-10-08  Iain Buclaw  <ibuclaw@gdcproject.org>
8724
8725         * gdb.dlang/properties.exp: New file.
8726
8727 2015-10-02  Sandra Loosemore  <sandra@codesourcery.com>
8728
8729         * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8730         whether or not address 0x1000 is mapped on the target.
8731
8732 2015-09-30  Simon Marchi  <simon.marchi@ericsson.com>
8733
8734         * gdb.python/py-type.exp: Do not run tests if binaries fail to
8735         build.
8736
8737 2015-09-30  Markus Metzger  <markus.t.metzger@intel.com>
8738
8739         * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8740         instruction-history test.
8741
8742 2015-09-28  Doug Evans  <dje@google.com>
8743
8744         * gdb.base/gcore.c (array_func): Add reference to static_array.
8745
8746 2015-09-25  Simon Marchi  <simon.marchi@ericsson.com>
8747
8748         * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8749         source line.
8750
8751 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8752
8753         * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8754         short or char as base type.
8755
8756 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8757
8758         * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8759         to allow any size enum.
8760
8761 2015-09-23  Pierre-Marie de Rodat  <derodat@adacore.com>
8762
8763         * gdb.ada/array_ptr_renaming.exp: New testcase.
8764         * gdb.ada/array_ptr_renaming/foo.adb: New file.
8765         * gdb.ada/array_ptr_renaming/pack.ads: New file.
8766
8767 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
8768
8769         * gdb.trace/ftrace-lock.c: New file.
8770         * gdb.trace/ftrace-lock.exp: New file.
8771
8772 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
8773
8774         * gdb.arch/insn-reloc.c: New file.
8775         * gdb.arch/ftrace-insn-reloc.exp: New file.
8776
8777 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
8778
8779         * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8780         instruction.
8781         * gdb.trace/pendshr1.c (pendfunc): Likewise.
8782         * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8783         * gdb.trace/range-stepping.c: Likewise.
8784         * gdb.trace/trace-break.c: Likewise.
8785         * gdb.trace/trace-mt.c (thread_function): Likewise.
8786         * gdb.trace/ftrace.c (marker): Likewise.
8787         * gdb.trace/trace-condition.c (marker): Likewise.
8788         * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8789         * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8790         is_aarch64_target.
8791
8792 2015-09-18  Doug Evans  <xdje42@gmail.com>
8793
8794         * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8795         * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8796
8797 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8798
8799         * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8800         the breakpoint.
8801
8802 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8803
8804         * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8805         the pending breakpoint.  Remove timeout override for "Run till
8806         MI pending breakpoint on pendfunc3 on thread 2" test.
8807
8808 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8809
8810         * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8811         filename pattern.
8812
8813 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8814
8815         * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8816         in breakpoint filename pattern.
8817
8818 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8819
8820         * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8821
8822 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8823
8824         * gdb.linespec/explicit.exp: Check for readline support for
8825         tab-completion tests.  Fix obvious typo.
8826
8827 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
8828
8829         * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8830         and replay.
8831
8832 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
8833
8834         * gdb.btrace/non-stop.c: New.
8835         * gdb.btrace/non-stop.exp: New.
8836
8837 2015-09-17  Pierre Langlois  <pierre.langlois@arm.com>
8838             Yao Qi  <yao.qi@linaro.org>
8839
8840         * gdb.trace/trace-condition.c: New file.
8841         * gdb.trace/trace-condition.exp: New file.
8842
8843 2015-09-16  Wei-cheng Wang  <cole945@gmail.com>
8844
8845         * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8846         for testing bytecode compilation.
8847
8848 2015-09-16  Pedro Alves  <palves@redhat.com>
8849             Sandra Loosemore <sandra@codesourcery.com>
8850
8851         * gdb.threads/non-stop-fair-events.c (timeout): New global.
8852         (SECONDS): Redefine.
8853         (main): Call pthread_kill and alarm early.
8854         * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8855         support.
8856         (test): If the target can't hardware step and doesn't support
8857         displaced stepping, increase the timeout.
8858
8859 2015-09-16  Pedro Alves  <palves@redhat.com>
8860
8861         * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8862         (enable_debug): New procedures.
8863         (test): Use them.  Bail out if waiting for threads fails.
8864         (top level): Bail out if a test fails.
8865
8866 2015-09-16  Yao Qi  <yao.qi@linaro.org>
8867
8868         * gdb.asm/asm-source.exp: Set asm-arch for
8869         aarch64*-*-* target.
8870         * gdb.asm/aarch64.inc: New file.
8871
8872 2015-09-15  Pierre-Marie de Rodat  <derodat@adacore.com>
8873
8874         * gdb.ada/array_of_variable_length.exp: New testcase.
8875         * gdb.ada/array_of_variable_length/foo.adb: New file.
8876         * gdb.ada/array_of_variable_length/pck.adb: New file.
8877         * gdb.ada/array_of_variable_length/pck.ads: New file.
8878
8879 2015-09-15  Doug Evans  <dje@google.com>
8880
8881         * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
8882         of function static local variable.
8883
8884 2015-09-15  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
8885
8886         * gdb.threads/tls-so_extern.exp: New test file.
8887         * gdb.threads/tls-so_extern.c: New test file.
8888         * gdb.threads/tls-so_extern_main.c: New test file.
8889
8890 2015-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
8891
8892         * gdb.opt/solib-intra-step-lib.c: New file.
8893         * gdb.opt/solib-intra-step-main.c: New file.
8894         * gdb.opt/solib-intra-step.exp: New file.
8895
8896 2015-09-15  Pedro Alves  <palves@redhat.com>
8897
8898         * gdb.threads/non-ldr-exc-3.exp (do_test): Use
8899         gdb_continue_to_breakpoint instead of gdb_test_multiple.
8900
8901 2015-09-14  Pedro Alves  <palves@redhat.com>
8902
8903         * gdb.base/hook-stop-continue.c: Delete.
8904         * gdb.base/hook-stop-continue.exp: Delete.
8905         * gdb.base/hook-stop-frame.c: Delete.
8906         * gdb.base/hook-stop-frame.exp: Delete.
8907         * gdb.base/hook-stop.c: New file.
8908         * gdb.base/hook-stop.exp: New file.
8909
8910 2015-09-14  Pierre-Marie de Rodat  <derodat@adacore.com>
8911
8912         * gdb.ada/access_to_packed_array.exp: New testcase.
8913         * gdb.ada/access_to_packed_array/foo.adb: New file.
8914         * gdb.ada/access_to_packed_array/pack.adb: New file.
8915         * gdb.ada/access_to_packed_array/pack.ads: New file.
8916
8917 2015-09-14  Markus Metzger  <markus.t.metzger@intel.com>
8918
8919         * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
8920         buffer size test.
8921
8922 2015-09-11  Don Breazeal  <donb@codesourcery.com>
8923
8924         * gdb.base/foll-exec.c: Add copyright header.  Fix
8925         formatting issues.
8926         * gdb.base/foll-exec.exp (zap_session): Delete proc.
8927         (do_exec_tests): Use clean_restart in place of zap_session,
8928         and for test initialization.  Fix formatting issues.  Use
8929         fail in place of perror.
8930         * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
8931         an expect statement to match an expression with output from
8932         the program under debug.
8933         * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
8934         non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
8935         * gdb.threads/non-ldr-exc-2.exp: Likewise.
8936         * gdb.threads/non-ldr-exc-3.exp: Likewise.
8937         * gdb.threads/non-ldr-exc-4.exp: Likewise.
8938
8939 2015-09-09  Doug Evans  <dje@google.com>
8940
8941         * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
8942
8943 2015-09-09  Doug Evans  <dje@google.com>
8944
8945         * gdb.base/pie-execl.exp: Fix result test of build_executable.
8946
8947 2015-09-09  Doug Evans  <dje@google.com>
8948
8949         * gdb.base/savedregs.exp: Fix typo.
8950
8951 2015-09-09  Pedro Alves  <palves@redhat.com>
8952
8953         * gdb.mi/mi-cli.exp: Add CLI finish tests.
8954
8955 2015-09-08  Sandra Loosemore  <sandra@codesourcery.com>
8956
8957         * gdb.threads/hand-call-in-threads.exp: Make sure the thread
8958         command actually switches threads.  Give up on remaining
8959         tests if target fails to stop at breakpoint.
8960
8961 2015-09-03  Pierre-Marie de Rodat  <derodat@adacore.com>
8962
8963         * gdb.ada/funcall_char.exp: New testcase.
8964         * gdb.ada/funcall_char/foo.adb: New file.
8965
8966 2015-09-01  Pierre-Marie de Rodat  <derodat@adacore.com>
8967
8968         * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
8969         expected outputs.  Add two testcases for completing ambiguous
8970         functions.
8971         * gdb.ada/complete/aux_pck.adb: New file.
8972         * gdb.ada/complete/aux_pck.ads: New file.
8973         * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
8974         Ambiguous_Func functions.
8975         * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
8976         * gdb.ada/complete/pck.adb: Likewise.
8977
8978 2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
8979
8980         * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
8981         failures to run the test program under GDB.
8982
8983 2015-08-26  Luis Machado  <lgustavo@codesourcery.com>
8984
8985         * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
8986         to C.
8987
8988 2015-08-26  Patrick Palka  <patrick@parcs.ath.cx>
8989
8990         * gdb.base/run-after-attach.exp: New test file.
8991         * gdb.base/run-after-attach.c: New test file.
8992
8993 2015-08-26  Don Breazeal  <donb@codesourcery.com>
8994
8995         * gdb.base/foll-exec-2.c: New test program.
8996         * gdb.base/foll-exec-2.exp: New test.
8997
8998 2015-08-25  Pierre-Marie de Rodat  <derodat@adacore.com>
8999
9000         * gdb.base/nested-subp1.exp: New file.
9001         * gdb.base/nested-subp1.c: New file.
9002         * gdb.base/nested-subp2.exp: New file.
9003         * gdb.base/nested-subp2.c: New file.
9004         * gdb.base/nested-subp3.exp: New file.
9005         * gdb.base/nested-subp3.c: New file.
9006
9007 2015-08-24  Pedro Alves  <palves@redhat.com>
9008
9009         * gdb.server/connect-without-multi-process.c: New file.
9010         * gdb.server/connect-without-multi-process.exp: New file.
9011
9012 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9013
9014         * gdb.opt/inline-markers.c: Make z int.
9015
9016 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9017
9018         * gdb.opt/inline-markers.c: Make z volatile.
9019
9020 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9021
9022         * gdb.opt/inline-bt.c: New volatile global z.
9023         * gdb.opt/inline-cmds.c: Likewise.
9024         * gdb.opt/inline-locals.c: Likewise.
9025         * gdb.opt/inline-markers.c: New extern global z.
9026         (marker): Use z.
9027         (inline_fn): Likewise.
9028
9029 2015-08-24  Pedro Alves  <palves@redhat.com>
9030
9031         * config/m32r-stub.exp: Remove file.
9032         * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9033         * gdb.base/call-rt-st.exp: Likewise.
9034         * gdb.base/call-strs.exp: Likewise.
9035         * gdb.base/default.exp: Remove references to h8300-*-hms and
9036         *-*-udi*.
9037         * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9038
9039 2015-08-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9040
9041         * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9042         -Wno-psabi" if "-mcpu=native" fails.  For the tests with "finish"
9043         and "return" use KFAIL when GDB can not read/write the vector
9044         return value.
9045
9046 2015-08-21  Gary Benson <gbenson@redhat.com>
9047
9048         * gdb.trace/pending.exp: Cope with remote transfer warnings.
9049
9050 2015-08-20  Pedro Alves  <palves@redhat.com>
9051
9052         * gdb.server/solib-list.exp: No longer expect an interior stop in
9053         non-stop mode.
9054
9055 2015-08-20  Pedro Alves  <palves@redhat.com>
9056
9057         * gdb.server/connect-stopped-target.c: New file.
9058         * gdb.server/connect-stopped-target.exp: New file.
9059
9060 2015-08-20  Pedro Alves  <palves@redhat.com>
9061
9062         * gdb.dwarf2/comp-unit-lang.exp: New file.
9063         * gdb.dwarf2/comp-unit-lang.c: New file.
9064
9065 2015-08-20  Pierre-Marie de Rodat  <derodat@adacore.com>
9066
9067         * gdb.ada/attr_ref_and_charlit.exp: New testcase.
9068         * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
9069
9070 2015-08-19  Kevin Buettner  <kevinb@redhat.com>
9071
9072         * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
9073         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
9074
9075 2015-08-18  Doug Evans  <dje@google.com>
9076             Adrian Sendroiu <adrian.sendroiu@freescale.com>
9077
9078         * lib/gdb.exp (skip_python_tests_prompt): Renamed from
9079         skip_python_tests.  New arg prompt_regexp.
9080         (skip_python_tests): New function.
9081         * lib/mi-support.exp (mi_skip_python_tests): New function.
9082         * gdb.python/py-mi-objfile-gdb.py: New file.
9083         * gdb.python/py-mi-objfile.c: New file.
9084         * gdb.python/py-mi-objfile.exp: New file.
9085
9086 2015-08-17  Keith Seitz  <keiths@redhat.com>
9087
9088         * gdb.linespec/explicit.exp: Move strace test from here ...
9089         * gdb.trace/strace.exp: ... to here.
9090
9091 2015-08-15  Patrick Palka  <patrick@parcs.ath.cx>
9092
9093         * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
9094         * gdb.base/kill-detach-inferiors-cmd.c: New test file.
9095
9096 2015-08-14  Doug Evans  <xdje42@gmail.com>
9097
9098         * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
9099         inferior before selecting a new file.
9100
9101 2015-08-14  Doug Evans  <xdje42@gmail.com>
9102
9103         * gdb.mi/mi-disassemble.exp: Update.
9104         * gdb.base/disasm-optim.S: New file.
9105         * gdb.base/disasm-optim.c: New file.
9106         * gdb.base/disasm-optim.h: New file.
9107         * gdb.base/disasm-optim.exp: New file.
9108
9109 2015-08-14  Keith Seitz  <keiths@redhat.com>
9110
9111         * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
9112         "evaluated-by".
9113
9114 2015-08-13  Joel Brobecker  <brobecker@adacore.com>
9115
9116         * gdb.base/dso2dso.exp: Improve the testcase's documentation.
9117
9118 2015-08-13  Pierre-Marie de Rodat  <derodat@adacore.com>
9119
9120         * gdb.ada/fun_renaming.exp: New testcase.
9121         * gdb.ada/fun_renaming/fun_renaming.adb: New file.
9122         * gdb.ada/fun_renaming/pack.adb: New file.
9123         * gdb.ada/fun_renaming/pack.ads: New file.
9124
9125 2015-08-12  Keith Seitz  <keiths@redhat.com>
9126
9127         * gdb.base/dso2dso.exp: Pass basename of source file in call to
9128         gdb_get_line_number.
9129
9130 2015-08-12  Joel Brobecker  <brobecker@adacore.com>
9131
9132         * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
9133         gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
9134         gdb.base/dso2dso.exp: New files.
9135
9136 2015-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
9137             Pedro Alves  <palves@redhat.com>
9138             Keith Seitz  <keiths@redhat.com>
9139
9140         * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
9141         GDBFLAGS.
9142
9143 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9144
9145         * gdb.base/gdbhistsize-history.exp
9146         (test_histsize_history_setting): Use save_vars.
9147         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9148         Use save_vars.
9149         (test_no_truncation_of_unlimited_history_file): Use save_vars.
9150         * gdb.base/readline.exp: Use save_vars.
9151
9152 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9153
9154         * lib/gdb.exp (save_vars): New proc.
9155
9156 2015-08-11  Keith Seitz  <keiths@redhat.com>
9157
9158         * gdb.base/help.exp: Update help_breakpoint_text.
9159
9160 2015-08-11  Keith Seitz  <keiths@redhat.com>
9161
9162         * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
9163         (at toplevel): Call test_explicit_breakpoints.
9164         * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
9165         breakpoints.
9166         * lib/mi-support.exp (mi_make_breakpoint): Add support for
9167         breakpoint conditions, "-cond".
9168
9169 2015-08-11  Keith Seitz  <keiths@redhat.com>
9170
9171         * gdb.linespec/3explicit.c: New file.
9172         * gdb.linespec/cpexplicit.cc: New file.
9173         * gdb.linespec/cpexplicit.exp: New file.
9174         * gdb.linespec/explicit.c: New file.
9175         * gdb.linespec/explicit.exp: New file.
9176         * gdb.linespec/explicit2.c: New file.
9177         * gdb.linespec/ls-errs.exp: Add explicit location tests.
9178         * lib/gdb.exp (capture_command_output): Regexp-escape `command'
9179         before using in the matching pattern.
9180         Clarify that `prefix' is a regular expression.
9181
9182 2015-08-11  Keith Seitz  <keiths@redhat.com>
9183
9184         * gdb.base/dprintf-pending.exp: Update dprintf "without format"
9185         test.
9186         Add tests for missing ",FMT" and ",".
9187
9188 2015-08-10  Doug Evans  <dje@google.com>
9189             Keith Seitz  <keiths@redhat.com>
9190
9191         PR gdb/17960
9192         * gdb.base/completion.exp: Add location completer tests.
9193
9194 2015-08-07  Pedro Alves  <palves@redhat.com>
9195
9196         * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
9197         tests here.
9198         (top level): Run do_test with and without displaced stepping.
9199
9200 2015-08-07  Pedro Alves  <palves@redhat.com>
9201
9202         * gdb.base/valgrind-disp-step.c: New file.
9203         * gdb.base/valgrind-disp-step.exp: New file.
9204
9205 2015-08-07  Pedro Alves  <palves@redhat.com>
9206
9207         * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
9208         Delete function.
9209         (main): Add alarm.  Run an infinite loop instead of calling
9210         wait_threads.
9211         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
9212         comment.
9213         * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
9214         Delete function.
9215         (main): Add alarm.  Run an infinite loop instead of calling
9216         wait_threads.
9217         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
9218         comment.
9219
9220 2015-08-07  Pedro Alves  <palves@redhat.com>
9221
9222         * gdb.base/checkpoint-ns.exp: New file.
9223         * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
9224         standard_testfile.
9225
9226 2015-08-07  Markus Metzger  <markus.t.metzger@intel.com>
9227
9228         * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
9229         * gdb.btrace/instruction_history.exp: Update.
9230         * gdb.btrace/tsx.exp: New.
9231         * gdb.btrace/tsx.c: New.
9232
9233 2015-08-06  Pedro Alves <palves@redhat.com>
9234
9235         * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
9236         increase timeout.
9237         * gdb.reverse/until-precsave.exp: Bump timeouts.
9238
9239 2015-08-06  Pedro Alves  <palves@redhat.com>
9240
9241         * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
9242
9243 2015-08-06  Pedro Alves  <palves@redhat.com>
9244
9245         PR gdb/18749
9246         * gdb.threads/process-dies-while-handling-bp.c: New file.
9247         * gdb.threads/process-dies-while-handling-bp.exp: New file.
9248
9249 2015-08-06  Pedro Alves  <palves@redhat.com>
9250
9251         * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
9252         * gdb.threads/forking-threads-plus-breakpoint.c: New file.
9253
9254 2015-08-05  Pedro Alves  <palves@redhat.com>
9255
9256         * gdb.threads/next-while-other-thread-longjmps.c: New file.
9257         * gdb.threads/next-while-other-thread-longjmps.exp: New file.
9258
9259 2015-08-03  Sandra Loosemore  <sandra@codesourcery.com>
9260
9261         * gdb.base/bp-permanent.exp: Report test as unsupported if
9262         the target cannot stop at the permanent breakpoint.
9263
9264 2015-08-03  Doug Evans  <dje@google.com>
9265
9266         * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
9267         10000.
9268
9269 2015-08-03  Doug Evans  <dje@google.com>
9270
9271         * Makefile.in (workers/%.worker, build-perf): New rule.
9272         (GDB_PERFTEST_MODE): New variable.
9273         (check-perf): Use it.
9274         (clean): Clean up gdb.perf parallel build subdirs.
9275         * lib/build-piece.exp: New file.
9276         * lib/gdb.exp (make_gdb_parallel_path): New function
9277         (standard_output_file, standard_temp_file): Call it.
9278         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9279         of $GDB_PARALLEL.
9280         * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
9281
9282 2015-08-03  Doug Evans  <dje@google.com>
9283
9284         * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
9285         (LOG_FILE_NAME): New global.
9286         (TextReporter.__init__): Initialize self.txt_sum.
9287         (TextReporter.report): Add support for multiple data-points.
9288         Move report to perftest.sum, put raw data in perftest.log.
9289         (TextReporter.start): Open sum and log files.
9290         (TextReporter.end): Close sum and log files.
9291         * gdb.perf/lib/perftest/testresult.py
9292         (SingleStatisticTestResult.record): Handle multiple data-points.
9293
9294 2015-07-31  Pedro Alves  <palves@redhat.com>
9295
9296         * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
9297         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9298         kill_wait_spawned_process instead of explicit "kill -9".
9299         * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
9300         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9301         kill_wait_spawned_process.
9302         * gdb.base/attach-twice.exp: Likewise.
9303         * gdb.base/attach.exp: Likewise.
9304         (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
9305         gdb_test_multiple.
9306         * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
9307         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9308         kill_wait_spawned_process.
9309         * gdb.base/valgrind-infcall.exp: Likewise.
9310         * gdb.multi/multi-attach.exp: Likewise.
9311         * gdb.python/py-prompt.exp: Likewise.
9312         * gdb.python/py-sync-interp.exp: Likewise.
9313         * gdb.server/ext-attach.exp: Likewise.
9314         * gdb.threads/attach-into-signal.exp (corefunc): Use
9315         spawn_wait_for_attach, spawn_id_get_pid and
9316         kill_wait_spawned_process.
9317         * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
9318         spawn_wait_for_attach returning a spawn id instead of a pid.  Use
9319         spawn_id_get_pid and kill_wait_spawned_process.
9320         * gdb.threads/attach-stopped.exp (corefunc): Use
9321         spawn_wait_for_attach, spawn_id_get_pid and
9322         kill_wait_spawned_process.
9323         * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
9324         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9325         kill_wait_spawned_process instead of explicit "kill -9".
9326         * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
9327         (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
9328         (spawn_wait_for_attach): Use spawn instead of exec to spawn
9329         processes.  Don't map cygwin/windows pids here.  Now returns a
9330         spawn id list.
9331
9332 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9333
9334         * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
9335         4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
9336         correct patch.
9337
9338 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9339
9340         * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9341
9342 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9343
9344         Reapply:
9345         2014-05-21  Mark Wielaard  <mjw@redhat.com>
9346
9347         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9348
9349 2015-07-30  Pedro Alves  <palves@redhat.com>
9350
9351         * linux-low.c (handle_extended_wait): Set the child's last
9352         reported status to TARGET_WAITKIND_STOPPED.
9353
9354 2015-07-30  Pedro Alves  <palves@redhat.com>
9355
9356         PR threads/18600
9357         * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9358         only shows inferior 1.
9359
9360 2015-07-30  Simon Marchi  <simon.marchi@ericsson.com>
9361             Pedro Alves  <palves@redhat.com>
9362
9363         PR threads/18600
9364         * gdb.threads/fork-plus-threads.c: New file.
9365         * gdb.threads/fork-plus-threads.exp: New file.
9366
9367 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9368
9369         * gdb.base/batch-preserve-term-settings.exp
9370         (test_terminal_settings_preserved_after_cli_exit): Use
9371         send_quit_command.
9372
9373 2015-07-29  Pedro Alves  <palves@redhat.com>
9374             Don Breazeal  <donb@codesourcery.com>
9375
9376         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9377         output from both inferior_spawn_id and gdb_spawn_id.
9378
9379 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9380
9381         * gdb.threads/attach-into-signal.exp (corefunc): Use
9382         with_test_prefix on nested loops, uniquefying the test messages.
9383
9384 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9385
9386         * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9387         commit.
9388
9389 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9390
9391         * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9392         New proc.
9393         (test_terminal_settings_preserved_after_sigterm): New test.
9394
9395 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9396
9397         * gdb.base/batch-preserve-term-settings.exp
9398         (test_terminal_settings_preserved_after_cli_exit): New test.
9399
9400 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9401
9402         * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9403         manipulation of saved_gdbflags.
9404         (test_terminal_settings_preserved): Remove global declaration of
9405         the unused variable pagination_prompt.  Remove manipulation of
9406         saved_gdbflags.  Use a local variable EXTRA_GDBFLAGS instead of
9407         GDBFLAGS.
9408
9409 2015-07-29  Pedro Alves  <palves@redhat.com>
9410
9411         * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9412
9413 2015-07-29  Pedro Alves  <palves@redhat.com>
9414
9415         * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9416         at the top.
9417
9418 2015-07-29  Pedro Alves  <palves@redhat.com>
9419
9420         * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9421         (main): Call gdb_unbuffer_output.
9422         * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9423         (main): Call gdb_unbuffer_output.
9424         * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9425         (main): Call gdb_unbuffer_output.
9426         * gdb.base/call-strs.exp: Adjust to step over the
9427         gdb_unbuffer_output call.
9428         * gdb.base/catch-gdb-caused-signals.c: Include
9429         "../lib/unbuffer_output.c".
9430         (main): Call gdb_unbuffer_output.
9431         * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
9432         (main): Call gdb_unbuffer_output.
9433         * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
9434         (main): Call gdb_unbuffer_output.
9435         * gdb.base/run.c: Include "../lib/unbuffer_output.c".
9436         (main): Call gdb_unbuffer_output.
9437         * gdb.base/shlib-call.exp: Adjust to step over the
9438         gdb_unbuffer_output call.
9439         * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9440         (main): Call gdb_unbuffer_output.
9441         * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9442         (main): Call gdb_unbuffer_output.
9443         * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9444         (main): Rename to ...
9445         (test): ... this.
9446         (main): Reimplement.
9447         * gdb.base/varargs.exp: Run to test instead of to main.
9448         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9449         (main): Call gdb_unbuffer_output.
9450
9451 2015-07-29  Pedro Alves  <palves@redhat.com>
9452
9453         * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9454         factore out from mi_continue_dprintf.  For call-style dprintfs,
9455         expect dprintf output out of $inferior_spawn_id.
9456         (mi_continue_dprintf): Use mi_expect_dprintf.
9457         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9458         (main): Call gdb_unbuffer_output.
9459
9460 2015-07-29  Pedro Alves  <palves@redhat.com>
9461
9462         * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9463         (default_mi_gdb_start): Set inferior_spawn_id instead of
9464         mi_inferior_spawn_id.  If $inferior_spawn_id is not set, set it to
9465         gdb_spawn_id.
9466         (mi_gdb_test): Always expect inferior output from both
9467         $inferior_spawn_id and $gdb_spawn_id.
9468
9469 2015-07-29  Pedro Alves  <palves@redhat.com>
9470
9471         * gdb.gdb/selftest.exp (test_with_self): Update comment.  Use
9472         send_inferior and $inferior_spawn_id.
9473
9474 2015-07-29  Pedro Alves  <palves@redhat.com>
9475
9476         * gdb.gdb/complaints.exp (test_initial_complaints)
9477         (test_serial_complaints, test_short_complaints): Use
9478         gdb_test_stdio.
9479         (test_empty_complaint): Handle $inferior_spawn_id !=
9480         $gdb_spawn_id.
9481
9482 2015-07-29  Pedro Alves  <palves@redhat.com>
9483
9484         * gdb.base/varargs.exp: Use gdb_test_stdio.
9485
9486 2015-07-29  Pedro Alves  <palves@redhat.com>
9487
9488         * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9489
9490 2015-07-29  Pedro Alves  <palves@redhat.com>
9491
9492         * gdb.base/ending-run.exp: Use gdb_test_stdio.
9493
9494 2015-07-29  Pedro Alves  <palves@redhat.com>
9495
9496         * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9497         parameter into two new parameters, "inf_result" and "gdb_result".
9498         Expect inferior output and gdb output from $inferior_spawn_id and
9499         $gdb_spawn_id, respectively.  Adjust all callers.
9500
9501 2015-07-29  Pedro Alves  <palves@redhat.com>
9502
9503         * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9504         of gdb_test_sequence.
9505
9506 2015-07-29  Pedro Alves  <palves@redhat.com>
9507
9508         * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9509         (saw_spurious_output): Expect inferior output from
9510         $inferior_spawn_id.  Use gdb_test_stdio.
9511
9512 2015-07-29  Pedro Alves  <palves@redhat.com>
9513
9514         * gdb.base/dprintf.exp: Use standard_testfile.  Change
9515         prepare_for_testing call.
9516         (srcfile): Don't set.
9517         (restart): New procedure.
9518         (test_dprintf): New procecure, use to continue over dprintfs.
9519         (test_call, test_agent): New procedures, tests moved here.
9520         Restart gdb and recreate dprintfs.  Adjust expected output.
9521
9522 2015-07-29  Pedro Alves  <palves@redhat.com>
9523
9524         * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9525
9526 2015-07-29  Pedro Alves  <palves@redhat.com>
9527
9528         * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9529
9530 2015-07-29  Pedro Alves  <palves@redhat.com>
9531
9532         * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9533         gdb_test_stdio.
9534
9535 2015-07-29  Pedro Alves  <palves@redhat.com>
9536
9537         * lib/gdb.exp (gdb_test_stdio): New procedure.
9538
9539 2015-07-29  Pedro Alves  <palves@redhat.com>
9540
9541         * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9542
9543 2015-07-29  Pedro Alves  <palves@redhat.com>
9544
9545         * gdb.base/call-signal-resume.exp: Remove check for
9546         gdb,noinferiorio.  Don't expect "no signal".  Use gdb_test.
9547         * gdb.base/unwindonsignal.exp: Likewise.
9548         * gdb.base/call-signals.c (gen_signal): Remove printf call.
9549         * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9550
9551 2015-07-29  Pedro Alves  <palves@redhat.com>
9552
9553         * gdb.base/siginfo-addr.c (pass): New function.
9554         (handler): Call it iff si_addr is correct.
9555         * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9556         Set a breakpoint at "pass" and continue to it.
9557
9558 2015-07-28  Sergio Durigan Junior  <sergiodj@redhat.com>
9559
9560         * gdb.python/py-objfile.exp: Make some tests have unique names.
9561         * gdb.python/py-pp-registration.exp: Likewise.
9562
9563 2015-07-28  Pedro Alves  <palves@redhat.com>
9564
9565         * gdb.server/server-exec-info.exp: Issue a "disconnect".
9566
9567 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9568
9569         * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9570
9571 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9572
9573         * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9574
9575 2015-07-27  Patrick Palka  <patrick@parcs.ath.cx>
9576
9577         * gdb.base/gdb-sigterm-2.exp: New test.
9578
9579 2015-07-25  Doug Evans  <xdje42@gmail.com>
9580
9581         Revert:
9582         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9583         (workers/%.worker, build-perf): New rule.
9584         (GDB_PERFTEST_MODE): New variable.
9585         (check-perf): Use it.
9586         (clean): Clean up gdb.perf parallel build subdirs.
9587         * lib/build-piece.exp: New file.
9588         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9589         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9590         name.
9591         (standard_temp_file): Ditto.
9592         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9593         of $GDB_PARALLEL.
9594
9595 2015-07-24  Doug Evans  <dje@google.com>
9596
9597         * gdb.perf/lib/perftest/utils.py: New file.
9598         * gdb.perf/gm-hello.cc: New file.
9599         * gdb.perf/gm-pervasive-typedef.cc: New file.
9600         * gdb.perf/gm-pervasive-typedef.h: New file.
9601         * gdb.perf/gm-std.cc: New file.
9602         * gdb.perf/gm-std.h: New file.
9603         * gdb.perf/gm-use-cerr.cc: New file.
9604         * gdb.perf/gm-utils.h: New file.
9605         * gdb.perf/gmonster-null-lookup.py: New file.
9606         * gdb.perf/gmonster-pervasive-typedef.py: New file.
9607         * gdb.perf/gmonster-print-cerr.py: New file.
9608         * gdb.perf/gmonster-ptype-string.py: New file.
9609         * gdb.perf/gmonster-runto-main.py: New file.
9610         * gdb.perf/gmonster-select-file.py: New file.
9611         * gdb.perf/gmonster1-null-lookup.exp: New file.
9612         * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9613         * gdb.perf/gmonster1-print-cerr.exp: New file.
9614         * gdb.perf/gmonster1-ptype-string.exp: New file.
9615         * gdb.perf/gmonster1-runto-main.exp: New file.
9616         * gdb.perf/gmonster1-select-file.exp: New file.
9617         * gdb.perf/gmonster1.cc: New file.
9618         * gdb.perf/gmonster1.exp: New file.
9619         * gdb.perf/gmonster2-null-lookup.exp: New file.
9620         * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9621         * gdb.perf/gmonster2-print-cerr.exp: New file.
9622         * gdb.perf/gmonster2-ptype-string.exp: New file.
9623         * gdb.perf/gmonster2-runto-main.exp: New file.
9624         * gdb.perf/gmonster2-select-file.exp: New file.
9625         * gdb.perf/gmonster2.cc: New file.
9626         * gdb.perf/gmonster2.exp: New file.
9627
9628 2015-07-24  Doug Evans  <dje@google.com>
9629
9630         * gdb.perf/README: New file.
9631         * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9632         * lib/gen-perf-test.exp: New file.
9633
9634 2015-07-24  Doug Evans  <dje@google.com>
9635
9636         * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9637         (PerfTest::startup): New function.
9638         (PerfTest::run): Return result of calling body.
9639         (PerfTest::assemble): Rewrite.
9640         * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9641         * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9642         * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9643         * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9644         * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9645
9646 2015-07-24  Doug Evans  <dje@google.com>
9647
9648         * lib/gdb.exp (clean_restart): Make executable optional.
9649
9650 2015-07-24  Doug Evans  <dje@google.com>
9651
9652         * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9653         compiler_info references.
9654         * gdb.cp/temargs.exp: Ditto.
9655         * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9656         (get_compiler_info): Early exit if already computed.  Set compiler_info
9657         to "unknown" if there was a problem.
9658         (test_compiler_info): Add function comment.  Call get_compiler_info.
9659
9660 2015-07-24  Doug Evans  <dje@google.com>
9661
9662         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9663         (workers/%.worker, build-perf): New rule.
9664         (GDB_PERFTEST_MODE): New variable.
9665         (check-perf): Use it.
9666         (clean): Clean up gdb.perf parallel build subdirs.
9667         * lib/build-piece.exp: New file.
9668         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9669         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9670         name.
9671         (standard_temp_file): Ditto.
9672         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9673         of $GDB_PARALLEL.
9674
9675 2015-07-24  Doug Evans  <dje@google.com>
9676
9677         * lib/future.exp (gdb_default_target_compile): New option
9678         "early_flags".
9679         * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9680         --as-needed.
9681
9682 2015-07-24  Sergio Durigan Junior  <sergiodj@redhat.com>
9683
9684         * gdb.base/catch-syscall.exp: Call gdb_exit before
9685         gdb_skip_xml_test.
9686
9687 2015-07-24  Pedro Alves  <palves@redhat.com>
9688
9689         * gdb.python/py-events.exp: Accept output between the stop event
9690         and the prompt.
9691         * gdb.python/py-evsignal.exp: Likewise.
9692         * gdb.python/py-evthreads.exp: Likewise.
9693
9694 2015-07-24  Pedro Alves  <palves@redhat.com>
9695
9696         PR gdb/18717
9697         * gdb.threads/non-ldr-exit.c: New file.
9698         * gdb.threads/non-ldr-exit.exp: New file.
9699
9700 2015-07-24  Yao Qi  <yao.qi@linaro.org>
9701
9702         * gdb.server/ext-wrapper.exp: Test --wrapper option when
9703         restarting process.
9704
9705 2015-07-24  Yao Qi  <yao.qi@linaro.org>
9706
9707         * gdb.server/ext-restart.exp: New file.
9708
9709 2015-07-24  Yao Qi  <yao.qi@linaro.org>
9710
9711         * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9712         argument options.
9713         * gdb.server/ext-wrapper.exp: New file.
9714
9715 2015-07-23  Doug Evans  <dje@google.com>
9716
9717         * gdb.dwarf2/dw2-dummy-cu.S: New file.
9718         * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9719
9720 2015-07-23  Pierre-Marie de Rodat  <derodat@adacore.com>
9721
9722         * gdb.ada/var_arr_typedef.exp: New testcase.
9723         * gdb.ada/var_arr_typedef/pack.adb: New file.
9724         * gdb.ada/var_arr_typedef/pack.ads: New file.
9725         * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9726
9727 2015-07-20  Joel Brobecker  <brobecker@adacore.com>
9728
9729         * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9730
9731 2015-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
9732
9733         * gdb.arch/i386-biarch-core.exp: Replace istarget
9734         by "complete set gnutarget". Remove expectation for the "core-file"
9735         command.
9736
9737 2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9738
9739         Revert the previous commit:
9740         Tests for validate symbol file using build-id.
9741
9742 2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
9743
9744         Tests for validate symbol file using build-id.
9745         * gdb.base/solib-mismatch-lib.c: New file.
9746         * gdb.base/solib-mismatch-libmod.c: New file.
9747         * gdb.base/solib-mismatch.c: New file.
9748         * gdb.base/solib-mismatch.exp: New file.
9749
9750 2015-07-15  Sandra Loosemore  <sandra@codesourcery.com>
9751
9752         * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9753         nios2-*-linux*.
9754         * gdb.base/sigbpt.exp (stepi_out): Likewise.
9755         * gdb.base/siginfo.exp: Likewise.
9756         * gdb.base/sigstep.exp (advance, advancei): Likewise.
9757
9758 2015-07-15  Pierre Langlois  <pierre.langlois@arm.com>
9759
9760         * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9761         Move it to ...
9762         * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9763         ... here.
9764         * gdb.trace/range-stepping.exp: Check that the target supports
9765         range stepping.
9766
9767 2015-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
9768
9769         * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9770
9771 2015-07-14  Pedro Alves  <palves@redhat.com>
9772
9773         * gdb.base/killed-outside.exp: New file.
9774         * gdb.base/killed-outside.c: New file.
9775
9776 2015-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
9777
9778         * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9779         (n at main): New.
9780         * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9781
9782 2015-07-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9783
9784         * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9785         infcall tests instead of setting up for KFAIL.
9786
9787 2015-07-10  Markus Metzger  <markus.t.metzger@intel.com>
9788
9789         * gdb.btrace/record_goto-step.exp: New.
9790
9791 2015-07-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
9792
9793         PR compile/18484
9794         * gdb.compile/compile.c (struct struct_type): Add volatile to
9795         selffield's type.
9796         * gdb.compile/compile.exp
9797         (compile code struct_object.selffield = &struct_object): Skip further
9798         struct_object tests if this one xfails.
9799
9800 2015-07-08  Robert O'Callahan  <robert@ocallahan.org>
9801
9802         PR exp/18617
9803         * gdb.trace/ax.exp: Add test.
9804
9805 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9806
9807         * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9808         instead of istarget "aarch64*-*-*".
9809         * gdb.arch/aarch64-fp.exp: Likewise.
9810         * gdb.base/float.exp: Likewise.
9811         * gdb.reverse/aarch64.exp: Likewise.
9812         * lib/gdb.exp (is_aarch64_target): New proc.
9813
9814 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9815
9816         * lib/gdb.exp (is_aarch32_target): New proc.
9817         * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9818         instead of "istarget "arm*-*-*"".
9819         * gdb.arch/arm-disp-step.exp: Likewise.
9820         * gdb.arch/thumb-bx-pc.exp: Likewise.
9821         * gdb.arch/thumb-prologue.exp: Likewise.
9822         * gdb.arch/thumb-singlestep.exp: Likewise.
9823         * gdb.base/disp-step-syscall.exp: Likewise.
9824         * gdb.base/float.exp: Likewise.
9825
9826 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9827
9828         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9829         Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9830
9831 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9832
9833         * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9834         is aarch64.  If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9835         if it exists.
9836         * gdb.multi/multi-arch.exp: Likewise.
9837
9838 2015-07-07  Simon Marchi  <simon.marchi@ericsson.com>
9839
9840         * gdb.python/py-lazy-string.exp: Add missing parentheses to
9841         print.
9842
9843 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9844
9845         * gdb.arch/thumb-singlestep.exp: Do one more single step.
9846
9847 2015-06-30  Martin Galvan  <martin.galvan@tallertechnologies.com>
9848
9849         * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9850         '[' and ']' characters.
9851
9852 2015-06-30  Iain Buclaw  <ibuclaw@gdcproject.org>
9853
9854         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9855
9856 2015-06-29  Pedro Alves  <palves@redhat.com>
9857
9858         PR threads/18127
9859         * gdb.threads/hand-call-new-thread.c: New file.
9860         * gdb.threads/hand-call-new-thread.c: New file.
9861
9862 2015-06-26  Keith Seitz  <keiths@redhat.com>
9863             Doug Evans  <dje@google.com>
9864
9865         PR 16253
9866         * gdb.cp/var-tag-2.cc: New file.
9867         * gdb.cp/var-tag-3.cc: New file.
9868         * gdb.cp/var-tag-4.cc: New file.
9869         * gdb.cp/var-tag.cc: New file.
9870         * gdb.cp/var-tag.exp: New file.
9871
9872 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
9873
9874         * gdb.base/history-duplicates.exp: New test.
9875
9876 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
9877
9878         * gdb.base/completion.exp: Test the completion of the "focus"
9879         command.
9880
9881 2015-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
9882
9883         * gdb.arch/amd64-prologue-skip.S: New file.
9884         * gdb.arch/amd64-prologue-skip.exp: New file.
9885
9886 2015-06-25  Simon Marchi  <simon.marchi@ericsson.com>
9887
9888         * gdb.python/py-prettyprint.exp (run_lang_tests): Add
9889         is_address_zero_readable check.
9890
9891 2015-06-24  Peter Bergner  <bergner@vnet.ibm.com>
9892
9893         * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
9894         * gdb.arch/powerpc-power.s <rfebb>: Likewise.
9895
9896 2015-06-24  Yao Qi  <yao.qi@linaro.org>
9897
9898         * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
9899         linux targets.
9900
9901 2015-06-24  Yao Qi  <yao.qi@linaro.org>
9902
9903         * lib/gdb.exp (supports_get_siginfo_type): New proc.
9904         * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
9905         * gdb.base/siginfo-thread.exp: Likewise.
9906
9907 2015-06-22  Yao Qi  <yao.qi@linaro.org>
9908
9909         * boards/remote-gdbserver-on-localhost.exp: Add comments.
9910
9911 2015-06-22  Yao Qi  <yao.qi@linaro.org>
9912
9913         * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
9914         aarch64*-*-*.
9915         (skip_hw_watchpoint_tests): Likewise.
9916
9917 2015-06-18  Patrick Palka  <patrick@parcs.ath.cx>
9918
9919         * gdb.base/gdbinit-history.exp: Test the interaction between
9920         setting GDBHISTSIZE and setting the history size via .gdbinit.
9921
9922 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
9923
9924         PR gdb/16999
9925         * gdb.base/gdbhistsize-history.exp: New test.
9926
9927 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
9928
9929         * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9930         with GDBHISTSIZE.
9931         * gdb.base/readline.exp: Likewise.
9932
9933 2015-06-17  Yao Qi  <yao.qi@linaro.org>
9934
9935         * lib/gdb.exp (get_build_id): Move braces and "else" to the same
9936         line.
9937
9938 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
9939
9940         * gdb.base/gdbinit-history.exp: Add test case to check that
9941         an unlimited history file does not get truncated on exit.
9942
9943 2015-06-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9944
9945         * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
9946         (VECTOR): New macro.  Use it...
9947         (int4, uint4, char4, float4, int2, longlong2, float2, double2):
9948         ...for these typedefs.
9949         (int8, char1, int1, double1): New typedefs.
9950         (struct just_int2, struct two_int2): New structures.
9951         (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
9952         (add_structvecs, add_singlevecs): New functions.
9953         (main): Call add_some_intvecs twice.
9954         * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
9955         the compile and exit upon failure.  Try compiling for the "native"
9956         architecture.  Test inferior function calls with vector arguments
9957         and vector return value handling with "finish" and "return".
9958
9959 2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
9960
9961         * gdb.base/sepdebug.exp: Add EXEEXT where needed.
9962         * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
9963         PE file.
9964         * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
9965
9966 2015-06-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
9967
9968         PR breakpoints/16465
9969         * gdb.mi/mi-dprintf-pending.c: New file.
9970         * gdb.mi/mi-dprintf-pending.exp: New test.
9971         * gdb.mi/mi-dprintf-pendshr.c: New file.
9972
9973 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
9974             Mircea Gherzan  <mircea.gherzan@intel.com>
9975
9976         * gdb.arch/i386-mpx-map.c: New file.
9977         * gdb.arch/i386-mpx-map.exp: New File.
9978
9979 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
9980
9981         * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
9982         * gdb.arch/i386-mpx.exp: Indentation fixed.
9983
9984 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
9985
9986         * gdb.arch/i386-mpx.c: Added final return to the have_mpx
9987         function and improved indentation.
9988         * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
9989         gdb_test_multiple. Added additional tests to skip the test.
9990
9991 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
9992
9993         * gdb.arch/i386-avx512.c: Change path in include file.
9994         * gdb.arch/i386-avx512.exp: Change include dir path
9995         compilation flag.
9996         * gdb.arch/i386-mpx.c: Change path in include file.
9997         * gdb.arch/i386-mpx.exp: Change include dir path compilation
9998         flag.
9999
10000 2015-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
10001
10002         * gdb.compile/compile-print.exp (compile print *vararray@3)
10003         (compile print *vararrayp@3): Change xfail to kfail compile/18489.
10004
10005 2015-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
10006
10007         * gdb.compile/compile.exp (keep jit in memory): Rename to ...
10008         (do not keep jit in memory): ... this.
10009         (expect 5): Change it to ...
10010         (expect no 5): ... this.
10011
10012 2015-06-02  Simon Marchi  <simon.marchi@ericsson.com>
10013
10014         PR gdb/15564
10015         * gdb.mi/mi-detach.exp: New file.
10016
10017 2015-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10018
10019         PR symtab/18392
10020         * gdb.arch/amd64-tailcall-self.S: New file.
10021         * gdb.arch/amd64-tailcall-self.c: New file.
10022         * gdb.arch/amd64-tailcall-self.exp: New file.
10023
10024 2015-05-28  Don Breazeal  <donb@codesourcery.com>
10025
10026         * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10027         tests for remote targets by checking is_target_gdbserver.
10028
10029 2015-05-27  Doug Evans  <dje@google.com>
10030
10031         * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10032         * gdb.dwarf2/opaque-type-lookup.c: New file.
10033         * gdb.dwarf2/opaque-type-lookup.exp: New file.
10034
10035 2015-05-26  Doug Evans  <dje@google.com>
10036
10037         * gdb.cp/iostream.cc: New file.
10038         * gdb.cp/iostream.exp: New file.
10039
10040 2015-05-26  Doug Evans  <dje@google.com>
10041
10042         * gdb.dwarf2/dw2-op-call.exp: Update.
10043         * gdb.dwarf2/dw4-sig-types.exp: Update.
10044         * gdb.dwarf2/implptr.exp: Update.
10045         * gdb.mi/mi-cmd-param-changed.exp: Update.
10046
10047 2015-05-26  Doug Evans  <dje@google.com>
10048
10049         * gdb.python/py-lazy-string.c: New file.
10050         * gdb.python/py-lazy-string.exp: New file.
10051         * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
10052         (main): Update.  Add estring3.
10053         * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
10054         * gdb.python/py-prettyprint.py (pp_ls): Handle length.
10055
10056 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10057             Yao Qi  <yao.qi@linaro.org>
10058
10059         * gdb.reverse/aarch64.c: New.
10060         * gdb.reverse/aarch64.exp: New.
10061
10062 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10063
10064         * lib/gdb.exp (supports_process_record): Return true for
10065         aarch64*-linux*.
10066         (supports_reverse): Likewise.
10067
10068 2015-05-22  Patrick Palka  <patrick@parcs.ath.cx>
10069
10070         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10071         Use with_test_prefix.
10072
10073 2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
10074
10075         * gdb.base/completion.exp: Add test for completion of layout
10076         names.
10077
10078 2015-05-20  Andrew Burgess  <andrew.burgess@embecosm.com>
10079
10080         * lib/gdb.exp (skip_tui_tests): New proc.
10081         * gdb.base/tui-layout.exp: Check skip_tui_tests.
10082
10083 2015-05-19  Pedro Alves  <palves@redhat.com>
10084
10085         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10086         Save the whole env array instead of just HOME.  Unset HISTSIZE in
10087         the environment while testing.  Restore whole environment
10088         afterwards.
10089
10090 2015-05-16  Doug Evans  <xdje42@gmail.com>
10091
10092         * gdb.guile/scm-ports.c: New file.
10093         * gdb.guile/scm-ports.exp: Add memory port tests.
10094
10095 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10096
10097         * gdb.compile/compile-print.c: New file.
10098         * gdb.compile/compile-print.exp: New file.
10099
10100 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10101
10102         * gdb.compile/compile-ops.exp: Cast param to void.
10103         * gdb.compile/compile.exp: Complete type for _gdb_expr.
10104         (compile code struct_object.selffield = &struct_object): Add xfail.
10105
10106 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10107
10108         * gdb.ada/arr_enum_with_gap: New testcase.
10109
10110 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10111
10112         * gdb.ada/byte_packed_arr: New testcase.
10113
10114 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10115
10116         * gdb.ada/pckd_neg: New testcase.
10117
10118 2015-05-13  Patrick Palka  <patrick@parcs.ath.cx>
10119
10120         PR gdb/17820
10121         * gdb.base/gdbinit-history.exp: New test.
10122         * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
10123         * gdb.base/gdbinit-history/zero/.gdbinit: New file.
10124
10125 2015-05-09  Siva Chandra Reddy  <sivachandra@google.com>
10126
10127         * gdb.python/py-xmethods.cc: Enhance test case.
10128         * gdb.python/py-xmethods.exp: New tests.
10129         * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
10130         function.
10131         (B_indexoper): Likewise.
10132         (global_dm_list) : Add new xmethod worker functions.
10133
10134 2015-05-08  Sergio Durigan Junior  <sergiodj@redhat.com>
10135
10136         * gdb.base/coredump-filter.exp: Correctly unset
10137         "coredump_var_addr" array.
10138
10139 2015-05-08  Pedro Alves  <palves@redhat.com>
10140
10141         * gdb.server/non-existing-program.exp: Unset spawn_id.
10142
10143 2015-05-08  Siva Chandra Reddy  <sivachandra@google.com>
10144
10145         PR python/18291
10146         * gdb.python/py-xmethods.exp: Add tests.
10147
10148 2015-05-08  Yao Qi  <yao.qi@linaro.org>
10149
10150         PR gdb/18208
10151         * gdb.base/coredump-filter.c (set_coredump_filter): New function.
10152         * gdb.base/coredump-filter.exp (do_save_core): Call inferior
10153         function set_coredump_filter, and remove remote_exec call.
10154         Remove argument ipid.  Callers update.
10155         (top level): Don't get inferior's PID.
10156
10157 2015-05-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10158
10159         * gdb.base/watch_thread_num.exp: Skip test on targets without
10160         access watchpoints.
10161
10162 2015-05-06  Pedro Alves  <palves@redhat.com>
10163
10164         PR server/18081
10165         * gdb.server/non-existing-program.exp: New file.
10166
10167 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10168
10169         * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
10170
10171 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10172
10173         * gdb.ada/out_of_line_in_inlined: New testcase.
10174
10175 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10176
10177         * gdb.ada/var_rec_arr: New testcase.
10178
10179 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10180
10181         * gdb.base/break-idempotent.exp: If
10182         skip_hw_watchpoint_multi_tests returns true, skip the tests
10183         on "rwatch" and "awatch".
10184
10185 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10186
10187         * gdb.base/relativedebug.exp: Invoke gdb command
10188         "info sharedlibrary", and if libc.so doesn't have debug info,
10189         skip the test.
10190
10191 2015-04-29  Doug Evans  <dje@google.com>
10192
10193         * gdb.python/py-xmethods.exp: Add ptype tests.
10194         * gdb.python/py-xmethods.py (E_method_char_worker): Add
10195         get_result_type method.
10196
10197 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10198
10199         * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
10200         the target does not support hardware watchpoints.
10201
10202 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10203
10204         * gdb.base/break-always.exp: Abort testing if writing to memory
10205         causes an error.
10206
10207 2015-04-28  Doug Evans  <dje@google.com>
10208
10209         * gdb.python/py-pp-maint.py: Move "replace" testing to ...
10210         * gdb.python/py-pp-registration.exp: ... here.  New file.
10211         * gdb.python/py-pp-registration.c: New file.
10212         * gdb.python/py-pp-registration.py: New file.
10213
10214 2015-04-28  Doug Evans  <dje@google.com>
10215
10216         * gdb.python/py-bad-printers.c: New file.
10217         * gdb.python/py-bad-printers.py: New file.
10218         * gdb.python/py-bad-printers.exp: New file.
10219
10220 2015-04-28  Sasha Smundak  <asmundak@google.com>
10221
10222         * gdb.python/py-type.exp: New test.
10223
10224 2015-04-28  Andy Wingo  <wingo@igalia.com>
10225
10226         * gdb.python/py-parameter.exp:
10227         * gdb.guile/scm-parameter.exp: Escape the path that we are
10228         matching against, as it might contain characters that are special
10229         to regular expressions.
10230
10231 2015-04-27  Joel Brobecker  <brobecker@adacore.com>
10232
10233         * gdb.ada/rec_comp: New testcase.
10234
10235 2015-04-26  Sergio Durigan Junior  <sergiodj@redhat.com>
10236
10237         * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
10238         before using it.
10239
10240 2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
10241
10242         * gdb.base/dump.exp: Add *.verilog files to all_files list.  Add
10243         new tests for verilog output.
10244
10245 2015-04-24  Yao Qi  <yao.qi@linaro.org>
10246
10247         * boards/remote-gdbserver-on-localhost.exp: New file.
10248
10249 2015-04-23  Pedro Alves  <palves@redhat.com>
10250
10251         * gdb.base/interrupt.exp: Use an indirect spawn id list holding
10252         $inferior_spawn_id instead of $inferior_spawn_id directly.  On
10253         "end of file", remove $inferior_spawn_id from the indirect list.
10254
10255 2015-04-23  Pedro Alves  <palves@redhat.com>
10256
10257         * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
10258
10259 2015-04-23  Pedro Alves  <palves@redhat.com>
10260
10261         * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
10262         on $any_spawn_id instead of only on $gdb_spawn_id.
10263
10264 2015-04-21  Pierre Muller  <muller@sourceware.org>
10265
10266         PR pascal/17815
10267         * lib/pascal.exp (gpc_compile): Add new option "class".
10268         (fpc_compile): Likewise.
10269         * gdb.pascal/case-insensitive-symbols.pas: New file.
10270         * gdb.pascal/case-insensitive-symbols.exp: New file.
10271
10272 2015-04-20  Gary Benson <gbenson@redhat.com>
10273
10274         * gdb.base/attach.exp: Fix three extended remote failures.
10275
10276 2015-04-17  Gary Benson <gbenson@redhat.com>
10277
10278         * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
10279         the main executable over the remote protocol.
10280
10281 2015-04-16  Pedro Alves  <palves@redhat.com>
10282
10283         * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
10284         a new gdbserver if gdbserver_reconnect_p is set.
10285
10286 2015-04-16  Pedro Alves  <palves@redhat.com>
10287
10288         * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
10289         is set, don't exit gdbserver.
10290
10291 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10292
10293         * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
10294         appropriate .insn, such that an older assembler can be used.
10295         * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
10296         the z/Architecture instruction set on 31-bit targets as well.
10297
10298 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10299
10300         * gdb.go/handcall.exp: Remove all logic related to the first
10301         breakpoint and rely on go_runto_main instead.
10302         * gdb.go/strings.exp: Likewise.
10303         * gdb.go/unsafe.exp: Likewise.
10304         * gdb.go/hello.exp: Likewise.  Also rename the remaining
10305         breakpoint marker to "breakpoint 1".
10306         * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
10307         * gdb.go/strings.go: Likewise.
10308         * gdb.go/unsafe.go: Likewise.
10309         * gdb.go/hello.go: Likewise.  Also remove the second occurrence of
10310         "set breakpoint 2 here" and rename the remaining breakpoint marker
10311         to "breakpoint 1".
10312
10313 2015-04-15  Simon Marchi  <simon.marchi@ericsson.com>
10314
10315         * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
10316         if itertools.imap is not present.
10317         * gdb.python/py-objfile.exp: Add parentheses.
10318         * gdb.python/py-type.exp: Same.
10319         * gdb.python/py-unwind-maint.py: Same.
10320
10321 2015-04-15  Yao Qi  <yao.qi@linaro.org>
10322
10323         * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
10324         of ":$ptr_size" and set its form explicitly.
10325
10326 2015-04-15  Pedro Alves  <palves@redhat.com>
10327             Yao Qi  <yao.qi@linaro.org>
10328
10329         * gdb.base/watch-bitfields.exp (test_watch_location): Increase
10330         timeout by factor of 4.
10331         (test_regular_watch): Likewise.
10332         * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
10333         * gdb.reverse/sigall-reverse.exp: Likewise.
10334         * gdb.reverse/until-precsave.exp: Likewise.
10335         * lib/gdb.exp (with_timeout_factor): New proc.
10336         (gdb_expect): Move some code to ...
10337         (get_largest_timeout): ... here.  New procedure.
10338
10339 2015-04-14  Luis Machado  <lgustavo@codesourcery.com>
10340
10341         * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10342
10343 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10344
10345         * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10346         to write to the .text section.
10347
10348 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10349
10350         * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10351         Handle the case of targets that do not provide PID information.
10352
10353 2015-04-13  Yao Qi  <yao.qi@linaro.org>
10354
10355         * lib/gdbserver-support.exp (gdb_exit): Catch exception
10356         and use expect instead of gdb_expect.
10357
10358 2015-04-13  Sergio Durigan Junior  <sergiodj@redhat.com>
10359
10360         * gdb.base/coredump-filter.exp: Rename variable "addr" to
10361         "coredump_var_addr" to avoid naming conflict with other testcases.
10362
10363 2015-04-10  Pedro Alves  <palves@redhat.com>
10364
10365         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10366         gdb_test_sequence and gdb_assert.
10367
10368 2015-04-10  Pedro Alves  <palves@redhat.com>
10369
10370         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10371         test messages that don't include the breakpoint address.
10372
10373 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10374
10375         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10376         false for some offset and width combinations which aren't
10377         supported by linux kernel.
10378
10379 2015-04-10  Pedro Alves  <palves@redhat.com>
10380
10381         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10382         procedure, factored out from ...
10383         (top level): ... here.  Add "set displaced-stepping" testing axis.
10384         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10385         parameter "displaced".  Use it.
10386         (top level): Use foreach and add "set displaced-stepping" testing
10387         axis.
10388
10389 2015-04-10  Pedro Alves  <palves@redhat.com>
10390
10391         * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10392         Remove comment.
10393         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10394         both the address of the instruction that triggers the watchpoint
10395         and the address of the instruction immediately after, and use
10396         those addresses for the test.  Fix comment.
10397
10398 2015-04-10  Pedro Alves  <palves@redhat.com>
10399
10400         * gdb.base/sigstep.exp (breakpoint_to_handler)
10401         (breakpoint_to_handler_entry): New parameter 'displaced'.  Use it.
10402         Test "backtrace" in handler.
10403         (breakpoint_over_handler): New parameter 'displaced'.  Use it.
10404         (top level): Add new "displaced" test axis to
10405         breakpoint_to_handler, breakpoint_to_handler_entry and
10406         breakpoint_over_handler.
10407
10408 2015-04-10  Pedro Alves  <palves@redhat.com>
10409
10410         PR gdb/18216
10411         * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10412
10413 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10414
10415         * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10416         (test_add_rn_pc): New function.
10417         * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10418         (top level): Invoke test_add_rn_pc.
10419
10420 2015-04-10  Pedro Alves  <palves@redhat.com>
10421
10422         PR gdb/13858
10423         * gdb.base/step-over-no-symbols.exp: New file.
10424
10425 2015-04-09  Andy Wingo  <wingo@igalia.com>
10426
10427         * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
10428         after the Python tests.
10429
10430 2015-04-08  Keith Seitz  <keiths@redhat.com>
10431
10432         PR python/16699
10433         * gdb.python/py-completion.exp: New tests for completion.
10434         * gdb.python/py-completion.py (CompleteLimit1): New class.
10435         (CompleteLimit2): Likewise.
10436         (CompleteLimit3): Likewise.
10437         (CompleteLimit4): Likewise.
10438         (CompleteLimit5): Likewise.
10439         (CompleteLimit6): Likewise.
10440         (CompleteLimit7): Likewise.
10441
10442 2015-04-08  Pedro Alves  <palves@redhat.com>
10443
10444         PR gdb/18214
10445         PR gdb/18216
10446         * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10447         function.
10448         (main): Install it as SIGUSR1 handler.
10449         * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10450         parameter.  Always use "setup" as prefix.  Toggle "set
10451         displaced-stepping" off/on depending on global.  Don't switch to
10452         thread 1 here.
10453         (top level): Add displaced stepping "off/on" test axis.  Update
10454         "setup" calls.  Wrap each subtest with with_test_prefix.  Test
10455         continuing with a queued signal in each thread.
10456
10457 2015-04-08  Pedro Alves  <palves@redhat.com>
10458
10459         * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10460         * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd.  Use
10461         gdb_breakpoint instead of gdb_test that doesn't expect anything.
10462         Return early if running to main fails.
10463         * gdb.trace/while-stepping.exp: Likewise.
10464
10465 2015-04-07  Pedro Alves  <palves@redhat.com>
10466
10467         * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10468         $gdb_spawn_id.  Use send_inferior and $inferior_spawn_id to
10469         interact with inferior program.
10470
10471 2015-04-07  Pedro Alves  <palves@redhat.com>
10472
10473         * lib/gdb.exp (inferior_spawn_id): New global.
10474         (gdb_test_multiple): Handle "-i".  Reset the spawn id to GDB's
10475         spawn id after processing the user code.
10476         (default_gdb_start): Set inferior_spawn_id.
10477         (send_inferior): New procedure.
10478         * lib/gdbserver-support.exp (gdbserver_start): Set
10479         inferior_spawn_id.
10480         (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10481
10482 2015-04-07  Pedro Alves  <palves@redhat.com>
10483
10484         * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10485         * lib/gdbserver-support.exp (gdbserver_start): Make
10486         $server_spawn_id global.
10487         (gdbserver_start): Don't wait for gdbserver's spawn id with
10488         expect_background.
10489         (close_gdbserver): New procedure.
10490         (gdb_exit): Rename the default version and reimplement.
10491
10492 2015-04-07  Pedro Alves  <palves@redhat.com>
10493
10494         * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10495         append the substituted item, not the original item.
10496
10497 2015-04-07  Pedro Alves  <palves@redhat.com>
10498
10499         * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10500         gdb_expect.
10501
10502 2015-04-07  Pedro Alves  <palves@redhat.com>
10503
10504         * gdb.base/interrupt.exp: Don't handle the case of the inferior
10505         output appearing once only.
10506
10507 2015-04-07  Pedro Alves  <palves@redhat.com>
10508
10509         * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10510         that doesn't expect anything.  Return early if running to main
10511         fails.
10512
10513 2015-04-07  Yao Qi  <yao.qi@linaro.org>
10514
10515         * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10516         (child_function): Call alarm.
10517         (main): Move call to alarm into the loop.
10518         * gdb.threads/non-stop-fair-events.exp: Build program with
10519         -DTIMEOUT=$timeout.
10520
10521 2015-04-06  Doug Evans  <xdje42@gmail.com>
10522
10523         * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10524         Fix dest parameter to board_info.
10525         (fpc_compile): Ditto.
10526         (gdb_compile_pascal): Rename dest arg to destfile.
10527
10528 2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
10529
10530         * gdb.ada/funcall_ref.exp: New file.
10531         * gdb.ada/funcall_ref/foo.adb: New file.
10532
10533 2015-04-02  Yao Qi  <yao.qi@linaro.org>
10534
10535         * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10536         is remote.
10537
10538 2015-04-02  Gary Benson <gbenson@redhat.com>
10539
10540         * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10541
10542 2015-04-01  Sasha Smundak  <asmundak@google.com>
10543
10544         * gdb.python/py-unwind-maint.c: New file.
10545         * gdb.python/py-unwind-maint.exp: New test.
10546         * gdb.python/py-unwind-maint.py: New file.
10547         * gdb.python/py-unwind.c: New file.
10548         * gdb.python/py-unwind.exp: New test.
10549         * gdb.python/py-unwind.py: New test.
10550
10551 2015-04-01  Pedro Alves  <palves@redhat.com>
10552
10553         * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10554         to fail instead of non-existent $test.
10555
10556 2015-04-01  Pedro Alves  <palves@redhat.com>
10557
10558         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10559         GDBFLAGS if not empty.
10560
10561 2015-04-01  Pierre-Marie de Rodat  <derodat@adacore.com>
10562
10563         * gdb.ada/complete.exp: Remove "multi_line".
10564         * gdb.ada/info_exc.exp: Remove "multi_line".
10565         * gdb.ada/packed_tagged.exp: Remove "multi_line".
10566         * gdb.ada/ptype_field.exp: Remove "multi_line".
10567         * gdb.ada/sym_print_name.exp: Remove "multi_line".
10568         * gdb.ada/tagged.exp: Remove "multi_line".
10569         * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10570         [multi_line ...]
10571         * gdb.btrace/delta.exp: Likewise.
10572         * gdb.btrace/exception.exp: Likewise.
10573         * gdb.btrace/function_call_history.exp: Likewise.
10574         * gdb.btrace/instruction_history.exp: Likewise.
10575         * gdb.btrace/nohist.exp: Likewise.
10576         * gdb.btrace/record_goto.exp: Likewise.
10577         * gdb.btrace/segv.exp: Likewise.
10578         * gdb.btrace/stepi.exp: Likewise.
10579         * gdb.btrace/tailcall.exp: Likewise.
10580         * gdb.btrace/unknown_functions.exp: Likewise.
10581         * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10582         * lib/gdb.exp: Add the "multi_line" helper.
10583
10584 2015-04-01  Pedro Alves  <palves@redhat.com>
10585
10586         * gdb.threads/tid-reuse.c: New file.
10587         * gdb.threads/tid-reuse.exp: New file.
10588
10589 2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
10590
10591         PR corefiles/16092
10592         * gdb.base/coredump-filter.c: New file.
10593         * gdb.base/coredump-filter.exp: Likewise.
10594
10595 2015-03-27  Petr Machata  <pmachata@redhat.com>
10596
10597         * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10598         (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10599         (Dwarf::assemble): Initialize them.
10600         (Dwarf::lines): New function.
10601
10602 2015-03-26  Jon Turney  <jon.turney@dronecode.org.uk>
10603
10604         * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10605         SYMBOL_PREFIX for x86_64-*-cygwin.
10606
10607 2015-03-26  Andy Wingo  <wingo@igalia.com>
10608
10609         PR symtab/18148
10610         * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10611         const_value but not a location.
10612         * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10613         location defined in non-main CUs are visible.
10614
10615 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10616
10617         PR testsuite/18139
10618         * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10619         Add a line number entry for the same line.
10620         * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10621         Add a line number entry for the same line.
10622
10623 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10624
10625         * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10626         .int 0.
10627         (func): Likewise.  Add .Lfunc_1 label.
10628         Use .Lfunc_1 label.
10629         * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10630         .int 0.
10631         (func): Likewise.
10632         Use .Lfunc_1 label.
10633
10634 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10635
10636         * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10637         Call gdb_compile instead to compile each .s files without debug
10638         information.
10639
10640 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10641
10642         * gdb.base/savedregs.exp (process_saved_regs): Make
10643         "Saved registers:" optional in the pattern.
10644
10645 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
10646
10647         * gdb.btrace/next.exp: Merged into step.exp.
10648         * gdb.btrace/finish.exp: Merged into step.exp.
10649         * gdb.btrace/nexti.exp: Merged into stepi.exp.
10650         * gdb.btrace/step.exp: Use record_goto.c as test file.  Avoid using
10651         "record goto" and checking the exact replay position.
10652         * gdb.btrace/stepi.exp: Choose test file based on target.  Do not
10653         check for "Recording format" in "info record" output.
10654         * gdb.btrace/record_goto.exp: Choose test file based on target.
10655         * gdb.btrace/x86-record_goto.S: Renamed into ...
10656         * gdb.btrace/x86_64-record_goto.S: ... this.
10657         * gdb.btrace/i686-record_goto.S: New.
10658         * gdb.btrace/x86-tailcall.S: Renamed into ...
10659         * gdb.btrace/x86_64-tailcall.S: ... this.
10660         * gdb.btrace/i686-tailcall.S: New.
10661         * gdb.btrace/x86-tailcall.c: Renamed into ...
10662         * gdb.btrace/tailcall.c: ... this.  Split "return ++answer" into two
10663         separate statements.  Update test.
10664         * gdb.btrace/delta.exp: Use record_goto.c as test file.
10665         * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10666         * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10667         * gdb.btrace/tailcall.exp: Choose test file based on target.
10668         * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10669
10670 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
10671
10672         * gdb.btrace/exception.exp: Increase BTS buffer size.
10673
10674 2015-03-24  Pedro Alves  <palves@redhat.com>
10675
10676         * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10677
10678 2015-03-24  Pedro Alves  <palves@redhat.com>
10679
10680         * gdb.threads/schedlock.exp (test_step): No longer expect that
10681         "set scheduler-locking step" with "next" over a function call runs
10682         threads unlocked.
10683
10684 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10685
10686         * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10687
10688 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10689
10690         PR breakpoints/16466
10691         * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10692         * gdb.mi/mi-pending.c (thread_func): New function.
10693         (int main): Add threading support required.
10694         * gdb.mi/mi-pending.exp: Add tests for this issue.
10695         * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10696         (pendfunc2): Remove stdio dependency.
10697         * gdb.mi/mi-pendshr2.c: New file.
10698
10699 2015-03-23  Keith Seitz  <keiths@redhat.com>
10700
10701         * gdb.linespec/keywords.c: New file.
10702         * gdb.linespec/keywords.exp: New file.
10703
10704 2015-03-23  Keith Seitz  <keiths@redhat.com>
10705
10706         PR gdb/18021
10707         * gdb.dwarf2/staticvirtual.exp: New test.
10708
10709 2015-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
10710
10711         * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10712         * README: Remove HP-UX and gdb.hp.
10713         (configuration):
10714         * configure: Regenerate.
10715         * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10716         gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10717         gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10718         gdb.hp/gdb.defects/Makefile.
10719         * gdb.hp/Makefile.in: File deleted.
10720         * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10721         * gdb.hp/gdb.aCC/optimize.c: File deleted.
10722         * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10723         * gdb.hp/gdb.aCC/run.c: File deleted.
10724         * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10725         * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10726         * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10727         * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10728         * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10729         * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10730         * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10731         * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10732         * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10733         * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10734         * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10735         * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10736         * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10737         * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10738         * gdb.hp/gdb.base-hp/reg.s: File deleted.
10739         * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10740         * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10741         * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10742         * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10743         * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10744         * gdb.hp/gdb.compat/Makefile.in: File deleted.
10745         * gdb.hp/gdb.compat/average.c: File deleted.
10746         * gdb.hp/gdb.compat/sum.c: File deleted.
10747         * gdb.hp/gdb.compat/xdb.c: File deleted.
10748         * gdb.hp/gdb.compat/xdb0.c: File deleted.
10749         * gdb.hp/gdb.compat/xdb0.h: File deleted.
10750         * gdb.hp/gdb.compat/xdb1.c: File deleted.
10751         * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10752         * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10753         * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10754         * gdb.hp/gdb.defects/Makefile.in: File deleted.
10755         * gdb.hp/gdb.defects/bs14602.c: File deleted.
10756         * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10757         * gdb.hp/gdb.defects/solib-d.c: File deleted.
10758         * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10759         * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10760         * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10761         * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10762         * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10763         * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10764         * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10765         * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10766         * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10767         * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10768         * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10769         * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10770         * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10771         * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10772         * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10773         * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10774         * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10775         * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10776         * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10777         * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10778         * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10779         * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10780         * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10781         * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10782         * gdb.hp/tools/odump: File deleted.
10783
10784 2015-03-19  Pedro Alves  <palves@redhat.com>
10785
10786         * gdb.threads/continue-pending-status.exp (saw_thread_2)
10787         (saw_thread_3): New globals.
10788         (top level): Increment them when an event for the corresponding
10789         thread is seen.
10790         (no thread starvation): New test.
10791
10792 2015-03-19  Pedro Alves  <palves@redhat.com>
10793
10794         * gdb.threads/continue-pending-status.c: New file.
10795         * gdb.threads/continue-pending-status.exp: New file.
10796
10797 2015-03-18  Pedro Alves  <palves@redhat.com>
10798
10799         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10800         Use gdb_is_target_remote instead of is_remote.  Use
10801         gdb_test_multiple instead of gdb_expect.  Exit early if
10802         gdb_test_multiple hits its internal matches.  Tighten stepi tests
10803         expected output.  Fail on exit with any signal, instead of just
10804         SIGILL.
10805
10806 2015-03-18  Yao Qi  <yao.qi@linaro.org>
10807
10808         PR tdep/18107
10809         * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10810         variable.
10811         * gdb.base/catch-syscall.exp: Don't skip it on
10812         aarch64*-*-linux* target.  Remove elements in all_syscalls.
10813         (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10814         target.
10815         (setup_all_syscalls): New proc.
10816
10817 2015-03-16  Yao Qi  <yao.qi@linaro.org>
10818
10819         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10820         (top level): Skip tests if valid_addr_p returns false for
10821         $cmd1 or $cmd2.
10822
10823 2015-03-11  Andy Wingo  <wingo@igalia.com>
10824
10825         * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10826
10827 2015-03-11  Yao Qi  <yao.qi@linaro.org>
10828
10829         * gdb.base/catch-syscall.exp: Fix typo in comments.
10830
10831 2015-03-11  Yao Qi  <yao.qi@linaro.org>
10832
10833         * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10834
10835 2015-03-09  Pedro Alves  <palves@redhat.com>
10836
10837         * dg-extract-results.py: Delete.
10838
10839 2015-03-09  Pedro Alves  <palves@redhat.com>
10840
10841         Merge dg-extract-results.sh from GCC upstream (r218843).
10842
10843         2014-12-17  Sergio Durigan Junior  <sergiodj@redhat.com>
10844                 * dg-extract-results.sh: Use --text with grep to avoid issues with
10845                 binary files.  Fall back to cat -v, if that doesn't work.
10846
10847 2015-03-05  Pedro Alves  <palves@redhat.com>
10848
10849         * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10850
10851 2015-03-04  Simon Marchi  <simon.marchi@ericsson.com>
10852
10853         * lib/mi-support.exp (mi_expect_interrupt): Accept
10854         alternative event for when in all-stop mode.
10855
10856 2015-03-04  Pedro Alves  <palves@redhat.com>
10857
10858         * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10859
10860 2015-03-04  Mark Kettenis  <kettenis@gnu.org>
10861
10862         * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10863
10864 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10865
10866         * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10867         regexps for GDB's current line display, accept a hex address
10868         preceding the line number.
10869
10870 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10871
10872         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10873         the 'arch1' variable for "s390*-linux*" targets.
10874
10875 2015-03-04  Pedro Alves  <palves@redhat.com>
10876
10877         * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10878         (main): Pass missing retval argument to pthread_join call.
10879
10880 2015-03-02  Pedro Alves  <palves@redhat.com>
10881
10882         * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
10883         (top level): Call do_test with non-stop as well.
10884
10885 2015-03-02  Pedro Alves  <palves@redhat.com>
10886
10887         * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
10888         -1.
10889
10890 2015-03-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10891
10892         * gdb.arch/s390-vregs.exp: New test.
10893         * gdb.arch/s390-vregs.S: New file.
10894
10895 2015-02-27  Pedro Alves  <palves@redhat.com>
10896
10897         * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
10898         call to catch_command_errors.
10899         * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
10900         catch_command_errors.
10901
10902 2015-02-27  Pedro Alves  <palves@redhat.com>
10903
10904         * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
10905         "true" for boolean result.
10906         * gdb.gdb/selftest.exp (test_with_self): Also accept full
10907         prototype of main.
10908
10909 2015-02-27  Pedro Alves  <palves@redhat.com>
10910
10911         * lib/unbuffer_output.c: New file.
10912         * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
10913         (main): Call gdb_unbuffer_output.
10914
10915 2015-02-27  Yao Qi  <yao.qi@linaro.org>
10916
10917         * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
10918         target.
10919
10920 2015-02-26  Doug Evans  <dje@google.com>
10921
10922         * gdb.cp/class2.cc (Dbase, D): New classes.
10923         (main): New local delta.
10924         * gdb.cp/class2.exp: Test printing delta.
10925         * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
10926         (dynbar): New global.
10927         * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
10928
10929 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
10930
10931         * gdb.compile/compile-ifunc.c: New file.
10932         * gdb.compile/compile-ifunc.exp: New file.
10933
10934 2015-02-26  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10935
10936         * gdb.base/structs.exp: Check for correct struct on finish.
10937
10938 2015-02-26  Yao Qi  <yao.qi@linaro.org>
10939
10940         * lib/dwarf.exp (function_range): Adjust pattern when $func_length
10941         is zero.
10942
10943 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
10944
10945         * gdb.arch/cordic.ko.bz2: New file.
10946         * gdb.arch/cordic.ko.debug.bz2: New file.
10947         * gdb.arch/ppc64-symtab-cordic.exp: New file.
10948
10949 2015-02-25  Yao Qi  <yao.qi@linaro.org>
10950
10951         * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
10952         aarch64*-*-* target.
10953
10954 2015-02-23  Pedro Alves  <palves@redhat.com>
10955
10956         * lib/gdb.exp (delete_breakpoints): Rewrite using
10957         gdb_test_multiple.
10958
10959 2015-02-23  Pedro Alves  <palves@redhat.com>
10960
10961         * gdb.base/info-os.c: Include stdlib.h.
10962
10963 2015-02-22  Doug Evans  <xdje42@gmail.com>
10964
10965         PR symtab/17855
10966         * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
10967         is read after symbols have been re-read.
10968         * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
10969         * gdb.ada/exec_changed/second.adb (Second): Ditto.
10970
10971 2015-02-21  Doug Evans  <dje@google.com>
10972
10973         * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
10974
10975 2015-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
10976
10977         PR corefiles/17808
10978         * gdb.arch/i386-biarch-core.core.bz2: New file.
10979         * gdb.arch/i386-biarch-core.exp: New file.
10980
10981 2015-02-21  Pedro Alves  <palves@redhat.com>
10982
10983         * gdb.threads/multi-create-ns-info-thr.exp: Return early if
10984         runto_main fails.
10985
10986 2015-02-20  Pedro Alves  <palves@redhat.com>
10987
10988         * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
10989         info probes.
10990
10991 2015-02-20  Pedro Alves  <palves@redhat.com>
10992
10993         * gdb.threads/multi-create-ns-info-thr.exp: New file.
10994
10995 2015-02-20  Pedro Alves  <palves@redhat.com>
10996
10997         * gdb.trace/no-attach-trace.exp: Don't run to main.  Do
10998         clean_restart before gdb_target_supports_trace.
10999
11000 2015-02-20  Pedro Alves  <palves@redhat.com>
11001
11002         PR threads/18006
11003         * gdb.threads/clone-thread_db.c: New file.
11004         * gdb.threads/clone-thread_db.exp: New file.
11005
11006 2015-02-19  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11007
11008         PR breakpoints/16812
11009         * gdb.base/catch-gdb-caused-signals.c: New file.
11010         * gdb.base/catch-gdb-caused-signals.exp: New file.
11011
11012 2015-02-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
11013
11014         * configure: Regenerated.
11015         * configure.ac: Use GDB_AC_TRANSFORM.
11016         * aclocal.m4: sinclude ../transform.m4.
11017
11018 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11019
11020         * lib/dtrace.exp: New file.
11021         * gdb.base/dtrace-probe.exp: Likewise.
11022         * gdb.base/dtrace-probe.d: Likewise.
11023         * gdb.base/dtrace-probe.c: Likewise.
11024         * lib/pdtrace.in: Likewise.
11025         * configure.ac: Output variables with the transformed names of
11026         the strip, readelf, as and nm tools.  AC_SUBST lib/pdtrace.in.
11027         * configure: Regenerated.
11028
11029 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11030
11031         * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11032         expected message when trying to access $_probe_* convenience
11033         variables while not on a probe.
11034
11035 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11036
11037         * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11038
11039 2015-02-11  Pedro Alves  <pedro@codesourcery.com>
11040
11041         * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11042         * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
11043
11044 2015-02-10  Doug Evans  <xdje42@gmail.com>
11045
11046         * lib/gdb.exp (gdb_load): Always return a result.
11047
11048 2015-02-10  Pedro Alves  <palves@redhat.com>
11049
11050         * gdb.threads/signal-sigtrap.c: New file.
11051         * gdb.threads/signal-sigtrap.exp: New file.
11052
11053 2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
11054
11055         * gdb.trace/no-attach-trace.c: New file.
11056         * gdb.trace/no-attach-trace.exp: New file.
11057
11058 2015-02-09  Mark Wielaard  <mjw@redhat.com>
11059
11060         * gdb.dwarf2/atomic.c: New file.
11061         * gdb.dwarf2/atomic-type.exp: Likewise.
11062
11063 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11064
11065         * gdb.btrace/buffer-size.exp: Update "info record" output.
11066         * gdb.btrace/delta.exp: Update "info record" output.
11067         * gdb.btrace/enable.exp: Update "info record" output.
11068         * gdb.btrace/finish.exp: Update "info record" output.
11069         * gdb.btrace/instruction_history.exp: Update "info record" output.
11070         * gdb.btrace/next.exp: Update "info record" output.
11071         * gdb.btrace/nexti.exp: Update "info record" output.
11072         * gdb.btrace/step.exp: Update "info record" output.
11073         * gdb.btrace/stepi.exp: Update "info record" output.
11074         * gdb.btrace/nohist.exp: Update "info record" output.
11075
11076 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11077
11078         * gdb.btrace/buffer-size: New.
11079
11080 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11081
11082         * gdb.btrace/delta.exp: Update "info record" output.
11083         * gdb.btrace/enable.exp: Update "info record" output.
11084         * gdb.btrace/finish.exp: Update "info record" output.
11085         * gdb.btrace/instruction_history.exp: Update "info record" output.
11086         * gdb.btrace/next.exp: Update "info record" output.
11087         * gdb.btrace/nexti.exp: Update "info record" output.
11088         * gdb.btrace/step.exp: Update "info record" output.
11089         * gdb.btrace/stepi.exp: Update "info record" output.
11090         * gdb.btrace/nohist.exp: Update "info record" output.
11091
11092 2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
11093
11094         PR gdb/15678
11095         * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
11096
11097 2015-02-06  Pedro Alves  <palves@redhat.com>
11098
11099         * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
11100         macro.
11101         (seconds_left, again): New globals.
11102         (main): Wait seconds_left in a 1-second sleep loop instead of
11103         sleeping 180 seconds.  If 'again' is set, reset the seconds
11104         counter.
11105         * gdb.threads/attach-many-short-lived-threads.exp (test): Set
11106         'again' in the inferior before detaching.  Print the seconds left.
11107         (options): New global.
11108         (top level): Build program with -DTIMEOUT=$timeout.
11109
11110 2015-02-06  Pedro Alves  <palves@redhat.com>
11111
11112         * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
11113         determine how many seconds to pass to 'alarm'.
11114         * gdb.base/gdb-sigterm.exp (top level): Build program with
11115         -DTIMEOUT=$timeout.
11116         (do_test): Return success/failure indication.  Add more verbose
11117         logging.  Don't fail if 200 single steps are seen.  Instead, fail
11118         when the test times out.
11119         (passes): New global.
11120         (top level): Break the testing loop if testing fails on any
11121         iteration.  Use gdb_assert.
11122
11123 2015-02-04  Don Breazeal  <donb@codesourcery.com>
11124
11125         * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
11126         and initialize them.
11127         (ipc_cleanup): New function.
11128         (main): Don't declare shmid, semid, and msqid.  Add a call to
11129         atexit so that we call ipc_cleanup on exit.
11130
11131 2015-02-04  Pedro Alves  <palves@redhat.com>
11132
11133         * boards/native-extended-gdbserver.exp: Remove any target variant
11134         specifications from the board name before clearing the isremote
11135         flag from board_info.
11136
11137 2015-01-31  Doug Evans  <xdje42@gmail.com>
11138
11139         * gdb.base/maint.exp <maint print type argc>: Update expected output.
11140
11141 2015-01-31  Gary Benson <gbenson@redhat.com>
11142
11143         * gdb.base/completion.exp: Disable completion limiting for
11144         existing tests.  Add new tests to check completion limiting.
11145         * gdb.linespec/ls-errs.exp: Disable completion limiting.
11146
11147 2015-01-31  Doug Evans  <xdje42@gmail.com>
11148
11149         * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
11150
11151 2015-01-31  Doug Evans  <xdje42@gmail.com>
11152
11153         * gdb.guile/scm-section-script.c: Add duplicate inlined section script
11154         entries.  Duplicate file section script entries.
11155         * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
11156         inlined entries.  Add test for safe-path rejection.
11157         * gdb.python/py-section-script.c: Add duplicate inlined section script
11158         entries.  Duplicate file section script entries.
11159         * gdb.python/py-section-script.exp: Add tests for duplicate entries,
11160         inlined entries.  Add test for safe-path rejection.
11161
11162 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11163
11164         * gdb.ada/disc_arr_bound: New testcase.
11165
11166 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11167
11168         * gdb.ada/mi_var_array: New testcase.
11169
11170 2015-01-27  Doug Evans  <dje@google.com>
11171
11172         * gdb.python/py-objfile.exp: Add tests for objfile.username.
11173         Add test for objfile.filename, objfile.username after objfile
11174         has been unloaded.
11175
11176 2015-01-26  Joel Brobecker  <brobecker@adacore.com>
11177
11178         * gdb.python/py-lookup-type.exp (test_lookup_type): Change
11179         the second test to print the name attribute of value
11180         returned by the call to gdb.lookup_type, and adjust
11181         the expected output accordingly.
11182
11183 2015-01-25  Mark Wielaard  <mjw@redhat.com>
11184
11185         * gdb.arch/i386-bp_permanent.c (standard): New declaration.
11186         * gdb.base/disp-step-fork.c: Include unistd.h.
11187         * gdb.base/siginfo-obj.c: Include stdio.h.
11188         * gdb.base/siginfo-thread.c: Likewise.
11189         * gdb.mi/non-stop.c: Include unistd.h.
11190         * gdb.mi/nsthrexec.c: Include stdio.h.
11191         * gdb.mi/pthreads.c: Include unistd.h.
11192         * gdb.modula2/unbounded1.c (main): Declare returns int.
11193         * gdb.reverse/consecutive-reverse.c: Likewise.
11194         * gdb.threads/create-fail.c: Include unistd.h.
11195         * gdb.threads/killed.c: Likewise.
11196         * gdb.threads/linux-dp.c: Likewise.
11197         * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
11198         * gdb.threads/non-ldr-exc-2.c: Likewise.
11199         * gdb.threads/non-ldr-exc-3.c: Likewise.
11200         * gdb.threads/non-ldr-exc-4.c: Likewise.
11201         * gdb.threads/pthreads.c: Include unistd.h.
11202         (main): Declare returns int.
11203         * gdb.threads/tls-main.c (foo): New declaration.
11204         * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
11205
11206 2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
11207
11208         * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
11209         * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
11210
11211 2015-01-15  Mark Wielaard  <mjw@redhat.com>
11212
11213         * gdb.base/noreturn-return.c: New file.
11214         * gdb.base/noreturn-return.exp: New file.
11215         * gdb.base/noreturn-finish.c: New file.
11216         * gdb.base/noreturn-finish.exp: New file.
11217
11218 2015-01-23  Pedro Alves  <palves@redhat.com>
11219
11220         * gdb.threads/continue-pending-after-query.c: New file.
11221         * gdb.threads/continue-pending-after-query.exp: New file.
11222
11223 2015-01-22  Anders Granlund  <anders.granlund@ericsson.com>
11224             Simon Marchi  <simon.marchi@ericsson.com>
11225
11226         * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
11227         * gdb.base/valgrind-db-attach.exp: Same.
11228         * gdb.base/valgrind-infcall.exp: Same.
11229         * lib/mi-support.exp (default_mi_gdb_start): Same.
11230         * lib/prompt.exp (default_prompt_gdb_start): Same.
11231         * lib/gdb.exp (default_gdb_spawn): Same.
11232         (gdb_interact): New.
11233
11234
11235 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
11236
11237         * gdb.compile/compile.exp (pointer to jit function): New test.
11238
11239 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
11240
11241         * lib/gdb.exp (supports_process_record): Return true for
11242         powerpc*-*-linux*.
11243         (supports_reverse): Likewise.
11244
11245 2015-01-15  Don Breazeal  <donb@codesourcery.com>
11246
11247         * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
11248         instead of checking whether the target board is remote and
11249         use spawn_wait_for_attach instead of exec/sleep.
11250         * gdb.base/attach-twice.exp: Likewise.
11251
11252 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
11253
11254         * gdb.ada/var_arr_attrs: New testcase.
11255
11256 2015-01-14  Pedro Alves  <palves@redhat.com>
11257             Joel Brobecker  <brobecker@adacore.com>
11258
11259         PR gdb/17525
11260         * gdb.base/bp-cmds-execution-x-script.c: New file.
11261         * gdb.base/bp-cmds-execution-x-script.exp: New file.
11262         * gdb.base/bp-cmds-execution-x-script.gdb: New file.
11263
11264 2015-01-14  Pedro Alves  <palves@redhat.com>
11265
11266         PR cli/17828
11267         * gdb.base/batch-preserve-term-settings.c: New file.
11268         * gdb.base/batch-preserve-term-settings.exp: New file.
11269
11270 2015-01-13  Doug Evans  <dje@google.com>
11271
11272         * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
11273         binary.
11274
11275 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11276
11277         * Makefile.in (clean mostlyclean): Do not delete *.py.
11278
11279 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11280
11281         * gdb.python/py-lookup-type.exp: New file.
11282
11283 2015-01-12  Pedro Alves  <palves@redhat.com>
11284
11285         * gdb.python/py-prompt.exp: When the board can't spawn for attach,
11286         restore GDBFLAGS before returning.
11287
11288 2015-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
11289
11290         * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
11291         is_amd64_regs_target and is_x86_like_target.
11292
11293 2015-01-11  Doug Evans  <xdje42@gmail.com>
11294
11295         * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
11296         is given without an explicit form.
11297         * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
11298         attributes.
11299         * gdb.dwarf/corrupt.exp: Ditto.
11300         * gdb.dwarf2/enum-type.exp: Ditto.
11301         * gdb.trace/entry-values.exp: Ditto.
11302         * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
11303
11304 2015-01-11  Doug Evans  <xdje42@gmail.com>
11305
11306         PR gdb/15830
11307         * gdb.base/maint.exp: Remove references to "maint demangle".
11308         * gdb.cp/demangle.exp: Update.  "maint demangle" -> "demangle".
11309         Add tests for explicitly specifying language to demangle.
11310         * gdb.dlang/demangle.exp: Ditto.
11311
11312 2015-01-09  Pedro Alves  <palves@redhat.com>
11313
11314         * gdb.threads/non-stop-fair-events.c: New file.
11315         * gdb.threads/non-stop-fair-events.exp: New file.
11316
11317 2015-01-09  Pedro Alves  <palves@redhat.com>
11318
11319         * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
11320         the global scope.  Set a breakpoint after all threads are started
11321         rather than stepping over two source lines.  Expect the prompt.
11322         * gdb.base/watch_thread_num.c (threads_started_barrier): New
11323         global.
11324         (NUM): Now 15.
11325         (main): Use threads_started_barrier to wait for all threads to
11326         start.  Main thread no longer calls thread_function.  Exit after
11327         180 seconds.
11328         (loop): New function.
11329         (thread_function): Wait on threads_started_barrier barrier.  Call
11330         'loop' at each iteration.
11331         * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
11332         threads have started, instead of hardcoding number of "next"
11333         steps.  Use an access watchpoint instead of a write watchpoint.
11334
11335 2015-01-09  Pedro Alves  <palves@redhat.com>
11336
11337         * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
11338         (thread_func): Wait on barrier.
11339         (main): Wait for all threads to start before stopping GDB.
11340         * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11341         global.
11342         (thread1_func, thread2_func): Wait on barrier.
11343         (main): Wait for all threads to start before stopping GDB.
11344         * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11345         New global.
11346         (thread1_func, thread2_func): Wait on barrier.
11347         (main): Wait for all threads to start before stopping GDB.
11348
11349 2015-01-09  Pedro Alves  <palves@redhat.com>
11350
11351         * gdb.threads/attach-many-short-lived-threads.c: New file.
11352         * gdb.threads/attach-many-short-lived-threads.exp: New file.
11353
11354 2014-01-09  Pedro Alves  <palves@redhat.com>
11355
11356         * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11357         instead of to thread 2.
11358         * gdb.threads/signal-command-multiple-signals-pending.c (main):
11359         Add barrier around each pthread_create call instead of around all
11360         calls.
11361         * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11362         Set a break on thread_function and have the child threads hit it
11363         one at at a time.
11364
11365 2015-01-09  Pedro Alves  <palves@redhat.com>
11366
11367         * lib/gdb.exp (can_spawn_for_attach): New procedure.
11368         (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11369         false.
11370         * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11371         checking whether the target board is remote.
11372         * gdb.multi/multi-attach.exp: Likewise.
11373         * gdb.python/py-sync-interp.exp: Likewise.
11374         * gdb.server/ext-attach.exp: Likewise.
11375         * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11376         tests that need to attach, instead of checking whether the target
11377         board is remote at the top of the file.
11378
11379 2015-01-08  Yao Qi  <yao@codesourcery.com>
11380
11381         * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11382
11383 2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
11384
11385         Fix testcase compilation.
11386         * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11387
11388 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
11389
11390         * gdb.python/py-type.exp: Add a couple test about empty
11391         array creation, and negative-length array creation.
11392
11393 2015-01-02  Doug Evans  <xdje42@gmail.com>
11394
11395         * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11396
11397 2015-01-02  Doug Evans  <dje@google.com>
11398
11399         * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11400
11401 2014-12-29  Yao Qi  <yao@codesourcery.com>
11402
11403         * gdb.trace/entry-values.exp: Update comments.  Rename variable
11404         bar_call_foo to returned_from_foo.
11405
11406 2014-12-20  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
11407
11408         PR gdb/17394
11409         * gdb.linespec/break-asm-file.c: New file.
11410         * gdb.linespec/break-asm-file.exp: New file.
11411         * gdb.linespec/break-asm-file0.s: New file.
11412         * gdb.linespec/break-asm-file1.s: New file.
11413
11414 2014-12-18  Nigel Stephens  <nigel@mips.com>
11415             Maciej W. Rozycki  <macro@codesourcery.com>
11416
11417         * gdb.base/float.exp: Handle the new output from "info float" on
11418         MIPS targets.
11419
11420 2014-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
11421
11422         Fix MinGW compilation.
11423         * gdb.compile/compile-ops.exp: Update untested message if
11424         !skip_compile_feature_tests.
11425         * gdb.compile/compile-setjmp.exp: Likewise.
11426         * gdb.compile/compile-tls.exp: Likewise.
11427         * gdb.compile/compile.exp: Likewise.
11428         * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
11429         supported on this host".
11430
11431 2014-12-16  Doug Evans  <xdje42@gmail.com>
11432
11433         * boards/stabs.exp: New file.
11434
11435 2014-12-16  Andreas Arnez  <arnez@vnet.linux.ibm.com>
11436
11437         * gdb.base/completion.exp: Adjust to format changes of "maint
11438         print user-registers".
11439
11440 2014-12-16  Catalin Udma  <catalin.udma@freescale.com>
11441
11442         PR server/17457
11443         * gdb.arch/aarch64-fp.c: New file.
11444         * gdb.arch/aarch64-fp.exp: New file.
11445
11446 2014-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
11447
11448         Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11449         r210637, r210913, r211666, r215400, r215817).
11450
11451         2014-05-08  Richard Sandiford  <rdsandiford@googlemail.com>
11452                 * dg-extract-results.py: New file.
11453                 * dg-extract-results.sh: Use it if the environment seems
11454                 suitable.
11455
11456         2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
11457
11458                 * dg-extract-results.py (parse_run): Handle warnings that
11459                 are printed before a test harness is run.
11460
11461         2014-05-25  Richard Sandiford  <rdsandiford@googlemail.com>
11462
11463                 * dg-extract-results.py (Named): Remove __cmp__ method.
11464                 (output_variation): Use a key to sort variation.harnesses.
11465
11466         2014-06-14  Richard Sandiford  <rdsandiford@googlemail.com>
11467
11468                 * dg-extract-results.py: For Python 3, force sys.stdout to
11469                 handle surrogate escape sequences.
11470                 (safe_open): New function.
11471                 (output_segment, main): Use it.
11472
11473         2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>
11474
11475                 * dg-extract-results.py (Prog.result_re): Include options
11476                 in test name.
11477
11478         2014-10-02  Segher Boessenkool  <segher@kernel.crashing.org>
11479
11480                 * dg-extract-results.py (output_variation): Always sort if
11481                 do_sum.
11482
11483 2014-12-15  Simon Marchi  <simon.marchi@ericsson.com>
11484
11485         * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11486         as long as we get pagination notifications.
11487
11488 2014-12-15  Jason Merrill  <jason@redhat.com>
11489
11490         * Makefile.in (check-gdb.%): Restore.
11491         * README: Mention it.
11492
11493 2014-12-13  Joel Brobecker  <brobecker@adacore.com>
11494
11495         * gdb.ada/str_uninit: New testcase.
11496
11497 2014-12-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
11498
11499         PR symtab/17642
11500         * gdb.base/vla-stub-define.c: New file.
11501         * gdb.base/vla-stub.c: New file.
11502         * gdb.base/vla-stub.exp: New file.
11503
11504 2014-12-12  Phil Muldoon  <pmuldoon@redhat.com>
11505             Jan Kratochvil  <jan.kratochvil@redhat.com>
11506             Tom Tromey  <tromey@redhat.com>
11507
11508         * configure.ac: Add gdb.compile/.
11509         * configure: Regenerate.
11510         * gdb.compile/Makefile.in: New file.
11511         * gdb.compile/compile-ops.exp: New file.
11512         * gdb.compile/compile-ops.c: New file.
11513         * gdb.compile/compile-tls.c: New file.
11514         * gdb.compile/compile-tls.exp: New file.
11515         * gdb.compile/compile-constvar.S: New file.
11516         * gdb.compile/compile-constvar.c: New file.
11517         * gdb.compile/compile-mod.c: New file.
11518         * gdb.compile/compile-nodebug.c: New file.
11519         * gdb.compile/compile-setjmp-mod.c: New file.
11520         * gdb.compile/compile-setjmp.c: New file.
11521         * gdb.compile/compile-setjmp.exp: New file.
11522         * gdb.compile/compile-shlib.c: New file.
11523         * gdb.compile/compile.c: New file.
11524         * gdb.compile/compile.exp: New file.
11525         * lib/gdb.exp (skip_compile_feature_tests): New proc.
11526
11527 2014-12-12  Tom Tromey  <tromey@redhat.com>
11528
11529         * lib/dwarf.exp (_location): Ignore blank lines.  Allow comments.
11530         Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11531
11532 2014-12-12  Doug Evans  <dje@google.com>
11533
11534         * lib/gdb-python.exp (get_python_valueof): New function.
11535         * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11536
11537 2014-12-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11538
11539         * gdb.base/completion.exp: Add test for completion of "info
11540         registers ".
11541
11542 2014-12-12  Maciej W. Rozycki  <macro@codesourcery.com>
11543
11544         * gdb.base/func-ptrs.c: New file.
11545         * gdb.base/func-ptrs.exp: New file.
11546
11547 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11548
11549         PR breakpoints/17012
11550         * gdb.base/dprintf-detach.c: New file.
11551         * gdb.base/dprintf-detach.exp: New file.
11552
11553 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11554
11555         * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11556         * lib/gdb.exp (target_is_gdbserver): New procedure.
11557
11558 2014-12-08  Doug Evans  <dje@google.com>
11559
11560         * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11561
11562 2014-12-05  Yao Qi  <yao@codesourcery.com>
11563
11564         * gdb.guile/scm-error.exp: Remove the third argument to
11565         gdb_remote_download.
11566         * gdb.guile/scm-frame-args.exp: Likewise.
11567         * gdb.guile/scm-section-script.exp: Likewise.
11568
11569 2014-12-05  Yao Qi  <yao@codesourcery.com>
11570
11571         * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11572
11573 2014-12-04  Doug Evans  <dje@google.com>
11574
11575         * gdb.python/py-objfile.exp: Add tests for
11576         objfile.add_separate_debug_file.
11577
11578 2014-12-04  Doug Evans  <dje@google.com>
11579
11580         * lib/gdb.exp (get_build_id): New function.
11581         (build_id_debug_filename_get): Rewrite to use it.
11582         * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11583
11584 2014-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
11585
11586         * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11587         `method(long)', not just 0x0.
11588         * gdb.cp/nsalias.exp: Align code labels to 4.
11589         * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11590         * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11591         * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11592         * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11593         (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11594         * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11595
11596 2014-12-02  Doug Evans  <dje@google.com>
11597
11598         PR symtab/17602
11599         * gdb.cp/anon-ns.cc: Move guts of this file to ...
11600         * gdb.cp/anon-ns2.cc: ... here.  New file.
11601         * gdb.cp/anon-ns.exp: Update.
11602
11603 2014-12-02  Nick Bull  <nicholaspbull@gmail.com>
11604
11605         * gdb.python/py-events.py (inferior_call_handler): New.
11606         (register_changed_handler, memory_changed_handler): New.
11607         (test_events.invoke): Register new handlers.
11608         * gdb.python/py-events.exp: Add tests for inferior call,
11609         memory_changed and register_changed events.
11610
11611 2014-12-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11612
11613         * gdb.base/execl-update-breakpoints.exp: Specify the link address
11614         with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
11615         if the linker doesn't understand this.
11616
11617 2014-12-01  Simon Marchi  <simon.marchi@ericsson.com>
11618
11619         * gdb.python/python.exp: Change expected reply to help().
11620
11621 2014-12-01  Yao Qi  <yao@codesourcery.com>
11622
11623         * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
11624         AC_CONFIG_SUBDIRS(gdb.gdbtk).
11625         * configure: Re-generated.
11626
11627 2014-11-28  Siva Chandra Reddy  <sivachandra@google.com>
11628
11629         * gdb.cp/chained-calls.cc: New file.
11630         * gdb.cp/chained-calls.exp: New file.
11631         * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11632
11633 2014-11-28  Simon Marchi  <simon.marchi@ericsson.com>
11634
11635         * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11636         * gdb.dwarf2/symtab-producer.exp: Same.
11637         * gdb.gdb/python-interrupts.exp: Same.
11638         * gdb.gdb/python-selftest.exp: Same.
11639         * gdb.python/py-linetable.exp: Same.
11640         * gdb.python/py-type.exp: Same.
11641         * gdb.python/py-value-cc.exp: Same.
11642         * gdb.python/py-value.exp: Same.
11643
11644 2014-11-28  Yao Qi  <yao@codesourcery.com>
11645
11646         * gdb.base/break-probes.exp: Match library name prefixed with
11647         sysroot.
11648
11649 2014-11-27  Simon Marchi  <simon.marchi@ericsson.com>
11650
11651         * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11652         test expected output.  Add parentheses for the call to print.
11653         Remove L suffix from integers.
11654
11655 2014-11-26  Doug Evans  <dje@google.com>
11656
11657         * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11658
11659 2014-11-22  Yao Qi  <yao@codesourcery.com>
11660
11661         * gdb.trace/entry-values.c: Remove asms.
11662         (foo): Add foo_label.
11663         (bar): Add bar_label.
11664         * gdb.trace/entry-values.exp: Remove code computing  foo's
11665         length and bar's length.
11666         (Dwarf::assemble): Invoke function_range for bar and use
11667         MACRO_AT_func for foo.
11668
11669 2014-11-22  Yao Qi  <yao@codesourcery.com>
11670
11671         * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11672         and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
11673         Use .Lgcc43_procstart instead of gcc43.
11674
11675 2014-11-21  Joel Brobecker  <brobecker@adacore.com>
11676
11677         * gdb.ada/n_arr_bound: New testcase.
11678
11679 2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
11680
11681         PR breakpoints/10737
11682         * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11683         test_catch_syscall_multi_arch.
11684         (test_catch_syscall_multi_arch): New function.
11685
11686 2014-11-20  Doug Evans  <xdje42@gmail.com>
11687
11688         * gdb.base/maint.exp: Update expected output.
11689
11690 2014-11-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11691
11692         * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11693         4-byte instruction on S390.
11694
11695 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
11696
11697         * gdb.ada/arr_arr: New testcase.
11698
11699 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
11700
11701         * gdb.ada/pkd_arr_elem: New Testcase.
11702
11703 2014-11-18  Luis Machado  <lgustavo@codesourcery.com>
11704
11705         * gdb.reverse/break-precsave: Expect completion message for
11706         core file reads.
11707         * gdb.reverse/consecutive-precsave.exp: Likewise.
11708         * gdb.reverse/finish-precsave.exp: Likewise.
11709         * gdb.reverse/i386-precsave.exp: Likewise.
11710         * gdb.reverse/machinestate-precsave.exp: Likewise.
11711         * gdb.reverse/sigall-precsave.exp: Likewise.
11712         * gdb.reverse/solib-precsave.exp: Likewise.
11713         * gdb.reverse/step-precsave.exp: Likewise.
11714         * gdb.reverse/until-precsave.exp: Likewise.
11715         * gdb.reverse/watch-precsave.exp: Likewise.
11716
11717 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11718
11719         * gdb.base/bp-permanent.c: Include unistd.h.
11720         * gdb.python/py-framefilter-mi.c (main): Add return type.
11721         * gdb.python/py-framefilter.c (main): Likewise.
11722         * gdb.trace/actions-changed.c (main): Likewise.
11723
11724 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11725
11726         * gdb.mi/until.c: Add eye-catchers.
11727         * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11728         line numbers.
11729
11730 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11731
11732         * gdb.base/condbreak.exp: Drop references to removed non-prototype
11733         function header variants in break1.c.
11734         * gdb.base/ena-dis-br.exp: Likewise.
11735         * gdb.base/hbreak2.exp: Likewise.
11736         * gdb.reverse/until-precsave.exp: Drop references to removed
11737         non-prototype function header variants in ur1.c.
11738         * gdb.reverse/until-reverse.exp: Likewise.
11739
11740 2014-11-17  Petr Machata  <pmachata@redhat.com>
11741
11742         * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
11743         ${_cu_offset_size} bytes abbrev offset.
11744
11745 2014-11-15  Doug Evans  <xdje42@gmail.com>
11746
11747         PR symtab/17559
11748         * gdb.base/line-symtabs.exp: New file.
11749         * gdb.base/line-symtabs.c: New file.
11750         * gdb.base/line-symtabs.h: New file.
11751
11752 2014-11-14  Yao Qi  <yao@codesourcery.com>
11753
11754         * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11755         (func): Add label func_label.
11756         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11757         Replace low_pc and high_pc with MACRO_AT_range.
11758         Replace name, low_pc and high_pc with MACRO_AT_func.
11759
11760 2014-11-14  Yao Qi  <yao@codesourcery.com>
11761
11762         * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
11763         Replace name, low_pc and high_pc with MACRO_AT_func.
11764
11765 2014-11-14  Yao Qi  <yao@codesourcery.com>
11766
11767         * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
11768         produce debug information.
11769         * gdb.dwarf2/implptr-optimized-out.S: Removed.
11770
11771 2014-11-14  Yao Qi  <yao@codesourcery.com>
11772
11773         * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11774         object and get function length.
11775         (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11776         with MACRO_AT_func.
11777         (top-level): Replace gdb_compile and clean_restart with
11778         prepare_for_testing.
11779         * gdb.dwarf2/main.c (main): Add label main_label.
11780
11781 2014-11-14  Yao Qi  <yao@codesourcery.com>
11782
11783         * lib/dwarf.exp (function_range): New procedure.
11784         (Dwarf::_handle_macro_at_func): New procedure.
11785         (Dwarf::_handle_macro_at_range): New procedure.
11786         (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11787
11788 2014-11-14  Yao Qi  <yao@codesourcery.com>
11789
11790         * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11791         (_handle_attribute): New procedure.
11792
11793 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11794
11795         * gdb.ada/cond_lang/foo.c (callme): Add return type.
11796         * gdb.base/call-sc.c (zed): Likewise.
11797         * gdb.base/checkpoint.c (main): Likewise.
11798         * gdb.base/dump.c (main): Likewise.
11799         * gdb.base/gcore.c (main): Likewise.
11800         * gdb.base/huge.c (main): Likewise.
11801         * gdb.base/multi-forks.c (main): Likewise.
11802         * gdb.base/pr10179-a.c (main): Likewise.
11803         * gdb.base/savedregs.c (main): Likewise.
11804         * gdb.base/sigaltstack.c (main): Likewise.
11805         * gdb.base/siginfo.c (main): Likewise.
11806         * gdb.base/structs.c (zed): Likewise.
11807         * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11808         * gdb.mi/mi-syn-frame.c (main): Likewise.
11809         * gdb.mi/until.c (foo, main): Likewise.
11810         * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11811         * gdb.base/solib-weak.c (foo): Declare.
11812         * gdb.base/attach-twice.c: Include stdio.h.
11813         * gdb.base/weaklib1.c: Likewise.
11814         * gdb.base/weaklib2.c: Likewise.
11815         * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11816         * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11817         unistd.h.
11818         * gdb.base/attach-pie-misread.c: Include stdlib.h.
11819         * gdb.mi/mi-exit-code.c: Likewise.
11820         * gdb.base/break-interp-lib.c: Include string.h.
11821         * gdb.base/coremaker.c: Likewise.
11822         * gdb.base/testenv.c: Likewise.
11823         * gdb.python/py-finish-breakpoint.c: Likewise.
11824         * gdb.base/inferior-died.c: Include sys/wait.h.
11825         * gdb.base/fileio.c: Include time.h.
11826         * gdb.base/async-shell.c: Include unistd.h.
11827         * gdb.base/dprintf-non-stop.c: Likewise.
11828         * gdb.base/info-os.c: Likewise.
11829         * gdb.mi/mi-console.c: Likewise.
11830         * gdb.mi/watch-nonstop.c: Likewise.
11831         * gdb.python/py-events.c: Likewise.
11832         * gdb.base/async.c (baz): Move up before its invocation.
11833         * gdb.base/code_elim2.c (my_global_func): Likewise.
11834         * gdb.base/skip-solib-lib.c (multiply): Likewise.
11835         * gdb.base/advance.c (func2): Likewise.
11836
11837 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11838
11839         * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11840         variant.
11841         * gdb.base/annota3.c: Likewise.
11842         * gdb.base/async.c: Likewise.
11843         * gdb.base/average.c: Likewise.
11844         * gdb.base/call-ar-st.c: Likewise.
11845         * gdb.base/call-rt-st.c: Likewise.
11846         * gdb.base/call-sc.c: Likewise.
11847         * gdb.base/call-strs.c: Likewise.
11848         * gdb.base/ending-run.c: Likewise.
11849         * gdb.base/execd-prog.c: Likewise.
11850         * gdb.base/exprs.c: Likewise.
11851         * gdb.base/foll-exec.c: Likewise.
11852         * gdb.base/foll-fork.c: Likewise.
11853         * gdb.base/foll-vfork.c: Likewise.
11854         * gdb.base/funcargs.c: Likewise.
11855         * gdb.base/gcore.c: Likewise.
11856         * gdb.base/jump.c: Likewise.
11857         * gdb.base/langs0.c: Likewise.
11858         * gdb.base/langs1.c: Likewise.
11859         * gdb.base/langs2.c: Likewise.
11860         * gdb.base/mips_pro.c: Likewise.
11861         * gdb.base/nodebug.c: Likewise.
11862         * gdb.base/opaque0.c: Likewise.
11863         * gdb.base/opaque1.c: Likewise.
11864         * gdb.base/recurse.c: Likewise.
11865         * gdb.base/run.c: Likewise.
11866         * gdb.base/scope0.c: Likewise.
11867         * gdb.base/scope1.c: Likewise.
11868         * gdb.base/setshow.c: Likewise.
11869         * gdb.base/setvar.c: Likewise.
11870         * gdb.base/shmain.c: Likewise.
11871         * gdb.base/shr1.c: Likewise.
11872         * gdb.base/shr2.c: Likewise.
11873         * gdb.base/sigall.c: Likewise.
11874         * gdb.base/signals.c: Likewise.
11875         * gdb.base/so-indr-cl.c: Likewise.
11876         * gdb.base/solib2.c: Likewise.
11877         * gdb.base/structs.c: Likewise.
11878         * gdb.base/sum.c: Likewise.
11879         * gdb.base/vforked-prog.c: Likewise.
11880         * gdb.base/watchpoint.c: Likewise.
11881         * gdb.reverse/shr2.c: Likewise.
11882         * gdb.reverse/until-reverse.c: Likewise.
11883         * gdb.reverse/ur1.c: Likewise.
11884         * gdb.reverse/watch-reverse.c: Likewise.
11885
11886 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11887
11888         * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
11889         variant.
11890         * gdb.base/sepdebug.exp: Drop references to removed code.
11891
11892 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11893
11894         * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
11895         variant.  Preserve original line numbering.
11896         * gdb.base/list1.c: Likewise.
11897
11898 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11899
11900         * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11901         variant.
11902         * gdb.base/break1.c: Likewise.
11903         * gdb.base/break.exp: Drop references to removed code.
11904
11905 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11906
11907         * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
11908         variant.
11909
11910 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11911
11912         * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
11913
11914 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11915
11916         * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
11917         logic into perform_all_tests() and invoke it with and without
11918         function header prototypes.
11919         (do_function_calls): Remove conditional XFAIL for PR 5318.
11920         (rerun_and_prepare): Remove duplicate code.
11921         (perform_all_tests): New.  Main logic moved here.
11922
11923 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11924
11925         * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
11926         code guarded by #ifdef NO_PROTOTYPES.
11927         (t_double_many_args): Likewise.
11928         (DEF_FUNC_MANY_ARGS_1): Likewise.
11929         (DEF_FUNC_VALUES_1): Likewise.
11930         (t_structs_ldc): Renamed from t_structs_fc in conditional code
11931         guarded by #ifdef PROTOTYPES.
11932
11933 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11934
11935         * gdb.mi/mi-console.c: Add eye-catcher.
11936         * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
11937         instead of literal line number.
11938
11939 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11940
11941         * gdb.base/shr2.c: Add eye-catcher.
11942         * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
11943         line number.
11944
11945 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11946
11947         * gdb.base/jump.c: Add eye-catchers.
11948         * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
11949         numbers.
11950
11951 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11952
11953         * gdb.base/execd-prog.c: Add eye-catchers.
11954         * gdb.base/foll-exec.c: Likewise.
11955         * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
11956         line numbers.
11957
11958 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11959
11960         * gdb.base/ending-run.c: Add eye-catchers.
11961         * gdb.base/ending-run.exp: Refer to eye-catchers instead of
11962         literal line numbers.
11963
11964 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11965
11966         * gdb.base/call-rt-st.c: Add eye-catchers.
11967         * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
11968         literal line numbers.
11969
11970 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11971
11972         * gdb.base/call-ar-st.c: Add eye-catchers.
11973         * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
11974         literal line numbers.
11975
11976 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11977
11978         * gdb.base/average.c: Add eye-catchers.
11979         * gdb.base/sum.c: Likewise.
11980         * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
11981         regexps dynamically.
11982
11983 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11984
11985         * gdb.base/solib1.c: Add eye-catchers.
11986         * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
11987         literal line numbers.
11988
11989 2014-11-12  Pedro Alves  <palves@redhat.com>
11990
11991         * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
11992         leader has exited.
11993
11994 2014-11-12  Pedro Alves  <palves@redhat.com>
11995
11996         * gdb.arch/i386-bp_permanent.c: New file.
11997         * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
11998         (srcfile): Set to i386-bp_permanent.c.
11999         (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
12000         that stepi does not execute the 'leave' instruction, instead of
12001         testing it does execute.
12002         * gdb.base/bp-permanent.c: New file.
12003         * gdb.base/bp-permanent.exp: New file.
12004
12005 2014-11-10  Doug Evans  <xdje42@gmail.com>
12006
12007         PR symtab/17564
12008         * gdb.base/symtab-search-order.exp: New file.
12009         * gdb.base/symtab-search-order.c: New file.
12010         * gdb.base/symtab-search-order-1.c: New file.
12011         * gdb.base/symtab-search-order-shlib-1.c: New file.
12012
12013 2014-11-07  Pedro Alves  <palves@redhat.com>
12014
12015         PR gdb/17511
12016         * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
12017         i?86-*-linux*.
12018
12019 2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
12020
12021         PR c++/17494
12022         * gdb.cp/pr17494.cc: New file.
12023         * gdb.cp/pr17494.exp: New file.
12024
12025 2014-11-02  Yao Qi  <yao@codesourcery.com>
12026
12027         * gdb.python/python.exp: Get working directory and match the
12028         output of "set extended-prompt \\w " with it.
12029
12030 2014-10-30  Doug Evans  <dje@google.com>
12031
12032         * gdb.python/py-objfile.exp: Add tests for setting random attributes
12033         in objfiles.
12034         * gdb.python/py-progspace.exp: Add tests for setting random attributes
12035         in progspaces.
12036
12037 2014-10-30  Janis Johnson  <janisjo@codesourcery.com>
12038
12039         * gdb.base/fullpath-expand.exp: Skip for a remote host.
12040         * gdb.base/realname-expand.exp: Likewise.
12041         * gdb.linespec/macro-relative.exp: Likewise.
12042
12043 2014-10-29  Pedro Alves  <palves@redhat.com>
12044
12045         PR gdb/17408
12046         * gdb.threads/schedlock.c (some_function): New function.
12047         (call_function): New global.
12048         (MAYBE_CALL_SOME_FUNCTION): New macro.
12049         (thread_function): Call it.
12050         * gdb.threads/schedlock.exp (get_args): Add description parameter,
12051         and use it instead of a global counter.  Adjust all callers.
12052         (get_current_thread): Use "find current thread" for test message
12053         here rather than having all callers pass down the same string.
12054         (goto_loop): New procedure, factored out from ...
12055         (my_continue): ... this.
12056         (step_ten_loops): Change parameter from test message to command to
12057         use.  Adjust.
12058         (list_count): Delete global.
12059         (check_result): New procedure, factored out from duplicate top
12060         level code.
12061         (continue tests): Wrap in with_test_prefix.
12062         (test_step): New procedure, factored out from duplicate top level
12063         code.
12064         (top level): Test "step" in combination with all scheduler-locking
12065         modes.  Test "next" in combination with all scheduler-locking
12066         modes, and in combination with stepping over a function call or
12067         not.
12068         * gdb.threads/next-bp-other-thread.c: New file.
12069         * gdb.threads/next-bp-other-thread.exp: New file.
12070
12071 2014-10-29  Pedro Alves  <palves@redhat.com>
12072
12073         PR python/17372
12074         * gdb.python/python.exp: Test a multi-line command that spawns
12075         interactive Python.
12076         * gdb.base/multi-line-starts-subshell.exp: New file.
12077
12078 2014-10-29  Yao Qi  <yao@codesourcery.com>
12079
12080         * gdb.base/fileio.exp: Make directories on host.
12081
12082 2014-10-29  Yao Qi  <yao@codesourcery.com>
12083
12084         * gdb.base/fileio.c (test_write): Close the file.
12085
12086 2014-10-28  Pedro Alves  <palves@redhat.com>
12087
12088         PR gdb/12623
12089         * gdb.base/sigstep.c (no_handler): New global.
12090         (main): If 'no_handler is true, set the signal handlers to
12091         SIG_IGN.
12092         * gdb.base/sigstep.exp (breakpoint_over_handler): Add
12093         with_sw_watch and no_handler parameters.  Handle them.
12094         (top level) <stepping over handler when stopped at a breakpoint
12095         test>: Add a test axis for testing with a software watchpoint, and
12096         another for testing with the signal handler set to SIG_IGN.
12097         * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
12098         * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
12099
12100 2014-10-28  Pedro Alves  <palves@redhat.com>
12101
12102         PR gdb/17511
12103         * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
12104         * gdb.base/sigstep.exp (other_handler_location): New global.
12105         (advance): Support stepping into the signal handler, and running
12106         commands while in the handler.
12107         (in_handler_map): New global.
12108         (top level): In the advance test, add combinations for getting
12109         into the handler with stepping commands, and for running commands
12110         in the handler.  Add comment descripting the advancei tests.
12111
12112 2014-10-28  Pedro Alves  <palves@redhat.com>
12113
12114         * gdb.base/sigstep.exp: Use build_executable instead of
12115         prepare_for_testing.
12116         (top level): Move code that starts GDB, runs to main and creates a
12117         display to ...
12118         (restart): ... this new procedure.
12119         (top level): Move backtrace from signal handler test to ...
12120         (validate_backtrace): ... this new procedure.
12121         (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
12122         with_test_prefix.  Always restart GDB.
12123         (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
12124         with_test_prefix.  Always restart GDB.  No need to delete
12125         breakpoints after the test.
12126         (test_skip_handler): Remove prefix parameter.
12127         (skip_over_handler, breakpoint_to_handler)
12128         (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
12129         parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
12130         restart GDB.  No need to delete breakpoints after the test.
12131         (top level): Use foreach to call the test procedures with
12132         different commands.
12133
12134 2014-10-28  Pedro Alves  <palves@redhat.com>
12135
12136         * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
12137         instead of GNATS numbers.
12138         * gdb.base/sigbpt.exp: Likewise.
12139         * gdb.base/siginfo.exp: Likewise.
12140         * gdb.base/sigstep.exp: Likewise.
12141
12142 2014-10-27  Pedro Alves  <palves@redhat.com>
12143
12144         * gdb.base/sigstep.c (dummy): New global.
12145         (main): Issue a couple writes to the new global.
12146         * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
12147         procedures.
12148         (skip_over_handler): Use test_skip_handler.
12149         (top level): Call skip_over_handler for stepi and nexti too.
12150         (breakpoint_over_handler): Use test_skip_handler.
12151         (top level): Call breakpoint_over_handler for stepi and nexti too.
12152
12153 2014-10-27  Yao Qi  <yao@codesourcery.com>
12154
12155         * gdb.trace/tfile.c (adjust_function_address)
12156         [__powerpc64__ && _CALL_ELF != 2]: Get function address from
12157         function descriptor.
12158
12159 2014-10-24  Don Breazeal  <donb@codesourcery.com>
12160
12161         * gdb.base/foll-fork.exp (test_follow_fork,
12162         catch_fork_child_follow): Check for updated fork messages emitted
12163         from infrun.c.
12164         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
12165         vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
12166         vfork_and_exec_child_follow_through_step): Check for updated vfork
12167         messages emitted from infrun.c.
12168
12169 2014-10-24  Pedro Alves  <palves@redhat.com>
12170
12171         * gdb.base/corefile.exp: Remove references to ultrix.
12172         * gdb.base/interrupt.exp: Likewise.
12173         * gdb.base/whatis.exp: Likewise.
12174         * gdb.gdb/selftest.exp: Likewise.
12175         * gdb.threads/manythreads.exp: Likewise.
12176         * gdb.threads/print-threads.exp: Likewise.
12177         * gdb.threads/pthreads.exp:: Likewise.
12178         * gdb.threads/schedlock.exp: Likewise.
12179
12180 2014-10-24  Siva Chandra Reddy  <sivachandra@google.com>
12181
12182         * gdb.cp/non-trivial-retval.cc: Add a test case.
12183         * gdb.cp/non-trivial-retval.exp: Add a test.
12184
12185 2014-10-20  Yao Qi  <yao@codesourcery.com>
12186
12187         * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
12188         * gdb.python/py-objfile-script-gdb.py: New file.
12189         * gdb.python/py-objfile-script.exp: Update reference to
12190         py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
12191         of remote_download.  Remove the dest file.
12192
12193 2014-10-20  Yao Qi  <yao@codesourcery.com>
12194
12195         * gdb.base/checkpoint.exp: Don't remove file copied on host.
12196         * gdb.base/step-line.exp: Likewise.
12197         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12198         * gdb.dwarf2/dw2-basic.exp: Likewise.
12199         * gdb.dwarf2/dw2-compressed.exp: Likewise.
12200         * gdb.dwarf2/dw2-filename.exp: Likewise.
12201         * gdb.dwarf2/dw2-intercu.exp: Likewise.
12202         * gdb.dwarf2/dw2-intermix.exp: Likewise.
12203         * gdb.dwarf2/dw2-producer.exp: Likewise.
12204         * gdb.dwarf2/mac-fileno.exp: Likewise.
12205         * gdb.python/py-frame-args.exp: Likewise.
12206         * gdb.python/py-framefilter.exp: Likewise.
12207         * gdb.python/py-mi.exp: Likewise.
12208         * gdb.python/py-objfile-script.exp: Likewise
12209         * gdb.python/py-pp-integral.exp: Likewise.
12210         * gdb.python/py-pp-re-notag.exp: Likewise.
12211         * gdb.python/py-prettyprint.exp: Likewise.
12212         * gdb.python/py-section-script.exp: Likewise.
12213         * gdb.python/py-typeprint.exp: Likewise.
12214         * gdb.python/py-xmethods.exp: Likewise.
12215         * gdb.stabs/weird.exp: Likewise.
12216         * gdb.xml/tdesc-regs.exp: Likewise.
12217
12218 2014-10-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
12219
12220         * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
12221         (out_cu): Use addr_len for the size of addresses.
12222         (out_line): Likewise.  Size DW_LNE_set_address instruction
12223         according to addr_len.
12224         * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
12225         (FUNC): Add START_INSNS to definition.
12226
12227 2014-10-18  Yao Qi  <yao@codesourcery.com>
12228
12229         * gdb.base/argv0-symlink.exp: Check argv[0] value if
12230         gdb_has_argv0 return true.
12231         * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
12232         check [target_info exists noargs], check [gdb_has_argv0]
12233         instead.
12234         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12235         * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
12236         procedures.
12237
12238 2014-10-17  Doug Evans  <dje@google.com>
12239
12240         * gdb.python/py-events.exp: Update expected output for clear_objfiles
12241         event.
12242         * gdb.python/py-events.py: Add clear_objfiles event.
12243
12244 2014-10-17  Doug Evans  <dje@google.com>
12245
12246         * gdb.python/py-objfile.exp: Test progspace attribute.
12247
12248 2014-10-17  Luis Machado  <lgustavo@codesourcery.com>
12249
12250         * gdb.guile/scm-breakpoint.exp: Do not assume any
12251         directory separators when matching source file paths.
12252         * gdb.python/py-breakpoint.exp: Likewise.
12253         * gdb.reverse/break-precsave.exp: Likewise.
12254         * gdb.reverse/break-reverse.exp: Likewise.
12255         * gdb.reverse/consecutive-precsave.exp: Likewise.
12256         * gdb.reverse/finish-precsave.exp: Likewise.
12257         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
12258         * gdb.reverse/finish-reverse.exp: Likewise.
12259         * gdb.reverse/i386-precsave.exp: Likewise.
12260         * gdb.reverse/i387-env-reverse.exp: Likewise.
12261         * gdb.reverse/i387-stack-reverse.exp: Likewise.
12262         * gdb.reverse/machinestate-precsave.exp: Likewise.
12263         * gdb.reverse/machinestate.exp: Likewise.
12264         * gdb.reverse/sigall-precsave.exp: Likewise.
12265         * gdb.reverse/solib-precsave.exp: Likewise.
12266         * gdb.reverse/step-precsave.exp: Likewise.
12267         * gdb.reverse/until-precsave.exp: Likewise.
12268         * gdb.reverse/watch-precsave.exp: Likewise.
12269         * gdb.reverse/watch-reverse.exp: Likewise.
12270
12271 2014-10-17  Yao Qi  <yao@codesourcery.com>
12272
12273         * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
12274         * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
12275
12276 2014-10-17  Pedro Alves  <palves@redhat.com>
12277
12278         PR gdb/17471
12279         * gdb.base/bg-execution-repeat.c: New file.
12280         * gdb.base/bg-execution-repeat.exp: New file.
12281
12282 2014-10-17  Pedro Alves  <palves@redhat.com>
12283
12284         PR gdb/17300
12285         * gdb.base/continue-all-already-running.c: New file.
12286         * gdb.base/continue-all-already-running.exp: New file.
12287
12288 2014-10-17  Pedro Alves  <palves@redhat.com>
12289
12290         PR gdb/17472
12291         * gdb.base/annota-input-while-running.c: New file.
12292         * gdb.base/annota-input-while-running.exp: New file.
12293
12294 2014-10-17  Pedro Alves  <palves@redhat.com>
12295
12296         * gdb.base/callfuncs.exp: emove references to osf.
12297         * gdb.base/sigall.exp: Likewise.
12298         * gdb.gdb/selftest.exp: Likewise.
12299         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12300         * gdb.mi/non-stop.c: Likewise.
12301         * gdb.mi/pthreads.c: Likewise.
12302         * gdb.reverse/sigall-precsave.exp: Likewise.
12303         * gdb.reverse/sigall-reverse.exp: Likewise.
12304         * gdb.threads/pthreads.c: Likewise.
12305         * gdb.threads/pthreads.exp: Likewise.
12306
12307 2014-10-17  Yao Qi  <yao@codesourcery.com>
12308
12309         * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
12310         check 'target_info exists noargs'.
12311         (test_command_prompt_position): Likewise.
12312         (progvar_simple_if_test): Don't check 'target_info exists noargs'.
12313         Remove "set args".
12314         (progvar_simple_while_test): Likewise.
12315         (progvar_complex_if_while_test): Likewise.
12316         (if_while_breakpoint_command_test): Likewise.
12317         (infrun_breakpoint_command_test): Likewise.
12318         (breakpoint_command_test): Likewise.
12319         (watchpoint_command_test): Likewise.
12320         (bp_deleted_in_command_test): Likewise.
12321         (temporary_breakpoint_commands): Likewise.
12322
12323 2014-10-16  Yao Qi  <yao@codesourcery.com>
12324
12325         * gdb.base/remotetimeout.exp: Remove noargs checking.
12326
12327 2014-10-15  Pedro Alves  <palves@redhat.com>
12328
12329         PR breakpoints/9649
12330         * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
12331         * gdb.base/breakpoint-in-ro-region.exp
12332         (probe_target_hardware_step): New procedure.
12333         (top level): Probe hardware stepping and hardware breakpoint
12334         support.  Test stepping through a read-only region, with both
12335         "breakpoint auto-hw" on and off and both "always-inserted" on and
12336         off.
12337
12338 2014-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
12339
12340         * gdb.dlang/demangle.exp: Update for demangling changes.
12341
12342 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12343
12344         * gdb.cp/non-trivial-retval.cc: Add new test cases.
12345         * gdb.cp/non-trivial-retval.exp: Add new tests.
12346
12347 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12348
12349         PR c++/13403
12350         PR c++/15154
12351         * gdb.cp/non-trivial-retval.cc: New file.
12352         * gdb.cp/non-trivial-retval.exp: New file.
12353
12354 2014-10-15  Yao Qi  <yao@codesourcery.com>
12355
12356         * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12357         remote host.
12358
12359 2014-10-15  Yao Qi  <yao@codesourcery.com>
12360
12361         * gdb.python/py-symbol.exp: Match file base name if host is
12362         remote, otherwise match file name with dir name.
12363         * gdb.python/py-symtab.exp: Likewise.
12364         * gdb.python/python.exp: Likewise.
12365
12366 2014-10-15  Yao Qi  <yao@codesourcery.com>
12367
12368         * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12369         pattern.
12370         * gdb.python/py-symtab.exp: Likewise.
12371         * gdb.python/python.exp: Remove trailing ".*".  Fix typo
12372         locationn.
12373
12374 2014-10-14  Joel Brobecker  <brobecker@adacore.com>
12375
12376         * gdb.ada/addr_arith: New testcase.
12377
12378 2014-10-14  Maciej W. Rozycki  <macro@codesourcery.com>
12379
12380         * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12381         * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12382         * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12383         * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12384
12385 2014-10-14  Sergio Durigan Junior  <sergiodj@redhat.com>
12386
12387         * gdb.arch/stap-eval-lang-ada.S: Likewise.
12388         * gdb.arch/stap-eval-lang-ada.c: Likewise.
12389         * gdb.arch/stap-eval-lang-ada.exp: New file.
12390
12391 2014-10-14  Yao Qi  <yao@codesourcery.com>
12392
12393         * gdb.mi/mi-var-child.c (nothing1): New function.
12394         (nothing2): New function.
12395         (do_children_tests): Set function pointers by nothing1 and
12396         nothing2.
12397         * gdb.mi/mi-var-child.exp: Step over new added statements.
12398         Update test to match the new output.
12399         * gdb.mi/var-cmd.c (nothing1): New function.
12400         (nothing2): New function.
12401         (do_children_tests): Set function pointers by  nothing1 and
12402         nothing2.
12403         * gdb.mi/mi-var-display.exp: Update test to match output.
12404         Step to the line specified by $line_dct_nothing.
12405         Increase the number of lines to step.
12406
12407 2014-10-14  Yao Qi  <yao@codesourcery.com>
12408
12409         * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12410         tests.
12411         * gdb.mi/mi2-var-child.exp: Likewise.
12412
12413 2014-10-13  Doug Evans  <dje@google.com>
12414
12415         * gdb.python/py-objfile.exp: Change name of file name test.
12416
12417 2014-10-13  Doug Evans  <dje@google.com>
12418
12419         * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12420         from the start of the CU.
12421
12422 2014-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
12423             Yao Qi  <yao@codesourcery.com>
12424
12425         Fix "save breakpoints" for "catch" command.
12426         * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
12427         Remove -nonewline.  Match also the added "main" line.
12428
12429 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12430
12431         Fix "save breakpoints" for "disable $bpnum" command.
12432         * gdb.base/save-bp.c (main): Add label.
12433         * gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
12434
12435 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12436
12437         * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12438
12439 2014-10-11  Yao Qi  <yao@codesourcery.com>
12440
12441         * gdb.server/server-kill.exp: Execute command
12442         "set remote trace-status-packet on" before "tstatus".
12443
12444 2014-10-11  Yao Qi  <yao@codesourcery.com>
12445
12446         * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12447         (main): Call getppid.
12448         * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12449         and continue to it.  Read variable "server_pid".
12450
12451 2014-10-11  Yao Qi  <yao@codesourcery.com>
12452
12453         * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12454
12455 2014-10-11  Yao Qi  <yao@codesourcery.com>
12456
12457         * gdb.threads/thread-find.exp: Don't execute command
12458         "info threads".
12459         * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12460         * gdb.threads/linux-dp.exp: Don't check the condition
12461         $threads_created equals to zero.
12462
12463 2014-10-10  Pedro Alves  <palves@redhat.com>
12464
12465         * gdb.base/bigcore.exp: Remove references to IRIX.
12466         * gdb.base/funcargs.exp: Likewise.
12467         * gdb.base/interrupt.exp: Likewise.
12468         * gdb.base/mips_pro.exp: Likewise.
12469         * gdb.base/nodebug.exp: Likewise.
12470         * gdb.base/setvar.exp: Likewise.
12471         * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12472
12473 2014-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
12474             Pedro Alves  <palves@redhat.com>
12475
12476         PR symtab/14466
12477         * gdb.base/vdso-warning.c: New file.
12478         * gdb.base/vdso-warning.exp: New file.
12479
12480 2014-10-02  Doug Evans  <dje@google.com>
12481
12482         * gdb.base/structs.c (main): Don't run forever.
12483
12484 2014-10-02  Pedro Alves  <palves@redhat.com>
12485
12486         * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12487         (top level) <stop threads 1, stop threads 2>: Use it.
12488
12489 2014-10-02  Pedro Alves  <palves@redhat.com>
12490
12491         * gdb.threads/break-while-running.exp (test): Add new
12492         'update_thread_list' argument.  Skip "info threads" if false.
12493         (top level): Add new 'update_thread_list' axis.
12494
12495 2014-10-02  Pedro Alves  <palves@redhat.com>
12496
12497         PR breakpoints/17431
12498         * gdb.base/execl-update-breakpoints.c: New file.
12499         * gdb.base/execl-update-breakpoints.exp: New file.
12500
12501 2014-10-01  Pedro Alves  <palves@redhat.com>
12502
12503         * gdb.base/breakpoint-in-ro-region.c: New file.
12504         * gdb.base/breakpoint-in-ro-region.exp: New file.
12505
12506 2014-10-01  Simon Marchi  <simon.marchi@ericsson.com>
12507
12508         * gdb.mi/mi-exit-code.exp: New file.
12509         * gdb.mi/mi-exit-code.c: New file.
12510
12511 2014-09-30  Yao Qi  <yao@codesourcery.com>
12512
12513         * lib/prelink-support.exp (build_executable_own_libs): Error if
12514         the target isn't native.
12515
12516 2014-09-30  Yao Qi  <yao@codesourcery.com>
12517
12518         * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12519         false.
12520
12521 2014-09-22  Pedro Alves  <palves@redhat.com>
12522
12523         * gdb.threads/break-while-running.exp: New file.
12524         * gdb.threads/break-while-running.c: New file.
12525
12526 2014-09-19  Yao Qi  <yao@codesourcery.com>
12527
12528         * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12529         Invoke test.  Restart GDB with --readnow and invoke test again.
12530
12531 2014-09-19  Yao Qi  <yao@codesourcery.com>
12532
12533         * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12534         proc set_breakpoint_on_gcd_function.  Invoke
12535         set_breakpoint_on_gcd_function.  Restart GDB with --readnow and
12536         invoke set_breakpoint_on_gcd_function again.
12537
12538 2014-09-18  Doug Evans  <dje@google.com>
12539
12540         * gdb.dwarf2/symtab-producer.exp: New file.
12541
12542 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12543
12544         * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12545         * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12546         * gdb.base/global-var-nested-by-dso.c: Likewise.
12547         * gdb.base/global-var-nested-by-dso.exp: Likewise.
12548
12549 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12550             Pedro Alves  <palves@redhat.com>
12551
12552         * gdb.base/watch-bitfields.exp: Pass string other than test file
12553         name to prepare_for_testing.
12554         (watch): New procedure.
12555         (expect_watchpoint): Use with_test_prefix.
12556         (top level): Factor out tests to ...
12557         (test_watch_location, test_regular_watch): ... these new
12558         procedures, and use with_test_prefix and gdb_continue_to_end.
12559
12560 2014-09-16  Patrick Palka  <patrick@parcs.ath.cx>
12561
12562         PR breakpoints/12526
12563         * gdb.base/watch-bitfields.exp: New file.
12564         * gdb.base/watch-bitfields.c: New file.
12565
12566 2014-09-16  Pedro Alves  <palves@redhat.com>
12567
12568         * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12569         software and hardware addresses, not software address against
12570         itself.
12571
12572 2014-09-16  Pedro Alves  <palves@redhat.com>
12573
12574         * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12575         * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12576
12577 2014-09-16  Pedro Alves  <palves@redhat.com>
12578
12579         * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12580         files.
12581         * gdb.base/a2-run.exp: Remove all code guarded by istarget
12582         "*-*-vxworks*" throughout.
12583         * gdb.base/break.exp: Likewise.
12584         * gdb.base/default.exp: Likewise.
12585         * gdb.base/scope.exp: Likewise.
12586         * gdb.base/sepdebug.exp: Likewise.
12587         * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12588         throughout.
12589         * gdb.base/run.c: Likewise.
12590         * gdb.base/sepdebug.c: Likewise.
12591         * gdb.hp/gdb.aCC/run.c: Likewise.
12592         * gdb.reverse/until-reverse.c: Likewise.
12593         * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12594
12595 2014-09-16  Yao Qi  <yao@codesourcery.com>
12596
12597         * boards/local-remote-host-native.exp: New file.
12598
12599 2014-09-14  Doug Evans  <xdje42@gmail.com>
12600
12601         * gdb.threads/queue-signal.c (thread_count): New variable.
12602         (thread_count_mutex, thread_count_condvar): New variables.
12603         (incr_thread_count, wait_all_threads_running): New functions.
12604         (main): Wait for all threads to be in their thread functions.
12605
12606 2014-09-13  Doug Evans  <xdje42@gmail.com>
12607
12608         * gdb.threads/queue-signal.c: New file.
12609         * gdb.threads/queue-signal.exp: New file.
12610
12611 2014-09-13  Doug Evans  <xdje42@gmail.com>
12612
12613         * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12614         be consistent with what default_gdb_init uses.
12615         (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12616         the plain text of the prompt.  Add some logging printfs.
12617         * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12618
12619 2014-09-12  Pedro Alves  <palves@redhat.com>
12620
12621         * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12622         gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12623         * gdb.arch/i386-size-overlap.exp: Likewise.
12624         * gdb.arch/i386-size.exp: Likewise.
12625         * gdb.arch/i386-unwind.exp: Likewise.
12626         * gdb.base/a2-run.exp: Likewise.
12627         * gdb.base/break.exp: Likewise.
12628         * gdb.base/charset.exp: Likewise.
12629         * gdb.base/chng-syms.exp: Likewise.
12630         * gdb.base/commands.exp: Likewise.
12631         * gdb.base/dbx.exp: Likewise.
12632         * gdb.base/find.exp: Likewise.
12633         * gdb.base/funcargs.exp: Likewise.
12634         * gdb.base/jit-simple.exp: Likewise.
12635         * gdb.base/reread.exp: Likewise.
12636         * gdb.base/sepdebug.exp: Likewise.
12637         * gdb.base/step-bt.exp: Likewise.
12638         * gdb.cp/mb-inline.exp: Likewise.
12639         * gdb.cp/mb-templates.exp: Likewise.
12640         * gdb.objc/basicclass.exp: Likewise.
12641         * gdb.threads/killed.exp: Likewise.
12642
12643 2014-09-12  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
12644
12645         PR tdep/17379
12646         * gdb.arch/powerpc-stackless.S: New file.
12647         * gdb.arch/powerpc-stackless.exp: New file.
12648
12649 2014-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12650
12651         * gdb.base/attach.c: Include unistd.h.
12652         (main): Call alarm.  Add label postloop.
12653         * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12654         gdb_breakpoint, gdb_continue_to_breakpoint.
12655         (test_command_line_attach_run): Kill ${testpid} in one exit path.
12656
12657 2014-09-11  Pedro Alves  <palves@redhat.com>
12658
12659         PR gdb/17347
12660         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12661         * gdb.base/attach.exp (test_command_line_attach_run): New
12662         procedure.
12663         (top level): Call it.
12664
12665 2014-09-11  Pedro Alves  <palves@redhat.com>
12666
12667         * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12668         * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12669         (do_command_attach_tests): Use spawn_wait_for_attach.
12670         * gdb.base/solib-overlap.exp: Likewise.
12671         * gdb.multi/multi-attach.exp: Likewise.
12672         * gdb.python/py-prompt.exp: Likewise.
12673         * gdb.python/py-sync-interp.exp: Likewise.
12674         * gdb.server/ext-attach.exp: Likewise.
12675
12676 2014-09-11  Gabriel Krisman Bertazi  <gabriel@krisman.be>
12677
12678         * gdb.fortran/array-element.exp: Remove unexpected "continue"
12679         command in testcase.  Simplify testcase.
12680
12681 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12682
12683         * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12684
12685 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12686
12687         * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12688
12689 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12690
12691         * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12692
12693 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12694
12695         * gdb.dwarf2/dynarr-ptr.c: New file.
12696         * gdb.dwarf2/dynarr-ptr.exp: New file.
12697
12698 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12699
12700         * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12701         of 30 rather than hardcoding 120 for a slow test case.  Take the
12702         `gdb,timeout' target setting into account for this calculation.
12703         Don't extend the timeout for the test cases that don't need it.
12704
12705 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12706
12707         * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12708         a factor of 2 for a slow test case.  Take the `gdb,timeout'
12709         target setting into account for this calculation.
12710         * gdb.reverse/until-precsave.exp: Increase the timeout by
12711         a factor of 15 and 3 respectively rather than adding 120
12712         for a pair of slow test cases.  Take the `gdb,timeout'
12713         target setting into account for this calculation.
12714
12715 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12716
12717         * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12718         timeout, don't pass one down to gdb_expect.
12719         (gdb_expect): Rework timeout selection.
12720
12721 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12722
12723         * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12724         exception on timeout.
12725         (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12726         (gdbserver_start_extended): Catch any `gdbserver_start' error
12727         exceptions.
12728         (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12729         * lib/mi-support.exp (mi_gdb_target_load): Catch any
12730         `gdbserver_gdb_load' error exceptions.
12731
12732 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12733
12734         * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12735         120 on waiting for the TCP socket to open.
12736
12737 2014-09-09  Doug Evans  <xdje42@gmail.com>
12738
12739         * gdb.base/default.exp (show_conv_list): Add _caller_is,
12740         _caller_matches, _any_caller_is, _any_caller_matches.
12741
12742 2014-09-09  Doug Evans  <xdje42@gmail.com>
12743
12744         * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12745
12746 2014-09-09  Yao Qi  <yao@codesourcery.com>
12747
12748         * gdb.mi/mi-var-display.exp: Set print symbol off.
12749
12750 2014-09-07  Gabriel Krisman Bertazi  <gabriel@krisman.be>
12751
12752         PR gdb/17035
12753         * gdb.base/commands.exp: Add tests to verify user-defined
12754         commands with empty bodies.
12755         * gdb.python/py-cmd.exp: Test that we don't show user-defined
12756         python commands in `show user command`.
12757         * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12758         scheme commands in `show user command`.
12759
12760 2014-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
12761
12762         PR python/17355
12763         * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12764         * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12765         * gdb.python/py-framefilter-invalidarg.exp: New file.
12766         * gdb.python/py-framefilter-invalidarg.py: New file.
12767
12768 2014-09-06  Doug Evans  <xdje42@gmail.com>
12769
12770         PR 15276
12771         * gdb.python/py-caller-is.c: New file.
12772         * gdb.python/py-caller-is.exp: New file.
12773
12774 2014-09-05  Sergio Durigan Junior  <sergiodj@redhat.com>
12775
12776         PR gdb/17235
12777         * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12778         * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12779
12780 2014-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
12781
12782         PR fortran/17237
12783         * gdb.fortran/print-formatted.exp: New file.
12784         * gdb.fortran/print-formatted.f90: Likewise.
12785
12786 2014-09-03  Sasha Smundak  <asmundak@google.com>
12787
12788         * gdb.python/py-frame.exp: Test Frame.read_register.
12789
12790 2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
12791
12792         PR python/16699
12793         * gdb.python/py-completion.exp: New file.
12794         * gdb.python/py-completion.py: Likewise.
12795
12796 2014-08-28  Doug Evans  <dje@google.com>
12797
12798         * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12799         eax,etc. are live with values set by gdb and thus the compiler can't
12800         use them.
12801         * gdb.arch/i386-pseudo.c (main): Ditto.
12802
12803 2014-08-27  Doug Evans  <dje@google.com>
12804
12805         * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12806
12807 2014-08-25  Doug Evans  <dje@google.com>
12808
12809         * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12810         (main): Ditto.
12811
12812 2014-08-25  Doug Evans  <dje@google.com>
12813
12814         * gdb.threads/thread-execl.exp: #include <stdio.h>.
12815
12816 2014-08-24  Yao Qi  <yao@codesourcery.com>
12817
12818         * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12819         symbol off.
12820         * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12821
12822 2014-08-22  Doug Evans  <dje@google.com>
12823
12824         PR 17276
12825         * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12826         * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12827         * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12828
12829 2014-08-22  Yao Qi  <yao@codesourcery.com>
12830
12831         * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12832         * gdb.python/py-finish-breakpoint2.exp: Likewise.
12833         * gdb.python/python.exp: Likewise.  Use .py file on the host
12834         instead of the build.
12835
12836 2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
12837
12838         * gdb.threads/gcore-stale-thread.c: New file.
12839         * gdb.threads/gcore-stale-thread.exp: New file.
12840
12841 2014-08-21  Pedro Alves  <palves@redhat.com>
12842
12843         * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12844         * gdb.base/gcore-relro-pie.exp: Likewise.
12845         * gdb.base/gcore-relro.exp: Likewise.
12846         * gdb.base/gcore.exp: Likewise.
12847         * gdb.base/print-symbol-loading.exp: Likewise.
12848         * gdb.threads/gcore-thread.exp: Likewise.
12849         * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12850
12851 2014-08-20  Pedro Alves  <palves@redhat.com>
12852             Jan Kratochvil  <jan.kratochvil@redhat.com>
12853
12854         * Makefile.in (EXTRA_RULES, CC): New variables, get from
12855         configure.
12856         (EXPECT): Handle READ1 being set.
12857         (all): Depend on EXTRA_RULES.
12858         (check-read1, expect-read1, read1.so, read1): New rules.
12859         * README (Testsuite Parameters): Document the READ1 make variable.
12860         (Race detection): New section.
12861         * configure: Regenerate.
12862         * configure.ac: If build==host==target, and running under a
12863         GNU/glibc system, add read1 to the extra Makefile rules.
12864         (EXTRA_RULES): AC_SUBST it.
12865         * lib/read1.c: New file.
12866
12867 2014-08-20  Joel Brobecker  <brobecker@adacore.com>
12868
12869         * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12870         the handling of variables declared as a typedef to an array
12871         which a DW_AT_data_location attribute.
12872
12873 2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
12874             Pedro Alves  <palves@redhat.com>
12875
12876         PR symtab/14604
12877         PR symtab/14605
12878         * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12879         gdb_test.
12880
12881 2014-08-19  Pedro Alves  <palves@redhat.com>
12882
12883         * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
12884
12885 2014-08-19  Yao Qi  <yao@codesourcery.com>
12886
12887         * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
12888         right line.
12889
12890 2014-08-18  David Blaikie  <dblaikie@gmail.com>
12891
12892         * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
12893
12894 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
12895
12896         * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
12897         attribute in array range.
12898
12899 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
12900
12901         * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
12902
12903 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
12904
12905         PR c++/17132
12906         * gdb.cp/pr17132.cc: New file.
12907         * gdb.cp/pr17132.exp: New file.
12908
12909 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
12910
12911         * gdb.python/py-xmethods.py (A_getarrayind)
12912         (E_method_char_worker.__call__, E_method_int_worker.__call__):
12913         Use 'print' with function call syntax.
12914         (E_method_matcher.match): Fix tab vs space indentation mixup.
12915
12916 2014-08-15  Yao Qi  <yao@codesourcery.com>
12917
12918         * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
12919         false.
12920
12921 2014-08-15  Yao Qi  <yao@codesourcery.com>
12922
12923         * gdb.cp/casts.exp: Set print symbol off.
12924         * gdb.cp/class2.exp: Likewise.
12925         * gdb.cp/overload.exp: Likewise.
12926         * gdb.cp/templates.exp: Likewise.
12927
12928 2014-08-11  Doug Evans  <dje@google.com>
12929
12930         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
12931         (test_load_shlib): Update.
12932
12933 2014-08-09  Yao Qi  <yao@codesourcery.com>
12934
12935         * gdb.base/display.exp: Invoke is_address_zero_readable.
12936         * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
12937         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12938         * gdb.base/hbreak-unmapped.exp: Return if
12939         is_address_zero_readable returns true.
12940         * gdb.base/signest.exp: Likewise.
12941         * gdb.base/signull.exp: Likewise.
12942         * gdb.base/sigbpt.exp: Likewise.
12943         * gdb.guile/scm-disasm.exp: Do the test if
12944         is_address_zero_readable returns false.
12945         * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
12946         * gdb.python/py-arch.exp: Likewise.
12947         * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
12948         * lib/gdb.exp (is_address_zero_readable): New proc.
12949
12950 2014-08-09  Yao Qi  <yao@codesourcery.com>
12951
12952         PR testsuite/13443
12953         * gdb.mi/mi-var-display.exp: Make test messages unique.
12954
12955 2014-08-04  Tom Tromey  <tromey@redhat.com>
12956
12957         * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
12958         target 0".
12959
12960 2014-08-04  Tom Tromey  <tromey@redhat.com>
12961
12962         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
12963         "target_resume".
12964
12965 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
12966
12967         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
12968         inner_vla_struct_object_size.
12969         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
12970         as xfail.
12971
12972 2014-07-30  Pedro Alves  <palves@redhat.com>
12973
12974         * gdb.threads/signal-command-handle-nopass.exp (test): Add
12975         comment.
12976
12977 2014-07-29  Yao Qi  <yao@codesourcery.com>
12978
12979         PR gdb/17206
12980         * gdb.base/until-nodebug.exp: New.
12981
12982 2014-07-28  Doug Evans  <xdje42@gmail.com>
12983
12984         PR guile/17203
12985         * gdb.guile/scm-parameter.exp: Add tests for trying to create
12986         previously existing parameter, and previously ambiguously spelled
12987         parameter.
12988
12989 2014-07-28  Will Newton  <will.newton@linaro.org>
12990
12991         * gdb.base/varargs.exp: Remove KFAILs for ARM.
12992
12993 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
12994             Doug Evans  <xdje42@gmail.com>
12995
12996         PR guile/17146
12997         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
12998
12999 2014-07-25  Pedro Alves  <palves@redhat.com>
13000
13001         * gdb.threads/signal-command-handle-nopass.c: New file.
13002         * gdb.threads/signal-command-handle-nopass.exp: New file.
13003         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
13004         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
13005         * gdb.threads/signal-delivered-right-thread.c: New file.
13006         * gdb.threads/signal-delivered-right-thread.exp: New file.
13007
13008 2014-07-25  Pedro Alves  <palves@redhat.com>
13009
13010         * gdb.base/double-prompt-target-event-error.exp
13011         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
13012         match.
13013         (cancel_pagination_in_target_event): Rework double prompt
13014         detection.
13015         * gdb.base/paginate-after-ctrl-c-running.exp
13016         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
13017         <return>' match.
13018         * gdb.base/paginate-bg-execution.exp
13019         (test_bg_execution_pagination_return)
13020         (test_bg_execution_pagination_cancel): Remove '-notransfer
13021         <return>' matches.
13022         * gdb.base/paginate-execution-startup.exp
13023         (test_fg_execution_pagination_return)
13024         (test_fg_execution_pagination_cancel): Remove '-notransfer
13025         <return>' matches.
13026         * gdb.base/paginate-inferior-exit.exp
13027         (test_paginate_inferior_exited): Remove '-notransfer <return>'
13028         match.
13029         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13030         * lib/gdb.exp (pagination_prompt): Run text through
13031         string_to_regexp.
13032         (gdb_test_multiple): Match $pagination_prompt instead of
13033         "<return>".
13034         (string_to_regexp): Move to lib/gdb-utils.exp.
13035
13036 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
13037
13038         * gdb.arch/amd64-entry-value-paramref.S: New file.
13039         * gdb.arch/amd64-entry-value-paramref.cc: New file.
13040         * gdb.arch/amd64-entry-value-paramref.exp: New file.
13041         * gdb.arch/amd64-optimout-repeat.S: New file.
13042         * gdb.arch/amd64-optimout-repeat.c: New file.
13043         * gdb.arch/amd64-optimout-repeat.exp: New file.
13044
13045 2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
13046
13047         PR gdb/17170
13048         * gdb.base/statistics.exp: New file.
13049
13050 2014-07-17  Doug Evans  <dje@google.com>
13051
13052         PR gdb/17170
13053         * gdb.base/maint.exp: Update testing of per-command stats.
13054
13055 2014-07-16  Pedro Alves  <palves@redhat.com>
13056
13057         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13058         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13059         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
13060         (tfile_write_buf): New functions.
13061         (add_memory_block): Rewrite using the above.
13062         (adjust_function_address): New function.
13063         (FUNCTION_ADDRESS): New macro.
13064         (write_basic_trace_file): Remove short_x local, and use
13065         tfile_write_16. Change type of func_addr local to unsigned long
13066         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
13067         here.  Cast argument of add_memory_block to char pointer.
13068         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
13069         (main): Remove parameters.
13070         * gdb.trace/tfile.exp: Remove nowarnings.
13071
13072 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
13073
13074         * gdb.base/debug-expr.exp: Test string evaluation with
13075         "debug expression" on.
13076
13077 2014-07-15  Pedro Alves  <palves@redhat.com>
13078
13079         * gdb.base/reread.exp: Use clean_restart.
13080
13081 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
13082
13083         * gdb.arch/avr-flash-qualifer.c: New.
13084         * gdb.arch/avr-flash-qualifer.exp: New.
13085
13086 2014-07-14  Pedro Alves  <palves@redhat.com>
13087
13088         * gdb.base/paginate-after-ctrl-c-running.c: New file.
13089         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
13090
13091 2014-07-14  Pedro Alves  <palves@redhat.com>
13092
13093         * gdb.base/double-prompt-target-event-error.c: New file.
13094         * gdb.base/double-prompt-target-event-error.exp: New file.
13095
13096 2014-07-14  Pedro Alves  <palves@redhat.com>
13097
13098         PR gdb/17072
13099         * gdb.base/paginate-inferior-exit.c: New file.
13100         * gdb.base/paginate-inferior-exit.exp: New file.
13101
13102 2014-07-14  Pedro Alves  <palves@redhat.com>
13103
13104         PR gdb/17072
13105         * gdb.base/paginate-bg-execution.c: New file.
13106         * gdb.base/paginate-bg-execution.exp: New file.
13107
13108 2014-07-14  Pedro Alves  <palves@redhat.com>
13109
13110         PR gdb/17072
13111         * gdb.base/paginate-execution-startup.c: New file.
13112         * gdb.base/paginate-execution-startup.exp: New file.
13113         * lib/gdb.exp (pagination_prompt): New global.
13114         (default_gdb_spawn): New procedure, factored out from
13115         default_gdb_spawn.
13116         (default_gdb_start): Adjust to call default_gdb_spawn.
13117         (gdb_spawn): New procedure.
13118
13119 2014-07-14  Pedro Alves  <palves@redhat.com>
13120
13121         * lib/gdb.exp (gdb_assert): New procedure.
13122         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
13123
13124 2014-07-14  Pedro Alves  <palves@redhat.com>
13125
13126         * gdb.base/execution-termios.c: New file.
13127         * gdb.base/execution-termios.exp: New file.
13128
13129 2014-07-14  Tom Tromey  <tromey@redhat.com>
13130
13131         * gdb.cp/vla-cxx.cc: New file.
13132         * gdb.cp/vla-cxx.exp: New file.
13133
13134 2014-07-14  Tom Tromey  <tromey@redhat.com>
13135
13136         * gdb.reverse/rerun-prec.c: New file.
13137         * gdb.reverse/rerun-prec.exp: New file.
13138
13139 2014-07-12  Maciej W. Rozycki  <macro@mips.com>
13140             Maciej W. Rozycki  <macro@codesourcery.com>
13141
13142         * lib/gdb-utils.exp: New file.
13143         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
13144         inline `gdb_init_command' processing.
13145         (gdb_start_cmd): Likewise.
13146         * lib/mi-support.exp (mi_run_cmd): Likewise.
13147         * README: Document `gdb_init_command' and `gdb_init_commands'.
13148
13149 2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13150
13151         Fix false FAIL running under a very long directory name.
13152         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
13153         and "set print elements 10000".  Twice.
13154
13155 2014-07-11  Yao Qi  <yao@codesourcery.com>
13156
13157         * gdb.base/exprs.exp: "set print symbol off".
13158
13159 2014-07-11  Pedro Alves  <palves@redhat.com>
13160
13161         * gdb.threads/kill.c: New file.
13162         * gdb.threads/kill.exp: New file.
13163
13164 2014-07-10  Yao Qi  <yao@codesourcery.com>
13165
13166         * gdb.trace/tfile.c (write_basic_trace_file)
13167         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
13168         address written to trace file.
13169
13170 2014-07-09  Pedro Alves  <palves@redhat.com>
13171
13172         * gdb.base/attach-wait-input.exp: New file.
13173         * gdb.base/attach-wait-input.c: New file.
13174
13175 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
13176
13177         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
13178         setting up test structures.
13179         (main): Call new test function.
13180         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
13181         test function, continue into test function and walk test
13182         structures.
13183
13184 2014-07-02  Yao Qi  <yao@codesourcery.com>
13185
13186         * gdb.trace/entry-values.c: Define labels 'foo_start' and
13187         'bar_start' at the beginning of functions 'foo' and 'bar'
13188         respectively.
13189         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
13190         instead of 'foo' and 'bar'.
13191
13192 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
13193
13194         * gdb.btrace/segv.exp: New.
13195         * gdb.btrace/segv.c: New.
13196
13197 2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
13198
13199         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
13200         instruction.
13201
13202 2014-06-30  Mark Wielaard  <mjw@redhat.com>
13203
13204         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
13205         vulture, vilify, villar): New volatile array constants.
13206         (vindictive, vegetation): New const volatile array constants.
13207         * gdb.base/volatile.exp: Test volatile and const volatile array
13208         types.
13209
13210 2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13211
13212         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
13213         target lacks support for awatch, rwatch, or hbreak.
13214
13215 2014-06-27  Yao Qi  <yao@codesourcery.com>
13216
13217         * gdb.multi/dummy-frame-restore.exp: New.
13218         * gdb.multi/dummy-frame-restore.c: New.
13219
13220 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
13221
13222         * gdb.btrace/gcore.exp: New.
13223
13224 2014-06-23  Pedro Alves  <palves@redhat.com>
13225
13226         * gdb.base/watchpoint-reuse-slot.c: New file.
13227         * gdb.base/watchpoint-reuse-slot.exp: New file.
13228
13229 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
13230
13231         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
13232         progspace's filename in 'info', 'enable' and 'disable' command
13233         tests.
13234
13235 2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
13236
13237         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
13238         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13239         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
13240
13241 2014-06-20  Gary Benson  <gbenson@redhat.com>
13242
13243         * gdb.arch/i386-avx.exp: Fix include file location.
13244         * gdb.arch/i386-sse.exp: Likewise.
13245
13246 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
13247
13248         * gdb.dlang/expression.exp: New file.
13249
13250 2014-06-19  Pedro Alves  <palves@redhat.com>
13251
13252         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
13253         out from ...
13254         (top level): ... here.  Iterate running tests under different
13255         scheduler-locking settings.
13256
13257 2014-06-18  Luis Machado  <lgustavo@codesourcery.com>
13258
13259         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
13260         to DW_FORM_addr and use non-zero addresses.
13261
13262 2014-06-18  Siva Chandra Reddy  <sivachandra@google.com>
13263
13264         PR gdb/17017
13265         * gdb.python/py-xmethods.cc: Add global function call counters and
13266         increment them in their respective functions.  Remove "cout"
13267         statements.
13268         * gdb.python/py-xmethods.exp: Make tests check the global function
13269         call counters instead of depending on inferior IO.
13270
13271 2014-06-18  Don Breazeal  <donb@codesourcery.com>
13272
13273         * gdb.base/foll-fork.exp (default_fork_parent_follow):
13274         Deleted procedure.
13275         (explicit_fork_parent_follow): Deleted procedure.
13276         (explicit_fork_child_follow): Deleted procedure.
13277         (test_follow_fork): New procedure.
13278         (do_fork_tests): Replace calls to deleted procedures with
13279         calls to test_follow_fork and reset GDB for subsequent
13280         procedure calls.
13281
13282 2014-06-17  Yao Qi  <yao@codesourcery.com>
13283
13284         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
13285         CP1252.
13286
13287 2014-06-17  Luis Machado  <lgustavo@codesourcery.com>
13288
13289         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
13290         Initialize ptr and S explicitly.
13291         (skip_type_update_when_not_use_rtti_test): Likewise.
13292
13293 2014-06-16  Keith Seitz  <keiths@redhat.com>
13294
13295         PR mi/15863
13296         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
13297         the inferior is started.
13298
13299 2014-06-16  Pedro Alves  <palves@redhat.com>
13300
13301         * gdb.base/break-main-file-remove-fail.c: New file.
13302         * gdb.base/break-main-file-remove-fail.exp: New file.
13303         * gdb.base/break-unload-file.exp: Use build_executable instead of
13304         prepare_for_testing.
13305         (test_break): New parameter "initial_load".  Handle it.
13306         (top level): Add initial_load cmdline/file axis.
13307
13308 2014-06-12  Tom Tromey  <tromey@redhat.com>
13309
13310         * gdb.base/completion.exp: Don't use directory name in test.
13311
13312 2014-06-09  Gary Benson  <gbenson@redhat.com>
13313
13314         * gdb.base/sigall.c [Functions to send signals]: Reorder to
13315         separate the always-available ANSI-standard signals from the
13316         signals that require checking.
13317         (main): Likewise.
13318         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
13319         Likewise.
13320         (main): Likewise.
13321
13322 2014-06-07  Keith Seitz  <keiths@redhat.com>
13323
13324         Revert:
13325         PR c++/16253
13326         * gdb.cp/var-tag.cc: New file.
13327         * gdb.cp/var-tag.exp: New file.
13328         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13329         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13330         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13331         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13332
13333 2014-06-06  Doug Evans  <xdje42@gmail.com>
13334
13335         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
13336
13337 2014-06-06  Pedro Alves  <palves@redhat.com>
13338
13339         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
13340         in target debug output instead of looking at RSP packets,
13341         disabling the test on any target that uses hardware stepping.
13342         Update comments.
13343
13344 2014-06-06  Pedro Alves  <palves@redhat.com>
13345
13346         * gdb.base/break-unload-file.exp: Fix typo.
13347
13348 2014-06-06  Yao Qi  <yao@codesourcery.com>
13349
13350         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13351         from "jit_function" to "^jit_function".
13352
13353 2014-06-06  Yao Qi  <yao@codesourcery.com>
13354
13355         * gdb.base/async.c (foo): Add one statement.
13356         * gdb.base/async.exp: Get the next instruction address and
13357         match the output of "nexti" by instruction address.  Match
13358         the hex address in the output of "finish".
13359
13360 2014-06-06  Gary Benson  <gbenson@redhat.com>
13361
13362         * gdb.base/call-signals.c: Remove preprocessor conditionals
13363         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13364         SIGSEGV and SIGTERM.
13365         * gdb.base/sigall.c: Likewise.
13366         * gdb.base/unwindonsignal.c: Likewise.
13367         * gdb.reverse/sigall-reverse.c: Likewise.
13368
13369 2014-06-06  Yao Qi  <yao@codesourcery.com>
13370
13371         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
13372         readable, skip the test.
13373
13374 2014-06-06  Yao Qi  <yao@codesourcery.com>
13375
13376         * gdb.threads/staticthreads.c (thread_function): Move the line
13377         setting breakpoint on forward.
13378         * gdb.threads/staticthreads.exp: Update comments.
13379
13380 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
13381
13382         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13383         "history-append! type error".
13384
13385 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
13386
13387         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13388         erroneous dprintf expected input.
13389
13390 2014-06-04  Doug Evans  <xdje42@gmail.com>
13391
13392         * gdb.guile/scm-generics.exp: Delete.
13393
13394 2014-06-04  Doug Evans  <xdje42@gmail.com>
13395
13396         * gdb.guile/scm-breakpoint.exp: Update.
13397         Add tests for breakpoint registration.
13398
13399 2014-06-04  Tom Tromey  <tromey@redhat.com>
13400
13401         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13402         VLA-in-union.
13403         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13404         inner_vla_struct, vla_union types.  Initialize objects of those
13405         types and compute their sizes.
13406
13407 2014-06-04  Nathan Sidwell  <nathan@codesourcery.com>
13408             Hui Zhu  <hui@codesourcery.com>
13409
13410         * gdb.base/fileio.exp: Add test for shell not available as well as
13411         available.
13412         * gdb.base/fileio.c (test_system): Check for shell twice.
13413
13414 2014-06-04  Yao Qi  <yao@codesourcery.com>
13415
13416         * gdb.base/auto-connect-native-target.exp: Remove redundant
13417         space from the regexp pattern.
13418
13419 2014-06-04  Yao Qi  <yao@codesourcery.com>
13420
13421         * gdb.base/default.exp: Replace "child" with "native" in
13422         regexp pattern.
13423
13424 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
13425
13426         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
13427         * gdb.python/py-xmethods.exp: New tests to test xmethods.
13428         * gdb.python/py-xmethods.py: Python script supporting the
13429         new testcase and tests.
13430
13431 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
13432             Pedro Alves  <palves@redhat.com>
13433
13434         PR breakpoints/17000
13435         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
13436         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
13437
13438 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
13439
13440         * gdb.base/subst.exp: Add tests to verify partial path matching
13441         output.
13442
13443 2014-06-03  Pedro Alves  <palves@redhat.com>
13444
13445         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13446         target that doesn't use software single-stepping.
13447
13448 2014-06-03  Pedro Alves  <palves@redhat.com>
13449
13450         PR breakpoints/17000
13451         * gdb.base/sss-bp-on-user-bp-2.c: New file.
13452         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13453
13454 2014-06-02  Doug Evans  <xdje42@gmail.com>
13455
13456         * gdb.guile/scm-parameter.exp: New file.
13457
13458 2014-06-02  Doug Evans  <xdje42@gmail.com>
13459
13460         * gdb.guile/scm-cmd.c: New file.
13461         * gdb.guile/scm-cmd.exp: New file.
13462
13463 2014-06-02  Doug Evans  <xdje42@gmail.com>
13464
13465         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13466         pretty-printer lookup.
13467         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13468         (make-pp_s-printer): Call it.
13469         (make-pretty-printer-from-dict): New function.
13470         (lookup-pretty-printer-maker-from-dict): New function.
13471         (*pretty-printer*): Simplify.
13472         (make-objfile-pp_s-printer): New function.
13473         (install-objfile-pretty-printers!): New function.
13474         (make-progspace-pp_s-printer): New function.
13475         (install-progspace-pretty-printers!): New function.
13476         * gdb.guile/scm-progspace.c: New file.
13477         * gdb.guile/scm-progspace.exp: New file.
13478
13479 2014-06-02  Pedro Alves  <palves@redhat.com>
13480
13481         * gdb.base/dprintf-bp-same-addr.c: New file.
13482         * gdb.base/dprintf-bp-same-addr.exp: New file.
13483
13484 2014-06-02  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13485
13486         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13487         * gdb.arch/powerpc-power.s: Likewise.
13488
13489 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
13490
13491         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13492
13493 2014-06-01  Yao Qi  <yao@codesourcery.com>
13494
13495         * gdb.base/watchpoint.exp (test_watch_location): Check null
13496         pointer can be dereferenced.  If not, do the test, otherwise
13497         skip it.
13498
13499 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13500
13501         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13502         results.
13503         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13504
13505 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13506
13507         * gdb.arch/amd64-invalid-stack-middle.S: New file.
13508         * gdb.arch/amd64-invalid-stack-middle.c: New file.
13509         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13510         * gdb.arch/amd64-invalid-stack-top.c: New file.
13511         * gdb.arch/amd64-invalid-stack-top.exp: New file.
13512
13513 2014-05-30  Pedro Alves  <palves@redhat.com>
13514
13515         PR breakpoints/17000
13516         * gdb.base/sss-bp-on-user-bp.c: New file.
13517         * gdb.base/sss-bp-on-user-bp.exp: New file.
13518
13519 2014-05-30  David Blaikie  <dblaikie@gmail.com>
13520
13521         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13522         gnu_inline semantics via attribute.
13523         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13524         source explicitly specifies the required semantics.
13525
13526 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
13527
13528         * gdb.reverse/sigall-reverse.exp: Fix a typo.
13529
13530 2014-05-29  Pedro Alves  <palves@redhat.com>
13531             Tom Tromey  <tromey@redhat.com>
13532
13533         * gdb.base/async-shell.exp: Don't enable target-async.
13534         * gdb.base/async.exp
13535         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13536         parameter.  Adjust.
13537         (top level): Don't test with "target-async".
13538         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13539         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13540         * gdb.base/inferior-died.exp: Don't enable target-async.
13541         * gdb.base/interrupt-noterm.exp: Likewise.
13542         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13543         * gdb.mi/mi-nonstop-exit.exp: Likewise.
13544         * gdb.mi/mi-nonstop.exp: Likewise.
13545         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13546         * gdb.mi/mi-nsintrall.exp: Likewise.
13547         * gdb.mi/mi-nsmoribund.exp: Likewise.
13548         * gdb.mi/mi-nsthrexec.exp: Likewise.
13549         * gdb.mi/mi-watch-nonstop.exp: Likewise.
13550         * gdb.multi/watchpoint-multi.exp: Adjust comment.
13551         * gdb.python/py-evsignal.exp: Don't enable target-async.
13552         * gdb.python/py-evthreads.exp: Likewise.
13553         * gdb.python/py-prompt.exp: Likewise.
13554         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13555         * gdb.server/solib-list.exp: Don't enable target-async.
13556         * gdb.threads/thread-specific-bp.exp: Likewise.
13557         * lib/mi-support.exp: Adjust to use mi-async.
13558
13559 2014-05-29  Pedro Alves  <palves@redhat.com>
13560
13561         PR gdb/13860
13562         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13563         reason, even in sync mode.
13564
13565 2014-05-29  Pedro Alves  <palves@redhat.com>
13566             Hui Zhu  <hui@codesourcery.com>
13567
13568         PR PR15693
13569         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13570         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13571         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13572         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13573
13574 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
13575
13576         * config/monitor.exp (gdb_target_monitor): Replace use of
13577         "set remotebaud" by "set serial baud".
13578
13579 2014-05-26  Andy Wingo  <wingo@igalia.com>
13580
13581         * gdb.guile/scm-breakpoint.exp:
13582         * gdb.guile/scm-gsmob.exp: Update to use plain old object
13583         properties instead of gdb-object-properties.
13584
13585 2014-05-26  Yao Qi  <yao@codesourcery.com>
13586
13587         * gdb.server/no-thread-db.exp: Specify source file name
13588         explicitly when setting a breakpoint.
13589
13590 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13591
13592         * gdb.btrace/vdso.c: New.
13593         * gdb.btrace/vdso.exp: New.
13594
13595 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13596
13597         * gdb.base/gcore.exp (capture_command_output): Move ...
13598         * lib/gdb.exp (capture_command_output): ... here.
13599
13600 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13601
13602         * gdb.btrace/data.exp: Test memory access during btrace replay.
13603
13604 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
13605
13606         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13607
13608 2014-05-21  Pedro Alves  <palves@redhat.com>
13609
13610         PR gdb/13860
13611         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13612         (top level): Test that output related to execution commands is
13613         sent to the console with CLI commands, but not with MI commands.
13614         Test that breakpoint events are always mirrored to the console.
13615         Also expect the new source line to be output after a "next" in
13616         async mode too.  Make it a pass/fail test.
13617         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13618         output.
13619         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13620
13621 2014-05-21  Pedro Alves  <palves@redhat.com>
13622
13623         * gdb.base/list.exp (build_pattern, test_list): New procedures.
13624         Use them to test variations of "list" after reaching a breakpoint.
13625         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13626         Test "list" with listsize 10 after reaching a breakpoint.
13627         * gdb.python/python.exp (decode_line current location line
13628         number): Adjust expected line number.
13629
13630 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
13631
13632         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13633         behavior for $args, pass it directly to "run".
13634
13635 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
13636
13637         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13638         30000 to 65536.
13639
13640 2014-05-21  Pedro Alves  <palves@redhat.com>
13641
13642         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13643         auto-connect-native-target off".
13644         * gdb.base/auto-connect-native-target.c: New file.
13645         * gdb.base/auto-connect-native-target.exp: New file.
13646
13647 2014-05-21  Pedro Alves  <palves@redhat.com>
13648
13649         * gdb.base/default.exp: Test "target native" instead of "target
13650         child".
13651
13652 2014-05-21  Mark Wielaard  <mjw@redhat.com>
13653
13654         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13655
13656 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
13657
13658         Fix TLS access for -static -pthread.
13659         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13660         <HAVE_TLS> (thread_function, main): Initialize it.
13661         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13662         Add clean_restart.
13663         <$have_tls != "">: Check TLSVAR.
13664
13665 2014-05-21  Pedro Alves  <palves@redhat.com>
13666
13667         * gdb.base/dcache-line-read-error.c: New.
13668         * gdb.base/dcache-line-read-error.exp: New.
13669
13670 2014-05-20  Pedro Alves  <palves@redhat.com>
13671
13672         * gdb.base/compare-sections.c: New file.
13673         * gdb.base/compare-sections.exp: New file.
13674
13675 2014-05-20  Pedro Alves  <palves@redhat.com>
13676
13677         * gdb.base/break-idempotent.c: New file.
13678         * gdb.base/break-idempotent.exp: New file.
13679
13680 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
13681
13682         * gdb.btrace/nohist.exp: New.
13683
13684 2014-05-20  Yao Qi  <yao@codesourcery.com>
13685
13686         * lib/gdb.exp (gdb_init): Set timeout if test file is under
13687         gdb.reverse directory and gdb_reverse_timeout exists in board
13688         setting.
13689         * README: Document gdb_reverse_timeout.
13690
13691 2014-05-20  Yao Qi  <yao@codesourcery.com>
13692
13693         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13694         'test_file_name'.  Treat args as a string instead of a list.
13695         (gdb_init): Rename argument 'args' by 'test_file_name'.
13696
13697 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
13698
13699         * gdb.arch/powerpc-power.exp: New file.
13700         * gdb.arch/powerpc-power.s: New file.
13701
13702 2014-05-16  Doug Evans  <dje@google.com>
13703
13704         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
13705         * gdb.base/completion.exp: Check that all expected files exist
13706         before doing file completion.
13707
13708 2014-05-16  Doug Evans  <dje@google.com>
13709
13710         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13711         Update.
13712         (do_syscall_tests_without_xml): Update.
13713
13714 2014-05-16  Pedro Alves  <palves@redhat.com>
13715
13716         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13717         instead of "unknown output after running".
13718
13719 2014-05-16  Yao Qi  <yao@codesourcery.com>
13720
13721         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
13722         file1.txt from host at the end.
13723         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13724
13725 2014-05-15  Doug Evans  <dje@google.com>
13726
13727         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13728         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13729         loading file.  Add test for TU lookup.
13730
13731 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
13732
13733         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13734         calling "-exec-arguments" or "set args" before running the
13735         inferior.
13736
13737 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
13738
13739         * lib/mi-support.exp (mi_expect_stop): Expect message for
13740         inferiors that exit with non-zero exit code.
13741
13742 2014-05-14  Yao Qi  <yao@codesourcery.com>
13743
13744         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13745         match absolute path on remote host.
13746         (test_file_list_exec_source_files): Remove "/" from the
13747         pattern.
13748
13749 2014-05-14  Yao Qi  <yao@codesourcery.com>
13750
13751         * boards/local-remote-host-notty.exp (${board}_file): New
13752         proc.
13753
13754 2014-05-07  Kyle McMartin  <kyle@redhat.com>
13755
13756         Pushed by Joel Brobecker  <brobecker@adacore.com>.
13757         * gdb.arch/aarch64-atomic-inst.c: New file.
13758         * gdb.arch/aarch64-atomic-inst.exp: New file.
13759
13760 2014-05-07  Yao Qi  <yao@codesourcery.com>
13761
13762         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13763         in current context" too.
13764
13765 2014-05-05  Keith Seitz  <keiths@redhat.com>
13766
13767         * gdb.linespec/ls-dollar.exp: Add test for linespec
13768         file:convenience_variable.
13769
13770 2014-05-05  Yao Qi  <yao@codesourcery.com>
13771
13772         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13773         traceframes into tfile and ctf trace files.  Read data from
13774         trace file and test collected data.
13775         (gdb_collect_locals_test): Likewise.
13776         (gdb_unavailable_registers_test): Likewise.
13777         (gdb_unavailable_floats): Likewise.
13778         (gdb_collect_globals_test): Likewise.
13779         (top-level): Append "ctf" to trace_file_targets if GDB
13780         supports.
13781
13782 2014-05-05  Yao Qi  <yao@codesourcery.com>
13783
13784         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13785         code to ...
13786         (gdb_collect_args_test_1): ... it.  New proc.
13787         (gdb_collect_locals_test): Move some code to ...
13788         (gdb_collect_locals_test_1): ... it.  New proc.
13789         (gdb_unavailable_registers_test): Move some code to ...
13790         (gdb_unavailable_registers_test_1): ... it.  New proc.
13791         (gdb_unavailable_floats): Move some code to ...
13792         (gdb_unavailable_floats_1): ... it.  New proc.
13793
13794 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
13795
13796         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13797         probes to test for bitness recognition.
13798         * gdb.arch/amd64-stap-optional-prefix.exp
13799         (test_probe_value_without_reg): New procedure.
13800         Add code to test for different kinds of bitness.
13801
13802 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
13803
13804         PR breakpoints/16889
13805         * gdb.arch/amd64-stap-optional-prefix.S: New file.
13806         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13807
13808 2014-05-01  Pedro Alves  <palves@redhat.com>
13809
13810         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
13811         gdb_file_cmd if no file is specified.
13812         * boards/native-extended-gdbserver.exp (gdb_load): Use the
13813         last_loaded_file to set the remote exec-file.
13814
13815 2014-05-01  Pedro Alves  <palves@redhat.com>
13816
13817         * boards/local-remote-host.exp: New file.
13818
13819 2014-05-01  Pedro Alves  <palves@redhat.com>
13820
13821         * boards/local-remote-host.exp: Rename to ...
13822         * boards/local-remote-host-notty.exp: ... this.
13823
13824 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
13825
13826         * gdb.ada/dyn_arrayidx: New testcase.
13827
13828 2014-04-26  Yao Qi  <yao@codesourcery.com>
13829
13830         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
13831         and compute the length of function main.  Save it in
13832         $main_length.
13833         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13834         (top-level): Use gdb_compile to compile objects into
13835         executable and restart GDB.  Remove invocation to
13836         prepare_for_testing.
13837
13838 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
13839             Pedro Alves  <palves@redhat.com>
13840
13841         PR server/16255
13842         * gdb.multi/multi-attach.c: New file.
13843         * gdb.multi/multi-attach.exp: New file.
13844
13845 2014-04-25  Pedro Alves  <palves@redhat.com>
13846
13847         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13848         user.
13849         (top level): Test that "set remote conditional-breakpoints-packet
13850         off" works as intended.
13851         * gdb.base/dprintf.exp: Test that "set remote
13852         breakpoint-commands-packet off" works as intended.
13853         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13854         New function.
13855         (top level): Call it.
13856         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13857         remote fast-tracepoints-packet off" works as intended.
13858         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13859         * lib/gdb.exp (gdb_is_target_remote): ... here.
13860
13861 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13862
13863         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13864         ensure clang would not discard them.
13865         * gdb.base/gdbvars.c: Ditto.
13866         * gdb.base/memattr.c: Ditto.
13867         * gdb.base/whatis.c: Ditto.
13868         * gdb.python/py-prettyprint.c: Ditto.
13869         * gdb.trace/actions.c: Ditto.
13870         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13871         ensure clang would not discard it.
13872
13873 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13874
13875         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13876         clang to emit the full definition of type required by the test
13877         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13878
13879 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13880
13881         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
13882         coax Clang into emitting the definition of the type.
13883         * gdb.cp/pr10728-x.h (y): Ditto.
13884         * gdb.cp/pr10728-y.cc (y): Ditto.
13885
13886 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13887
13888         * gdb.base/label.exp: XFAIL label related tests under Clang.
13889         * gdb.cp/cplabel.exp: Ditto.
13890         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
13891         under Clang those using labels.
13892
13893 2014-04-25  Yao Qi  <yao@codesourcery.com>
13894
13895         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
13896         double_label.
13897         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
13898         partial_label and double_label.
13899
13900 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13901
13902         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
13903
13904 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13905
13906         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
13907         of the function to work across GCC and Clang.
13908         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
13909         pointer types (const void ** const V void **).
13910
13911 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
13912             Walfred Tedeschi  <walfred.tedeschi@intel.com>
13913
13914         * Makefile.in (EXECUTABLES): Added i386-avx512.
13915         * gdb.arch/i386-avx512.c: New file.
13916         * gdb.arch/i386-avx512.exp: Likewise.
13917
13918 2014-04-23  Keith Seitz  <keiths@redhat.com>
13919
13920         * lib/mi-support.exp (mi_list_breakpoints): Delete.
13921         (mi_make_breakpoint_table): New procedure.
13922         (mi_create_breakpoint): Use mi_make_breakpoint
13923         and return the result.
13924         (mi_make_breakpoint): New procedure.
13925         (mi_build_kv_pairs): New procedure.
13926
13927         * gdb.mi/mi-break.exp: Remove unused globals,
13928         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
13929         All callers updated.
13930         * gdb.mi/mi-dprintf.exp: Use variable to track command
13931         number.
13932         Update all callers of mi_create_breakpoint and use
13933         mi_make_breakpoint_table.
13934         Remove any unused global variables.
13935         * gdb.mi/mi-nonstop.exp: Likewise.
13936         * gdb.mi/mi-nsintrall.exp: Likewise.
13937         * gdb.mi/mi-nsmoribund.exp: Likewise.
13938         * gdb.mi/mi-nsthrexec.exp: Likewise.
13939         * gdb.mi/mi-reverse.exp: Likewise.
13940         * gdb.mi/mi-simplerun.exp: Likewise.
13941         * gdb.mi/mi-stepn.exp: Likewise.
13942         * gdb.mi/mi-syn-frame.exp: Likewise.
13943         * gdb.mi/mi-until.exp: Likewise.
13944         * gdb.mi/mi-var-cp.exp: Likewise.
13945         * gdb.mi/mi-var-display.exp: Likewise.
13946         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
13947         * gdb.mi/mi2-var-child.exp: Likewise.
13948         * gdb.mi/mi-vla-c99.exp: Likewise.
13949         * lib/mi-support.exp: Likewise.
13950
13951         From Ian Lance Taylor  <iant@cygnus.com>:
13952         * lib/gdb.exp (parse_args): New procedure.
13953
13954 2014-04-23  Pedro Alves  <palves@redhat.com>
13955
13956         * gdb.base/break-unload-file.c: New file.
13957         * gdb.base/break-unload-file.exp: New file.
13958         * gdb.base/sym-file-lib.c (baz): New function.
13959         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
13960         field.
13961         (load): Store the segment's mapped size.
13962         (unload): New function.
13963         (unload_shlib): New function.
13964         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
13965         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
13966         set a breakpoint at baz, and call it.
13967         * gdb.base/sym-file.exp: New tests for stale breakpoint
13968         instructions.
13969
13970 2014-04-23  Pedro Alves  <palves@redhat.com>
13971
13972         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
13973         * gdb.base/hbreak-in-shr-unsupported.c: New file.
13974         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
13975         * gdb.base/hbreak-unmapped.c: New file.
13976         * gdb.base/hbreak-unmapped.exp: New file.
13977         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
13978         * lib/gdb.exp (gdb_is_target_remote): ... here.
13979
13980 2014-04-22  Pedro Alves  <palves@redhat.com>
13981
13982         * gdb.base/consecutive-step-over.c: New file.
13983         * gdb.base/consecutive-step-over.exp: New file.
13984
13985 2014-04-22  Pedro Alves  <palves@redhat.com>
13986
13987         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
13988         instead of send_gdb/gdb_expect.
13989
13990 2014-04-22  Yao Qi  <yao@codesourcery.com>
13991
13992         * lib/trace-support.exp (generate_tracefile): New procedure.
13993         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
13994         return 0.
13995         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
13996         if generate_tracefile returns 1.
13997
13998 2014-04-18  Tom Tromey  <palves@redhat.com>
13999             Pedro alves  <tromey@redhat.com>
14000
14001         PR backtrace/15558
14002         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
14003         with a backtrace limit.
14004         * gdb.python/py-frame-inline.exp: Test running to an inline
14005         function with a backtrace limit, and printing the newest frame.
14006         * gdb.python/py-frame-inline.c (main): Call f.
14007
14008 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14009
14010         * gdb.java/jnpe.exp: Drop srcdir from untested path.
14011
14012 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14013
14014         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
14015         Drop prefix from unsupported source file path.
14016
14017 2014-04-17  Yao Qi  <yao@codesourcery.com>
14018
14019         * lib/gdb.exp (with_target_charset): New proc.
14020         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
14021         with_target_charset.
14022         (test_print_strings): Likewise.
14023         (test_repeat_bytes): Likewise.
14024         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14025         for some tests.
14026
14027 2014-04-16  Keith Seitz  <keiths@redhat.com>
14028
14029         PR gdb/15827
14030         * gdb.dwarf2/corrupt.c: New file.
14031         * gdb.dwarf2/corrupt.exp: New file.
14032
14033 2014-04-16  Keith Seitz  <keiths@redhat.com>
14034
14035         PR c++/16597
14036         * gdb.cp/namelessclass.cc: New file.
14037         * gdb.cp/namelessclass.exp: New file.
14038         * gdb.cp/namelessclass.S: New file.
14039
14040 2014-04-16  Doug Evans  <dje@google.com>
14041
14042         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
14043         Add comment.
14044         (gdbserver_default_get_comm_port): New function.
14045         (gdbserver_start): Check if board file provided
14046         "gdbserver,get_comm_port" and use it if so.
14047         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
14048         (gdb,socketport): Set to "stdio".
14049         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
14050         (stdio_gdbserver_template): Delete.
14051         (${board}_get_remote_address): Update.
14052         (${board}_build_remote_cmd): Delete.
14053         (${board}_get_comm_port): New function.
14054         (${board}_spawn): Update.
14055         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
14056         Delete.
14057         (${board}_get_remote_address): Update.
14058         (${board}_get_comm_port): New function.
14059
14060 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
14061
14062         * gdb.base/memattr.exp: Improve regexps to handle memory regions
14063         appearing in any order.
14064
14065 2014-04-15  Doug Evans  <dje@google.com>
14066
14067         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
14068         uninitialized value of "description".
14069
14070 2014-04-15  Keith Seitz  <keiths@redhat.com>
14071
14072         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
14073         Remove unused globals.
14074         (test_running_the_program): Likewise.
14075         (test_controlled_execution): Likewise.
14076         (test_controlling_breakpoints): Likewise.
14077         (test_program_termination): Likewise.
14078
14079 2014-04-15  Keith Seitz  <keiths@redhat.com>
14080
14081         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
14082         unused globals.
14083         (test_rbreak_creation_and_listing): Likewise.
14084         (test_ignore_count): Likewise.
14085         (test_error): Likewise.
14086
14087 2014-04-15  Pedro Alves  <palves@redhat.com>
14088
14089         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
14090         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
14091         sym-file-loader.c.
14092         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14093         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14094         to sym-file-loader.c.
14095         (struct library): Forward declare.
14096         (load_shlib, lookup_function): Change prototypes.
14097         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14098         (translate_offset): Remove declarations.
14099         (get_text_addr): New declaration.
14100         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
14101         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
14102         sym-file-loader.h.
14103         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14104         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14105         here from sym-file-loader.h.
14106         (struct library): New structure.
14107         (load_shlib, lookup_function): Change prototypes and adjust to
14108         work with a struct library.
14109         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14110         (translate_offset): Make static.
14111         (get_text_addr): New function.
14112         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
14113
14114 2014-04-15  Pedro Alves  <palves@redhat.com>
14115
14116         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
14117
14118 2014-04-15  Pedro Alves  <palves@redhat.com>
14119
14120         * gdb.base/sym-file-loader.c: Include <limits.h>.
14121         (SELF_LINK): New define.
14122         (get_origin): New function.
14123         (load_shlib): Use it.
14124         * gdb.base/sym-file.exp: Don't early return if the target is
14125         remote.  Use runto_main, and issue fail is that fails.  Use
14126         gdb_load_shlibs.
14127         (shlib_name): Delete.
14128         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
14129
14130 2014-04-15  Pedro Alves <palves@redhat.com>
14131
14132         * gdb.base/sym-file.exp: Remove regex characters from test
14133         message.  Don't refer to breakpoint numbers in test messages.
14134
14135 2014-04-14  Keith Seitz  <keiths@redhat.com>
14136
14137         PR c++/16253
14138         * gdb.cp/var-tag.cc: New file.
14139         * gdb.cp/var-tag.exp: New file.
14140         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14141         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14142         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14143         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14144
14145 2014-04-14  Tom Tromey  <tromey@redhat.com>
14146
14147         * gdb.cp/classes.exp (test_enums): Handle underlying type.
14148         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
14149         type.
14150         * gdb.cp/enum-class.exp: New file.
14151         * gdb.cp/enum-class.cc: New file.
14152
14153 2014-04-14  Tom Tromey  <tromey@redhat.com>
14154
14155         * gdb.dwarf2/enum-type.exp: New file.
14156
14157 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14158
14159         * gdb.mi/mi-vla-c99.exp: New file.
14160         * gdb.mi/vla.c: New file.
14161
14162 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14163
14164         * gdb.base/vla-datatypes.c: New file.
14165         * gdb.base/vla-datatypes.exp: New file.
14166
14167 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14168
14169         * gdb.base/vla-ptr.c: New file.
14170         * gdb.base/vla-ptr.exp: New file.
14171
14172 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14173
14174         * gdb.dwarf2/count.exp: New file.
14175
14176 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14177
14178         * gdb.base/vla-sideeffect.c: New file.
14179         * gdb.base/vla-sideeffect.exp: New file.
14180
14181 2014-04-14  David Blaikie <dblaikie@gmail.com>
14182
14183         * gdb.mi/non-stop.c: Add return value for non-void function return
14184         statement.
14185         * gdb.threads/staticthreads.c: Ditto.
14186
14187 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
14188             Doug Evans  <xdje42@gmail.com>
14189
14190         * gdb.guile/scm-value.c: Improve test case.
14191         * gdb.guile/scm-value.exp: Add new test.
14192
14193 2014-04-11  David Blaikie  <dblaikie@gmail.com>
14194
14195         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
14196         override Clang's default.
14197
14198 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
14199
14200         Revert the following changes (regressions):
14201
14202         * gdb.base/vla-sideeffect.c: New file.
14203         * gdb.base/vla-sideeffect.exp: New file.
14204
14205         * gdb.dwarf2/count.exp: New file.
14206
14207         * gdb.base/vla-multi.c: New file.
14208         * gdb.base/vla-multi.exp: New file.
14209
14210         * gdb.base/vla-ptr.c: New file.
14211         * gdb.base/vla-ptr.exp: New file.
14212
14213         * gdb.base/vla-datatypes.c: New file.
14214         * gdb.base/vla-datatypes.exp: New file.
14215
14216         * gdb.mi/mi-vla-c99.exp: New file.
14217         * gdb.mi/vla.c: New file.
14218
14219 2014-04-11  Keith Seitz  <keiths@redhat.com>
14220
14221         PR c++/16675
14222         * gdb.cp/cpsizeof.exp: New file.
14223         * gdb.cp/cpsizeof.cc: New file.
14224
14225 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14226
14227         * gdb.mi/mi-vla-c99.exp: New file.
14228         * gdb.mi/vla.c: New file.
14229
14230 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14231
14232         * gdb.base/vla-datatypes.c: New file.
14233         * gdb.base/vla-datatypes.exp: New file.
14234
14235 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14236
14237         * gdb.base/vla-ptr.c: New file.
14238         * gdb.base/vla-ptr.exp: New file.
14239
14240 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14241
14242         * gdb.base/vla-multi.c: New file.
14243         * gdb.base/vla-multi.exp: New file.
14244
14245 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14246
14247         * gdb.dwarf2/count.exp: New file.
14248
14249 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14250
14251         * gdb.base/vla-sideeffect.c: New file.
14252         * gdb.base/vla-sideeffect.exp: New file.
14253
14254 2014-04-11  Yao Qi  <yao@codesourcery.com>
14255
14256         * gdb.base/completion.exp: Check file exists before running tests
14257         on file completion.
14258
14259 2014-04-10  Pedro Alves  <palves@redhat.com>
14260
14261         * gdb.base/cond-eval-mode.c: New file.
14262         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
14263         prepare_for_testing to build the new file.  Check result of
14264         runto_main.
14265         (test_break, test_watch): New procedures.
14266         (top level): Use them.
14267
14268 2014-04-08  Pierre Muller  <muller@sourceware.org>
14269
14270         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
14271         Ctrl-V use for mingw hosts.
14272
14273 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
14274
14275         * gdb.python/py-value.c: Improve test case.
14276         * gdb.python/py-value.exp: Add new test.
14277
14278 2014-04-07  David Blaikie  <dblaikie@gmail.com>
14279
14280         * lib/compiler.c: Identify the clang compiler.
14281         * lib/compiler.cc: Ditto.
14282
14283 2014-04-03  Yao Qi  <yao@codesourcery.com>
14284
14285         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
14286
14287 2014-04-01  Anton Blanchard  <anton@samba.org>
14288
14289         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
14290         messages unique.
14291
14292 2014-04-01  Anton Blanchard  <anton@samba.org>
14293
14294         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
14295         prepare_for_testing.
14296
14297 2014-04-01  Anton Blanchard  <anton@samba.org>
14298
14299         * gdb.arch/ppc64-atomic-inst.c: Remove.
14300         * gdb.arch/ppc64-atomic-inst.S: New file.
14301         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
14302
14303 2014-03-31  Doug Evans  <dje@google.com>
14304
14305         * gdb.base/print-symbol-loading-lib.c: New file.
14306         * gdb.base/print-symbol-loading-main.c: New file.
14307         * gdb.base/print-symbol-loading.exp: New file.
14308
14309 2014-03-31  Yao Qi  <yao@codesourcery.com>
14310
14311         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
14312
14313 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
14314
14315         * gdb.ada/mi_dyn_arr: New testcase.
14316
14317 2014-03-27  Doug Evans  <dje@google.com>
14318
14319         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
14320
14321 2014-03-27  Yao Qi  <yao@codesourcery.com>
14322
14323         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
14324         if target is nios2-*-*.
14325
14326 2014-03-26  Yao Qi  <yao@codesourcery.com>
14327
14328         * lib/gdb.exp (readline_is_used): New proc.
14329         * gdb.base/completion.exp: Move tests on command complete up.
14330         Skip the rest of tests if readline is not used.
14331         * gdb.ada/complete.exp: Skp the test if readline is not
14332         used.
14333         * gdb.base/filesym.exp: Likewise.
14334         * gdb.base/macscp.exp: Likewise.
14335         * gdb.base/readline-ask.exp: Likewise.
14336         * gdb.base/readline.exp: Likewise.
14337         * gdb.python/py-cmd.exp: Likewise.
14338         * gdb.trace/tfile.exp: Likewise.
14339
14340 2014-03-26  Yao Qi  <yao@codesourcery.com>
14341
14342         * gdb.base/macscp.exp: Fix code format issues.
14343
14344 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
14345
14346         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14347         * gdb.asm/powerpc64le.inc: New file.
14348
14349 2014-03-25  Pedro Alves  <palves@redhat.com>
14350             Doug Evans  <dje@google.com>
14351
14352         * gdb.base/source-execution.c: New file.
14353         * gdb.base/source-execution.exp: New file.
14354         * gdb.base/source-execution.gdb: New file.
14355
14356 2014-03-24  Doug Evans  <dje@google.com>
14357
14358         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14359         using fission.
14360
14361 2014-03-24  Hui Zhu  <hui@codesourcery.com>
14362             Pedro Alves  <palves@redhat.com>
14363
14364         PR breakpoints/16101
14365         * gdb.base/dprintf.exp: Use unsupported rather than changing the
14366         test pass/fail messages.  Detect missing support for dprintf when
14367         breakpoints are actually inserted.
14368         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14369         breakpoints are actually inserted.
14370         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14371         fails.
14372
14373 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
14374
14375         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14376
14377 2014-03-22  Doug Evans  <xdje42@gmail.com>
14378
14379         * gdb.python/python.exp (python not supported): Verify multi-line
14380         python command issues an error.
14381         * gdb.guile/guile.exp (guile not supported): Verify multi-line
14382         guile command issues an error.
14383
14384 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
14385
14386         * gdb.threads/thread-specific.exp: Handle the lack of usable
14387         $this_breakpoint and $this_thread.
14388
14389 2014-03-21  Hui Zhu  <hui@codesourcery.com>
14390
14391         * gdb.base/attach.exp (do_command_attach_tests): New.
14392
14393 2014-03-20  Tom Tromey  <tromey@redhat.com>
14394             Pedro Alves  <palves@redhat.com>
14395
14396         PR cli/15718
14397         * gdb.base/condbreak-call-false.c: New file.
14398         * gdb.base/condbreak-call-false.exp: New file.
14399
14400 2014-03-20  Pedro Alves  <palves@redhat.com>
14401
14402         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14403         Delete.
14404         (block_signals, unblock_signals): Delete.
14405         (child_function_2, main): Remove references to deleted variable
14406         and functions.
14407
14408 2014-03-20  Pedro Alves  <palves@redhat.com>
14409
14410         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14411         Use pthread_kill to signal thread 2.
14412         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14413         Adjust to make the test send itself a signal rather than using the
14414         host's "kill" command.
14415
14416 2014-03-20  Pedro Alves  <palves@redhat.com>
14417
14418         * gdb.threads/multiple-step-overs.c: New file.
14419         * gdb.threads/multiple-step-overs.exp: New file.
14420         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14421         Adjust expected infrun debug output.
14422
14423 2014-03-20  Pedro Alves  <palves@redhat.com>
14424
14425         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14426         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
14427
14428 2014-03-20  Pedro Alves  <palves@redhat.com>
14429
14430         PR breakpoints/7143
14431         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
14432         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
14433         of gdb_test_multiple.
14434         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
14435         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
14436
14437 2014-03-20  Pedro Alves  <palves@redhat.com>
14438
14439         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14440         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14441
14442 2014-03-19  Pedro Alves  <palves@redhat.com>
14443
14444         * gdb.base/async.exp: Remove early return.
14445
14446 2014-03-19  Pedro Alves  <palves@redhat.com>
14447
14448         * gdb.base/async.exp (step& tests): Pass explicit test messages.
14449
14450 2014-03-19  Pedro Alves  <palves@redhat.com>
14451
14452         * gdb.base/async.exp (test_background): Expect \r\n after
14453         "completed." in the fail pattern.
14454
14455 2014-03-19  Pedro Alves  <palves@redhat.com>
14456
14457         * gdb.base/async.exp (test_background): New procedure.
14458         Use it for all background execution command tests.
14459
14460 2014-03-19  Pedro Alves  <palves@redhat.com>
14461
14462         * gdb.base/async.exp: Use prepare_for_testing.
14463
14464 2014-03-19  Pedro Alves  <palves@redhat.com>
14465
14466         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
14467         the same line.
14468
14469 2014-03-19  Pedro Alves  <palves@redhat.com>
14470
14471         * gdb.base/async.c (main): Add "jump here" and "until here" line
14472         marker comments.
14473         * gdb.base/async.exp (jump_here): New global.
14474         (jump& test): Use it.
14475         (until_here): New global.
14476         (until& test): Use it.
14477
14478 2014-03-19  Pedro Alves  <palves@redhat.com>
14479
14480         * gdb.base/async.exp: Don't frob gdb_protocol.
14481
14482 2014-03-18  Doug Evans  <xdje42@gmail.com>
14483
14484         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
14485         Fix spelling of exec-done-display.
14486
14487 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
14488
14489         PR gdb/15358
14490         * gdb.base/gdb-sigterm.c: New file.
14491         * gdb.base/gdb-sigterm.exp: New file.
14492
14493 2014-03-18  Pedro Alves  <palves@redhat.com>
14494
14495         PR gdb/13860
14496         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14497         * lib/mi-support.exp (mi_expect_stop): Add special handling for
14498         solib-event.
14499
14500 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
14501
14502         * gdb.ada/pckd_arr_ren: New testcase.
14503
14504 2014-03-13  Doug Evans  <xdje42@gmail.com>
14505
14506         PR guile/16612
14507         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14508         collect after discarding symbols.
14509
14510 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
14511             Doug Evans  <xdje42@gmail.com>
14512
14513         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14514         to history survives a gc.
14515
14516 2014-03-13  Pedro Alves  <palves@redhat.com>
14517
14518         * gdb.base/default.exp: Don't test "target procfs".
14519
14520 2014-03-13  Pedro Alves  <palves@redhat.com>
14521
14522         * gdb.base/default.exp: Update "target child" and "target procfs"
14523         tests to not expect "Unix".
14524
14525 2014-03-12  Tom Tromey  <tromey@redhat.com>
14526
14527         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14528         New procs.  Add target-async tests.
14529         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14530         Add target-async tests.
14531
14532 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14533
14534         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14535         'func_start' and 'func_end' for the beginning and end of the
14536         function code, respectively.
14537         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14538         'func_end' instead of 'func' and 'main'.
14539
14540 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14541
14542         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14543         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14544         generate the debug info assembler source.
14545
14546 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14547
14548         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14549         * gdb.dwarf2/arr-subrange.exp: Likewise.
14550         * gdb.dwarf2/dwz.exp: Likewise.
14551         * gdb.dwarf2/method-ptr.exp: Likewise.
14552         * gdb.dwarf2/missing-sig-type.exp: Likewise.
14553         * gdb.dwarf2/subrange.exp: Likewise.
14554         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14555         * gdb.dwarf2/implptrpiece.exp: Likewise.
14556         * gdb.dwarf2/nostaticblock.exp: Likewise.
14557
14558 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14559
14560         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14561         directory to absolute path name arguments.
14562
14563 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
14564
14565         * gdb.ada/tagged_access: New testcase.
14566
14567 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
14568
14569         * gdb.btrace/data.exp: Update expected output.
14570
14571 2014-03-06  Yao Qi  <yao@codesourcery.com>
14572
14573         * gdb.trace/pr16508.exp: New file.
14574
14575 2014-03-05  Pedro Alves  <palves@redhat.com>
14576
14577         PR gdb/16575
14578         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14579         procedure.
14580         (top level): Adjust to use it.  Add tests that exercise breakpoint
14581         interaction with the code-cache.
14582
14583 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
14584
14585         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14586         test for 'history-append!'.
14587
14588 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14589
14590         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14591         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14592         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14593         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14594         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14595         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14596
14597 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14598
14599         * testsuite/gdb.python/py-pp-re-notag.c: New file.
14600         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14601         * testsuite/gdb.python/py-pp-re-notag.p: New file.
14602
14603 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14604
14605         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14606
14607 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14608
14609         * gdb.dwarf2/arr-stride.c: New file.
14610         * gdb.dwarf2/arr-stride.exp: New file.
14611
14612 2014-02-26  Pedro Alves  <palves@redhat.com>
14613
14614         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14615         that won't ever trigger.  Make sure that GDB reports the correct
14616         breakpoint that caused the stop.
14617
14618 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14619
14620         PR gdb/16626
14621         * gdb.base/auto-load-script: New file.
14622         * gdb.base/auto-load.c: New file.
14623         * gdb.base/auto-load.exp: New file.
14624
14625         PR gdb/16626
14626         * gdb.base/auto-load.exp: Fix out-of-srctree run.
14627
14628 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14629
14630         Fix dw2-icycle.exp -fsanitize=address GDB crash.
14631         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14632
14633 2014-02-24  Doug Evans  <dje@google.com>
14634
14635         * lib/gdb.exp (run_on_host): Log error output if program fails.
14636
14637 2014-02-21  Pedro Alves  <palves@redhat.com>
14638
14639         * gdb.threads/step-after-sr-lock.c: Rename to ...
14640         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14641         * gdb.threads/step-after-sr-lock.exp: Rename to ...
14642         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14643         ... this.
14644
14645 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
14646
14647         PR tdep/16397
14648         * gdb.arch/amd64-stap-special-operands.exp: New file.
14649         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14650         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14651         * gdb.arch/amd64-stap-triplet.S: Likewise.
14652         * gdb.arch/amd64-stap-triplet.c: Likewise.
14653
14654 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
14655
14656         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14657         in .section pseudo-op.
14658
14659 2014-02-20  lin zuojian  <manjian2006@gmail.com>
14660             Joel Brobecker  <brobecker@adacore.com>
14661             Doug Evans  <xdje42@gmail.com>
14662
14663         PR symtab/16581
14664         * gdb.dwarf2/dw2-icycle.S: New file.
14665         * gdb.dwarf2/dw2-icycle.c: New file.
14666         * gdb.dwarf2/dw2-icycle.exp: New file.
14667
14668 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
14669
14670         * gdb.python/py-value-cc.cc: Improve test case to enable testing
14671         operations on gdb.Value objects.
14672         * gdb.python/py-value-cc.exp: Add new test to test operations on
14673         gdb.Value objects.
14674
14675 2014-02-18  Doug Evans  <dje@google.com>
14676
14677         * Makefile.in (TESTS): New variable.
14678         (expanded_tests, expanded_tests_or_none): New variables
14679         (check-single): Pass $(expanded_tests_or_none) to runtest.
14680         (check-parallel): Only run tests in $(TESTS) if non-empty.
14681         (check/no-matching-tests-found): New rule.
14682         * README: Document TESTS makefile variable.
14683
14684 2014-02-18  Doug Evans  <dje@google.com>
14685
14686         * Makefile.in (check-parallel): rm -rf outputs temp.
14687
14688 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
14689
14690         Fix "ERROR: no fileid for" in the testsuite.
14691         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14692
14693 2014-02-12  Doug Evans  <dje@google.com>
14694
14695         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14696         (MISCELLANEOUS): New variable.
14697         (clean): rm -rf $(MISCELLANEOUS).
14698         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14699         dwp live in the same directory as symlinks, with each symlink pointed
14700         to a differently named file in a different directory.
14701
14702 2014-02-11  Doug Evans  <dje@google.com>
14703
14704         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14705         of Tcl file commands.
14706
14707 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
14708
14709         * gdb.threads/step-after-sr-lock.exp: Avoid executing
14710         "kill -SIGUSR1 -1".
14711
14712 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
14713
14714         * gdb.ada/tick_length_array_enum_idx: New testcase.
14715
14716 2014-02-10  Doug Evans  <xdje42@gmail.com>
14717
14718         * configure.ac (AC_OUTPUT): Add gdb.guile.
14719         * configure: Regenerate.
14720         * lib/gdb-guile.exp: New file.
14721         * lib/gdb.exp (get_target_charset): New function.
14722         * gdb.base/help.exp: Update expected output from "apropos apropos".
14723         * gdb.guile/Makefile.in: New file.
14724         * gdb.guile/guile.exp: New file.
14725         * gdb.guile/scm-arch.c: New file.
14726         * gdb.guile/scm-arch.exp: New file.
14727         * gdb.guile/scm-block.c: New file.
14728         * gdb.guile/scm-block.exp: New file.
14729         * gdb.guile/scm-breakpoint.c: New file.
14730         * gdb.guile/scm-breakpoint.exp: New file.
14731         * gdb.guile/scm-disasm.c: New file.
14732         * gdb.guile/scm-disasm.exp: New file.
14733         * gdb.guile/scm-equal.c: New file.
14734         * gdb.guile/scm-equal.exp: New file.
14735         * gdb.guile/scm-error.exp: New file.
14736         * gdb.guile/scm-error.scm: New file.
14737         * gdb.guile/scm-frame-args.c: New file.
14738         * gdb.guile/scm-frame-args.exp: New file.
14739         * gdb.guile/scm-frame-args.scm: New file.
14740         * gdb.guile/scm-frame-inline.c: New file.
14741         * gdb.guile/scm-frame-inline.exp: New file.
14742         * gdb.guile/scm-frame.c: New file.
14743         * gdb.guile/scm-frame.exp: New file.
14744         * gdb.guile/scm-generics.exp: New file.
14745         * gdb.guile/scm-gsmob.exp: New file.
14746         * gdb.guile/scm-iterator.c: New file.
14747         * gdb.guile/scm-iterator.exp: New file.
14748         * gdb.guile/scm-math.c: New file.
14749         * gdb.guile/scm-math.exp: New file.
14750         * gdb.guile/scm-objfile-script-gdb.in: New file.
14751         * gdb.guile/scm-objfile-script.c: New file.
14752         * gdb.guile/scm-objfile-script.exp: New file.
14753         * gdb.guile/scm-objfile.c: New file.
14754         * gdb.guile/scm-objfile.exp: New file.
14755         * gdb.guile/scm-ports.exp: New file.
14756         * gdb.guile/scm-pretty-print.c: New file.
14757         * gdb.guile/scm-pretty-print.exp: New file.
14758         * gdb.guile/scm-pretty-print.scm: New file.
14759         * gdb.guile/scm-section-script.c: New file.
14760         * gdb.guile/scm-section-script.exp: New file.
14761         * gdb.guile/scm-section-script.scm: New file.
14762         * gdb.guile/scm-symbol.c: New file.
14763         * gdb.guile/scm-symbol.exp: New file.
14764         * gdb.guile/scm-symtab-2.c: New file.
14765         * gdb.guile/scm-symtab.c: New file.
14766         * gdb.guile/scm-symtab.exp: New file.
14767         * gdb.guile/scm-type.c: New file.
14768         * gdb.guile/scm-type.exp: New file.
14769         * gdb.guile/scm-value-cc.cc: New file.
14770         * gdb.guile/scm-value-cc.exp: New file.
14771         * gdb.guile/scm-value.c: New file.
14772         * gdb.guile/scm-value.exp: New file.
14773         * gdb.guile/source2.scm: New file.
14774         * gdb.guile/types-module.cc: New file.
14775         * gdb.guile/types-module.exp: New file.
14776
14777 2014-02-10  Yao Qi  <yao@codesourcery.com>
14778
14779         PR testsuite/16543
14780         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14781         * configure: Regenerated.
14782         * Makefile.in: New file.
14783
14784 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
14785
14786         * gdb.python/py-framefilter.exp: Fix typo.
14787
14788 2014-02-08  Yao Qi  <yao@codesourcery.com>
14789
14790         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14791         that no =breakpoint-modified is emitted when breakpoints are
14792         modified through MI commands.
14793
14794 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
14795             Pedro Alves  <palves@redhat.com>
14796
14797         * gdb.threads/step-after-sr-lock.c: New file.
14798         * gdb.threads/step-after-sr-lock.exp: New file.
14799
14800 2014-02-07  Pedro Alves  <palves@redhat.com>
14801
14802         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14803
14804 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
14805
14806         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14807         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14808
14809 2014-02-06  Doug Evans  <xdje42@gmail.com>
14810
14811         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14812         output.
14813
14814         * gdb.gdb/python-interrupts.exp: New file.
14815
14816 2014-02-05  Yao Qi  <yao@codesourcery.com>
14817
14818         * gdb.trace/report.exp (use_collected_data): Test the output
14819         of "info threads" and "info inferiors".
14820
14821 2014-02-05  Yao Qi  <yao@codesourcery.com>
14822
14823         Revert this patch:
14824
14825         2013-05-24  Yao Qi  <yao@codesourcery.com>
14826
14827         * gdb.trace/tfile.exp: Test inferior and thread.
14828
14829 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14830
14831         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14832         on a function.
14833         * gdb.base/step-bt.c: Call hello via function pointer to make
14834         sure its first instruction is executed on powerpc64le-linux.
14835
14836 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14837
14838         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14839
14840 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14841
14842         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
14843         of the test patterns for use on little-endian systems.
14844
14845 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14846
14847         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14848         (decimal_vector): Fix for little-endian.
14849
14850 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
14851
14852         * gdb.arch/sparc-sysstep.exp: New file.
14853         * gdb.arch/sparc-sysstep.c: Likewise.
14854
14855         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14856
14857 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
14858
14859         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14860
14861 2014-01-23  Tom Tromey  <tromey@redhat.com>
14862
14863         * gdb.ada/array_char_idx: New testcase.
14864
14865 2014-01-23  Tom Tromey  <tromey@redhat.com>
14866
14867         PR python/16487:
14868         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14869         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14870         classes.
14871
14872 2014-01-23  Tom Tromey  <tromey@redhat.com>
14873
14874         PR python/16491:
14875         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14876         string from an inferior frame.
14877         * gdb.python/py-framefilter-mi.exp: Update.
14878
14879 2014-01-22  Doug Evans  <dje@google.com>
14880
14881         * gdb.server/server-mon.exp: Add tests for "set debug-format".
14882
14883 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14884
14885         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
14886
14887 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14888
14889         * gdb.trace/entry-values.exp: Remove excess space character from
14890         regex patterns.  Handle s390 call instruction.
14891
14892 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14893
14894         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
14895         define "*_start" label.  Make "name" static.
14896         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
14897         ${name} by references to ${name}_start.
14898
14899 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14900
14901         * gdb.base/info-macros.exp: Remove "debug" from the compile
14902         options.
14903
14904 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
14905
14906         * gdb.dlang/demangle.exp: New file.
14907
14908 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
14909
14910         * gdb.dlang/primitive-types.exp: New file.
14911
14912 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
14913
14914         * configure.ac: Create gdb.dlang/Makefile.
14915         * configure: Regenerate.
14916         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
14917         * gdb.dlang/Makefile.in: New file.
14918         * lib/d-support.exp: New file.
14919         * lib/gdb.exp (skip_d_tests): New proc.
14920
14921 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14922
14923         * gdb.btrace/delta.exp: Check reverse stepi.
14924         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
14925         * gdb.btrace/finish.exp: New.
14926         * gdb.btrace/next.exp: New.
14927         * gdb.btrace/nexti.exp: New.
14928         * gdb.btrace/record_goto.c: Add comments.
14929         * gdb.btrace/step.exp: New.
14930         * gdb.btrace/stepi.exp: New.
14931         * gdb.btrace/multi-thread-step.c: New.
14932         * gdb.btrace/multi-thread-step.exp: New.
14933         * gdb.btrace/rn-dl-bind.c: New.
14934         * gdb.btrace/rn-dl-bind.exp: New.
14935         * gdb.btrace/data.c: New.
14936         * gdb.btrace/data.exp: New.
14937         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14938
14939 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14940
14941         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
14942         * gdb.btrace/exception.exp: Update.
14943         * gdb.btrace/instruction_history.exp: Update.
14944         * gdb.btrace/record_goto.exp: Update.
14945         * gdb.btrace/tailcall.exp: Update.
14946         * gdb.btrace/unknown_functions.exp: Update.
14947         * gdb.btrace/delta.exp: New.
14948
14949 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14950
14951         * gdb.btrace/record_goto.exp: Add backtrace test.
14952         * gdb.btrace/tailcall.exp: Add backtrace test.
14953
14954 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14955
14956         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
14957         * gdb.btrace/record_goto.c: New.
14958         * gdb.btrace/record_goto.exp: New.
14959         * gdb.btrace/x86-record_goto.S: New.
14960
14961 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14962
14963         * gdb.btrace/function_call_history.exp: Update tests.
14964         * gdb.btrace/instruction_history.exp: Update tests.
14965
14966 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14967
14968         * gdb.btrace/function_call_history.exp: Fix expected field
14969         order for "record function-call-history".
14970         Add new tests for "record function-call-history /c".
14971         * gdb.btrace/exception.cc: New.
14972         * gdb.btrace/exception.exp: New.
14973         * gdb.btrace/tailcall.exp: New.
14974         * gdb.btrace/x86-tailcall.S: New.
14975         * gdb.btrace/x86-tailcall.c: New.
14976         * gdb.btrace/unknown_functions.c: New.
14977         * gdb.btrace/unknown_functions.exp: New.
14978         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14979
14980 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14981
14982         * gdb.btrace/instruction_history.exp: Update.
14983         * gdb.btrace/function_call_history.exp: Update.
14984
14985 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14986
14987         * gdb.btrace/function_call_history.exp: Fix expected function
14988         trace.
14989         * gdb.btrace/instruction_history.exp: Initialize traced.
14990         Remove traced_functions.
14991
14992 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14993
14994         * gdb.btrace/function_call_history.exp: Update
14995         * gdb.btrace/instruction_history.exp: Update.
14996
14997 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14998
14999         * gdb.btrace/enable.exp: Update expected text.
15000
15001 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
15002
15003         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
15004         bytes.
15005
15006 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
15007
15008         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
15009
15010 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
15011
15012         * lib/gdb.exp (supports_process_record): Return true for
15013         arm*-linux*.  (supports_reverse): Likewise.
15014
15015 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
15016
15017         PR python/15464
15018         PR python/16113
15019         * gdb.python/py-type.c: Enhance test case.
15020         * gdb.python/py-value-cc.cc: Likewise
15021         * gdb.python/py-type.exp: Add new tests.
15022         * gdb.python/py-value-cc.exp: Likewise
15023
15024 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15025             Pedro Alves <palves@redhat.com>
15026
15027         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15028         Make "name" extern.
15029         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15030         references to ${name}_start by references to ${name}.
15031
15032 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15033
15034         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15035
15036 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15037
15038         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15039
15040 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
15041             Pedro Alves  <palves@redhat.com>
15042
15043         * gdb.mi/mi-info-os.exp: Connect to the target with
15044         mi_gdb_target_load.
15045
15046 2014-01-08  Pedro Alves  <palves@redhat.com>
15047
15048         * gdb.threads/reconnect-signal.c: New file.
15049         * gdb.threads/reconnect-signal.exp: New file.
15050
15051 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
15052
15053         * gdb.base/source-dir.exp: New file.
15054
15055 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15056
15057         * gdb.ada/mi_interface: New testcase.
15058
15059 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15060
15061         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
15062         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
15063         gdb.ada/pp-rec-component/pck.ads: New files.
15064
15065 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15066
15067         * gdb.python/py-pp-integral.c: New file.
15068         * gdb.python/py-pp-integral.py: New file.
15069         * gdb.python/py-pp-integral.exp: New file.
15070
15071 For older changes see ChangeLog-1993-2013.
15072 \f
15073 ;; Local Variables:
15074 ;; mode: change-log
15075 ;; left-margin: 8
15076 ;; fill-column: 74
15077 ;; version-control: never
15078 ;; End:
15079
15080     Copyright 2014-2018 Free Software Foundation, Inc.
15081   Copying and distribution of this file, with or without modification,
15082   are permitted provided the copyright notice and this notice are preserved.