Reading signal handler frame in AIX
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2018-11-01  Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
2
3         * gdb.arch/aix-sighandle.c: New file.
4         * gdb.arch/aix-sighandle.exp: New file.
5
6 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
7
8         * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
9         registers being unions.
10
11 2018-10-31  Tom de Vries  <tdevries@suse.de>
12
13         * lib/valgrind.exp: New file.
14          (vgdb_start, vgdb_stop): New procs, factored out of ...
15         * gdb.base/valgrind-bt.exp: ... here, ...
16         * gdb.base/valgrind-disp-step.exp: ... here and ...
17         * gdb.base/valgrind-infcall.exp: ... here.
18
19 2018-10-31  Tom de Vries  <tdevries@suse.de>
20
21         * lib/gdb.exp (get_valueof): Don't output read value in test name.
22
23 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
24
25         * gdb.dwarf2/void-type.c: New file.
26         * gdb.dwarf2/void-type.exp: New file.
27
28 2018-10-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
29
30         * gdb.base/info_qt.c: New file.
31         * gdb.base/info_qt.exp: New file.
32
33 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
34
35         * gdb.arch/powerpc-htm-regs.c: New file.
36         * gdb.arch/powerpc-htm-regs.exp: New file.
37
38 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
39
40         * gdb.arch/powerpc-tar.c: New file.
41         * gdb.arch/powerpc-tar.exp: New file.
42
43 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
44
45         * gdb.arch/powerpc-ppr-dscr.c: New file.
46         * gdb.arch/powerpc-ppr-dscr.exp: New file.
47
48 2018-10-25  Tom de Vries  <tdevries@suse.de>
49
50         * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
51
52 2018-10-24  Tom de Vries  <tdevries@suse.de>
53
54         * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
55         longer exists error.
56
57 2018-10-24  Tom de Vries  <tdevries@suse.de>
58
59         * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
60
61 2018-10-24  Tom de Vries  <tdevries@suse.de>
62
63         * gdb.base/valgrind-db-attach.exp: Handle removed support for
64         --db-attach in valgrind.
65
66 2018-10-23  Andrew Burgess  <andrew.burgess@embecosm.com>
67
68         * gdb.arch/riscv-reg-aliases.c: New file.
69         * gdb.arch/riscv-reg-aliases.exp: New file.
70
71 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
72
73         * gdb.python/py-cmd.exp: Check for gdb_prompt.
74
75 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
76
77         * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
78
79 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
80
81         * gdb.cp/ovldbreak.exp: Fix regexps.
82
83 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
84
85         * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
86
87 2018-10-18  Sergio Durigan Junior  <sergiodj@redhat.com>
88
89         PR cli/23785
90         * gdb.base/restore.exp: New test to check if "restore" with an
91         invalid file doesn't segfault.
92
93 2018-10-18  Tom de Vries  <tdevries@suse.de>
94
95         * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
96         * gdb.ada/excep_handle.exp: Same.
97         * gdb.ada/mi_string_access.exp: Same.
98         * gdb.ada/mi_var_union.exp: Same.
99         * gdb.arch/arc-analyze-prologue.exp: Same.
100         * gdb.arch/arc-decode-insn.exp: Same.
101         * gdb.base/readnever.exp: Same.
102         * gdb.fortran/printing-types.exp: Same.
103         * gdb.guile/scm-lazy-string.exp: Same.
104
105 2018-10-16  Tom de Vries  <tdevries@suse.de>
106
107         PR gdb/23730
108         * gdb.base/catch-follow-exec.c: Add copyright notice.
109         * gdb.base/catch-follow-exec.exp: Rewrite to use
110         gdb_spawn_with_cmdline_opts.  Require gdb-native.
111
112 2018-10-12  Sandra Loosemore  <sandra@codesourcery.com>
113
114         * gdb.trace/actions-changed.exp: Check for arch support.
115         * gdb.trace/actions.exp: Likewise.
116         * gdb.trace/ax.exp: Likewise.
117         * gdb.trace/backtrace.exp: Likewise.
118         * gdb.trace/change-loc.exp: Likewise.
119         * gdb.trace/deltrace.exp: Likewise.
120         * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
121         * gdb.trace/ftrace.exp: Likewise.
122         * gdb.trace/infotrace.exp: Check for arch support.
123         * gdb.trace/mi-trace-frame-collected.exp: Likewise.
124         * gdb.trace/mi-tracepoint-changed.exp: Likewise.
125         * gdb.trace/mi-tsv-changed.exp: Likewise.
126         * gdb.trace/packetlen.exp: Likewise.
127         * gdb.trace/passc-dyn.exp: Likewise.
128         * gdb.trace/passcount.exp: Likewise.
129         * gdb.trace/pending.exp: Likewise.
130         * gdb.trace/range-stepping.exp: Check for shlib support.
131         * gdb.trace/report.exp: Check for arch support.
132         * gdb.trace/save-trace.exp: Likewise.
133         * gdb.trace/signal.exp: Check for signal support.
134         * gdb.trace/tfind.exp: Check for arch support.
135         * gdb.trace/trace-break.exp: Check for arch and shlib support.
136         * gdb.trace/trace-common.h: Add comment.
137         * gdb.trace/trace-condition.exp: Check for shlib and arch support.
138         * gdb.trace/trace-enable-disable.exp: Likewise.
139         * gdb.trace/trace-mt.exp: Likewise.  Remove redundant untested call.
140         * gdb.trace/tracecmd.exp: Check for arch support.
141         * gdb.trace/tspeed.exp: Check for shlib and target support.
142         * gdb.trace/tstatus.exp: Check for arch support.
143         * gdb.trace/tsv.exp: Likewise.
144         * gdb.trace/while-dyn.exp: Likewise.
145         * gdb.trace/while-stepping.exp: Likewise.
146         * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
147
148 2018-10-12  Simon Marchi  <simon.marchi@ericsson.com>
149
150         * gdb.trace/tspeed.exp: Remove nowarnings.
151         (prepare_for_trace_test): Declare "global ipalib".
152         * gdb.trace/tspeed.c: Include unistd.h.
153         (main): Remove superfluous printf argument.
154
155 2018-10-11  Sandra Loosemore  <sandra@codesourcery.com>
156
157         * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
158         directory prefix on the filename.
159
160 2018-10-10  Sergio Durigan Junior  <sergiodj@redhat.com>
161
162         * gdb.gdb/unittest.exp: Update expected message informing that
163         selftests have been disabled.
164         * gdb.server/unittest.exp: Likewise.
165
166 2018-10-09  Tom de Vries  <tdevries@suse.de>
167
168         * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
169         with runto_main.
170
171 2018-10-08  Weimin Pan  <weimin.pan@oracle.com>
172
173         PR c++/16841
174         * gdb.cp/virtbase2.cc: New file.
175         * gdb.cp/virtbase2.exp: New file.
176
177 2018-10-06  Tom Tromey  <tom@tromey.com>
178
179         PR python/19399:
180         * gdb.python/py-inferior.exp: Add architecture test.
181
182 2018-10-06  Tom Tromey  <tom@tromey.com>
183
184         * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
185         * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
186
187 2018-10-06  Tom Tromey  <tom@tromey.com>
188
189         * gdb.python/py-breakpoint.exp (check_last_event): Check location
190         of a "throw" catchpoint.
191
192 2018-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>
193
194         * gdb.base/info-proc.exp: Update string expected from "help info
195         proc".
196
197 2018-10-04  Tom Tromey  <tom@tromey.com>
198
199         * gdb.cp/maint.exp (test_invalid_name): Update expected output.
200         * gdb.gdb/complaints.exp (test_short_complaints): Remove.
201         (test_initial_complaints, test_empty_complaints): Update.
202         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
203
204 2018-10-04  Tom Tromey  <tom@tromey.com>
205
206         PR cli/19551:
207         * lib/mi-support.exp (mi_gdb_file_cmd): Update.
208         * lib/gdb.exp (gdb_file_cmd): Update.
209         * gdb.stabs/weird.exp (print_weird_var): Update.
210         * gdb.server/solib-list.exp: Update.
211         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
212         * gdb.mi/mi-cli.exp: Update.
213         * gdb.linespec/linespec.exp: Update.
214         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
215         * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
216         * gdb.cp/cp-relocate.exp: Update.
217         * gdb.base/sym-file.exp: Update.
218         * gdb.base/relocate.exp: Update.
219         * gdb.base/readnever.exp: Update.
220         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
221         * gdb.base/kill-detach-inferiors-cmd.exp: Update.
222         * gdb.base/dbx.exp (gdb_file_cmd): Update.
223         * gdb.base/code_elim.exp: Update.
224         * gdb.base/break-unload-file.exp (test_break): Update.
225         * gdb.base/break-interp.exp (test_attach_gdb): Update.
226         * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
227         Update.
228         * gdb.base/attach.exp (do_attach_tests): Update.
229         * gdb.base/sepdebug.exp: Update.
230         * gdb.python/py-section-script.exp: Update.
231
232 2018-10-04  Tom Tromey  <tom@tromey.com>
233
234         PR cli/22234:
235         * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
236         * gdb.gdb/complaints.exp (test_short_complaints): Update expected
237         output.
238
239 2018-10-04  Tom Tromey  <tom@tromey.com>
240
241         * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
242         set width and height to 0.
243         (test_command_line_attach_run): Use -quiet.
244
245 2018-10-03  Sandra Loosemore  <sandra@codesourcery.com>
246
247         * lib/gdb.exp (skip_ifunc_tests): New.
248         * gdb.base/gnu-ifunc.exp: Skip if no ifunc support.  Handle
249         other compile failures.
250         * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
251
252 2018-10-01  Simon Marchi  <simon.marchi@ericsson.com>
253
254         * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
255         is_amd64_regs_target.
256
257 2018-10-01  Alan Hayward  <alan.hayward@arm.com>
258
259         * gdb.arch/aarch64-sighandler-regs.c: New test.
260         * gdb.arch/aarch64-sighandler-regs.exp: New file.
261         * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
262
263 2018-10-01  Markus Metzger  <markus.t.metzger@intel.com>
264
265         * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
266         assembly.
267
268 2018-09-28  Andrew Burgess  <andrew.burgess@embecosm.com>
269
270         * gdb.base/frame-selection.exp: New file.
271         * gdb.base/frame-selection.c: New file.
272
273 2018-09-27  Alan Hayward  <alan.hayward@arm.com>
274
275         * gdb.threads/check-libthread-db.c (thread_routine): Use a
276         pthread barrier.
277         (main): Likewise.
278
279 2018-09-26  Andrew Burgess  <andrew.burgess@embecosm.com>
280
281         * gdb.base/large-frame-1.c: New file.
282         * gdb.base/large-frame-2.c: New file.
283         * gdb.base/large-frame.exp: New file.
284         * gdb.base/large-frame.h: New file.
285
286 2018-09-24  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
287
288         PR gdb/20948
289         * gdb.base/write_mem.exp: New test.
290         * gdb.base/write_mem.c: Likewise.
291
292 2018-09-23  Tom Tromey  <tom@tromey.com>
293
294         PR python/18852:
295         * gdb.python/py-parameter.exp: Add test for parameter that throws
296         on "set".
297
298 2018-09-23  Tom Tromey  <tom@tromey.com>
299
300         PR python/17284:
301         * gdb.python/py-template.exp (test_template_arg): Add test for
302         negative template argument number.
303
304 2018-09-23  Tom Tromey  <tom@tromey.com>
305
306         PR python/14062:
307         * gdb.python/python.exp: Add test for post_event error.
308
309 2018-09-23  Tom Tromey  <tom@tromey.com>
310
311         PR python/18170:
312         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
313         convert pointers to int and long.
314
315 2018-09-23  Tom Tromey  <tom@tromey.com>
316
317         PR python/20126:
318         * gdb.python/py-value.exp (test_value_numeric_ops): Add
319         signed-ness conversion tests.
320
321 2018-09-23  Tom Tromey  <tom@tromey.com>
322
323         PR python/18352;
324         * gdb.python/py-value.exp (test_float_conversion): New proc.
325         Use it.
326
327 2018-09-20  Hafiz Abid Qadeer  <abidh@codesourcery.com>
328
329         gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
330
331 2018-09-18  Sandra Loosemore  <sandra@codesourcery.com>
332
333         * gdb.base/complete-empty.exp: Skip tab-completion tests if
334         no readline.
335         * gdb.base/utf8-identifiers.exp: Likewise.
336         * gdb.cp/cpcompletion.exp: Likewise.
337         * gdb.linespec/cpcompletion.exp: Likewise.
338         * gdb.linespec/cpls-abi-tag.exp: Likewise.
339         * gdb.linespec/cpls-ops.exp: Likewise.
340
341 2018-09-19  Richard Bunt  <richard.bunt@arm.com>
342             Chris January  <chris.january@arm.com>
343
344         * gdb.cp/koenig.exp: Extend to test logical short circuiting.
345         * gdb.fortran/short-circuit-argument-list.exp: New file.
346         * gdb.fortran/short-circuit-argument-list.f90: New test.
347
348 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
349
350         * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
351         "arch=" keyword when executing "-stack-list-frames".
352
353 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
354
355         * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
356         "arch=" keyword when executing "-stack-list-frames".
357
358 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
359
360         * gdb.ada/complete.exp: Expect for "@" when doing "complete
361         break ada".
362
363 2018-09-17  Simon Marchi  <simon.marchi@polymtl.ca>
364
365         PR python/23669
366         * gdb.python/python.exp: Test gdb.execute("show commands").
367
368 2018-09-16  Tom Tromey  <tom@tromey.com>
369
370         * gdb.base/new-ui.exp (do_execution_tests): Update.
371         * gdb.base/dbx.exp (test_breakpoints): Update.
372
373 2018-09-14  Alan Hayward  <alan.hayward@arm.com>
374
375         * lib/gdb.exp (gdb_simple_compile): Add proc.
376         (is_elf_target): Use gdb_simple_compile.
377         (skip_altivec_tests): Likewise.
378         (skip_vsx_tests): Likewise.
379         (skip_tsx_tests): Likewise.
380         (skip_btrace_tests): Likewise.
381         (skip_btrace_pt_tests): Likewise.
382         (gdb_can_simple_compile): Likewise.
383         (gdb_has_argv0): Likewise.
384         (gdb_target_symbol_prefix): Likewise.
385         (target_supports_scheduler_locking): Likewise.
386
387 2018-09-13  Tom Tromey  <tom@tromey.com>
388
389         * Makefile.in (TAGS): Recognize proc_with_prefix and
390         gdb_caching_proc.
391
392 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
393
394         * gdb.python/py-progspace.exp: Test the Progspace.objfiles
395         method.
396
397 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
398
399         * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
400         and a few other Inferior properties when the Inferior is no
401         longer valid.
402
403 2018-09-13  Tom Tromey  <tom@tromey.com>
404
405         PR rust/23650:
406         * gdb.rust/simple.exp: Add test for enum field access error.
407
408 2018-09-13  Tom Tromey  <tom@tromey.com>
409
410         PR rust/23626:
411         * gdb.rust/simple.rs (EmptyEnum): New type.
412         (main): Use it.
413         * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
414
415 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
416
417         * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
418         * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
419         * gdb.python/py-symtab.exp: Update test printing an objfile.
420
421 2018-09-12  Simon Marchi  <simon.marchi@ericsson.com>
422
423         * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
424         object.
425
426 2018-09-12  Alan Hayward  <alan.hayward@arm.com>
427
428         * lib/gdb.exp (gdb_can_simple_compile): Add proc.
429         (support_complex_tests): Use gdb_can_simple_compile.
430         (is_ilp32_target): Likewise.
431         (is_lp64_target): Likewise.
432         (is_64_target): Likewise.
433         (is_amd64_regs_target): Likewise.
434         (is_aarch32_target): Likewise.
435         (gdb_int128_helper): Likewise.
436
437 2018-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
438
439         * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
440
441 2018-09-10  Jerome Guitton  <guitton@adacore.com>
442
443         * gdb.ada/same_component_name: Add test for case of tagged record
444         with variable-length fields.
445
446 2018-09-10  Xavier Roirand  <roirand@adacore.com>
447
448         * gdb.ada/access_to_unbounded_array.exp: New testcase.
449         * gdb.ada/access_to_unbounded_array/foo.adb: New file.
450         * gdb.ada/access_to_unbounded_array/pack.adb: New file.
451         * gdb.ada/access_to_unbounded_array/pack.ads: New file.
452
453 2018-09-10  Xavier Roirand  <roirand@adacore.com>
454
455         * gdb.ada/mi_string_access.exp: New testcase.
456         * gdb.ada/mi_string_access/bar.adb: New file.
457         * gdb.ada/mi_string_access/pck.adb: New file.
458         * gdb.ada/mi_string_access/pck.asd: New file.
459
460 2018-09-10  Xavier Roirand  <roirand@adacore.com>
461
462         * gdb.ada/mi_var_union.exp: New testcase.
463         * gdb.ada/mi_var_union/bar.adb: New file.
464         * gdb.ada/mi_var_union/pck.adb: New file.
465         * gdb.ada/mi_var_union/pck.asd: New file.
466
467 2018-09-08  Tom Tromey  <tom@tromey.com>
468
469         * gdb.python/py-prettyprint.exp: Use with_test_prefix.
470
471 2018-09-08  Tom Tromey  <tom@tromey.com>
472
473         PR python/16047:
474         * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
475         (register_pretty_printers): Register new printer.
476         * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
477         test.
478         * gdb.python/py-prettyprint.c (int_type3): New typedef.
479         (an_int_type3): New global.
480
481 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
482
483         * gdb.ada/expr_with_funcall: New testcase.
484
485 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
486
487         * gdb.ada/packed_array_assign: New testcase.
488
489 2018-09-07  Andrew Burgess  <andrew.burgess@embecosm.com>
490
491         * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
492         names, and add test prefixes to make test names unique.
493
494 2018-09-05  Tom de Vries  <tdevries@suse.de>
495
496         * gdb.dwarf2/varval.exp: Add test.
497
498 2018-09-04  Gary Benson <gbenson@redhat.com>
499
500         * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
501         'eof' before 'wait -i'.  Use remote_close and clear_gdb_spawn_id.
502
503 2018-08-31  Tom Tromey  <tom@tromey.com>
504
505         * gdb.rust/simple.rs: Rename second variable "v".
506
507 2018-08-30  Andrew Burgess  <andrew.burgess@embecosm.com>
508
509         * gdb.base/funcargs.c (use_a): New function.
510         (recurse): Call use_a.
511
512 2018-08-29  Keith Seitz  <keiths@redhat.com>
513
514         * gdb.compile/compile-cplus-anonymous.cc: New file.
515         * gdb.compile/compile-cplus-anonymous.exp: New file.
516         * gdb.compile/compile-cplus-array-decay.cc: New file.
517         * gdb.compile/compile-cplus-array-decay.exp: New file.
518         * gdb.compile/compile-cplus-inherit.cc: New file.
519         * gdb.compile/compile-cplus-inherit.exp: New file.
520         * gdb.compile/compile-cplus-member.cc: New file.
521         * gdb.compile/compile-cplus-member.exp: New file.
522         * gdb.compile/compile-cplus-method.cc: New file.
523         * gdb.compile/compile-cplus-method.exp: New file.
524         * gdb.compile/compile-cplus-mod.c: "New" file.
525         * gdb.compile/compile-cplus-namespace.cc: New file.
526         * gdb.compile/compile-cplus-namespace.exp: New file.
527         * gdb.compile/compile-cplus-nested.cc: New file.
528         * gdb.compile/compile-cplus-nested.exp: New file.
529         * gdb.compile/compile-cplus-print.c: "New" file.
530         * gdb.compile/compile-cplus-print.exp: "New" file.
531         * gdb.compile/compile-cplus-virtual.cc: New file.
532         * gdb.compile/compile-cplus-virtual.exp: New file.
533         * gdb.compile/compile-cplus.c: "New" file.
534         * gdb.compile/compile-cplus.exp: "New" file.
535         * lib/compile-support.exp: New file.
536
537 2018-08-16  Gary Benson <gbenson@redhat.com>
538
539         PR gdb/13000:
540         * gdb.base/batch-exit-status.exp: New file.
541         * gdb.base/batch-exit-status.good-commands: Likewise.
542         * gdb.base/batch-exit-status.bad-commands: Likewise.
543
544 2018-08-29  Alan Hayward  <alan.hayward@arm.com>
545
546         * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
547         (struct struct02): Likewise.
548         (struct struct03): Likewise.
549         (struct struct04): Likewise.
550         (struct struct_01_01): New struct.
551         (struct struct_01_02): Likewise.
552         (struct struct_01_03): Likewise.
553         (struct struct_01_04): Likewise.
554         (struct struct_02_01): Likewise.
555         (struct struct_02_02): Likewise.
556         (struct struct_02_03): Likewise.
557         (struct struct_02_04): Likewise.
558         (struct struct_04_01): Likewise.
559         (struct struct_04_02): Likewise.
560         (struct struct_04_03): Likewise.
561         (struct struct_04_04): Likewise.
562         (struct struct_05_01): Likewise.
563         (struct struct_05_02): Likewise.
564         (struct struct_05_03): Likewise.
565         (struct struct_05_04): Likewise.
566         (cmp_struct01): Remove function.
567         (cmp_struct02): Likewise.
568         (cmp_struct03): Likewise.
569         (cmp_struct04): Likewise.
570         (cmp_struct_01_01): Add Function.
571         (cmp_struct_01_02): Likewise.
572         (cmp_struct_01_03): Likewise.
573         (cmp_struct_01_04): Likewise.
574         (cmp_struct_02_01): Likewise.
575         (cmp_struct_02_02): Likewise.
576         (cmp_struct_02_03): Likewise.
577         (cmp_struct_02_04): Likewise.
578         (cmp_struct_04_01): Likewise.
579         (cmp_struct_04_02): Likewise.
580         (cmp_struct_04_03): Likewise.
581         (cmp_struct_04_04): Likewise.
582         (cmp_struct_05_01): Likewise.
583         (cmp_struct_05_02): Likewise.
584         (cmp_struct_05_03): Likewise.
585         (cmp_struct_05_04): Likewise.
586         (call_all): Add new structs.
587         * gdb.base/infcall-nested-structs.exp: Likewise.
588
589 2018-08-27  Jan Vrany  <jan.vrany@fit.cvut.cz>
590
591         * gdb.python/py-framefilter-mi.exp: Update regexp to
592         check for "arch" field in frame output.
593
594 2018-08-23  Kevin Buettner  <kevinb@redhat.com>
595
596         * gdb.dwarf2/dw2-ranges-func.c: New file.
597         * gdb.dwarf2/dw2-ranges-func.exp: New file.
598
599 2018-08-22  Simon Marchi  <simon.marchi@polymtl.ca>
600
601         * gdb.base/term.exp: Compare terminal settings with values from
602         the inferior.
603         * gdb.base/term.c: Get and set terminal settings.
604
605 2018-08-22  Jan Vrany  <jan.vrany@fit.cvut.cz>
606
607         * lib/mi-support.exp (mi_expect_stop): Update regexp to
608         accommodate new "arch" field in frame output.
609         * gdb.mi/mi-return.exp: Likewise.
610         * gdb.mi/mi-stack.exp: Likewise.
611         * gdb.mi/mi-syn-frame.exp: Likewise.
612         * gdb.mi/user-selected-context-sync.exp: Likewise.
613
614 2018-08-19  Michael Spang  <spang@google.com>
615
616         PR gdb/11786
617         * gdb.base/gcore-tls-pie.c: New file.
618         * gdb.base/gcore-tls-pie.exp: New file.
619
620 2018-08-18  Kevin Buettner  <kevinb@redhat.com>
621
622         * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
623         * gdb.dwarf2/varval.c: New file.
624         * gdb.dwarf2/varval.exp: New file.
625
626 2018-08-17  Alan Hayward  <alan.hayward@arm.com>
627
628         PR gdb/18931
629         * gdb.arch/aarch64-fp.c (main): Fix asm registers.
630
631 2018-08-16  Keith Seitz  <keiths@redhat.com>
632
633         * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
634         tests expected to pass.
635
636 2018-08-14  Jan Vrany  <jan.vrany@fit.cvut.cz>
637
638         * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
639         -data-disassemble -a.
640         (test_disassembly_bogus_args): Likewise.
641
642 2018-08-14  Andrew Burgess  <andrew.burgess@embecosm.com>
643
644         * gdb.mi/list-thread-groups-available.exp: Update test regexp.
645
646 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
647
648         * gdb.base/vla-optimized-out.exp: Add new test.
649
650 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
651
652         * gdb.base/vla-optimized-out-o3.exp: Delete.
653         * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
654         * gdb.base/vla-optimized-out.exp: Extend to cover all of the
655         deleted tests.
656
657 2018-08-08  Andrew Burgess  <andrew.burgess@embecosm.com>
658
659         PR gdb/18050:
660         * gdb.server/extended-remote-restart.c: New file.
661         * gdb.server/extended-remote-restart.exp: New file.
662
663 2018-08-07  Simon Marchi  <simon.marchi@polymtl.ca>
664
665         * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
666         "set variable index = 42".
667
668 2018-08-07  Simon Marchi  <simon.marchi@ericsson.com>
669
670         * boards/index-cache-gdb.exp: New file.
671         * gdb.dwarf2/index-cache.exp: New file.
672         * gdb.dwarf2/index-cache.c: New file.
673         * gdb.base/maint.exp: Check if we are using the index cache.
674
675 2018-08-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
676
677         * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
678         MAKEFLAGS.
679
680 2018-08-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
681
682         * dg-extract-results.sh: Move to toplevel contrib.
683         * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
684         * Makefile.in (check-parallel-racy): Likewise.
685
686 2018-08-06  Andrew Burgess  <andrew.burgess@embecosm.com>
687
688         * lib/gdb.exp (target_supports_scheduler_locking): New proc.
689         * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
690         tests if the target supports scheduler locking.
691
692 2018-08-04  Tom de Vries  <tdevries@suse.de>
693
694         * gdb.python/py-rbreak.exp: Fix rbreak regexp.
695
696 2018-08-02  Tom Tromey  <tom@tromey.com>
697
698         PR symtab/16842.
699         * gdb.cp/temargs.exp: Test "info address" of a template
700         parameter.
701
702 2018-07-31  Jan Vrany  <jan.vrany@fit.cvut.cz>
703
704         * gdb.python/py-mi-var-info-path-expression.c: New file.
705         * gdb.python/py-mi-var-info-path-expression.py: New file.
706         * gdb.python/py-mi-var-info-path-expression.exp: New file.
707
708 2018-07-30  Sergio Durigan Junior  <sergiodj@redhat.com>
709
710         * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
711         error after "cannot resolve name" string.
712
713 2018-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
714
715         * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
716         started.
717         * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
718
719 2018-07-28  Tom de Vries  <tdevries@suse.de>
720
721         * gdb.base/vla-optimized-out-o3-strict.exp: New file.
722
723 2018-07-26  Tom de Vries  <tdevries@suse.de>
724
725         * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
726
727 2018-07-26  Andrew Burgess  <andrew.burgess@embecosm.com>
728
729         * gdb.base/maint.exp: Add check that dwarf unwinders control flag
730         is visible.
731
732 2018-07-26  Tom de Vries  <tdevries@suse.de>
733
734         PR breakpoints/23366
735         * gdb.base/catch-follow-exec.c: New test.
736         * gdb.base/catch-follow-exec.exp: New file.
737
738 2018-07-25  Tom de Vries  <tdevries@suse.de>
739
740         * gdb.base/vla-optimized-out-o3.exp: New file.  Reuse
741         vla-optimized-out.c.
742
743 2018-07-25  Jan Vrany  <jan.vrany@fit.cvut.cz>
744
745         * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
746         * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
747
748 2018-07-20  Tom de Vries  <tdevries@suse.de>
749
750         * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
751         NOCLONE macro.
752         * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
753
754 2018-07-19  Tom de Vries  <tdevries@suse.de>
755
756         * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
757         regular expression.
758
759 2018-07-18  Tom de Vries  <tdevries@suse.de>
760
761         * gdb.base/vla-optimized-out.c: New test.
762         * gdb.base/vla-optimized-out.exp: New file.
763
764 2018-07-13  Sergio Durigan Junior  <sergiodj@redhat.com>
765
766         * lib/gdbserver-support.exp (gdbserver_start): Expect for the
767         message "No address associated with hostname" when gdbserver
768         cannot resolve the hostname.
769
770 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
771
772         * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
773         Add some test prefixes to make tests unique.
774
775 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
776
777         * gdb.base/frameapply.c: New file.
778         * gdb.base/frameapply.exp: New file.
779
780 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
781
782         * gdb.base/skip.exp: Update expected error message.
783
784 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
785             Jan Kratochvil  <jan.kratochvil@redhat.com>
786             Paul Fertser  <fercerpav@gmail.com>
787             Tsutomu Seki  <sekiriki@gmail.com>
788
789         * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
790         parameter.
791         * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
792         by default.
793         * boards/native-gdbserver.exp: Likewise.
794         * gdb.server/run-without-local-binary.exp: Improve regexp used
795         for detecting when a remote debugging connection succeeds.
796         * gdb.server/server-connect.exp: New file.
797         * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
798         Do not prefix the port number with ":".
799         (gdbserver_start): New global GDB_TEST_SOCKETHOST.  Implement
800         support for detecting and using it.  Add '$debughost_gdbserver'
801         to the list of arguments used to start gdbserver.  Handle case
802         when gdbserver cannot resolve a network name.
803
804 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
805
806         PR c++/23373
807         * gdb.base/ptype-offsets.cc (struct static_member): New
808         struct.
809         (main) <stmember>: New variable.
810         * gdb.base/ptype-offsets.exp: Add test for printing a struct
811         with a static member in it.
812
813 2018-07-10  Andrew Burgess  <andrew.burgess@embecosm.com>
814
815         * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
816         watchpoints enabled and disabled.
817
818 2018-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
819
820         * gdb.base/examine-backward.exp: Still run tests around address
821         0x0, even if address 0x0 is not readable.  Update the pattern for
822         matching address 0x0 in expected output.
823
824 2018-07-06  Andrew Burgess  <andrew.burgess@embecosm.com>
825
826         * gdb.base/share-env-with-gdbserver.c (main): Add call to
827         malloc/free.
828
829 2018-07-04  Tom de Vries  <tdevries@suse.de>
830
831         * gdb.dwarf2/dw2-error.exp: Update expected error message.
832
833 2018-07-02  Maciej W. Rozycki  <macro@mips.com>
834
835         PR tdep/8282
836         * gdb.arch/mips-disassembler-options.exp: New test.
837         * gdb.arch/mips-disassembler-options.s: New test source.
838
839 2018-06-29  Pedro Alves  <palves@redhat.com>
840
841         * gdb.threads/names.exp: Adjust expected "info threads" output.
842
843 2018-06-29  Pedro Alves  <palves@redhat.com>
844
845         * gdb.opt/inline-break.exp (line number, address): Add "info
846         break" tests.
847
848 2018-06-29  Pedro Alves  <palves@redhat.com>
849
850         * gdb.opt/inline-break.c (func1): Add "break here" marker.
851         * gdb.opt/inline-break.exp: Test setting breakpoints by line
852         number and address and running to them.
853
854 2018-06-29  Richard Bunt  <richard.bunt@arm.com>
855
856         * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
857
858 2018-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
859
860         * lib/compiler.c: Remove executable permission flag.
861
862 2018-06-28  Richard Bunt  <richard.bunt@arm.com>
863
864         * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
865         code.
866         * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
867
868 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
869
870         * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
871
872 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
873
874         * gdb.base/relocate.exp: Test add-symbol-file behavior when the
875         address argument is omitted.
876
877 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
878
879         * gdb.base/relocate.exp: Add test for "symbol-file -o ".
880
881 2018-06-27  Omair Javaid  <omair.javaid@linaro.org>
882
883         PR gdb/21695
884         * gdb.base/infoline-reloc-main-from-zero.exp: New test.
885         * gdb.base/infoline-reloc-main-from-zero.c: New file.
886
887 2018-06-26  Tom Tromey  <tom@tromey.com>
888
889         PR rust/22574:
890         * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
891         * gdb.rust/simple.rs (struct SimpleLayout): New.
892
893 2018-06-22  Simon Marchi  <simon.marchi@ericsson.com>
894
895         * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
896         "info registers" output.
897
898 2018-06-21  Richard Bunt  <richard.bunt@arm.com>
899
900         * gdb.base/watchpoint-hw-attach.c: New test.
901         * gdb.base/watchpoint-hw-attach.exp: New file.
902
903 2018-06-20  Simon Marchi  <simon.marchi@ericsson.com>
904
905         * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
906         through /bin/sh.
907         * boards/dwarf4-gdb-index.exp: Likewise.
908         * boards/fission-dwp.exp: Likewise.
909
910 2018-06-20  Ulrich Weigand  <uweigand@de.ibm.com>
911
912         * gdb.base/float128.exp: Add comment and improved fail message
913         to the failure case of "print large128" test.
914
915 2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
916
917         * configure.ac: Remove AC_PREREQ.
918         * configure: Re-generate.
919
920 2018-06-19  Pedro Alves  <palves@redhat.com>
921
922         * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
923         (func_extern_caller): New.
924         (main): Call func_extern_caller.
925         * gdb.opt/inline-break.exp: Add tests for inline frame skipping
926         logic change.
927
928 2018-06-18  Weimin Pan  <weimin.pan@oracle.com>
929
930         PR gdb/16841
931         * gdb.cp/typedef-base.cc: New file.
932         * gdb.cp/typedef-base.exp: New file.
933
934 2018-06-18  Tom de Vries  <tdevries@suse.de>
935
936         * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
937
938 2018-06-16  Andrew Burgess  <andrew.burgess@embecosm.com>
939             Richard Bunt <Richard.Bunt@arm.com>
940
941         * gdb.threads/attach-slow-waitpid.c: New file.
942         * gdb.threads/attach-slow-waitpid.exp: New file.
943         * gdb.threads/slow-waitpid.c: New file.
944
945 2018-06-14  Pedro Alves  <palves@redhat.com>
946
947         * gdb.base/fork-running-state.c: Include <errno.h>.
948         (exit_if_relative_exits): New.
949         (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
950         exits.
951         (fork_parent): If 'exit_if_relative_exits' is true, exit if the
952         child exits.
953
954 2018-06-14  Tom de Vries  <tdevries@suse.de>
955
956         PR cli/22573
957         * gdb.base/finish-pretty.c: New test.
958         * gdb.base/finish-pretty.exp: New file.
959
960 2018-06-14  Pedro Alves  <palves@redhat.com>
961
962         * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
963         gdb's expected startup output.
964
965 2018-06-14  Pedro Alves  <palves@redhat.com>
966
967         * lib/selftest-support.exp (selftest_setup): Remove inlined
968         function handling.
969
970 2018-06-14  Tom de Vries  <tdevries@suse.de>
971
972         * lib/selftest-support.exp (selftest_setup): Allow function arguments in
973         matching of breakpoint printing.
974
975 2018-06-13  Tom de Vries  <tdevries@suse.de>
976
977         PR testsuite/23269
978         * gdb.base/fork-running-state.c (main): Move setting of alarm ...
979         (fork_child): ... here, and ...
980         (fork_parent): ... here.
981
982 2018-06-12  Tom de Vries  <tdevries@suse.de>
983
984         * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
985
986 2018-06-12  Andrew Burgess  <andrew.burgess@embecosm.com>
987             Stephen Roberts  <stephen.roberts@arm.com>
988
989         * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
990         rewrite test to describe action performed, rather than possible
991         failure.
992
993 2018-06-08  Gary Benson <gbenson@redhat.com>
994
995         * gdb.threads/check-libthread-db.exp: New file.
996         * gdb.threads/check-libthread-db.c: Likewise.
997
998 2018-06-05  Tom Tromey  <tom@tromey.com>
999
1000         * gdb.base/default.exp: Update expected "show version" output.
1001
1002 2018-06-05  Tom Tromey  <tom@tromey.com>
1003
1004         PR cli/12326:
1005         * gdb.cp/static-print-quit.exp: Update.
1006         * lib/gdb.exp (pagination_prompt): Update.
1007         * gdb.base/page.exp: Use pagination_prompt.  Add new tests.
1008         * gdb.python/python.exp: Update.
1009
1010 2018-06-04  Joel Brobecker  <brobecker@adacore.com>
1011
1012         * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
1013
1014 2018-06-01  Joel Brobecker  <brobecker@adacore.com>
1015
1016         * gdb.ada/bp_fun_addr: New testcase.
1017
1018 2018-06-01  Tom Tromey  <tom@tromey.com>
1019
1020         * gdb.xml/tdesc-regs.exp (load_description): Update expected
1021         results.
1022         * gdb.dwarf2/method-ptr.exp: Set language to C++.
1023         * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
1024         * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
1025         * gdb.base/maint.exp (maint_pass_if): Update.
1026
1027 2018-05-31  Maciej W. Rozycki  <macro@mips.com>
1028
1029         * gdb.base/endian.exp: New test.
1030         * gdb.base/endian.c: New test source.
1031
1032 2018-05-24  Andrew Burgess  <andrew.burgess@embecosm.com>
1033
1034         PR gdb/23203
1035         * gdb.base/bt-selected-frame.c: New file.
1036         * gdb.base/bt-selected-frame.exp: New file.
1037         * lib/gdb.exp (get_current_frame_number): New function.
1038
1039 2018-05-24  Maciej W. Rozycki  <macro@mips.com>
1040             Pedro Alves  <palves@redhat.com>
1041
1042         * gdb.threads/tls-core.c: Include <stdlib.h>
1043         (thread_proc): Call `abort'.
1044         * gdb.threads/tls-core.exp: Generate a core with core_find too.
1045         (tls_core_test): New procedure, bits factored out from ...
1046         (top level): ... here.  Test both native cores and gcore cores.
1047
1048 2018-05-23  Tom Tromey  <tom@tromey.com>
1049
1050         * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
1051
1052 2018-05-23  Tom Tromey  <tom@tromey.com>
1053
1054         * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
1055         symfile_complaints.
1056         (test_short_complaints): Likewise.
1057         (test_empty_complaints): Likewise.
1058         (test_initial_complaints): Update.
1059
1060 2018-05-23  Tom Tromey  <tom@tromey.com>
1061
1062         * gdb.gdb/complaints.exp (test_empty_complaints): Update.
1063
1064 2018-05-23  Tom Tromey  <tom@tromey.com>
1065
1066         * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
1067         (test_short_complaints): Update.
1068
1069 2018-05-22  Pedro Alves  <palves@redhat.com>
1070
1071         * gdb.base/remote.exp: Only gdb_start after compiling the
1072         testcase.  Issue "disconnect" before testing "set remote" command
1073         defaults.  Issue clean_restart before running to main.
1074
1075 2018-05-22  Pedro Alves  <palves@redhat.com>
1076
1077         * gdb.base/remote.exp: Adjust expected output of "show remote
1078         memory-write-packet-size".  Add tests for "set remote
1079         memory-write-packet-size 0" and "set remote
1080         memory-write-packet-size fixed/limit".
1081
1082 2018-05-22  Pedro Alves  <palves@redhat.com>
1083
1084         PR gdb/22973
1085         * gdb.base/utf8-identifiers.c: New file.
1086         * gdb.base/utf8-identifiers.exp: New file.
1087
1088 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1089
1090         * gdb.arch/powerpc-fpscr-gcore.exp: New file.
1091
1092 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1093
1094         * gdb.arch/powerpc-vsx-gcore.exp: New file.
1095
1096 2018-05-18  Tom Tromey  <tom@tromey.com>
1097
1098         * gdb.base/ptype-offsets.exp: Update.
1099
1100 2018-05-17  Keith Seitz  <keiths@redhat.com>
1101
1102         * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
1103         in expected breakpoint stop locations.
1104         * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
1105         move to proper scope to test variable values.
1106         * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
1107         (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
1108         New functions.
1109         (main): Call not_inline_func3.
1110         * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
1111         inline_func1, inline_func2, and inline_func3.  Test that when each
1112         breakpoint is hit, GDB properly reports both the stop location
1113         and the backtrace. Repeat tests for temporary breakpoints.
1114
1115 2018-05-15  Maciej W. Rozycki  <macro@mips.com>
1116
1117         * gdb.server/server-kill.exp: Verify whether `server_pid' exists
1118         rather then trying to access it in determining whether the PID
1119         of `gdbserver' could have been retrieved.
1120
1121 2018-05-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1122
1123         * gdb.arch/amd64-init-x87-values.S: New file.
1124         * gdb.arch/amd64-init-x87-values.exp: New file.
1125
1126 2018-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1127
1128         * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
1129
1130 2018-05-04  Tom Tromey  <tom@tromey.com>
1131
1132         PR python/22730:
1133         * gdb.python/python.exp: Test multi-line execute.
1134
1135 2018-05-04  Tom Tromey  <tom@tromey.com>
1136
1137         PR python/22731:
1138         * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
1139
1140 2018-05-04  Tom Tromey  <tom@tromey.com>
1141
1142         PR gdb/11750:
1143         * gdb.base/define.exp: Test defining a user command inside a user
1144         command.
1145         * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
1146
1147 2018-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
1148             Pedro Alves <palves@redhat.com>
1149
1150         PR breakpoints/19806 and support for PR external/20207.
1151         * gdb.base/watchpoint-unaligned.c: New file.
1152         * gdb.base/watchpoint-unaligned.exp: New file.
1153
1154 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1155
1156         * gdb.base/maint.exp: Make test names unique, use
1157         test_prefix_command_help to test 'help maint info', and remove
1158         repeated test of 'help maint'.
1159
1160 2018-05-04  Tom Tromey  <tom@tromey.com>
1161
1162         PR gdb/22619:
1163         * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
1164         behavior.
1165
1166 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1167
1168         * gdb.base/maint.exp: Process output from 'maint print registers'
1169         line at a time.
1170
1171 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1172
1173         * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
1174         timeout.
1175
1176 2018-05-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1177
1178         * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
1179         filter pattern.
1180
1181 2018-05-02  Pedro Alves  <palves@redhat.com>
1182
1183         * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
1184         to_log_command renames.
1185         * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1186
1187 2018-05-02  Tom Tromey  <tom@tromey.com>
1188
1189         * gdb.python/py-parameter.exp: Set test message.
1190
1191 2018-05-02  Tom Tromey  <tom@tromey.com>
1192
1193         PR python/20084:
1194         * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
1195         PARAM_ZUINTEGER_UNLIMITED tests.
1196
1197 2018-04-28  Dan Robertson  <danlrobertson89@gmail.com>
1198
1199         PR rust/23124
1200         * gdb.rust/expr.exp: Test that the unit type is correctly parsed
1201         when casting.
1202
1203 2018-04-30  Tom Tromey  <tom@tromey.com>
1204
1205         * gdb.python/py-type.exp: Check align attribute.
1206         * gdb.python/py-type.c: New "aligncheck" global.
1207
1208 2018-04-30  Tom Tromey  <tom@tromey.com>
1209
1210         PR exp/17095:
1211         * gdb.dwarf2/dw2-align.exp: New file.
1212         * gdb.cp/align.exp: New file.
1213         * gdb.base/align.exp: New file.
1214         * lib/gdb.exp (gdb_int128_helper): New proc.
1215         (has_int128_c, has_int128_cxx): New caching procs.
1216
1217 2018-04-27  Tom Tromey  <tom@tromey.com>
1218
1219         PR rust/22545:
1220         * gdb.rust/simple.exp: Add inclusive range tests.
1221
1222 2018-04-26  Pedro Alves  <palves@redhat.com>
1223
1224         * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
1225         ifunc breakpoint locations correctly of ifunc breakpoints set
1226         while the program resolves the ifunc.
1227
1228 2018-04-26  Pedro Alves  <palves@redhat.com>
1229
1230         * gdb.base/gnu-ifunc-final.c: New file.
1231         * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
1232         * gdb.base/gnu-ifunc.exp (executable): Delete.
1233         (staticexecutable): Adjust.
1234         (lib_opts, exec_opts): Delete.
1235         (make_binsuffix, build, set-break): New procedures.
1236         (misc_tests): New, with tests factored out from the top level.
1237         (top level): Test different combinations of ifunc resolver name,
1238         resolver with and with debug info, and ifunc target with and
1239         without debug info.  Wrap static tests with with_target_prefix.
1240
1241 2018-04-26  Pedro Alves  <palves@redhat.com>
1242
1243         * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
1244         return type" warnings.
1245
1246 2018-04-25  Pedro Alves  <palves@redhat.com>
1247
1248         * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
1249         killed".
1250         * gdb.base/kill-after-signal.exp: Likewise.
1251         * gdb.threads/kill.exp: Likewise.
1252
1253 2018-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1254             Sergio Durigan Junior  <sergiodj@redhat.com>
1255             Pedro Alves  <palves@redhat.com>
1256
1257         * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1258         regexps to expect for '[Inferior ... detached]' as well.
1259         * gdb.base/attach.exp: Likewise.
1260         * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1261         "gdb_continue_to_end".
1262         (test_catch_syscall_with_wrong_args): Likewise.
1263         * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1264         ']'.  Don't set 'verbose' on.
1265         * gdb.base/foll-vfork.exp: Likewise.
1266         * gdb.base/fork-print-inferior-events.c: New file.
1267         * gdb.base/fork-print-inferior-events.exp: New file.
1268         * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1269         '[Inferior ... has been killed]' message.
1270         * gdb.base/kill-after-signal.exp: Likewise.
1271         * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1272         detach message.
1273         * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1274         message.
1275         * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1276         regexps to expect for '[Inferior ... detached]' as well.
1277         * gdb.threads/process-dies-while-detaching.exp: Likewise.
1278
1279 2018-04-24  Simon Marchi  <simon.marchi@ericsson.com>
1280
1281         PR gdb/23104
1282         * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1283
1284 2018-04-19  Richard Bunt  <richard.bunt@arm.com>
1285
1286         * gdb.threads/multiple-successive-infcall.c: New test.
1287         * gdb.threads/multiple-successive-infcall.exp: New file.
1288
1289 2018-04-17  Tom Tromey  <tom@tromey.com>
1290
1291         * gdb.rust/simple.rs (Union): New type.
1292         (main): New local "u".
1293         * gdb.rust/simple.exp (test_one_slice): Add new test case.
1294
1295 2018-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1296
1297         * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1298         number information in output of "whereis" command.
1299         * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1300
1301 2018-04-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1302
1303         * gdb.ada/info_types.exp: Adjust expected output to the line
1304         numbers now printed by "info var/func/type".
1305         * gdb.base/completion.exp: Likewise.
1306         * gdb.base/included.exp: Likewise.
1307         * gdb.cp/cp-relocate.exp: Likewise.
1308         * gdb.cp/cplusfuncs.exp: Likewise.
1309         * gdb.cp/namespace.exp: Likewise.
1310         * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1311
1312 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1313
1314         * gdb.btrace/cpu.exp: New.
1315
1316 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1317
1318         * gdb.base/step-indirect-call-thunk.exp: New.
1319         * gdb.base/step-indirect-call-thunk.c: New.
1320         * gdb.reverse/step-indirect-call-thunk.exp: New.
1321         * gdb.reverse/step-indirect-call-thunk.c: New.
1322
1323 2018-04-11  Simon Marchi  <simon.marchi@ericsson.com>
1324
1325         * gdb.base/pie-fork.c: New file.
1326         * gdb.base/pie-fork.exp: New file.
1327
1328 2018-04-11  Tom Tromey  <tom@tromey.com>
1329
1330         * gdb.rust/simple.exp: Add test for ".." struct initializer.
1331
1332 2018-04-10  Pedro Alves  <palves@redhat.com>
1333
1334         * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1335         exits.  Instead loop running forever.
1336         (fork_parent): Run forever too.
1337
1338 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1339
1340         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
1341         mi_continue_to_line.
1342         * gdb.mi/mi-stack.c (callee4): Add comment.
1343
1344 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1345
1346         * gdb.mi/mi-stack.exp: Fix indentation.
1347
1348 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1349
1350         PR gdb/22979
1351         * gdb.arch/amd64-osabi.exp: New file.
1352
1353 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1354
1355         PR gdb/22980
1356         * gdb.base/osabi.exp: New file.
1357
1358 2018-04-02  Weimin Pan  <weimin.pan@oracle.com>
1359
1360         * gdb.cp/static-typedef-print.exp: New file.
1361         * gdb.cp/static-typedef-print.cc: New file.
1362
1363 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1364
1365         * gdb.ada/varsize_limit: New testcase.
1366
1367 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1368
1369         * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1370
1371         * gdb.ada/notcplusplus: New testcase.
1372
1373         * gdb.base/c-linkage-name.c: New file.
1374         * gdb.base/c-linkage-name.exp: New testcase.
1375
1376 2018-03-26  Tom Tromey  <tom@tromey.com>
1377
1378         * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1379         * gdb.python/py-framefilter.py (name_error): New global.
1380         (ErrorInName.function): Use name_error.
1381
1382 2018-03-26  Tom Tromey  <tom@tromey.com>
1383
1384         PR backtrace/15582:
1385         * gdb.python/py-framefilter.exp: Add "bt hide" test.
1386
1387 2018-03-23  Keith Seitz  <keiths@redhat.com>
1388
1389         PR c++/22968
1390         * gdb.cp/subtypes.exp: New file.
1391         * gdb.cp/subtypes.h: New file.
1392         * gdb.cp/subtypes.cc: New file.
1393         * gdb.cp/subtypes-2.cc: New file.
1394
1395 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1396
1397         * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1398         (done): Call '_exit' not 'exit' to avoid atexit handlers.
1399         * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1400         -nostartfiles when compiling the test.  Confirm that all registers
1401         xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1402
1403 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1404
1405         * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1406         option, syntax was wrong anyway.
1407         * gdb.arch/arm-disp-step.exp: Likewise.
1408         * gdb.arch/sparc64-regs.exp: Likewise.
1409         * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1410         option, syntax was wrong anyway, switch to use
1411         prepare_for_testing.
1412         * gdb.arch/i386-disp-step.exp: Likewise.
1413
1414 2018-03-23  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1415
1416         * gdb.ada/exec_changed.exp: Replace "target_info exists
1417         use_gdb_stub" by "use_gdb_stub".
1418         * gdb.ada/start.exp: Likewise.
1419         * gdb.base/async-shell.exp: Likewise.
1420         * gdb.base/attach-pie-misread.exp: Likewise.
1421         * gdb.base/attach-wait-input.exp: Likewise.
1422         * gdb.base/break-entry.exp: Likewise.
1423         * gdb.base/break-interp.exp: Likewise.
1424         * gdb.base/dprintf-detach.exp: Likewise.
1425         * gdb.base/nostdlib.exp: Likewise.
1426         * gdb.base/solib-nodir.exp: Likewise.
1427         * gdb.base/statistics.exp: Likewise.
1428         * gdb.base/testenv.exp: Likewise.
1429         * gdb.mi/mi-exec-run.exp: Likewise.
1430         * gdb.mi/mi-start.exp: Likewise.
1431         * gdb.multi/dummy-frame-restore.exp: Likewise.
1432         * gdb.multi/multi-arch-exec.exp: Likewise.
1433         * gdb.multi/multi-arch.exp: Likewise.
1434         * gdb.multi/tids.exp: Likewise.
1435         * gdb.multi/watchpoint-multi.exp: Likewise.
1436         * gdb.python/py-events.exp: Likewise.
1437         * gdb.threads/attach-into-signal.exp: Likewise.
1438         * gdb.threads/attach-stopped.exp: Likewise.
1439         * gdb.threads/threadapply.exp: Likewise.
1440         * lib/selftest-support.exp: Likewise.
1441
1442 2018-03-22  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1443
1444         * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1445
1446 2018-03-20  Stephen Roberts  <stephen.roberts@arm.com>
1447
1448         * gdb.perf/template-breakpoints.cc: New file.
1449         * gdb.perf/template-breakpoints.exp: New file.
1450         * gdb.perf/template-breakpoints.py: New file.
1451
1452 2018-03-19  Tom Tromey  <tom@tromey.com>
1453
1454         * gdb.rust/simple.rs (main): Add local variables field1, field2,
1455         y0.
1456         * gdb.rust/simple.exp: Test bare identifier form of struct
1457         initializer.
1458
1459 2018-03-19  Tom Tromey  <tom@tromey.com>
1460
1461         * gdb.gdb/observer.exp: Remove.
1462
1463 2018-03-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1464
1465         * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1466         "qualified" option when setting breakpoints.
1467         * gdb.trace/backtrace.exp: Likewise.
1468         * gdb.trace/circ.exp: Likewise.
1469         * gdb.trace/collection.exp: Likewise.
1470         * gdb.trace/disconnected-tracing.exp: Likewise.
1471         * gdb.trace/ftrace-lock.exp: Likewise.
1472         * gdb.trace/ftrace.exp: Likewise.
1473         * gdb.trace/infotrace.exp: Likewise.
1474         * gdb.trace/packetlen.exp: Likewise.
1475         * gdb.trace/passc-dyn.exp: Likewise.
1476         * gdb.trace/qtro.exp: Likewise.
1477         * gdb.trace/read-memory.exp: Likewise.
1478         * gdb.trace/report.exp: Likewise.
1479         * gdb.trace/signal.exp: Likewise.
1480         * gdb.trace/status-stop.exp: Likewise.
1481         * gdb.trace/strace.exp: Likewise.
1482         * gdb.trace/tfind.exp: Likewise.
1483         * gdb.trace/trace-break.exp: Likewise.
1484         * gdb.trace/trace-condition.exp: Likewise.
1485         * gdb.trace/trace-mt.exp: Likewise.
1486         * gdb.trace/tstatus.exp: Likewise.
1487         * gdb.trace/tsv.exp: Likewise.
1488         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1489         * gdb.trace/unavailable.exp: Likewise.
1490         * gdb.trace/while-dyn.exp: Likewise.
1491
1492 2018-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1493
1494         * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1495         that libinproctrace is copied to the target.
1496
1497 2018-03-14  Tom Tromey  <tom@tromey.com>
1498
1499         PR cli/14977:
1500         * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1501         a null pointer.
1502         * gdb.base/wchar.exp: Likewise.
1503
1504 2018-03-14  Tom Tromey  <tom@tromey.com>
1505
1506         PR cli/19918:
1507         * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1508         flag.
1509
1510 2018-03-08  Simon Marchi  <simon.marchi@ericsson.com>
1511
1512         PR gdb/22841
1513         * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1514         "target" to remote_exec.
1515
1516 2018-03-08  Simon Marchi  <simon.marchi@polymtl.ca>
1517
1518         PR gdb/22841
1519         * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1520         ${board}_upload): Remove.
1521
1522 2018-03-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1523
1524         * gdb.cp/watch-cp.cc: New test.
1525         * gdb.cp/watch-cp.exp: New file.
1526
1527 2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1528
1529         * gdb.base/infcall-nested-structs.exp: New file.
1530         * gdb.base/infcall-nested-structs.c: New file.
1531         * gdb.base/float.exp: Add riscv support.
1532
1533 2018-03-02  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1534
1535         * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1536         * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1537
1538 2018-02-28  Sergio Durigan Junior  <sergiodj@redhat.com>
1539
1540         * gdb.server/abspath.exp: New file.
1541         * lib/gdb.exp (with_cwd): New procedure.
1542
1543 2018-02-28  Simon Marchi  <simon.marchi@ericsson.com>
1544
1545         * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1546         use it.
1547         (gdb_is_target_remote_prompt): New proc.
1548         (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1549         (gdb_is_target_native): Pass prompt parameter to
1550         gdb_is_target_1.
1551
1552 2018-02-26  Simon Marchi  <simon.marchi@polymtl.ca>
1553
1554         * gdb.base/load-command.c: New file.
1555         * gdb.base/load-command.exp: New file.
1556         * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1557         (gdb_is_target_1): ...this, and generalize for other targets
1558         than just remote.
1559         (gdb_is_target_remote): Use gdb_is_target_1.
1560         (gdb_is_target_native): use gdb_is_target_1.
1561
1562 2018-02-26  Tom Tromey  <tom@tromey.com>
1563
1564         PR python/16497:
1565         * gdb.python/py-framefilter.exp: Update test.
1566
1567 2018-02-26  Tom Tromey  <tom@tromey.com>
1568
1569         * gdb.dwarf2/variant.c: New file.
1570         * gdb.dwarf2/variant.exp: New file.
1571
1572 2018-02-26  Tom Tromey  <tom@tromey.com>
1573
1574         * gdb.rust/simple.exp: Accept more possible results in enum test.
1575
1576 2018-02-25  Simon Marchi  <simon.marchi@polymtl.ca>
1577
1578         * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1579         parentheses.
1580
1581 2018-02-23  Maciej W. Rozycki  <macro@mips.com>
1582
1583         * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1584         name of a variable: $actual_linejj -> $actual_line.
1585
1586 2018-02-21  John Baldwin  <jhb@FreeBSD.org>
1587
1588         * gdb.arch/amd64-i386-address.exp: Fix a typo.
1589
1590 2018-02-20  Markus Metzger  <markus.t.metzger@intel.com>
1591
1592         * gdb.btrace/buffer-size.exp: Do not force BTS.
1593
1594 2018-02-14  Pedro Alves  <palves@redhat.com>
1595
1596         * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1597         getting a "Quit".
1598
1599 2018-02-09  Markus Metzger  <markus.t.metzger@intel.com>
1600
1601         * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1602         Fix test name.
1603
1604 2018-02-07  Simon Marchi  <simon.marchi@ericsson.com>
1605
1606         * gdb.cp/m-static.exp: Check type of optimized out static
1607         member.
1608
1609 2018-02-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1610
1611         * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1612         * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1613
1614 2018-02-01  Simon Marchi  <simon.marchi@polymtl.ca>
1615             Leszek Swirski  <leszeks@google.com>
1616
1617         * gdb.python/py-prettyprint.c
1618         (struct to_string_returns_value_inner,
1619         struct to_string_returns_value_wrapper): New.
1620         (main): Add tsrvw variable.
1621         * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1622         ToStringReturnsValueWrapper): New classes.
1623         (register_pretty_printers): Register new pretty-printers.
1624         * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1625         recursive pretty printer.
1626         * gdb.python/py-mi.exp: Likewise.
1627
1628 2018-02-01  Leszek Swirski  <leszeks@google.com>
1629
1630         * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1631         functions with the same name as an include file are parsed
1632         correctly.
1633
1634 2018-02-01  Yao Qi  <yao.qi@linaro.org>
1635
1636         * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1637         "\[^\r\n\]*".
1638
1639 2018-01-31  Nikola Prica  <nikola.prica@rt-rk.com>
1640
1641         * gdb.arch/powerpc-prologue-frame.s: New file.
1642         * gdb.arch/powerpc-prologue-frame.c: Likewise.
1643         * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1644
1645 2018-01-31  Joel Brobecker  <brobecker@adacore.com>
1646
1647         * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1648
1649 2018-01-30  Pedro Alves  <palves@redhat.com>
1650
1651         PR gdb/13211
1652         * gdb.base/interrupt-daemon.c: New.
1653         * gdb.base/interrupt-daemon.exp: New.
1654         * gdb.multi/multi-term-settings.c: New.
1655         * gdb.multi/multi-term-settings.exp: New.
1656
1657 2018-01-30  Joel Brobecker  <brobecker@adacore.com>
1658
1659         * gdb.base/break.exp: Save the location where the breakpoint
1660         on break.c:47 was actually inserted when debugging the version
1661         compiled at -O2 and use it in the expected output of the "info
1662         break" test performed soon after.
1663
1664 2018-01-22  Pedro Alves  <palves@redhat.com>
1665             Sergio Durigan Junior  <sergiodj@redhat.com>
1666
1667         * gdb.base/whatis.exp: Add tests for 'set print object on' +
1668         'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1669
1670 2018-01-22  Joel Brobecker  <brobecker@adacore.com>
1671
1672         * gdb.base/break-include.c, gdb.base/break-include.inc,
1673         gdb.base/break-include.exp: New files.
1674         * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1675         line number now being the actual line number where the breakpoint
1676         was inserted.
1677         * gdb.mi/mi-break.exp: Likewise.
1678         * gdb.mi/mi-reverse.exp: Likewise.
1679         * gdb.mi/mi-simplerun.exp: Ditto.
1680
1681 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1682
1683         * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1684         varobj.
1685         * gdb.mi/mi-var-create-rtti.exp: Likewise.
1686
1687 2018-01-21  Don Breazeal  <donb@codesourcery.com>
1688             Andrew Burgess  <andrew.burgess@embecosm.com>
1689
1690         * gdb.mi/basics.c: Add new global.
1691         * gdb.mi/mi-frame-regs.exp: New file.
1692         * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1693         case.
1694
1695 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1696
1697         * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1698         non-parameter, and on an unknown symbol.
1699
1700 2018-01-19  Tom Tromey  <tom@tromey.com>
1701
1702         * gdb.rust/modules.rs (TWENTY_THREE): New global.
1703         * gdb.rust/modules.exp: Add ::-qualified lookup test.
1704
1705 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1706
1707         * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1708         setrlimit and chdir to int.
1709
1710 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1711
1712         * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1713         function.
1714         (my_tend): Likewise.
1715         * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1716         rationale of avoiding FP- and vector instructions.
1717
1718 2018-01-19  Ruslan Kabatsayev  <b7.10110111@gmail.com>
1719
1720         * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1721         "info reg" with "\[ \t\]*".
1722         * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1723         "\[ \t\]+".
1724         * gdb.arch/s390-multiarch.exp: Ditto.
1725         * gdb.base/pc-fp.exp: Ditto.
1726         * gdb.reverse/i386-precsave.exp: Ditto.
1727         * gdb.reverse/i386-reverse.exp: Ditto.
1728         * gdb.reverse/i387-env-reverse.exp: Ditto.
1729         * gdb.reverse/i387-stack-reverse.exp: Ditto.
1730
1731 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1732
1733         * lib/gdb.exp (gdb_compile): Re-enable use of
1734         universal_compile_options for languages other than Rust.
1735
1736 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1737
1738         * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1739
1740 2018-01-17  Mike Gulick  <mgulick@mathworks.com>
1741
1742         PR gdb/16577
1743         * gdb.base/solib-vanish.exp: New.
1744         * gdb.base/solib-vanish-main.c: New.
1745         * gdb.base/solib-vanish-lib1.c: New.
1746         * gdb.base/solib-vanish-lib2.c: New.
1747
1748 2018-01-17  Yao Qi  <yao.qi@linaro.org>
1749
1750         * gdb.compile/compile.exp: Match the address printed for
1751         frame in the output of command "bt".
1752
1753 2018-01-15  Tom Tromey  <tom@tromey.com>
1754
1755         * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1756         compute sp_reg.
1757
1758 2018-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1759
1760         * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1761         to prepare.
1762         (prepare): Return 0 on error, 1 on success.
1763
1764 2018-01-12  Pedro Alves  <palves@redhat.com>
1765
1766         * gdb.base/continue-after-aborted-step-over.c: New.
1767         * gdb.base/continue-after-aborted-step-over.exp: New.
1768
1769 2018-01-11  Simon Marchi  <simon.marchi@ericsson.com>
1770
1771         * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1772         options when not creating an executable.
1773
1774 2018-01-11  Pedro Alves  <palves@redhat.com>
1775
1776         PR remote/22597
1777         * gdb.server/stop-reply-no-thread.c: New file.
1778         * gdb.server/stop-reply-no-thread.exp: New file.
1779
1780 2018-01-10  Pedro Alves  <palves@redhat.com>
1781
1782         PR gdb/22670
1783         * gdb.ada/bp_c_mixed_case.exp: Add intro comment.  Test printing C
1784         functions too.  Test setting breakpoints and printing C functions
1785         with no debug info too.
1786         * gdb.ada/bp_c_mixed_case/qux.c: New file.
1787
1788 2018-01-10  Pedro Alves  <palves@redhat.com>
1789
1790         PR gdb/22670
1791         * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1792         a fail.
1793
1794 2018-01-10  Pedro Alves  <palves@redhat.com>
1795
1796         PR gdb/22670
1797         * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
1798
1799 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
1800
1801         * gdb.server/unittest.exp: Match the output in non-development
1802         mode.
1803
1804 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
1805
1806         * gdb.gdb/unittest.exp: Match output in non-development mode.
1807
1808 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
1809
1810         * gdb.ada/access_tagged_param.exp: Relax expected output
1811         for value of "ObjL" in "continue" to pck.inspect breakpoint
1812         test.
1813
1814 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
1815
1816         * gdb.ada/arr_enum_idx_w_gap.exp: New file.
1817         * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
1818
1819 2018-01-05  Pedro Alves  <palves@redhat.com>
1820
1821         PR gdb/18653
1822         * gdb.base/libsegfault.exp: New.
1823
1824 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1825
1826         PR gdb/22670
1827         * gdb.ada/access_tagged_param.exp: New file.
1828         * gdb.ada/access_tagged_param/foo.adb: New file.
1829
1830 2018-01-05  Pedro Alves  <palves@redhat.com>
1831
1832         PR gdb/22670
1833         * gdb.ada/info_addr_mixed_case.exp: Remove kfail.  Extend test to
1834         exercise lower case too, and to exercise both full matching and
1835         wild matching.
1836
1837 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1838
1839         * gdb.ada/rename_subscript_param: New testcase.
1840
1841 2018-01-05  Jerome Guitton  <guitton@adacore.com>
1842
1843         * gdb.ada/arr_acc_idx_w_gap: New testcase.
1844
1845 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1846
1847         * gdb.ada/convvar_comp: New testcase.
1848
1849 2018-01-05  Xavier Roirand  <roirand@adacore.com>
1850
1851         * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
1852         (My_Table): New global variable.
1853         * testsuite/gdb.ada/array_char_idx.exp: Add test.
1854
1855 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
1856
1857         PR gdb/22670
1858         * gdb.ada/maint_with_ada: New testcase.
1859
1860 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
1861
1862         PR gdb/22670
1863         * gdb.ada/bp_c_mixed_case: New testcase.
1864
1865 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
1866
1867         PR gdb/22670
1868         * gdb.ada/complete.exp: Add "complete break ada" test.
1869
1870 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
1871
1872         PR gdb/22670
1873         * gdb.ada/info_addr_mixed_case: New testcase.
1874
1875 2018-01-03  Xavier Roirand  <roirand@adacore.com>
1876
1877         * gdb.ada/excep_handle.exp: New testcase.
1878         * gdb.ada/excep_handle/foo.adb: New file.
1879         * gdb.ada/excep_handle/pck.ads: New file.
1880
1881 2018-01-03  Joel Brobecker  <brobecker@adacore.com>
1882
1883         * gdb.base/step-line.c: Add extra empty line in copyright header.
1884         * gdb.base/step-line.inp: Likewise.
1885
1886 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
1887
1888         * gdb.ada/dyn_stride.exp: Add slice test.
1889
1890 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
1891
1892         * gdb.ada/dyn_stride: New testcase.
1893
1894 2017-12-27  Stafford Horne  <shorne@gmail.com>
1895
1896         * gdb.xml/extra-regs.xml: Add example foo reggroup.
1897         * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
1898
1899 2017-12-27  Stafford Horne  <shorne@gmail.com>
1900
1901         * gdb.base/reggroups.c: New file.
1902         * gdb.base/reggroups.exp: New file.
1903
1904 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
1905
1906         * gdb.dwarf2/ada-valprint-error.c: New file.
1907         * gdb.dwarf2/ada-valprint-error.exp: New file.
1908
1909 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
1910
1911         * gdb.ada/assign_arr: New testcase.
1912
1913 2017-12-18  Xavier Roirand  <roirand@adacore.com>
1914
1915         * gdb.ada/funcall_ptr: New testcase.
1916
1917 2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
1918
1919         PR cli/16224
1920         * gdb.base/ptype-offsets.cc: New file.
1921         * gdb.base/ptype-offsets.exp: New file.
1922
1923 2017-12-15  Yao Qi  <yao.qi@linaro.org>
1924
1925         * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
1926         if XML is disabled.
1927
1928 2017-12-15  Xavier Roirand  <roirand@adacore.com>
1929
1930         * gdb.ada/same_component_name: New testcase.
1931
1932 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
1933
1934         * gdb.ada/str_binop_equal: New testcase.
1935
1936 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
1937
1938         * gdb.ada/task_switch_in_core: New testcase.
1939
1940 2017-12-13  Simon Marchi  <simon.marchi@ericsson.com>
1941
1942         * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
1943         * gdb.python/py-breakpoint.exp: Compile the test case as c++,
1944         call test_bkpt_qualified.
1945         (test_bkpt_qualified): New proc.
1946
1947 2017-12-13  Pedro Alves  <palves@redhat.com>
1948
1949         * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1950         Tighten regexp by matching with an anchor.
1951
1952 2017-12-13  Pedro Alves  <palves@redhat.com>
1953
1954         * gdb.cp/cpcompletion.exp: Load completion-support.exp.
1955         ("expression with namespace"): New set of tests.
1956         * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
1957         (Nested::Test_NS::qux): New.
1958         * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
1959         defaults to 'start_quote_char' and 'end_quote_char' parameters.
1960
1961 2017-12-13  Joel Brobecker  <brobecker@adacore.com>
1962
1963         * gdb.base/server-del-break.c: New file.
1964         * gdb.base/server-del-break.exp: New file.
1965
1966 2017-12-12  Stafford Horne  <shorne@gmail.com>
1967
1968         * gdb.xml/tdesc-regs.exp: Add or1k support.
1969
1970 2017-12-12  Stafford Horne  <shorne@gmail.com>
1971
1972         * gdb.base/bp-permanent.c: Define nop of or1k.
1973
1974 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
1975
1976         * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
1977         output with components being reordered.
1978
1979 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
1980
1981         * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
1982         output with components being reordered.
1983
1984 2017-12-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1985             Pedro Alves  <palves@redhat.com>
1986
1987         * gdb.base/maint.exp (check for .gdb_index): Check also for
1988         .debug_names.
1989         * gdb.dlang/watch-loc.c (.debug_aranges): New.
1990         * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
1991         * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
1992         (.gdb_index used after symbol reloading): Support also .debug_names.
1993         * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
1994
1995 2017-12-08  Yao Qi  <yao.qi@linaro.org>
1996
1997         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
1998         * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
1999
2000 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2001
2002         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2003         * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
2004
2005 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2006
2007         * gdb.arch/aarch64-tagged-pointer.c: New file.
2008         * gdb.arch/aarch64-tagged-pointer.exp: New file.
2009
2010 2017-12-08  Sergio Durigan Junior  <sergiodj@redhat.com>
2011
2012         * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
2013         "int".
2014
2015 2017-12-07  Keith Seitz  <keiths@redhat.com>
2016
2017         PR breakpoints/22569
2018         * gdb.linespec/ls-errs.exp: Change expected result of "break
2019         -source this file has spaces.c -line 3".
2020         Check that an explicit source file followed by whitespace is
2021         identified as an invalid explicit location.
2022
2023 2017-12-07  Keith Seitz  <keiths@redhat.com>
2024
2025         * gdb.cp/nested-types.cc: New file.
2026         * gdb.cp/nested-types.exp: New file.
2027         * lib/cp-support.exp: Load data-structures.exp library.
2028         (debug_cp_test_ptype_class): New global.
2029         (cp_ptype_class_verbose, next_line): New procedures.
2030         (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
2031         Add and document new return value.
2032         Switch the list of lines to a queue.
2033         Add support for new `type' key for nested type definitions.
2034         Add debugging/troubleshooting messages.
2035         * lib/data-structures.exp: New file.
2036
2037 2017-12-07  Simon Marchi  <simon.marchi@ericsson.com>
2038
2039         * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
2040         with proc_with_prefix, don't use with_test_prefix.
2041
2042 2017-12-07  Tom Tromey  <tom@tromey.com>
2043
2044         * gdb.base/break.exp: Add test for empty "commands".
2045
2046 2017-12-07  Yao Qi  <yao.qi@linaro.org>
2047
2048         * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
2049         malloc and catch syscall.
2050
2051 2017-12-07  Phil Muldoon  <pmuldoon@redhat.com>
2052
2053        * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
2054         tests for explicit locations.
2055
2056 2017-12-06  Pedro Alves  <palves@redhat.com>
2057
2058         * gdb.arch/i386-avx.exp: If testing with a RSP target, check
2059         force-disabling XML descriptions.
2060
2061 2017-12-04  Pedro Alves  <palves@redhat.com>
2062
2063         PR gdb/22499
2064         * gdb.arch/amd64-disp-step-avx.S: New file.
2065         * gdb.arch/amd64-disp-step-avx.exp: New file.
2066
2067 2017-12-03  Pedro Alves  <palves@redhat.com>
2068
2069         * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
2070         and <string.h>.
2071         (parent_function): Print distinct messages when waitpid fails, or
2072         the child exits with a signal, or the child exits for an unhandled
2073         reason.
2074         * gdb.threads/process-dies-while-detaching.exp
2075         (detach_and_expect_exit): New 'inf_output_re' parameter and use
2076         it.  Wait for both inferior output and GDB's prompt.  Use an
2077         indirect spawn id list.
2078         (do_detach): New parameter 'child_exit'.  Use it to compute
2079         expected inferior output.
2080         (test_detach, test_detach_watch, test_detach_killed_outside):
2081         Adjust to pass down the expected child exit kind.
2082
2083 2017-12-01  Joel Brobecker  <brobecker@adacore.com>
2084             Sergio Durigan Junior  <sergiodj@redhat.com>
2085             Pedro Alves  <palves@redhat.com>
2086
2087         * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
2088
2089 2017-12-01  Sergio Durigan Junior  <sergiodj@redhat.com>
2090
2091         * gdb.base/relocate.exp: Add tests to guarantee that arguments
2092         to 'symbol-file' and 'add-symbol-file' can be
2093         position-independent.
2094
2095 2017-12-01  Yao Qi  <yao.qi@linaro.org>
2096
2097         * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
2098         the URL in copyright header.
2099         * gdb.arch/aarch64-fp.exp: Likewise.
2100         * gdb.arch/ppc64-atomic-inst.exp: Likewise.
2101         * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
2102         * gdb.base/expand-psymtabs.exp: Likewise.
2103         * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
2104         * gdb.fortran/common-block.exp: Likewise.
2105         * gdb.fortran/common-block.f90: Likewise.
2106         * gdb.fortran/logical.exp: Likewise.
2107         * gdb.fortran/vla-datatypes.f90: Likewise.
2108         * gdb.fortran/vla-sub.f90: Likewise.
2109
2110 2017-11-30  Joel Brobecker  <brobecker@adacore.com>
2111
2112         * gdb.ada/repeat_dyn: New testcase.
2113
2114 2017-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
2115
2116         * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
2117         Update for changed thread numbering.
2118         * gdb.cell/bt.exp: Update for changed GDB output.
2119
2120 2017-11-30  Simon Marchi  <simon.marchi@ericsson.com>
2121
2122         * boards/cc-with-tweaks.exp: Include local-board.exp instead of
2123         setting isremote by hand.
2124         * boards/dwarf4-gdb-index.exp: Likewise.
2125         * boards/fission.exp: Likewise.
2126         * boards/stabs.exp: Likewise.
2127
2128 2017-11-30  Pedro Alves  <palves@redhat.com>
2129
2130         * gdb.linespec/cpls-ops.exp
2131         (check_explicit_skips_function_argument): Extract the underlying
2132         type of size_t instead of hardcoding it.
2133
2134 2017-11-29  Pedro Alves  <palves@redhat.com>
2135
2136         PR c++/19436
2137         * gdb.linespec/cpls-abi-tag.cc: New file.
2138         * gdb.linespec/cpls-abi-tag.exp: New file.
2139
2140 2017-11-29  Pedro Alves  <palves@redhat.com>
2141
2142         * gdb.base/langs.exp: Use -qualified.
2143         * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
2144         it.
2145         * gdb.cp/namespace.exp: Use -qualified.
2146         * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
2147         (overload-3, template-overload, template-ret-type, const-overload)
2148         (const-overload-quoted, anon-ns, ambiguous-prefix): New
2149         procedures.
2150         (test_driver): Call them.
2151         * gdb.cp/save-bp-qualified.cc: New.
2152         * gdb.cp/save-bp-qualified.exp: New.
2153         * gdb.linespec/explicit.exp: Test -qualified.
2154         * lib/completion-support.exp (completion::explicit_opts_list): Add
2155         "-qualified".
2156         * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
2157
2158 2017-11-29  Phil Muldoon  <pmuldoon@redhat.com>
2159
2160         * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
2161
2162 2017-11-29  Tom Tromey  <tom@tromey.com>
2163
2164         * gdb.base/relocate.exp: Update invalid argument test.
2165         Add new tests for invalid arguments.
2166
2167 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2168
2169         * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
2170         Return 0 as a long.
2171         * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
2172
2173 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2174
2175         * gdb.cp/breakpoint.cc (bar): Set return type to void.
2176         * gdb.cp/psymtab-parameter.cc (func): Likewise.
2177         * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
2178         func ().
2179         * gdb.cp/shadow.cc (B.func): Return 0.
2180
2181 2017-11-27  Joel Brobecker  <brobecker@adacore.com>
2182
2183         * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
2184         expected output in gdb_expect call to allow the exception
2185         message to be present as well.  Fix syntax confusion to avoid
2186         TCL thinking that exception_name is an array.
2187
2188 2017-11-26  Ulrich Weigand  <uweigand@de.ibm.com>
2189
2190         * gdb.arch/spu-info.c: Include <unistd.h>.
2191         (do_signal_test): Fix broken calls to write.
2192         * gdb.arch/spu-info.exp: Use prepare_for_testing.
2193         Fix checks for empty mailboxes.  Update signal tests for corrected
2194         do_signal_test routine.  Allow nonzero event status.
2195         * gdb.arch/spu-ls.exp: Use prepare_for_testing.
2196         * gdb.cell/arch.exp: Use standard_output_file.
2197         * gdb.cell/break.exp: Likewise.
2198         * gdb.cell/bt.exp: Likewise.
2199         * gdb.cell/core.exp: Likewise.
2200         * gdb.cell/dwarfaddr.exp: Likewise.
2201         * gdb.cell/ea-cache.exp: Likewise.
2202         * gdb.cell/ea-standalone.exp: Likewise.
2203         * gdb.cell/f-regs.exp: Likewise.
2204         * gdb.cell/fork.exp: Likewise.
2205         * gdb.cell/gcore.exp: Likewise.
2206         * gdb.cell/mem-access.exp: Likewise.
2207         * gdb.cell/ptype.exp: Likewise.
2208         * gdb.cell/registers.exp: Likewise.
2209         * gdb.cell/sizeof.exp: Likewise.
2210         * gdb.cell/solib-symbol.exp: Likewise.
2211         * gdb.cell/solib.exp: Likewise.
2212
2213 2017-11-25   Pedro Alves  <palves@redhat.com>
2214
2215         * gdb.base/complete-empty.exp: New file.
2216         * gdb.base/completion.exp: Adjust.
2217
2218 2017-11-25  Pedro Alves  <palves@redhat.com>
2219
2220         * gdb.linespec/cpls-ops.cc: New file.
2221         * gdb.linespec/cpls-ops.exp: New file.
2222         * lib/completion-support.exp (test_complete_prefix_range_re): New,
2223         factored out from ...
2224         (test_complete_prefix_range): ... this.
2225
2226 2017-11-24  Pedro Alves  <palves@redhat.com>
2227
2228         * gdb.linespec/cpcompletion.exp: New file.
2229         * gdb.linespec/cpls-hyphen.cc: New file.
2230         * gdb.linespec/cpls.cc: New file.
2231         * gdb.linespec/cpls2.cc: New file.
2232         * gdb.linespec/explicit.exp: Load completion-support.exp.  Adjust
2233         test to use test_gdb_complete_unique.  Add label completion,
2234         keyword completion and explicit location completion tests.
2235         * lib/completion-support.exp: New file.
2236
2237 2017-11-24  Joel Brobecker  <brobecker@adacore.com>
2238
2239         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
2240         gdb.ada/mi_ex_cond.exp: Accept optional exception message in
2241         when hitting an exception catchpoint.
2242
2243 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2244
2245         * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
2246
2247 2017-11-22  Simon Marchi  <simon.marchi@ericsson.com>
2248
2249         * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
2250         * gdb.dwarf2/info-locals-optimized-out.exp: New file.
2251         * gdb.dwarf2/info-locals-optimized-out.c: New file.
2252
2253 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2254
2255         * gdb.base/info-os.exp: Pass pthreads.
2256         * gdb.multi/multi-attach.exp: Likewise.
2257
2258 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2259
2260         * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2261         compiler.
2262
2263 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2264
2265         * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2266         * gdb.base/break-interp.exp: Likewise.
2267         * gdb.base/jit-attach-pie.exp: Likewise.
2268
2269 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2270
2271         * gdb.base/float128.c (large128): New variable.
2272         * gdb.base/float128.exp: Add test to print largest __float128 value.
2273
2274 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2275
2276         * gdb.arch/vsx-regs.exp: Update register content checks.
2277
2278 2017-11-21  Ulrich Weigand  <uweigand@de.ibm.com>
2279
2280         * gdb.arch/ppc-longdouble.exp: New file.
2281         * gdb.arch/ppc-longdouble.c: Likewise.
2282
2283 2017-11-21  Pedro Alves  <palves@redhat.com>
2284
2285         * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2286
2287 2017-11-20  Pedro Alves  <palves@redhat.com>
2288
2289         * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2290         (long_double_typedef): New typedefs.
2291         Use DEF on double and long double.
2292         * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2293         cases.
2294         (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2295         and 'long_double_ptr_same_size' locals.  Use them to decide
2296         whether cast from array/function to float is valid/invalid.
2297
2298 2017-11-17  Tom Tromey  <tom@tromey.com>
2299
2300         * gdb.rust/traits.rs: New file.
2301         * gdb.rust/traits.exp: New file.
2302
2303 2017-11-17  Joel Brobecker  <brobecker@adacore.com>
2304
2305         * gdb.ada/minsyms: New testcase.
2306
2307 2017-11-16  Pedro Alves  <palves@redhat.com>
2308
2309         * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2310         * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2311
2312 2017-11-16  Pedro Alves  <palves@redhat.com>
2313
2314         * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2315         gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2316
2317 2017-11-16  Pedro Alves  <palves@redhat.com>
2318
2319         * gdb.server/reconnect-ctrl-c.c: New file.
2320         * gdb.server/reconnect-ctrl-c.exp: New file.
2321
2322 2017-11-16  Phil Muldoon  <pmuldoon@redhat.com>
2323
2324         * gdb.python/py-rbreak.exp: New file.
2325         * gdb.python/py-rbreak.c: New file.
2326         * gdb.python/py-rbreak-func2.c: New file.
2327
2328 2017-11-16  Pedro Alves  <palves@redhat.com>
2329
2330         * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2331         pattern.
2332         * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2333         GDB.
2334
2335 2017-11-15  Simon Marchi  <simon.marchi@ericsson.com>
2336
2337         * gdb.tui/completionn.exp (test_tab_completion): Add space in
2338         regex.
2339
2340 2017-11-13  Simon Marchi  <simon.marchi@polymtl.ca>
2341
2342         * gdb.opt/inline-locals.exp: Remove trailing parentheses from
2343         test names.
2344
2345 2017-11-09  Pedro Alves  <palves@redhat.com>
2346
2347         * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
2348         factored out from ...
2349         (top level): ... here, and adjusted to avoid expecting beyond the
2350         prompt in a single gdb_test_multiple.
2351
2352 2017-11-09  Pedro Alves  <palves@redhat.com>
2353
2354         * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2355         output.
2356         * gdb.server/ext-attach.exp ("kill" test): Likewise.
2357         * gdb.server/ext-restart.exp ("kill" test): Likewise.
2358         * gdb.server/ext-run.exp ("kill" test): Likewise.
2359         * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2360
2361 2017-11-09  Pedro Alves  <palves@redhat.com>
2362
2363         * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2364         match till end of line.
2365
2366 2017-11-09  Pedro Alves  <palves@redhat.com>
2367
2368         * gdb.base/memattr.exp: Tighten regexes to match the end line.
2369
2370 2017-11-09  Pedro Alves  <palves@redhat.com>
2371
2372         * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2373         New procedures, factored out from ...
2374         (top level): ... here, and adjusted to avoid expecting beyond the
2375         prompt in one go.
2376
2377 2017-11-09  Pedro Alves  <palves@redhat.com>
2378
2379         * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2380         output.  Fix '?' match.
2381
2382 2017-11-08  Joel Brobecker  <brobecker@adacore.com>
2383
2384         * gdb.ada/scoped_watch: New testcase.
2385         * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2386         which is actually correct.
2387         * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2388         * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2389
2390 2017-11-08  Pedro Alves  <palves@redhat.com>
2391
2392         * gdb.gdb/complaints.exp (test_initial_complaints)
2393         (test_serial_complaints, test_short_complaints): Call
2394         complaint_internal instead of complaint.
2395
2396 2017-11-08  Djordje Todorovic  <djordje.todorovic@rt-rk.com>
2397
2398         * gdb.threads/tls-core.c: New file.
2399         * gdb.threads/tls-core.exp: Likewise.
2400
2401 2017-11-08   Pedro Alves  <palves@redhat.com>
2402
2403         * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2404         (p Exported_Capitalized): New test.
2405         (p exported_capitalized): New test.
2406
2407 2017-11-07  Pedro Alves  <palves@redhat.com>
2408
2409         * gdb.cp/ena-dis-br-range.exp: Add more tests.
2410
2411 2017-11-07  Pedro Alves  <palves@redhat.com>
2412
2413         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2414         * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2415         (disable_invalid, disable_inverted, disable_negative): New
2416         procedures.
2417         ("bad numbers"): New set of tests.
2418
2419 2017-11-07  Pedro Alves  <palves@redhat.com>
2420
2421         * gdb.cp/ena-dis-br-range.exp: Add tests.
2422
2423 2017-11-07  Pedro Alves  <palves@redhat.com>
2424
2425         * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2426
2427 2017-11-07  Xavier Roirand  <roirand@adacore.com>
2428             Pedro Alves  <palves@redhat.com>
2429
2430         * gdb.base/ena-dis-br.exp: Add reference to
2431         gdb.cp/ena-dis-br-range.exp.
2432         * gdb.cp/ena-dis-br-range.exp: New file.
2433         * gdb.cp/ena-dis-br-range.cc: New file.
2434
2435 2017-11-06  Pedro Alves  <palves@redhat.com>
2436
2437         * gdb.base/attach-non-pgrp-leader.c: New.
2438         * gdb.base/attach-non-pgrp-leader.exp: New.
2439
2440 2017-11-06  Pedro Alves  <palves@redhat.com>
2441
2442         * configure.ac: No longer check for termio.h and sgtty.h.
2443         * configure: Regenerate.
2444         * remote-utils.c: Include termios.h instead of gdb_termios.h.
2445         (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2446         Remove termio and sgtty code.
2447
2448 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2449
2450         * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2451         in GDB is disabled.
2452
2453 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2454
2455         * gdb.python/py-thrhandle.exp: Skip it if python is not
2456         enabled.
2457
2458 2017-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
2459
2460         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2461         as a breakpoint command.
2462
2463 2017-10-28  Maksim Dzabraev  <dzabraew@gmail.com>
2464
2465         PR python/21213
2466         * gdb.python/py-infthread.exp: Test calling
2467         InferiorThread.inferior () multiple times in a row.
2468
2469 2017-10-27  Keith Seitz  <keiths@redhat.com>
2470
2471         * gdb.opt/inline-break.exp (break_info_1): New procedure.
2472         Test "info break" for every inlined function breakpoint.
2473
2474 2017-10-27  Yao Qi  <yao.qi@linaro.org>
2475
2476         * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2477
2478 2017-10-26  Patrick Frants  <osscontribute@gmail.com>
2479
2480         * gdb.cp/classes.exp (test_static_members): Test printing
2481         Outer::instance.
2482         * gdb.cp/classes.c (struct Inner, struct Outer): New.
2483         (Inner::instance, Outer::instance): New.
2484
2485 2017-10-24  Pedro Alves  <palves@redhat.com>
2486
2487         * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2488         extra console" test in two stages.
2489
2490 2017-10-24  Pedro Alves  <palves@redhat.com>
2491
2492         * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2493
2494 2017-10-24  Pedro Alves  <palves@redhat.com>
2495
2496         * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2497         loop.
2498
2499 2017-10-24  Pedro Alves  <palves@redhat.com>
2500
2501         * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2502         $attempt" and "stoppedtry $stoppedtry" test prefixes.
2503
2504 2017-10-24  Pedro Alves  <palves@redhat.com>
2505
2506         * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2507         parameter and handle it.  Don't output read value in test name.
2508
2509 2017-10-24  Pedro Alves  <palves@redhat.com>
2510
2511         * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2512         custom test name.
2513
2514 2017-10-24  Pedro Alves  <palves@redhat.com>
2515
2516         * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2517         include the unstable output directory name in the test's name.
2518         (initial_setup_simple) <'set args'>: Use custom test name.
2519
2520 2017-10-24  Pedro Alves  <palves@redhat.com>
2521
2522         * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2523         with explicit test name.
2524
2525 2017-10-20  Pedro Alves  <palves@redhat.com>
2526
2527         * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2528         'wait -i'.  Use gdb_assert and remote_close.
2529
2530 2017-10-19  Andrew Burgess  <andrew.burgess@embecosm.com>
2531
2532         * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2533         number from variable rather than hard-coded.
2534
2535 2017-10-19  Pedro Alves  <palves@redhat.com>
2536
2537         * gdb.base/long-inferior-output.c: New file.
2538         * gdb.base/long-inferior-output.exp: New file.
2539
2540 2017-11-18  Keith Seitz  <keiths@redhat.com>
2541
2542         * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2543         method.
2544         (main): Call it.
2545         * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2546         Add additional user-defined conversion operator tests.
2547
2548 2017-10-17  Pedro Alves  <palves@redhat.com>
2549
2550         * boards/native-stdio-gdbserver.exp: Load "local-board".
2551
2552 2017-10-17  Pedro Alves  <palves@redhat.com>
2553
2554         * gdb.base/quit-live.c: New file.
2555         * gdb.base/quit-live.exp: New file.
2556
2557 2017-10-16  Keith Seitz  <keiths@redhat.com>
2558
2559         * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2560         (class_with_protected_typedef, class_with_private_typedef)
2561         (struct_with_public_typedef, struct_with_protected_typedef)
2562         (struct_with_private_typedef): New classes/structs.
2563         * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2564         typedefs and access specifiers.
2565
2566 2017-10-16  Pedro Alves  <palves@redhat.com>
2567             Simon Marchi  <simon.marchi@polymtl.ca>
2568
2569         * README (Local vs Remote vs Native): New section.
2570         * boards/local-board.exp: New file, with bits factored out from
2571         ...
2572         * boards/native-extended-gdbserver.exp: ... here.  Load
2573         "local-board".
2574         * boards/native-gdbserver.exp: Load "local-board".
2575         (${board}_spawn, ${board}_exec): Delete.
2576         * boards/native-stdio-gdbserver.exp: Most contents factored out to
2577         ...
2578         * boards/stdio-gdbserver-base.exp: ... this new file.
2579         * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2580         "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2581         procedure.
2582         * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2583         instead of native-stdio-gdbserver.  Don't set gdb_server_prog nor
2584         stdio_gdbserver_command.
2585         (${board}_get_remote_address, ${board}_get_comm_port)
2586         (${board}_download, ${board}_upload): Delete.
2587         (get_target_remote_pipe_cmd): New.
2588
2589 2017-10-16  Simon Marchi  <simon.marchi@ericsson.com>
2590
2591         * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2592         test_bkpt_deletion, test_bkpt_cond_and_cmds,
2593         test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2594         test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2595         test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2596         remove with_test_prefix.
2597
2598 2017-10-13  Pedro Alves  <palves@redhat.com>
2599
2600         * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2601         * gdb.base/annota1.exp: Use it instead of is_remote.
2602         * gdb.base/annota3.exp: Use it instead of is_remote.
2603         * gdb.cp/annota2.exp: Use it instead of is_remote.
2604         * gdb.cp/annota3.exp: Use it instead of is_remote.
2605         * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2606
2607 2017-10-13  Pedro Alves  <palves@redhat.com>
2608
2609         * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2610         (test_num_test_vars, run_and_count_vars, find_env)
2611         (test_set_unset_env, test_inherit_env_var): New procedures.
2612         (top level): Use them.
2613
2614 2017-10-13  Pedro Alves  <palves@redhat.com>
2615
2616         * lib/selftest-support.exp (selftest_setup): Extend comments, and
2617         also skip on stub-like targets.
2618
2619 2017-10-13  Pedro Alves  <palves@redhat.com>
2620
2621         PR gdb/22293
2622         * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2623         (top level): Move some tests to ...
2624         (test_not_found): ... this new procedure.
2625         (top level): Call it.
2626
2627 2017-10-13  Pedro Alves  <palves@redhat.com>
2628
2629         * gdb.base/term.exp: Don't skip if is_remote target.  Instead,
2630         expect different "info terminal" output if testing with a
2631         non-native target.
2632
2633 2017-10-13  Pedro Alves  <palves@redhat.com>
2634             Simon Marchi  <simon.marchi@polymtl.ca>
2635
2636         PR python/12966
2637         * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2638
2639 2017-10-13  Pedro Alves  <palves@redhat.com>
2640
2641         * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2642         already.
2643
2644 2017-10-13  Pedro Alves  <palves@redhat.com>
2645
2646         * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2647         is_remote.
2648
2649 2017-10-13  Pedro Alves  <palves@redhat.com>
2650
2651         * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2652         is_remote.
2653
2654 2017-10-13  Pedro Alves  <palves@redhat.com>
2655
2656         * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2657         is set.
2658         (corefile_test_attach): Likewise.  Check can_spawn_for_attach
2659         instead of is_remote.
2660
2661 2017-10-13  Pedro Alves  <palves@redhat.com>
2662
2663         * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2664         (top level): Add comment.
2665
2666 2017-10-13  Pedro Alves  <palves@redhat.com>
2667
2668         * gdb.base/remote.exp (top level): Fix comment typo and add
2669         missing return.
2670
2671 2017-10-13  Pedro Alves  <palves@redhat.com>
2672             Simon Marchi  <simon.marchi@polymtl.ca>
2673
2674         * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2675         calls and add comments.  Skip test if use_gdb_stub is set.
2676         (top level): Use "set cwd" command instead of "cd" command.
2677
2678 2017-10-13  Pedro Alves  <palves@redhat.com>
2679
2680         * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2681         is_remote target check.
2682
2683 2017-10-13  Pedro Alves  <palves@redhat.com>
2684
2685         * gdb.base/scope.exp: Use build_executable + clean_restart +
2686         gdb_file_cmd instead of prepare_for_testing and no longer skip
2687         "before run" tests on is_remote target boards.  Update comments.
2688         * boards/native-extended-gdbserver.exp
2689         (extended_gdbserver_load_last_file): New, factored out from ...
2690         (gdb_load): ... this.  Move further below and add comment.
2691         (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2692
2693 2017-10-12  Pedro Alves  <palves@redhat.com>
2694
2695         * gdb.base/attach.exp: Remove references to gdb64.
2696         * gdb.base/dbx.exp: Remove references to gdb64.
2697
2698 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
2699             Pedro Alves  <palves@redhat.com>
2700
2701         * gdb.base/label.exp: Remove is_remote target check.
2702
2703 2017-10-12  Pedro Alves  <palves@redhat.com>
2704
2705         * gdb.base/auvx.exp (coredir): Update comment.
2706         (top level) <core_works>: Use "set cwd" command instead of "cd"
2707         command.
2708
2709 2017-10-12  Pedro Alves  <palves@redhat.com>
2710             Simon Marchi  <simon.marchi@polymtl.ca>
2711
2712         * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2713         target boards.
2714
2715 2017-10-12  Pedro Alves  <palves@redhat.com>
2716             Simon Marchi  <simon.marchi@polymtl.ca>
2717
2718         * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2719         Instead skip if there's any gdb_protocol set.
2720
2721 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
2722             Pedro Alves  <palves@redhat.com>
2723
2724         * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2725
2726 2017-10-12  Pedro Alves  <palves@redhat.com>
2727             Simon Marchi  <simon.marchi@polymtl.ca>
2728
2729         * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2730         instead of on dejagnu remote boards.
2731
2732 2017-10-12  Pedro Alves  <palves@redhat.com>
2733             Simon Marchi  <simon.marchi@polymtl.ca>
2734
2735         * gdb.base/inferior-died.exp: Remove is_remote and isnative
2736         checks.  Use build_executable + clean_restart instead of
2737         prepare_for_testing.  Pass "set non-stop on" via GDBFLAGS instead
2738         of enabling non-stop after starting gdb.
2739
2740 2017-10-12  Pedro Alves  <palves@redhat.com>
2741
2742         * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2743         * gdb.threads/non-ldr-exc-2.exp: Ditto.
2744         * gdb.threads/non-ldr-exc-3.exp: Ditto.
2745         * gdb.threads/non-ldr-exc-4.exp: Ditto.
2746
2747 2017-10-11  Anton Kolesov  <Anton.Kolesov@synopsys.com>
2748
2749         * gdb.arch/arc-tdesc-cpu.exp: New file.
2750         * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2751
2752 2017-10-10  Simon Marchi  <simon.marchi@ericsson.com>
2753
2754         * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2755
2756 2017-10-10  Pedro Alves <palves@redhat.com>
2757
2758         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2759         expect CLI output.
2760
2761 2017-10-10  Pedro Alves  <palves@redhat.com>
2762
2763         * lib/selftest-support.exp (selftest_setup): Update for
2764         captured_command_loop's prototype change.
2765
2766 2017-10-09  Pedro Alves  <palves@redhat.com>
2767
2768         Test both arch1=>arch2 and arch2=>arch1.
2769
2770         * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2771         (srcfile2, binfile2, march1, march2): Remove globals.  Largely
2772         factored out to...
2773         (append_arch1_options, append_arch2_options, append_arch_options)
2774         (build_executables): New procedures.
2775         (do_test): New 'first_arch' parameter.  Use it to define 'from_exec'
2776         local.
2777         (top level): Add new 'first_arch' testing axis.
2778
2779 2017-10-09  Pedro Alves  <palves@redhat.com>
2780
2781         * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2782         (barrier): New.
2783         (thread_start, all_started): New functions.
2784         (main): Spawn new thread and wait until it is scheduled.
2785         * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2786         option.
2787         (do_test): Add 'selected_thread' parameter.  Run to all_started
2788         instead of main.  Explicitly set the breakpoint at main.  Switch
2789         to the SELECTED_THREAD thread.
2790         (top level): Test handling the exec event with either the main
2791         thread or the second thread selected.
2792
2793 2017-10-09  Pedro Alves  <palves@redhat.com>
2794
2795         * gdb.base/print-file-var-main.c: Fix get_version_2 value check
2796         logic.  Move STOP marker after the value checks.
2797         * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
2798         regexp.
2799
2800 2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>
2801
2802         * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
2803
2804 2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
2805
2806         * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
2807         integer-to-dfp conversion.
2808         * gdb.base/dfp-test.exp: Likewise.
2809
2810 2017-10-04  Pedro Alves  <palves@redhat.com>
2811
2812         * gdb.multi/hangout.c: Include <unistd.h>.
2813         (hangout_loop): New function.
2814         (main): Call alarm.  Call hangout_loop in a loop.
2815         * gdb.multi/hello.c: Include <unistd.h>.
2816         (hello_loop): New function.
2817         (main): Call alarm.  Call hangout_loop in a loop.
2818         * gdb.multi/multi-arch.exp: Test running to a breakpoint one
2819         inferior with the other selected.
2820
2821 2017-10-04  Simon Marchi  <simon.marchi@ericsson.com>
2822
2823         * gdb.mi/list-thread-groups-available.exp: New file.
2824         * gdb.mi/list-thread-groups-available.c: New file.
2825
2826 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
2827
2828         * gdb.base/set-cwd.exp: Make it available on
2829         native-extended-gdbserver.
2830
2831 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
2832
2833         * gdb.base/set-cwd.c: New file.
2834         * gdb.base/set-cwd.exp: Likewise.
2835
2836 2017-10-02  Tom Tromey  <tom@tromey.com>
2837
2838         PR rust/22236:
2839         * gdb.rust/simple.rs (main): New variable "fslice".
2840         * gdb.rust/simple.exp: Add slice tests.  Update string tests.
2841
2842 2017-10-02  Tom Tromey  <tom@tromey.com>
2843
2844         * gdb.rust/simple.exp: Test ptype of a slice.
2845
2846 2017-10-02  Tom Tromey  <tom@tromey.com>
2847
2848         * gdb.rust/simple.exp: Test index of slice.
2849
2850 2017-09-27  Tom Tromey  <tom@tromey.com>
2851
2852         * gdb.base/macscp.exp: Add __VA_OPT__ tests.
2853
2854 2017-09-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2855             Pedro Alves  <palves@redhat.com>
2856
2857         * gdb.base/compare-sections.exp (get value of read-only section): Read
2858         as unsigned value.
2859         (corrupt read-only section): Likewise and don't set written if patching
2860         failed.
2861
2862 2017-09-21  Kevin Buettner  <kevinb@redhat.com>
2863
2864         * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
2865         files.
2866
2867 2017-09-20  Pedro Alves  <palves@redhat.com>
2868
2869         * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
2870         symbol names in gdb's output.
2871         * gdb.cp/overload.exp ("list all overloads"): Likewise.
2872
2873 2017-09-20  Pedro Alves  <palves@redhat.com>
2874
2875         * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
2876         Rename to ...
2877         (test_list_ambiguous_symbol): ... this and add a symbol name
2878         parameter.  Adjust.
2879         (test_list_ambiguous_function): Reimplement on top of
2880         test_list_ambiguous_symbol and also test listing ambiguous
2881         variables.
2882         * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
2883         (ambiguous_fun): ... this.
2884         (ambiguous_var): New.
2885         * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
2886         (ambiguous_fun): ... this.
2887         (ambiguous_var): New.
2888
2889 2017-09-19  John Baldwin  <jhb@FreeBSD.org>
2890
2891         * gdb.base/starti.c: New file.
2892         * gdb.base/starti.exp: New file.
2893         * lib/gdb.exp (gdb_starti_cmd): New procedure.
2894
2895 2017-09-14  Pedro Alves  <palves@redhat.com>
2896
2897         * gdb.base/nodebug.exp (nodebug_runto): New procedure.
2898         (top level): Use it instead of runto.
2899
2900 2017-09-11  Tom Tromey  <tom@tromey.com>
2901
2902         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
2903
2904 2017-09-11  Tom Tromey  <tom@tromey.com>
2905
2906         * gdb.python/py-infthread.exp: Add tests for new_thread event.
2907         * gdb.python/py-inferior.exp: Add tests for new inferior events.
2908
2909 2017-09-08  Christoph Weinmann  <christoph.t.weinmann@intel.com>
2910
2911         * gdb.fortran/printing-types.exp: New file.
2912         * gdb.fortran/printing-types.exp: New file.
2913
2914 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
2915
2916         * gdb.fortran/vla-ptype.exp: Fix typos.
2917         * gdb.fortran/vla-value.exp: Same.
2918
2919 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
2920
2921         * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
2922         * gdb.mi/mi-var-child-f.exp: Likewise.
2923         * gdb.mi/mi-vla-fortran.exp: Likewise.
2924
2925 2017-09-08  Frank Penczek  <frank.penczek@intel.com>
2926             Christoph Weinmann  <christoph.t.weinmann@intel.com>
2927             Bernhard Heckel  <bernhard.heckel@intel.com>
2928
2929         * gdb.fortran/ptr-indentation.f90: New file.
2930         * gdb.fortran/ptr-indentation.exp: New file.
2931
2932 2017-09-05  Tom Tromey  <tom@tromey.com>
2933
2934         PR gdb/22010:
2935         * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
2936
2937 2017-09-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2938
2939         * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
2940
2941 2017-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
2942
2943         * gdb.threads/tls-nodebug-pie.c: New file.
2944         * gdb.threads/tls-nodebug-pie.exp: New file.
2945
2946 2017-09-05  Tom Tromey  <tom@tromey.com>
2947
2948         * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
2949         for rust.
2950
2951 2017-09-05  Simon Marchi  <simon.marchi@ericsson.com>
2952
2953         * gdb.multi/multi-arch-exec.exp: Test with different
2954         "follow-exec-mode" settings.
2955         (do_test): New procedure.
2956
2957 2017-09-04  Pedro Alves  <palves@redhat.com>
2958
2959         * gdb.base/func-static.c (S::method const, S::method volatile)
2960         (S::method volatile const): New methods.
2961         (c_s, v_s, cv_s): New instances.
2962         (main): Call method() on them.
2963         * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
2964         (cannot_resolve): New procedure.
2965         (cxx_scopes_list): Test cv methods.  Add print-scope-quote and
2966         print-quote-unquoted columns.
2967         (do_test): Test printing each scope too.
2968
2969 2017-09-04  Pedro Alves  <palves@redhat.com>
2970
2971         * gdb.base/local-static.exp: Also test with
2972         class::method::variable wholly quoted.
2973         * gdb.cp/m-static.exp (class::method::variable): Remove test.
2974
2975 2017-09-04  Pedro Alves  <palves@redhat.com>
2976
2977         * gdb.base/local-static.c: New.
2978         * gdb.base/local-static.cc: New.
2979         * gdb.base/local-static.exp:  New.
2980
2981 2017-09-04  Pedro Alves  <palves@redhat.com>
2982
2983         * gdb.asm/asm-source.exp: Add casts to int.
2984         * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
2985         (dataglobal64_1, dataglobal64_2): New globals.
2986         * gdb.base/nodebug.exp: Test different expressions involving the
2987         new globals, with print, whatis and ptype.  Add casts to int.
2988         * gdb.base/solib-display.exp: Add casts to int.
2989         * gdb.compile/compile-ifunc.exp: Expect warning.  Add cast to int.
2990         * gdb.cp/m-static.exp: Add cast to int.
2991         * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
2992         * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
2993         tls variable with no debug info without a cast.  Test with a cast
2994         to int too.
2995         * gdb.trace/entry-values.exp: Add casts.
2996
2997 2017-09-04  Pedro Alves  <palves@redhat.com>
2998
2999         * gdb.base/nodebug.exp: Test that ptype's error about functions
3000         with unknown return type includes the function name too.
3001
3002 2017-09-04  Pedro Alves  <palves@redhat.com>
3003
3004         * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
3005         return type of munmap in infcall.
3006         * gdb.base/break-probes.exp: Cast return type of foo in infcall.
3007         * gdb.base/checkpoint.exp: Simplify using for loop.  Cast return
3008         type of ftell in infcall.
3009         * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
3010         type of getpid in infcall.
3011         * gdb.base/infcall-exec.exp: Cast return type of execlp in
3012         infcall.
3013         * gdb.base/info-os.exp: Cast return type of getpid in infcall.
3014         Bail on failure to extract the pid.
3015         * gdb.base/nodebug.c: #include <stdint.h>.
3016         (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
3017         New functions.
3018         * gdb.base/nodebug.exp (test_call_promotion): New procedure.
3019         Change expected output of print/whatis/ptype with functions with
3020         no debug info.  Test all supported languages.  Call
3021         test_call_promotion.
3022         * gdb.compile/compile.exp: Adjust expected output to expect
3023         warning.
3024         * gdb.threads/siginfo-threads.exp: Likewise.
3025
3026 2017-09-04  Pedro Alves  <palves@redhat.com>
3027
3028         * gdb.base/callfuncs.exp (do_function_calls): New parameter
3029         "prototypes".  Test calling float functions via prototyped and
3030         unprototyped function pointers.
3031         (perform_all_tests): New parameter "prototypes".  Pass it down.
3032         (top level): Pass down "prototypes" parameter to
3033         perform_all_tests.
3034
3035 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3036
3037         * gdb.base/commands.exp (loop_break_test, loop_continue_test):
3038         Test with nested loops.
3039
3040 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3041
3042         * gdb.base/commands.exp: Call the new procedures.
3043         (loop_break_test, loop_continue_test): New procedures.
3044
3045 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3046
3047         * gdb.base/commands.exp: Call new procedure.
3048         (define_if_without_arg_test): New procedure.
3049
3050 2017-09-04  Pedro Alves  <palves@redhat.com>
3051
3052         * gdb.base/list-ambiguous.exp: New file.
3053         * gdb.base/list-ambiguous0.c: New file.
3054         * gdb.base/list-ambiguous1.c: New file.
3055         * gdb.base/list.exp (test_list_range): Adjust expected output.
3056
3057 2017-08-31  Sergio Durigan Junior  <sergiodj@redhat.com>
3058
3059         * gdb.base/share-env-with-gdbserver.c: New file.
3060         * gdb.base/share-env-with-gdbserver.exp: Likewise.
3061
3062 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3063
3064         * gdb.base/commands.exp (gdbvar_simple_if_test,
3065         gdbvar_simple_if_test, gdbvar_complex_if_while_test,
3066         progvar_simple_if_test, progvar_simple_while_test,
3067         progvar_complex_if_while_test, user_defined_command_test,
3068         user_defined_command_args_eval,
3069         user_defined_command_args_stack_test,
3070         user_defined_command_manyargs_test, bp_deleted_in_command_test,
3071         temporary_breakpoint_commands,
3072         gdb_test_no_prompt, redefine_hook_test,
3073         redefine_backtrace_test): Remove "global gdb_prompt".
3074
3075 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3076
3077         * gdb.base/commands.exp (user_defined_command_case_sensitivity):
3078         New proc, call it from toplevel.
3079
3080 2017-08-23  Sergio Durigan Junior  <sergiodj@redhat.com>
3081
3082         PR remote/21852
3083         * gdb.server/normal.c: New file, copied from gdb.base.
3084         * gdb.server/run-without-local-binary.exp: New file.
3085
3086 2017-08-07  Weimin Pan  <weimin.pan@oracle.com>
3087
3088         * gdb.arch/sparc64-adi.exp: New file.
3089         * gdb.arch/sparc64-adi.c: New file.
3090
3091 2017-08-22  Pedro Alves  <palves@redhat.com>
3092
3093         * gdb.cp/overload.exp (line_range_pattern): New procedure.
3094         (top level): Add "list all overloads" tests.
3095
3096 2017-08-22  Tom Tromey  <tom@tromey.com>
3097
3098         * gdb.gdb/xfullpath.exp: Remove.
3099
3100 2017-08-21  Pedro Alves  <palves@redhat.com>
3101
3102         PR gdb/19487
3103         * gdb.base/symbol-alias.c: New.
3104         * gdb.base/symbol-alias2.c: New.
3105         * gdb.base/symbol-alias.exp: New.
3106
3107 2017-08-21  Pedro Alves  <palves@redhat.com>
3108
3109         * gdb.base/dfp-test.c
3110         (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
3111         (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
3112         * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
3113         * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
3114         * gdb.base/whatis-ptype-typedefs.c: New.
3115         * gdb.base/whatis-ptype-typedefs.exp: New.
3116         * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
3117         (an_int, an_int_type, an_int_type2): New globals.
3118         * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
3119         involving typedefs and cast expressions.
3120         * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
3121         (lookup_typedefs_function): New.
3122         (typedefs_pretty_printers_dict): New.
3123         (top level): Register lookup_typedefs_function in
3124         gdb.pretty_printers.
3125
3126 2017-08-18  Yao Qi  <yao.qi@linaro.org>
3127
3128         * gdb.server/unittest.exp: New.
3129
3130 2017-08-15  Sergio Durigan Junior  <sergiodj@redhat.com>
3131
3132         PR gdb/21954
3133         * gdb.base/environ.exp: Add test to check if 'unset environment'
3134         works.
3135
3136 2017-08-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3137
3138         * lib/gdb.exp (universal_compile_options): New caching proc.
3139         (gdb_compile): Suppress GCC's coloring of messages.
3140
3141 2017-08-14  Tom Tromey  <tom@tromey.com>
3142
3143         PR gdb/21675:
3144         * gdb.base/printcmds.exp (test_radices): New function.
3145         * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
3146         * gdb.base/sizeof.exp (check_valueof): Use p/d.
3147         * lib/gdb.exp (get_integer_valueof): Use p/d.
3148
3149 2017-08-12  Simon Marchi  <simon.marchi@ericsson.com>
3150
3151         * lib/gdb.exp (get_valueof): Don't capture end-of-line
3152         characters.
3153
3154 2017-08-05  Tom Tromey  <tom@tromey.com>
3155
3156         * gdb.rust/simple.exp: Allow String to appear in a different
3157         namespace.
3158
3159 2017-07-26  Yao Qi  <yao.qi@linaro.org>
3160
3161         * gdb.gdb/unittest.exp: Invoke command
3162         "maintenance check xml-descriptions".
3163
3164 2017-07-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3165
3166         * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
3167         calling context.
3168         (hex128): Drop erroneous calculation of parameters.
3169
3170 2017-07-22  Simon Marchi  <simon.marchi@ericsson.com>
3171
3172         * gdb.python/py-unwind.exp: Disable stack protection when
3173         building test file.
3174
3175 2017-07-20  Pedro Alves  <palves@redhat.com>
3176
3177         * gdb.base/default.exp (set language): Adjust expected output.
3178
3179 2017-07-20  Pedro Alves  <palves@redhat.com>
3180
3181         * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
3182         (test_minsym): ... this, and make static.
3183         (get_pck__foo__bar__minsym): Rename to ...
3184         (get_test_minsym): ... this.
3185         * gdb.base/dmsym.exp (): Remove "set language ada" call.  Adjust
3186         symbol names and comments.
3187         * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
3188         (get_test_minsym): ... this.
3189         (pck__foo__bar__minsym__2): Rename to ...
3190         (test_minsym): ... this.
3191         (main): Adjust.
3192
3193 2017-07-17  Pedro Alves  <palves@redhat.com>
3194
3195         * gdb.base/completion.exp: Adjust expected output.
3196         * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
3197         the completer works.
3198
3199 2017-07-17  Pedro Alves  <palves@redhat.com>
3200
3201         * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
3202
3203 2017-07-15  Andrew Burgess  <andrew.burgess@embecosm.com>
3204
3205         * gdb.mi/mi-vla-fortran.exp: Make test names unique.
3206
3207 2017-07-14  Tom Tromey  <tom@tromey.com>
3208
3209         PR rust/21764:
3210         * gdb.rust/simple.exp: Add tests.
3211
3212 2017-07-14  Tom Tromey  <tom@tromey.com>
3213
3214         * gdb.rust/simple.exp: Add regression test for PR rust/21763.
3215
3216 2017-07-14  Pedro Alves  <palves@redhat.com>
3217
3218         * gdb.linespec/base/one/thefile.cc (z1): New function.
3219         * gdb.linespec/base/two/thefile.cc (z2): New function.
3220         * gdb.linespec/linespec.exp: Add tests.
3221
3222 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3223
3224         * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
3225         to mi_create_breakpoint.
3226
3227 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3228
3229         * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
3230         mi_create_breakpoint.
3231
3232 2017-07-11  Iain Buclaw  <ibuclaw@gdcproject.org>
3233
3234         * gdb.dlang/demangle.exp: Update for demangling changes.
3235
3236 2017-07-09  Tom Tromey  <tom@tromey.com>
3237
3238         * gdb.dwarf2/shortpiece.exp: New file.
3239
3240 2017-07-06  David Blaikie  <dblaikie@gmail.com>
3241
3242         * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
3243         built from fissiont-multi-cu{1,2}.c.
3244         * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
3245         except putting 'main' and 'func' in separate CUs in the same DWO file.
3246         * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
3247         test.
3248         * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
3249         test.
3250
3251 2017-07-06  Pedro Alves  <palves@redhat.com>
3252
3253         * gdb.python/py-unwind.exp: Test flushregs.
3254
3255 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3256
3257         PR cli/21688
3258         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3259         tests for alias commands and trailing whitespace.
3260
3261 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3262
3263         PR cli/21688
3264         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3265         procedure.  Call it.
3266
3267 2017-06-29  Pedro Alves  <palves@redhat.com>
3268
3269         * gdb.base/printcmds.exp: Add tests.
3270
3271 2017-06-28  Doug Gilmore  <Doug.Gilmore@imgtec.com>
3272
3273         PR gdb/21337
3274         * gdb.base/reread-readsym.exp: New file.
3275         * gdb.base/reread-readsym.c: New file.
3276
3277 2017-06-21  Kevin Buettner  <kevinb@redhat.com>
3278
3279         * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3280         subpattern.
3281
3282 2017-06-19  Peter Bergner  <bergner@vnet.ibm.com>
3283
3284         * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3285         extended mnemonic.
3286         * gdb.arch/powerpc-power9.s: Likewise.
3287
3288 2017-06-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3289
3290         * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3291         on 32-bit x86 targets.  Exploit is_*_target macros where
3292         appropriate.
3293
3294 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3295
3296         * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3297         register pieces.
3298
3299 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3300
3301         * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3302         located in one or more DWARF pieces.
3303
3304 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3305
3306         * lib/gdb.exp (get_endianness): New proc.
3307         * gdb.arch/aarch64-fp.exp: Use it.
3308         * gdb.arch/altivec-regs.exp: Likewise.
3309         * gdb.arch/e500-regs.exp: Likewise.
3310         * gdb.arch/vsx-regs.exp: Likewise.
3311         * gdb.base/dump.exp: Likewise.
3312         * gdb.base/funcargs.exp: Likewise.
3313         * gdb.base/gnu_vector.exp: Likewise.
3314         * gdb.dwarf2/formdata16.exp: Likewise.
3315         * gdb.dwarf2/implptrpiece.exp: Likewise.
3316         * gdb.dwarf2/nonvar-access.exp: Likewise.
3317         * gdb.python/py-inferior.exp: Likewise.
3318         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3319
3320 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3321
3322         PR gdb/21226
3323         * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3324         stack value pieces are taken from the LSB end.
3325
3326 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3327
3328         * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3329         variable at nonzero offset.
3330
3331 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3332
3333         * gdb.dwarf2/var-access.c: New file.
3334         * gdb.dwarf2/var-access.exp: New test.
3335         * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3336
3337 2017-06-12  Tom Tromey  <tom@tromey.com>
3338
3339         * gdb.dwarf2/formdata16.exp: Add tests.
3340
3341 2017-06-12  Tom Tromey  <tom@tromey.com>
3342
3343         * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
3344
3345 2017-06-12  Tom Tromey  <tom@tromey.com>
3346
3347         PR exp/16225:
3348         * gdb.reverse/i386-sse-reverse.exp: Update tests.
3349         * gdb.arch/vsx-regs.exp: Update tests.
3350         * gdb.arch/s390-vregs.exp (hex128): New proc.
3351         Update test.
3352         * gdb.arch/altivec-regs.exp: Update tests.
3353
3354 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3355
3356         * gdb.base/startup-with-shell.c: New file.
3357         * gdb.base/startup-with-shell.exp: Likewise.
3358
3359 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3360
3361         * gdb.server/non-existing-program.exp: Update regex in order to
3362         reflect the fact that gdbserver is now using fork_inferior (with a
3363         shell) to startup the inferior.
3364
3365 2017-05-30  Simon Marchi  <simon.marchi@ericsson.com>
3366
3367         * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3368         support function calls from GDB.
3369
3370 2017-05-21  Tom Tromey  <tom@tromey.com>
3371
3372         PR rust/21466:
3373         * gdb.rust/unsized.exp: New file.
3374         * gdb.rust/unsized.rs: New file.
3375
3376 2017-05-19  Tom Tromey  <tom@tromey.com>
3377
3378         PR rust/21484:
3379         * gdb.rust/watch.exp: New file.
3380         * gdb.rust/watch.rs: New file.
3381
3382 2017-05-18  Tom Tromey  <tom@tromey.com>
3383
3384         * gdb.rust/simple.exp: Allow Box to be qualified.
3385
3386 2017-05-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3387
3388         * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3389
3390 2017-05-18  Pedro Alves  <palves@redhat.com>
3391
3392         * gdb.base/fileio.c (test_write, test_read, test_close)
3393         (test_fstat): Don't print 'ret' in the fail path.
3394
3395 2017-05-18  Pedro Alves  <palves@redhat.com>
3396
3397         * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3398         (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3399         (test_system, test_rename, test_unlink, test_time): Change
3400         prototypes.
3401         * gdb.base/fileio.exp (stop_msg): Adjust.
3402
3403 2017-05-18  Pedro Alves  <palves@redhat.com>
3404
3405         * gdb.base/fileio.c (null_str): New global.
3406         (test_stat): Use it.
3407         * gdb.base/fileio.exp: Remove nowarnings.
3408
3409 2017-05-17  Yao Qi  <yao.qi@linaro.org>
3410
3411         * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3412
3413 2017-05-17  Simon Marchi  <simon.marchi@ericsson.com>
3414
3415         * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3416         argument command.
3417         (top-level): Invoke test_set_inferior_tty.
3418
3419 2017-05-04  Pedro Alves  <palves@redhat.com>
3420
3421         * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3422         Add parens to print call for Python 3.
3423
3424 2017-05-03  Keith Seitz  <keiths@redhat.com>
3425
3426         * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3427         (main): Call it.
3428
3429 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3430
3431         * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3432         to prev and next.
3433
3434 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3435
3436         * gdb.python/py-record-btrace.exp: Remove test for
3437         gdb.BtraceInstruction.error.
3438
3439 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3440
3441         * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3442
3443 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3444
3445         * gdb.python/py-record-btrace-threads.c: New file.
3446         * gdb.python/py-record-btrace-threads.exp: New file.
3447
3448 2017-04-28  Sergio Durigan Junior  <sergiodj@redhat.com>
3449
3450         PR testsuite/8595
3451         * gdb.base/environ.exp: Make test available in all architectures.
3452         Move bits related to "info program" testing to
3453         gdb.base/info-program.exp.  Rewrite tests to use the two new
3454         procedures mentione below.
3455         (test_set_show_env_var) New procedure.
3456         (test_set_show_env_var_equal): Likewise.
3457         * gdb.base/info-program.exp: New file.
3458
3459 2017-04-27  Keith Seitz  <keiths@redhat.com>
3460
3461         * gdb.cp/oranking.cc (test15): New function.
3462         (main): Call test15 and declare additional variables for testing.
3463         * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3464         "p foo101('abc')" tests.
3465         Add tests for cv qualifier overloads.
3466         * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3467         "lvalue reference overload" test.
3468         * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3469         "print value of f1 on Child&& in f2" test.
3470
3471 2017-04-19  Pedro Alves  <palves@redhat.com>
3472
3473         * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3474         procedure.
3475         (top level): Call it.
3476         * lib/gdb.exp (gdb_define_cmd): New procedure.
3477
3478 2017-04-12  Pedro Alves  <palves@redhat.com>
3479
3480         PR gdb/21323
3481         * gdb.cp/wide_char_types.c: Include <wchar.h>.
3482         (wchar): New global.
3483         * gdb.cp/wide_char_types.exp (wide_char_types_program)
3484         (do_test_wide_char, wide_char_types_no_program, top level): Add
3485         wchar_t testing.
3486
3487 2017-04-12  Pedro Alves  <palves@redhat.com>
3488
3489         PR c++/21323
3490         * gdb.cp/wide_char_types.c: New file.
3491         * gdb.cp/wide_char_types.exp: New file.
3492
3493 2017-04-05  Sergio Durigan Junior  <sergiodj@redhat.com>
3494
3495         PR gdb/21352
3496         * gdb.trace/tsv.exp: Add test for "tsave -r".
3497
3498 2017-03-30  Iain Buclaw  <ibuclaw@gdcproject.org>
3499
3500         * gdb.dlang/watch-loc.c: New file.
3501         * gdb.dlang/watch-loc.exp: New file.
3502
3503 2017-03-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3504
3505         * gdb.python/py-section-script.exp (sepdebug): New testcases.
3506
3507 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3508
3509         * gdb.arch/arc-analyze-prologue.S: New file.
3510         * gdb.arch/arc-analyze-prologue.exp: Likewise.
3511
3512 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3513
3514         * gdb.arch/arc-decode-insn.S: New file.
3515         * gdb.arch/arc-decode-insn.exp: Likewise.
3516
3517 2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>
3518
3519         PR tdep/20928
3520         * gdb.arch/sparc64-regs.exp: New file.
3521         * gdb.arch/sparc64-regs.S: Likewise.
3522
3523 2017-03-21  Tim Wiederhake  <tim.wiederhake@intel.com>
3524
3525         * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3526         and memory view on Python 3.
3527
3528 2017-03-20  Artemiy Volkov  <artemiyv@acm.org>
3529             Keith Seitz  <keiths@redhat.com>
3530
3531         PR gdb/14441
3532         * gdb.cp/demangle.exp: Add rvalue reference tests.
3533         * gdb.cp/rvalue-ref-casts.cc: New file.
3534         * gdb.cp/rvalue-ref-casts.exp: New file.
3535         * gdb.cp/rvalue-ref-overload.cc: New file.
3536         * gdb.cp/rvalue-ref-overload.exp: New file.
3537         * gdb.cp/rvalue-ref-params.cc: New file.
3538         * gdb.cp/rvalue-ref-params.exp: New file.
3539         * gdb.cp/rvalue-ref-sizeof.cc: New file.
3540         * gdb.cp/rvalue-ref-sizeof.exp: New file.
3541         * gdb.cp/rvalue-ref-types.cc: New file.
3542         * gdb.cp/rvalue-ref-types.exp: New file.
3543         * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3544         * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3545
3546 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
3547
3548         * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3549         New procedure.
3550
3551 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
3552
3553         * lib/mi-support.exp (mi_gdb_test): Add additional message
3554         for unexpected output.
3555
3556 2017-03-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3557
3558         * gdb.base/examine-backward.c (Barrier): New character array
3559         constant, to ensure that TestStrings is preceded by a string
3560         terminator.
3561
3562 2017-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3563
3564         * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3565         * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3566         and implicit pointer into such a location.
3567
3568 2017-03-16  Doug Evans  <dje@google.com>
3569
3570         * gdb.python/py-lazy-string (pointer): Really add new typedef.
3571
3572 2017-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3573
3574         * gdb.cp/m-static.exp: Fix expectation for prototype of
3575         test5.single_constructor and single_constructor::single_constructor.
3576
3577 2017-03-16  Doug Evans  <dje@google.com>
3578
3579         * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3580         * gdb.guile/scm-lazy-string.c: New file.
3581         * gdb.guile/scm-value.exp: Move lazy string tests to ...
3582         * gdb.guile/scm-lazy-string.exp: ... here, new file.  Add more tests
3583         for pointer, array, typedef lazy strings.
3584
3585 2017-03-16  Doug Evans  <dje@google.com>
3586
3587         PR python/17728, python/18439, python/18779
3588         * gdb.python/py-value.c (main) Delete locals sptr, sn.
3589         * gdb.python/py-lazy-string.c (pointer): New typedef.
3590         (main): New locals ptr, array, typedef_ptr.
3591         * gdb.python/py-value.exp: Move lazy string tests to ...
3592         * gdb.python/py-lazy-string.exp: ... here.  Add more tests for pointer,
3593         array, typedef lazy strings.
3594
3595 2017-03-14  Anton Kolesov  <anton.kolesov@synopsys.com>
3596
3597         * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3598           Add optional 'test' parameter.
3599
3600 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
3601
3602         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3603         Skip for versions of DejaGnu < 1.5.
3604
3605 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
3606
3607         * lib/gdb.exp (dejagnu_version): New proc.
3608         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3609         Use dejagnu_version.
3610
3611 2017-03-10  Keith Seitz  <keiths@redhat.com>
3612
3613         PR c++/8128
3614         * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3615         type from destructor regexps.
3616         Add a branch which actually passes the test.
3617         Adjust "ptype t5i" test names.
3618
3619 2017-03-08  Pedro Alves  <palves@redhat.com>
3620
3621         * gdb.base/step-over-exit.exp: Add explicit test message.
3622
3623 2017-03-08  Pedro Alves  <palves@redhat.com>
3624
3625         PR gdb/18360
3626         * gdb.threads/interrupt-while-step-over.c: New file.
3627         * gdb.threads/interrupt-while-step-over.exp: New file.
3628
3629 2017-03-08  Pedro Alves  <palves@redhat.com>
3630
3631         * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3632         * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3633
3634 2017-03-08  Pedro Alves  <palves@redhat.com>
3635
3636         * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3637         PKRU as not supported as a PASS.
3638
3639 2017-03-08  Pedro Alves  <palves@redhat.com>
3640
3641         * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3642         prefix instead of $binfile1/$binfile2.
3643         * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3644         in test message.
3645         * gdb.python/py-completion.exp: Use "load python file" as test
3646         messages instead of unstable path names.
3647
3648 2017-03-08  Pedro Alves  <palves@redhat.com>
3649             Jan Kratochvil  <jan.kratochvil@redhat.com>
3650
3651         PR cli/21218
3652         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3653         New proc.
3654         (top level): Call it.
3655
3656 2017-03-08  Pedro Alves  <palves@redhat.com>
3657
3658         PR tui/21216
3659         * gdb.tui/tui-nl-filtered-output.exp: New file.
3660
3661 2017-03-08  Pedro Alves  <palves@redhat.com>
3662
3663         * gdb.base/completion.exp: Move TUI completion tests to ...
3664         * gdb.tui/completion.exp: ... this new file.
3665
3666 2017-03-08  Pedro Alves  <palves@redhat.com>
3667
3668         * gdb.base/tui-disasm-long-lines.c,
3669         gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3670         gdb.base/tui-layout.exp: Move to ...
3671         * gdb.tui/: ... this new directory.
3672
3673 2017-03-07  Pedro Alves  <palves@redhat.com>
3674
3675         * gdb.base/tui-layout.c: New file.
3676         * gdb.base/tui-layout.exp: New file.
3677
3678 2017-03-07  Pedro Alves  <palves@redhat.com>
3679
3680         * gdb.base/tui-layout.c: Rename to ...
3681         * gdb.base/tui-disasm-long-lines.c: ... this.
3682         * gdb.base/tui-layout.exp: Rename to ...
3683         * gdb.base/tui-disasm-long-lines.exp: ... this.
3684
3685 2017-03-07  Pedro Alves  <palves@redhat.com>
3686
3687         * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3688
3689 2017-03-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
3690
3691         * i386-mpx-call.c: New file.
3692         * i386-mpx-call.exp: New file.
3693
3694 2017-02-28  Peter Bergner  <bergner@vnet.ibm.com>
3695
3696         * gdb.arch/powerpc-power.exp: Delete test.
3697         * gdb.arch/powerpc-power.s: Likewise.
3698         * gdb.disasm/disassembler-options.exp: New test.
3699         * gdb.arch/powerpc-altivec.exp: Likewise.
3700         * gdb.arch/powerpc-altivec.s: Likewise.
3701         * gdb.arch/powerpc-altivec2.exp: Likewise.
3702         * gdb.arch/powerpc-altivec2.s: Likewise.
3703         * gdb.arch/powerpc-altivec3.exp: Likewise.
3704         * gdb.arch/powerpc-altivec3.s: Likewise.
3705         * gdb.arch/powerpc-power7.exp: Likewise.
3706         * gdb.arch/powerpc-power7.s: Likewise.
3707         * gdb.arch/powerpc-power8.exp: Likewise.
3708         * gdb.arch/powerpc-power8.s: Likewise.
3709         * gdb.arch/powerpc-power9.exp: Likewise.
3710         * gdb.arch/powerpc-power9.s: Likewise.
3711         * gdb.arch/powerpc-vsx.exp: Likewise.
3712         * gdb.arch/powerpc-vsx.s: Likewise.
3713         * gdb.arch/powerpc-vsx2.exp: Likewise.
3714         * gdb.arch/powerpc-vsx2.s: Likewise.
3715         * gdb.arch/powerpc-vsx3.exp: Likewise.
3716         * gdb.arch/powerpc-vsx3.s: Likewise.
3717         * gdb.arch/arm-disassembler-options.exp: Likewise.
3718         * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3719         * gdb.arch/s390-disassembler-options.exp: Likewise.
3720
3721 2017-02-23  Luis Machado  <lgustavo@codesourcery.com>
3722
3723         * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3724         (check_supported_features): ... this. Changed return type to void.
3725         (supports_rdseed): New static global.
3726         (rdseed): Check supports_rdseed.
3727         (initialize): Call check_supported_features.
3728
3729 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3730
3731         * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3732         gdb.arch/ppc64-atomic-inst.exp.  Add tests for lbarx/stbcx, lharx/sthcx
3733         and lqarx/stqcx.
3734         * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3735         * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3736
3737 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3738
3739         * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3740         uppercase.
3741
3742 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3743
3744         * gdb.dwarf2/formdata16.c: New file.
3745         * gdb.dwarf2/formdata16.exp: New file.
3746         * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3747
3748 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3749
3750         * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3751         * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3752         * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3753         * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3754         DW_AT_GNU_*.
3755
3756 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3757
3758         * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3759
3760 2017-02-15  Sergio Durigan Junior  <sergiodj@redhat.com>
3761
3762         PR gdb/21164
3763         * gdb.base/maint.exp: Add testcases for when the commands do
3764         not have arguments.
3765
3766 2017-02-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3767
3768         * gdb.cp/chained-calls.exp: Use p instead of P.
3769
3770 2017-02-14  Tim Wiederhake  <tim.wiederhake@intel.com>
3771
3772         * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3773         gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3774
3775 2017-02-14  Tom Tromey  <tom@tromey.com>
3776
3777         PR python/13598:
3778         * gdb.python/py-events.exp: Add before_prompt event tests.
3779
3780 2017-02-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3781
3782         * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3783
3784 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
3785
3786         * gdb.linespec/explicit.c (my_unique_function_name): New function.
3787         (main): Call my_unique_function_name.
3788         * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3789         completion of patterns with a single match.
3790         Add missing -re switches to gdb_test_multiple calls.
3791
3792 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
3793
3794         * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3795         return if core file is not recognized.
3796
3797 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
3798
3799         * gdb.base/new-ui.exp (do_test): Test queries behavior on main
3800         and extra UIs.
3801
3802 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
3803
3804         * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
3805         proc_with_prefix.
3806
3807 2017-02-10  Tom Tromey  <tom@tromey.com>
3808
3809         * gdb.python/py-xmethods.exp: Use "p" command, not "P".
3810
3811 2017-02-10  Martin Galvan  <martingalvan@sourceware.org>
3812
3813         PR gdb/21122
3814         * gdb.base/help.exp: Update match pattern for testing 'help commands'.
3815
3816 2017-02-08  Jerome Guitton  <guitton@adacore.com>
3817
3818         * gdb.base/define.exp: Add test for command abbreviations
3819         in define.
3820
3821 2017-02-06  Luis Machado  <lgustavo@codesourcery.com>
3822
3823         * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
3824         * gdb.reverse/insn-reverse-x86.c: New file.
3825
3826 2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>
3827
3828         PR tdep/20936
3829         * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
3830
3831 2017-02-03  Tom Tromey  <tom@tromey.com>
3832
3833         PR rust/21097:
3834         * gdb.rust/simple.exp: Add new tests.
3835
3836 2017-02-02  Pedro Alves  <palves@redhat.com>
3837
3838         * gdb.mi/mi-logging.exp: Add "redirect while already logging"
3839         tests.
3840
3841 2017-02-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3842
3843         * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
3844         taking a 2-byte value out of a 4-byte DWARF implicit value on
3845         big-endian targets.
3846         * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
3847         logic.  Add test cases for DW_OP_implicit.
3848
3849 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3850
3851         * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
3852
3853 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3854
3855         * gdb.btrace/enable.exp: Call gdb_exit before
3856         skip_gdbserver_tests.
3857
3858 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3859
3860         * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
3861         GDBFLAGS.
3862
3863 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3864
3865         * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
3866         the test is skipped.
3867         * gdb.btrace/data.exp: Likewise.
3868         * gdb.btrace/delta.exp: Likewise.
3869         * gdb.btrace/dlopen.exp: Likewise.
3870         * gdb.btrace/enable-running.exp: Likewise.
3871         * gdb.btrace/enable.exp: Likewise.
3872         * gdb.btrace/exception.exp: Likewise.
3873         * gdb.btrace/function_call_history.exp: Likewise.
3874         * gdb.btrace/gcore.exp: Likewise.
3875         * gdb.btrace/instruction_history.exp: Likewise.
3876         * gdb.btrace/multi-thread-step.exp: Likewise.
3877         * gdb.btrace/nohist.exp: Likewise.
3878         * gdb.btrace/non-stop.exp: Likewise.
3879         * gdb.btrace/reconnect.exp: Likewise.
3880         * gdb.btrace/record_goto-step.exp: Likewise.
3881         * gdb.btrace/record_goto.exp: Likewise.
3882         * gdb.btrace/rn-dl-bind.exp: Likewise.
3883         * gdb.btrace/segv.exp: Likewise.
3884         * gdb.btrace/step.exp: Likewise.
3885         * gdb.btrace/stepi.exp: Likewise.
3886         * gdb.btrace/tailcall-only.exp: Likewise.
3887         * gdb.btrace/tailcall.exp: Likewise.
3888         * gdb.btrace/tsx.exp: Likewise.
3889         * gdb.btrace/unknown_functions.exp: Likewise.
3890         * gdb.btrace/vdso.exp: Likewise.
3891
3892 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3893
3894         * gdb.btrace/enable-running.c: New.
3895         * gdb.btrace/enable-running.exp: New.
3896
3897 2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
3898
3899         * gdb.arch/amd64-gs_base.c: New file.
3900         * gdb.arch/amd64-gs_base.exp: New file.
3901
3902 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
3903
3904         * lib/memory.exp: Remove spurious empty newlines.
3905
3906 2017-01-26  Simon Marchi  <simon.marchi@polymtl.ca>
3907
3908         * gdb.python/py-bad-printers.exp: Load python file using "source".
3909         * gdb.python/py-events.exp: Likewise.
3910         * gdb.python/py-evsignal.exp: Likewise.
3911         * gdb.python/py-evthreads.exp: Likewise.
3912         * gdb.python/py-frame-args.exp: Likewise.
3913         * gdb.python/py-framefilter-invalidarg.exp: Likewise.
3914         * gdb.python/py-framefilter-mi.exp: Likewise.
3915         * gdb.python/py-framefilter.exp: Likewise.
3916         * gdb.python/py-mi.exp: Likewise.
3917         * gdb.python/py-pp-maint.exp: Likewise.
3918         * gdb.python/py-pp-registration.exp: Likewise.
3919         * gdb.python/py-prettyprint.exp: Likewise.
3920         (run_lang_tests): Likewise.
3921         * gdb.python/py-typeprint.exp: Likewise.
3922
3923 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
3924
3925         * lib/memory.exp: New file.
3926         * lib/gdb.exp: Load memory.exp.
3927         * gdb.base/memattr.exp (delete_memory): Move proc to
3928         lib/memory.exp and rename to delete_memory_regions.
3929         Replace delete_memory with delete_memory_regions.
3930         Cleanup memory regions before tests.
3931         * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
3932         before tests.
3933
3934 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
3935
3936         * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
3937         files.
3938         (initialize): New function conditionally defined.
3939         (testcases): Move within conditional block.
3940         (main): Call initialize.
3941         * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
3942         of gdb.reverse/insn-reverse.c.
3943         * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
3944         gdb.reverse/insn-reverse.c.
3945
3946 2017-01-26  Yao Qi  <yao.qi@linaro.org>
3947
3948         * gdb.base/all-architectures.exp.in (do_arch_tests): Test
3949         disassemble on address 0.
3950
3951 2017-01-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3952             Yao Qi  <yao.qi@linaro.org>
3953
3954         * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
3955         * gdb.dwarf2/implptr-64bit.S: Remove.
3956         * lib/dwarf.exp (Dwarf): Handle character "%".  Evaluate some
3957         variables in caller's context.  Add DW_OP_implicit_value.
3958
3959 2017-01-25  Yao Qi  <yao.qi@linaro.org>
3960
3961         * lib/dwarf.exp (Dwarf::_location): Handle
3962         DW_OP_GNU_implicit_pointer with proper size.
3963
3964 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
3965
3966         * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
3967         and add untested calls.
3968
3969 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
3970
3971         * gdb.python/python.exp: Check line number against what GDB thinks
3972         the line number is for func1.
3973
3974 2017-01-08  Iain Buclaw  <ibuclaw@gdcproject.org>
3975
3976         * gdb.dlang/debug-expr.exp: New file.
3977
3978 2016-12-23  Luis Machado  <lgustavo@codesourcery.com>
3979
3980         Fix test names for the following files:
3981
3982         * gdb.ada/exec_changed.exp
3983         * gdb.ada/info_types.exp
3984         * gdb.arch/aarch64-atomic-inst.exp
3985         * gdb.arch/aarch64-fp.exp
3986         * gdb.arch/altivec-abi.exp
3987         * gdb.arch/altivec-regs.exp
3988         * gdb.arch/amd64-byte.exp
3989         * gdb.arch/amd64-disp-step.exp
3990         * gdb.arch/amd64-dword.exp
3991         * gdb.arch/amd64-entry-value-inline.exp
3992         * gdb.arch/amd64-entry-value-param.exp
3993         * gdb.arch/amd64-entry-value-paramref.exp
3994         * gdb.arch/amd64-entry-value.exp
3995         * gdb.arch/amd64-i386-address.exp
3996         * gdb.arch/amd64-invalid-stack-middle.exp
3997         * gdb.arch/amd64-invalid-stack-top.exp
3998         * gdb.arch/amd64-optimout-repeat.exp
3999         * gdb.arch/amd64-prologue-skip.exp
4000         * gdb.arch/amd64-prologue-xmm.exp
4001         * gdb.arch/amd64-stap-special-operands.exp
4002         * gdb.arch/amd64-stap-wrong-subexp.exp
4003         * gdb.arch/amd64-tailcall-cxx.exp
4004         * gdb.arch/amd64-tailcall-noret.exp
4005         * gdb.arch/amd64-tailcall-ret.exp
4006         * gdb.arch/amd64-tailcall-self.exp
4007         * gdb.arch/amd64-word.exp
4008         * gdb.arch/arm-bl-branch-dest.exp
4009         * gdb.arch/arm-disp-step.exp
4010         * gdb.arch/arm-neon.exp
4011         * gdb.arch/arm-single-step-kernel-helper.exp
4012         * gdb.arch/avr-flash-qualifier.exp
4013         * gdb.arch/disp-step-insn-reloc.exp
4014         * gdb.arch/e500-abi.exp
4015         * gdb.arch/e500-regs.exp
4016         * gdb.arch/ftrace-insn-reloc.exp
4017         * gdb.arch/i386-avx512.exp
4018         * gdb.arch/i386-bp_permanent.exp
4019         * gdb.arch/i386-byte.exp
4020         * gdb.arch/i386-cfi-notcurrent.exp
4021         * gdb.arch/i386-disp-step.exp
4022         * gdb.arch/i386-dr3-watch.exp
4023         * gdb.arch/i386-float.exp
4024         * gdb.arch/i386-gnu-cfi.exp
4025         * gdb.arch/i386-mpx-map.exp
4026         * gdb.arch/i386-mpx-sigsegv.exp
4027         * gdb.arch/i386-mpx-simple_segv.exp
4028         * gdb.arch/i386-mpx.exp
4029         * gdb.arch/i386-permbkpt.exp
4030         * gdb.arch/i386-prologue.exp
4031         * gdb.arch/i386-signal.exp
4032         * gdb.arch/i386-size-overlap.exp
4033         * gdb.arch/i386-unwind.exp
4034         * gdb.arch/i386-word.exp
4035         * gdb.arch/mips-fcr.exp
4036         * gdb.arch/powerpc-d128-regs.exp
4037         * gdb.arch/powerpc-stackless.exp
4038         * gdb.arch/ppc64-atomic-inst.exp
4039         * gdb.arch/s390-stackless.exp
4040         * gdb.arch/s390-tdbregs.exp
4041         * gdb.arch/s390-vregs.exp
4042         * gdb.arch/sparc-sysstep.exp
4043         * gdb.arch/thumb-bx-pc.exp
4044         * gdb.arch/thumb-singlestep.exp
4045         * gdb.arch/thumb2-it.exp
4046         * gdb.arch/vsx-regs.exp
4047         * gdb.asm/asm-source.exp
4048         * gdb.base/a2-run.exp
4049         * gdb.base/advance.exp
4050         * gdb.base/all-bin.exp
4051         * gdb.base/anon.exp
4052         * gdb.base/args.exp
4053         * gdb.base/arithmet.exp
4054         * gdb.base/async-shell.exp
4055         * gdb.base/async.exp
4056         * gdb.base/attach-pie-noexec.exp
4057         * gdb.base/attach-twice.exp
4058         * gdb.base/auto-load.exp
4059         * gdb.base/bang.exp
4060         * gdb.base/bitfields.exp
4061         * gdb.base/break-always.exp
4062         * gdb.base/break-caller-line.exp
4063         * gdb.base/break-entry.exp
4064         * gdb.base/break-inline.exp
4065         * gdb.base/break-on-linker-gcd-function.exp
4066         * gdb.base/break-probes.exp
4067         * gdb.base/break.exp
4068         * gdb.base/breakpoint-shadow.exp
4069         * gdb.base/call-ar-st.exp
4070         * gdb.base/call-sc.exp
4071         * gdb.base/call-signal-resume.exp
4072         * gdb.base/call-strs.exp
4073         * gdb.base/callfuncs.exp
4074         * gdb.base/catch-fork-static.exp
4075         * gdb.base/catch-gdb-caused-signals.exp
4076         * gdb.base/catch-load.exp
4077         * gdb.base/catch-signal-fork.exp
4078         * gdb.base/catch-signal.exp
4079         * gdb.base/catch-syscall.exp
4080         * gdb.base/charset.exp
4081         * gdb.base/checkpoint.exp
4082         * gdb.base/chng-syms.exp
4083         * gdb.base/code-expr.exp
4084         * gdb.base/code_elim.exp
4085         * gdb.base/commands.exp
4086         * gdb.base/completion.exp
4087         * gdb.base/complex.exp
4088         * gdb.base/cond-expr.exp
4089         * gdb.base/condbreak.exp
4090         * gdb.base/consecutive.exp
4091         * gdb.base/continue-all-already-running.exp
4092         * gdb.base/coredump-filter.exp
4093         * gdb.base/corefile.exp
4094         * gdb.base/dbx.exp
4095         * gdb.base/debug-expr.exp
4096         * gdb.base/define.exp
4097         * gdb.base/del.exp
4098         * gdb.base/disabled-location.exp
4099         * gdb.base/disasm-end-cu.exp
4100         * gdb.base/disasm-optim.exp
4101         * gdb.base/display.exp
4102         * gdb.base/duplicate-bp.exp
4103         * gdb.base/ena-dis-br.exp
4104         * gdb.base/ending-run.exp
4105         * gdb.base/enumval.exp
4106         * gdb.base/environ.exp
4107         * gdb.base/eu-strip-infcall.exp
4108         * gdb.base/eval-avoid-side-effects.exp
4109         * gdb.base/eval-skip.exp
4110         * gdb.base/exitsignal.exp
4111         * gdb.base/expand-psymtabs.exp
4112         * gdb.base/filesym.exp
4113         * gdb.base/find-unmapped.exp
4114         * gdb.base/finish.exp
4115         * gdb.base/float.exp
4116         * gdb.base/foll-exec-mode.exp
4117         * gdb.base/foll-exec.exp
4118         * gdb.base/foll-fork.exp
4119         * gdb.base/fortran-sym-case.exp
4120         * gdb.base/freebpcmd.exp
4121         * gdb.base/func-ptr.exp
4122         * gdb.base/func-ptrs.exp
4123         * gdb.base/funcargs.exp
4124         * gdb.base/gcore-buffer-overflow.exp
4125         * gdb.base/gcore-relro-pie.exp
4126         * gdb.base/gcore-relro.exp
4127         * gdb.base/gcore.exp
4128         * gdb.base/gdb1090.exp
4129         * gdb.base/gdb11530.exp
4130         * gdb.base/gdb11531.exp
4131         * gdb.base/gdb1821.exp
4132         * gdb.base/gdbindex-stabs.exp
4133         * gdb.base/gdbvars.exp
4134         * gdb.base/hbreak.exp
4135         * gdb.base/hbreak2.exp
4136         * gdb.base/included.exp
4137         * gdb.base/infcall-input.exp
4138         * gdb.base/inferior-died.exp
4139         * gdb.base/infnan.exp
4140         * gdb.base/info-macros.exp
4141         * gdb.base/info-os.exp
4142         * gdb.base/info-proc.exp
4143         * gdb.base/info-shared.exp
4144         * gdb.base/info-target.exp
4145         * gdb.base/infoline.exp
4146         * gdb.base/interp.exp
4147         * gdb.base/interrupt.exp
4148         * gdb.base/jit-reader.exp
4149         * gdb.base/jit-simple.exp
4150         * gdb.base/kill-after-signal.exp
4151         * gdb.base/kill-detach-inferiors-cmd.exp
4152         * gdb.base/label.exp
4153         * gdb.base/langs.exp
4154         * gdb.base/ldbl_e308.exp
4155         * gdb.base/line-symtabs.exp
4156         * gdb.base/linespecs.exp
4157         * gdb.base/list.exp
4158         * gdb.base/long_long.exp
4159         * gdb.base/longest-types.exp
4160         * gdb.base/maint.exp
4161         * gdb.base/max-value-size.exp
4162         * gdb.base/memattr.exp
4163         * gdb.base/mips_pro.exp
4164         * gdb.base/morestack.exp
4165         * gdb.base/moribund-step.exp
4166         * gdb.base/multi-forks.exp
4167         * gdb.base/nested-addr.exp
4168         * gdb.base/nextoverexit.exp
4169         * gdb.base/noreturn-finish.exp
4170         * gdb.base/noreturn-return.exp
4171         * gdb.base/nostdlib.exp
4172         * gdb.base/offsets.exp
4173         * gdb.base/opaque.exp
4174         * gdb.base/pc-fp.exp
4175         * gdb.base/permissions.exp
4176         * gdb.base/print-symbol-loading.exp
4177         * gdb.base/prologue-include.exp
4178         * gdb.base/psymtab.exp
4179         * gdb.base/ptype.exp
4180         * gdb.base/random-signal.exp
4181         * gdb.base/randomize.exp
4182         * gdb.base/range-stepping.exp
4183         * gdb.base/readline-ask.exp
4184         * gdb.base/recpar.exp
4185         * gdb.base/recurse.exp
4186         * gdb.base/relational.exp
4187         * gdb.base/restore.exp
4188         * gdb.base/return-nodebug.exp
4189         * gdb.base/return.exp
4190         * gdb.base/run-after-attach.exp
4191         * gdb.base/save-bp.exp
4192         * gdb.base/scope.exp
4193         * gdb.base/sect-cmd.exp
4194         * gdb.base/set-lang-auto.exp
4195         * gdb.base/set-noassign.exp
4196         * gdb.base/setvar.exp
4197         * gdb.base/sigall.exp
4198         * gdb.base/sigbpt.exp
4199         * gdb.base/siginfo-addr.exp
4200         * gdb.base/siginfo-infcall.exp
4201         * gdb.base/siginfo-obj.exp
4202         * gdb.base/siginfo.exp
4203         * gdb.base/signals-state-child.exp
4204         * gdb.base/signest.exp
4205         * gdb.base/sigstep.exp
4206         * gdb.base/sizeof.exp
4207         * gdb.base/skip.exp
4208         * gdb.base/solib-corrupted.exp
4209         * gdb.base/solib-nodir.exp
4210         * gdb.base/solib-search.exp
4211         * gdb.base/stack-checking.exp
4212         * gdb.base/stale-infcall.exp
4213         * gdb.base/stap-probe.exp
4214         * gdb.base/start.exp
4215         * gdb.base/step-break.exp
4216         * gdb.base/step-bt.exp
4217         * gdb.base/step-line.exp
4218         * gdb.base/step-over-exit.exp
4219         * gdb.base/step-over-syscall.exp
4220         * gdb.base/step-resume-infcall.exp
4221         * gdb.base/step-test.exp
4222         * gdb.base/store.exp
4223         * gdb.base/structs3.exp
4224         * gdb.base/sym-file.exp
4225         * gdb.base/symbol-without-target_section.exp
4226         * gdb.base/term.exp
4227         * gdb.base/testenv.exp
4228         * gdb.base/ui-redirect.exp
4229         * gdb.base/until.exp
4230         * gdb.base/unwindonsignal.exp
4231         * gdb.base/value-double-free.exp
4232         * gdb.base/vla-datatypes.exp
4233         * gdb.base/vla-ptr.exp
4234         * gdb.base/vla-sideeffect.exp
4235         * gdb.base/volatile.exp
4236         * gdb.base/watch-cond-infcall.exp
4237         * gdb.base/watch-cond.exp
4238         * gdb.base/watch-non-mem.exp
4239         * gdb.base/watch-read.exp
4240         * gdb.base/watch-vfork.exp
4241         * gdb.base/watchpoint-cond-gone.exp
4242         * gdb.base/watchpoint-delete.exp
4243         * gdb.base/watchpoint-hw-hit-once.exp
4244         * gdb.base/watchpoint-hw.exp
4245         * gdb.base/watchpoint-stops-at-right-insn.exp
4246         * gdb.base/watchpoints.exp
4247         * gdb.base/wchar.exp
4248         * gdb.base/whatis-exp.exp
4249         * gdb.btrace/buffer-size.exp
4250         * gdb.btrace/data.exp
4251         * gdb.btrace/delta.exp
4252         * gdb.btrace/dlopen.exp
4253         * gdb.btrace/enable.exp
4254         * gdb.btrace/exception.exp
4255         * gdb.btrace/function_call_history.exp
4256         * gdb.btrace/gcore.exp
4257         * gdb.btrace/instruction_history.exp
4258         * gdb.btrace/nohist.exp
4259         * gdb.btrace/reconnect.exp
4260         * gdb.btrace/record_goto-step.exp
4261         * gdb.btrace/record_goto.exp
4262         * gdb.btrace/rn-dl-bind.exp
4263         * gdb.btrace/segv.exp
4264         * gdb.btrace/step.exp
4265         * gdb.btrace/stepi.exp
4266         * gdb.btrace/tailcall-only.exp
4267         * gdb.btrace/tailcall.exp
4268         * gdb.btrace/tsx.exp
4269         * gdb.btrace/unknown_functions.exp
4270         * gdb.btrace/vdso.exp
4271         * gdb.compile/compile-ifunc.exp
4272         * gdb.compile/compile-ops.exp
4273         * gdb.compile/compile-print.exp
4274         * gdb.compile/compile-setjmp.exp
4275         * gdb.cp/abstract-origin.exp
4276         * gdb.cp/ambiguous.exp
4277         * gdb.cp/annota2.exp
4278         * gdb.cp/annota3.exp
4279         * gdb.cp/anon-ns.exp
4280         * gdb.cp/anon-struct.exp
4281         * gdb.cp/anon-union.exp
4282         * gdb.cp/arg-reference.exp
4283         * gdb.cp/baseenum.exp
4284         * gdb.cp/bool.exp
4285         * gdb.cp/breakpoint.exp
4286         * gdb.cp/bs15503.exp
4287         * gdb.cp/call-c.exp
4288         * gdb.cp/casts.exp
4289         * gdb.cp/chained-calls.exp
4290         * gdb.cp/class2.exp
4291         * gdb.cp/classes.exp
4292         * gdb.cp/cmpd-minsyms.exp
4293         * gdb.cp/converts.exp
4294         * gdb.cp/cp-relocate.exp
4295         * gdb.cp/cpcompletion.exp
4296         * gdb.cp/cpexprs.exp
4297         * gdb.cp/cplabel.exp
4298         * gdb.cp/cplusfuncs.exp
4299         * gdb.cp/cpsizeof.exp
4300         * gdb.cp/ctti.exp
4301         * gdb.cp/derivation.exp
4302         * gdb.cp/destrprint.exp
4303         * gdb.cp/dispcxx.exp
4304         * gdb.cp/enum-class.exp
4305         * gdb.cp/exception.exp
4306         * gdb.cp/exceptprint.exp
4307         * gdb.cp/expand-psymtabs-cxx.exp
4308         * gdb.cp/expand-sals.exp
4309         * gdb.cp/extern-c.exp
4310         * gdb.cp/filename.exp
4311         * gdb.cp/formatted-ref.exp
4312         * gdb.cp/fpointer.exp
4313         * gdb.cp/gdb1355.exp
4314         * gdb.cp/gdb2495.exp
4315         * gdb.cp/hang.exp
4316         * gdb.cp/impl-this.exp
4317         * gdb.cp/infcall-dlopen.exp
4318         * gdb.cp/inherit.exp
4319         * gdb.cp/iostream.exp
4320         * gdb.cp/koenig.exp
4321         * gdb.cp/local.exp
4322         * gdb.cp/m-data.exp
4323         * gdb.cp/m-static.exp
4324         * gdb.cp/mb-ctor.exp
4325         * gdb.cp/mb-inline.exp
4326         * gdb.cp/mb-templates.exp
4327         * gdb.cp/member-name.exp
4328         * gdb.cp/member-ptr.exp
4329         * gdb.cp/meth-typedefs.exp
4330         * gdb.cp/method.exp
4331         * gdb.cp/method2.exp
4332         * gdb.cp/minsym-fallback.exp
4333         * gdb.cp/misc.exp
4334         * gdb.cp/namelessclass.exp
4335         * gdb.cp/namespace-enum.exp
4336         * gdb.cp/namespace-nested-import.exp
4337         * gdb.cp/namespace.exp
4338         * gdb.cp/nextoverthrow.exp
4339         * gdb.cp/no-dmgl-verbose.exp
4340         * gdb.cp/non-trivial-retval.exp
4341         * gdb.cp/noparam.exp
4342         * gdb.cp/nsdecl.exp
4343         * gdb.cp/nsimport.exp
4344         * gdb.cp/nsnested.exp
4345         * gdb.cp/nsnoimports.exp
4346         * gdb.cp/nsrecurs.exp
4347         * gdb.cp/nsstress.exp
4348         * gdb.cp/nsusing.exp
4349         * gdb.cp/operator.exp
4350         * gdb.cp/oranking.exp
4351         * gdb.cp/overload-const.exp
4352         * gdb.cp/overload.exp
4353         * gdb.cp/ovldbreak.exp
4354         * gdb.cp/ovsrch.exp
4355         * gdb.cp/paren-type.exp
4356         * gdb.cp/parse-lang.exp
4357         * gdb.cp/pass-by-ref.exp
4358         * gdb.cp/pr-1023.exp
4359         * gdb.cp/pr-1210.exp
4360         * gdb.cp/pr-574.exp
4361         * gdb.cp/pr10687.exp
4362         * gdb.cp/pr12028.exp
4363         * gdb.cp/pr17132.exp
4364         * gdb.cp/pr17494.exp
4365         * gdb.cp/pr9067.exp
4366         * gdb.cp/pr9167.exp
4367         * gdb.cp/pr9631.exp
4368         * gdb.cp/printmethod.exp
4369         * gdb.cp/psmang.exp
4370         * gdb.cp/psymtab-parameter.exp
4371         * gdb.cp/ptype-cv-cp.exp
4372         * gdb.cp/ptype-flags.exp
4373         * gdb.cp/re-set-overloaded.exp
4374         * gdb.cp/ref-types.exp
4375         * gdb.cp/rtti.exp
4376         * gdb.cp/scope-err.exp
4377         * gdb.cp/shadow.exp
4378         * gdb.cp/smartp.exp
4379         * gdb.cp/static-method.exp
4380         * gdb.cp/static-print-quit.exp
4381         * gdb.cp/temargs.exp
4382         * gdb.cp/templates.exp
4383         * gdb.cp/try_catch.exp
4384         * gdb.cp/typedef-operator.exp
4385         * gdb.cp/typeid.exp
4386         * gdb.cp/userdef.exp
4387         * gdb.cp/using-crash.exp
4388         * gdb.cp/var-tag.exp
4389         * gdb.cp/virtbase.exp
4390         * gdb.cp/virtfunc.exp
4391         * gdb.cp/virtfunc2.exp
4392         * gdb.cp/vla-cxx.exp
4393         * gdb.disasm/t01_mov.exp
4394         * gdb.disasm/t02_mova.exp
4395         * gdb.disasm/t03_add.exp
4396         * gdb.disasm/t04_sub.exp
4397         * gdb.disasm/t05_cmp.exp
4398         * gdb.disasm/t06_ari2.exp
4399         * gdb.disasm/t07_ari3.exp
4400         * gdb.disasm/t08_or.exp
4401         * gdb.disasm/t09_xor.exp
4402         * gdb.disasm/t10_and.exp
4403         * gdb.disasm/t11_logs.exp
4404         * gdb.disasm/t12_bit.exp
4405         * gdb.disasm/t13_otr.exp
4406         * gdb.dlang/circular.exp
4407         * gdb.dwarf2/arr-stride.exp
4408         * gdb.dwarf2/arr-subrange.exp
4409         * gdb.dwarf2/atomic-type.exp
4410         * gdb.dwarf2/bad-regnum.exp
4411         * gdb.dwarf2/bitfield-parent-optimized-out.exp
4412         * gdb.dwarf2/callframecfa.exp
4413         * gdb.dwarf2/clztest.exp
4414         * gdb.dwarf2/corrupt.exp
4415         * gdb.dwarf2/data-loc.exp
4416         * gdb.dwarf2/dup-psym.exp
4417         * gdb.dwarf2/dw2-anon-mptr.exp
4418         * gdb.dwarf2/dw2-anonymous-func.exp
4419         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4420         * gdb.dwarf2/dw2-bad-unresolved.exp
4421         * gdb.dwarf2/dw2-basic.exp
4422         * gdb.dwarf2/dw2-canonicalize-type.exp
4423         * gdb.dwarf2/dw2-case-insensitive.exp
4424         * gdb.dwarf2/dw2-common-block.exp
4425         * gdb.dwarf2/dw2-compdir-oldgcc.exp
4426         * gdb.dwarf2/dw2-compressed.exp
4427         * gdb.dwarf2/dw2-const.exp
4428         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4429         * gdb.dwarf2/dw2-cu-size.exp
4430         * gdb.dwarf2/dw2-dup-frame.exp
4431         * gdb.dwarf2/dw2-entry-value.exp
4432         * gdb.dwarf2/dw2-icycle.exp
4433         * gdb.dwarf2/dw2-ifort-parameter.exp
4434         * gdb.dwarf2/dw2-inline-break.exp
4435         * gdb.dwarf2/dw2-inline-param.exp
4436         * gdb.dwarf2/dw2-intercu.exp
4437         * gdb.dwarf2/dw2-intermix.exp
4438         * gdb.dwarf2/dw2-lexical-block-bare.exp
4439         * gdb.dwarf2/dw2-linkage-name-trust.exp
4440         * gdb.dwarf2/dw2-minsym-in-cu.exp
4441         * gdb.dwarf2/dw2-noloc.exp
4442         * gdb.dwarf2/dw2-op-call.exp
4443         * gdb.dwarf2/dw2-op-out-param.exp
4444         * gdb.dwarf2/dw2-opt-structptr.exp
4445         * gdb.dwarf2/dw2-param-error.exp
4446         * gdb.dwarf2/dw2-producer.exp
4447         * gdb.dwarf2/dw2-ranges-base.exp
4448         * gdb.dwarf2/dw2-ref-missing-frame.exp
4449         * gdb.dwarf2/dw2-reg-undefined.exp
4450         * gdb.dwarf2/dw2-regno-invalid.exp
4451         * gdb.dwarf2/dw2-restore.exp
4452         * gdb.dwarf2/dw2-restrict.exp
4453         * gdb.dwarf2/dw2-single-line-discriminators.exp
4454         * gdb.dwarf2/dw2-strp.exp
4455         * gdb.dwarf2/dw2-undefined-ret-addr.exp
4456         * gdb.dwarf2/dw2-unresolved.exp
4457         * gdb.dwarf2/dw2-var-zero-addr.exp
4458         * gdb.dwarf2/dw4-sig-types.exp
4459         * gdb.dwarf2/dwz.exp
4460         * gdb.dwarf2/dynarr-ptr.exp
4461         * gdb.dwarf2/enum-type.exp
4462         * gdb.dwarf2/gdb-index.exp
4463         * gdb.dwarf2/implptr-64bit.exp
4464         * gdb.dwarf2/implptr-optimized-out.exp
4465         * gdb.dwarf2/implptr.exp
4466         * gdb.dwarf2/implref-array.exp
4467         * gdb.dwarf2/implref-const.exp
4468         * gdb.dwarf2/implref-global.exp
4469         * gdb.dwarf2/implref-struct.exp
4470         * gdb.dwarf2/mac-fileno.exp
4471         * gdb.dwarf2/main-subprogram.exp
4472         * gdb.dwarf2/member-ptr-forwardref.exp
4473         * gdb.dwarf2/method-ptr.exp
4474         * gdb.dwarf2/missing-sig-type.exp
4475         * gdb.dwarf2/nonvar-access.exp
4476         * gdb.dwarf2/opaque-type-lookup.exp
4477         * gdb.dwarf2/pieces-optimized-out.exp
4478         * gdb.dwarf2/pieces.exp
4479         * gdb.dwarf2/pr10770.exp
4480         * gdb.dwarf2/pr13961.exp
4481         * gdb.dwarf2/staticvirtual.exp
4482         * gdb.dwarf2/subrange.exp
4483         * gdb.dwarf2/symtab-producer.exp
4484         * gdb.dwarf2/trace-crash.exp
4485         * gdb.dwarf2/typeddwarf.exp
4486         * gdb.dwarf2/valop.exp
4487         * gdb.dwarf2/watch-notconst.exp
4488         * gdb.fortran/array-element.exp
4489         * gdb.fortran/charset.exp
4490         * gdb.fortran/common-block.exp
4491         * gdb.fortran/complex.exp
4492         * gdb.fortran/derived-type-function.exp
4493         * gdb.fortran/derived-type.exp
4494         * gdb.fortran/logical.exp
4495         * gdb.fortran/module.exp
4496         * gdb.fortran/multi-dim.exp
4497         * gdb.fortran/nested-funcs.exp
4498         * gdb.fortran/print-formatted.exp
4499         * gdb.fortran/subarray.exp
4500         * gdb.fortran/vla-alloc-assoc.exp
4501         * gdb.fortran/vla-datatypes.exp
4502         * gdb.fortran/vla-history.exp
4503         * gdb.fortran/vla-ptr-info.exp
4504         * gdb.fortran/vla-ptype-sub.exp
4505         * gdb.fortran/vla-ptype.exp
4506         * gdb.fortran/vla-sizeof.exp
4507         * gdb.fortran/vla-type.exp
4508         * gdb.fortran/vla-value-sub-arbitrary.exp
4509         * gdb.fortran/vla-value-sub-finish.exp
4510         * gdb.fortran/vla-value-sub.exp
4511         * gdb.fortran/vla-value.exp
4512         * gdb.fortran/whatis_type.exp
4513         * gdb.go/chan.exp
4514         * gdb.go/handcall.exp
4515         * gdb.go/hello.exp
4516         * gdb.go/integers.exp
4517         * gdb.go/methods.exp
4518         * gdb.go/package.exp
4519         * gdb.go/strings.exp
4520         * gdb.go/types.exp
4521         * gdb.go/unsafe.exp
4522         * gdb.guile/scm-arch.exp
4523         * gdb.guile/scm-block.exp
4524         * gdb.guile/scm-breakpoint.exp
4525         * gdb.guile/scm-cmd.exp
4526         * gdb.guile/scm-disasm.exp
4527         * gdb.guile/scm-equal.exp
4528         * gdb.guile/scm-frame-args.exp
4529         * gdb.guile/scm-frame-inline.exp
4530         * gdb.guile/scm-frame.exp
4531         * gdb.guile/scm-iterator.exp
4532         * gdb.guile/scm-math.exp
4533         * gdb.guile/scm-objfile.exp
4534         * gdb.guile/scm-ports.exp
4535         * gdb.guile/scm-symbol.exp
4536         * gdb.guile/scm-symtab.exp
4537         * gdb.guile/scm-value-cc.exp
4538         * gdb.guile/types-module.exp
4539         * gdb.linespec/break-ask.exp
4540         * gdb.linespec/cpexplicit.exp
4541         * gdb.linespec/explicit.exp
4542         * gdb.linespec/keywords.exp
4543         * gdb.linespec/linespec.exp
4544         * gdb.linespec/ls-dollar.exp
4545         * gdb.linespec/ls-errs.exp
4546         * gdb.linespec/skip-two.exp
4547         * gdb.linespec/thread.exp
4548         * gdb.mi/mi-async.exp
4549         * gdb.mi/mi-basics.exp
4550         * gdb.mi/mi-break.exp
4551         * gdb.mi/mi-catch-load.exp
4552         * gdb.mi/mi-cli.exp
4553         * gdb.mi/mi-cmd-param-changed.exp
4554         * gdb.mi/mi-console.exp
4555         * gdb.mi/mi-detach.exp
4556         * gdb.mi/mi-disassemble.exp
4557         * gdb.mi/mi-eval.exp
4558         * gdb.mi/mi-file-transfer.exp
4559         * gdb.mi/mi-file.exp
4560         * gdb.mi/mi-fill-memory.exp
4561         * gdb.mi/mi-inheritance-syntax-error.exp
4562         * gdb.mi/mi-linespec-err-cp.exp
4563         * gdb.mi/mi-logging.exp
4564         * gdb.mi/mi-memory-changed.exp
4565         * gdb.mi/mi-read-memory.exp
4566         * gdb.mi/mi-record-changed.exp
4567         * gdb.mi/mi-reg-undefined.exp
4568         * gdb.mi/mi-regs.exp
4569         * gdb.mi/mi-return.exp
4570         * gdb.mi/mi-reverse.exp
4571         * gdb.mi/mi-simplerun.exp
4572         * gdb.mi/mi-solib.exp
4573         * gdb.mi/mi-stack.exp
4574         * gdb.mi/mi-stepi.exp
4575         * gdb.mi/mi-syn-frame.exp
4576         * gdb.mi/mi-until.exp
4577         * gdb.mi/mi-var-block.exp
4578         * gdb.mi/mi-var-child.exp
4579         * gdb.mi/mi-var-cmd.exp
4580         * gdb.mi/mi-var-cp.exp
4581         * gdb.mi/mi-var-display.exp
4582         * gdb.mi/mi-var-invalidate.exp
4583         * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4584         * gdb.mi/mi-vla-fortran.exp
4585         * gdb.mi/mi-watch.exp
4586         * gdb.mi/mi2-var-child.exp
4587         * gdb.mi/user-selected-context-sync.exp
4588         * gdb.modula2/unbounded-array.exp
4589         * gdb.multi/dummy-frame-restore.exp
4590         * gdb.multi/multi-arch-exec.exp
4591         * gdb.multi/multi-arch.exp
4592         * gdb.multi/tids.exp
4593         * gdb.multi/watchpoint-multi.exp
4594         * gdb.opencl/callfuncs.exp
4595         * gdb.opencl/convs_casts.exp
4596         * gdb.opencl/datatypes.exp
4597         * gdb.opencl/operators.exp
4598         * gdb.opencl/vec_comps.exp
4599         * gdb.opt/clobbered-registers-O2.exp
4600         * gdb.opt/inline-break.exp
4601         * gdb.opt/inline-bt.exp
4602         * gdb.opt/inline-cmds.exp
4603         * gdb.opt/inline-locals.exp
4604         * gdb.pascal/case-insensitive-symbols.exp
4605         * gdb.pascal/floats.exp
4606         * gdb.pascal/gdb11492.exp
4607         * gdb.python/lib-types.exp
4608         * gdb.python/py-arch.exp
4609         * gdb.python/py-as-string.exp
4610         * gdb.python/py-bad-printers.exp
4611         * gdb.python/py-block.exp
4612         * gdb.python/py-breakpoint-create-fail.exp
4613         * gdb.python/py-breakpoint.exp
4614         * gdb.python/py-caller-is.exp
4615         * gdb.python/py-cmd.exp
4616         * gdb.python/py-explore-cc.exp
4617         * gdb.python/py-explore.exp
4618         * gdb.python/py-finish-breakpoint.exp
4619         * gdb.python/py-finish-breakpoint2.exp
4620         * gdb.python/py-frame-args.exp
4621         * gdb.python/py-frame-inline.exp
4622         * gdb.python/py-frame.exp
4623         * gdb.python/py-framefilter-mi.exp
4624         * gdb.python/py-infthread.exp
4625         * gdb.python/py-lazy-string.exp
4626         * gdb.python/py-linetable.exp
4627         * gdb.python/py-mi-events.exp
4628         * gdb.python/py-mi-objfile.exp
4629         * gdb.python/py-mi.exp
4630         * gdb.python/py-objfile.exp
4631         * gdb.python/py-pp-integral.exp
4632         * gdb.python/py-pp-maint.exp
4633         * gdb.python/py-pp-re-notag.exp
4634         * gdb.python/py-pp-registration.exp
4635         * gdb.python/py-recurse-unwind.exp
4636         * gdb.python/py-strfns.exp
4637         * gdb.python/py-symbol.exp
4638         * gdb.python/py-symtab.exp
4639         * gdb.python/py-sync-interp.exp
4640         * gdb.python/py-typeprint.exp
4641         * gdb.python/py-unwind-maint.exp
4642         * gdb.python/py-unwind.exp
4643         * gdb.python/py-value-cc.exp
4644         * gdb.python/py-xmethods.exp
4645         * gdb.reverse/amd64-tailcall-reverse.exp
4646         * gdb.reverse/break-precsave.exp
4647         * gdb.reverse/break-reverse.exp
4648         * gdb.reverse/consecutive-precsave.exp
4649         * gdb.reverse/consecutive-reverse.exp
4650         * gdb.reverse/finish-precsave.exp
4651         * gdb.reverse/finish-reverse-bkpt.exp
4652         * gdb.reverse/finish-reverse.exp
4653         * gdb.reverse/fstatat-reverse.exp
4654         * gdb.reverse/getresuid-reverse.exp
4655         * gdb.reverse/i386-precsave.exp
4656         * gdb.reverse/i386-reverse.exp
4657         * gdb.reverse/i386-sse-reverse.exp
4658         * gdb.reverse/i387-env-reverse.exp
4659         * gdb.reverse/i387-stack-reverse.exp
4660         * gdb.reverse/insn-reverse.exp
4661         * gdb.reverse/machinestate-precsave.exp
4662         * gdb.reverse/machinestate.exp
4663         * gdb.reverse/next-reverse-bkpt-over-sr.exp
4664         * gdb.reverse/pipe-reverse.exp
4665         * gdb.reverse/readv-reverse.exp
4666         * gdb.reverse/recvmsg-reverse.exp
4667         * gdb.reverse/rerun-prec.exp
4668         * gdb.reverse/s390-mvcle.exp
4669         * gdb.reverse/step-precsave.exp
4670         * gdb.reverse/step-reverse.exp
4671         * gdb.reverse/time-reverse.exp
4672         * gdb.reverse/until-precsave.exp
4673         * gdb.reverse/until-reverse.exp
4674         * gdb.reverse/waitpid-reverse.exp
4675         * gdb.reverse/watch-precsave.exp
4676         * gdb.reverse/watch-reverse.exp
4677         * gdb.rust/generics.exp
4678         * gdb.rust/methods.exp
4679         * gdb.rust/modules.exp
4680         * gdb.rust/simple.exp
4681         * gdb.server/connect-with-no-symbol-file.exp
4682         * gdb.server/ext-attach.exp
4683         * gdb.server/ext-restart.exp
4684         * gdb.server/ext-wrapper.exp
4685         * gdb.server/file-transfer.exp
4686         * gdb.server/server-exec-info.exp
4687         * gdb.server/server-kill.exp
4688         * gdb.server/server-mon.exp
4689         * gdb.server/wrapper.exp
4690         * gdb.stabs/exclfwd.exp
4691         * gdb.stabs/gdb11479.exp
4692         * gdb.threads/clone-new-thread-event.exp
4693         * gdb.threads/corethreads.exp
4694         * gdb.threads/current-lwp-dead.exp
4695         * gdb.threads/dlopen-libpthread.exp
4696         * gdb.threads/gcore-thread.exp
4697         * gdb.threads/sigstep-threads.exp
4698         * gdb.threads/watchpoint-fork.exp
4699         * gdb.trace/actions-changed.exp
4700         * gdb.trace/backtrace.exp
4701         * gdb.trace/change-loc.exp
4702         * gdb.trace/circ.exp
4703         * gdb.trace/collection.exp
4704         * gdb.trace/disconnected-tracing.exp
4705         * gdb.trace/ftrace.exp
4706         * gdb.trace/mi-trace-frame-collected.exp
4707         * gdb.trace/mi-trace-unavailable.exp
4708         * gdb.trace/mi-traceframe-changed.exp
4709         * gdb.trace/mi-tsv-changed.exp
4710         * gdb.trace/no-attach-trace.exp
4711         * gdb.trace/passc-dyn.exp
4712         * gdb.trace/qtro.exp
4713         * gdb.trace/range-stepping.exp
4714         * gdb.trace/read-memory.exp
4715         * gdb.trace/save-trace.exp
4716         * gdb.trace/signal.exp
4717         * gdb.trace/status-stop.exp
4718         * gdb.trace/tfile.exp
4719         * gdb.trace/trace-break.exp
4720         * gdb.trace/trace-buffer-size.exp
4721         * gdb.trace/trace-condition.exp
4722         * gdb.trace/tracefile-pseudo-reg.exp
4723         * gdb.trace/tstatus.exp
4724         * gdb.trace/unavailable.exp
4725         * gdb.trace/while-dyn.exp
4726         * gdb.trace/while-stepping.exp
4727
4728 2016-12-22  Doug Evans  <xdje42@gmail.com>
4729
4730         * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4731         and msymbols.
4732
4733 2016-12-19  Yao Qi  <yao.qi@linaro.org>
4734
4735         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4736         (test_with_self): Don't call do_steps_and_nexts, and remove
4737         code about stepping into xmalloc.
4738
4739 2016-12-09  Yao Qi  <yao.qi@linaro.org>
4740
4741         * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4742
4743 2016-12-09  Yao Qi  <yao.qi@linaro.org>
4744
4745         * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4746
4747 2016-12-09  Pedro Alves  <palves@redhat.com>
4748
4749         * gdb.base/all-architectures-0.exp: New file.
4750         * gdb.base/all-architectures-1.exp: New file.
4751         * gdb.base/all-architectures-2.exp: New file.
4752         * gdb.base/all-architectures-3.exp: New file.
4753         * gdb.base/all-architectures-4.exp: New file.
4754         * gdb.base/all-architectures-5.exp: New file.
4755         * gdb.base/all-architectures-6.exp: New file.
4756         * gdb.base/all-architectures-7.exp: New file.
4757         * gdb.base/all-architectures.exp.in: New file.
4758
4759 2016-12-09  Yao Qi  <yao.qi@linaro.org>
4760
4761         * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4762
4763 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
4764
4765         * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4766         possible.
4767         Remove useless pattern-matching code.
4768
4769 2016-12-02  Pedro Alves  <palves@redhat.com>
4770
4771         * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4772         procedure.
4773         (top level): Call it.
4774
4775 2016-12-02  Pedro Alves  <palves@redhat.com>
4776
4777         * gdb.base/commands.exp (user_defined_command_args_stack_test):
4778         New procedure.
4779         (top level): Call it.
4780
4781 2016-12-02  Pedro Alves  <palves@redhat.com>
4782
4783         PR cli/20559
4784         * gdb.base/commands.exp (user_defined_command_args_eval): New
4785         procedure.
4786         (top level): Call it.
4787
4788 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
4789
4790         * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4791         timeout handling.
4792
4793 2016-12-02  Tom Tromey  <tom@tromey.com>
4794
4795         * gdb.dwarf2/main-subprogram.c: New file.
4796         * gdb.dwarf2/main-subprogram.exp: New file.
4797
4798 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
4799
4800         * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4801         * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
4802         gdb_test_no_output for a couple of cases.
4803         * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
4804
4805 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
4806
4807         Fix test names and standardize compilation error messages throughout
4808         the following files:
4809
4810         * gdb.ada/start.exp
4811         * gdb.arch/alpha-step.exp
4812         * gdb.arch/e500-prologue.exp
4813         * gdb.arch/ftrace-insn-reloc.exp
4814         * gdb.arch/gdb1291.exp
4815         * gdb.arch/gdb1431.exp
4816         * gdb.arch/gdb1558.exp
4817         * gdb.arch/i386-dr3-watch.exp
4818         * gdb.arch/i386-sse-stack-align.exp
4819         * gdb.arch/ia64-breakpoint-shadow.exp
4820         * gdb.arch/pa-nullify.exp
4821         * gdb.arch/powerpc-aix-prologue.exp
4822         * gdb.arch/thumb-bx-pc.exp
4823         * gdb.base/annota1.exp
4824         * gdb.base/annota3.exp
4825         * gdb.base/arrayidx.exp
4826         * gdb.base/assign.exp
4827         * gdb.base/attach.exp
4828         * gdb.base/auxv.exp
4829         * gdb.base/bang.exp
4830         * gdb.base/bfp-test.exp
4831         * gdb.base/bigcore.exp
4832         * gdb.base/bitfields2.exp
4833         * gdb.base/break-fun-addr.exp
4834         * gdb.base/break-probes.exp
4835         * gdb.base/call-rt-st.exp
4836         * gdb.base/callexit.exp
4837         * gdb.base/catch-fork-kill.exp
4838         * gdb.base/charset.exp
4839         * gdb.base/checkpoint.exp
4840         * gdb.base/comprdebug.exp
4841         * gdb.base/constvars.exp
4842         * gdb.base/coredump-filter.exp
4843         * gdb.base/cursal.exp
4844         * gdb.base/cvexpr.exp
4845         * gdb.base/detach.exp
4846         * gdb.base/display.exp
4847         * gdb.base/dmsym.exp
4848         * gdb.base/dprintf-pending.exp
4849         * gdb.base/dso2dso.exp
4850         * gdb.base/dtrace-probe.exp
4851         * gdb.base/dump.exp
4852         * gdb.base/enum_cond.exp
4853         * gdb.base/exe-lock.exp
4854         * gdb.base/exec-invalid-sysroot.exp
4855         * gdb.base/execl-update-breakpoints.exp
4856         * gdb.base/exprs.exp
4857         * gdb.base/fileio.exp
4858         * gdb.base/find.exp
4859         * gdb.base/finish.exp
4860         * gdb.base/fixsection.exp
4861         * gdb.base/foll-vfork.exp
4862         * gdb.base/frame-args.exp
4863         * gdb.base/gcore.exp
4864         * gdb.base/gdb1250.exp
4865         * gdb.base/global-var-nested-by-dso.exp
4866         * gdb.base/gnu-ifunc.exp
4867         * gdb.base/hashline1.exp
4868         * gdb.base/hashline2.exp
4869         * gdb.base/hashline3.exp
4870         * gdb.base/hbreak-in-shr-unsupported.exp
4871         * gdb.base/huge.exp
4872         * gdb.base/infcall-input.exp
4873         * gdb.base/info-fun.exp
4874         * gdb.base/info-shared.exp
4875         * gdb.base/jit-simple.exp
4876         * gdb.base/jit-so.exp
4877         * gdb.base/jit.exp
4878         * gdb.base/jump.exp
4879         * gdb.base/label.exp
4880         * gdb.base/lineinc.exp
4881         * gdb.base/logical.exp
4882         * gdb.base/longjmp.exp
4883         * gdb.base/macscp.exp
4884         * gdb.base/miscexprs.exp
4885         * gdb.base/new-ui-echo.exp
4886         * gdb.base/new-ui-pending-input.exp
4887         * gdb.base/new-ui.exp
4888         * gdb.base/nodebug.exp
4889         * gdb.base/nofield.exp
4890         * gdb.base/offsets.exp
4891         * gdb.base/overlays.exp
4892         * gdb.base/pending.exp
4893         * gdb.base/pointers.exp
4894         * gdb.base/pr11022.exp
4895         * gdb.base/printcmds.exp
4896         * gdb.base/prologue.exp
4897         * gdb.base/ptr-typedef.exp
4898         * gdb.base/realname-expand.exp
4899         * gdb.base/relativedebug.exp
4900         * gdb.base/relocate.exp
4901         * gdb.base/remote.exp
4902         * gdb.base/reread.exp
4903         * gdb.base/return2.exp
4904         * gdb.base/savedregs.exp
4905         * gdb.base/sep.exp
4906         * gdb.base/sepdebug.exp
4907         * gdb.base/sepsymtab.exp
4908         * gdb.base/set-inferior-tty.exp
4909         * gdb.base/setshow.exp
4910         * gdb.base/shlib-call.exp
4911         * gdb.base/sigaltstack.exp
4912         * gdb.base/siginfo-addr.exp
4913         * gdb.base/signals.exp
4914         * gdb.base/signull.exp
4915         * gdb.base/sigrepeat.exp
4916         * gdb.base/so-impl-ld.exp
4917         * gdb.base/solib-display.exp
4918         * gdb.base/solib-overlap.exp
4919         * gdb.base/solib-search.exp
4920         * gdb.base/solib-symbol.exp
4921         * gdb.base/structs.exp
4922         * gdb.base/structs2.exp
4923         * gdb.base/symtab-search-order.exp
4924         * gdb.base/twice.exp
4925         * gdb.base/unload.exp
4926         * gdb.base/varargs.exp
4927         * gdb.base/watchpoint-solib.exp
4928         * gdb.base/watchpoint.exp
4929         * gdb.base/whatis.exp
4930         * gdb.base/wrong_frame_bt_full.exp
4931         * gdb.btrace/dlopen.exp
4932         * gdb.cell/ea-standalone.exp
4933         * gdb.cell/ea-test.exp
4934         * gdb.cp/dispcxx.exp
4935         * gdb.cp/gdb2384.exp
4936         * gdb.cp/method2.exp
4937         * gdb.cp/nextoverthrow.exp
4938         * gdb.cp/pr10728.exp
4939         * gdb.disasm/am33.exp
4940         * gdb.disasm/h8300s.exp
4941         * gdb.disasm/mn10300.exp
4942         * gdb.disasm/sh3.exp
4943         * gdb.dwarf2/dw2-dir-file-name.exp
4944         * gdb.fortran/complex.exp
4945         * gdb.fortran/library-module.exp
4946         * gdb.guile/scm-pretty-print.exp
4947         * gdb.guile/scm-symbol.exp
4948         * gdb.guile/scm-type.exp
4949         * gdb.guile/scm-value.exp
4950         * gdb.linespec/linespec.exp
4951         * gdb.mi/gdb701.exp
4952         * gdb.mi/gdb792.exp
4953         * gdb.mi/mi-breakpoint-changed.exp
4954         * gdb.mi/mi-dprintf-pending.exp
4955         * gdb.mi/mi-dprintf.exp
4956         * gdb.mi/mi-exit-code.exp
4957         * gdb.mi/mi-pending.exp
4958         * gdb.mi/mi-solib.exp
4959         * gdb.mi/new-ui-mi-sync.exp
4960         * gdb.mi/pr11022.exp
4961         * gdb.mi/user-selected-context-sync.exp
4962         * gdb.opt/solib-intra-step.exp
4963         * gdb.python/py-events.exp
4964         * gdb.python/py-finish-breakpoint.exp
4965         * gdb.python/py-mi.exp
4966         * gdb.python/py-prettyprint.exp
4967         * gdb.python/py-shared.exp
4968         * gdb.python/py-symbol.exp
4969         * gdb.python/py-template.exp
4970         * gdb.python/py-type.exp
4971         * gdb.python/py-value.exp
4972         * gdb.reverse/solib-precsave.exp
4973         * gdb.reverse/solib-reverse.exp
4974         * gdb.server/solib-list.exp
4975         * gdb.stabs/weird.exp
4976         * gdb.threads/reconnect-signal.exp
4977         * gdb.threads/stepi-random-signal.exp
4978         * gdb.trace/actions.exp
4979         * gdb.trace/ax.exp
4980         * gdb.trace/backtrace.exp
4981         * gdb.trace/change-loc.exp
4982         * gdb.trace/deltrace.exp
4983         * gdb.trace/ftrace-lock.exp
4984         * gdb.trace/ftrace.exp
4985         * gdb.trace/infotrace.exp
4986         * gdb.trace/mi-tracepoint-changed.exp
4987         * gdb.trace/packetlen.exp
4988         * gdb.trace/passcount.exp
4989         * gdb.trace/pending.exp
4990         * gdb.trace/range-stepping.exp
4991         * gdb.trace/report.exp
4992         * gdb.trace/stap-trace.exp
4993         * gdb.trace/tfind.exp
4994         * gdb.trace/trace-break.exp
4995         * gdb.trace/trace-condition.exp
4996         * gdb.trace/trace-enable-disable.exp
4997         * gdb.trace/trace-mt.exp
4998         * gdb.trace/tracecmd.exp
4999         * gdb.trace/tspeed.exp
5000         * gdb.trace/tsv.exp
5001         * lib/perftest.exp
5002
5003 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5004
5005         * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
5006         with gdb_test_no_output.
5007         Use command as test name.
5008
5009 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5010
5011         Fix test names starting with uppercase throughout the files.
5012
5013         * gdb.ada/assign_1.exp
5014         * gdb.ada/boolean_expr.exp
5015         * gdb.base/arrayidx.exp
5016         * gdb.base/del.exp
5017         * gdb.base/gcore-buffer-overflow.exp
5018         * gdb.base/testenv.exp
5019         * gdb.compile/compile.exp
5020         * gdb.python/py-framefilter-invalidarg.exp
5021         * gdb.python/py-framefilter.exp
5022
5023 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5024
5025         Fix test names starting with uppercase throughout the files.
5026
5027         * gdb.ada/array_return.exp
5028         * gdb.ada/expr_delims.exp
5029         * gdb.ada/mi_dyn_arr.exp
5030         * gdb.ada/mi_interface.exp
5031         * gdb.ada/mi_var_array.exp
5032         * gdb.ada/watch_arg.exp
5033         * gdb.arch/alpha-step.exp
5034         * gdb.arch/altivec-regs.exp
5035         * gdb.arch/e500-regs.exp
5036         * gdb.arch/powerpc-d128-regs.exp
5037         * gdb.base/arrayidx.exp
5038         * gdb.base/break.exp
5039         * gdb.base/checkpoint.exp
5040         * gdb.base/debug-expr.exp
5041         * gdb.base/dmsym.exp
5042         * gdb.base/radix.exp
5043         * gdb.base/sepdebug.exp
5044         * gdb.base/testenv.exp
5045         * gdb.base/watch_thread_num.exp
5046         * gdb.base/watchpoint-cond-gone.exp
5047         * gdb.cell/break.exp
5048         * gdb.cell/ea-cache.exp
5049         * gdb.compile/compile.exp
5050         * gdb.cp/gdb2495.exp
5051         * gdb.gdb/selftest.exp
5052         * gdb.gdb/xfullpath.exp
5053         * gdb.go/hello.exp
5054         * gdb.go/integers.exp
5055         * gdb.objc/basicclass.exp
5056         * gdb.pascal/hello.exp
5057         * gdb.pascal/integers.exp
5058         * gdb.python/py-breakpoint.exp
5059         * gdb.python/py-cmd.exp
5060         * gdb.python/py-linetable.exp
5061         * gdb.python/py-xmethods.exp
5062         * gdb.python/python.exp
5063         * gdb.reverse/consecutive-precsave.exp
5064         * gdb.reverse/finish-precsave.exp
5065         * gdb.reverse/i386-precsave.exp
5066         * gdb.reverse/machinestate-precsave.exp
5067         * gdb.reverse/sigall-precsave.exp
5068         * gdb.reverse/solib-precsave.exp
5069         * gdb.reverse/step-precsave.exp
5070         * gdb.reverse/until-precsave.exp
5071         * gdb.reverse/watch-precsave.exp
5072         * gdb.threads/leader-exit.exp
5073         * gdb.threads/pthreads.exp
5074         * gdb.threads/wp-replication.exp
5075         * gdb.trace/actions.exp
5076         * gdb.trace/mi-tsv-changed.exp
5077         * gdb.trace/tsv.exp
5078
5079 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5080
5081         Fix test names starting with uppercase throughout the files.
5082
5083         * gdb.arch/i386-bp_permanent.exp
5084         * gdb.arch/i386-gnu-cfi.exp
5085         * gdb.base/disasm-end-cu.exp
5086         * gdb.base/macscp.exp
5087         * gdb.base/pending.exp
5088         * gdb.base/watch_thread_num.exp
5089         * gdb.cp/exception.exp
5090         * gdb.cp/gdb2495.exp
5091         * gdb.cp/local.exp
5092         * gdb.python/py-evsignal.exp
5093         * gdb.python/python.exp
5094         * gdb.trace/tracecmd.exp
5095
5096 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5097
5098         Fix test names starting with uppercase throughout the files.
5099
5100         * gdb.base/charset.exp
5101         * gdb.base/eval.exp
5102         * gdb.base/multi-forks.exp
5103         * gdb.guile/scm-progspace.exp
5104         * gdb.opencl/datatypes.exp
5105         * gdb.python/py-block.exp
5106         * gdb.python/py-function.exp
5107         * gdb.python/py-symbol.exp
5108         * gdb.python/py-symtab.exp
5109         * gdb.python/py-xmethods.exp
5110         * gdb.reverse/break-precsave.exp
5111         * gdb.reverse/break-reverse.exp
5112         * gdb.reverse/consecutive-precsave.exp
5113         * gdb.reverse/consecutive-reverse.exp
5114         * gdb.reverse/finish-precsave.exp
5115         * gdb.reverse/finish-reverse-bkpt.exp
5116         * gdb.reverse/finish-reverse.exp
5117         * gdb.reverse/fstatat-reverse.exp
5118         * gdb.reverse/getresuid-reverse.exp
5119         * gdb.reverse/i386-precsave.exp
5120         * gdb.reverse/i386-reverse.exp
5121         * gdb.reverse/i386-sse-reverse.exp
5122         * gdb.reverse/i387-stack-reverse.exp
5123         * gdb.reverse/insn-reverse.exp
5124         * gdb.reverse/machinestate-precsave.exp
5125         * gdb.reverse/machinestate.exp
5126         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5127         * gdb.reverse/pipe-reverse.exp
5128         * gdb.reverse/readv-reverse.exp
5129         * gdb.reverse/recvmsg-reverse.exp
5130         * gdb.reverse/rerun-prec.exp
5131         * gdb.reverse/s390-mvcle.exp
5132         * gdb.reverse/sigall-precsave.exp
5133         * gdb.reverse/sigall-reverse.exp
5134         * gdb.reverse/solib-precsave.exp
5135         * gdb.reverse/solib-reverse.exp
5136         * gdb.reverse/step-precsave.exp
5137         * gdb.reverse/step-reverse.exp
5138         * gdb.reverse/time-reverse.exp
5139         * gdb.reverse/until-precsave.exp
5140         * gdb.reverse/until-reverse.exp
5141         * gdb.reverse/waitpid-reverse.exp
5142         * gdb.reverse/watch-precsave.exp
5143         * gdb.reverse/watch-reverse.exp
5144
5145 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5146
5147         Fix test names starting with uppercase throughout the files.
5148
5149         * gdb.arch/i386-mpx-simple_segv.exp
5150         * gdb.arch/i386-mpx.exp
5151         * gdb.arch/i386-permbkpt.exp
5152         * gdb.arch/pa-nullify.exp
5153         * gdb.arch/powerpc-d128-regs.exp
5154         * gdb.arch/vsx-regs.exp
5155         * gdb.base/bfp-test.exp
5156         * gdb.base/break.exp
5157         * gdb.base/breakpoint-shadow.exp
5158         * gdb.base/callfuncs.exp
5159         * gdb.base/charset.exp
5160         * gdb.base/commands.exp
5161         * gdb.base/completion.exp
5162         * gdb.base/dfp-test.exp
5163         * gdb.base/echo.exp
5164         * gdb.base/ending-run.exp
5165         * gdb.base/eval.exp
5166         * gdb.base/expand-psymtabs.exp
5167         * gdb.base/float128.exp
5168         * gdb.base/floatn.exp
5169         * gdb.base/foll-exec-mode.exp
5170         * gdb.base/gdb1056.exp
5171         * gdb.base/gdb11531.exp
5172         * gdb.base/kill-after-signal.exp
5173         * gdb.base/multi-forks.exp
5174         * gdb.base/overlays.exp
5175         * gdb.base/pending.exp
5176         * gdb.base/sepdebug.exp
5177         * gdb.base/testenv.exp
5178         * gdb.base/valgrind-db-attach.exp
5179         * gdb.base/watch_thread_num.exp
5180         * gdb.base/watchpoint-cond-gone.exp
5181         * gdb.base/watchpoint.exp
5182         * gdb.base/watchpoints.exp
5183         * gdb.cp/arg-reference.exp
5184         * gdb.cp/baseenum.exp
5185         * gdb.cp/operator.exp
5186         * gdb.cp/shadow.exp
5187         * gdb.dwarf2/dw2-op-out-param.exp
5188         * gdb.dwarf2/dw2-reg-undefined.exp
5189         * gdb.go/chan.exp
5190         * gdb.go/hello.exp
5191         * gdb.go/integers.exp
5192         * gdb.go/methods.exp
5193         * gdb.go/package.exp
5194         * gdb.guile/scm-parameter.exp
5195         * gdb.guile/scm-progspace.exp
5196         * gdb.guile/scm-value.exp
5197         * gdb.mi/mi-pending.exp
5198         * gdb.mi/user-selected-context-sync.exp
5199         * gdb.multi/multi-attach.exp
5200         * gdb.multi/tids.exp
5201         * gdb.opt/clobbered-registers-O2.exp
5202         * gdb.pascal/floats.exp
5203         * gdb.pascal/integers.exp
5204         * gdb.python/py-block.exp
5205         * gdb.python/py-events.exp
5206         * gdb.python/py-parameter.exp
5207         * gdb.python/py-symbol.exp
5208         * gdb.python/py-symtab.exp
5209         * gdb.python/py-type.exp
5210         * gdb.python/py-value.exp
5211         * gdb.python/py-xmethods.exp
5212         * gdb.python/python.exp
5213         * gdb.reverse/break-precsave.exp
5214         * gdb.reverse/consecutive-precsave.exp
5215         * gdb.reverse/finish-precsave.exp
5216         * gdb.reverse/i386-precsave.exp
5217         * gdb.reverse/machinestate-precsave.exp
5218         * gdb.reverse/sigall-precsave.exp
5219         * gdb.reverse/solib-precsave.exp
5220         * gdb.reverse/step-precsave.exp
5221         * gdb.reverse/until-precsave.exp
5222         * gdb.reverse/watch-precsave.exp
5223         * gdb.server/ext-attach.exp
5224         * gdb.server/ext-restart.exp
5225         * gdb.server/ext-run.exp
5226         * gdb.server/ext-wrapper.exp
5227         * gdb.stabs/gdb11479.exp
5228         * gdb.stabs/weird.exp
5229         * gdb.threads/attach-many-short-lived-threads.exp
5230         * gdb.threads/kill.exp
5231         * gdb.threads/watchpoint-fork.exp
5232
5233 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5234
5235         Fix test names starting with uppercase throughout all the files below.
5236
5237         * gdb.ada/array_return.exp
5238         * gdb.ada/catch_ex.exp
5239         * gdb.ada/info_exc.exp
5240         * gdb.ada/mi_catch_ex.exp
5241         * gdb.ada/mi_dyn_arr.exp
5242         * gdb.ada/mi_ex_cond.exp
5243         * gdb.ada/mi_exc_info.exp
5244         * gdb.ada/mi_interface.exp
5245         * gdb.ada/mi_task_arg.exp
5246         * gdb.ada/mi_task_info.exp
5247         * gdb.ada/mi_var_array.exp
5248         * gdb.arch/alpha-step.exp
5249         * gdb.arch/amd64-disp-step.exp
5250         * gdb.arch/arm-disp-step.exp
5251         * gdb.arch/disp-step-insn-reloc.exp
5252         * gdb.arch/e500-prologue.exp
5253         * gdb.arch/ftrace-insn-reloc.exp
5254         * gdb.arch/gdb1558.exp
5255         * gdb.arch/i386-bp_permanent.exp
5256         * gdb.arch/i386-disp-step.exp
5257         * gdb.arch/i386-float.exp
5258         * gdb.arch/i386-gnu-cfi.exp
5259         * gdb.arch/ia64-breakpoint-shadow.exp
5260         * gdb.arch/mips16-thunks.exp
5261         * gdb.arch/pa-nullify.exp
5262         * gdb.arch/powerpc-aix-prologue.exp
5263         * gdb.arch/powerpc-power.exp
5264         * gdb.arch/ppc-dfp.exp
5265         * gdb.arch/s390-tdbregs.exp
5266         * gdb.arch/spu-info.exp
5267         * gdb.arch/spu-ls.exp
5268         * gdb.arch/thumb-bx-pc.exp
5269         * gdb.base/advance.exp
5270         * gdb.base/annota-input-while-running.exp
5271         * gdb.base/arrayidx.exp
5272         * gdb.base/asmlabel.exp
5273         * gdb.base/async.exp
5274         * gdb.base/attach-wait-input.exp
5275         * gdb.base/auto-connect-native-target.exp
5276         * gdb.base/batch-preserve-term-settings.exp
5277         * gdb.base/bfp-test.exp
5278         * gdb.base/bigcore.exp
5279         * gdb.base/bp-permanent.exp
5280         * gdb.base/break-always.exp
5281         * gdb.base/break-fun-addr.exp
5282         * gdb.base/break-idempotent.exp
5283         * gdb.base/break-main-file-remove-fail.exp
5284         * gdb.base/break-probes.exp
5285         * gdb.base/break-unload-file.exp
5286         * gdb.base/break.exp
5287         * gdb.base/call-ar-st.exp
5288         * gdb.base/call-rt-st.exp
5289         * gdb.base/call-sc.exp
5290         * gdb.base/call-signal-resume.exp
5291         * gdb.base/call-strs.exp
5292         * gdb.base/callexit.exp
5293         * gdb.base/callfuncs.exp
5294         * gdb.base/catch-gdb-caused-signals.exp
5295         * gdb.base/catch-signal-siginfo-cond.exp
5296         * gdb.base/catch-syscall.exp
5297         * gdb.base/compare-sections.exp
5298         * gdb.base/cond-eval-mode.exp
5299         * gdb.base/condbreak-call-false.exp
5300         * gdb.base/consecutive-step-over.exp
5301         * gdb.base/cursal.exp
5302         * gdb.base/disabled-location.exp
5303         * gdb.base/disasm-end-cu.exp
5304         * gdb.base/display.exp
5305         * gdb.base/double-prompt-target-event-error.exp
5306         * gdb.base/dprintf-bp-same-addr.exp
5307         * gdb.base/dprintf-detach.exp
5308         * gdb.base/dprintf-next.exp
5309         * gdb.base/dprintf-non-stop.exp
5310         * gdb.base/dprintf-pending.exp
5311         * gdb.base/dso2dso.exp
5312         * gdb.base/ending-run.exp
5313         * gdb.base/enum_cond.exp
5314         * gdb.base/examine-backward.exp
5315         * gdb.base/exe-lock.exp
5316         * gdb.base/exec-invalid-sysroot.exp
5317         * gdb.base/execl-update-breakpoints.exp
5318         * gdb.base/execution-termios.exp
5319         * gdb.base/fileio.exp
5320         * gdb.base/fixsection.exp
5321         * gdb.base/foll-exec-mode.exp
5322         * gdb.base/foll-exec.exp
5323         * gdb.base/fork-running-state.exp
5324         * gdb.base/frame-args.exp
5325         * gdb.base/fullpath-expand.exp
5326         * gdb.base/func-ptr.exp
5327         * gdb.base/gcore-relro-pie.exp
5328         * gdb.base/gdb1090.exp
5329         * gdb.base/gdb1555.exp
5330         * gdb.base/global-var-nested-by-dso.exp
5331         * gdb.base/gnu-ifunc.exp
5332         * gdb.base/hbreak-in-shr-unsupported.exp
5333         * gdb.base/hbreak-unmapped.exp
5334         * gdb.base/hook-stop.exp
5335         * gdb.base/infcall-input.exp
5336         * gdb.base/info-fun.exp
5337         * gdb.base/info-shared.exp
5338         * gdb.base/interrupt-noterm.exp
5339         * gdb.base/jit-so.exp
5340         * gdb.base/jit.exp
5341         * gdb.base/line-symtabs.exp
5342         * gdb.base/list.exp
5343         * gdb.base/longjmp.exp
5344         * gdb.base/macscp.exp
5345         * gdb.base/max-value-size.exp
5346         * gdb.base/nodebug.exp
5347         * gdb.base/nofield.exp
5348         * gdb.base/overlays.exp
5349         * gdb.base/paginate-after-ctrl-c-running.exp
5350         * gdb.base/paginate-bg-execution.exp
5351         * gdb.base/paginate-inferior-exit.exp
5352         * gdb.base/pending.exp
5353         * gdb.base/pr11022.exp
5354         * gdb.base/printcmds.exp
5355         * gdb.base/ptr-typedef.exp
5356         * gdb.base/ptype.exp
5357         * gdb.base/randomize.exp
5358         * gdb.base/range-stepping.exp
5359         * gdb.base/realname-expand.exp
5360         * gdb.base/relativedebug.exp
5361         * gdb.base/remote.exp
5362         * gdb.base/savedregs.exp
5363         * gdb.base/sepdebug.exp
5364         * gdb.base/set-noassign.exp
5365         * gdb.base/shlib-call.exp
5366         * gdb.base/shreloc.exp
5367         * gdb.base/sigaltstack.exp
5368         * gdb.base/sigbpt.exp
5369         * gdb.base/siginfo-addr.exp
5370         * gdb.base/siginfo-obj.exp
5371         * gdb.base/siginfo-thread.exp
5372         * gdb.base/signest.exp
5373         * gdb.base/signull.exp
5374         * gdb.base/sigrepeat.exp
5375         * gdb.base/skip.exp
5376         * gdb.base/so-impl-ld.exp
5377         * gdb.base/solib-corrupted.exp
5378         * gdb.base/solib-disc.exp
5379         * gdb.base/solib-display.exp
5380         * gdb.base/solib-overlap.exp
5381         * gdb.base/solib-search.exp
5382         * gdb.base/solib-symbol.exp
5383         * gdb.base/source-execution.exp
5384         * gdb.base/sss-bp-on-user-bp-2.exp
5385         * gdb.base/sss-bp-on-user-bp.exp
5386         * gdb.base/stack-checking.exp
5387         * gdb.base/stale-infcall.exp
5388         * gdb.base/step-break.exp
5389         * gdb.base/step-line.exp
5390         * gdb.base/step-over-exit.exp
5391         * gdb.base/step-test.exp
5392         * gdb.base/structs.exp
5393         * gdb.base/sym-file.exp
5394         * gdb.base/symtab-search-order.exp
5395         * gdb.base/term.exp
5396         * gdb.base/type-opaque.exp
5397         * gdb.base/unload.exp
5398         * gdb.base/until-nodebug.exp
5399         * gdb.base/until.exp
5400         * gdb.base/unwindonsignal.exp
5401         * gdb.base/watch-cond.exp
5402         * gdb.base/watch-non-mem.exp
5403         * gdb.base/watch_thread_num.exp
5404         * gdb.base/watchpoint-reuse-slot.exp
5405         * gdb.base/watchpoint-solib.exp
5406         * gdb.base/watchpoint.exp
5407         * gdb.btrace/dlopen.exp
5408         * gdb.cell/arch.exp
5409         * gdb.cell/break.exp
5410         * gdb.cell/bt.exp
5411         * gdb.cell/core.exp
5412         * gdb.cell/data.exp
5413         * gdb.cell/dwarfaddr.exp
5414         * gdb.cell/ea-cache.exp
5415         * gdb.cell/ea-standalone.exp
5416         * gdb.cell/ea-test.exp
5417         * gdb.cell/f-regs.exp
5418         * gdb.cell/fork.exp
5419         * gdb.cell/gcore.exp
5420         * gdb.cell/mem-access.exp
5421         * gdb.cell/ptype.exp
5422         * gdb.cell/registers.exp
5423         * gdb.cell/sizeof.exp
5424         * gdb.cell/solib-symbol.exp
5425         * gdb.cell/solib.exp
5426         * gdb.compile/compile-tls.exp
5427         * gdb.cp/exception.exp
5428         * gdb.cp/gdb2495.exp
5429         * gdb.cp/local.exp
5430         * gdb.cp/mb-inline.exp
5431         * gdb.cp/mb-templates.exp
5432         * gdb.cp/pr10687.exp
5433         * gdb.cp/pr9167.exp
5434         * gdb.cp/scope-err.exp
5435         * gdb.cp/templates.exp
5436         * gdb.cp/virtfunc.exp
5437         * gdb.dwarf2/dw2-dir-file-name.exp
5438         * gdb.dwarf2/dw2-single-line-discriminators.exp
5439         * gdb.fortran/complex.exp
5440         * gdb.fortran/library-module.exp
5441         * gdb.guile/guile.exp
5442         * gdb.guile/scm-cmd.exp
5443         * gdb.guile/scm-frame-inline.exp
5444         * gdb.guile/scm-objfile.exp
5445         * gdb.guile/scm-pretty-print.exp
5446         * gdb.guile/scm-symbol.exp
5447         * gdb.guile/scm-type.exp
5448         * gdb.guile/scm-value.exp
5449         * gdb.linespec/keywords.exp
5450         * gdb.linespec/ls-errs.exp
5451         * gdb.linespec/macro-relative.exp
5452         * gdb.linespec/thread.exp
5453         * gdb.mi/mi-breakpoint-changed.exp
5454         * gdb.mi/mi-dprintf-pending.exp
5455         * gdb.mi/mi-fullname-deleted.exp
5456         * gdb.mi/mi-logging.exp
5457         * gdb.mi/mi-pending.exp
5458         * gdb.mi/mi-solib.exp
5459         * gdb.mi/new-ui-mi-sync.exp
5460         * gdb.mi/user-selected-context-sync.exp
5461         * gdb.multi/dummy-frame-restore.exp
5462         * gdb.multi/multi-arch-exec.exp
5463         * gdb.multi/remove-inferiors.exp
5464         * gdb.multi/watchpoint-multi-exit.exp
5465         * gdb.opt/solib-intra-step.exp
5466         * gdb.perf/backtrace.exp
5467         * gdb.perf/single-step.exp
5468         * gdb.perf/skip-command.exp
5469         * gdb.perf/skip-prologue.exp
5470         * gdb.perf/solib.exp
5471         * gdb.python/lib-types.exp
5472         * gdb.python/py-as-string.exp
5473         * gdb.python/py-bad-printers.exp
5474         * gdb.python/py-block.exp
5475         * gdb.python/py-breakpoint.exp
5476         * gdb.python/py-cmd.exp
5477         * gdb.python/py-events.exp
5478         * gdb.python/py-evthreads.exp
5479         * gdb.python/py-finish-breakpoint.exp
5480         * gdb.python/py-finish-breakpoint2.exp
5481         * gdb.python/py-frame-inline.exp
5482         * gdb.python/py-frame.exp
5483         * gdb.python/py-inferior.exp
5484         * gdb.python/py-infthread.exp
5485         * gdb.python/py-mi.exp
5486         * gdb.python/py-objfile.exp
5487         * gdb.python/py-pp-maint.exp
5488         * gdb.python/py-pp-registration.exp
5489         * gdb.python/py-prettyprint.exp
5490         * gdb.python/py-recurse-unwind.exp
5491         * gdb.python/py-shared.exp
5492         * gdb.python/py-symbol.exp
5493         * gdb.python/py-symtab.exp
5494         * gdb.python/py-template.exp
5495         * gdb.python/py-type.exp
5496         * gdb.python/py-unwind-maint.exp
5497         * gdb.python/py-unwind.exp
5498         * gdb.python/py-value.exp
5499         * gdb.python/python.exp
5500         * gdb.reverse/finish-reverse-bkpt.exp
5501         * gdb.reverse/insn-reverse.exp
5502         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5503         * gdb.reverse/solib-precsave.exp
5504         * gdb.reverse/solib-reverse.exp
5505         * gdb.stabs/gdb11479.exp
5506         * gdb.stabs/weird.exp
5507         * gdb.threads/fork-child-threads.exp
5508         * gdb.threads/fork-plus-threads.exp
5509         * gdb.threads/fork-thread-pending.exp
5510         * gdb.threads/forking-threads-plus-breakpoint.exp
5511         * gdb.threads/hand-call-in-threads.exp
5512         * gdb.threads/interrupted-hand-call.exp
5513         * gdb.threads/linux-dp.exp
5514         * gdb.threads/local-watch-wrong-thread.exp
5515         * gdb.threads/next-while-other-thread-longjmps.exp
5516         * gdb.threads/non-ldr-exit.exp
5517         * gdb.threads/pending-step.exp
5518         * gdb.threads/print-threads.exp
5519         * gdb.threads/process-dies-while-detaching.exp
5520         * gdb.threads/process-dies-while-handling-bp.exp
5521         * gdb.threads/pthreads.exp
5522         * gdb.threads/queue-signal.exp
5523         * gdb.threads/reconnect-signal.exp
5524         * gdb.threads/signal-command-handle-nopass.exp
5525         * gdb.threads/signal-command-multiple-signals-pending.exp
5526         * gdb.threads/signal-delivered-right-thread.exp
5527         * gdb.threads/signal-sigtrap.exp
5528         * gdb.threads/sigthread.exp
5529         * gdb.threads/staticthreads.exp
5530         * gdb.threads/stepi-random-signal.exp
5531         * gdb.threads/thread-unwindonsignal.exp
5532         * gdb.threads/thread_check.exp
5533         * gdb.threads/thread_events.exp
5534         * gdb.threads/tid-reuse.exp
5535         * gdb.threads/tls-nodebug.exp
5536         * gdb.threads/tls-shared.exp
5537         * gdb.threads/tls-so_extern.exp
5538         * gdb.threads/tls.exp
5539         * gdb.threads/wp-replication.exp
5540         * gdb.trace/actions-changed.exp
5541         * gdb.trace/actions.exp
5542         * gdb.trace/backtrace.exp
5543         * gdb.trace/change-loc.exp
5544         * gdb.trace/collection.exp
5545         * gdb.trace/deltrace.exp
5546         * gdb.trace/disconnected-tracing.exp
5547         * gdb.trace/entry-values.exp
5548         * gdb.trace/ftrace-lock.exp
5549         * gdb.trace/ftrace.exp
5550         * gdb.trace/infotrace.exp
5551         * gdb.trace/mi-trace-frame-collected.exp
5552         * gdb.trace/mi-trace-unavailable.exp
5553         * gdb.trace/mi-traceframe-changed.exp
5554         * gdb.trace/mi-tracepoint-changed.exp
5555         * gdb.trace/mi-tsv-changed.exp
5556         * gdb.trace/no-attach-trace.exp
5557         * gdb.trace/packetlen.exp
5558         * gdb.trace/passc-dyn.exp
5559         * gdb.trace/passcount.exp
5560         * gdb.trace/pending.exp
5561         * gdb.trace/pr16508.exp
5562         * gdb.trace/qtro.exp
5563         * gdb.trace/range-stepping.exp
5564         * gdb.trace/read-memory.exp
5565         * gdb.trace/report.exp
5566         * gdb.trace/save-trace.exp
5567         * gdb.trace/signal.exp
5568         * gdb.trace/stap-trace.exp
5569         * gdb.trace/status-stop.exp
5570         * gdb.trace/strace.exp
5571         * gdb.trace/tfile.exp
5572         * gdb.trace/tfind.exp
5573         * gdb.trace/trace-break.exp
5574         * gdb.trace/trace-condition.exp
5575         * gdb.trace/trace-enable-disable.exp
5576         * gdb.trace/trace-mt.exp
5577         * gdb.trace/tracecmd.exp
5578         * gdb.trace/tracefile-pseudo-reg.exp
5579         * gdb.trace/tspeed.exp
5580         * gdb.trace/tstatus.exp
5581         * gdb.trace/tsv.exp
5582         * gdb.trace/unavailable.exp
5583         * gdb.trace/while-dyn.exp
5584         * gdb.trace/while-stepping.exp
5585         * lib/gdb-guile.exp
5586         * lib/gdb.exp
5587         * lib/mi-support.exp
5588         * lib/pascal.exp
5589         * lib/perftest.exp
5590         * lib/prelink-support.exp
5591         * lib/selftest-support.exp
5592
5593 2016-11-30  Simon Marchi  <simon.marchi@polymtl.ca>
5594
5595         * Makefile.in: Include disable-implicit-rules.mk.
5596
5597 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5598
5599         * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5600         non-byte-aligned bit fields.
5601
5602 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5603
5604         PR gdb/12616
5605         * gdb.dwarf2/nonvar-access.exp: New testcase.  Check that GDB
5606         respects the DW_AT_data_bit_offset attribute.
5607
5608 2016-11-22  Simon Marchi  <simon.marchi@polymtl.ca>
5609
5610         * gdb.base/default.exp: Fix output of "set language".
5611
5612 2016-11-17  Simon Marchi  <simon.marchi@polymtl.ca>
5613
5614         * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5615         prefixed with @GMAKE_FALSE@.  Update comment related to non-GNU
5616         make.
5617         * configure.ac: Remove checks for the make program.
5618         * configure: Re-generate.
5619
5620 2016-11-16  Kevin Buettner  <kevinb@redhat.com>
5621
5622         * gdb.python/py-recurse-unwind.c (main): Add loop.
5623         * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5624         to read_register() and gdb.parse_and_eval().  Make each code
5625         call a separate case that can be individually tested.
5626         * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5627         proc. Call cont_and_backtrace for each of the code paths that
5628         we want to test in the unwinder.
5629
5630 2016-11-15  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5631
5632         * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5633         the definition of struct S.
5634
5635 2016-11-11  Catherine Moore  <clm@codesourcery.com>
5636
5637         * gdb.base/dump.exp: Identify verilog format dump tests as such.
5638
5639 2016-11-09  Pedro Alves  <palves@redhat.com>
5640
5641         * gdb.base/commands.exp (runto_or_return): New procedure.
5642         (gdbvar_simple_if_test, gdbvar_simple_while_test)
5643         (gdbvar_complex_if_while_test, progvar_simple_if_test)
5644         (progvar_simple_while_test, progvar_complex_if_while_test)
5645         (if_while_breakpoint_command_test)
5646         (infrun_breakpoint_command_test, breakpoint_command_test)
5647         (user_defined_command_test, watchpoint_command_test)
5648         (test_command_prompt_position, redefine_hook_test)
5649         (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5650         (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5651         multi_line_input and multi_line.  Remove gdb_expect and
5652         gdb_stop_suppressing_tests uses.
5653         * lib/gdb.exp (valnum_re): New global.
5654         (multi_line_input): New procedure.
5655
5656 2016-11-09  Simon Marchi  <simon.marchi@polymtl.ca>
5657
5658         * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5659         Remove.
5660         (test_setup): Define with proc_with_prefix.
5661         (test_cli_inferior): Likewise.
5662         (test_cli_thread): Likewise.
5663         (test_cli_frame): Likewise.
5664         (test_cli_select_frame): Likewise.
5665         (test_cli_up_down): Likewise.
5666         (test_mi_thread_select): Likewise.
5667         (test_mi_stack_select_frame): Likewise.
5668         (test_cli_in_mi_inferior): Likewise.
5669         (test_cli_in_mi_thread): Likewise.
5670         (test_cli_in_mi_frame): Likewise.
5671         (top level): Do not use with_test_prefix_procname.
5672
5673 2016-11-09  Pedro Alves  <palves@redhat.com>
5674
5675         * gdb.base/commands.exp (gdbvar_simple_if_test)
5676         (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5677         (progvar_simple_if_test, progvar_simple_while_test)
5678         (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5679         (infrun_breakpoint_command_test, breakpoint_command_test)
5680         (user_defined_command_test, watchpoint_command_test)
5681         (test_command_prompt_position, deprecated_command_test)
5682         (bp_deleted_in_command, temporary_breakpoint_commands)
5683         (stray_arg0_test, source_file_with_indented_comment)
5684         (recursive_source_test, if_commands_test)
5685         (error_clears_commands_left, redefine_hook_test)
5686         (redefine_backtrace_test): Use proc_with_prefix.
5687         * lib/gdb.exp (proc_with_prefix): New proc.
5688
5689 2016-11-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5690
5691         * gdb.base/tui-layout.c: New file.
5692         * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5693         disassembly window contains very long lines.
5694
5695 2016-11-08  Tom Tromey  <tom@tromey.com>
5696
5697         * gdb.python/py-value.exp (test_value_creation): Make "long" test
5698         depend on Python 2.
5699
5700 2016-11-08  Tom Tromey  <tom@tromey.com>
5701
5702         * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5703         New method.
5704
5705 2016-10-29  Manish Goregaokar  <manish@mozilla.com>
5706
5707         * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
5708
5709 2016-10-27  Manish Goregaokar  <manish@mozilla.com>
5710
5711         * gdb.rust/simple.rs: Add test for univariant enums without
5712         discriminants and for encoded struct-like enums.
5713
5714 2016-10-28  Pedro Alves  <palves@redhat.com>
5715
5716         * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5717         gdb_test_multiple, tighten regexps and match symtabs and line
5718         tables incrementally.
5719
5720 2016-10-28  Luis Machado  <lgustavo@codesourcery.com>
5721
5722         * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5723         general.
5724
5725 2016-10-25  Luis Machado  <lgustavo@codesourcery.com>
5726
5727         * gdb.base/exec-invalid-sysroot.exp: New file.
5728
5729 2016-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
5730
5731         * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5732
5733 2016-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
5734
5735         * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5736
5737 2016-10-19  Maciej W. Rozycki  <macro@imgtec.com>
5738
5739         * gdb.base/killed-outside.exp: Remove $options from a call to
5740         `prepare_for_testing'.
5741
5742 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
5743
5744         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5745         Change test message.
5746
5747 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
5748
5749         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5750         Update comment.
5751
5752 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
5753
5754         * gdb.trace/mi-trace-save.exp: New file.
5755
5756 2016-10-13  Yao Qi  <yao.qi@linaro.org>
5757
5758         * gdb.base/code_elim.exp (get_var_address): Remove.
5759         * gdb.base/relocate.exp: Likewise.
5760         * gdb.base/shreloc.exp: Likewise.
5761         * lib/gdb.exp (get_var_address): New.
5762
5763 2016-10-13  Yao Qi  <yao.qi@linaro.org>
5764
5765         * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5766         floating point tests if $skip_float_test is false.
5767
5768 2016-10-12  Luis Machado  <lgustavo@codesourcery.com>
5769
5770         * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5771         * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5772         argc values.
5773         Add 1 to argc so we guarantee distinct initial/modified argc values.
5774
5775 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5776
5777         * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5778
5779 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5780
5781         * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5782         * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5783         * gdb.arch/vsx-regs.exp: Likewise.
5784
5785 2016-10-07  Yao Qi  <yao.qi@linaro.org>
5786
5787         * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5788
5789 2016-10-07  Markus Metzger  <markus.t.metzger@intel.com>
5790
5791         * gdb.python/python.exp: Test decode_line("*0").
5792
5793 2016-10-06  Doug Evans  <dje@google.com>
5794
5795         * gdb.python/py-value.exp (test_value_creation): Add test for large
5796         unsigned 64-bit value.
5797
5798 2016-10-06  Tom Tromey  <tom@tromey.com>
5799
5800         * gdb.compile/compile.exp: Change java tests to rust.
5801         * gdb.base/setshow.exp: Change java tests to rust.
5802         * gdb.base/default.exp: Remove java from language list.
5803         * README (Examples): Update language example.
5804         * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
5805         test.
5806         * lib/gdb.exp (skip_java_tests): Remove.
5807         * lib/java.exp: Remove.
5808         * gdb.java: Remove.
5809
5810 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
5811
5812         * gdb.arch/mips-fcr.exp: New test.
5813         * gdb.arch/mips-fcr.c: Source for the new test.
5814
5815 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
5816
5817         * gdb.base/solib-disc.exp: Use `standard_output_file'
5818         throughout.
5819
5820 2016-10-06  Pedro Alves  <palves@redhat.com>
5821
5822         * gdb.base/jit-simple-dl.c: New file.
5823         * gdb.base/jit-simple-jit.c: New file, factored out from ...
5824         * gdb.base/jit-simple.c: ... this.
5825         * gdb.base/jit-simple.exp (jit_run): Delete.
5826         (build_jit): New proc.
5827         (jit_test_reread): Recompile either the main program or the shared
5828         library, depending on what is being tested.  Skip changing address
5829         if caller wants to.  Compare before/after addresses.  If testing
5830         standalone, explicitly load the binary.  Test "maint info
5831         breakpoints".
5832         (top level): Add "standalone vs shared lib" and "change address"
5833         vs "same address" axes.
5834
5835 2016-10-06  Pedro Alves  <palves@redhat.com>
5836
5837         * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
5838         call.
5839         (jit_run): Delete.
5840         (jit_test_reread): Use with_test_prefix.  Reload the main binary
5841         explicitly.  Compare the before/after addresses of the JIT
5842         descriptor.
5843
5844 2016-08-15  Doug Evans  <dje@google.com>
5845
5846         * gdb.xml/extra-regs.xml: Update, end field now required, default type
5847         for single bitfields is bool.
5848         * gdb.xml/tdesc-regs.exp: Ditto.
5849
5850 2016-10-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
5851
5852         * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
5853
5854 2016-10-05  Yao Qi  <yao.qi@linaro.org>
5855
5856         * lib/gdb.exp (support_complex_tests): Return zero if
5857         gdb_skip_float_test return true.
5858
5859 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
5860             Simon Marchi  <simon.marchi@ericsson.com>
5861
5862         PR gdb/20487
5863         * gdb.mi/user-selected-context-sync.exp: New file.
5864         * gdb.mi/user-selected-context-sync.c: New file.
5865
5866 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
5867             Simon Marchi  <simon.marchi@ericsson.com>
5868
5869         PR gdb/20487
5870         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
5871         =thread-select-event check.
5872
5873 2016-09-29  Peter Bergner  <bergner@vnet.ibm.com>
5874
5875         * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
5876         the compulsory L operand changes.
5877         * gdb.arch/powerpc-power.s: Likewise.
5878
5879 2016-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
5880
5881         PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
5882         * gdb.base/jit-attach-pie.c: New file.
5883         * gdb.base/jit-attach-pie.exp: New file.
5884
5885 2016-09-28  Pedro Alves  <palves@redhat.com>
5886
5887         * gdb.base/infcall-input.c: New file.
5888         * gdb.base/infcall-input.exp: New file.
5889
5890 2016-09-22  Yao Qi  <yao.qi@linaro.org>
5891
5892         * lib/gdbserver-support.exp: Rename mi_gdb_exit.
5893         (gdb_exit): Rename it to ...
5894         (gdbserver_gdb_exit): ...  Close GDBserver.
5895         (gdb_exit): New proc, call gdbserver_gdb_exit.
5896         (mi_gdb_exit): Likewise.
5897
5898 2016-09-22  Yao Qi  <yao.qi@linaro.org>
5899
5900         * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
5901         path.
5902         * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
5903         Remove duplication.
5904
5905 2016-09-22  Yao Qi  <yao.qi@linaro.org>
5906
5907         * lib/gdbserver-support.exp: Check the existence of
5908         gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
5909
5910 2016-09-21  Anton Kolesov  <anton.kolesov@synopsys.com>
5911
5912         * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
5913
5914 2016-09-21  Tom Tromey  <tom@tromey.com>
5915
5916         PR gdb/20604:
5917         * gdb.base/quit.exp: New file.
5918
5919 2016-09-21  Simon Marchi  <simon.marchi@ericsson.com>
5920
5921         * .gitignore: New file.
5922
5923 2016-09-21  Maciej W. Rozycki  <macro@imgtec.com>
5924
5925         * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
5926         throughout.
5927
5928 2016-09-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5929
5930         * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
5931
5932 2016-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
5933
5934         * gdb.cp/casts.cc (decltype): Move it ...
5935         (main): ... with its call to ...
5936         * gdb.cp/casts03.cc: ... a new file.
5937         * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
5938
5939 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
5940
5941         * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
5942
5943 2016-09-15  Peter Bergner  <bergner@vnet.ibm.com>
5944
5945         * gdb.arch/powerpc-power.s: Update Power9 instruction tests
5946         and sync up the test with tests in gas/testsuite/gas/ppc.
5947         * gdb.arch/powerpc-power.exp: Likewise.
5948
5949 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
5950
5951         * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
5952
5953 2016-09-11  Sergio Durigan Junior  <sergiodj@redhat.com>
5954             Jan Kratochvil  <jan.kratochvil@redhat.com>
5955
5956         * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
5957         make m1's definition to be different from m2's.  Use 'dummy' as an
5958         argument for probe 'two'.
5959
5960 2016-09-10  Jon Beniston  <jon@beniston.com>
5961
5962         * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
5963         for sim target.
5964
5965 2016-09-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5966
5967         * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
5968         variable declaration.
5969         (gnu_ifunc): Add parameter hwcap.  Store it in resolver_hwcap.
5970         * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
5971         * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
5972         received HWCAP as its argument.
5973
5974 2016-09-06  Pedro Alves  <palves@redhat.com>
5975
5976         * gdb.base/new-ui-pending-input.c: New file.
5977         * gdb.base/new-ui-pending-input.exp: New file.
5978         * gdb.exp (clear_gdb_spawn_id): New procedure.
5979         (with_spawn_id): Check whether gdb_spawn_id exists before
5980         referencing it.  If gdb_spawn_id didn't exist on entry, clear it
5981         on exit.
5982
5983 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
5984
5985         * gdb.base/float128.c: New file.
5986         * gdb.base/float128.exp: Likewise.
5987         * gdb.base/floatn.c: Likewise.
5988         * gdb.base/floatn.exp: Likewise.
5989
5990 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
5991
5992         * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
5993
5994 2016-09-05  Pedro Alves  <palves@redhat.com>
5995
5996         PR backtrace/19927
5997         * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
5998         unwinders are immediately called as side effect of "source" or
5999         "disable unwinder" commands.
6000         * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
6001
6002 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6003
6004         * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
6005         is true and $type is "float" or "double".
6006
6007 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6008
6009         * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
6010         true.
6011         * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
6012         * gdb.base/call-rt-st.exp: Likewise.
6013         * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
6014         return value instead of gdb,skip_float_test.
6015         * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
6016         (do_function_calls): Use its return value instead of
6017         gdb,skip_float_test.
6018         * gdb.base/finish.exp: Likewise.
6019         * gdb.base/funcargs.exp: Likewise.
6020         * gdb.base/return.exp: Likewise.
6021         * gdb.base/return2.exp: Likewise.
6022         * gdb.base/varargs.exp: Likewise.
6023         * lib/gdb.exp (gdb_skip_float_test): Change it to
6024         gdb_caching_proc.  Detect the broken ptrace on arm-linux.
6025
6026 2016-08-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6027
6028         * gdb.multi/tids.exp: Test "thread apply all".
6029
6030 2016-08-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6031
6032         * gdb.base/default.exp (tty): Remove.
6033
6034 2016-08-24  Kevin Buettner  <kevinb@redhat.com>
6035
6036         * gdb.python/py-recurse-unwind.c: New file.
6037         * gdb.python/py-recurse-unwind.py: New file.
6038         * gdb.python/py-recurse-unwind.exp: New file.
6039
6040 2016-08-24  Simon Marchi  <simon.marchi@ericsson.com>
6041
6042         * gdb.base/set-inferior-tty.exp: New file.
6043         * gdb.base/set-inferior-tty.c: New file.
6044
6045 2016-08-23  Pedro Alves  <palves@redhat.com>
6046
6047         PR gdb/20494
6048         * gdb.base/new-ui-echo.c: New file.
6049         * gdb.base/new-ui-echo.exp: New file.
6050
6051 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6052
6053         * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
6054         gdbserver_spawn.
6055         * gdb.server/connect-without-multi-process.exp (do_test):
6056         Likewise.
6057
6058 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6059
6060         * gdb.base/signals-state-child.exp: Set variables gdb_txt and
6061         standalone_txt.  Delete gdb_txt and standalone_txt on host
6062         and target.  Spawn the binary on target.  Copy files from
6063         target to host.
6064
6065 2016-08-22  Pedro Alves  <palves@redhat.com>
6066
6067         PR gdb/20505
6068         * gdb.base/vdso-warning.exp: Test core dumps too.  Use
6069         with_test_prefix.  Factor out bits to ...
6070         (test_no_vdso): ... this new procedure.
6071
6072 2016-08-19  Carl Love  <cel@us.ibm.com>
6073
6074         * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
6075         maintaining separate logic for constructing the output path.
6076         * gdb.arch/powerpc-d128-regs.exp: Likewise.
6077         * gdb.arch/ppc-dfp.exp: Likewise.
6078         * gdb.arch/ppc-fp.exp: Likewise.
6079         * gdb.arch/vsx-regs.exp: Likewise.
6080         * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
6081         binprefix for generating the additional binary files.
6082
6083 2016-08-19  Pedro Alves  <palves@redhat.com>
6084
6085         * gdb.trace/mi-trace-frame-collected.exp
6086         (test_trace_frame_collected): On x32, expect two registers.
6087
6088 2016-08-18  Carl Love  <cel@us.ibm.com>
6089
6090         * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
6091         and sync up the test with tests in gas/testsuite/gas/ppc.
6092         * gdb.arch/powerpc-power.exp: Likewise.
6093
6094 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6095
6096         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
6097         expected error message.
6098
6099 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6100
6101         * gdb.multi/remove-inferiors.exp: New file.
6102         * gdb.multi/remove-inferiors.c: New file.
6103
6104 2016-08-12  Yao Qi  <yao.qi@linaro.org>
6105
6106         * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
6107         argument list.
6108
6109 2016-08-10  Pedro Alves  <palves@redhat.com>
6110
6111         PR gdb/19187
6112         * gdb.reverse/waitpid-reverse.exp: Add comment and remove
6113         setup_kfails.
6114
6115 2016-08-09  Pedro Alves  <palves@redhat.com>
6116             Simon Marchi  <simon.marchi@ericsson.com>
6117
6118         PR gdb/20418
6119         * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
6120         * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
6121
6122 2016-08-09  Pedro Alves  <palves@redhat.com>
6123
6124         PR mi/20431
6125         * gdb.mi/mi-cmd-error.exp: New file.
6126
6127 2016-08-09  Pedro Alves  <palves@redhat.com>
6128
6129         PR gdb/18653
6130         * gdb.base/signals-state-child.c: New file.
6131         * gdb.base/signals-state-child.exp: New file.
6132         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
6133
6134 2016-08-09  Pedro Alves  <palves@redhat.com>
6135
6136         * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
6137
6138 2016-08-03  Tom Tromey  <tom@tromey.com>
6139
6140         PR python/18565:
6141         * gdb.python/py-frame-inline.exp: Add Frame.function test.
6142
6143 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6144
6145         * gdb.threads/process-dies-while-detaching.exp (do_test): Set
6146         variable mode to "multi-process" if $multi_process is 1, otherwise
6147         set it to "single-process".
6148
6149 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6150
6151         * gdb.cp/anon-struct.exp: Check is_aarch32_target.
6152         * gdb.cp/cpexprs.exp: Likewise.
6153         * gdb.cp/m-static.exp: Likewise.
6154
6155 2016-07-26  Tom Tromey  <tom@tromey.com>
6156
6157         PR python/20190:
6158         * gdb.threads/tls.exp (check_thread_local): Add python symbol
6159         test.
6160
6161 2016-07-26  Markus Metzger  <markus.t.metzger@intel.com>
6162
6163         * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
6164         selecting assembly source files.
6165         * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
6166         assembly source files.
6167         * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
6168         assembly source files.
6169         * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
6170         selecting assembly source files.
6171
6172 2016-07-25  Simon Marchi  <simon.marchi@ericsson.com>
6173
6174         * gdb.base/new-ui.exp (do_test_invalid_args): New
6175         procedure.
6176
6177 2016-07-25  Tim Wiederhake  <tim.wiederhake@intel.com>
6178
6179         * gdb.btrace/reconnect.c: New file.
6180         * gdb.btrace/reconnect.exp: New file.
6181
6182 2016-07-23  Gabriel Krisman Bertazi  <gabriel@krisman.be>
6183
6184         * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
6185         to test_catch_syscall_group.
6186         (test_catch_syscall_group): New.
6187
6188 2016-07-21  Tom Tromey  <tom@tromey.com>
6189
6190         * gdb.rust/simple.rs (main): Use empty struct expression.
6191         * gdb.rust/simple.exp: Add tests for empty struct expression.
6192
6193 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6194
6195         * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
6196         if gdb_skip_xml_test is true on some targets.
6197
6198 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6199
6200         * gdb.server/solib-list.exp: Unset last_loaded_file.
6201
6202 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6203
6204         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
6205         "step into captured_main (args)".
6206
6207 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6208
6209         * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
6210
6211 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6212
6213         * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
6214
6215 2016-07-19  Pedro Alves  <palves@redhat.com>
6216
6217         * gdb.opt/inline-break.exp: Remove optimize=-O2.
6218         * gdb.opt/inline-bt.exp: Likewise.
6219         * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
6220         additional_flags=-Winline.
6221         * gdb.opt/inline-locals.exp: Likewise.
6222         * gdb.opt/inline-markers.c (ATTR): Define.
6223         (inlined_fn): Use it.
6224
6225 2016-07-19  Yao Qi  <yao.qi@linaro.org>
6226
6227         * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
6228         (test_with_self): Remove some code.  Remove argument executable.
6229         (top-level): Use do_self_tests.
6230
6231 2016-07-15  Zachary Welch  <zwelch@codesourcery.com>
6232             Don Breazeal <donb@codesourcery.com>
6233
6234         * gdb.base/maint.exp: Escape paths used in regular expressions.
6235         * gdb.stabs/weird.exp: Likewise.
6236
6237 2016-07-13  Tom Tromey  <tom@tromey.com>
6238
6239         PR python/15620, PR python/18620:
6240         * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
6241         (test_bkpt_events): New procs.
6242
6243 2016-07-13  Tom Tromey  <tom@tromey.com>
6244
6245         PR python/17698:
6246         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6247         test.
6248         (test_watchpoints): Likewise.
6249         (test_bkpt_pending): New proc.
6250
6251 2016-07-13  Tom Tromey  <tom@tromey.com>
6252
6253         PR cli/18053:
6254         * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6255         completion test.
6256
6257 2016-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6258
6259         * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6260         * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6261         * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6262         f_label.
6263         (g): Rename g_end_lbl to g_label.
6264         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6265         low_pc and high_pc.
6266         * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6267
6268 2016-07-12  Tom Tromey  <tom@tromey.com>
6269
6270         PR python/19293:
6271         * gdb.python/py-unwind-maint.exp: Update tests.
6272
6273 2016-07-12  Yao Qi  <yao.qi@linaro.org>
6274
6275         * lib/selftest-support.exp (selftest_setup): Match the output
6276         when captured_main is inlined.
6277
6278 2016-07-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6279
6280         * gdb.fortran/derived-types.exp (result_line, result_line_2):
6281         New variables.
6282         (print this%a, print this%b, print this): New tests.
6283         * gdb.fortran/derived-types.f90 (this): New object and
6284         initialization.
6285
6286 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6287
6288         * gdb.ada/arraydim.exp: Remove extra directory level in build
6289         directory.
6290
6291 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6292
6293         * lib/ada.exp: Remove extra directory level in build directory.
6294         * gdb.ada/cond_lang.exp: Likewise.
6295         * gdb.ada/exec_changed.exp: Likewise.
6296         * gdb.ada/lang_switch.exp: Likewise.
6297
6298 2016-07-06  Manish Goregaokar  <manish@mozilla.com>
6299
6300         * simple.rs: Add test for raw pointer subscripting.
6301         * simple.exp: Add test expectations.
6302
6303 2016-07-05  Yao Qi  <yao.qi@linaro.org>
6304
6305         * gdb.mi/mi-reverse.exp: Match =record-started output.
6306
6307 2016-07-01  Pedro Alves  <palves@redhat.com>
6308
6309         * gdb.base/jit-reader.exp (info_registers_current_frame): New
6310         procedure.
6311         (jit_reader_test): Test the jit reader's unwinder.
6312         * gdb.base/jithost.c (jit_function_00_code): New global.
6313         (main): Use memcpy to fill in the mmapped code, instead of poking
6314         bytes manually here.
6315         * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6316         value.
6317         (read_debug_info): Save the function's range.
6318         (read_sp): New function.
6319         (unwind_frame): Use it.  Also unwind RBP.
6320         (get_frame_id): Use read_sp.
6321         (gdb_init_reader): Use calloc instead of malloc.
6322         * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6323         parameter.  Use gdb_test_multiple.
6324
6325 2016-07-01  Pedro Alves  <palves@redhat.com>
6326             Antoine Tremblay  <antoine.tremblay@ericsson.com>
6327
6328         * gdb.threads/process-dies-while-detaching.c: New file.
6329         * gdb.threads/process-dies-while-detaching.exp: New file.
6330
6331 2016-07-01  Pedro Alves  <palves@redhat.com>
6332
6333         * gdb.multi/watchpoint-multi-exit.c: New file.
6334         * gdb.multi/watchpoint-multi-exit.exp: New file.
6335
6336 2016-06-30  Pedro Alves  <palves@redhat.com>
6337
6338         * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6339         unset inferior_spawn_id.
6340
6341 2016-06-30  Pedro Alves  <palves@redhat.com>
6342
6343         * lib/mi-support.exp (default_mi_gdb_start): Declare global
6344         FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
6345
6346 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6347
6348         * gdb.base/return.c: Add copyright header.
6349
6350 2016-06-29  Tom Tromey  <tom@tromey.com>
6351
6352         PR python/20129:
6353         * gdb.python/py-framefilter.exp: Add tests for setting priority
6354         and disabling of non-existent frame filter.
6355
6356 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6357
6358         * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6359         0x0f07ff.
6360
6361 2016-06-28  Yao Qi  <yao.qi@linaro.org>
6362
6363         * gdb.base/catch-syscall.exp: Remove check on isnative and target
6364         triplets.  Start gdb, execute catch syscall, and continue.  Check
6365         gdb's output to determine catch syscall is supported.
6366
6367 2016-06-27  Manish Goregaokar  <manish@mozilla.com>
6368
6369         * gdb.rust/simple.rs: Add test for returning unit in a function.
6370         * gdb.rust/simple.exp: Add expectation for functions returning
6371         unit.
6372
6373 2016-06-27  Pierre-Marie de Rodat  <derodat@adacore.com>
6374
6375         * gdb.python/py-breakpoint-create-fail.c,
6376         gdb.python/py-breakpoint-create-fail.exp,
6377         gdb.python/py-breakpoint-create-fail.py: New testcase.
6378
6379 2016-06-25  Manish Goregaokar  <manish@mozilla.com>
6380
6381         PR gdb/20239
6382         * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6383         * gdb.rust/simple.exp: Add test expectations for new NonZero
6384         tests.
6385
6386 2016-06-24  David Taylor  <dtaylor@emc.com>
6387
6388         * gdb.base/offsets.exp: New file.
6389         * gdb.base/offsets.c: New file.
6390
6391 2016-06-23  Tom Tromey  <tom@tromey.com>
6392
6393         PR gdb/16483:
6394         * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6395         before any filters are loaded.
6396
6397 2016-06-21  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6398
6399         * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6400         * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6401         structs.
6402         * gdb.fortran/derived-type-function.exp: New file.
6403         * gdb.fortran/derived-type-function.f90: New file.
6404
6405
6406 2016-06-21  Pedro Alves  <palves@redhat.com>
6407
6408         * gdb.base/new-ui.exp: New file.
6409         * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6410         * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6411         (with_spawn_id): New procedure.
6412
6413 2016-06-21  Pedro Alves  <palves@redhat.com>
6414
6415         * gdb.mi/mi-exec-run.exp: New file.
6416
6417 2016-06-21  Pedro Alves  <palves@redhat.com>
6418
6419         * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6420         breakpoint command's output on the main UI.
6421         (test_break): New procedure, factored out from calls in the top
6422         level.
6423         (top level): Use foreach_with_prefix to test MI as main UI and as
6424         separate UI.
6425
6426 2016-06-21  Pedro Alves  <palves@redhat.com>
6427
6428         * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6429         (test_awatch_creation_and_listing)
6430         (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6431         Remove 'type' parameter.
6432         (test_watchpoint_all): New parameter mi_mode.  Remove
6433         with_test_prefix.
6434         (top level): Use foreach_with_prefix, and add main/separate UI MI
6435         testing axis.
6436
6437 2016-06-21  Pedro Alves  <palves@redhat.com>
6438
6439         * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6440         * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6441         * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6442         gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6443         (gdb_main_spawn_id, mi_spawn_id): Declare and
6444         comment.
6445         (mi_create_inferior_pty): New procedure,
6446         factored out from default_mi_gdb_start.
6447         (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6448         procedures.
6449         (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6450         separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6451         Use mi_create_inferior_pty.
6452         (mi_gdb_start): Use eval to pass down args list.
6453
6454 2016-06-21  Pedro Alves  <palves@redhat.com>
6455
6456         * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6457         * gdb.opt/inline-cmds.exp: Add MI tests.
6458
6459 2016-06-21  Pedro Alves  <palves@redhat.com>
6460
6461         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6462
6463 2016-06-21  Pedro Alves  <palves@redhat.com>
6464
6465         * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6466         (top level): Use it instead of mi_execute_to.
6467
6468 2016-06-21  Pedro Alves  <palves@redhat.com>
6469
6470         * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6471         (cont_handler_str): New.
6472         (signal_stop_handler): Set stop_handler_str instead of printing to
6473         stdout.
6474         (continue_handler): Set cont_handler_str instead of printing to
6475         stdout.
6476         * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6477         mi_send_resuming_command.  Print stop_handler_str and
6478         cont_handler_str instead of expecting the python events print
6479         directly.
6480
6481 2016-06-17  Sanjoy Das  <sanjoy@playingwithpointers.com>
6482
6483         * gdb.base/jit-reader.exp: New file.
6484         * gdb.base/jithost.c: New file.
6485         * gdb.base/jithost.h: New file.
6486         * gdb.base/jitreader.c : New file.
6487         * gdb.base/jit-protocol.h: New file.
6488
6489 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6490
6491         * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6492         parameters follow_fork and detach_on_fork.  Set follow-fork-mode
6493         and detach-on-fork.  Adjust tests.
6494         (top level): Invoke break_cond_on_syscall with combinations of
6495         syscall, follow-fork-mode and detach-on-fork.
6496
6497 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6498
6499         * gdb.base/step-over-exit.c: New.
6500         * gdb.base/step-over-exit.exp: New.
6501
6502 2016-06-17  Yan-Ting Lin  <currygt52@gmail.com>
6503
6504         * gdb.base/float.exp: Add target check for nds32*-*-*.
6505         * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6506
6507 2016-06-13  Andrew Burgess  <andrew.burgess@embecosm.com>
6508
6509         * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6510         for unsupported target features.
6511         * gdb.base/call-rt-st.exp: Likewise.
6512         * gdb.base/call-sc.exp: Likewise.
6513         * gdb.base/call-signal-resume.exp: Likewise.
6514         * gdb.base/call-strs.exp: Likewise.
6515         * gdb.base/callexit.exp: Likewise.
6516         * gdb.base/callfuncs.exp: Likewise.
6517         * gdb.base/nodebug.exp: Likewise.
6518         * gdb.base/printcmds.exp: Likewise.
6519         * gdb.base/ptype.exp: Likewise.
6520         * gdb.base/structs.exp: Likewise.
6521         * gdb.base/unwindonsignal.exp: Likewise.
6522         * gdb.cp/gdb2495.exp: Likewise.
6523         * gdb.cp/templates.exp: Likewise.
6524         * gdb.cp/virtfunc.exp: Likewise.
6525         * gdb.threads/hand-call-in-threads.exp: Likewise.
6526         * gdb.threads/interrupted-hand-call.exp: Likewise.
6527         * gdb.threads/thread-unwindonsignal.exp: Likewise.
6528
6529 2016-06-10  Tom Tromey  <tom@tromey.com>
6530
6531         PR rust/20110:
6532         * gdb.rust/expr.exp: Add test for integer constant larger than
6533         i32.
6534
6535 2016-06-10  Bernhard Heckel  <bernhard.heckel@intel.com>
6536
6537         * gdb.fortran/nested-funcs.exp: New.
6538         * gdb.fortran/nested-funcs.f90: New.
6539
6540 2016-06-09  Toshihito Kikuchi  <k.toshihito@yahoo.de>
6541
6542         * gdb.base/examine-backward.c: New file.
6543         * gdb.base/examine-backward.exp: New file.
6544
6545 2016-06-06  Simon Marchi  <simon.marchi@ericsson.com>
6546
6547         * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6548         matching.
6549
6550 2016-06-02  Tom Tromey  <tom@tromey.com>
6551
6552         PR python/18984:
6553         * gdb.python/py-shared.exp: Add solib_name test.
6554
6555 2016-06-02  Simon Marchi  <simon.marchi@ericsson.com>
6556
6557         * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6558
6559 2016-05-31  Martin Galvan  <martin.galvan@tallertechnologies.com>
6560
6561         PR c++/19893
6562         * gdb.dwarf2/implref.exp: Rename to...
6563         * gdb.dwarf2/implref-const.exp: ...this.  Also add more test statements.
6564         * gdb.dwarf2/implref-array.c: New file.
6565         * gdb.dwarf2/implref-array.exp: Likewise.
6566         * gdb.dwarf2/implref-global.c: Likewise.
6567         * gdb.dwarf2/implref-global.exp: Likewise.
6568         * gdb.dwarf2/implref-struct.c: Likewise.
6569         * gdb.dwarf2/implref-struct.exp: Likewise.
6570
6571 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6572
6573         * gdb.trace/trace-condition.exp: Add 64bit tests.
6574
6575 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6576
6577         * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6578         bits types.
6579         (main): Adapt to 8 to 64 bits types.
6580         * gdb.trace/trace-condition.exp: Add new tests.
6581
6582 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6583
6584         * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6585
6586 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6587
6588         * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6589         Move condition tests...
6590         * gdb.trace/trace-condition.exp: Here.
6591
6592 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6593
6594         * gdb.trace/trace-condition.exp: Add counter-case tests.
6595
6596 2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
6597
6598         PR c++/15231
6599         * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6600         * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6601
6602 2016-05-27  Pedro Alves  <palves@redhat.com>
6603
6604         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6605         New procedure.
6606         (top level): Call it, and bail out of DejaGnu is known to be bad.
6607
6608 2016-05-27  Andrew Burgess  <andrew.burgess@embecosm.com>
6609
6610         * gdb.base/whatis.c: Extend the test case.
6611         * gdb.base/whatis.exp: Add additional tests.
6612
6613 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6614
6615 * gdb.fortran/type.f90: Add pointer variable.
6616 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6617
6618 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6619
6620         * gdb.fortran/vla-type.exp: Fix testcase name.
6621
6622 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6623
6624         * gdb.fortran/vla-type.exp: Access elements in nested structs.
6625
6626 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6627
6628         * gdb.fortran/type.f90: Add nested structures.
6629         * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6630         * gdb.fortran/derived-type.exp: Adapt expected output.
6631         * gdb.fortran/vla-type.exp: Adapt expected output.
6632
6633 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6634
6635         * gdb.fortran/whatis_type.exp: Adapt expected output.
6636
6637 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6638
6639         * gdb.fortran/print_type.exp: Fix expected output.
6640         * gdb.fortran/whatis_type.exp: Fix expected output.
6641
6642 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6643
6644         * gdb.fortran/whatis_type.exp: Use multi_line.
6645
6646 2016-05-24  Tom Tromey  <tom@tromey.com>
6647
6648         PR python/17386:
6649         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6650         use value as an index.
6651
6652 2016-05-23  Tom Tromey  <tom@tromey.com>
6653
6654         PR python/17981:
6655         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6656         no-breakpoint case.
6657
6658 2016-05-24  Pedro Alves  <palves@redhat.com>
6659
6660         PR gdb/19828
6661         * gdb.threads/clone-attach-detach.c: New file.
6662         * gdb.threads/clone-attach-detach.exp: New file.
6663
6664 2016-05-24  Francis Ricci  <francisjricci@gmail.com>  (tiny patch)
6665
6666         * gdb.base/annota-input-while-running.exp: Fix syntax error.
6667
6668 2016-05-23  Tom Tromey  <tom@tromey.com>
6669
6670         PR python/19438, PR python/18393:
6671         * gdb.python/py-progspace.exp: Add "dir" test.
6672         * gdb.python/py-objfile.exp: Add "dir" test.
6673
6674 2016-05-23  Yao Qi  <yao.qi@linaro.org>
6675
6676         * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6677         * gdb.arch/thumb2-it.exp: Likewise.
6678
6679 2016-05-18  Simon Marchi  <simon.marchi@ericsson.com>
6680
6681         * gdb.mi/mi-threads-interrupt.c: New file.
6682         * gdb.mi/mi-threads-interrupt.exp: New file.
6683
6684 2016-05-17  Simon Marchi  <simon.marchi@ericsson.com>
6685
6686         PR gdb/18077
6687         * gdb.mi/mi-async-run.exp: New file.
6688         * gdb.mi/mi-async-run.c: New file.
6689
6690 2016-05-17  Tom Tromey  <tom@tromey.com>
6691             Manish Goregaokar <manishsmail@gmail.com>
6692
6693         * lib/rust-support.exp: New file.
6694         * lib/gdb.exp (skip_rust_tests): New proc.
6695         (build_executable_from_specs): Handle rust.
6696         * lib/future.exp (gdb_find_rustc): New proc.
6697         (gdb_default_target_compile): Handle rust.
6698         * gdb.rust/expr.exp: New file.
6699         * gdb.rust/generics.exp: New file.
6700         * gdb.rust/generics.rs: New file.
6701         * gdb.rust/methods.exp: New file.
6702         * gdb.rust/methods.rs: New file.
6703         * gdb.rust/modules.exp: New file.
6704         * gdb.rust/modules.rs: New file.
6705         * gdb.rust/simple.exp: New file.
6706         * gdb.rust/simple.rs: New file.
6707
6708 2016-05-17  Tom Tromey  <tom@tromey.com>
6709
6710         * gdb.base/default.exp (set language): Add rust.
6711
6712 2016-05-17  Tom Tromey  <tom@tromey.com>
6713
6714         * gdb.gdb/unittest.exp: New file.
6715
6716 2016-05-16  Yao Qi  <yao.qi@linaro.org>
6717
6718         * gdb.base/batch-preserve-term-settings.exp: Remove variable
6719         shell_prompt.  Update shell_prompt_re.
6720
6721 2016-05-12  Doug Evans  <dje@google.com>
6722
6723         PR symtab/19999
6724         * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6725         $options when building executable.
6726         * gdb.dwarf2/fission-loclists-pie.S: New file.
6727         * gdb.dwarf2/fission-loclists-pie.exp: New file.
6728
6729 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
6730
6731         * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
6732         of [is_remote target],
6733
6734 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
6735
6736         * lib/gdb.exp (use_gdb_stub): New procedure.
6737
6738 2016-05-03  Yunlian Jiang <yunlian@google.com>
6739             Doug Evans  <dje@google.com>
6740
6741         PR symtab/19914
6742         * gdb.dwarf2/dwp-sepdebug.c: New file.
6743         * gdb.dwarf2/dwp-sepdebug.exp: New file.
6744
6745 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
6746
6747         * gdb.base/detach.exp: Remove is_remote check.
6748
6749 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
6750
6751         * gdb.base/annota-input-while-running.exp: Don't check for
6752         [is_remote target].  Enable annotations after running to main.
6753         Remove unused "set test..." line.
6754
6755 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
6756
6757         * gdb.trace/trace-enable-disable.exp: New file.
6758         * gdb.trace/trace-enable-disable.c: New file.
6759
6760 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
6761
6762         * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6763         use it in info sharedlibrary test.
6764         * gdb.trace/ftrace-lock.exp: Likewise.
6765         * gdb.trace/ftrace.exp: Likewise.
6766         * gdb.trace/range-stepping.exp: Likewise.
6767         * gdb.trace/trace-break.exp: Likewise.
6768         * gdb.trace/trace-condition.exp: Likewise.
6769         * gdb.trace/trace-mt.exp: Likewise.
6770
6771 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
6772
6773         * lib/gdb.exp (gdb_load_shlibs): Rename to...
6774         (gdb_load_shlib): ... this.
6775         * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6776         gdb_load_shlib.
6777         * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6778         * gdb.base/ctxobj.exp: Likewise.
6779         * gdb.base/dprintf-pending.exp: Likewise.
6780         * gdb.base/dso2dso.exp: Likewise.
6781         * gdb.base/fixsection.exp: Likewise.
6782         * gdb.base/gcore-relro.exp: Likewise.
6783         * gdb.base/gdb1555.exp: Likewise.
6784         * gdb.base/global-var-nested-by-dso.exp: Likewise.
6785         * gdb.base/gnu-ifunc.exp: Likewise.
6786         * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6787         * gdb.base/jit-so.exp (one_jit_test): Likewise.
6788         * gdb.base/pending.exp: Likewise.
6789         * gdb.base/print-file-var.exp: Likewise.
6790         * gdb.base/print-symbol-loading.exp: Likewise.
6791         * gdb.base/shlib-call.exp: Likewise.
6792         * gdb.base/shreloc.exp: Likewise.
6793         * gdb.base/so-impl-ld.exp: Likewise.
6794         * gdb.base/solib-disc.exp: Likewise.
6795         * gdb.base/solib-nodir.exp: Likewise.
6796         * gdb.base/solib-overlap.exp: Likewise.
6797         * gdb.base/solib-symbol.exp: Likewise.
6798         * gdb.base/solib-weak.exp (do_test): Likewise.
6799         * gdb.base/sym-file.exp: Likewise.
6800         * gdb.base/symtab-search-order.exp: Likewise.
6801         * gdb.base/type-opaque.exp: Likewise.
6802         * gdb.base/unload.exp: Likewise.
6803         * gdb.base/watchpoint-solib.exp: Likewise.
6804         * gdb.compile/compile.exp: Likewise.
6805         * gdb.cp/gdb2384.exp: Likewise.
6806         * gdb.cp/infcall-dlopen.exp: Likewise.
6807         * gdb.cp/re-set-overloaded.exp: Likewise.
6808         * gdb.fortran/library-module.exp: Likewise.
6809         * gdb.opt/solib-intra-step.exp: Likewise.
6810         * gdb.python/py-finish-breakpoint.exp: Likewise.
6811         * gdb.python/py-shared.exp: Likewise.
6812         * gdb.reverse/solib-precsave.exp: Likewise.
6813         * gdb.reverse/solib-reverse.exp: Likewise.
6814         * gdb.server/solib-list.exp: Likewise.
6815         * gdb.threads/dlopen-libpthread.exp: Likewise.
6816         * gdb.threads/tls-shared.exp: Likewise.
6817         * gdb.threads/tls-so_extern.exp: Likewise.
6818         * gdb.trace/change-loc.exp: Likewise.
6819         * gdb.trace/ftrace-lock.exp: Likewise.
6820         * gdb.trace/ftrace.exp: Likewise.
6821         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
6822         * gdb.trace/pending.exp: Likewise.
6823         * gdb.trace/range-stepping.exp: Likewise.
6824         * gdb.trace/strace.exp (strace_remove_socket): Likewise.
6825         (strace_info_marker): Likewise.
6826         (strace_probe_marker): Likewise.
6827         (strace_trace_on_same_addr): Likewise.
6828         (strace_trace_on_diff_addr): Likewise.
6829         * gdb.trace/trace-break.exp: Likewise.
6830         * gdb.trace/trace-condition.exp: Likewise.
6831         * gdb.trace/trace-mt.exp: Likewise.
6832
6833 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
6834
6835         * lib/gdb.exp (gdb_load_shlibs):  Accept a single argument.  Return
6836         result of gdb_remote_download.
6837         * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
6838         * gdb.base/dso2dso.exp: Likewise.
6839         * gdb.base/global-var-nested-by-dso.exp: Likewise.
6840         * gdb.base/print-file-var.exp: Likewise.
6841         * gdb.base/shlib-call.exp: Likewise.
6842         * gdb.base/shreloc.exp: Likewise.
6843         * gdb.base/solib-overlap.exp: Likewise.
6844         * gdb.base/solib-weak.exp (do_test): Likewise.
6845         * gdb.base/unload.exp: Likewise.
6846
6847 2016-04-27  Yao Qi  <yao.qi@linaro.org>
6848
6849         * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
6850         exists.
6851
6852 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
6853
6854         * vla-type.exp: Print structure from toplevel.
6855
6856 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
6857
6858         * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
6859         of dynamic types.
6860         * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
6861         of dynamic types.
6862
6863 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
6864
6865         * gdb.fortran/vla-type.f90: New file.
6866         * gdb.fortran/vla-type.exp: New file.
6867
6868 2016-04-25  Yao Qi  <yao.qi@linaro.org>
6869
6870         * gdb.base/branch-to-self.c: New file.
6871         * gdb.base/branch-to-self.exp: New file.
6872
6873 2016-04-22  Yao Qi  <yao.qi@linaro.org>
6874
6875         * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
6876         more after $hex.
6877
6878 2016-04-22  Yao Qi  <yao.qi@linaro.org>
6879
6880         * gdb.base/annota1.exp: Set breakpoint on line $main_line.
6881         * gdb.base/annota3.exp: Likewise.
6882
6883 2016-04-22  Yao Qi  <yao.qi@linaro.org>
6884
6885         * gdb.reverse/step-precsave.exp: Do one step and test program
6886         stops in "callee" and do multiple steps until program goes out
6887         of "callee".
6888         * gdb.reverse/step-reverse.exp: Likewise.
6889
6890 2016-04-22  Yao Qi  <yao.qi@linaro.org>
6891
6892         * gdb.trace/signal.exp: Also pass if
6893         $tracepoint_hits($i) > $iterations.
6894
6895 2016-04-22  Yao Qi  <yao.qi@linaro.org>
6896
6897         * gdb.trace/signal.c: New file.
6898         * gdb.trace/signal.exp: New file.
6899
6900 2016-04-19  Doug Evans  <xdje42@gmail.com>
6901
6902         * gdb.base/bad-file.exp: New file.
6903
6904 2016-04-18  Martin Galvan  <martin.galvan@tallertechnologies.com>
6905
6906         * gdb.dwarf2/implref.exp: New file.
6907
6908 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
6909
6910         * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
6911         * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
6912         * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
6913         * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
6914         * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
6915         * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
6916         * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
6917         * lib/fortran.exp (fortran_int4): New procedure.
6918         (fortran_real4, fortran_real8, fortran_complex4): Likewise.
6919         (fortran_logical4): Likewise.
6920
6921 2016-04-18  Benrhard Heckel <bernhard.heckel@intel.com>
6922
6923         * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
6924
6925 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
6926
6927         * lib/compiler.c: Add Intel specific preprocessor macros.
6928         * lib/compiler.cc: Likewise.
6929
6930 2016-04-13  Luis Machado  <lgustavo@codesourcery.com>
6931
6932         * gdb.server/connect-with-no-symbol-file.c: New file.
6933         * gdb.server/connect-with-no-symbol-file.exp: New file.
6934
6935 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
6936
6937         * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
6938
6939 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
6940
6941         * boards/gdbserver-base.exp (${board}_download): Copy source file to
6942         standard output directory.
6943
6944 2016-04-13  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6945
6946         * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
6947
6948 2016-04-13  Markus Metzger  <markus.t.metzger@intel.com>
6949
6950         * gdb.btrace/instruction_history.c (loop): Add declaration.
6951
6952 2016-04-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6953
6954         * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
6955
6956 2016-04-09  Simon Marchi  <simon.marchi@polymtl.ca>
6957
6958         * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
6959         parentheses to print.
6960         (continue_handler): Likewise.
6961
6962 2016-04-08  Simon Marchi  <simon.marchi@ericsson.com>
6963
6964         * gdb.server/solib-list.exp: Remove is_remote check.
6965         Pass shlib= to gdb_compile.  Don't link shared library with
6966         -soname.  Call gdb_remote_download instead of gdb_load_shlibs.
6967         Run binary filename through "readlink -f" on the target.
6968
6969 2016-04-08  Pedro Alves  <palves@redhat.com>
6970
6971         * gdb.server/solib-list.exp: Don't use gdb_load.  Instead pass the
6972         interpreter filename as argument to gdbserver_spawn.
6973         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
6974         Return empty if $last_loaded_file does not exist.
6975
6976 2016-04-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
6977
6978         Fix compatibility with gcc-4.8.5-4.el7.x86_64.
6979         * gdb.base/jit-main.c: Use exit after usage.
6980
6981 2016-04-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
6982
6983         * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
6984         GDBHISTSIZE prior to the tests.
6985         * gdb.base/gdbinit-history.exp: Likewise.
6986
6987 2016-04-07  Pedro Alves  <palves@redhat.com>
6988
6989         * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
6990         instead of build_executable.  Use gdb_load_shlibs.
6991
6992 2016-04-07  Yao Qi  <yao.qi@linaro.org>
6993
6994         * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
6995         Execute "si" command.
6996
6997 2016-04-07  Yao Qi  <yao.qi@linaro.org>
6998
6999         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
7000         number instead of the comments on some line.
7001
7002 2016-04-06  Don Breazeal  <donb@codesourcery.com>
7003
7004         * gdb.dwarf2/dw2-opt-structptr.c: New test program.
7005         * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
7006
7007 2016-04-06  Simon Marchi  <simon.marchi@ericsson.com>
7008
7009         * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
7010         standard_output_file.  Remove unused binfile variable.
7011
7012 2016-04-05  Catalin Udma  <catalin.udma@freescale.com>
7013
7014         * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
7015         * gdb.python/py-mi-objfile.exp: Match "list main" output
7016         in console format.
7017
7018 2016-04-05  Simon Marchi  <simon.marchi@polymtl.ca>
7019
7020         * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
7021         absolute.
7022
7023 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7024
7025         * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
7026         absolute.
7027         * gdb.trace/ftrace.exp: Likewise.
7028         * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
7029         targets as well.
7030         (gdb_compile_shlib): Set SONAME for non-remote targets as well.
7031         (gdb_load_shlibs): Copy libraries to test directory when testing
7032         natively.  Only set solib-search-path if testing remotely.
7033         * lib/mi-support.exp (mi_load_shlibs): Likewise.
7034
7035 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7036
7037         * gdb.base/jit-so.exp: Use gdb_remote_download instead of
7038         gdb_download.  Use it even if the target is not remote.
7039         * gdb.base/jit.exp (compile_jit_test): Likewise.
7040         * lib/gdb.exp (gdb_remote_download): Copy files to the standard
7041         output directory if the destination board is local, otherwise use
7042         the standard remote_download from DejaGnu.
7043         (gdb_download): Remove.
7044         (gdb_load_shlibs): Use gdb_remote_download instead of
7045         gdb_download.
7046         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7047         Use gdb_remote_download instead of gdb_download.  Use it even if
7048         the target is not remote.
7049         * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
7050         instead of gdb_download.
7051
7052 2016-04-04  Simon Marchi  <simon.marchi@polymtl.ca>
7053
7054         * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
7055         (test_insert_delete_modify): Call mi_load_shlibs before trying to
7056         run.
7057
7058 2016-04-01  Artemiy Volkov  <artemiyv@acm.org>
7059
7060         PR gdb/19820
7061         * gdb.base/printcmds.exp: Add artificial arrays tests.
7062
7063 2016-03-31  Pedro Alves  <palves@redhat.com>
7064
7065         PR gdb/19858
7066         * gdb.base/jit-main.c: Include unistd.h.
7067         (ATTACH): Define to 0 if not already defined.
7068         (wait_for_gdb, mypid): New globals.
7069         (WAIT_FOR_GDB): New macro.
7070         (MAIN): Set an alarm.  Store the process's pid.  Wait for GDB at
7071         some breakpoint locations.
7072         * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
7073         New procedures.
7074         (one_jit_test): Add REATTACH parameter, and handle it.  Use
7075         continue_to_test_location.
7076         (top level): Test attach, and adjusts calls to one_jit_test.
7077
7078 2016-03-31  Pedro Alves  <palves@redhat.com>
7079
7080         PR gdb/19858
7081         * gdb.base/jit.exp (compile_jit_test): Add intro comment.  Add
7082         BINSUFFIX parameter, and handle it.
7083         (top level): Adjust calls compile_jit_test.
7084
7085 2016-03-31  Catalin Udma  <catalin.udma@freescale.com>
7086
7087         PR python/19743
7088         * gdb.python/py-mi-events-gdb.py: New file.
7089         * gdb.python/py-mi-events.c: New file.
7090         * gdb.python/py-mi-events.exp: New file.
7091
7092 2016-03-30  Yao Qi  <yao.qi@linaro.org>
7093
7094         * gdb.reverse/until-precsave.exp: Match function name only.
7095         * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
7096         Move malloc to a condition block.
7097         * gdb.reverse/until-reverse.exp: Match function name only.
7098
7099 2016-03-29  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7100
7101         * gdb.trace/ftrace.exp: Set arg0exp for s390.
7102         * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
7103         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
7104         variable for GPR 0 instead of assuming it is register 0.
7105         * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
7106         * lib/trace-support.exp: Add s390 registers.
7107
7108 2016-03-29  Yao Qi  <yao.qi@linaro.org>
7109
7110         * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
7111
7112 2016-03-24  Yao Qi  <yao.qi@linaro.org>
7113
7114         * gdb.reverse/break-reverse.exp: Add quotation mark in the
7115         test message.
7116
7117 2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7118
7119         * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
7120         maintaining separate logic for constructing the output path.
7121
7122 2016-03-16  Don Breazeal  <donb@codesourcery.com>
7123
7124         * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
7125         Retry fork and waitpid on interrupted system call errors.
7126         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7127         Use with_timeout_factor to increase timeout by factor of 10.
7128
7129 2016-03-15  Don Breazeal  <donb@codesourcery.com>
7130
7131         * gdb.cp/scope-err.cc: New test program.
7132         * gdb.cp/scope-err.exp: New test script.
7133         * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
7134         lines and "set breakpoint here" comment.
7135         * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
7136         Fixed some whitespace and format issues.
7137         * gdb.mi/mi-linespec-err-cp.cc: New test program.
7138         * gdb.mi/mi-linespec-err-cp.exp: New test script.
7139
7140 2016-03-15  Doug Evans  <dje@google.com>
7141
7142         * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
7143         * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
7144         All callers updated.  Add tests for enums, mixed flags register.
7145
7146 2016-03-15  Doug Evans  <dje@google.com>
7147
7148         * gdb.base/skip.c (main): Call test_skip_file_and_function.
7149         * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
7150
7151 2016-03-14  Simon Marchi  <simon.marchi@ericsson.com>
7152
7153         * gdb.base/default.exp: Add $_as_string to the list of expected
7154         convenience functions.
7155
7156 2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
7157
7158         * gdb.base/maint.exp: New tests for 'maint info line-table'.
7159
7160 2016-03-10  Simon Marchi  <simon.marchi@polymtl.ca>
7161
7162         * gdb.python/py-as-string.exp: New file.
7163         * gdb.python/py-as-string.c: New file.
7164
7165 2016-03-09  Pedro Alves  <palves@redhat.com>
7166
7167         * gdb.threads/attach-into-signal.exp: Adjust to "Program received
7168         signal" -> "Thread NN received signal" output change.
7169         * gdb.threads/ia64-sigill.exp: Likewise.
7170         * gdb.threads/linux-dp.exp: Likewise.
7171         * gdb.threads/manythreads.exp: Likewise.
7172         * gdb.threads/pending-step.exp: Likewise.
7173         * gdb.threads/print-threads.exp: Likewise.
7174         * gdb.threads/sigstep-threads.exp: Likewise.
7175         * gdb.threads/staticthreads.exp: Likewise.
7176         * gdb.threads/tls.exp: Likewise.
7177
7178 2016-03-09  Pedro Alves  <palves@redhat.com>
7179
7180         * gdb.base/command-line-input.exp: New file.
7181
7182 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7183
7184         * gdb.trace/ftrace.exp: Set arg0exp for ppc.
7185         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
7186         * gdb.trace/pending.exp: Accept leading dot before function name.
7187         * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
7188         * lib/trace-support.exp: Set registers for ppc.
7189
7190 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7191
7192         * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
7193         use it for disassembly; accept .main in addition to main in backtrace.
7194
7195 2016-03-09  Wei-cheng Wang  <cole945@gmail.com>
7196             Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7197
7198         * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
7199         (gdb_recursion_test_ptr): New global variable.
7200         (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
7201         gdb_recursion_test.
7202         (gdb_c_test): Ditto.
7203
7204 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7205
7206         * gdb.trace/change-loc.exp: Don't depend on tracepoint location
7207         ordering.
7208
7209 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7210
7211         * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
7212         (bar): Add bar_start_lbl label.
7213         * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
7214         of foo/bar for emitting DWARF and tracing.
7215
7216 2016-03-06  Sergio Durigan Junior  <sergiodj@redhat.com>
7217
7218         * analyze-racy-logs.py: Set executable bit.
7219
7220 2016-03-05  Sergio Durigan Junior  <sergiodj@redhat.com>
7221
7222         * Makefile.in (DEFAULT_RACY_ITER): New variable.
7223         (CHECK_TARGET_TMP): Likewise.
7224         (check-single-racy): New rule.
7225         (check-parallel-racy): Likewise.
7226         (TEST_TARGETS): Adjust rule to account for RACY_ITER.
7227         (do-check-parallel-racy): New rule.
7228         (check-racy/%.exp): Likewise.
7229         * README (Racy testcases): New section.
7230         * analyze-racy-logs.py: New file.
7231
7232 2016-03-03  Doug Evans  <dje@google.com>
7233
7234         * gdb.base/skip.exp: Use with_test_prefix.
7235
7236 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7237
7238         * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
7239         Invoke step_over_syscall "clone" and break_cond_on_syscall
7240         "clone".
7241         * gdb.base/step-over-clone.c: New file.
7242
7243 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7244
7245         * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
7246         code format.
7247
7248 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7249
7250         * gdb.base/disp-step-fork.c: Rename to ...
7251         * gdb.base/step-over-fork.c: ... it.  New file.
7252         * gdb.base/disp-step-vfork.c: Rename to ...
7253         * gdb.base/step-over-vfork.c: ... it.  New file.
7254         * gdb.base/disp-step-syscall.exp: Rename to ...
7255         * gdb.base/step-over-syscall.exp: ... it.  New file.
7256         (disp_step_cross_syscall): Rename to ...
7257         (step_over_syscall): ... it.
7258
7259 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7260
7261         * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7262         If target supports condition evaluation on target, invoke
7263         break_cond_on_syscall for fork and vfork.
7264
7265 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7266
7267         * gdb.base/disp-step-syscall.exp: Don't invoke
7268         support_displaced_stepping.
7269         (disp_step_cross_syscall): Test with displaced stepping off and
7270         on if supported.
7271
7272 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7273
7274         * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7275         proc.
7276         (setup): New proc.
7277         (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7278         and setup.
7279
7280 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7281
7282         * gdb.fortran/vla-history.exp: Remove breakpoint.
7283
7284 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7285
7286         * gdb.fortran/vla-history.exp: Lookup array elements and printing
7287         exceeds timeout.
7288
7289 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7290
7291         * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7292         breakpoint.
7293
7294 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7295
7296         * gdb.mi/vla.f90: Nullify pointer after declaration.
7297
7298 2016-03-01  Pedro Alves  <palves@redhat.com>
7299
7300         * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7301
7302 2016-03-01  Pedro Alves  <palves@redhat.com>
7303
7304         * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7305         before anything else.
7306         * gdb.threads/watchpoint-fork-mt.c: Likewise.  Don't define
7307         _GNU_SOURCE here.
7308         * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7309         before anything else.
7310         * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7311
7312 2016-03-01  Pedro Alves  <palves@redhat.com>
7313
7314         * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7315
7316 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7317
7318         * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7319         prepare_for_testing.
7320
7321 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7322
7323         * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7324
7325 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7326
7327         * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7328         manually constructing the output path.
7329
7330 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7331
7332         * gdb.arch/s390-stackless.S: New.
7333         * gdb.arch/s390-stackless.exp: New.
7334
7335 2016-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
7336
7337         * gdb.dlang/circular.c: New file.
7338         * gdb.dlang/circular.exp: New file.
7339
7340 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7341
7342         * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
7343         [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
7344         (testcases): Update.
7345
7346 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7347
7348         * gdb.reverse/aarch64.c: Rename to ...
7349         * gdb.reverse/insn-reverse.c: ... it.
7350         * gdb.reverse/aarch64.exp: Rename to ...
7351         * gdb.reverse/insn-reverse.exp: ... it.
7352
7353 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7354
7355         * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7356         (testcase_ftype): New.
7357         (testcases): New array.
7358         (n_testcases): New.
7359         (main): Call each element in testcases.
7360         * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7361         (read_testcase): New.
7362         Do the tests in a loop.
7363
7364 2016-02-25  Yao Qi  <yao.qi@linaro.org>
7365
7366         * gdb.base/branches.c: Remove.
7367
7368 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7369
7370         PR gdb/13808
7371         * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7372
7373 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7374
7375         * gdb.trace/ftrace.exp: Remove unnecessary target check.
7376
7377 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7378
7379         * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7380         change x86_64 call_insn to 'callq'.
7381
7382 2016-02-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7383
7384         * gdb.trace/tfile-avx.c: Move to...
7385         * gdb.trace/tracefile-pseudo-reg.c: Here.
7386         * gdb.trace/tfile-avx.exp: Move to...
7387         * gdb.trace/tracefile-pseudo-reg.exp: Here.
7388
7389 2016-02-24  Gary Benson <gbenson@redhat.com>
7390
7391         * gdb.base/attach-pie-noexec.exp: Do not expect an error
7392         message on attach.
7393
7394 2016-02-23  Doug Evans  <dje@google.com>
7395
7396         * gdb.base/skip.c (test_skip): New function.
7397         (end_test_skip_file_and_function): New function.
7398         (test_skip_file_and_function): New function.
7399         * gdb.base/skip1.c (test_skip): New function.
7400         (skip1_test_skip_file_and_function): New function.
7401         * gdb.base/skip.exp: Add tests for new skip options.
7402         * gdb.base/skip-solib.exp: Update expected output.
7403         * gdb.perf/skip-command.cc: New file.
7404         * gdb.perf/skip-command.exp: New file.
7405         * gdb.perf/skip-command.py: New file.
7406
7407 2016-02-22  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7408
7409         * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7410         info registers pattern.
7411
7412 2016-02-18  Iain Buclaw  <ibuclaw@gdcproject.org>
7413
7414         * lib/future.exp: Add D support.
7415         (gdb_find_gdc): New proc.
7416         (gdb_default_target_compile): Add D support.
7417
7418 2016-02-18  Wei-cheng Wang  <cole945@gmail.com>
7419
7420         * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7421         user+system time.
7422         (trace_speed_test): Determine the iteration count for a time
7423         between 15..30 seconds.
7424
7425 2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>
7426
7427         * gdb.arch/i386-mpx-sigsegv.c: New file.
7428         * gdb.arch/i386-mpx-sigsegv.exp: New file.
7429         * gdb.arch/i386-mpx-simple_segv.c: New file.
7430         * gdb.arch/i386-mpx-simple_segv.exp: New file.
7431
7432 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7433
7434         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7435         Don't call setup_kfail.
7436
7437 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7438
7439         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7440         Set "set breakpoint condition-evaluation" per $cond_bp_target.
7441
7442 2016-02-16  Doug Evans  <dje@google.com>
7443
7444         * gdb.base/skip.c: Add copyright.  Whitespace cleanup.
7445         * gdb.base/skip1.c: Ditto.
7446         * gdb.base/skip.exp: Whitespace cleanup.
7447
7448 2016-02-16  Don Breazeal  <donb@codesourcery.com>
7449
7450         PR remote/19496
7451         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7452         Remove kfail for PR remote/19496.
7453
7454 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7455
7456         * lib/gdb.exp (standard_temp_file): Return a path specific to
7457         the runtest invocation.
7458
7459 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7460
7461         * gdb.trace/save-trace.exp: Change relative path to be in the
7462         standard output directory.
7463
7464 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7465
7466         * gdb.arch/i386-prologue.c: Add missing prototypes.
7467
7468 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7469
7470         * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7471         * gdb.arch/i386-prologue.exp: Likewise.
7472         * gdb.arch/i386-size.exp: Likewise.
7473
7474 2016-02-15  Simon Marchi  <simon.marchi@ericsson.com>
7475
7476         * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7477         define object file path.
7478         * gdb.btrace/gcore.exp: Use standard_output_file to define core
7479         file path.
7480         * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7481         standard_output_file to define binfile.
7482
7483 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7484
7485         Fix compatibility with recent gfortran-5.3.1.
7486         * gdb.fortran/vla-history.exp (print vla1 allocated)
7487         (print vla2 allocated, print $2, print $3): Remove
7488         (print $4): Rename to ...
7489         (print $2): ... here.
7490         (print $9): Rename to ...
7491         (print $5): ... here.
7492         (print $10): Rename to ...
7493         (print $6): ... here.
7494         * gdb.fortran/vla.f90: Add pvla initialization.
7495
7496 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7497
7498         * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7499         New test.
7500         * gdb.fortran/vla-value-sub.exp: Likewise.
7501
7502 2016-02-12  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7503
7504         * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7505
7506 2016-02-12  Simon Marchi  <simon.marchi@ericsson.com>
7507
7508         * i386-biarch-core.exp: Define corefile using
7509         standard_output_file.
7510
7511 2016-02-12  Yao Qi  <yao.qi@linaro.org>
7512
7513         * gdb.arch/arm-single-step-kernel-helper.c: New.
7514         * gdb.arch/arm-single-step-kernel-helper.exp: New.
7515
7516 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
7517
7518         * gdb.btrace/tailcall-only.exp: New.
7519         * gdb.btrace/tailcall-only.c: New.
7520         * gdb.btrace/x86_64-tailcall-only.S: New.
7521         * gdb.btrace/i686-tailcall-only.S: New.
7522
7523 2016-02-11  Pedro Alves  <palves@redhat.com>
7524
7525         * README (Parallel testing): Add missing double quotes.
7526
7527 2016-02-11  Pedro Alves  <palves@redhat.com>
7528
7529         * README (Parallel testing): New section.
7530         (GDB_PARALLEL): Rewrite.
7531         (FORCE_PARALLEL): Document.
7532
7533 2016-02-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7534
7535         * gdb.trace/tfile-avx.c: New test.
7536         * gdb.trace/tfile-avx.exp: New test.
7537
7538 2016-02-09  Keith Seitz  <keiths@redhat.com>
7539
7540         PR breakpoints/19546
7541         * gdb.base/infcall-exec.c: New file.
7542         * gdb.base/infcall-exec2.c: New file.
7543         * gdb.base/infcall-exec.exp: New file.
7544
7545 2016-02-09  Keith Seitz  <keiths@redhat.com>
7546
7547         * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7548         (toplevel): Call test_bkpt_address.
7549
7550 2016-02-09  Keith Seitz  <keiths@redhat.com>
7551
7552         PR python/19506
7553         * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7554         (toplevel): Call test_bkpt_address.
7555
7556 2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
7557
7558         * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7559         to AC_OUTPUT.
7560         * configure: Regenerate.
7561
7562 2016-02-09  Pedro Alves  <palves@redhat.com>
7563
7564         PR breakpoints/19548
7565         * gdb.base/execl-update-breakpoints.c (some_function): New
7566         function.
7567         (main): Call it.
7568         * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7569         Tighten expected GDB output.
7570
7571 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
7572
7573         * Makefile.in (ALL_SUBDIRS): Remove.
7574         (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7575         (distclean maintainer-clean realclean): Likewise.
7576         * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7577         * configure: Regenerate.
7578         * gdb.ada/Makefile.in: Delete.
7579         * gdb.arch/Makefile.in: Likewise.
7580         * gdb.asm/Makefile.in: Likewise.
7581         * gdb.base/Makefile.in: Likewise.
7582         * gdb.btrace/Makefile.in: Likewise.
7583         * gdb.cell/Makefile.in: Likewise.
7584         * gdb.compile/Makefile.in: Likewise.
7585         * gdb.cp/Makefile.in: Likewise.
7586         * gdb.disasm/Makefile.in: Likewise.
7587         * gdb.dlang/Makefile.in: Likewise.
7588         * gdb.dwarf2/Makefile.in: Likewise.
7589         * gdb.fortran/Makefile.in: Likewise.
7590         * gdb.gdb/Makefile.in: Likewise.
7591         * gdb.go/Makefile.in: Likewise.
7592         * gdb.guile/Makefile.in: Likewise.
7593         * gdb.java/Makefile.in: Likewise.
7594         * gdb.linespec/Makefile.in: Likewise.
7595         * gdb.mi/Makefile.in: Likewise.
7596         * gdb.modula2/Makefile.in: Likewise.
7597         * gdb.multi/Makefile.in: Likewise.
7598         * gdb.objc/Makefile.in: Likewise.
7599         * gdb.opencl/Makefile.in: Likewise.
7600         * gdb.opt/Makefile.in: Likewise.
7601         * gdb.pascal/Makefile.in: Likewise.
7602         * gdb.perf/Makefile.in: Likewise.
7603         * gdb.python/Makefile.in: Likewise.
7604         * gdb.reverse/Makefile.in: Likewise.
7605         * gdb.server/Makefile.in: Likewise.
7606         * gdb.stabs/Makefile.in: Likewise.
7607         * gdb.threads/Makefile.in: Likewise.
7608         * gdb.trace/Makefile.in: Likewise.
7609         * gdb.xml/Makefile.in: Likewise.
7610         * lib/gdb.exp (make_gdb_parallel_path): Add check for
7611         GDB_PARALLEL.
7612         (standard_output_file): Remove check for GDB_PARALLEL, always
7613         return path in outputs/$subdir/$testname.
7614
7615 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
7616
7617         * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7618         (site.exp): Assign abs_srcdir to tcl's srcdir.
7619
7620 2016-02-04  Yao Qi  <yao.qi@linaro.org>
7621
7622         * gdb.base/foll-exec-mode.c: Include limits.h.
7623         (main): Add parameters argc and argv.  Get directory from
7624         argv[0].
7625         * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7626         compilation.
7627         * gdb.base/foll-exec.c: Include limits.h.
7628         (main): Add parameters argc and argv.
7629         Get directory from argv[0].
7630         * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7631         Adjust tests on the number of lines as source code changed.
7632         * gdb.base/foll-vfork-exit.c: Include limits.h.
7633         (main): Add one line of statement before vfork.
7634         * gdb.base/foll-vfork.c: Include limits.h and string.h.
7635         (main): Add parameters argc and argv.  Get directory from
7636         argv[0].
7637         * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7638         (setup_gdb): Set tbreak to skip some source lines.
7639         * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7640         (main): Add parameters argc and argv.  Get directory from
7641         argv[0].
7642         * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7643         compilation.
7644         * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7645         (main): Add parameters argc and argv.  Get directory from
7646         argv[0].
7647         * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7648         compilation.
7649
7650 2016-02-01  Doug Evans  <dje@google.com>
7651
7652         * gdb.base/skip.exp: Clean up multiple references to same test name.
7653
7654 2016-02-01  Pedro Alves  <palves@redhat.com>
7655
7656         PR remote/19496
7657         * gdb.threads/forking-threads-plus-breakpoint.exp
7658         (displaced_stepping_supported): New global.
7659         (probe_displaced_stepping_support): New procedure.
7660         (do_test): Add 'displaced' parameter, and use it.
7661         (top level): Check for displaced stepping support.  Add displaced
7662         stepping on/off testing axis.
7663
7664 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
7665
7666         * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7667         pointer.  Don't perform further tests on the unassociated pointer
7668         if the first test fails.
7669
7670 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
7671
7672         * gdb.base/max-value-size.c: New file.
7673         * gdb.base/max-value-size.exp: New file.
7674         * gdb.base/huge.exp: Disable max-value-size for this test.
7675
7676 2016-01-28  Iain Buclaw  <ibuclaw@gdcproject.org>
7677
7678         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7679
7680 2016-01-28  Yao Qi  <yao.qi@linaro.org>
7681
7682         * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7683
7684 2016-01-25  Pedro Alves  <palves@redhat.com>
7685
7686         PR threads/19461
7687         * gdb.base/fork-running-state.c: New file.
7688         * gdb.base/fork-running-state.exp: New file.
7689
7690 2016-01-25  Pedro Alves  <palves@redhat.com>
7691
7692         PR gdb/19494
7693         * gdb.base/catch-fork-kill.c: New file.
7694         * gdb.base/catch-fork-kill.exp: New file.
7695
7696 2016-01-25  Pedro Alves  <palves@redhat.com>
7697
7698         * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7699         Delete, moved to lib/gdb.exp.
7700         * gdb.threads/forking-threads-plus-breakpoint.exp
7701         (foreach_with_prefix): Likewise.
7702         * gdb.threads/process-dies-while-handling-bp.exp
7703         (foreach_with_prefix): Likewise.
7704         * lib/gdb.exp (foreach_with_prefix): New procedure.
7705
7706 2016-01-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7707
7708         * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7709         * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7710
7711 2016-01-23  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7712
7713         * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7714         endian targets.
7715
7716 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
7717             Pedro Alves  <palves@redhat.com>
7718
7719         Fix testsuite compatibility with Guile.
7720         * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7721         number.
7722
7723 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
7724
7725         Fix testsuite compatibility with Guile.
7726         * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7727         (thread 1): New test for backtrace through signal handler.
7728
7729 2016-01-22  Yao Qi  <yao.qi@linaro.org>
7730
7731         PR testsuite/19491
7732         * gdb.base/multi-forks.c: Include
7733         ../lib/unbuffer_output.c
7734         (main): Call gdb_unbuffer_output.
7735
7736 2016-01-21  Doug Evans  <dje@google.com>
7737
7738         * lib/ada.exp (gdb_compile_ada): Fix typo.
7739
7740 2016-01-21  Joel Brobecker  <brobecker@adacore.com>
7741
7742         * gdb.base/break-fun-addr.exp: New file.
7743         * gdb.base/break-fun-addr1.c: New file.
7744         * gdb.base/break-fun-addr2.c: New file.
7745
7746 2016-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
7747
7748         * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7749         * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7750         enum flag values.
7751
7752 2016-01-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7753
7754         * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7755         when GDB can not set the vector return value.  Add more comments
7756         for clarification.
7757
7758 2016-01-20  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7759
7760         * gdb.trace/tspeed.exp:  Use shlib instead of libs in gdb_compile
7761         command.
7762
7763 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
7764
7765         * Makefile.in (DO_RUNTEST): Add --status and update usages.
7766
7767 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
7768
7769         * Makefile.in (check-single): Pass --status to runtest.
7770         (check/%.exp): Likewise.
7771
7772 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
7773
7774         * Makefile.in (check-parallel): Propagate return code from make
7775         do-check-parallel.
7776
7777 2016-01-19  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7778
7779         * gdb.trace/ftrace.exp: Fix expected message on continue.
7780         * gdb.trace/pending.exp: Fix expected message on continue.
7781         * gdb.trace/trace-break.exp: Fix expected message on continue.
7782
7783 2016-01-18  Simon Marchi  <simon.marchi@ericsson.com>
7784
7785         * lib/gdb.exp (gdb_test): Remove unused global references.
7786
7787 2016-01-18  Pedro Alves  <palves@redhat.com>
7788
7789         * gdb.base/async-shell.exp: Adjust expected output.
7790         * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7791         * gdb.base/siginfo-thread.exp: Adjust expected output.
7792         * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7793         * gdb.java/jnpe.exp: Adjust expected output.
7794         * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7795         * gdb.threads/continue-pending-status.exp: Adjust expected output.
7796         * gdb.threads/leader-exit.exp: Adjust expected output.
7797         * gdb.threads/manythreads.exp: Adjust expected output.
7798         * gdb.threads/pthreads.exp: Adjust expected output.
7799         * gdb.threads/schedlock.exp: Adjust expected output.
7800         * gdb.threads/siginfo-threads.exp: Adjust expected output.
7801         * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
7802         expected output.
7803         * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
7804         output.
7805         * gdb.threads/sigthread.exp: Adjust expected output.
7806         * gdb.threads/watchpoint-fork.exp: Adjust expected output.
7807
7808 2016-01-18  Yao Qi  <yao.qi@linaro.org>
7809
7810         * gdb.guile/scm-section-script.c: Replace @progbits with
7811         %progbits.
7812         * gdb.python/py-section-script.c: Likewise.
7813
7814 2016-01-15  Pedro Alves  <palves@redhat.com>
7815
7816         * gdb.multi/tids.exp: Test star wildcard ranges.
7817
7818 2016-01-15  Pedro Alves  <palves@redhat.com>
7819
7820         * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
7821         command from "thread apply" invocation.
7822         (thr_apply_info_thr_invalid): Default the expected output to the
7823         input tid list.
7824         (top level): Add tests that use convenience variables.  Add tests
7825         for "thread apply" with a valid TID list, but missing the command.
7826
7827 2016-01-13  Pedro Alves  <palves@redhat.com>
7828
7829         * gdb.base/default.exp: Expect $_gthread as well.
7830         * gdb.multi/tids.exp: Test $_gthread.
7831         * gdb.threads/thread-specific.exp: Test $_gthread.
7832
7833 2016-01-13  Pedro Alves  <palves@redhat.com>
7834
7835         * gdb.multi/tids.exp: Test "info threads -gid".
7836
7837 2016-01-13  Pedro Alves  <palves@redhat.com>
7838
7839         * gdb.multi/tids.exp: Test InferiorThread.global_num and
7840         Breakpoint.thread.
7841         * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
7842
7843 2016-01-07  Pedro Alves  <palves@redhat.com>
7844
7845         * gdb.base/break.exp: Adjust to output changes.
7846         * gdb.base/hbreak2.exp: Likewise.
7847         * gdb.base/sepdebug.exp: Likewise.
7848         * gdb.base/watch_thread_num.exp: Likewise.
7849         * gdb.linespec/keywords.exp: Likewise.
7850         * gdb.multi/info-threads.exp: Likewise.
7851         * gdb.threads/thread-find.exp: Likewise.
7852         * gdb.multi/tids.c: New file.
7853         * gdb.multi/tids.exp: New file.
7854
7855 2016-01-13  Pedro Alves  <palves@redhat.com>
7856
7857         * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
7858
7859 2016-01-13  Pedro Alves  <palves@redhat.com>
7860
7861         * gdb.base/default.exp: Expect $_inferior as well.
7862         * gdb.multi/base.exp: Test $_inferior.
7863
7864 2016-01-13  Pedro Alves  <palves@redhat.com>
7865
7866         PR breakpoints/19388
7867         * gdb.base/catch-signal-siginfo-cond.c: New file.
7868         * gdb.base/catch-signal-siginfo-cond.exp: New file.
7869
7870 2016-01-12  Josh Stone  <jistone@redhat.com>
7871             Philippe Waroquiers  <philippe.waroquiers@skynet.be>
7872
7873         * gdb.base/catch-syscall.c (do_execve): New variable.
7874         (main): Conditionally trigger an execve.
7875         * gdb.base/catch-syscall.exp: Enable testing for remote targets.
7876         (test_catch_syscall_execve): New, check entry/return across execve.
7877         (do_syscall_tests): Call test_catch_syscall_execve.
7878
7879 2016-01-12  Pedro Alves  <palves@redhat.com>
7880
7881         * gdb.base/random-signal.exp (do_test): New procedure, with body
7882         of testcase moved in.
7883
7884 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7885             Pedro Alves  <palves@redhat.com>
7886
7887         * gdb.base/funcargs.exp (finish from indirectly called function):
7888         Reintroduce the case for 'First'.
7889
7890 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7891             Pedro Alves  <palves@redhat.com>
7892
7893         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7894         (tcatch_vfork_then_child_follow_exec)
7895         (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
7896         identification.
7897
7898 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7899
7900         * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
7901         and repeats to unlimited.
7902         * gdb.python/py-value.exp: Likewise.
7903         * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
7904         and repeats to unlimited.
7905
7906 2016-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7907
7908         * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
7909         and reordering the functions.
7910         * gdb.multi/hangout.c: Likewise.
7911         * gdb.multi/hello.c: Likewise.
7912
7913 2016-01-08  Simon Marchi  <simon.marchi@ericsson.com>
7914
7915         * gdb.perf/lib/perftest/perftest.py: Change relative imports to
7916         absolute.
7917         (SingleStatisticTestResult.report): Use dict.keys instead of
7918         dict.iterkeys.
7919
7920 2016-01-06  Pedro Alves  <palves@redhat.com>
7921
7922         * gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
7923
7924 2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
7925
7926         * gdb.btrace/dlopen.exp: New.
7927         * gdb.btrace/dlopen.c: New.
7928         * gdb.btrace/dlopen-dso.c: New.
7929
7930 2015-12-25  Sandra Loosemore  <sandra@codesourcery.com>
7931
7932         * lib/gdb.exp (gdb_test): Update comments to clarify that the
7933         PATTERN argument is optional.
7934
7935 2015-12-24  Joel Brobecker  <brobecker@adacore.com>
7936
7937         * lib/ada.exp (target_compile_ada_from_dir): New function.
7938         (gdb_compile_ada): Reimplement avoiding the use of project files.
7939         * gdb.ada/gnat_ada.gpr: Delete.
7940         * gdb.ada/cond_lang.exp: Adjust test to make path before
7941         filename optional.
7942         * gdb.ada/small_reg_param.exp: Likewise.
7943
7944 2015-12-22  Simon Marchi  <simon.marchi@ericsson.com>
7945
7946         * gdb.base/foll-vork.exp: Remove HP-UX special case.
7947
7948 2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>
7949
7950         * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
7951         case.
7952
7953 2015-12-21  Simon Marchi  <simon.marchi@ericsson.com>
7954
7955         * gdb.base/break.exp: Remove dead code.
7956         * gdb.base/sepdebug.exp: Likewise.
7957
7958 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
7959
7960         * gdb.asm/asm-source.exp: Remove HP-UX references.
7961         * gdb.base/annota1.exp: Likewise.
7962         * gdb.base/annota3.exp: Likewise.
7963         * gdb.base/attach.exp: Likewise.
7964         * gdb.base/bigcore.exp: Likewise.
7965         * gdb.base/break.exp: Likewise.
7966         * gdb.base/call-ar-st.exp: Likewise.
7967         * gdb.base/callfuncs.exp: Likewise.
7968         * gdb.base/catch-fork-static.exp: Likewise.
7969         * gdb.base/display.exp: Likewise.
7970         * gdb.base/foll-exec-mode.exp: Likewise.
7971         * gdb.base/foll-exec.exp: Likewise.
7972         * gdb.base/foll-fork.exp: Likewise.
7973         * gdb.base/foll-vfork.exp: Likewise.
7974         * gdb.base/funcargs.exp: Likewise.
7975         * gdb.base/hbreak2.exp: Likewise.
7976         * gdb.base/inferior-died.exp: Likewise.
7977         * gdb.base/interrupt.exp: Likewise.
7978         * gdb.base/multi-forks.exp: Likewise.
7979         * gdb.base/nodebug.exp: Likewise.
7980         * gdb.base/sepdebug.exp: Likewise.
7981         * gdb.base/solib1.c: Likewise.
7982         * gdb.base/step-test.exp: Likewise.
7983         * gdb.mi/non-stop.c: Likewise.
7984         * gdb.mi/pthreads.c: Likewise.
7985         * gdb.multi/bkpt-multi-exec.ex: Likewise.
7986         * gdb.threads/pthreads.c: Likewise.
7987         * gdb.threads/staticthreads.exp: Likewise.
7988         * lib/future.exp: Likewise.
7989         * lib/gdb.exp: Likewise.
7990         * gdb.base/so-indr-cl.c: Remove.
7991         * gdb.base/so-indr-cl.exp: Likewise.
7992         * gdb.base/solib.c: Likewise.
7993         * gdb.base/solib.exp: Likewise.
7994         * gdb.base/solib2.c: Likewise.
7995
7996 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
7997
7998         * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
7999         * gdb.base/call-ar-st.exp: Likewise.
8000         * gdb.base/callfuncs.exp: Likewise.
8001         * gdb.base/condbreak.exp: Likewise.
8002         * gdb.base/constvars.exp: Likewise.
8003         * gdb.base/hbreak2.exp: Likewise.
8004         * gdb.base/langs.exp: Likewise.
8005         * gdb.base/list.exp: Likewise.
8006         * gdb.base/long_long.exp: Likewise.
8007         * gdb.base/ptype.exp: Likewise.
8008         * gdb.base/scope.exp: Likewise.
8009         * gdb.base/signals.exp: Likewise.
8010         * gdb.base/so-impl-ld.exp: Likewise.
8011         * gdb.base/varargs.exp: Likewise.
8012         * gdb.base/volatile.exp: Likewise.
8013         * gdb.base/whatis.exp: Likewise.
8014         * gdb.cp/cplusfuncs.exp: Likewise.
8015         * gdb.cp/inherit.exp: Likewise.
8016         * gdb.cp/local.exp: Likewise.
8017         * gdb.cp/member-ptr.exp: Likewise.
8018         * gdb.cp/method.exp: Likewise.
8019         * gdb.cp/overload.exp: Likewise.
8020         * gdb.cp/templates.exp: Likewise.
8021         * gdb.stabs/weird.exp: Likewise.
8022         * lib/compiler.c: Likewise.
8023         * lib/compiler.cc: Likewise.
8024         * lib/cp-support.exp: Likewise.
8025         * lib/gdb.exp: Likewise.
8026
8027 2015-12-20  Simon Marchi  <simon.marchi@polymtl.ca>
8028
8029         * configure.ac: Remove HP-UX case.
8030         * configure: Regenerate.
8031
8032 2015-12-18  Simon Marchi  <simon.marchi@ericsson.com>
8033
8034         * lib/gdb.exp (gdb_compile): Add function doc.
8035
8036 2015-12-17  Pedro Alves  <palves@redhat.com>
8037
8038         PR threads/19354
8039         * gdb.multi/info-threads.exp: New file.
8040
8041 2015-12-15  Yao Qi  <yao.qi@linaro.org>
8042
8043         * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
8044         is aarch64*-*-*.
8045
8046 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8047
8048         * gdb.base/history-duplicates.exp: Skip if no readline support.
8049
8050 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8051
8052         * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
8053
8054 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8055
8056         * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
8057
8058 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8059
8060         * gdb.base/completion.exp: Skip tests that interrupt GDB with
8061         ctrl-C if nointerrupts target property is set.
8062         * gdb.base/double-prompt-target-event-error.exp: Likewise.
8063         * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
8064         * gdb.base/paginate-bg-execution.exp: Likewise.
8065         * gdb.base/paginate-execution-startup.exp: Likewise.
8066         * gdb.base/random-signal.exp: Likewise.
8067         * gdb.base/range-stepping.exp: Likewise.
8068         * gdb.cp/annota2.exp: Likewise.
8069         * gdb.cp/annota3.exp: Likewise.
8070         * gdb.gdb/selftest.exp: Likewise.
8071         * gdb.threads/continue-pending-status.exp: Likewise.
8072         * gdb.threads/leader-exit.exp: Likewise.
8073         * gdb.threads/manythreads.exp: Likewise.
8074         * gdb.threads/pthreads.exp: Likewise.
8075         * gdb.threads/schedlock.exp: Likewise.
8076         * gdb.threads/sigthread.exp: Likewise.
8077
8078 2015-12-11  Don Breazeal  <donb@codesourcery.com>
8079
8080         * gdb.base/execl-update-breakpoints.exp (main): Enable for target
8081         remote.
8082         * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
8083         * gdb.base/foll-exec.exp (main): Enable for target remote.
8084         * gdb.base/foll-fork.exp (main): Likewise.
8085         * gdb.base/foll-vfork.exp (main): Likewise.
8086         * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
8087         (proc continue_to_exit_bp_loc): Use clean_restart.
8088         * gdb.base/pie-execl.exp (main): Disable for target remote.
8089         * gdb.base/watch-vfork.exp (main): Enable for target remote.
8090         * gdb.mi/mi-nsthrexec.exp (main): Likewise.
8091         * gdb.threads/execl.exp (main): Likewise.
8092         * gdb.threads/fork-child-threads.exp (main): Likewise.
8093         * gdb.threads/fork-plus-threads.exp (main): Disable for target
8094         remote.
8095         * gdb.threads/fork-thread-pending.exp (main): Enable for target
8096         remote.
8097         * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
8098         pid.tid style ptids, instead of just tid.
8099         * gdb.threads/thread-execl.exp (main): Enable for target remote.
8100         * gdb.threads/watchpoint-fork.exp (main): Likewise.
8101         * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
8102         ptids, instead of just tid.
8103
8104 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8105
8106         * gdb.base/list.exp (test_list_forward): Add end of file error
8107         test.
8108         (test_repeat_list_command): Add end of file error test.
8109         (test_list_backwards): Add beginning of file error test.
8110
8111 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8112
8113         * gdb.base/list.exp (test_list_invalid_args): New function,
8114         defined, and called.
8115
8116 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8117
8118         * gdb.base/list.exp (test_list): Make test names unique.
8119
8120 2015-12-11  Yao Qi  <yao.qi@linaro.org>
8121
8122         * gdb.base/coremaker2.c: Remove.
8123
8124 2015-12-10  Pedro Alves  <palves@redhat.com>
8125
8126         * gdb.multi/base.exp: Remove stale "spaces" references.
8127
8128 2015-12-10  Pedro Alves  <palves@redhat.com>
8129
8130         * gdb.multi/base.exp: Don't use nowarnings.
8131         * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
8132         * gdb.multi/hangout.c: Include stdio.h.
8133         * gdb.multi/hello.c: Include stdlib.h.
8134         * gdb.multi/multi-arch-exec.c: Include stdlib.h.
8135         * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
8136         * gdb.multi/multi-arch.exp: Don't use nowarnings.
8137
8138 2015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
8139
8140         * gdb.dwarf2/dw2-ranges-base.c: New file.
8141         * gdb.dwarf2/dw2-ranges-base.exp: New file.
8142         * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
8143         support additional line table, and debug ranges generation.
8144         (Dwarf::ranges): New function, generate .debug_ranges.
8145         (Dwarf::lines): Support generating simple line table programs.
8146         (Dwarf::assemble): Initialise new namespace variables.
8147
8148 2015-12-09  Kevin Buettner  <kevinb@redhat.com>
8149
8150         * gdb.base/async.exp (proc test_background): Add case for
8151         asynchronous execution not supported.
8152
8153 2015-12-09  Luis Machado  <lgustavo@codesourcery.com>
8154
8155         * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
8156           format and change test names to make them unique.
8157
8158 2015-12-09  Ruslan Kabatsayev  <b7.10110111@gmail.com>
8159             Pedro Alves  <pedro@redhat.com>
8160
8161         PR gdb/18702
8162         Add checking of floatformats setup on x86_64 hosts.
8163         * gdb.arch/i386-float.S (main): Load bigval and smallval.
8164         (smallval, bigval): New labels/constants.
8165         * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
8166         float" after loading bigval and smallval.
8167
8168 2015-12-07  Pierre-Marie de Rodat  <derodat@adacore.com>
8169
8170         * gdb.ada/fun_overload_menu.exp: New testcase.
8171         * gdb.ada/fun_overload_menu/foo.adb: New testcase.
8172
8173 2015-12-04  Josh Stone  <jistone@redhat.com>
8174
8175         * gdb.base/catch-fork-static.exp: New.
8176
8177 2015-12-03  Yao Qi  <yao.qi@linaro.org>
8178
8179         * gdb.base/sizeof.c: Don't include stdio.h and
8180         ../lib/unbuffer_output.c.
8181         (main): New variable 'size' and 'value'.  Remove printf and
8182         gdb_unbuffer_output.  Assign return value to size and value.
8183         * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
8184         at the beginning.
8185         (check_sizeof): Check the result by printing variable 'size'.
8186         (check_valueof): Check the result by printing variable 'value'.
8187
8188 2015-12-01  Yao Qi  <yao.qi@linaro.org>
8189
8190         * gdb.base/disp-step-syscall.exp: Define syscall instruction
8191         for aarch64*-*-linux* target.
8192
8193 2015-11-30  Pedro Alves  <palves@redhat.com>
8194
8195         * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
8196
8197 2015-11-30  Pedro Alves  <palves@redhat.com>
8198
8199         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
8200         Handle non-stop mode vCont replies.
8201
8202 2015-11-30  Pedro Alves  <palves@redhat.com>
8203
8204         * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
8205         prepare_for_testing.  Start gdb with "set non-stop on" appended to
8206         GDBFLAGS.  Lax expected stop output.
8207
8208 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8209
8210         * gdb.arch/arm-neon.exp: New.
8211         * gdb.arch/arm-neon.c: New.
8212
8213 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8214
8215         * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
8216
8217 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8218
8219         * gdb.cp/annota2.exp: Allow multiple occurrences of the
8220         frames-invalid annotation.
8221
8222 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8223
8224         * gdb.cp/annota2.exp: Use ${frames_invalid}.
8225
8226 2015-11-26  Simon Marchi  <simon.marchi@ericsson.com>
8227
8228         * gdb.threads/names.exp: New file.
8229         * gdb.threads/names.c: New file.
8230         * README: Mention gdb,no_thread_names.
8231
8232 2015-11-26  Markus Metzger  <markus.t.metzger@intel.com>
8233
8234         PR 19297
8235         * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
8236         support" error.
8237
8238 2015-11-24  Pedro Alves  <palves@redhat.com>
8239
8240         PR 17539
8241         * gdb.base/display.exp: Expect displays to be sorted in ascending
8242         order.  Use multi_line.
8243         * gdb.base/solib-display.exp: Likewise.
8244
8245 2015-11-24  Pedro Alves  <palves@redhat.com>
8246
8247         PR 17539
8248         * gdb.base/display.exp: Expect displays to be sorted in ascending
8249         order.  Use multi_line.
8250         * gdb.base/solib-display.exp: Likewise.
8251
8252 2015-11-24  Pedro Alves  <palves@redhat.com>
8253
8254         PR 17539
8255         * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8256         threads in ascending order.
8257         * gdb.base/foll-fork.exp: Likewise.
8258         * gdb.base/foll-vfork.exp: Likewise.
8259         * gdb.base/multi-forks.exp: Likewise.
8260         * gdb.mi/mi-nonstop.exp: Likewise.
8261         * gdb.mi/mi-nsintrall.exp: Likewise.
8262         * gdb.multi/base.exp: Likewise.
8263         * gdb.multi/multi-arch.exp: Likewise.
8264         * gdb.python/py-inferior.exp: Likewise.
8265         * gdb.threads/break-while-running.exp: Likewise.
8266         * gdb.threads/execl.exp: Likewise.
8267         * gdb.threads/gcore-thread.exp: Likewise.
8268         * gdb.threads/info-threads-cur-sal.exp: Likewise.
8269         * gdb.threads/kill.exp: Likewise.
8270         * gdb.threads/linux-dp.exp: Likewise.
8271         * gdb.threads/multiple-step-overs.exp: Likewise.
8272         * gdb.threads/next-bp-other-thread.exp: Likewise.
8273         * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8274         * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8275         * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8276         * gdb.threads/thread-find.exp: Likewise.
8277         * gdb.threads/tls.exp: Likewise.
8278         * lib/mi-support.exp (mi_reverse_list): Delete.
8279         (mi_check_thread_states): No longer reverse list.
8280
8281 2015-11-24  Pedro Alves  <palves@redhat.com>
8282
8283         * gdb.python/py-inferior.exp: Use with_test_prefix.  Consistently
8284         use lowercase.
8285
8286 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8287
8288         * gdb.trace/actions.c: Include trace-common.h.
8289         (main): Add a location for a fast tracepoint.
8290         * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8291         the normal tracepoints.
8292         (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8293
8294 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8295
8296         * save-trace.exp: Factor out code to these...
8297         (gdb_save_tracepoints): New.
8298         (gdb_load_tracepoints): New.
8299         (do_save_load_test): New.
8300
8301 2015-11-23  Kevin Buettner  <kevinb@redhat.com>
8302
8303         * gdb.base/asmlabel.exp: New test.
8304         * gdb.base/asmlabel.c: New test case.
8305
8306 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8307
8308         * gdb.base/wrong_frame_bt_full-main.c: New file.
8309         * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8310         * gdb.base/wrong_frame_bt_full.exp: New file.
8311
8312 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8313
8314         * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8315
8316 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8317
8318         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8319         pstate register when comparing registers values in
8320         sparc64-*-linux-gnu targets to avoid spurious differences.
8321
8322 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8323
8324         * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8325
8326 2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>
8327
8328         * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8329         as type argument to gdb_compile.
8330         * gdb.base/nested-subp2.exp: Likewise.
8331         * gdb.base/nested-subp3.exp: Likewise.
8332
8333 2015-11-17  Dominik Vogt  <vogt@linux.vnet.ibm.com>
8334
8335         * lib/dwarf.exp (_note): Fix left shift of negative value.
8336         * gdb.trace/trace-condition.exp: Likewise.
8337
8338 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8339
8340         * gdb.base/call-sc.exp (test_scalar_returns): Remove the
8341         comments about d10v.
8342         (test_scalar_returns): Likewise.
8343         * gdb.base/d10v.ld: Remove.
8344         * gdb.base/overlays.exp: Remove the target triplet checking for
8345         d10v-*-*.
8346         * gdb.base/structs.exp (test_struct_returns): Remove the
8347         comments about d10v.
8348         (test_struct_calls): Likewise.
8349
8350 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8351
8352         * gdb.base/gnu_vector.exp: Check the return value by "p res".
8353         * gdb.base/gnu_vector.c: Don't include stdio.h.
8354         (main): Don't print res and call add_some_intvecs.
8355
8356 2015-11-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8357
8358         * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8359         macro.
8360         (func5): Removed.
8361         (func4): Use FAST_TRACEPOINT_LABEL.
8362         * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8363         macro.
8364         (func): Removed.
8365         (thread_function): Use FAST_TRACEPOINT_LABEL.
8366         * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8367         (func): Remove.
8368         (marker): Use FAST_TRACEPOINT_LABEL.
8369         * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8370         (pendfunc1): Remove.
8371         (pendfunc): Use FAST_TRACEPOINT_LABEL.
8372         * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8373         (foo): Remove.
8374         (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8375         * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8376         macro.
8377         (func): Remove.
8378         (marker): Use FAST_TRACEPOINT_LABEL.
8379         * gdb.trace/trace-common.h: New header.
8380         * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8381         macro.
8382         (func): Remove.
8383         (marker): Use FAST_TRACEPOINT_LABEL.
8384         * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8385         (func): Remove.
8386         (thread_function): Use FAST_TRACEPOINT_LABEL.
8387
8388 2015-11-10  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8389
8390         * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8391         in front.
8392         * gdb.trace/change-loc.exp: Use global pcreg definition.
8393         * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8394         * gdb.trace/entry-values.exp: Use global spreg definition, add $
8395         in front.
8396         * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8397         * gdb.trace/pending.exp: Likewise.
8398         * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8399         * gdb.trace/trace-break.exp: Likewise.
8400         * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8401         in front.
8402         * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8403         * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8404         in front.
8405         * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8406
8407 2015-11-09  Joel Brobecker  <brobecker@adacore.com>
8408
8409         * gdb.ada/fin_fun_out: New testcase.
8410
8411 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8412
8413         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8414         value associated with DW_AT_byte_size.
8415         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8416         constants for DW_AT_byte_size, DW_AT_lower_bound, and
8417         DW_AT_upper_bound.
8418
8419 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8420
8421         * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8422         (gdb_target_symbol_prefix_flags): Define in terms of _asm
8423         version.
8424         * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8425         gdb.dwarf2/dw2-canonicalize-type.exp,
8426         gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8427         gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8428         gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8429         provided by gdb_target_symbol_prefix_flags_asm.
8430         * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8431         testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8432         testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8433         testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8434         gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8435         macros where needed).  Use this macro for symbols which require
8436         the prefix provided by SYMBOL_PREFIX.
8437
8438 2015-11-05  Kevin Buettner  <kevinb@redhat.com>
8439
8440         * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8441         New procs.
8442         * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8443         representing expressions, of more than one list element.
8444         * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8445         to prepend linker symbol prefix to f.
8446         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8447         table_1 and table_2.
8448         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8449         Likewise, for f and g.
8450         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8451         for ptr.
8452         * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8453         for main.
8454         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8455         table_1_ptr and table_2_ptr.
8456
8457 2015-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
8458             Joel Brobecker  <brobecker@adacore.com>
8459
8460         * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8461
8462 2015-11-04  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8463
8464         * gdb.reverse/s390-mvcle.c: New test.
8465         * gdb.reverse/s390-mvcle.exp: New file.
8466         * lib/gdb.exp: Enable reverse tests on s390*-linux.
8467
8468 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8469
8470         * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8471
8472 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8473
8474         * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8475         reaching marker2.
8476         * gdb.reverse/getresuid-reverse.exp: Likewise.
8477         * gdb.reverse/pipe-reverse.exp: Likewise.
8478         * gdb.reverse/readv-reverse.exp: Likewise.
8479         * gdb.reverse/recvmsg-reverse.exp: Likewise.
8480         * gdb.reverse/time-reverse.exp: Likewise.
8481         * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8482
8483 2015-10-30  Yao Qi  <yao.qi@linaro.org>
8484
8485         * gdb.threads/wp-replication.c (watch_count_done): Remove.
8486         (empty_cycle): Remove.
8487         (main): Don't call empty_cycle.  Don't use watch_count_done.
8488         * gdb.threads/wp-replication.exp: Don't set breakpoint on
8489         empty_cycle.  Rewrite the code counting HW watchpoints.
8490
8491 2015-10-30  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8492
8493         * gdb.reverse/fstatat-reverse.c: New test.
8494         * gdb.reverse/fstatat-reverse.exp: New file.
8495         * gdb.reverse/getresuid-reverse.c: New test.
8496         * gdb.reverse/getresuid-reverse.exp: New file.
8497         * gdb.reverse/pipe-reverse.c: New test.
8498         * gdb.reverse/pipe-reverse.exp: New file.
8499         * gdb.reverse/readv-reverse.c: New test.
8500         * gdb.reverse/readv-reverse.exp: New file.
8501         * gdb.reverse/recvmsg-reverse.c: New test.
8502         * gdb.reverse/recvmsg-reverse.exp: New file.
8503         * gdb.reverse/time-reverse.c: New test.
8504         * gdb.reverse/time-reverse.exp: New file.
8505         * gdb.reverse/waitpid-reverse.c: New test.
8506         * gdb.reverse/waitpid-reverse.exp: New file.
8507
8508 2015-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8509
8510         * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8511
8512 2015-10-26  Doug Evans  <dje@google.com>
8513
8514         PR symtab/17391
8515         * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8516         * gdb.dwarf2/bad-regnum.c: New file.
8517         * gdb.dwarf2/bad-regnum.exp: New file.
8518
8519 2015-10-26  Doug Evans  <dje@google.com>
8520
8521         PR python/18938
8522         * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8523         file.
8524
8525 2015-10-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8526
8527         * gdb.compile/compile.exp (compile code globalvar): Update expectation
8528         for a change by "Mention language in compile error message".
8529
8530 2015-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
8531
8532         PR python/18073
8533         * gdb.python/py-type.c (C::a_method): New.
8534         (C::a_const_method): New.
8535         (C::a_static_method): New.
8536         (a_function): New.
8537         * gdb.python/py-type.exp (test_fields): Test getting fields
8538         from function and method.
8539
8540 2015-10-21  Keven Boell  <keven.boell@intel.com>
8541
8542         * gdb.fortran/vla-alloc-assoc.exp: New file.
8543         * gdb.fortran/vla-datatypes.exp: New file.
8544         * gdb.fortran/vla-datatypes.f90: New file.
8545         * gdb.fortran/vla-history.exp: New file.
8546         * gdb.fortran/vla-ptype-sub.exp: New file.
8547         * gdb.fortran/vla-ptype.exp: New file.
8548         * gdb.fortran/vla-sizeof.exp: New file.
8549         * gdb.fortran/vla-sub.f90: New file.
8550         * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8551         * gdb.fortran/vla-value-sub-finish.exp: New file.
8552         * gdb.fortran/vla-value-sub.exp: New file.
8553         * gdb.fortran/vla-value.exp: New file.
8554         * gdb.fortran/vla-ptr-info.exp: New file.
8555         * gdb.mi/mi-vla-fortran.exp: New file.
8556         * gdb.mi/vla.f90: New file.
8557
8558 2015-10-21  Sandra Loosemore  <sandra@codesourcery.com>
8559
8560         * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8561         of hardwired timeout value.
8562
8563 2015-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
8564             Pedro Alves  <palves@redhat.com>
8565
8566         * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8567         * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8568
8569 2015-10-19  Josh Stone  <jistone@redhat.com>
8570
8571         * gdb.base/catch-syscall.c: Include <sched.h>.
8572         (unknown_syscall): New variable.
8573         (main): Trigger a vfork and an unknown syscall.
8574         * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8575         (unknown_syscall_number): Likewise.
8576         (check_call_to_syscall): Accept an optional syscall pattern.
8577         (check_return_from_syscall): Likewise.
8578         (check_continue): Likewise.
8579         (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8580         (test_catch_syscall_skipping_return): New test toggling off 'catch
8581         syscall' to step over the syscall return, then toggling back on.
8582         (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8583         during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8584         (do_syscall_tests): Call test_catch_syscall_without_args and
8585         test_catch_syscall_mid_vfork.
8586         (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8587         (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8588
8589 2015-10-19  Andrew Stubbs  <ams@codesourcery.com>
8590
8591         * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8592         print g_vE): Add new pass patterns.
8593         * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8594         print various symbol names for vptr fields.
8595
8596 2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
8597
8598         * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8599         results.
8600
8601 2015-10-12  Yao Qi  <yao.qi@linaro.org>
8602
8603         * gdb.arch/disp-step-insn-reloc.exp: New test case.
8604
8605 2015-10-12  Yao Qi  <yao.qi@linaro.org>
8606
8607         * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8608         is aarch64*-*-linux*.
8609
8610 2015-10-12  Yao Qi  <yao.qi@linaro.org>
8611
8612         * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8613         (can_relocate_bcond_true): ... it.
8614         (can_relocate_bcond_false): New function.
8615         (foo): Likewise.
8616         (can_relocate_bl): Likewise.
8617         (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8618         can_relocate_bl.
8619
8620 2015-10-12  Pierre-Marie de Rodat  <derodat@adacore.com>
8621
8622         * gdb.base/nested-addr.c: New file.
8623         * gdb.base/nested-addr.exp: New testcase.
8624
8625 2015-10-09  Markus Metzger  <markus.t.metzger@intel.com>
8626
8627         * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8628         * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8629         its output.  Ignore the output of "record goto begin" and instead
8630         check that GDB is replaying.
8631
8632 2015-10-09  Pedro Alves  <palves@redhat.com>
8633
8634         * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8635         (top level): Use it in the run with no args test.
8636
8637 2015-10-08  Iain Buclaw  <ibuclaw@gdcproject.org>
8638
8639         * gdb.dlang/properties.exp: New file.
8640
8641 2015-10-02  Sandra Loosemore  <sandra@codesourcery.com>
8642
8643         * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8644         whether or not address 0x1000 is mapped on the target.
8645
8646 2015-09-30  Simon Marchi  <simon.marchi@ericsson.com>
8647
8648         * gdb.python/py-type.exp: Do not run tests if binaries fail to
8649         build.
8650
8651 2015-09-30  Markus Metzger  <markus.t.metzger@intel.com>
8652
8653         * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8654         instruction-history test.
8655
8656 2015-09-28  Doug Evans  <dje@google.com>
8657
8658         * gdb.base/gcore.c (array_func): Add reference to static_array.
8659
8660 2015-09-25  Simon Marchi  <simon.marchi@ericsson.com>
8661
8662         * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8663         source line.
8664
8665 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8666
8667         * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8668         short or char as base type.
8669
8670 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8671
8672         * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8673         to allow any size enum.
8674
8675 2015-09-23  Pierre-Marie de Rodat  <derodat@adacore.com>
8676
8677         * gdb.ada/array_ptr_renaming.exp: New testcase.
8678         * gdb.ada/array_ptr_renaming/foo.adb: New file.
8679         * gdb.ada/array_ptr_renaming/pack.ads: New file.
8680
8681 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
8682
8683         * gdb.trace/ftrace-lock.c: New file.
8684         * gdb.trace/ftrace-lock.exp: New file.
8685
8686 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
8687
8688         * gdb.arch/insn-reloc.c: New file.
8689         * gdb.arch/ftrace-insn-reloc.exp: New file.
8690
8691 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
8692
8693         * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8694         instruction.
8695         * gdb.trace/pendshr1.c (pendfunc): Likewise.
8696         * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8697         * gdb.trace/range-stepping.c: Likewise.
8698         * gdb.trace/trace-break.c: Likewise.
8699         * gdb.trace/trace-mt.c (thread_function): Likewise.
8700         * gdb.trace/ftrace.c (marker): Likewise.
8701         * gdb.trace/trace-condition.c (marker): Likewise.
8702         * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8703         * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8704         is_aarch64_target.
8705
8706 2015-09-18  Doug Evans  <xdje42@gmail.com>
8707
8708         * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8709         * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8710
8711 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8712
8713         * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8714         the breakpoint.
8715
8716 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8717
8718         * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8719         the pending breakpoint.  Remove timeout override for "Run till
8720         MI pending breakpoint on pendfunc3 on thread 2" test.
8721
8722 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8723
8724         * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8725         filename pattern.
8726
8727 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8728
8729         * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8730         in breakpoint filename pattern.
8731
8732 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8733
8734         * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8735
8736 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8737
8738         * gdb.linespec/explicit.exp: Check for readline support for
8739         tab-completion tests.  Fix obvious typo.
8740
8741 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
8742
8743         * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8744         and replay.
8745
8746 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
8747
8748         * gdb.btrace/non-stop.c: New.
8749         * gdb.btrace/non-stop.exp: New.
8750
8751 2015-09-17  Pierre Langlois  <pierre.langlois@arm.com>
8752             Yao Qi  <yao.qi@linaro.org>
8753
8754         * gdb.trace/trace-condition.c: New file.
8755         * gdb.trace/trace-condition.exp: New file.
8756
8757 2015-09-16  Wei-cheng Wang  <cole945@gmail.com>
8758
8759         * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8760         for testing bytecode compilation.
8761
8762 2015-09-16  Pedro Alves  <palves@redhat.com>
8763             Sandra Loosemore <sandra@codesourcery.com>
8764
8765         * gdb.threads/non-stop-fair-events.c (timeout): New global.
8766         (SECONDS): Redefine.
8767         (main): Call pthread_kill and alarm early.
8768         * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8769         support.
8770         (test): If the target can't hardware step and doesn't support
8771         displaced stepping, increase the timeout.
8772
8773 2015-09-16  Pedro Alves  <palves@redhat.com>
8774
8775         * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8776         (enable_debug): New procedures.
8777         (test): Use them.  Bail out if waiting for threads fails.
8778         (top level): Bail out if a test fails.
8779
8780 2015-09-16  Yao Qi  <yao.qi@linaro.org>
8781
8782         * gdb.asm/asm-source.exp: Set asm-arch for
8783         aarch64*-*-* target.
8784         * gdb.asm/aarch64.inc: New file.
8785
8786 2015-09-15  Pierre-Marie de Rodat  <derodat@adacore.com>
8787
8788         * gdb.ada/array_of_variable_length.exp: New testcase.
8789         * gdb.ada/array_of_variable_length/foo.adb: New file.
8790         * gdb.ada/array_of_variable_length/pck.adb: New file.
8791         * gdb.ada/array_of_variable_length/pck.ads: New file.
8792
8793 2015-09-15  Doug Evans  <dje@google.com>
8794
8795         * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
8796         of function static local variable.
8797
8798 2015-09-15  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
8799
8800         * gdb.threads/tls-so_extern.exp: New test file.
8801         * gdb.threads/tls-so_extern.c: New test file.
8802         * gdb.threads/tls-so_extern_main.c: New test file.
8803
8804 2015-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
8805
8806         * gdb.opt/solib-intra-step-lib.c: New file.
8807         * gdb.opt/solib-intra-step-main.c: New file.
8808         * gdb.opt/solib-intra-step.exp: New file.
8809
8810 2015-09-15  Pedro Alves  <palves@redhat.com>
8811
8812         * gdb.threads/non-ldr-exc-3.exp (do_test): Use
8813         gdb_continue_to_breakpoint instead of gdb_test_multiple.
8814
8815 2015-09-14  Pedro Alves  <palves@redhat.com>
8816
8817         * gdb.base/hook-stop-continue.c: Delete.
8818         * gdb.base/hook-stop-continue.exp: Delete.
8819         * gdb.base/hook-stop-frame.c: Delete.
8820         * gdb.base/hook-stop-frame.exp: Delete.
8821         * gdb.base/hook-stop.c: New file.
8822         * gdb.base/hook-stop.exp: New file.
8823
8824 2015-09-14  Pierre-Marie de Rodat  <derodat@adacore.com>
8825
8826         * gdb.ada/access_to_packed_array.exp: New testcase.
8827         * gdb.ada/access_to_packed_array/foo.adb: New file.
8828         * gdb.ada/access_to_packed_array/pack.adb: New file.
8829         * gdb.ada/access_to_packed_array/pack.ads: New file.
8830
8831 2015-09-14  Markus Metzger  <markus.t.metzger@intel.com>
8832
8833         * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
8834         buffer size test.
8835
8836 2015-09-11  Don Breazeal  <donb@codesourcery.com>
8837
8838         * gdb.base/foll-exec.c: Add copyright header.  Fix
8839         formatting issues.
8840         * gdb.base/foll-exec.exp (zap_session): Delete proc.
8841         (do_exec_tests): Use clean_restart in place of zap_session,
8842         and for test initialization.  Fix formatting issues.  Use
8843         fail in place of perror.
8844         * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
8845         an expect statement to match an expression with output from
8846         the program under debug.
8847         * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
8848         non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
8849         * gdb.threads/non-ldr-exc-2.exp: Likewise.
8850         * gdb.threads/non-ldr-exc-3.exp: Likewise.
8851         * gdb.threads/non-ldr-exc-4.exp: Likewise.
8852
8853 2015-09-09  Doug Evans  <dje@google.com>
8854
8855         * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
8856
8857 2015-09-09  Doug Evans  <dje@google.com>
8858
8859         * gdb.base/pie-execl.exp: Fix result test of build_executable.
8860
8861 2015-09-09  Doug Evans  <dje@google.com>
8862
8863         * gdb.base/savedregs.exp: Fix typo.
8864
8865 2015-09-09  Pedro Alves  <palves@redhat.com>
8866
8867         * gdb.mi/mi-cli.exp: Add CLI finish tests.
8868
8869 2015-09-08  Sandra Loosemore  <sandra@codesourcery.com>
8870
8871         * gdb.threads/hand-call-in-threads.exp: Make sure the thread
8872         command actually switches threads.  Give up on remaining
8873         tests if target fails to stop at breakpoint.
8874
8875 2015-09-03  Pierre-Marie de Rodat  <derodat@adacore.com>
8876
8877         * gdb.ada/funcall_char.exp: New testcase.
8878         * gdb.ada/funcall_char/foo.adb: New file.
8879
8880 2015-09-01  Pierre-Marie de Rodat  <derodat@adacore.com>
8881
8882         * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
8883         expected outputs.  Add two testcases for completing ambiguous
8884         functions.
8885         * gdb.ada/complete/aux_pck.adb: New file.
8886         * gdb.ada/complete/aux_pck.ads: New file.
8887         * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
8888         Ambiguous_Func functions.
8889         * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
8890         * gdb.ada/complete/pck.adb: Likewise.
8891
8892 2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
8893
8894         * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
8895         failures to run the test program under GDB.
8896
8897 2015-08-26  Luis Machado  <lgustavo@codesourcery.com>
8898
8899         * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
8900         to C.
8901
8902 2015-08-26  Patrick Palka  <patrick@parcs.ath.cx>
8903
8904         * gdb.base/run-after-attach.exp: New test file.
8905         * gdb.base/run-after-attach.c: New test file.
8906
8907 2015-08-26  Don Breazeal  <donb@codesourcery.com>
8908
8909         * gdb.base/foll-exec-2.c: New test program.
8910         * gdb.base/foll-exec-2.exp: New test.
8911
8912 2015-08-25  Pierre-Marie de Rodat  <derodat@adacore.com>
8913
8914         * gdb.base/nested-subp1.exp: New file.
8915         * gdb.base/nested-subp1.c: New file.
8916         * gdb.base/nested-subp2.exp: New file.
8917         * gdb.base/nested-subp2.c: New file.
8918         * gdb.base/nested-subp3.exp: New file.
8919         * gdb.base/nested-subp3.c: New file.
8920
8921 2015-08-24  Pedro Alves  <palves@redhat.com>
8922
8923         * gdb.server/connect-without-multi-process.c: New file.
8924         * gdb.server/connect-without-multi-process.exp: New file.
8925
8926 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
8927
8928         * gdb.opt/inline-markers.c: Make z int.
8929
8930 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
8931
8932         * gdb.opt/inline-markers.c: Make z volatile.
8933
8934 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
8935
8936         * gdb.opt/inline-bt.c: New volatile global z.
8937         * gdb.opt/inline-cmds.c: Likewise.
8938         * gdb.opt/inline-locals.c: Likewise.
8939         * gdb.opt/inline-markers.c: New extern global z.
8940         (marker): Use z.
8941         (inline_fn): Likewise.
8942
8943 2015-08-24  Pedro Alves  <palves@redhat.com>
8944
8945         * config/m32r-stub.exp: Remove file.
8946         * gdb.base/call-ar-st.exp: Remove reference to sparclet.
8947         * gdb.base/call-rt-st.exp: Likewise.
8948         * gdb.base/call-strs.exp: Likewise.
8949         * gdb.base/default.exp: Remove references to h8300-*-hms and
8950         *-*-udi*.
8951         * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
8952
8953 2015-08-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8954
8955         * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
8956         -Wno-psabi" if "-mcpu=native" fails.  For the tests with "finish"
8957         and "return" use KFAIL when GDB can not read/write the vector
8958         return value.
8959
8960 2015-08-21  Gary Benson <gbenson@redhat.com>
8961
8962         * gdb.trace/pending.exp: Cope with remote transfer warnings.
8963
8964 2015-08-20  Pedro Alves  <palves@redhat.com>
8965
8966         * gdb.server/solib-list.exp: No longer expect an interior stop in
8967         non-stop mode.
8968
8969 2015-08-20  Pedro Alves  <palves@redhat.com>
8970
8971         * gdb.server/connect-stopped-target.c: New file.
8972         * gdb.server/connect-stopped-target.exp: New file.
8973
8974 2015-08-20  Pedro Alves  <palves@redhat.com>
8975
8976         * gdb.dwarf2/comp-unit-lang.exp: New file.
8977         * gdb.dwarf2/comp-unit-lang.c: New file.
8978
8979 2015-08-20  Pierre-Marie de Rodat  <derodat@adacore.com>
8980
8981         * gdb.ada/attr_ref_and_charlit.exp: New testcase.
8982         * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
8983
8984 2015-08-19  Kevin Buettner  <kevinb@redhat.com>
8985
8986         * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
8987         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
8988
8989 2015-08-18  Doug Evans  <dje@google.com>
8990             Adrian Sendroiu <adrian.sendroiu@freescale.com>
8991
8992         * lib/gdb.exp (skip_python_tests_prompt): Renamed from
8993         skip_python_tests.  New arg prompt_regexp.
8994         (skip_python_tests): New function.
8995         * lib/mi-support.exp (mi_skip_python_tests): New function.
8996         * gdb.python/py-mi-objfile-gdb.py: New file.
8997         * gdb.python/py-mi-objfile.c: New file.
8998         * gdb.python/py-mi-objfile.exp: New file.
8999
9000 2015-08-17  Keith Seitz  <keiths@redhat.com>
9001
9002         * gdb.linespec/explicit.exp: Move strace test from here ...
9003         * gdb.trace/strace.exp: ... to here.
9004
9005 2015-08-15  Patrick Palka  <patrick@parcs.ath.cx>
9006
9007         * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
9008         * gdb.base/kill-detach-inferiors-cmd.c: New test file.
9009
9010 2015-08-14  Doug Evans  <xdje42@gmail.com>
9011
9012         * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
9013         inferior before selecting a new file.
9014
9015 2015-08-14  Doug Evans  <xdje42@gmail.com>
9016
9017         * gdb.mi/mi-disassemble.exp: Update.
9018         * gdb.base/disasm-optim.S: New file.
9019         * gdb.base/disasm-optim.c: New file.
9020         * gdb.base/disasm-optim.h: New file.
9021         * gdb.base/disasm-optim.exp: New file.
9022
9023 2015-08-14  Keith Seitz  <keiths@redhat.com>
9024
9025         * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
9026         "evaluated-by".
9027
9028 2015-08-13  Joel Brobecker  <brobecker@adacore.com>
9029
9030         * gdb.base/dso2dso.exp: Improve the testcase's documentation.
9031
9032 2015-08-13  Pierre-Marie de Rodat  <derodat@adacore.com>
9033
9034         * gdb.ada/fun_renaming.exp: New testcase.
9035         * gdb.ada/fun_renaming/fun_renaming.adb: New file.
9036         * gdb.ada/fun_renaming/pack.adb: New file.
9037         * gdb.ada/fun_renaming/pack.ads: New file.
9038
9039 2015-08-12  Keith Seitz  <keiths@redhat.com>
9040
9041         * gdb.base/dso2dso.exp: Pass basename of source file in call to
9042         gdb_get_line_number.
9043
9044 2015-08-12  Joel Brobecker  <brobecker@adacore.com>
9045
9046         * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
9047         gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
9048         gdb.base/dso2dso.exp: New files.
9049
9050 2015-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
9051             Pedro Alves  <palves@redhat.com>
9052             Keith Seitz  <keiths@redhat.com>
9053
9054         * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
9055         GDBFLAGS.
9056
9057 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9058
9059         * gdb.base/gdbhistsize-history.exp
9060         (test_histsize_history_setting): Use save_vars.
9061         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9062         Use save_vars.
9063         (test_no_truncation_of_unlimited_history_file): Use save_vars.
9064         * gdb.base/readline.exp: Use save_vars.
9065
9066 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9067
9068         * lib/gdb.exp (save_vars): New proc.
9069
9070 2015-08-11  Keith Seitz  <keiths@redhat.com>
9071
9072         * gdb.base/help.exp: Update help_breakpoint_text.
9073
9074 2015-08-11  Keith Seitz  <keiths@redhat.com>
9075
9076         * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
9077         (at toplevel): Call test_explicit_breakpoints.
9078         * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
9079         breakpoints.
9080         * lib/mi-support.exp (mi_make_breakpoint): Add support for
9081         breakpoint conditions, "-cond".
9082
9083 2015-08-11  Keith Seitz  <keiths@redhat.com>
9084
9085         * gdb.linespec/3explicit.c: New file.
9086         * gdb.linespec/cpexplicit.cc: New file.
9087         * gdb.linespec/cpexplicit.exp: New file.
9088         * gdb.linespec/explicit.c: New file.
9089         * gdb.linespec/explicit.exp: New file.
9090         * gdb.linespec/explicit2.c: New file.
9091         * gdb.linespec/ls-errs.exp: Add explicit location tests.
9092         * lib/gdb.exp (capture_command_output): Regexp-escape `command'
9093         before using in the matching pattern.
9094         Clarify that `prefix' is a regular expression.
9095
9096 2015-08-11  Keith Seitz  <keiths@redhat.com>
9097
9098         * gdb.base/dprintf-pending.exp: Update dprintf "without format"
9099         test.
9100         Add tests for missing ",FMT" and ",".
9101
9102 2015-08-10  Doug Evans  <dje@google.com>
9103             Keith Seitz  <keiths@redhat.com>
9104
9105         PR gdb/17960
9106         * gdb.base/completion.exp: Add location completer tests.
9107
9108 2015-08-07  Pedro Alves  <palves@redhat.com>
9109
9110         * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
9111         tests here.
9112         (top level): Run do_test with and without displaced stepping.
9113
9114 2015-08-07  Pedro Alves  <palves@redhat.com>
9115
9116         * gdb.base/valgrind-disp-step.c: New file.
9117         * gdb.base/valgrind-disp-step.exp: New file.
9118
9119 2015-08-07  Pedro Alves  <palves@redhat.com>
9120
9121         * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
9122         Delete function.
9123         (main): Add alarm.  Run an infinite loop instead of calling
9124         wait_threads.
9125         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
9126         comment.
9127         * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
9128         Delete function.
9129         (main): Add alarm.  Run an infinite loop instead of calling
9130         wait_threads.
9131         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
9132         comment.
9133
9134 2015-08-07  Pedro Alves  <palves@redhat.com>
9135
9136         * gdb.base/checkpoint-ns.exp: New file.
9137         * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
9138         standard_testfile.
9139
9140 2015-08-07  Markus Metzger  <markus.t.metzger@intel.com>
9141
9142         * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
9143         * gdb.btrace/instruction_history.exp: Update.
9144         * gdb.btrace/tsx.exp: New.
9145         * gdb.btrace/tsx.c: New.
9146
9147 2015-08-06  Pedro Alves <palves@redhat.com>
9148
9149         * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
9150         increase timeout.
9151         * gdb.reverse/until-precsave.exp: Bump timeouts.
9152
9153 2015-08-06  Pedro Alves  <palves@redhat.com>
9154
9155         * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
9156
9157 2015-08-06  Pedro Alves  <palves@redhat.com>
9158
9159         PR gdb/18749
9160         * gdb.threads/process-dies-while-handling-bp.c: New file.
9161         * gdb.threads/process-dies-while-handling-bp.exp: New file.
9162
9163 2015-08-06  Pedro Alves  <palves@redhat.com>
9164
9165         * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
9166         * gdb.threads/forking-threads-plus-breakpoint.c: New file.
9167
9168 2015-08-05  Pedro Alves  <palves@redhat.com>
9169
9170         * gdb.threads/next-while-other-thread-longjmps.c: New file.
9171         * gdb.threads/next-while-other-thread-longjmps.exp: New file.
9172
9173 2015-08-03  Sandra Loosemore  <sandra@codesourcery.com>
9174
9175         * gdb.base/bp-permanent.exp: Report test as unsupported if
9176         the target cannot stop at the permanent breakpoint.
9177
9178 2015-08-03  Doug Evans  <dje@google.com>
9179
9180         * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
9181         10000.
9182
9183 2015-08-03  Doug Evans  <dje@google.com>
9184
9185         * Makefile.in (workers/%.worker, build-perf): New rule.
9186         (GDB_PERFTEST_MODE): New variable.
9187         (check-perf): Use it.
9188         (clean): Clean up gdb.perf parallel build subdirs.
9189         * lib/build-piece.exp: New file.
9190         * lib/gdb.exp (make_gdb_parallel_path): New function
9191         (standard_output_file, standard_temp_file): Call it.
9192         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9193         of $GDB_PARALLEL.
9194         * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
9195
9196 2015-08-03  Doug Evans  <dje@google.com>
9197
9198         * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
9199         (LOG_FILE_NAME): New global.
9200         (TextReporter.__init__): Initialize self.txt_sum.
9201         (TextReporter.report): Add support for multiple data-points.
9202         Move report to perftest.sum, put raw data in perftest.log.
9203         (TextReporter.start): Open sum and log files.
9204         (TextReporter.end): Close sum and log files.
9205         * gdb.perf/lib/perftest/testresult.py
9206         (SingleStatisticTestResult.record): Handle multiple data-points.
9207
9208 2015-07-31  Pedro Alves  <palves@redhat.com>
9209
9210         * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
9211         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9212         kill_wait_spawned_process instead of explicit "kill -9".
9213         * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
9214         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9215         kill_wait_spawned_process.
9216         * gdb.base/attach-twice.exp: Likewise.
9217         * gdb.base/attach.exp: Likewise.
9218         (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
9219         gdb_test_multiple.
9220         * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
9221         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9222         kill_wait_spawned_process.
9223         * gdb.base/valgrind-infcall.exp: Likewise.
9224         * gdb.multi/multi-attach.exp: Likewise.
9225         * gdb.python/py-prompt.exp: Likewise.
9226         * gdb.python/py-sync-interp.exp: Likewise.
9227         * gdb.server/ext-attach.exp: Likewise.
9228         * gdb.threads/attach-into-signal.exp (corefunc): Use
9229         spawn_wait_for_attach, spawn_id_get_pid and
9230         kill_wait_spawned_process.
9231         * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
9232         spawn_wait_for_attach returning a spawn id instead of a pid.  Use
9233         spawn_id_get_pid and kill_wait_spawned_process.
9234         * gdb.threads/attach-stopped.exp (corefunc): Use
9235         spawn_wait_for_attach, spawn_id_get_pid and
9236         kill_wait_spawned_process.
9237         * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
9238         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9239         kill_wait_spawned_process instead of explicit "kill -9".
9240         * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
9241         (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
9242         (spawn_wait_for_attach): Use spawn instead of exec to spawn
9243         processes.  Don't map cygwin/windows pids here.  Now returns a
9244         spawn id list.
9245
9246 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9247
9248         * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
9249         4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
9250         correct patch.
9251
9252 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9253
9254         * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9255
9256 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9257
9258         Reapply:
9259         2014-05-21  Mark Wielaard  <mjw@redhat.com>
9260
9261         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9262
9263 2015-07-30  Pedro Alves  <palves@redhat.com>
9264
9265         * linux-low.c (handle_extended_wait): Set the child's last
9266         reported status to TARGET_WAITKIND_STOPPED.
9267
9268 2015-07-30  Pedro Alves  <palves@redhat.com>
9269
9270         PR threads/18600
9271         * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9272         only shows inferior 1.
9273
9274 2015-07-30  Simon Marchi  <simon.marchi@ericsson.com>
9275             Pedro Alves  <palves@redhat.com>
9276
9277         PR threads/18600
9278         * gdb.threads/fork-plus-threads.c: New file.
9279         * gdb.threads/fork-plus-threads.exp: New file.
9280
9281 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9282
9283         * gdb.base/batch-preserve-term-settings.exp
9284         (test_terminal_settings_preserved_after_cli_exit): Use
9285         send_quit_command.
9286
9287 2015-07-29  Pedro Alves  <palves@redhat.com>
9288             Don Breazeal  <donb@codesourcery.com>
9289
9290         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9291         output from both inferior_spawn_id and gdb_spawn_id.
9292
9293 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9294
9295         * gdb.threads/attach-into-signal.exp (corefunc): Use
9296         with_test_prefix on nested loops, uniquefying the test messages.
9297
9298 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9299
9300         * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9301         commit.
9302
9303 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9304
9305         * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9306         New proc.
9307         (test_terminal_settings_preserved_after_sigterm): New test.
9308
9309 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9310
9311         * gdb.base/batch-preserve-term-settings.exp
9312         (test_terminal_settings_preserved_after_cli_exit): New test.
9313
9314 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9315
9316         * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9317         manipulation of saved_gdbflags.
9318         (test_terminal_settings_preserved): Remove global declaration of
9319         the unused variable pagination_prompt.  Remove manipulation of
9320         saved_gdbflags.  Use a local variable EXTRA_GDBFLAGS instead of
9321         GDBFLAGS.
9322
9323 2015-07-29  Pedro Alves  <palves@redhat.com>
9324
9325         * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9326
9327 2015-07-29  Pedro Alves  <palves@redhat.com>
9328
9329         * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9330         at the top.
9331
9332 2015-07-29  Pedro Alves  <palves@redhat.com>
9333
9334         * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9335         (main): Call gdb_unbuffer_output.
9336         * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9337         (main): Call gdb_unbuffer_output.
9338         * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9339         (main): Call gdb_unbuffer_output.
9340         * gdb.base/call-strs.exp: Adjust to step over the
9341         gdb_unbuffer_output call.
9342         * gdb.base/catch-gdb-caused-signals.c: Include
9343         "../lib/unbuffer_output.c".
9344         (main): Call gdb_unbuffer_output.
9345         * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
9346         (main): Call gdb_unbuffer_output.
9347         * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
9348         (main): Call gdb_unbuffer_output.
9349         * gdb.base/run.c: Include "../lib/unbuffer_output.c".
9350         (main): Call gdb_unbuffer_output.
9351         * gdb.base/shlib-call.exp: Adjust to step over the
9352         gdb_unbuffer_output call.
9353         * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9354         (main): Call gdb_unbuffer_output.
9355         * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9356         (main): Call gdb_unbuffer_output.
9357         * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9358         (main): Rename to ...
9359         (test): ... this.
9360         (main): Reimplement.
9361         * gdb.base/varargs.exp: Run to test instead of to main.
9362         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9363         (main): Call gdb_unbuffer_output.
9364
9365 2015-07-29  Pedro Alves  <palves@redhat.com>
9366
9367         * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9368         factore out from mi_continue_dprintf.  For call-style dprintfs,
9369         expect dprintf output out of $inferior_spawn_id.
9370         (mi_continue_dprintf): Use mi_expect_dprintf.
9371         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9372         (main): Call gdb_unbuffer_output.
9373
9374 2015-07-29  Pedro Alves  <palves@redhat.com>
9375
9376         * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9377         (default_mi_gdb_start): Set inferior_spawn_id instead of
9378         mi_inferior_spawn_id.  If $inferior_spawn_id is not set, set it to
9379         gdb_spawn_id.
9380         (mi_gdb_test): Always expect inferior output from both
9381         $inferior_spawn_id and $gdb_spawn_id.
9382
9383 2015-07-29  Pedro Alves  <palves@redhat.com>
9384
9385         * gdb.gdb/selftest.exp (test_with_self): Update comment.  Use
9386         send_inferior and $inferior_spawn_id.
9387
9388 2015-07-29  Pedro Alves  <palves@redhat.com>
9389
9390         * gdb.gdb/complaints.exp (test_initial_complaints)
9391         (test_serial_complaints, test_short_complaints): Use
9392         gdb_test_stdio.
9393         (test_empty_complaint): Handle $inferior_spawn_id !=
9394         $gdb_spawn_id.
9395
9396 2015-07-29  Pedro Alves  <palves@redhat.com>
9397
9398         * gdb.base/varargs.exp: Use gdb_test_stdio.
9399
9400 2015-07-29  Pedro Alves  <palves@redhat.com>
9401
9402         * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9403
9404 2015-07-29  Pedro Alves  <palves@redhat.com>
9405
9406         * gdb.base/ending-run.exp: Use gdb_test_stdio.
9407
9408 2015-07-29  Pedro Alves  <palves@redhat.com>
9409
9410         * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9411         parameter into two new parameters, "inf_result" and "gdb_result".
9412         Expect inferior output and gdb output from $inferior_spawn_id and
9413         $gdb_spawn_id, respectively.  Adjust all callers.
9414
9415 2015-07-29  Pedro Alves  <palves@redhat.com>
9416
9417         * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9418         of gdb_test_sequence.
9419
9420 2015-07-29  Pedro Alves  <palves@redhat.com>
9421
9422         * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9423         (saw_spurious_output): Expect inferior output from
9424         $inferior_spawn_id.  Use gdb_test_stdio.
9425
9426 2015-07-29  Pedro Alves  <palves@redhat.com>
9427
9428         * gdb.base/dprintf.exp: Use standard_testfile.  Change
9429         prepare_for_testing call.
9430         (srcfile): Don't set.
9431         (restart): New procedure.
9432         (test_dprintf): New procecure, use to continue over dprintfs.
9433         (test_call, test_agent): New procedures, tests moved here.
9434         Restart gdb and recreate dprintfs.  Adjust expected output.
9435
9436 2015-07-29  Pedro Alves  <palves@redhat.com>
9437
9438         * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9439
9440 2015-07-29  Pedro Alves  <palves@redhat.com>
9441
9442         * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9443
9444 2015-07-29  Pedro Alves  <palves@redhat.com>
9445
9446         * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9447         gdb_test_stdio.
9448
9449 2015-07-29  Pedro Alves  <palves@redhat.com>
9450
9451         * lib/gdb.exp (gdb_test_stdio): New procedure.
9452
9453 2015-07-29  Pedro Alves  <palves@redhat.com>
9454
9455         * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9456
9457 2015-07-29  Pedro Alves  <palves@redhat.com>
9458
9459         * gdb.base/call-signal-resume.exp: Remove check for
9460         gdb,noinferiorio.  Don't expect "no signal".  Use gdb_test.
9461         * gdb.base/unwindonsignal.exp: Likewise.
9462         * gdb.base/call-signals.c (gen_signal): Remove printf call.
9463         * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9464
9465 2015-07-29  Pedro Alves  <palves@redhat.com>
9466
9467         * gdb.base/siginfo-addr.c (pass): New function.
9468         (handler): Call it iff si_addr is correct.
9469         * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9470         Set a breakpoint at "pass" and continue to it.
9471
9472 2015-07-28  Sergio Durigan Junior  <sergiodj@redhat.com>
9473
9474         * gdb.python/py-objfile.exp: Make some tests have unique names.
9475         * gdb.python/py-pp-registration.exp: Likewise.
9476
9477 2015-07-28  Pedro Alves  <palves@redhat.com>
9478
9479         * gdb.server/server-exec-info.exp: Issue a "disconnect".
9480
9481 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9482
9483         * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9484
9485 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9486
9487         * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9488
9489 2015-07-27  Patrick Palka  <patrick@parcs.ath.cx>
9490
9491         * gdb.base/gdb-sigterm-2.exp: New test.
9492
9493 2015-07-25  Doug Evans  <xdje42@gmail.com>
9494
9495         Revert:
9496         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9497         (workers/%.worker, build-perf): New rule.
9498         (GDB_PERFTEST_MODE): New variable.
9499         (check-perf): Use it.
9500         (clean): Clean up gdb.perf parallel build subdirs.
9501         * lib/build-piece.exp: New file.
9502         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9503         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9504         name.
9505         (standard_temp_file): Ditto.
9506         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9507         of $GDB_PARALLEL.
9508
9509 2015-07-24  Doug Evans  <dje@google.com>
9510
9511         * gdb.perf/lib/perftest/utils.py: New file.
9512         * gdb.perf/gm-hello.cc: New file.
9513         * gdb.perf/gm-pervasive-typedef.cc: New file.
9514         * gdb.perf/gm-pervasive-typedef.h: New file.
9515         * gdb.perf/gm-std.cc: New file.
9516         * gdb.perf/gm-std.h: New file.
9517         * gdb.perf/gm-use-cerr.cc: New file.
9518         * gdb.perf/gm-utils.h: New file.
9519         * gdb.perf/gmonster-null-lookup.py: New file.
9520         * gdb.perf/gmonster-pervasive-typedef.py: New file.
9521         * gdb.perf/gmonster-print-cerr.py: New file.
9522         * gdb.perf/gmonster-ptype-string.py: New file.
9523         * gdb.perf/gmonster-runto-main.py: New file.
9524         * gdb.perf/gmonster-select-file.py: New file.
9525         * gdb.perf/gmonster1-null-lookup.exp: New file.
9526         * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9527         * gdb.perf/gmonster1-print-cerr.exp: New file.
9528         * gdb.perf/gmonster1-ptype-string.exp: New file.
9529         * gdb.perf/gmonster1-runto-main.exp: New file.
9530         * gdb.perf/gmonster1-select-file.exp: New file.
9531         * gdb.perf/gmonster1.cc: New file.
9532         * gdb.perf/gmonster1.exp: New file.
9533         * gdb.perf/gmonster2-null-lookup.exp: New file.
9534         * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9535         * gdb.perf/gmonster2-print-cerr.exp: New file.
9536         * gdb.perf/gmonster2-ptype-string.exp: New file.
9537         * gdb.perf/gmonster2-runto-main.exp: New file.
9538         * gdb.perf/gmonster2-select-file.exp: New file.
9539         * gdb.perf/gmonster2.cc: New file.
9540         * gdb.perf/gmonster2.exp: New file.
9541
9542 2015-07-24  Doug Evans  <dje@google.com>
9543
9544         * gdb.perf/README: New file.
9545         * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9546         * lib/gen-perf-test.exp: New file.
9547
9548 2015-07-24  Doug Evans  <dje@google.com>
9549
9550         * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9551         (PerfTest::startup): New function.
9552         (PerfTest::run): Return result of calling body.
9553         (PerfTest::assemble): Rewrite.
9554         * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9555         * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9556         * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9557         * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9558         * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9559
9560 2015-07-24  Doug Evans  <dje@google.com>
9561
9562         * lib/gdb.exp (clean_restart): Make executable optional.
9563
9564 2015-07-24  Doug Evans  <dje@google.com>
9565
9566         * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9567         compiler_info references.
9568         * gdb.cp/temargs.exp: Ditto.
9569         * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9570         (get_compiler_info): Early exit if already computed.  Set compiler_info
9571         to "unknown" if there was a problem.
9572         (test_compiler_info): Add function comment.  Call get_compiler_info.
9573
9574 2015-07-24  Doug Evans  <dje@google.com>
9575
9576         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9577         (workers/%.worker, build-perf): New rule.
9578         (GDB_PERFTEST_MODE): New variable.
9579         (check-perf): Use it.
9580         (clean): Clean up gdb.perf parallel build subdirs.
9581         * lib/build-piece.exp: New file.
9582         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9583         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9584         name.
9585         (standard_temp_file): Ditto.
9586         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9587         of $GDB_PARALLEL.
9588
9589 2015-07-24  Doug Evans  <dje@google.com>
9590
9591         * lib/future.exp (gdb_default_target_compile): New option
9592         "early_flags".
9593         * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9594         --as-needed.
9595
9596 2015-07-24  Sergio Durigan Junior  <sergiodj@redhat.com>
9597
9598         * gdb.base/catch-syscall.exp: Call gdb_exit before
9599         gdb_skip_xml_test.
9600
9601 2015-07-24  Pedro Alves  <palves@redhat.com>
9602
9603         * gdb.python/py-events.exp: Accept output between the stop event
9604         and the prompt.
9605         * gdb.python/py-evsignal.exp: Likewise.
9606         * gdb.python/py-evthreads.exp: Likewise.
9607
9608 2015-07-24  Pedro Alves  <palves@redhat.com>
9609
9610         PR gdb/18717
9611         * gdb.threads/non-ldr-exit.c: New file.
9612         * gdb.threads/non-ldr-exit.exp: New file.
9613
9614 2015-07-24  Yao Qi  <yao.qi@linaro.org>
9615
9616         * gdb.server/ext-wrapper.exp: Test --wrapper option when
9617         restarting process.
9618
9619 2015-07-24  Yao Qi  <yao.qi@linaro.org>
9620
9621         * gdb.server/ext-restart.exp: New file.
9622
9623 2015-07-24  Yao Qi  <yao.qi@linaro.org>
9624
9625         * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9626         argument options.
9627         * gdb.server/ext-wrapper.exp: New file.
9628
9629 2015-07-23  Doug Evans  <dje@google.com>
9630
9631         * gdb.dwarf2/dw2-dummy-cu.S: New file.
9632         * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9633
9634 2015-07-23  Pierre-Marie de Rodat  <derodat@adacore.com>
9635
9636         * gdb.ada/var_arr_typedef.exp: New testcase.
9637         * gdb.ada/var_arr_typedef/pack.adb: New file.
9638         * gdb.ada/var_arr_typedef/pack.ads: New file.
9639         * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9640
9641 2015-07-20  Joel Brobecker  <brobecker@adacore.com>
9642
9643         * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9644
9645 2015-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
9646
9647         * gdb.arch/i386-biarch-core.exp: Replace istarget
9648         by "complete set gnutarget". Remove expectation for the "core-file"
9649         command.
9650
9651 2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9652
9653         Revert the previous commit:
9654         Tests for validate symbol file using build-id.
9655
9656 2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
9657
9658         Tests for validate symbol file using build-id.
9659         * gdb.base/solib-mismatch-lib.c: New file.
9660         * gdb.base/solib-mismatch-libmod.c: New file.
9661         * gdb.base/solib-mismatch.c: New file.
9662         * gdb.base/solib-mismatch.exp: New file.
9663
9664 2015-07-15  Sandra Loosemore  <sandra@codesourcery.com>
9665
9666         * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9667         nios2-*-linux*.
9668         * gdb.base/sigbpt.exp (stepi_out): Likewise.
9669         * gdb.base/siginfo.exp: Likewise.
9670         * gdb.base/sigstep.exp (advance, advancei): Likewise.
9671
9672 2015-07-15  Pierre Langlois  <pierre.langlois@arm.com>
9673
9674         * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9675         Move it to ...
9676         * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9677         ... here.
9678         * gdb.trace/range-stepping.exp: Check that the target supports
9679         range stepping.
9680
9681 2015-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
9682
9683         * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9684
9685 2015-07-14  Pedro Alves  <palves@redhat.com>
9686
9687         * gdb.base/killed-outside.exp: New file.
9688         * gdb.base/killed-outside.c: New file.
9689
9690 2015-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
9691
9692         * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9693         (n at main): New.
9694         * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9695
9696 2015-07-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9697
9698         * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9699         infcall tests instead of setting up for KFAIL.
9700
9701 2015-07-10  Markus Metzger  <markus.t.metzger@intel.com>
9702
9703         * gdb.btrace/record_goto-step.exp: New.
9704
9705 2015-07-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
9706
9707         PR compile/18484
9708         * gdb.compile/compile.c (struct struct_type): Add volatile to
9709         selffield's type.
9710         * gdb.compile/compile.exp
9711         (compile code struct_object.selffield = &struct_object): Skip further
9712         struct_object tests if this one xfails.
9713
9714 2015-07-08  Robert O'Callahan  <robert@ocallahan.org>
9715
9716         PR exp/18617
9717         * gdb.trace/ax.exp: Add test.
9718
9719 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9720
9721         * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9722         instead of istarget "aarch64*-*-*".
9723         * gdb.arch/aarch64-fp.exp: Likewise.
9724         * gdb.base/float.exp: Likewise.
9725         * gdb.reverse/aarch64.exp: Likewise.
9726         * lib/gdb.exp (is_aarch64_target): New proc.
9727
9728 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9729
9730         * lib/gdb.exp (is_aarch32_target): New proc.
9731         * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9732         instead of "istarget "arm*-*-*"".
9733         * gdb.arch/arm-disp-step.exp: Likewise.
9734         * gdb.arch/thumb-bx-pc.exp: Likewise.
9735         * gdb.arch/thumb-prologue.exp: Likewise.
9736         * gdb.arch/thumb-singlestep.exp: Likewise.
9737         * gdb.base/disp-step-syscall.exp: Likewise.
9738         * gdb.base/float.exp: Likewise.
9739
9740 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9741
9742         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9743         Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9744
9745 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9746
9747         * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9748         is aarch64.  If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9749         if it exists.
9750         * gdb.multi/multi-arch.exp: Likewise.
9751
9752 2015-07-07  Simon Marchi  <simon.marchi@ericsson.com>
9753
9754         * gdb.python/py-lazy-string.exp: Add missing parentheses to
9755         print.
9756
9757 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9758
9759         * gdb.arch/thumb-singlestep.exp: Do one more single step.
9760
9761 2015-06-30  Martin Galvan  <martin.galvan@tallertechnologies.com>
9762
9763         * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9764         '[' and ']' characters.
9765
9766 2015-06-30  Iain Buclaw  <ibuclaw@gdcproject.org>
9767
9768         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9769
9770 2015-06-29  Pedro Alves  <palves@redhat.com>
9771
9772         PR threads/18127
9773         * gdb.threads/hand-call-new-thread.c: New file.
9774         * gdb.threads/hand-call-new-thread.c: New file.
9775
9776 2015-06-26  Keith Seitz  <keiths@redhat.com>
9777             Doug Evans  <dje@google.com>
9778
9779         PR 16253
9780         * gdb.cp/var-tag-2.cc: New file.
9781         * gdb.cp/var-tag-3.cc: New file.
9782         * gdb.cp/var-tag-4.cc: New file.
9783         * gdb.cp/var-tag.cc: New file.
9784         * gdb.cp/var-tag.exp: New file.
9785
9786 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
9787
9788         * gdb.base/history-duplicates.exp: New test.
9789
9790 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
9791
9792         * gdb.base/completion.exp: Test the completion of the "focus"
9793         command.
9794
9795 2015-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
9796
9797         * gdb.arch/amd64-prologue-skip.S: New file.
9798         * gdb.arch/amd64-prologue-skip.exp: New file.
9799
9800 2015-06-25  Simon Marchi  <simon.marchi@ericsson.com>
9801
9802         * gdb.python/py-prettyprint.exp (run_lang_tests): Add
9803         is_address_zero_readable check.
9804
9805 2015-06-24  Peter Bergner  <bergner@vnet.ibm.com>
9806
9807         * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
9808         * gdb.arch/powerpc-power.s <rfebb>: Likewise.
9809
9810 2015-06-24  Yao Qi  <yao.qi@linaro.org>
9811
9812         * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
9813         linux targets.
9814
9815 2015-06-24  Yao Qi  <yao.qi@linaro.org>
9816
9817         * lib/gdb.exp (supports_get_siginfo_type): New proc.
9818         * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
9819         * gdb.base/siginfo-thread.exp: Likewise.
9820
9821 2015-06-22  Yao Qi  <yao.qi@linaro.org>
9822
9823         * boards/remote-gdbserver-on-localhost.exp: Add comments.
9824
9825 2015-06-22  Yao Qi  <yao.qi@linaro.org>
9826
9827         * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
9828         aarch64*-*-*.
9829         (skip_hw_watchpoint_tests): Likewise.
9830
9831 2015-06-18  Patrick Palka  <patrick@parcs.ath.cx>
9832
9833         * gdb.base/gdbinit-history.exp: Test the interaction between
9834         setting GDBHISTSIZE and setting the history size via .gdbinit.
9835
9836 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
9837
9838         PR gdb/16999
9839         * gdb.base/gdbhistsize-history.exp: New test.
9840
9841 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
9842
9843         * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9844         with GDBHISTSIZE.
9845         * gdb.base/readline.exp: Likewise.
9846
9847 2015-06-17  Yao Qi  <yao.qi@linaro.org>
9848
9849         * lib/gdb.exp (get_build_id): Move braces and "else" to the same
9850         line.
9851
9852 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
9853
9854         * gdb.base/gdbinit-history.exp: Add test case to check that
9855         an unlimited history file does not get truncated on exit.
9856
9857 2015-06-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9858
9859         * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
9860         (VECTOR): New macro.  Use it...
9861         (int4, uint4, char4, float4, int2, longlong2, float2, double2):
9862         ...for these typedefs.
9863         (int8, char1, int1, double1): New typedefs.
9864         (struct just_int2, struct two_int2): New structures.
9865         (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
9866         (add_structvecs, add_singlevecs): New functions.
9867         (main): Call add_some_intvecs twice.
9868         * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
9869         the compile and exit upon failure.  Try compiling for the "native"
9870         architecture.  Test inferior function calls with vector arguments
9871         and vector return value handling with "finish" and "return".
9872
9873 2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
9874
9875         * gdb.base/sepdebug.exp: Add EXEEXT where needed.
9876         * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
9877         PE file.
9878         * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
9879
9880 2015-06-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
9881
9882         PR breakpoints/16465
9883         * gdb.mi/mi-dprintf-pending.c: New file.
9884         * gdb.mi/mi-dprintf-pending.exp: New test.
9885         * gdb.mi/mi-dprintf-pendshr.c: New file.
9886
9887 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
9888             Mircea Gherzan  <mircea.gherzan@intel.com>
9889
9890         * gdb.arch/i386-mpx-map.c: New file.
9891         * gdb.arch/i386-mpx-map.exp: New File.
9892
9893 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
9894
9895         * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
9896         * gdb.arch/i386-mpx.exp: Indentation fixed.
9897
9898 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
9899
9900         * gdb.arch/i386-mpx.c: Added final return to the have_mpx
9901         function and improved indentation.
9902         * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
9903         gdb_test_multiple. Added additional tests to skip the test.
9904
9905 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
9906
9907         * gdb.arch/i386-avx512.c: Change path in include file.
9908         * gdb.arch/i386-avx512.exp: Change include dir path
9909         compilation flag.
9910         * gdb.arch/i386-mpx.c: Change path in include file.
9911         * gdb.arch/i386-mpx.exp: Change include dir path compilation
9912         flag.
9913
9914 2015-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
9915
9916         * gdb.compile/compile-print.exp (compile print *vararray@3)
9917         (compile print *vararrayp@3): Change xfail to kfail compile/18489.
9918
9919 2015-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
9920
9921         * gdb.compile/compile.exp (keep jit in memory): Rename to ...
9922         (do not keep jit in memory): ... this.
9923         (expect 5): Change it to ...
9924         (expect no 5): ... this.
9925
9926 2015-06-02  Simon Marchi  <simon.marchi@ericsson.com>
9927
9928         PR gdb/15564
9929         * gdb.mi/mi-detach.exp: New file.
9930
9931 2015-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
9932
9933         PR symtab/18392
9934         * gdb.arch/amd64-tailcall-self.S: New file.
9935         * gdb.arch/amd64-tailcall-self.c: New file.
9936         * gdb.arch/amd64-tailcall-self.exp: New file.
9937
9938 2015-05-28  Don Breazeal  <donb@codesourcery.com>
9939
9940         * gdb.base/foll-vfork.exp (main): Disable exec-dependent
9941         tests for remote targets by checking is_target_gdbserver.
9942
9943 2015-05-27  Doug Evans  <dje@google.com>
9944
9945         * gdb.dwarf2/opaque-type-lookup-2.c: New file.
9946         * gdb.dwarf2/opaque-type-lookup.c: New file.
9947         * gdb.dwarf2/opaque-type-lookup.exp: New file.
9948
9949 2015-05-26  Doug Evans  <dje@google.com>
9950
9951         * gdb.cp/iostream.cc: New file.
9952         * gdb.cp/iostream.exp: New file.
9953
9954 2015-05-26  Doug Evans  <dje@google.com>
9955
9956         * gdb.dwarf2/dw2-op-call.exp: Update.
9957         * gdb.dwarf2/dw4-sig-types.exp: Update.
9958         * gdb.dwarf2/implptr.exp: Update.
9959         * gdb.mi/mi-cmd-param-changed.exp: Update.
9960
9961 2015-05-26  Doug Evans  <dje@google.com>
9962
9963         * gdb.python/py-lazy-string.c: New file.
9964         * gdb.python/py-lazy-string.exp: New file.
9965         * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
9966         (main): Update.  Add estring3.
9967         * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
9968         * gdb.python/py-prettyprint.py (pp_ls): Handle length.
9969
9970 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
9971             Yao Qi  <yao.qi@linaro.org>
9972
9973         * gdb.reverse/aarch64.c: New.
9974         * gdb.reverse/aarch64.exp: New.
9975
9976 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
9977
9978         * lib/gdb.exp (supports_process_record): Return true for
9979         aarch64*-linux*.
9980         (supports_reverse): Likewise.
9981
9982 2015-05-22  Patrick Palka  <patrick@parcs.ath.cx>
9983
9984         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9985         Use with_test_prefix.
9986
9987 2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
9988
9989         * gdb.base/completion.exp: Add test for completion of layout
9990         names.
9991
9992 2015-05-20  Andrew Burgess  <andrew.burgess@embecosm.com>
9993
9994         * lib/gdb.exp (skip_tui_tests): New proc.
9995         * gdb.base/tui-layout.exp: Check skip_tui_tests.
9996
9997 2015-05-19  Pedro Alves  <palves@redhat.com>
9998
9999         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10000         Save the whole env array instead of just HOME.  Unset HISTSIZE in
10001         the environment while testing.  Restore whole environment
10002         afterwards.
10003
10004 2015-05-16  Doug Evans  <xdje42@gmail.com>
10005
10006         * gdb.guile/scm-ports.c: New file.
10007         * gdb.guile/scm-ports.exp: Add memory port tests.
10008
10009 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10010
10011         * gdb.compile/compile-print.c: New file.
10012         * gdb.compile/compile-print.exp: New file.
10013
10014 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10015
10016         * gdb.compile/compile-ops.exp: Cast param to void.
10017         * gdb.compile/compile.exp: Complete type for _gdb_expr.
10018         (compile code struct_object.selffield = &struct_object): Add xfail.
10019
10020 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10021
10022         * gdb.ada/arr_enum_with_gap: New testcase.
10023
10024 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10025
10026         * gdb.ada/byte_packed_arr: New testcase.
10027
10028 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10029
10030         * gdb.ada/pckd_neg: New testcase.
10031
10032 2015-05-13  Patrick Palka  <patrick@parcs.ath.cx>
10033
10034         PR gdb/17820
10035         * gdb.base/gdbinit-history.exp: New test.
10036         * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
10037         * gdb.base/gdbinit-history/zero/.gdbinit: New file.
10038
10039 2015-05-09  Siva Chandra Reddy  <sivachandra@google.com>
10040
10041         * gdb.python/py-xmethods.cc: Enhance test case.
10042         * gdb.python/py-xmethods.exp: New tests.
10043         * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
10044         function.
10045         (B_indexoper): Likewise.
10046         (global_dm_list) : Add new xmethod worker functions.
10047
10048 2015-05-08  Sergio Durigan Junior  <sergiodj@redhat.com>
10049
10050         * gdb.base/coredump-filter.exp: Correctly unset
10051         "coredump_var_addr" array.
10052
10053 2015-05-08  Pedro Alves  <palves@redhat.com>
10054
10055         * gdb.server/non-existing-program.exp: Unset spawn_id.
10056
10057 2015-05-08  Siva Chandra Reddy  <sivachandra@google.com>
10058
10059         PR python/18291
10060         * gdb.python/py-xmethods.exp: Add tests.
10061
10062 2015-05-08  Yao Qi  <yao.qi@linaro.org>
10063
10064         PR gdb/18208
10065         * gdb.base/coredump-filter.c (set_coredump_filter): New function.
10066         * gdb.base/coredump-filter.exp (do_save_core): Call inferior
10067         function set_coredump_filter, and remove remote_exec call.
10068         Remove argument ipid.  Callers update.
10069         (top level): Don't get inferior's PID.
10070
10071 2015-05-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10072
10073         * gdb.base/watch_thread_num.exp: Skip test on targets without
10074         access watchpoints.
10075
10076 2015-05-06  Pedro Alves  <palves@redhat.com>
10077
10078         PR server/18081
10079         * gdb.server/non-existing-program.exp: New file.
10080
10081 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10082
10083         * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
10084
10085 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10086
10087         * gdb.ada/out_of_line_in_inlined: New testcase.
10088
10089 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10090
10091         * gdb.ada/var_rec_arr: New testcase.
10092
10093 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10094
10095         * gdb.base/break-idempotent.exp: If
10096         skip_hw_watchpoint_multi_tests returns true, skip the tests
10097         on "rwatch" and "awatch".
10098
10099 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10100
10101         * gdb.base/relativedebug.exp: Invoke gdb command
10102         "info sharedlibrary", and if libc.so doesn't have debug info,
10103         skip the test.
10104
10105 2015-04-29  Doug Evans  <dje@google.com>
10106
10107         * gdb.python/py-xmethods.exp: Add ptype tests.
10108         * gdb.python/py-xmethods.py (E_method_char_worker): Add
10109         get_result_type method.
10110
10111 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10112
10113         * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
10114         the target does not support hardware watchpoints.
10115
10116 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10117
10118         * gdb.base/break-always.exp: Abort testing if writing to memory
10119         causes an error.
10120
10121 2015-04-28  Doug Evans  <dje@google.com>
10122
10123         * gdb.python/py-pp-maint.py: Move "replace" testing to ...
10124         * gdb.python/py-pp-registration.exp: ... here.  New file.
10125         * gdb.python/py-pp-registration.c: New file.
10126         * gdb.python/py-pp-registration.py: New file.
10127
10128 2015-04-28  Doug Evans  <dje@google.com>
10129
10130         * gdb.python/py-bad-printers.c: New file.
10131         * gdb.python/py-bad-printers.py: New file.
10132         * gdb.python/py-bad-printers.exp: New file.
10133
10134 2015-04-28  Sasha Smundak  <asmundak@google.com>
10135
10136         * gdb.python/py-type.exp: New test.
10137
10138 2015-04-28  Andy Wingo  <wingo@igalia.com>
10139
10140         * gdb.python/py-parameter.exp:
10141         * gdb.guile/scm-parameter.exp: Escape the path that we are
10142         matching against, as it might contain characters that are special
10143         to regular expressions.
10144
10145 2015-04-27  Joel Brobecker  <brobecker@adacore.com>
10146
10147         * gdb.ada/rec_comp: New testcase.
10148
10149 2015-04-26  Sergio Durigan Junior  <sergiodj@redhat.com>
10150
10151         * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
10152         before using it.
10153
10154 2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
10155
10156         * gdb.base/dump.exp: Add *.verilog files to all_files list.  Add
10157         new tests for verilog output.
10158
10159 2015-04-24  Yao Qi  <yao.qi@linaro.org>
10160
10161         * boards/remote-gdbserver-on-localhost.exp: New file.
10162
10163 2015-04-23  Pedro Alves  <palves@redhat.com>
10164
10165         * gdb.base/interrupt.exp: Use an indirect spawn id list holding
10166         $inferior_spawn_id instead of $inferior_spawn_id directly.  On
10167         "end of file", remove $inferior_spawn_id from the indirect list.
10168
10169 2015-04-23  Pedro Alves  <palves@redhat.com>
10170
10171         * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
10172
10173 2015-04-23  Pedro Alves  <palves@redhat.com>
10174
10175         * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
10176         on $any_spawn_id instead of only on $gdb_spawn_id.
10177
10178 2015-04-21  Pierre Muller  <muller@sourceware.org>
10179
10180         PR pascal/17815
10181         * lib/pascal.exp (gpc_compile): Add new option "class".
10182         (fpc_compile): Likewise.
10183         * gdb.pascal/case-insensitive-symbols.pas: New file.
10184         * gdb.pascal/case-insensitive-symbols.exp: New file.
10185
10186 2015-04-20  Gary Benson <gbenson@redhat.com>
10187
10188         * gdb.base/attach.exp: Fix three extended remote failures.
10189
10190 2015-04-17  Gary Benson <gbenson@redhat.com>
10191
10192         * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
10193         the main executable over the remote protocol.
10194
10195 2015-04-16  Pedro Alves  <palves@redhat.com>
10196
10197         * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
10198         a new gdbserver if gdbserver_reconnect_p is set.
10199
10200 2015-04-16  Pedro Alves  <palves@redhat.com>
10201
10202         * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
10203         is set, don't exit gdbserver.
10204
10205 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10206
10207         * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
10208         appropriate .insn, such that an older assembler can be used.
10209         * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
10210         the z/Architecture instruction set on 31-bit targets as well.
10211
10212 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10213
10214         * gdb.go/handcall.exp: Remove all logic related to the first
10215         breakpoint and rely on go_runto_main instead.
10216         * gdb.go/strings.exp: Likewise.
10217         * gdb.go/unsafe.exp: Likewise.
10218         * gdb.go/hello.exp: Likewise.  Also rename the remaining
10219         breakpoint marker to "breakpoint 1".
10220         * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
10221         * gdb.go/strings.go: Likewise.
10222         * gdb.go/unsafe.go: Likewise.
10223         * gdb.go/hello.go: Likewise.  Also remove the second occurrence of
10224         "set breakpoint 2 here" and rename the remaining breakpoint marker
10225         to "breakpoint 1".
10226
10227 2015-04-15  Simon Marchi  <simon.marchi@ericsson.com>
10228
10229         * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
10230         if itertools.imap is not present.
10231         * gdb.python/py-objfile.exp: Add parentheses.
10232         * gdb.python/py-type.exp: Same.
10233         * gdb.python/py-unwind-maint.py: Same.
10234
10235 2015-04-15  Yao Qi  <yao.qi@linaro.org>
10236
10237         * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
10238         of ":$ptr_size" and set its form explicitly.
10239
10240 2015-04-15  Pedro Alves  <palves@redhat.com>
10241             Yao Qi  <yao.qi@linaro.org>
10242
10243         * gdb.base/watch-bitfields.exp (test_watch_location): Increase
10244         timeout by factor of 4.
10245         (test_regular_watch): Likewise.
10246         * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
10247         * gdb.reverse/sigall-reverse.exp: Likewise.
10248         * gdb.reverse/until-precsave.exp: Likewise.
10249         * lib/gdb.exp (with_timeout_factor): New proc.
10250         (gdb_expect): Move some code to ...
10251         (get_largest_timeout): ... here.  New procedure.
10252
10253 2015-04-14  Luis Machado  <lgustavo@codesourcery.com>
10254
10255         * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10256
10257 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10258
10259         * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10260         to write to the .text section.
10261
10262 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10263
10264         * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10265         Handle the case of targets that do not provide PID information.
10266
10267 2015-04-13  Yao Qi  <yao.qi@linaro.org>
10268
10269         * lib/gdbserver-support.exp (gdb_exit): Catch exception
10270         and use expect instead of gdb_expect.
10271
10272 2015-04-13  Sergio Durigan Junior  <sergiodj@redhat.com>
10273
10274         * gdb.base/coredump-filter.exp: Rename variable "addr" to
10275         "coredump_var_addr" to avoid naming conflict with other testcases.
10276
10277 2015-04-10  Pedro Alves  <palves@redhat.com>
10278
10279         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10280         gdb_test_sequence and gdb_assert.
10281
10282 2015-04-10  Pedro Alves  <palves@redhat.com>
10283
10284         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10285         test messages that don't include the breakpoint address.
10286
10287 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10288
10289         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10290         false for some offset and width combinations which aren't
10291         supported by linux kernel.
10292
10293 2015-04-10  Pedro Alves  <palves@redhat.com>
10294
10295         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10296         procedure, factored out from ...
10297         (top level): ... here.  Add "set displaced-stepping" testing axis.
10298         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10299         parameter "displaced".  Use it.
10300         (top level): Use foreach and add "set displaced-stepping" testing
10301         axis.
10302
10303 2015-04-10  Pedro Alves  <palves@redhat.com>
10304
10305         * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10306         Remove comment.
10307         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10308         both the address of the instruction that triggers the watchpoint
10309         and the address of the instruction immediately after, and use
10310         those addresses for the test.  Fix comment.
10311
10312 2015-04-10  Pedro Alves  <palves@redhat.com>
10313
10314         * gdb.base/sigstep.exp (breakpoint_to_handler)
10315         (breakpoint_to_handler_entry): New parameter 'displaced'.  Use it.
10316         Test "backtrace" in handler.
10317         (breakpoint_over_handler): New parameter 'displaced'.  Use it.
10318         (top level): Add new "displaced" test axis to
10319         breakpoint_to_handler, breakpoint_to_handler_entry and
10320         breakpoint_over_handler.
10321
10322 2015-04-10  Pedro Alves  <palves@redhat.com>
10323
10324         PR gdb/18216
10325         * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10326
10327 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10328
10329         * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10330         (test_add_rn_pc): New function.
10331         * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10332         (top level): Invoke test_add_rn_pc.
10333
10334 2015-04-10  Pedro Alves  <palves@redhat.com>
10335
10336         PR gdb/13858
10337         * gdb.base/step-over-no-symbols.exp: New file.
10338
10339 2015-04-09  Andy Wingo  <wingo@igalia.com>
10340
10341         * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
10342         after the Python tests.
10343
10344 2015-04-08  Keith Seitz  <keiths@redhat.com>
10345
10346         PR python/16699
10347         * gdb.python/py-completion.exp: New tests for completion.
10348         * gdb.python/py-completion.py (CompleteLimit1): New class.
10349         (CompleteLimit2): Likewise.
10350         (CompleteLimit3): Likewise.
10351         (CompleteLimit4): Likewise.
10352         (CompleteLimit5): Likewise.
10353         (CompleteLimit6): Likewise.
10354         (CompleteLimit7): Likewise.
10355
10356 2015-04-08  Pedro Alves  <palves@redhat.com>
10357
10358         PR gdb/18214
10359         PR gdb/18216
10360         * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10361         function.
10362         (main): Install it as SIGUSR1 handler.
10363         * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10364         parameter.  Always use "setup" as prefix.  Toggle "set
10365         displaced-stepping" off/on depending on global.  Don't switch to
10366         thread 1 here.
10367         (top level): Add displaced stepping "off/on" test axis.  Update
10368         "setup" calls.  Wrap each subtest with with_test_prefix.  Test
10369         continuing with a queued signal in each thread.
10370
10371 2015-04-08  Pedro Alves  <palves@redhat.com>
10372
10373         * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10374         * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd.  Use
10375         gdb_breakpoint instead of gdb_test that doesn't expect anything.
10376         Return early if running to main fails.
10377         * gdb.trace/while-stepping.exp: Likewise.
10378
10379 2015-04-07  Pedro Alves  <palves@redhat.com>
10380
10381         * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10382         $gdb_spawn_id.  Use send_inferior and $inferior_spawn_id to
10383         interact with inferior program.
10384
10385 2015-04-07  Pedro Alves  <palves@redhat.com>
10386
10387         * lib/gdb.exp (inferior_spawn_id): New global.
10388         (gdb_test_multiple): Handle "-i".  Reset the spawn id to GDB's
10389         spawn id after processing the user code.
10390         (default_gdb_start): Set inferior_spawn_id.
10391         (send_inferior): New procedure.
10392         * lib/gdbserver-support.exp (gdbserver_start): Set
10393         inferior_spawn_id.
10394         (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10395
10396 2015-04-07  Pedro Alves  <palves@redhat.com>
10397
10398         * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10399         * lib/gdbserver-support.exp (gdbserver_start): Make
10400         $server_spawn_id global.
10401         (gdbserver_start): Don't wait for gdbserver's spawn id with
10402         expect_background.
10403         (close_gdbserver): New procedure.
10404         (gdb_exit): Rename the default version and reimplement.
10405
10406 2015-04-07  Pedro Alves  <palves@redhat.com>
10407
10408         * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10409         append the substituted item, not the original item.
10410
10411 2015-04-07  Pedro Alves  <palves@redhat.com>
10412
10413         * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10414         gdb_expect.
10415
10416 2015-04-07  Pedro Alves  <palves@redhat.com>
10417
10418         * gdb.base/interrupt.exp: Don't handle the case of the inferior
10419         output appearing once only.
10420
10421 2015-04-07  Pedro Alves  <palves@redhat.com>
10422
10423         * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10424         that doesn't expect anything.  Return early if running to main
10425         fails.
10426
10427 2015-04-07  Yao Qi  <yao.qi@linaro.org>
10428
10429         * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10430         (child_function): Call alarm.
10431         (main): Move call to alarm into the loop.
10432         * gdb.threads/non-stop-fair-events.exp: Build program with
10433         -DTIMEOUT=$timeout.
10434
10435 2015-04-06  Doug Evans  <xdje42@gmail.com>
10436
10437         * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10438         Fix dest parameter to board_info.
10439         (fpc_compile): Ditto.
10440         (gdb_compile_pascal): Rename dest arg to destfile.
10441
10442 2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
10443
10444         * gdb.ada/funcall_ref.exp: New file.
10445         * gdb.ada/funcall_ref/foo.adb: New file.
10446
10447 2015-04-02  Yao Qi  <yao.qi@linaro.org>
10448
10449         * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10450         is remote.
10451
10452 2015-04-02  Gary Benson <gbenson@redhat.com>
10453
10454         * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10455
10456 2015-04-01  Sasha Smundak  <asmundak@google.com>
10457
10458         * gdb.python/py-unwind-maint.c: New file.
10459         * gdb.python/py-unwind-maint.exp: New test.
10460         * gdb.python/py-unwind-maint.py: New file.
10461         * gdb.python/py-unwind.c: New file.
10462         * gdb.python/py-unwind.exp: New test.
10463         * gdb.python/py-unwind.py: New test.
10464
10465 2015-04-01  Pedro Alves  <palves@redhat.com>
10466
10467         * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10468         to fail instead of non-existent $test.
10469
10470 2015-04-01  Pedro Alves  <palves@redhat.com>
10471
10472         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10473         GDBFLAGS if not empty.
10474
10475 2015-04-01  Pierre-Marie de Rodat  <derodat@adacore.com>
10476
10477         * gdb.ada/complete.exp: Remove "multi_line".
10478         * gdb.ada/info_exc.exp: Remove "multi_line".
10479         * gdb.ada/packed_tagged.exp: Remove "multi_line".
10480         * gdb.ada/ptype_field.exp: Remove "multi_line".
10481         * gdb.ada/sym_print_name.exp: Remove "multi_line".
10482         * gdb.ada/tagged.exp: Remove "multi_line".
10483         * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10484         [multi_line ...]
10485         * gdb.btrace/delta.exp: Likewise.
10486         * gdb.btrace/exception.exp: Likewise.
10487         * gdb.btrace/function_call_history.exp: Likewise.
10488         * gdb.btrace/instruction_history.exp: Likewise.
10489         * gdb.btrace/nohist.exp: Likewise.
10490         * gdb.btrace/record_goto.exp: Likewise.
10491         * gdb.btrace/segv.exp: Likewise.
10492         * gdb.btrace/stepi.exp: Likewise.
10493         * gdb.btrace/tailcall.exp: Likewise.
10494         * gdb.btrace/unknown_functions.exp: Likewise.
10495         * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10496         * lib/gdb.exp: Add the "multi_line" helper.
10497
10498 2015-04-01  Pedro Alves  <palves@redhat.com>
10499
10500         * gdb.threads/tid-reuse.c: New file.
10501         * gdb.threads/tid-reuse.exp: New file.
10502
10503 2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
10504
10505         PR corefiles/16092
10506         * gdb.base/coredump-filter.c: New file.
10507         * gdb.base/coredump-filter.exp: Likewise.
10508
10509 2015-03-27  Petr Machata  <pmachata@redhat.com>
10510
10511         * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10512         (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10513         (Dwarf::assemble): Initialize them.
10514         (Dwarf::lines): New function.
10515
10516 2015-03-26  Jon Turney  <jon.turney@dronecode.org.uk>
10517
10518         * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10519         SYMBOL_PREFIX for x86_64-*-cygwin.
10520
10521 2015-03-26  Andy Wingo  <wingo@igalia.com>
10522
10523         PR symtab/18148
10524         * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10525         const_value but not a location.
10526         * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10527         location defined in non-main CUs are visible.
10528
10529 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10530
10531         PR testsuite/18139
10532         * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10533         Add a line number entry for the same line.
10534         * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10535         Add a line number entry for the same line.
10536
10537 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10538
10539         * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10540         .int 0.
10541         (func): Likewise.  Add .Lfunc_1 label.
10542         Use .Lfunc_1 label.
10543         * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10544         .int 0.
10545         (func): Likewise.
10546         Use .Lfunc_1 label.
10547
10548 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10549
10550         * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10551         Call gdb_compile instead to compile each .s files without debug
10552         information.
10553
10554 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10555
10556         * gdb.base/savedregs.exp (process_saved_regs): Make
10557         "Saved registers:" optional in the pattern.
10558
10559 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
10560
10561         * gdb.btrace/next.exp: Merged into step.exp.
10562         * gdb.btrace/finish.exp: Merged into step.exp.
10563         * gdb.btrace/nexti.exp: Merged into stepi.exp.
10564         * gdb.btrace/step.exp: Use record_goto.c as test file.  Avoid using
10565         "record goto" and checking the exact replay position.
10566         * gdb.btrace/stepi.exp: Choose test file based on target.  Do not
10567         check for "Recording format" in "info record" output.
10568         * gdb.btrace/record_goto.exp: Choose test file based on target.
10569         * gdb.btrace/x86-record_goto.S: Renamed into ...
10570         * gdb.btrace/x86_64-record_goto.S: ... this.
10571         * gdb.btrace/i686-record_goto.S: New.
10572         * gdb.btrace/x86-tailcall.S: Renamed into ...
10573         * gdb.btrace/x86_64-tailcall.S: ... this.
10574         * gdb.btrace/i686-tailcall.S: New.
10575         * gdb.btrace/x86-tailcall.c: Renamed into ...
10576         * gdb.btrace/tailcall.c: ... this.  Split "return ++answer" into two
10577         separate statements.  Update test.
10578         * gdb.btrace/delta.exp: Use record_goto.c as test file.
10579         * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10580         * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10581         * gdb.btrace/tailcall.exp: Choose test file based on target.
10582         * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10583
10584 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
10585
10586         * gdb.btrace/exception.exp: Increase BTS buffer size.
10587
10588 2015-03-24  Pedro Alves  <palves@redhat.com>
10589
10590         * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10591
10592 2015-03-24  Pedro Alves  <palves@redhat.com>
10593
10594         * gdb.threads/schedlock.exp (test_step): No longer expect that
10595         "set scheduler-locking step" with "next" over a function call runs
10596         threads unlocked.
10597
10598 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10599
10600         * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10601
10602 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10603
10604         PR breakpoints/16466
10605         * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10606         * gdb.mi/mi-pending.c (thread_func): New function.
10607         (int main): Add threading support required.
10608         * gdb.mi/mi-pending.exp: Add tests for this issue.
10609         * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10610         (pendfunc2): Remove stdio dependency.
10611         * gdb.mi/mi-pendshr2.c: New file.
10612
10613 2015-03-23  Keith Seitz  <keiths@redhat.com>
10614
10615         * gdb.linespec/keywords.c: New file.
10616         * gdb.linespec/keywords.exp: New file.
10617
10618 2015-03-23  Keith Seitz  <keiths@redhat.com>
10619
10620         PR gdb/18021
10621         * gdb.dwarf2/staticvirtual.exp: New test.
10622
10623 2015-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
10624
10625         * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10626         * README: Remove HP-UX and gdb.hp.
10627         (configuration):
10628         * configure: Regenerate.
10629         * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10630         gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10631         gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10632         gdb.hp/gdb.defects/Makefile.
10633         * gdb.hp/Makefile.in: File deleted.
10634         * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10635         * gdb.hp/gdb.aCC/optimize.c: File deleted.
10636         * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10637         * gdb.hp/gdb.aCC/run.c: File deleted.
10638         * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10639         * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10640         * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10641         * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10642         * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10643         * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10644         * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10645         * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10646         * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10647         * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10648         * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10649         * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10650         * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10651         * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10652         * gdb.hp/gdb.base-hp/reg.s: File deleted.
10653         * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10654         * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10655         * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10656         * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10657         * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10658         * gdb.hp/gdb.compat/Makefile.in: File deleted.
10659         * gdb.hp/gdb.compat/average.c: File deleted.
10660         * gdb.hp/gdb.compat/sum.c: File deleted.
10661         * gdb.hp/gdb.compat/xdb.c: File deleted.
10662         * gdb.hp/gdb.compat/xdb0.c: File deleted.
10663         * gdb.hp/gdb.compat/xdb0.h: File deleted.
10664         * gdb.hp/gdb.compat/xdb1.c: File deleted.
10665         * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10666         * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10667         * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10668         * gdb.hp/gdb.defects/Makefile.in: File deleted.
10669         * gdb.hp/gdb.defects/bs14602.c: File deleted.
10670         * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10671         * gdb.hp/gdb.defects/solib-d.c: File deleted.
10672         * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10673         * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10674         * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10675         * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10676         * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10677         * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10678         * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10679         * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10680         * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10681         * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10682         * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10683         * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10684         * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10685         * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10686         * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10687         * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10688         * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10689         * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10690         * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10691         * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10692         * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10693         * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10694         * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10695         * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10696         * gdb.hp/tools/odump: File deleted.
10697
10698 2015-03-19  Pedro Alves  <palves@redhat.com>
10699
10700         * gdb.threads/continue-pending-status.exp (saw_thread_2)
10701         (saw_thread_3): New globals.
10702         (top level): Increment them when an event for the corresponding
10703         thread is seen.
10704         (no thread starvation): New test.
10705
10706 2015-03-19  Pedro Alves  <palves@redhat.com>
10707
10708         * gdb.threads/continue-pending-status.c: New file.
10709         * gdb.threads/continue-pending-status.exp: New file.
10710
10711 2015-03-18  Pedro Alves  <palves@redhat.com>
10712
10713         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10714         Use gdb_is_target_remote instead of is_remote.  Use
10715         gdb_test_multiple instead of gdb_expect.  Exit early if
10716         gdb_test_multiple hits its internal matches.  Tighten stepi tests
10717         expected output.  Fail on exit with any signal, instead of just
10718         SIGILL.
10719
10720 2015-03-18  Yao Qi  <yao.qi@linaro.org>
10721
10722         PR tdep/18107
10723         * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10724         variable.
10725         * gdb.base/catch-syscall.exp: Don't skip it on
10726         aarch64*-*-linux* target.  Remove elements in all_syscalls.
10727         (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10728         target.
10729         (setup_all_syscalls): New proc.
10730
10731 2015-03-16  Yao Qi  <yao.qi@linaro.org>
10732
10733         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10734         (top level): Skip tests if valid_addr_p returns false for
10735         $cmd1 or $cmd2.
10736
10737 2015-03-11  Andy Wingo  <wingo@igalia.com>
10738
10739         * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10740
10741 2015-03-11  Yao Qi  <yao.qi@linaro.org>
10742
10743         * gdb.base/catch-syscall.exp: Fix typo in comments.
10744
10745 2015-03-11  Yao Qi  <yao.qi@linaro.org>
10746
10747         * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10748
10749 2015-03-09  Pedro Alves  <palves@redhat.com>
10750
10751         * dg-extract-results.py: Delete.
10752
10753 2015-03-09  Pedro Alves  <palves@redhat.com>
10754
10755         Merge dg-extract-results.sh from GCC upstream (r218843).
10756
10757         2014-12-17  Sergio Durigan Junior  <sergiodj@redhat.com>
10758                 * dg-extract-results.sh: Use --text with grep to avoid issues with
10759                 binary files.  Fall back to cat -v, if that doesn't work.
10760
10761 2015-03-05  Pedro Alves  <palves@redhat.com>
10762
10763         * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10764
10765 2015-03-04  Simon Marchi  <simon.marchi@ericsson.com>
10766
10767         * lib/mi-support.exp (mi_expect_interrupt): Accept
10768         alternative event for when in all-stop mode.
10769
10770 2015-03-04  Pedro Alves  <palves@redhat.com>
10771
10772         * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10773
10774 2015-03-04  Mark Kettenis  <kettenis@gnu.org>
10775
10776         * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10777
10778 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10779
10780         * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10781         regexps for GDB's current line display, accept a hex address
10782         preceding the line number.
10783
10784 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10785
10786         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10787         the 'arch1' variable for "s390*-linux*" targets.
10788
10789 2015-03-04  Pedro Alves  <palves@redhat.com>
10790
10791         * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10792         (main): Pass missing retval argument to pthread_join call.
10793
10794 2015-03-02  Pedro Alves  <palves@redhat.com>
10795
10796         * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
10797         (top level): Call do_test with non-stop as well.
10798
10799 2015-03-02  Pedro Alves  <palves@redhat.com>
10800
10801         * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
10802         -1.
10803
10804 2015-03-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10805
10806         * gdb.arch/s390-vregs.exp: New test.
10807         * gdb.arch/s390-vregs.S: New file.
10808
10809 2015-02-27  Pedro Alves  <palves@redhat.com>
10810
10811         * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
10812         call to catch_command_errors.
10813         * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
10814         catch_command_errors.
10815
10816 2015-02-27  Pedro Alves  <palves@redhat.com>
10817
10818         * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
10819         "true" for boolean result.
10820         * gdb.gdb/selftest.exp (test_with_self): Also accept full
10821         prototype of main.
10822
10823 2015-02-27  Pedro Alves  <palves@redhat.com>
10824
10825         * lib/unbuffer_output.c: New file.
10826         * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
10827         (main): Call gdb_unbuffer_output.
10828
10829 2015-02-27  Yao Qi  <yao.qi@linaro.org>
10830
10831         * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
10832         target.
10833
10834 2015-02-26  Doug Evans  <dje@google.com>
10835
10836         * gdb.cp/class2.cc (Dbase, D): New classes.
10837         (main): New local delta.
10838         * gdb.cp/class2.exp: Test printing delta.
10839         * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
10840         (dynbar): New global.
10841         * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
10842
10843 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
10844
10845         * gdb.compile/compile-ifunc.c: New file.
10846         * gdb.compile/compile-ifunc.exp: New file.
10847
10848 2015-02-26  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10849
10850         * gdb.base/structs.exp: Check for correct struct on finish.
10851
10852 2015-02-26  Yao Qi  <yao.qi@linaro.org>
10853
10854         * lib/dwarf.exp (function_range): Adjust pattern when $func_length
10855         is zero.
10856
10857 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
10858
10859         * gdb.arch/cordic.ko.bz2: New file.
10860         * gdb.arch/cordic.ko.debug.bz2: New file.
10861         * gdb.arch/ppc64-symtab-cordic.exp: New file.
10862
10863 2015-02-25  Yao Qi  <yao.qi@linaro.org>
10864
10865         * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
10866         aarch64*-*-* target.
10867
10868 2015-02-23  Pedro Alves  <palves@redhat.com>
10869
10870         * lib/gdb.exp (delete_breakpoints): Rewrite using
10871         gdb_test_multiple.
10872
10873 2015-02-23  Pedro Alves  <palves@redhat.com>
10874
10875         * gdb.base/info-os.c: Include stdlib.h.
10876
10877 2015-02-22  Doug Evans  <xdje42@gmail.com>
10878
10879         PR symtab/17855
10880         * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
10881         is read after symbols have been re-read.
10882         * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
10883         * gdb.ada/exec_changed/second.adb (Second): Ditto.
10884
10885 2015-02-21  Doug Evans  <dje@google.com>
10886
10887         * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
10888
10889 2015-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
10890
10891         PR corefiles/17808
10892         * gdb.arch/i386-biarch-core.core.bz2: New file.
10893         * gdb.arch/i386-biarch-core.exp: New file.
10894
10895 2015-02-21  Pedro Alves  <palves@redhat.com>
10896
10897         * gdb.threads/multi-create-ns-info-thr.exp: Return early if
10898         runto_main fails.
10899
10900 2015-02-20  Pedro Alves  <palves@redhat.com>
10901
10902         * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
10903         info probes.
10904
10905 2015-02-20  Pedro Alves  <palves@redhat.com>
10906
10907         * gdb.threads/multi-create-ns-info-thr.exp: New file.
10908
10909 2015-02-20  Pedro Alves  <palves@redhat.com>
10910
10911         * gdb.trace/no-attach-trace.exp: Don't run to main.  Do
10912         clean_restart before gdb_target_supports_trace.
10913
10914 2015-02-20  Pedro Alves  <palves@redhat.com>
10915
10916         PR threads/18006
10917         * gdb.threads/clone-thread_db.c: New file.
10918         * gdb.threads/clone-thread_db.exp: New file.
10919
10920 2015-02-19  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10921
10922         PR breakpoints/16812
10923         * gdb.base/catch-gdb-caused-signals.c: New file.
10924         * gdb.base/catch-gdb-caused-signals.exp: New file.
10925
10926 2015-02-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
10927
10928         * configure: Regenerated.
10929         * configure.ac: Use GDB_AC_TRANSFORM.
10930         * aclocal.m4: sinclude ../transform.m4.
10931
10932 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
10933
10934         * lib/dtrace.exp: New file.
10935         * gdb.base/dtrace-probe.exp: Likewise.
10936         * gdb.base/dtrace-probe.d: Likewise.
10937         * gdb.base/dtrace-probe.c: Likewise.
10938         * lib/pdtrace.in: Likewise.
10939         * configure.ac: Output variables with the transformed names of
10940         the strip, readelf, as and nm tools.  AC_SUBST lib/pdtrace.in.
10941         * configure: Regenerated.
10942
10943 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
10944
10945         * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
10946         expected message when trying to access $_probe_* convenience
10947         variables while not on a probe.
10948
10949 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
10950
10951         * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
10952
10953 2015-02-11  Pedro Alves  <pedro@codesourcery.com>
10954
10955         * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
10956         * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
10957
10958 2015-02-10  Doug Evans  <xdje42@gmail.com>
10959
10960         * lib/gdb.exp (gdb_load): Always return a result.
10961
10962 2015-02-10  Pedro Alves  <palves@redhat.com>
10963
10964         * gdb.threads/signal-sigtrap.c: New file.
10965         * gdb.threads/signal-sigtrap.exp: New file.
10966
10967 2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
10968
10969         * gdb.trace/no-attach-trace.c: New file.
10970         * gdb.trace/no-attach-trace.exp: New file.
10971
10972 2015-02-09  Mark Wielaard  <mjw@redhat.com>
10973
10974         * gdb.dwarf2/atomic.c: New file.
10975         * gdb.dwarf2/atomic-type.exp: Likewise.
10976
10977 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
10978
10979         * gdb.btrace/buffer-size.exp: Update "info record" output.
10980         * gdb.btrace/delta.exp: Update "info record" output.
10981         * gdb.btrace/enable.exp: Update "info record" output.
10982         * gdb.btrace/finish.exp: Update "info record" output.
10983         * gdb.btrace/instruction_history.exp: Update "info record" output.
10984         * gdb.btrace/next.exp: Update "info record" output.
10985         * gdb.btrace/nexti.exp: Update "info record" output.
10986         * gdb.btrace/step.exp: Update "info record" output.
10987         * gdb.btrace/stepi.exp: Update "info record" output.
10988         * gdb.btrace/nohist.exp: Update "info record" output.
10989
10990 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
10991
10992         * gdb.btrace/buffer-size: New.
10993
10994 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
10995
10996         * gdb.btrace/delta.exp: Update "info record" output.
10997         * gdb.btrace/enable.exp: Update "info record" output.
10998         * gdb.btrace/finish.exp: Update "info record" output.
10999         * gdb.btrace/instruction_history.exp: Update "info record" output.
11000         * gdb.btrace/next.exp: Update "info record" output.
11001         * gdb.btrace/nexti.exp: Update "info record" output.
11002         * gdb.btrace/step.exp: Update "info record" output.
11003         * gdb.btrace/stepi.exp: Update "info record" output.
11004         * gdb.btrace/nohist.exp: Update "info record" output.
11005
11006 2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
11007
11008         PR gdb/15678
11009         * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
11010
11011 2015-02-06  Pedro Alves  <palves@redhat.com>
11012
11013         * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
11014         macro.
11015         (seconds_left, again): New globals.
11016         (main): Wait seconds_left in a 1-second sleep loop instead of
11017         sleeping 180 seconds.  If 'again' is set, reset the seconds
11018         counter.
11019         * gdb.threads/attach-many-short-lived-threads.exp (test): Set
11020         'again' in the inferior before detaching.  Print the seconds left.
11021         (options): New global.
11022         (top level): Build program with -DTIMEOUT=$timeout.
11023
11024 2015-02-06  Pedro Alves  <palves@redhat.com>
11025
11026         * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
11027         determine how many seconds to pass to 'alarm'.
11028         * gdb.base/gdb-sigterm.exp (top level): Build program with
11029         -DTIMEOUT=$timeout.
11030         (do_test): Return success/failure indication.  Add more verbose
11031         logging.  Don't fail if 200 single steps are seen.  Instead, fail
11032         when the test times out.
11033         (passes): New global.
11034         (top level): Break the testing loop if testing fails on any
11035         iteration.  Use gdb_assert.
11036
11037 2015-02-04  Don Breazeal  <donb@codesourcery.com>
11038
11039         * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
11040         and initialize them.
11041         (ipc_cleanup): New function.
11042         (main): Don't declare shmid, semid, and msqid.  Add a call to
11043         atexit so that we call ipc_cleanup on exit.
11044
11045 2015-02-04  Pedro Alves  <palves@redhat.com>
11046
11047         * boards/native-extended-gdbserver.exp: Remove any target variant
11048         specifications from the board name before clearing the isremote
11049         flag from board_info.
11050
11051 2015-01-31  Doug Evans  <xdje42@gmail.com>
11052
11053         * gdb.base/maint.exp <maint print type argc>: Update expected output.
11054
11055 2015-01-31  Gary Benson <gbenson@redhat.com>
11056
11057         * gdb.base/completion.exp: Disable completion limiting for
11058         existing tests.  Add new tests to check completion limiting.
11059         * gdb.linespec/ls-errs.exp: Disable completion limiting.
11060
11061 2015-01-31  Doug Evans  <xdje42@gmail.com>
11062
11063         * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
11064
11065 2015-01-31  Doug Evans  <xdje42@gmail.com>
11066
11067         * gdb.guile/scm-section-script.c: Add duplicate inlined section script
11068         entries.  Duplicate file section script entries.
11069         * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
11070         inlined entries.  Add test for safe-path rejection.
11071         * gdb.python/py-section-script.c: Add duplicate inlined section script
11072         entries.  Duplicate file section script entries.
11073         * gdb.python/py-section-script.exp: Add tests for duplicate entries,
11074         inlined entries.  Add test for safe-path rejection.
11075
11076 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11077
11078         * gdb.ada/disc_arr_bound: New testcase.
11079
11080 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11081
11082         * gdb.ada/mi_var_array: New testcase.
11083
11084 2015-01-27  Doug Evans  <dje@google.com>
11085
11086         * gdb.python/py-objfile.exp: Add tests for objfile.username.
11087         Add test for objfile.filename, objfile.username after objfile
11088         has been unloaded.
11089
11090 2015-01-26  Joel Brobecker  <brobecker@adacore.com>
11091
11092         * gdb.python/py-lookup-type.exp (test_lookup_type): Change
11093         the second test to print the name attribute of value
11094         returned by the call to gdb.lookup_type, and adjust
11095         the expected output accordingly.
11096
11097 2015-01-25  Mark Wielaard  <mjw@redhat.com>
11098
11099         * gdb.arch/i386-bp_permanent.c (standard): New declaration.
11100         * gdb.base/disp-step-fork.c: Include unistd.h.
11101         * gdb.base/siginfo-obj.c: Include stdio.h.
11102         * gdb.base/siginfo-thread.c: Likewise.
11103         * gdb.mi/non-stop.c: Include unistd.h.
11104         * gdb.mi/nsthrexec.c: Include stdio.h.
11105         * gdb.mi/pthreads.c: Include unistd.h.
11106         * gdb.modula2/unbounded1.c (main): Declare returns int.
11107         * gdb.reverse/consecutive-reverse.c: Likewise.
11108         * gdb.threads/create-fail.c: Include unistd.h.
11109         * gdb.threads/killed.c: Likewise.
11110         * gdb.threads/linux-dp.c: Likewise.
11111         * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
11112         * gdb.threads/non-ldr-exc-2.c: Likewise.
11113         * gdb.threads/non-ldr-exc-3.c: Likewise.
11114         * gdb.threads/non-ldr-exc-4.c: Likewise.
11115         * gdb.threads/pthreads.c: Include unistd.h.
11116         (main): Declare returns int.
11117         * gdb.threads/tls-main.c (foo): New declaration.
11118         * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
11119
11120 2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
11121
11122         * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
11123         * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
11124
11125 2015-01-15  Mark Wielaard  <mjw@redhat.com>
11126
11127         * gdb.base/noreturn-return.c: New file.
11128         * gdb.base/noreturn-return.exp: New file.
11129         * gdb.base/noreturn-finish.c: New file.
11130         * gdb.base/noreturn-finish.exp: New file.
11131
11132 2015-01-23  Pedro Alves  <palves@redhat.com>
11133
11134         * gdb.threads/continue-pending-after-query.c: New file.
11135         * gdb.threads/continue-pending-after-query.exp: New file.
11136
11137 2015-01-22  Anders Granlund  <anders.granlund@ericsson.com>
11138             Simon Marchi  <simon.marchi@ericsson.com>
11139
11140         * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
11141         * gdb.base/valgrind-db-attach.exp: Same.
11142         * gdb.base/valgrind-infcall.exp: Same.
11143         * lib/mi-support.exp (default_mi_gdb_start): Same.
11144         * lib/prompt.exp (default_prompt_gdb_start): Same.
11145         * lib/gdb.exp (default_gdb_spawn): Same.
11146         (gdb_interact): New.
11147
11148
11149 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
11150
11151         * gdb.compile/compile.exp (pointer to jit function): New test.
11152
11153 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
11154
11155         * lib/gdb.exp (supports_process_record): Return true for
11156         powerpc*-*-linux*.
11157         (supports_reverse): Likewise.
11158
11159 2015-01-15  Don Breazeal  <donb@codesourcery.com>
11160
11161         * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
11162         instead of checking whether the target board is remote and
11163         use spawn_wait_for_attach instead of exec/sleep.
11164         * gdb.base/attach-twice.exp: Likewise.
11165
11166 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
11167
11168         * gdb.ada/var_arr_attrs: New testcase.
11169
11170 2015-01-14  Pedro Alves  <palves@redhat.com>
11171             Joel Brobecker  <brobecker@adacore.com>
11172
11173         PR gdb/17525
11174         * gdb.base/bp-cmds-execution-x-script.c: New file.
11175         * gdb.base/bp-cmds-execution-x-script.exp: New file.
11176         * gdb.base/bp-cmds-execution-x-script.gdb: New file.
11177
11178 2015-01-14  Pedro Alves  <palves@redhat.com>
11179
11180         PR cli/17828
11181         * gdb.base/batch-preserve-term-settings.c: New file.
11182         * gdb.base/batch-preserve-term-settings.exp: New file.
11183
11184 2015-01-13  Doug Evans  <dje@google.com>
11185
11186         * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
11187         binary.
11188
11189 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11190
11191         * Makefile.in (clean mostlyclean): Do not delete *.py.
11192
11193 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11194
11195         * gdb.python/py-lookup-type.exp: New file.
11196
11197 2015-01-12  Pedro Alves  <palves@redhat.com>
11198
11199         * gdb.python/py-prompt.exp: When the board can't spawn for attach,
11200         restore GDBFLAGS before returning.
11201
11202 2015-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
11203
11204         * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
11205         is_amd64_regs_target and is_x86_like_target.
11206
11207 2015-01-11  Doug Evans  <xdje42@gmail.com>
11208
11209         * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
11210         is given without an explicit form.
11211         * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
11212         attributes.
11213         * gdb.dwarf/corrupt.exp: Ditto.
11214         * gdb.dwarf2/enum-type.exp: Ditto.
11215         * gdb.trace/entry-values.exp: Ditto.
11216         * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
11217
11218 2015-01-11  Doug Evans  <xdje42@gmail.com>
11219
11220         PR gdb/15830
11221         * gdb.base/maint.exp: Remove references to "maint demangle".
11222         * gdb.cp/demangle.exp: Update.  "maint demangle" -> "demangle".
11223         Add tests for explicitly specifying language to demangle.
11224         * gdb.dlang/demangle.exp: Ditto.
11225
11226 2015-01-09  Pedro Alves  <palves@redhat.com>
11227
11228         * gdb.threads/non-stop-fair-events.c: New file.
11229         * gdb.threads/non-stop-fair-events.exp: New file.
11230
11231 2015-01-09  Pedro Alves  <palves@redhat.com>
11232
11233         * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
11234         the global scope.  Set a breakpoint after all threads are started
11235         rather than stepping over two source lines.  Expect the prompt.
11236         * gdb.base/watch_thread_num.c (threads_started_barrier): New
11237         global.
11238         (NUM): Now 15.
11239         (main): Use threads_started_barrier to wait for all threads to
11240         start.  Main thread no longer calls thread_function.  Exit after
11241         180 seconds.
11242         (loop): New function.
11243         (thread_function): Wait on threads_started_barrier barrier.  Call
11244         'loop' at each iteration.
11245         * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
11246         threads have started, instead of hardcoding number of "next"
11247         steps.  Use an access watchpoint instead of a write watchpoint.
11248
11249 2015-01-09  Pedro Alves  <palves@redhat.com>
11250
11251         * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
11252         (thread_func): Wait on barrier.
11253         (main): Wait for all threads to start before stopping GDB.
11254         * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11255         global.
11256         (thread1_func, thread2_func): Wait on barrier.
11257         (main): Wait for all threads to start before stopping GDB.
11258         * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11259         New global.
11260         (thread1_func, thread2_func): Wait on barrier.
11261         (main): Wait for all threads to start before stopping GDB.
11262
11263 2015-01-09  Pedro Alves  <palves@redhat.com>
11264
11265         * gdb.threads/attach-many-short-lived-threads.c: New file.
11266         * gdb.threads/attach-many-short-lived-threads.exp: New file.
11267
11268 2014-01-09  Pedro Alves  <palves@redhat.com>
11269
11270         * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11271         instead of to thread 2.
11272         * gdb.threads/signal-command-multiple-signals-pending.c (main):
11273         Add barrier around each pthread_create call instead of around all
11274         calls.
11275         * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11276         Set a break on thread_function and have the child threads hit it
11277         one at at a time.
11278
11279 2015-01-09  Pedro Alves  <palves@redhat.com>
11280
11281         * lib/gdb.exp (can_spawn_for_attach): New procedure.
11282         (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11283         false.
11284         * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11285         checking whether the target board is remote.
11286         * gdb.multi/multi-attach.exp: Likewise.
11287         * gdb.python/py-sync-interp.exp: Likewise.
11288         * gdb.server/ext-attach.exp: Likewise.
11289         * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11290         tests that need to attach, instead of checking whether the target
11291         board is remote at the top of the file.
11292
11293 2015-01-08  Yao Qi  <yao@codesourcery.com>
11294
11295         * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11296
11297 2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
11298
11299         Fix testcase compilation.
11300         * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11301
11302 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
11303
11304         * gdb.python/py-type.exp: Add a couple test about empty
11305         array creation, and negative-length array creation.
11306
11307 2015-01-02  Doug Evans  <xdje42@gmail.com>
11308
11309         * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11310
11311 2015-01-02  Doug Evans  <dje@google.com>
11312
11313         * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11314
11315 2014-12-29  Yao Qi  <yao@codesourcery.com>
11316
11317         * gdb.trace/entry-values.exp: Update comments.  Rename variable
11318         bar_call_foo to returned_from_foo.
11319
11320 2014-12-20  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
11321
11322         PR gdb/17394
11323         * gdb.linespec/break-asm-file.c: New file.
11324         * gdb.linespec/break-asm-file.exp: New file.
11325         * gdb.linespec/break-asm-file0.s: New file.
11326         * gdb.linespec/break-asm-file1.s: New file.
11327
11328 2014-12-18  Nigel Stephens  <nigel@mips.com>
11329             Maciej W. Rozycki  <macro@codesourcery.com>
11330
11331         * gdb.base/float.exp: Handle the new output from "info float" on
11332         MIPS targets.
11333
11334 2014-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
11335
11336         Fix MinGW compilation.
11337         * gdb.compile/compile-ops.exp: Update untested message if
11338         !skip_compile_feature_tests.
11339         * gdb.compile/compile-setjmp.exp: Likewise.
11340         * gdb.compile/compile-tls.exp: Likewise.
11341         * gdb.compile/compile.exp: Likewise.
11342         * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
11343         supported on this host".
11344
11345 2014-12-16  Doug Evans  <xdje42@gmail.com>
11346
11347         * boards/stabs.exp: New file.
11348
11349 2014-12-16  Andreas Arnez  <arnez@vnet.linux.ibm.com>
11350
11351         * gdb.base/completion.exp: Adjust to format changes of "maint
11352         print user-registers".
11353
11354 2014-12-16  Catalin Udma  <catalin.udma@freescale.com>
11355
11356         PR server/17457
11357         * gdb.arch/aarch64-fp.c: New file.
11358         * gdb.arch/aarch64-fp.exp: New file.
11359
11360 2014-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
11361
11362         Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11363         r210637, r210913, r211666, r215400, r215817).
11364
11365         2014-05-08  Richard Sandiford  <rdsandiford@googlemail.com>
11366                 * dg-extract-results.py: New file.
11367                 * dg-extract-results.sh: Use it if the environment seems
11368                 suitable.
11369
11370         2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
11371
11372                 * dg-extract-results.py (parse_run): Handle warnings that
11373                 are printed before a test harness is run.
11374
11375         2014-05-25  Richard Sandiford  <rdsandiford@googlemail.com>
11376
11377                 * dg-extract-results.py (Named): Remove __cmp__ method.
11378                 (output_variation): Use a key to sort variation.harnesses.
11379
11380         2014-06-14  Richard Sandiford  <rdsandiford@googlemail.com>
11381
11382                 * dg-extract-results.py: For Python 3, force sys.stdout to
11383                 handle surrogate escape sequences.
11384                 (safe_open): New function.
11385                 (output_segment, main): Use it.
11386
11387         2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>
11388
11389                 * dg-extract-results.py (Prog.result_re): Include options
11390                 in test name.
11391
11392         2014-10-02  Segher Boessenkool  <segher@kernel.crashing.org>
11393
11394                 * dg-extract-results.py (output_variation): Always sort if
11395                 do_sum.
11396
11397 2014-12-15  Simon Marchi  <simon.marchi@ericsson.com>
11398
11399         * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11400         as long as we get pagination notifications.
11401
11402 2014-12-15  Jason Merrill  <jason@redhat.com>
11403
11404         * Makefile.in (check-gdb.%): Restore.
11405         * README: Mention it.
11406
11407 2014-12-13  Joel Brobecker  <brobecker@adacore.com>
11408
11409         * gdb.ada/str_uninit: New testcase.
11410
11411 2014-12-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
11412
11413         PR symtab/17642
11414         * gdb.base/vla-stub-define.c: New file.
11415         * gdb.base/vla-stub.c: New file.
11416         * gdb.base/vla-stub.exp: New file.
11417
11418 2014-12-12  Phil Muldoon  <pmuldoon@redhat.com>
11419             Jan Kratochvil  <jan.kratochvil@redhat.com>
11420             Tom Tromey  <tromey@redhat.com>
11421
11422         * configure.ac: Add gdb.compile/.
11423         * configure: Regenerate.
11424         * gdb.compile/Makefile.in: New file.
11425         * gdb.compile/compile-ops.exp: New file.
11426         * gdb.compile/compile-ops.c: New file.
11427         * gdb.compile/compile-tls.c: New file.
11428         * gdb.compile/compile-tls.exp: New file.
11429         * gdb.compile/compile-constvar.S: New file.
11430         * gdb.compile/compile-constvar.c: New file.
11431         * gdb.compile/compile-mod.c: New file.
11432         * gdb.compile/compile-nodebug.c: New file.
11433         * gdb.compile/compile-setjmp-mod.c: New file.
11434         * gdb.compile/compile-setjmp.c: New file.
11435         * gdb.compile/compile-setjmp.exp: New file.
11436         * gdb.compile/compile-shlib.c: New file.
11437         * gdb.compile/compile.c: New file.
11438         * gdb.compile/compile.exp: New file.
11439         * lib/gdb.exp (skip_compile_feature_tests): New proc.
11440
11441 2014-12-12  Tom Tromey  <tromey@redhat.com>
11442
11443         * lib/dwarf.exp (_location): Ignore blank lines.  Allow comments.
11444         Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11445
11446 2014-12-12  Doug Evans  <dje@google.com>
11447
11448         * lib/gdb-python.exp (get_python_valueof): New function.
11449         * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11450
11451 2014-12-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11452
11453         * gdb.base/completion.exp: Add test for completion of "info
11454         registers ".
11455
11456 2014-12-12  Maciej W. Rozycki  <macro@codesourcery.com>
11457
11458         * gdb.base/func-ptrs.c: New file.
11459         * gdb.base/func-ptrs.exp: New file.
11460
11461 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11462
11463         PR breakpoints/17012
11464         * gdb.base/dprintf-detach.c: New file.
11465         * gdb.base/dprintf-detach.exp: New file.
11466
11467 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11468
11469         * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11470         * lib/gdb.exp (target_is_gdbserver): New procedure.
11471
11472 2014-12-08  Doug Evans  <dje@google.com>
11473
11474         * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11475
11476 2014-12-05  Yao Qi  <yao@codesourcery.com>
11477
11478         * gdb.guile/scm-error.exp: Remove the third argument to
11479         gdb_remote_download.
11480         * gdb.guile/scm-frame-args.exp: Likewise.
11481         * gdb.guile/scm-section-script.exp: Likewise.
11482
11483 2014-12-05  Yao Qi  <yao@codesourcery.com>
11484
11485         * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11486
11487 2014-12-04  Doug Evans  <dje@google.com>
11488
11489         * gdb.python/py-objfile.exp: Add tests for
11490         objfile.add_separate_debug_file.
11491
11492 2014-12-04  Doug Evans  <dje@google.com>
11493
11494         * lib/gdb.exp (get_build_id): New function.
11495         (build_id_debug_filename_get): Rewrite to use it.
11496         * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11497
11498 2014-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
11499
11500         * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11501         `method(long)', not just 0x0.
11502         * gdb.cp/nsalias.exp: Align code labels to 4.
11503         * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11504         * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11505         * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11506         * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11507         (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11508         * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11509
11510 2014-12-02  Doug Evans  <dje@google.com>
11511
11512         PR symtab/17602
11513         * gdb.cp/anon-ns.cc: Move guts of this file to ...
11514         * gdb.cp/anon-ns2.cc: ... here.  New file.
11515         * gdb.cp/anon-ns.exp: Update.
11516
11517 2014-12-02  Nick Bull  <nicholaspbull@gmail.com>
11518
11519         * gdb.python/py-events.py (inferior_call_handler): New.
11520         (register_changed_handler, memory_changed_handler): New.
11521         (test_events.invoke): Register new handlers.
11522         * gdb.python/py-events.exp: Add tests for inferior call,
11523         memory_changed and register_changed events.
11524
11525 2014-12-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11526
11527         * gdb.base/execl-update-breakpoints.exp: Specify the link address
11528         with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
11529         if the linker doesn't understand this.
11530
11531 2014-12-01  Simon Marchi  <simon.marchi@ericsson.com>
11532
11533         * gdb.python/python.exp: Change expected reply to help().
11534
11535 2014-12-01  Yao Qi  <yao@codesourcery.com>
11536
11537         * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
11538         AC_CONFIG_SUBDIRS(gdb.gdbtk).
11539         * configure: Re-generated.
11540
11541 2014-11-28  Siva Chandra Reddy  <sivachandra@google.com>
11542
11543         * gdb.cp/chained-calls.cc: New file.
11544         * gdb.cp/chained-calls.exp: New file.
11545         * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11546
11547 2014-11-28  Simon Marchi  <simon.marchi@ericsson.com>
11548
11549         * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11550         * gdb.dwarf2/symtab-producer.exp: Same.
11551         * gdb.gdb/python-interrupts.exp: Same.
11552         * gdb.gdb/python-selftest.exp: Same.
11553         * gdb.python/py-linetable.exp: Same.
11554         * gdb.python/py-type.exp: Same.
11555         * gdb.python/py-value-cc.exp: Same.
11556         * gdb.python/py-value.exp: Same.
11557
11558 2014-11-28  Yao Qi  <yao@codesourcery.com>
11559
11560         * gdb.base/break-probes.exp: Match library name prefixed with
11561         sysroot.
11562
11563 2014-11-27  Simon Marchi  <simon.marchi@ericsson.com>
11564
11565         * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11566         test expected output.  Add parentheses for the call to print.
11567         Remove L suffix from integers.
11568
11569 2014-11-26  Doug Evans  <dje@google.com>
11570
11571         * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11572
11573 2014-11-22  Yao Qi  <yao@codesourcery.com>
11574
11575         * gdb.trace/entry-values.c: Remove asms.
11576         (foo): Add foo_label.
11577         (bar): Add bar_label.
11578         * gdb.trace/entry-values.exp: Remove code computing  foo's
11579         length and bar's length.
11580         (Dwarf::assemble): Invoke function_range for bar and use
11581         MACRO_AT_func for foo.
11582
11583 2014-11-22  Yao Qi  <yao@codesourcery.com>
11584
11585         * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11586         and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
11587         Use .Lgcc43_procstart instead of gcc43.
11588
11589 2014-11-21  Joel Brobecker  <brobecker@adacore.com>
11590
11591         * gdb.ada/n_arr_bound: New testcase.
11592
11593 2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
11594
11595         PR breakpoints/10737
11596         * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11597         test_catch_syscall_multi_arch.
11598         (test_catch_syscall_multi_arch): New function.
11599
11600 2014-11-20  Doug Evans  <xdje42@gmail.com>
11601
11602         * gdb.base/maint.exp: Update expected output.
11603
11604 2014-11-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11605
11606         * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11607         4-byte instruction on S390.
11608
11609 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
11610
11611         * gdb.ada/arr_arr: New testcase.
11612
11613 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
11614
11615         * gdb.ada/pkd_arr_elem: New Testcase.
11616
11617 2014-11-18  Luis Machado  <lgustavo@codesourcery.com>
11618
11619         * gdb.reverse/break-precsave: Expect completion message for
11620         core file reads.
11621         * gdb.reverse/consecutive-precsave.exp: Likewise.
11622         * gdb.reverse/finish-precsave.exp: Likewise.
11623         * gdb.reverse/i386-precsave.exp: Likewise.
11624         * gdb.reverse/machinestate-precsave.exp: Likewise.
11625         * gdb.reverse/sigall-precsave.exp: Likewise.
11626         * gdb.reverse/solib-precsave.exp: Likewise.
11627         * gdb.reverse/step-precsave.exp: Likewise.
11628         * gdb.reverse/until-precsave.exp: Likewise.
11629         * gdb.reverse/watch-precsave.exp: Likewise.
11630
11631 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11632
11633         * gdb.base/bp-permanent.c: Include unistd.h.
11634         * gdb.python/py-framefilter-mi.c (main): Add return type.
11635         * gdb.python/py-framefilter.c (main): Likewise.
11636         * gdb.trace/actions-changed.c (main): Likewise.
11637
11638 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11639
11640         * gdb.mi/until.c: Add eye-catchers.
11641         * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11642         line numbers.
11643
11644 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11645
11646         * gdb.base/condbreak.exp: Drop references to removed non-prototype
11647         function header variants in break1.c.
11648         * gdb.base/ena-dis-br.exp: Likewise.
11649         * gdb.base/hbreak2.exp: Likewise.
11650         * gdb.reverse/until-precsave.exp: Drop references to removed
11651         non-prototype function header variants in ur1.c.
11652         * gdb.reverse/until-reverse.exp: Likewise.
11653
11654 2014-11-17  Petr Machata  <pmachata@redhat.com>
11655
11656         * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
11657         ${_cu_offset_size} bytes abbrev offset.
11658
11659 2014-11-15  Doug Evans  <xdje42@gmail.com>
11660
11661         PR symtab/17559
11662         * gdb.base/line-symtabs.exp: New file.
11663         * gdb.base/line-symtabs.c: New file.
11664         * gdb.base/line-symtabs.h: New file.
11665
11666 2014-11-14  Yao Qi  <yao@codesourcery.com>
11667
11668         * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11669         (func): Add label func_label.
11670         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11671         Replace low_pc and high_pc with MACRO_AT_range.
11672         Replace name, low_pc and high_pc with MACRO_AT_func.
11673
11674 2014-11-14  Yao Qi  <yao@codesourcery.com>
11675
11676         * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
11677         Replace name, low_pc and high_pc with MACRO_AT_func.
11678
11679 2014-11-14  Yao Qi  <yao@codesourcery.com>
11680
11681         * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
11682         produce debug information.
11683         * gdb.dwarf2/implptr-optimized-out.S: Removed.
11684
11685 2014-11-14  Yao Qi  <yao@codesourcery.com>
11686
11687         * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11688         object and get function length.
11689         (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11690         with MACRO_AT_func.
11691         (top-level): Replace gdb_compile and clean_restart with
11692         prepare_for_testing.
11693         * gdb.dwarf2/main.c (main): Add label main_label.
11694
11695 2014-11-14  Yao Qi  <yao@codesourcery.com>
11696
11697         * lib/dwarf.exp (function_range): New procedure.
11698         (Dwarf::_handle_macro_at_func): New procedure.
11699         (Dwarf::_handle_macro_at_range): New procedure.
11700         (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11701
11702 2014-11-14  Yao Qi  <yao@codesourcery.com>
11703
11704         * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11705         (_handle_attribute): New procedure.
11706
11707 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11708
11709         * gdb.ada/cond_lang/foo.c (callme): Add return type.
11710         * gdb.base/call-sc.c (zed): Likewise.
11711         * gdb.base/checkpoint.c (main): Likewise.
11712         * gdb.base/dump.c (main): Likewise.
11713         * gdb.base/gcore.c (main): Likewise.
11714         * gdb.base/huge.c (main): Likewise.
11715         * gdb.base/multi-forks.c (main): Likewise.
11716         * gdb.base/pr10179-a.c (main): Likewise.
11717         * gdb.base/savedregs.c (main): Likewise.
11718         * gdb.base/sigaltstack.c (main): Likewise.
11719         * gdb.base/siginfo.c (main): Likewise.
11720         * gdb.base/structs.c (zed): Likewise.
11721         * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11722         * gdb.mi/mi-syn-frame.c (main): Likewise.
11723         * gdb.mi/until.c (foo, main): Likewise.
11724         * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11725         * gdb.base/solib-weak.c (foo): Declare.
11726         * gdb.base/attach-twice.c: Include stdio.h.
11727         * gdb.base/weaklib1.c: Likewise.
11728         * gdb.base/weaklib2.c: Likewise.
11729         * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11730         * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11731         unistd.h.
11732         * gdb.base/attach-pie-misread.c: Include stdlib.h.
11733         * gdb.mi/mi-exit-code.c: Likewise.
11734         * gdb.base/break-interp-lib.c: Include string.h.
11735         * gdb.base/coremaker.c: Likewise.
11736         * gdb.base/testenv.c: Likewise.
11737         * gdb.python/py-finish-breakpoint.c: Likewise.
11738         * gdb.base/inferior-died.c: Include sys/wait.h.
11739         * gdb.base/fileio.c: Include time.h.
11740         * gdb.base/async-shell.c: Include unistd.h.
11741         * gdb.base/dprintf-non-stop.c: Likewise.
11742         * gdb.base/info-os.c: Likewise.
11743         * gdb.mi/mi-console.c: Likewise.
11744         * gdb.mi/watch-nonstop.c: Likewise.
11745         * gdb.python/py-events.c: Likewise.
11746         * gdb.base/async.c (baz): Move up before its invocation.
11747         * gdb.base/code_elim2.c (my_global_func): Likewise.
11748         * gdb.base/skip-solib-lib.c (multiply): Likewise.
11749         * gdb.base/advance.c (func2): Likewise.
11750
11751 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11752
11753         * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11754         variant.
11755         * gdb.base/annota3.c: Likewise.
11756         * gdb.base/async.c: Likewise.
11757         * gdb.base/average.c: Likewise.
11758         * gdb.base/call-ar-st.c: Likewise.
11759         * gdb.base/call-rt-st.c: Likewise.
11760         * gdb.base/call-sc.c: Likewise.
11761         * gdb.base/call-strs.c: Likewise.
11762         * gdb.base/ending-run.c: Likewise.
11763         * gdb.base/execd-prog.c: Likewise.
11764         * gdb.base/exprs.c: Likewise.
11765         * gdb.base/foll-exec.c: Likewise.
11766         * gdb.base/foll-fork.c: Likewise.
11767         * gdb.base/foll-vfork.c: Likewise.
11768         * gdb.base/funcargs.c: Likewise.
11769         * gdb.base/gcore.c: Likewise.
11770         * gdb.base/jump.c: Likewise.
11771         * gdb.base/langs0.c: Likewise.
11772         * gdb.base/langs1.c: Likewise.
11773         * gdb.base/langs2.c: Likewise.
11774         * gdb.base/mips_pro.c: Likewise.
11775         * gdb.base/nodebug.c: Likewise.
11776         * gdb.base/opaque0.c: Likewise.
11777         * gdb.base/opaque1.c: Likewise.
11778         * gdb.base/recurse.c: Likewise.
11779         * gdb.base/run.c: Likewise.
11780         * gdb.base/scope0.c: Likewise.
11781         * gdb.base/scope1.c: Likewise.
11782         * gdb.base/setshow.c: Likewise.
11783         * gdb.base/setvar.c: Likewise.
11784         * gdb.base/shmain.c: Likewise.
11785         * gdb.base/shr1.c: Likewise.
11786         * gdb.base/shr2.c: Likewise.
11787         * gdb.base/sigall.c: Likewise.
11788         * gdb.base/signals.c: Likewise.
11789         * gdb.base/so-indr-cl.c: Likewise.
11790         * gdb.base/solib2.c: Likewise.
11791         * gdb.base/structs.c: Likewise.
11792         * gdb.base/sum.c: Likewise.
11793         * gdb.base/vforked-prog.c: Likewise.
11794         * gdb.base/watchpoint.c: Likewise.
11795         * gdb.reverse/shr2.c: Likewise.
11796         * gdb.reverse/until-reverse.c: Likewise.
11797         * gdb.reverse/ur1.c: Likewise.
11798         * gdb.reverse/watch-reverse.c: Likewise.
11799
11800 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11801
11802         * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
11803         variant.
11804         * gdb.base/sepdebug.exp: Drop references to removed code.
11805
11806 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11807
11808         * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
11809         variant.  Preserve original line numbering.
11810         * gdb.base/list1.c: Likewise.
11811
11812 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11813
11814         * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11815         variant.
11816         * gdb.base/break1.c: Likewise.
11817         * gdb.base/break.exp: Drop references to removed code.
11818
11819 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11820
11821         * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
11822         variant.
11823
11824 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11825
11826         * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
11827
11828 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11829
11830         * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
11831         logic into perform_all_tests() and invoke it with and without
11832         function header prototypes.
11833         (do_function_calls): Remove conditional XFAIL for PR 5318.
11834         (rerun_and_prepare): Remove duplicate code.
11835         (perform_all_tests): New.  Main logic moved here.
11836
11837 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11838
11839         * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
11840         code guarded by #ifdef NO_PROTOTYPES.
11841         (t_double_many_args): Likewise.
11842         (DEF_FUNC_MANY_ARGS_1): Likewise.
11843         (DEF_FUNC_VALUES_1): Likewise.
11844         (t_structs_ldc): Renamed from t_structs_fc in conditional code
11845         guarded by #ifdef PROTOTYPES.
11846
11847 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11848
11849         * gdb.mi/mi-console.c: Add eye-catcher.
11850         * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
11851         instead of literal line number.
11852
11853 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11854
11855         * gdb.base/shr2.c: Add eye-catcher.
11856         * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
11857         line number.
11858
11859 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11860
11861         * gdb.base/jump.c: Add eye-catchers.
11862         * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
11863         numbers.
11864
11865 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11866
11867         * gdb.base/execd-prog.c: Add eye-catchers.
11868         * gdb.base/foll-exec.c: Likewise.
11869         * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
11870         line numbers.
11871
11872 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11873
11874         * gdb.base/ending-run.c: Add eye-catchers.
11875         * gdb.base/ending-run.exp: Refer to eye-catchers instead of
11876         literal line numbers.
11877
11878 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11879
11880         * gdb.base/call-rt-st.c: Add eye-catchers.
11881         * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
11882         literal line numbers.
11883
11884 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11885
11886         * gdb.base/call-ar-st.c: Add eye-catchers.
11887         * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
11888         literal line numbers.
11889
11890 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11891
11892         * gdb.base/average.c: Add eye-catchers.
11893         * gdb.base/sum.c: Likewise.
11894         * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
11895         regexps dynamically.
11896
11897 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11898
11899         * gdb.base/solib1.c: Add eye-catchers.
11900         * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
11901         literal line numbers.
11902
11903 2014-11-12  Pedro Alves  <palves@redhat.com>
11904
11905         * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
11906         leader has exited.
11907
11908 2014-11-12  Pedro Alves  <palves@redhat.com>
11909
11910         * gdb.arch/i386-bp_permanent.c: New file.
11911         * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
11912         (srcfile): Set to i386-bp_permanent.c.
11913         (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
11914         that stepi does not execute the 'leave' instruction, instead of
11915         testing it does execute.
11916         * gdb.base/bp-permanent.c: New file.
11917         * gdb.base/bp-permanent.exp: New file.
11918
11919 2014-11-10  Doug Evans  <xdje42@gmail.com>
11920
11921         PR symtab/17564
11922         * gdb.base/symtab-search-order.exp: New file.
11923         * gdb.base/symtab-search-order.c: New file.
11924         * gdb.base/symtab-search-order-1.c: New file.
11925         * gdb.base/symtab-search-order-shlib-1.c: New file.
11926
11927 2014-11-07  Pedro Alves  <palves@redhat.com>
11928
11929         PR gdb/17511
11930         * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
11931         i?86-*-linux*.
11932
11933 2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
11934
11935         PR c++/17494
11936         * gdb.cp/pr17494.cc: New file.
11937         * gdb.cp/pr17494.exp: New file.
11938
11939 2014-11-02  Yao Qi  <yao@codesourcery.com>
11940
11941         * gdb.python/python.exp: Get working directory and match the
11942         output of "set extended-prompt \\w " with it.
11943
11944 2014-10-30  Doug Evans  <dje@google.com>
11945
11946         * gdb.python/py-objfile.exp: Add tests for setting random attributes
11947         in objfiles.
11948         * gdb.python/py-progspace.exp: Add tests for setting random attributes
11949         in progspaces.
11950
11951 2014-10-30  Janis Johnson  <janisjo@codesourcery.com>
11952
11953         * gdb.base/fullpath-expand.exp: Skip for a remote host.
11954         * gdb.base/realname-expand.exp: Likewise.
11955         * gdb.linespec/macro-relative.exp: Likewise.
11956
11957 2014-10-29  Pedro Alves  <palves@redhat.com>
11958
11959         PR gdb/17408
11960         * gdb.threads/schedlock.c (some_function): New function.
11961         (call_function): New global.
11962         (MAYBE_CALL_SOME_FUNCTION): New macro.
11963         (thread_function): Call it.
11964         * gdb.threads/schedlock.exp (get_args): Add description parameter,
11965         and use it instead of a global counter.  Adjust all callers.
11966         (get_current_thread): Use "find current thread" for test message
11967         here rather than having all callers pass down the same string.
11968         (goto_loop): New procedure, factored out from ...
11969         (my_continue): ... this.
11970         (step_ten_loops): Change parameter from test message to command to
11971         use.  Adjust.
11972         (list_count): Delete global.
11973         (check_result): New procedure, factored out from duplicate top
11974         level code.
11975         (continue tests): Wrap in with_test_prefix.
11976         (test_step): New procedure, factored out from duplicate top level
11977         code.
11978         (top level): Test "step" in combination with all scheduler-locking
11979         modes.  Test "next" in combination with all scheduler-locking
11980         modes, and in combination with stepping over a function call or
11981         not.
11982         * gdb.threads/next-bp-other-thread.c: New file.
11983         * gdb.threads/next-bp-other-thread.exp: New file.
11984
11985 2014-10-29  Pedro Alves  <palves@redhat.com>
11986
11987         PR python/17372
11988         * gdb.python/python.exp: Test a multi-line command that spawns
11989         interactive Python.
11990         * gdb.base/multi-line-starts-subshell.exp: New file.
11991
11992 2014-10-29  Yao Qi  <yao@codesourcery.com>
11993
11994         * gdb.base/fileio.exp: Make directories on host.
11995
11996 2014-10-29  Yao Qi  <yao@codesourcery.com>
11997
11998         * gdb.base/fileio.c (test_write): Close the file.
11999
12000 2014-10-28  Pedro Alves  <palves@redhat.com>
12001
12002         PR gdb/12623
12003         * gdb.base/sigstep.c (no_handler): New global.
12004         (main): If 'no_handler is true, set the signal handlers to
12005         SIG_IGN.
12006         * gdb.base/sigstep.exp (breakpoint_over_handler): Add
12007         with_sw_watch and no_handler parameters.  Handle them.
12008         (top level) <stepping over handler when stopped at a breakpoint
12009         test>: Add a test axis for testing with a software watchpoint, and
12010         another for testing with the signal handler set to SIG_IGN.
12011         * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
12012         * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
12013
12014 2014-10-28  Pedro Alves  <palves@redhat.com>
12015
12016         PR gdb/17511
12017         * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
12018         * gdb.base/sigstep.exp (other_handler_location): New global.
12019         (advance): Support stepping into the signal handler, and running
12020         commands while in the handler.
12021         (in_handler_map): New global.
12022         (top level): In the advance test, add combinations for getting
12023         into the handler with stepping commands, and for running commands
12024         in the handler.  Add comment descripting the advancei tests.
12025
12026 2014-10-28  Pedro Alves  <palves@redhat.com>
12027
12028         * gdb.base/sigstep.exp: Use build_executable instead of
12029         prepare_for_testing.
12030         (top level): Move code that starts GDB, runs to main and creates a
12031         display to ...
12032         (restart): ... this new procedure.
12033         (top level): Move backtrace from signal handler test to ...
12034         (validate_backtrace): ... this new procedure.
12035         (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
12036         with_test_prefix.  Always restart GDB.
12037         (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
12038         with_test_prefix.  Always restart GDB.  No need to delete
12039         breakpoints after the test.
12040         (test_skip_handler): Remove prefix parameter.
12041         (skip_over_handler, breakpoint_to_handler)
12042         (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
12043         parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
12044         restart GDB.  No need to delete breakpoints after the test.
12045         (top level): Use foreach to call the test procedures with
12046         different commands.
12047
12048 2014-10-28  Pedro Alves  <palves@redhat.com>
12049
12050         * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
12051         instead of GNATS numbers.
12052         * gdb.base/sigbpt.exp: Likewise.
12053         * gdb.base/siginfo.exp: Likewise.
12054         * gdb.base/sigstep.exp: Likewise.
12055
12056 2014-10-27  Pedro Alves  <palves@redhat.com>
12057
12058         * gdb.base/sigstep.c (dummy): New global.
12059         (main): Issue a couple writes to the new global.
12060         * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
12061         procedures.
12062         (skip_over_handler): Use test_skip_handler.
12063         (top level): Call skip_over_handler for stepi and nexti too.
12064         (breakpoint_over_handler): Use test_skip_handler.
12065         (top level): Call breakpoint_over_handler for stepi and nexti too.
12066
12067 2014-10-27  Yao Qi  <yao@codesourcery.com>
12068
12069         * gdb.trace/tfile.c (adjust_function_address)
12070         [__powerpc64__ && _CALL_ELF != 2]: Get function address from
12071         function descriptor.
12072
12073 2014-10-24  Don Breazeal  <donb@codesourcery.com>
12074
12075         * gdb.base/foll-fork.exp (test_follow_fork,
12076         catch_fork_child_follow): Check for updated fork messages emitted
12077         from infrun.c.
12078         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
12079         vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
12080         vfork_and_exec_child_follow_through_step): Check for updated vfork
12081         messages emitted from infrun.c.
12082
12083 2014-10-24  Pedro Alves  <palves@redhat.com>
12084
12085         * gdb.base/corefile.exp: Remove references to ultrix.
12086         * gdb.base/interrupt.exp: Likewise.
12087         * gdb.base/whatis.exp: Likewise.
12088         * gdb.gdb/selftest.exp: Likewise.
12089         * gdb.threads/manythreads.exp: Likewise.
12090         * gdb.threads/print-threads.exp: Likewise.
12091         * gdb.threads/pthreads.exp:: Likewise.
12092         * gdb.threads/schedlock.exp: Likewise.
12093
12094 2014-10-24  Siva Chandra Reddy  <sivachandra@google.com>
12095
12096         * gdb.cp/non-trivial-retval.cc: Add a test case.
12097         * gdb.cp/non-trivial-retval.exp: Add a test.
12098
12099 2014-10-20  Yao Qi  <yao@codesourcery.com>
12100
12101         * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
12102         * gdb.python/py-objfile-script-gdb.py: New file.
12103         * gdb.python/py-objfile-script.exp: Update reference to
12104         py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
12105         of remote_download.  Remove the dest file.
12106
12107 2014-10-20  Yao Qi  <yao@codesourcery.com>
12108
12109         * gdb.base/checkpoint.exp: Don't remove file copied on host.
12110         * gdb.base/step-line.exp: Likewise.
12111         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12112         * gdb.dwarf2/dw2-basic.exp: Likewise.
12113         * gdb.dwarf2/dw2-compressed.exp: Likewise.
12114         * gdb.dwarf2/dw2-filename.exp: Likewise.
12115         * gdb.dwarf2/dw2-intercu.exp: Likewise.
12116         * gdb.dwarf2/dw2-intermix.exp: Likewise.
12117         * gdb.dwarf2/dw2-producer.exp: Likewise.
12118         * gdb.dwarf2/mac-fileno.exp: Likewise.
12119         * gdb.python/py-frame-args.exp: Likewise.
12120         * gdb.python/py-framefilter.exp: Likewise.
12121         * gdb.python/py-mi.exp: Likewise.
12122         * gdb.python/py-objfile-script.exp: Likewise
12123         * gdb.python/py-pp-integral.exp: Likewise.
12124         * gdb.python/py-pp-re-notag.exp: Likewise.
12125         * gdb.python/py-prettyprint.exp: Likewise.
12126         * gdb.python/py-section-script.exp: Likewise.
12127         * gdb.python/py-typeprint.exp: Likewise.
12128         * gdb.python/py-xmethods.exp: Likewise.
12129         * gdb.stabs/weird.exp: Likewise.
12130         * gdb.xml/tdesc-regs.exp: Likewise.
12131
12132 2014-10-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
12133
12134         * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
12135         (out_cu): Use addr_len for the size of addresses.
12136         (out_line): Likewise.  Size DW_LNE_set_address instruction
12137         according to addr_len.
12138         * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
12139         (FUNC): Add START_INSNS to definition.
12140
12141 2014-10-18  Yao Qi  <yao@codesourcery.com>
12142
12143         * gdb.base/argv0-symlink.exp: Check argv[0] value if
12144         gdb_has_argv0 return true.
12145         * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
12146         check [target_info exists noargs], check [gdb_has_argv0]
12147         instead.
12148         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12149         * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
12150         procedures.
12151
12152 2014-10-17  Doug Evans  <dje@google.com>
12153
12154         * gdb.python/py-events.exp: Update expected output for clear_objfiles
12155         event.
12156         * gdb.python/py-events.py: Add clear_objfiles event.
12157
12158 2014-10-17  Doug Evans  <dje@google.com>
12159
12160         * gdb.python/py-objfile.exp: Test progspace attribute.
12161
12162 2014-10-17  Luis Machado  <lgustavo@codesourcery.com>
12163
12164         * gdb.guile/scm-breakpoint.exp: Do not assume any
12165         directory separators when matching source file paths.
12166         * gdb.python/py-breakpoint.exp: Likewise.
12167         * gdb.reverse/break-precsave.exp: Likewise.
12168         * gdb.reverse/break-reverse.exp: Likewise.
12169         * gdb.reverse/consecutive-precsave.exp: Likewise.
12170         * gdb.reverse/finish-precsave.exp: Likewise.
12171         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
12172         * gdb.reverse/finish-reverse.exp: Likewise.
12173         * gdb.reverse/i386-precsave.exp: Likewise.
12174         * gdb.reverse/i387-env-reverse.exp: Likewise.
12175         * gdb.reverse/i387-stack-reverse.exp: Likewise.
12176         * gdb.reverse/machinestate-precsave.exp: Likewise.
12177         * gdb.reverse/machinestate.exp: Likewise.
12178         * gdb.reverse/sigall-precsave.exp: Likewise.
12179         * gdb.reverse/solib-precsave.exp: Likewise.
12180         * gdb.reverse/step-precsave.exp: Likewise.
12181         * gdb.reverse/until-precsave.exp: Likewise.
12182         * gdb.reverse/watch-precsave.exp: Likewise.
12183         * gdb.reverse/watch-reverse.exp: Likewise.
12184
12185 2014-10-17  Yao Qi  <yao@codesourcery.com>
12186
12187         * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
12188         * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
12189
12190 2014-10-17  Pedro Alves  <palves@redhat.com>
12191
12192         PR gdb/17471
12193         * gdb.base/bg-execution-repeat.c: New file.
12194         * gdb.base/bg-execution-repeat.exp: New file.
12195
12196 2014-10-17  Pedro Alves  <palves@redhat.com>
12197
12198         PR gdb/17300
12199         * gdb.base/continue-all-already-running.c: New file.
12200         * gdb.base/continue-all-already-running.exp: New file.
12201
12202 2014-10-17  Pedro Alves  <palves@redhat.com>
12203
12204         PR gdb/17472
12205         * gdb.base/annota-input-while-running.c: New file.
12206         * gdb.base/annota-input-while-running.exp: New file.
12207
12208 2014-10-17  Pedro Alves  <palves@redhat.com>
12209
12210         * gdb.base/callfuncs.exp: emove references to osf.
12211         * gdb.base/sigall.exp: Likewise.
12212         * gdb.gdb/selftest.exp: Likewise.
12213         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12214         * gdb.mi/non-stop.c: Likewise.
12215         * gdb.mi/pthreads.c: Likewise.
12216         * gdb.reverse/sigall-precsave.exp: Likewise.
12217         * gdb.reverse/sigall-reverse.exp: Likewise.
12218         * gdb.threads/pthreads.c: Likewise.
12219         * gdb.threads/pthreads.exp: Likewise.
12220
12221 2014-10-17  Yao Qi  <yao@codesourcery.com>
12222
12223         * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
12224         check 'target_info exists noargs'.
12225         (test_command_prompt_position): Likewise.
12226         (progvar_simple_if_test): Don't check 'target_info exists noargs'.
12227         Remove "set args".
12228         (progvar_simple_while_test): Likewise.
12229         (progvar_complex_if_while_test): Likewise.
12230         (if_while_breakpoint_command_test): Likewise.
12231         (infrun_breakpoint_command_test): Likewise.
12232         (breakpoint_command_test): Likewise.
12233         (watchpoint_command_test): Likewise.
12234         (bp_deleted_in_command_test): Likewise.
12235         (temporary_breakpoint_commands): Likewise.
12236
12237 2014-10-16  Yao Qi  <yao@codesourcery.com>
12238
12239         * gdb.base/remotetimeout.exp: Remove noargs checking.
12240
12241 2014-10-15  Pedro Alves  <palves@redhat.com>
12242
12243         PR breakpoints/9649
12244         * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
12245         * gdb.base/breakpoint-in-ro-region.exp
12246         (probe_target_hardware_step): New procedure.
12247         (top level): Probe hardware stepping and hardware breakpoint
12248         support.  Test stepping through a read-only region, with both
12249         "breakpoint auto-hw" on and off and both "always-inserted" on and
12250         off.
12251
12252 2014-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
12253
12254         * gdb.dlang/demangle.exp: Update for demangling changes.
12255
12256 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12257
12258         * gdb.cp/non-trivial-retval.cc: Add new test cases.
12259         * gdb.cp/non-trivial-retval.exp: Add new tests.
12260
12261 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12262
12263         PR c++/13403
12264         PR c++/15154
12265         * gdb.cp/non-trivial-retval.cc: New file.
12266         * gdb.cp/non-trivial-retval.exp: New file.
12267
12268 2014-10-15  Yao Qi  <yao@codesourcery.com>
12269
12270         * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12271         remote host.
12272
12273 2014-10-15  Yao Qi  <yao@codesourcery.com>
12274
12275         * gdb.python/py-symbol.exp: Match file base name if host is
12276         remote, otherwise match file name with dir name.
12277         * gdb.python/py-symtab.exp: Likewise.
12278         * gdb.python/python.exp: Likewise.
12279
12280 2014-10-15  Yao Qi  <yao@codesourcery.com>
12281
12282         * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12283         pattern.
12284         * gdb.python/py-symtab.exp: Likewise.
12285         * gdb.python/python.exp: Remove trailing ".*".  Fix typo
12286         locationn.
12287
12288 2014-10-14  Joel Brobecker  <brobecker@adacore.com>
12289
12290         * gdb.ada/addr_arith: New testcase.
12291
12292 2014-10-14  Maciej W. Rozycki  <macro@codesourcery.com>
12293
12294         * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12295         * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12296         * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12297         * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12298
12299 2014-10-14  Sergio Durigan Junior  <sergiodj@redhat.com>
12300
12301         * gdb.arch/stap-eval-lang-ada.S: Likewise.
12302         * gdb.arch/stap-eval-lang-ada.c: Likewise.
12303         * gdb.arch/stap-eval-lang-ada.exp: New file.
12304
12305 2014-10-14  Yao Qi  <yao@codesourcery.com>
12306
12307         * gdb.mi/mi-var-child.c (nothing1): New function.
12308         (nothing2): New function.
12309         (do_children_tests): Set function pointers by nothing1 and
12310         nothing2.
12311         * gdb.mi/mi-var-child.exp: Step over new added statements.
12312         Update test to match the new output.
12313         * gdb.mi/var-cmd.c (nothing1): New function.
12314         (nothing2): New function.
12315         (do_children_tests): Set function pointers by  nothing1 and
12316         nothing2.
12317         * gdb.mi/mi-var-display.exp: Update test to match output.
12318         Step to the line specified by $line_dct_nothing.
12319         Increase the number of lines to step.
12320
12321 2014-10-14  Yao Qi  <yao@codesourcery.com>
12322
12323         * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12324         tests.
12325         * gdb.mi/mi2-var-child.exp: Likewise.
12326
12327 2014-10-13  Doug Evans  <dje@google.com>
12328
12329         * gdb.python/py-objfile.exp: Change name of file name test.
12330
12331 2014-10-13  Doug Evans  <dje@google.com>
12332
12333         * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12334         from the start of the CU.
12335
12336 2014-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
12337             Yao Qi  <yao@codesourcery.com>
12338
12339         Fix "save breakpoints" for "catch" command.
12340         * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
12341         Remove -nonewline.  Match also the added "main" line.
12342
12343 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12344
12345         Fix "save breakpoints" for "disable $bpnum" command.
12346         * gdb.base/save-bp.c (main): Add label.
12347         * gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
12348
12349 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12350
12351         * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12352
12353 2014-10-11  Yao Qi  <yao@codesourcery.com>
12354
12355         * gdb.server/server-kill.exp: Execute command
12356         "set remote trace-status-packet on" before "tstatus".
12357
12358 2014-10-11  Yao Qi  <yao@codesourcery.com>
12359
12360         * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12361         (main): Call getppid.
12362         * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12363         and continue to it.  Read variable "server_pid".
12364
12365 2014-10-11  Yao Qi  <yao@codesourcery.com>
12366
12367         * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12368
12369 2014-10-11  Yao Qi  <yao@codesourcery.com>
12370
12371         * gdb.threads/thread-find.exp: Don't execute command
12372         "info threads".
12373         * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12374         * gdb.threads/linux-dp.exp: Don't check the condition
12375         $threads_created equals to zero.
12376
12377 2014-10-10  Pedro Alves  <palves@redhat.com>
12378
12379         * gdb.base/bigcore.exp: Remove references to IRIX.
12380         * gdb.base/funcargs.exp: Likewise.
12381         * gdb.base/interrupt.exp: Likewise.
12382         * gdb.base/mips_pro.exp: Likewise.
12383         * gdb.base/nodebug.exp: Likewise.
12384         * gdb.base/setvar.exp: Likewise.
12385         * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12386
12387 2014-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
12388             Pedro Alves  <palves@redhat.com>
12389
12390         PR symtab/14466
12391         * gdb.base/vdso-warning.c: New file.
12392         * gdb.base/vdso-warning.exp: New file.
12393
12394 2014-10-02  Doug Evans  <dje@google.com>
12395
12396         * gdb.base/structs.c (main): Don't run forever.
12397
12398 2014-10-02  Pedro Alves  <palves@redhat.com>
12399
12400         * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12401         (top level) <stop threads 1, stop threads 2>: Use it.
12402
12403 2014-10-02  Pedro Alves  <palves@redhat.com>
12404
12405         * gdb.threads/break-while-running.exp (test): Add new
12406         'update_thread_list' argument.  Skip "info threads" if false.
12407         (top level): Add new 'update_thread_list' axis.
12408
12409 2014-10-02  Pedro Alves  <palves@redhat.com>
12410
12411         PR breakpoints/17431
12412         * gdb.base/execl-update-breakpoints.c: New file.
12413         * gdb.base/execl-update-breakpoints.exp: New file.
12414
12415 2014-10-01  Pedro Alves  <palves@redhat.com>
12416
12417         * gdb.base/breakpoint-in-ro-region.c: New file.
12418         * gdb.base/breakpoint-in-ro-region.exp: New file.
12419
12420 2014-10-01  Simon Marchi  <simon.marchi@ericsson.com>
12421
12422         * gdb.mi/mi-exit-code.exp: New file.
12423         * gdb.mi/mi-exit-code.c: New file.
12424
12425 2014-09-30  Yao Qi  <yao@codesourcery.com>
12426
12427         * lib/prelink-support.exp (build_executable_own_libs): Error if
12428         the target isn't native.
12429
12430 2014-09-30  Yao Qi  <yao@codesourcery.com>
12431
12432         * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12433         false.
12434
12435 2014-09-22  Pedro Alves  <palves@redhat.com>
12436
12437         * gdb.threads/break-while-running.exp: New file.
12438         * gdb.threads/break-while-running.c: New file.
12439
12440 2014-09-19  Yao Qi  <yao@codesourcery.com>
12441
12442         * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12443         Invoke test.  Restart GDB with --readnow and invoke test again.
12444
12445 2014-09-19  Yao Qi  <yao@codesourcery.com>
12446
12447         * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12448         proc set_breakpoint_on_gcd_function.  Invoke
12449         set_breakpoint_on_gcd_function.  Restart GDB with --readnow and
12450         invoke set_breakpoint_on_gcd_function again.
12451
12452 2014-09-18  Doug Evans  <dje@google.com>
12453
12454         * gdb.dwarf2/symtab-producer.exp: New file.
12455
12456 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12457
12458         * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12459         * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12460         * gdb.base/global-var-nested-by-dso.c: Likewise.
12461         * gdb.base/global-var-nested-by-dso.exp: Likewise.
12462
12463 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12464             Pedro Alves  <palves@redhat.com>
12465
12466         * gdb.base/watch-bitfields.exp: Pass string other than test file
12467         name to prepare_for_testing.
12468         (watch): New procedure.
12469         (expect_watchpoint): Use with_test_prefix.
12470         (top level): Factor out tests to ...
12471         (test_watch_location, test_regular_watch): ... these new
12472         procedures, and use with_test_prefix and gdb_continue_to_end.
12473
12474 2014-09-16  Patrick Palka  <patrick@parcs.ath.cx>
12475
12476         PR breakpoints/12526
12477         * gdb.base/watch-bitfields.exp: New file.
12478         * gdb.base/watch-bitfields.c: New file.
12479
12480 2014-09-16  Pedro Alves  <palves@redhat.com>
12481
12482         * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12483         software and hardware addresses, not software address against
12484         itself.
12485
12486 2014-09-16  Pedro Alves  <palves@redhat.com>
12487
12488         * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12489         * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12490
12491 2014-09-16  Pedro Alves  <palves@redhat.com>
12492
12493         * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12494         files.
12495         * gdb.base/a2-run.exp: Remove all code guarded by istarget
12496         "*-*-vxworks*" throughout.
12497         * gdb.base/break.exp: Likewise.
12498         * gdb.base/default.exp: Likewise.
12499         * gdb.base/scope.exp: Likewise.
12500         * gdb.base/sepdebug.exp: Likewise.
12501         * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12502         throughout.
12503         * gdb.base/run.c: Likewise.
12504         * gdb.base/sepdebug.c: Likewise.
12505         * gdb.hp/gdb.aCC/run.c: Likewise.
12506         * gdb.reverse/until-reverse.c: Likewise.
12507         * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12508
12509 2014-09-16  Yao Qi  <yao@codesourcery.com>
12510
12511         * boards/local-remote-host-native.exp: New file.
12512
12513 2014-09-14  Doug Evans  <xdje42@gmail.com>
12514
12515         * gdb.threads/queue-signal.c (thread_count): New variable.
12516         (thread_count_mutex, thread_count_condvar): New variables.
12517         (incr_thread_count, wait_all_threads_running): New functions.
12518         (main): Wait for all threads to be in their thread functions.
12519
12520 2014-09-13  Doug Evans  <xdje42@gmail.com>
12521
12522         * gdb.threads/queue-signal.c: New file.
12523         * gdb.threads/queue-signal.exp: New file.
12524
12525 2014-09-13  Doug Evans  <xdje42@gmail.com>
12526
12527         * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12528         be consistent with what default_gdb_init uses.
12529         (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12530         the plain text of the prompt.  Add some logging printfs.
12531         * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12532
12533 2014-09-12  Pedro Alves  <palves@redhat.com>
12534
12535         * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12536         gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12537         * gdb.arch/i386-size-overlap.exp: Likewise.
12538         * gdb.arch/i386-size.exp: Likewise.
12539         * gdb.arch/i386-unwind.exp: Likewise.
12540         * gdb.base/a2-run.exp: Likewise.
12541         * gdb.base/break.exp: Likewise.
12542         * gdb.base/charset.exp: Likewise.
12543         * gdb.base/chng-syms.exp: Likewise.
12544         * gdb.base/commands.exp: Likewise.
12545         * gdb.base/dbx.exp: Likewise.
12546         * gdb.base/find.exp: Likewise.
12547         * gdb.base/funcargs.exp: Likewise.
12548         * gdb.base/jit-simple.exp: Likewise.
12549         * gdb.base/reread.exp: Likewise.
12550         * gdb.base/sepdebug.exp: Likewise.
12551         * gdb.base/step-bt.exp: Likewise.
12552         * gdb.cp/mb-inline.exp: Likewise.
12553         * gdb.cp/mb-templates.exp: Likewise.
12554         * gdb.objc/basicclass.exp: Likewise.
12555         * gdb.threads/killed.exp: Likewise.
12556
12557 2014-09-12  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
12558
12559         PR tdep/17379
12560         * gdb.arch/powerpc-stackless.S: New file.
12561         * gdb.arch/powerpc-stackless.exp: New file.
12562
12563 2014-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12564
12565         * gdb.base/attach.c: Include unistd.h.
12566         (main): Call alarm.  Add label postloop.
12567         * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12568         gdb_breakpoint, gdb_continue_to_breakpoint.
12569         (test_command_line_attach_run): Kill ${testpid} in one exit path.
12570
12571 2014-09-11  Pedro Alves  <palves@redhat.com>
12572
12573         PR gdb/17347
12574         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12575         * gdb.base/attach.exp (test_command_line_attach_run): New
12576         procedure.
12577         (top level): Call it.
12578
12579 2014-09-11  Pedro Alves  <palves@redhat.com>
12580
12581         * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12582         * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12583         (do_command_attach_tests): Use spawn_wait_for_attach.
12584         * gdb.base/solib-overlap.exp: Likewise.
12585         * gdb.multi/multi-attach.exp: Likewise.
12586         * gdb.python/py-prompt.exp: Likewise.
12587         * gdb.python/py-sync-interp.exp: Likewise.
12588         * gdb.server/ext-attach.exp: Likewise.
12589
12590 2014-09-11  Gabriel Krisman Bertazi  <gabriel@krisman.be>
12591
12592         * gdb.fortran/array-element.exp: Remove unexpected "continue"
12593         command in testcase.  Simplify testcase.
12594
12595 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12596
12597         * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12598
12599 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12600
12601         * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12602
12603 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12604
12605         * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12606
12607 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12608
12609         * gdb.dwarf2/dynarr-ptr.c: New file.
12610         * gdb.dwarf2/dynarr-ptr.exp: New file.
12611
12612 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12613
12614         * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12615         of 30 rather than hardcoding 120 for a slow test case.  Take the
12616         `gdb,timeout' target setting into account for this calculation.
12617         Don't extend the timeout for the test cases that don't need it.
12618
12619 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12620
12621         * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12622         a factor of 2 for a slow test case.  Take the `gdb,timeout'
12623         target setting into account for this calculation.
12624         * gdb.reverse/until-precsave.exp: Increase the timeout by
12625         a factor of 15 and 3 respectively rather than adding 120
12626         for a pair of slow test cases.  Take the `gdb,timeout'
12627         target setting into account for this calculation.
12628
12629 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12630
12631         * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12632         timeout, don't pass one down to gdb_expect.
12633         (gdb_expect): Rework timeout selection.
12634
12635 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12636
12637         * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12638         exception on timeout.
12639         (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12640         (gdbserver_start_extended): Catch any `gdbserver_start' error
12641         exceptions.
12642         (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12643         * lib/mi-support.exp (mi_gdb_target_load): Catch any
12644         `gdbserver_gdb_load' error exceptions.
12645
12646 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12647
12648         * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12649         120 on waiting for the TCP socket to open.
12650
12651 2014-09-09  Doug Evans  <xdje42@gmail.com>
12652
12653         * gdb.base/default.exp (show_conv_list): Add _caller_is,
12654         _caller_matches, _any_caller_is, _any_caller_matches.
12655
12656 2014-09-09  Doug Evans  <xdje42@gmail.com>
12657
12658         * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12659
12660 2014-09-09  Yao Qi  <yao@codesourcery.com>
12661
12662         * gdb.mi/mi-var-display.exp: Set print symbol off.
12663
12664 2014-09-07  Gabriel Krisman Bertazi  <gabriel@krisman.be>
12665
12666         PR gdb/17035
12667         * gdb.base/commands.exp: Add tests to verify user-defined
12668         commands with empty bodies.
12669         * gdb.python/py-cmd.exp: Test that we don't show user-defined
12670         python commands in `show user command`.
12671         * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12672         scheme commands in `show user command`.
12673
12674 2014-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
12675
12676         PR python/17355
12677         * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12678         * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12679         * gdb.python/py-framefilter-invalidarg.exp: New file.
12680         * gdb.python/py-framefilter-invalidarg.py: New file.
12681
12682 2014-09-06  Doug Evans  <xdje42@gmail.com>
12683
12684         PR 15276
12685         * gdb.python/py-caller-is.c: New file.
12686         * gdb.python/py-caller-is.exp: New file.
12687
12688 2014-09-05  Sergio Durigan Junior  <sergiodj@redhat.com>
12689
12690         PR gdb/17235
12691         * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12692         * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12693
12694 2014-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
12695
12696         PR fortran/17237
12697         * gdb.fortran/print-formatted.exp: New file.
12698         * gdb.fortran/print-formatted.f90: Likewise.
12699
12700 2014-09-03  Sasha Smundak  <asmundak@google.com>
12701
12702         * gdb.python/py-frame.exp: Test Frame.read_register.
12703
12704 2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
12705
12706         PR python/16699
12707         * gdb.python/py-completion.exp: New file.
12708         * gdb.python/py-completion.py: Likewise.
12709
12710 2014-08-28  Doug Evans  <dje@google.com>
12711
12712         * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12713         eax,etc. are live with values set by gdb and thus the compiler can't
12714         use them.
12715         * gdb.arch/i386-pseudo.c (main): Ditto.
12716
12717 2014-08-27  Doug Evans  <dje@google.com>
12718
12719         * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12720
12721 2014-08-25  Doug Evans  <dje@google.com>
12722
12723         * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12724         (main): Ditto.
12725
12726 2014-08-25  Doug Evans  <dje@google.com>
12727
12728         * gdb.threads/thread-execl.exp: #include <stdio.h>.
12729
12730 2014-08-24  Yao Qi  <yao@codesourcery.com>
12731
12732         * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12733         symbol off.
12734         * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12735
12736 2014-08-22  Doug Evans  <dje@google.com>
12737
12738         PR 17276
12739         * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12740         * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12741         * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12742
12743 2014-08-22  Yao Qi  <yao@codesourcery.com>
12744
12745         * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12746         * gdb.python/py-finish-breakpoint2.exp: Likewise.
12747         * gdb.python/python.exp: Likewise.  Use .py file on the host
12748         instead of the build.
12749
12750 2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
12751
12752         * gdb.threads/gcore-stale-thread.c: New file.
12753         * gdb.threads/gcore-stale-thread.exp: New file.
12754
12755 2014-08-21  Pedro Alves  <palves@redhat.com>
12756
12757         * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12758         * gdb.base/gcore-relro-pie.exp: Likewise.
12759         * gdb.base/gcore-relro.exp: Likewise.
12760         * gdb.base/gcore.exp: Likewise.
12761         * gdb.base/print-symbol-loading.exp: Likewise.
12762         * gdb.threads/gcore-thread.exp: Likewise.
12763         * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12764
12765 2014-08-20  Pedro Alves  <palves@redhat.com>
12766             Jan Kratochvil  <jan.kratochvil@redhat.com>
12767
12768         * Makefile.in (EXTRA_RULES, CC): New variables, get from
12769         configure.
12770         (EXPECT): Handle READ1 being set.
12771         (all): Depend on EXTRA_RULES.
12772         (check-read1, expect-read1, read1.so, read1): New rules.
12773         * README (Testsuite Parameters): Document the READ1 make variable.
12774         (Race detection): New section.
12775         * configure: Regenerate.
12776         * configure.ac: If build==host==target, and running under a
12777         GNU/glibc system, add read1 to the extra Makefile rules.
12778         (EXTRA_RULES): AC_SUBST it.
12779         * lib/read1.c: New file.
12780
12781 2014-08-20  Joel Brobecker  <brobecker@adacore.com>
12782
12783         * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12784         the handling of variables declared as a typedef to an array
12785         which a DW_AT_data_location attribute.
12786
12787 2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
12788             Pedro Alves  <palves@redhat.com>
12789
12790         PR symtab/14604
12791         PR symtab/14605
12792         * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12793         gdb_test.
12794
12795 2014-08-19  Pedro Alves  <palves@redhat.com>
12796
12797         * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
12798
12799 2014-08-19  Yao Qi  <yao@codesourcery.com>
12800
12801         * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
12802         right line.
12803
12804 2014-08-18  David Blaikie  <dblaikie@gmail.com>
12805
12806         * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
12807
12808 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
12809
12810         * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
12811         attribute in array range.
12812
12813 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
12814
12815         * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
12816
12817 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
12818
12819         PR c++/17132
12820         * gdb.cp/pr17132.cc: New file.
12821         * gdb.cp/pr17132.exp: New file.
12822
12823 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
12824
12825         * gdb.python/py-xmethods.py (A_getarrayind)
12826         (E_method_char_worker.__call__, E_method_int_worker.__call__):
12827         Use 'print' with function call syntax.
12828         (E_method_matcher.match): Fix tab vs space indentation mixup.
12829
12830 2014-08-15  Yao Qi  <yao@codesourcery.com>
12831
12832         * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
12833         false.
12834
12835 2014-08-15  Yao Qi  <yao@codesourcery.com>
12836
12837         * gdb.cp/casts.exp: Set print symbol off.
12838         * gdb.cp/class2.exp: Likewise.
12839         * gdb.cp/overload.exp: Likewise.
12840         * gdb.cp/templates.exp: Likewise.
12841
12842 2014-08-11  Doug Evans  <dje@google.com>
12843
12844         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
12845         (test_load_shlib): Update.
12846
12847 2014-08-09  Yao Qi  <yao@codesourcery.com>
12848
12849         * gdb.base/display.exp: Invoke is_address_zero_readable.
12850         * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
12851         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12852         * gdb.base/hbreak-unmapped.exp: Return if
12853         is_address_zero_readable returns true.
12854         * gdb.base/signest.exp: Likewise.
12855         * gdb.base/signull.exp: Likewise.
12856         * gdb.base/sigbpt.exp: Likewise.
12857         * gdb.guile/scm-disasm.exp: Do the test if
12858         is_address_zero_readable returns false.
12859         * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
12860         * gdb.python/py-arch.exp: Likewise.
12861         * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
12862         * lib/gdb.exp (is_address_zero_readable): New proc.
12863
12864 2014-08-09  Yao Qi  <yao@codesourcery.com>
12865
12866         PR testsuite/13443
12867         * gdb.mi/mi-var-display.exp: Make test messages unique.
12868
12869 2014-08-04  Tom Tromey  <tromey@redhat.com>
12870
12871         * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
12872         target 0".
12873
12874 2014-08-04  Tom Tromey  <tromey@redhat.com>
12875
12876         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
12877         "target_resume".
12878
12879 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
12880
12881         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
12882         inner_vla_struct_object_size.
12883         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
12884         as xfail.
12885
12886 2014-07-30  Pedro Alves  <palves@redhat.com>
12887
12888         * gdb.threads/signal-command-handle-nopass.exp (test): Add
12889         comment.
12890
12891 2014-07-29  Yao Qi  <yao@codesourcery.com>
12892
12893         PR gdb/17206
12894         * gdb.base/until-nodebug.exp: New.
12895
12896 2014-07-28  Doug Evans  <xdje42@gmail.com>
12897
12898         PR guile/17203
12899         * gdb.guile/scm-parameter.exp: Add tests for trying to create
12900         previously existing parameter, and previously ambiguously spelled
12901         parameter.
12902
12903 2014-07-28  Will Newton  <will.newton@linaro.org>
12904
12905         * gdb.base/varargs.exp: Remove KFAILs for ARM.
12906
12907 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
12908             Doug Evans  <xdje42@gmail.com>
12909
12910         PR guile/17146
12911         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
12912
12913 2014-07-25  Pedro Alves  <palves@redhat.com>
12914
12915         * gdb.threads/signal-command-handle-nopass.c: New file.
12916         * gdb.threads/signal-command-handle-nopass.exp: New file.
12917         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
12918         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
12919         * gdb.threads/signal-delivered-right-thread.c: New file.
12920         * gdb.threads/signal-delivered-right-thread.exp: New file.
12921
12922 2014-07-25  Pedro Alves  <palves@redhat.com>
12923
12924         * gdb.base/double-prompt-target-event-error.exp
12925         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
12926         match.
12927         (cancel_pagination_in_target_event): Rework double prompt
12928         detection.
12929         * gdb.base/paginate-after-ctrl-c-running.exp
12930         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
12931         <return>' match.
12932         * gdb.base/paginate-bg-execution.exp
12933         (test_bg_execution_pagination_return)
12934         (test_bg_execution_pagination_cancel): Remove '-notransfer
12935         <return>' matches.
12936         * gdb.base/paginate-execution-startup.exp
12937         (test_fg_execution_pagination_return)
12938         (test_fg_execution_pagination_cancel): Remove '-notransfer
12939         <return>' matches.
12940         * gdb.base/paginate-inferior-exit.exp
12941         (test_paginate_inferior_exited): Remove '-notransfer <return>'
12942         match.
12943         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
12944         * lib/gdb.exp (pagination_prompt): Run text through
12945         string_to_regexp.
12946         (gdb_test_multiple): Match $pagination_prompt instead of
12947         "<return>".
12948         (string_to_regexp): Move to lib/gdb-utils.exp.
12949
12950 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
12951
12952         * gdb.arch/amd64-entry-value-paramref.S: New file.
12953         * gdb.arch/amd64-entry-value-paramref.cc: New file.
12954         * gdb.arch/amd64-entry-value-paramref.exp: New file.
12955         * gdb.arch/amd64-optimout-repeat.S: New file.
12956         * gdb.arch/amd64-optimout-repeat.c: New file.
12957         * gdb.arch/amd64-optimout-repeat.exp: New file.
12958
12959 2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
12960
12961         PR gdb/17170
12962         * gdb.base/statistics.exp: New file.
12963
12964 2014-07-17  Doug Evans  <dje@google.com>
12965
12966         PR gdb/17170
12967         * gdb.base/maint.exp: Update testing of per-command stats.
12968
12969 2014-07-16  Pedro Alves  <palves@redhat.com>
12970
12971         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
12972         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
12973         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
12974         (tfile_write_buf): New functions.
12975         (add_memory_block): Rewrite using the above.
12976         (adjust_function_address): New function.
12977         (FUNCTION_ADDRESS): New macro.
12978         (write_basic_trace_file): Remove short_x local, and use
12979         tfile_write_16. Change type of func_addr local to unsigned long
12980         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
12981         here.  Cast argument of add_memory_block to char pointer.
12982         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
12983         (main): Remove parameters.
12984         * gdb.trace/tfile.exp: Remove nowarnings.
12985
12986 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
12987
12988         * gdb.base/debug-expr.exp: Test string evaluation with
12989         "debug expression" on.
12990
12991 2014-07-15  Pedro Alves  <palves@redhat.com>
12992
12993         * gdb.base/reread.exp: Use clean_restart.
12994
12995 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
12996
12997         * gdb.arch/avr-flash-qualifer.c: New.
12998         * gdb.arch/avr-flash-qualifer.exp: New.
12999
13000 2014-07-14  Pedro Alves  <palves@redhat.com>
13001
13002         * gdb.base/paginate-after-ctrl-c-running.c: New file.
13003         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
13004
13005 2014-07-14  Pedro Alves  <palves@redhat.com>
13006
13007         * gdb.base/double-prompt-target-event-error.c: New file.
13008         * gdb.base/double-prompt-target-event-error.exp: New file.
13009
13010 2014-07-14  Pedro Alves  <palves@redhat.com>
13011
13012         PR gdb/17072
13013         * gdb.base/paginate-inferior-exit.c: New file.
13014         * gdb.base/paginate-inferior-exit.exp: New file.
13015
13016 2014-07-14  Pedro Alves  <palves@redhat.com>
13017
13018         PR gdb/17072
13019         * gdb.base/paginate-bg-execution.c: New file.
13020         * gdb.base/paginate-bg-execution.exp: New file.
13021
13022 2014-07-14  Pedro Alves  <palves@redhat.com>
13023
13024         PR gdb/17072
13025         * gdb.base/paginate-execution-startup.c: New file.
13026         * gdb.base/paginate-execution-startup.exp: New file.
13027         * lib/gdb.exp (pagination_prompt): New global.
13028         (default_gdb_spawn): New procedure, factored out from
13029         default_gdb_spawn.
13030         (default_gdb_start): Adjust to call default_gdb_spawn.
13031         (gdb_spawn): New procedure.
13032
13033 2014-07-14  Pedro Alves  <palves@redhat.com>
13034
13035         * lib/gdb.exp (gdb_assert): New procedure.
13036         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
13037
13038 2014-07-14  Pedro Alves  <palves@redhat.com>
13039
13040         * gdb.base/execution-termios.c: New file.
13041         * gdb.base/execution-termios.exp: New file.
13042
13043 2014-07-14  Tom Tromey  <tromey@redhat.com>
13044
13045         * gdb.cp/vla-cxx.cc: New file.
13046         * gdb.cp/vla-cxx.exp: New file.
13047
13048 2014-07-14  Tom Tromey  <tromey@redhat.com>
13049
13050         * gdb.reverse/rerun-prec.c: New file.
13051         * gdb.reverse/rerun-prec.exp: New file.
13052
13053 2014-07-12  Maciej W. Rozycki  <macro@mips.com>
13054             Maciej W. Rozycki  <macro@codesourcery.com>
13055
13056         * lib/gdb-utils.exp: New file.
13057         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
13058         inline `gdb_init_command' processing.
13059         (gdb_start_cmd): Likewise.
13060         * lib/mi-support.exp (mi_run_cmd): Likewise.
13061         * README: Document `gdb_init_command' and `gdb_init_commands'.
13062
13063 2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13064
13065         Fix false FAIL running under a very long directory name.
13066         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
13067         and "set print elements 10000".  Twice.
13068
13069 2014-07-11  Yao Qi  <yao@codesourcery.com>
13070
13071         * gdb.base/exprs.exp: "set print symbol off".
13072
13073 2014-07-11  Pedro Alves  <palves@redhat.com>
13074
13075         * gdb.threads/kill.c: New file.
13076         * gdb.threads/kill.exp: New file.
13077
13078 2014-07-10  Yao Qi  <yao@codesourcery.com>
13079
13080         * gdb.trace/tfile.c (write_basic_trace_file)
13081         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
13082         address written to trace file.
13083
13084 2014-07-09  Pedro Alves  <palves@redhat.com>
13085
13086         * gdb.base/attach-wait-input.exp: New file.
13087         * gdb.base/attach-wait-input.c: New file.
13088
13089 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
13090
13091         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
13092         setting up test structures.
13093         (main): Call new test function.
13094         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
13095         test function, continue into test function and walk test
13096         structures.
13097
13098 2014-07-02  Yao Qi  <yao@codesourcery.com>
13099
13100         * gdb.trace/entry-values.c: Define labels 'foo_start' and
13101         'bar_start' at the beginning of functions 'foo' and 'bar'
13102         respectively.
13103         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
13104         instead of 'foo' and 'bar'.
13105
13106 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
13107
13108         * gdb.btrace/segv.exp: New.
13109         * gdb.btrace/segv.c: New.
13110
13111 2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
13112
13113         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
13114         instruction.
13115
13116 2014-06-30  Mark Wielaard  <mjw@redhat.com>
13117
13118         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
13119         vulture, vilify, villar): New volatile array constants.
13120         (vindictive, vegetation): New const volatile array constants.
13121         * gdb.base/volatile.exp: Test volatile and const volatile array
13122         types.
13123
13124 2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13125
13126         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
13127         target lacks support for awatch, rwatch, or hbreak.
13128
13129 2014-06-27  Yao Qi  <yao@codesourcery.com>
13130
13131         * gdb.multi/dummy-frame-restore.exp: New.
13132         * gdb.multi/dummy-frame-restore.c: New.
13133
13134 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
13135
13136         * gdb.btrace/gcore.exp: New.
13137
13138 2014-06-23  Pedro Alves  <palves@redhat.com>
13139
13140         * gdb.base/watchpoint-reuse-slot.c: New file.
13141         * gdb.base/watchpoint-reuse-slot.exp: New file.
13142
13143 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
13144
13145         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
13146         progspace's filename in 'info', 'enable' and 'disable' command
13147         tests.
13148
13149 2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
13150
13151         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
13152         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13153         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
13154
13155 2014-06-20  Gary Benson  <gbenson@redhat.com>
13156
13157         * gdb.arch/i386-avx.exp: Fix include file location.
13158         * gdb.arch/i386-sse.exp: Likewise.
13159
13160 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
13161
13162         * gdb.dlang/expression.exp: New file.
13163
13164 2014-06-19  Pedro Alves  <palves@redhat.com>
13165
13166         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
13167         out from ...
13168         (top level): ... here.  Iterate running tests under different
13169         scheduler-locking settings.
13170
13171 2014-06-18  Luis Machado  <lgustavo@codesourcery.com>
13172
13173         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
13174         to DW_FORM_addr and use non-zero addresses.
13175
13176 2014-06-18  Siva Chandra Reddy  <sivachandra@google.com>
13177
13178         PR gdb/17017
13179         * gdb.python/py-xmethods.cc: Add global function call counters and
13180         increment them in their respective functions.  Remove "cout"
13181         statements.
13182         * gdb.python/py-xmethods.exp: Make tests check the global function
13183         call counters instead of depending on inferior IO.
13184
13185 2014-06-18  Don Breazeal  <donb@codesourcery.com>
13186
13187         * gdb.base/foll-fork.exp (default_fork_parent_follow):
13188         Deleted procedure.
13189         (explicit_fork_parent_follow): Deleted procedure.
13190         (explicit_fork_child_follow): Deleted procedure.
13191         (test_follow_fork): New procedure.
13192         (do_fork_tests): Replace calls to deleted procedures with
13193         calls to test_follow_fork and reset GDB for subsequent
13194         procedure calls.
13195
13196 2014-06-17  Yao Qi  <yao@codesourcery.com>
13197
13198         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
13199         CP1252.
13200
13201 2014-06-17  Luis Machado  <lgustavo@codesourcery.com>
13202
13203         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
13204         Initialize ptr and S explicitly.
13205         (skip_type_update_when_not_use_rtti_test): Likewise.
13206
13207 2014-06-16  Keith Seitz  <keiths@redhat.com>
13208
13209         PR mi/15863
13210         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
13211         the inferior is started.
13212
13213 2014-06-16  Pedro Alves  <palves@redhat.com>
13214
13215         * gdb.base/break-main-file-remove-fail.c: New file.
13216         * gdb.base/break-main-file-remove-fail.exp: New file.
13217         * gdb.base/break-unload-file.exp: Use build_executable instead of
13218         prepare_for_testing.
13219         (test_break): New parameter "initial_load".  Handle it.
13220         (top level): Add initial_load cmdline/file axis.
13221
13222 2014-06-12  Tom Tromey  <tromey@redhat.com>
13223
13224         * gdb.base/completion.exp: Don't use directory name in test.
13225
13226 2014-06-09  Gary Benson  <gbenson@redhat.com>
13227
13228         * gdb.base/sigall.c [Functions to send signals]: Reorder to
13229         separate the always-available ANSI-standard signals from the
13230         signals that require checking.
13231         (main): Likewise.
13232         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
13233         Likewise.
13234         (main): Likewise.
13235
13236 2014-06-07  Keith Seitz  <keiths@redhat.com>
13237
13238         Revert:
13239         PR c++/16253
13240         * gdb.cp/var-tag.cc: New file.
13241         * gdb.cp/var-tag.exp: New file.
13242         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13243         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13244         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13245         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13246
13247 2014-06-06  Doug Evans  <xdje42@gmail.com>
13248
13249         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
13250
13251 2014-06-06  Pedro Alves  <palves@redhat.com>
13252
13253         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
13254         in target debug output instead of looking at RSP packets,
13255         disabling the test on any target that uses hardware stepping.
13256         Update comments.
13257
13258 2014-06-06  Pedro Alves  <palves@redhat.com>
13259
13260         * gdb.base/break-unload-file.exp: Fix typo.
13261
13262 2014-06-06  Yao Qi  <yao@codesourcery.com>
13263
13264         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13265         from "jit_function" to "^jit_function".
13266
13267 2014-06-06  Yao Qi  <yao@codesourcery.com>
13268
13269         * gdb.base/async.c (foo): Add one statement.
13270         * gdb.base/async.exp: Get the next instruction address and
13271         match the output of "nexti" by instruction address.  Match
13272         the hex address in the output of "finish".
13273
13274 2014-06-06  Gary Benson  <gbenson@redhat.com>
13275
13276         * gdb.base/call-signals.c: Remove preprocessor conditionals
13277         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13278         SIGSEGV and SIGTERM.
13279         * gdb.base/sigall.c: Likewise.
13280         * gdb.base/unwindonsignal.c: Likewise.
13281         * gdb.reverse/sigall-reverse.c: Likewise.
13282
13283 2014-06-06  Yao Qi  <yao@codesourcery.com>
13284
13285         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
13286         readable, skip the test.
13287
13288 2014-06-06  Yao Qi  <yao@codesourcery.com>
13289
13290         * gdb.threads/staticthreads.c (thread_function): Move the line
13291         setting breakpoint on forward.
13292         * gdb.threads/staticthreads.exp: Update comments.
13293
13294 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
13295
13296         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13297         "history-append! type error".
13298
13299 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
13300
13301         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13302         erroneous dprintf expected input.
13303
13304 2014-06-04  Doug Evans  <xdje42@gmail.com>
13305
13306         * gdb.guile/scm-generics.exp: Delete.
13307
13308 2014-06-04  Doug Evans  <xdje42@gmail.com>
13309
13310         * gdb.guile/scm-breakpoint.exp: Update.
13311         Add tests for breakpoint registration.
13312
13313 2014-06-04  Tom Tromey  <tromey@redhat.com>
13314
13315         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13316         VLA-in-union.
13317         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13318         inner_vla_struct, vla_union types.  Initialize objects of those
13319         types and compute their sizes.
13320
13321 2014-06-04  Nathan Sidwell  <nathan@codesourcery.com>
13322             Hui Zhu  <hui@codesourcery.com>
13323
13324         * gdb.base/fileio.exp: Add test for shell not available as well as
13325         available.
13326         * gdb.base/fileio.c (test_system): Check for shell twice.
13327
13328 2014-06-04  Yao Qi  <yao@codesourcery.com>
13329
13330         * gdb.base/auto-connect-native-target.exp: Remove redundant
13331         space from the regexp pattern.
13332
13333 2014-06-04  Yao Qi  <yao@codesourcery.com>
13334
13335         * gdb.base/default.exp: Replace "child" with "native" in
13336         regexp pattern.
13337
13338 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
13339
13340         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
13341         * gdb.python/py-xmethods.exp: New tests to test xmethods.
13342         * gdb.python/py-xmethods.py: Python script supporting the
13343         new testcase and tests.
13344
13345 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
13346             Pedro Alves  <palves@redhat.com>
13347
13348         PR breakpoints/17000
13349         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
13350         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
13351
13352 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
13353
13354         * gdb.base/subst.exp: Add tests to verify partial path matching
13355         output.
13356
13357 2014-06-03  Pedro Alves  <palves@redhat.com>
13358
13359         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13360         target that doesn't use software single-stepping.
13361
13362 2014-06-03  Pedro Alves  <palves@redhat.com>
13363
13364         PR breakpoints/17000
13365         * gdb.base/sss-bp-on-user-bp-2.c: New file.
13366         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13367
13368 2014-06-02  Doug Evans  <xdje42@gmail.com>
13369
13370         * gdb.guile/scm-parameter.exp: New file.
13371
13372 2014-06-02  Doug Evans  <xdje42@gmail.com>
13373
13374         * gdb.guile/scm-cmd.c: New file.
13375         * gdb.guile/scm-cmd.exp: New file.
13376
13377 2014-06-02  Doug Evans  <xdje42@gmail.com>
13378
13379         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13380         pretty-printer lookup.
13381         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13382         (make-pp_s-printer): Call it.
13383         (make-pretty-printer-from-dict): New function.
13384         (lookup-pretty-printer-maker-from-dict): New function.
13385         (*pretty-printer*): Simplify.
13386         (make-objfile-pp_s-printer): New function.
13387         (install-objfile-pretty-printers!): New function.
13388         (make-progspace-pp_s-printer): New function.
13389         (install-progspace-pretty-printers!): New function.
13390         * gdb.guile/scm-progspace.c: New file.
13391         * gdb.guile/scm-progspace.exp: New file.
13392
13393 2014-06-02  Pedro Alves  <palves@redhat.com>
13394
13395         * gdb.base/dprintf-bp-same-addr.c: New file.
13396         * gdb.base/dprintf-bp-same-addr.exp: New file.
13397
13398 2014-06-02  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13399
13400         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13401         * gdb.arch/powerpc-power.s: Likewise.
13402
13403 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
13404
13405         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13406
13407 2014-06-01  Yao Qi  <yao@codesourcery.com>
13408
13409         * gdb.base/watchpoint.exp (test_watch_location): Check null
13410         pointer can be dereferenced.  If not, do the test, otherwise
13411         skip it.
13412
13413 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13414
13415         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13416         results.
13417         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13418
13419 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13420
13421         * gdb.arch/amd64-invalid-stack-middle.S: New file.
13422         * gdb.arch/amd64-invalid-stack-middle.c: New file.
13423         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13424         * gdb.arch/amd64-invalid-stack-top.c: New file.
13425         * gdb.arch/amd64-invalid-stack-top.exp: New file.
13426
13427 2014-05-30  Pedro Alves  <palves@redhat.com>
13428
13429         PR breakpoints/17000
13430         * gdb.base/sss-bp-on-user-bp.c: New file.
13431         * gdb.base/sss-bp-on-user-bp.exp: New file.
13432
13433 2014-05-30  David Blaikie  <dblaikie@gmail.com>
13434
13435         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13436         gnu_inline semantics via attribute.
13437         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13438         source explicitly specifies the required semantics.
13439
13440 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
13441
13442         * gdb.reverse/sigall-reverse.exp: Fix a typo.
13443
13444 2014-05-29  Pedro Alves  <palves@redhat.com>
13445             Tom Tromey  <tromey@redhat.com>
13446
13447         * gdb.base/async-shell.exp: Don't enable target-async.
13448         * gdb.base/async.exp
13449         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13450         parameter.  Adjust.
13451         (top level): Don't test with "target-async".
13452         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13453         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13454         * gdb.base/inferior-died.exp: Don't enable target-async.
13455         * gdb.base/interrupt-noterm.exp: Likewise.
13456         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13457         * gdb.mi/mi-nonstop-exit.exp: Likewise.
13458         * gdb.mi/mi-nonstop.exp: Likewise.
13459         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13460         * gdb.mi/mi-nsintrall.exp: Likewise.
13461         * gdb.mi/mi-nsmoribund.exp: Likewise.
13462         * gdb.mi/mi-nsthrexec.exp: Likewise.
13463         * gdb.mi/mi-watch-nonstop.exp: Likewise.
13464         * gdb.multi/watchpoint-multi.exp: Adjust comment.
13465         * gdb.python/py-evsignal.exp: Don't enable target-async.
13466         * gdb.python/py-evthreads.exp: Likewise.
13467         * gdb.python/py-prompt.exp: Likewise.
13468         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13469         * gdb.server/solib-list.exp: Don't enable target-async.
13470         * gdb.threads/thread-specific-bp.exp: Likewise.
13471         * lib/mi-support.exp: Adjust to use mi-async.
13472
13473 2014-05-29  Pedro Alves  <palves@redhat.com>
13474
13475         PR gdb/13860
13476         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13477         reason, even in sync mode.
13478
13479 2014-05-29  Pedro Alves  <palves@redhat.com>
13480             Hui Zhu  <hui@codesourcery.com>
13481
13482         PR PR15693
13483         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13484         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13485         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13486         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13487
13488 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
13489
13490         * config/monitor.exp (gdb_target_monitor): Replace use of
13491         "set remotebaud" by "set serial baud".
13492
13493 2014-05-26  Andy Wingo  <wingo@igalia.com>
13494
13495         * gdb.guile/scm-breakpoint.exp:
13496         * gdb.guile/scm-gsmob.exp: Update to use plain old object
13497         properties instead of gdb-object-properties.
13498
13499 2014-05-26  Yao Qi  <yao@codesourcery.com>
13500
13501         * gdb.server/no-thread-db.exp: Specify source file name
13502         explicitly when setting a breakpoint.
13503
13504 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13505
13506         * gdb.btrace/vdso.c: New.
13507         * gdb.btrace/vdso.exp: New.
13508
13509 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13510
13511         * gdb.base/gcore.exp (capture_command_output): Move ...
13512         * lib/gdb.exp (capture_command_output): ... here.
13513
13514 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13515
13516         * gdb.btrace/data.exp: Test memory access during btrace replay.
13517
13518 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
13519
13520         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13521
13522 2014-05-21  Pedro Alves  <palves@redhat.com>
13523
13524         PR gdb/13860
13525         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13526         (top level): Test that output related to execution commands is
13527         sent to the console with CLI commands, but not with MI commands.
13528         Test that breakpoint events are always mirrored to the console.
13529         Also expect the new source line to be output after a "next" in
13530         async mode too.  Make it a pass/fail test.
13531         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13532         output.
13533         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13534
13535 2014-05-21  Pedro Alves  <palves@redhat.com>
13536
13537         * gdb.base/list.exp (build_pattern, test_list): New procedures.
13538         Use them to test variations of "list" after reaching a breakpoint.
13539         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13540         Test "list" with listsize 10 after reaching a breakpoint.
13541         * gdb.python/python.exp (decode_line current location line
13542         number): Adjust expected line number.
13543
13544 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
13545
13546         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13547         behavior for $args, pass it directly to "run".
13548
13549 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
13550
13551         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13552         30000 to 65536.
13553
13554 2014-05-21  Pedro Alves  <palves@redhat.com>
13555
13556         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13557         auto-connect-native-target off".
13558         * gdb.base/auto-connect-native-target.c: New file.
13559         * gdb.base/auto-connect-native-target.exp: New file.
13560
13561 2014-05-21  Pedro Alves  <palves@redhat.com>
13562
13563         * gdb.base/default.exp: Test "target native" instead of "target
13564         child".
13565
13566 2014-05-21  Mark Wielaard  <mjw@redhat.com>
13567
13568         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13569
13570 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
13571
13572         Fix TLS access for -static -pthread.
13573         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13574         <HAVE_TLS> (thread_function, main): Initialize it.
13575         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13576         Add clean_restart.
13577         <$have_tls != "">: Check TLSVAR.
13578
13579 2014-05-21  Pedro Alves  <palves@redhat.com>
13580
13581         * gdb.base/dcache-line-read-error.c: New.
13582         * gdb.base/dcache-line-read-error.exp: New.
13583
13584 2014-05-20  Pedro Alves  <palves@redhat.com>
13585
13586         * gdb.base/compare-sections.c: New file.
13587         * gdb.base/compare-sections.exp: New file.
13588
13589 2014-05-20  Pedro Alves  <palves@redhat.com>
13590
13591         * gdb.base/break-idempotent.c: New file.
13592         * gdb.base/break-idempotent.exp: New file.
13593
13594 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
13595
13596         * gdb.btrace/nohist.exp: New.
13597
13598 2014-05-20  Yao Qi  <yao@codesourcery.com>
13599
13600         * lib/gdb.exp (gdb_init): Set timeout if test file is under
13601         gdb.reverse directory and gdb_reverse_timeout exists in board
13602         setting.
13603         * README: Document gdb_reverse_timeout.
13604
13605 2014-05-20  Yao Qi  <yao@codesourcery.com>
13606
13607         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13608         'test_file_name'.  Treat args as a string instead of a list.
13609         (gdb_init): Rename argument 'args' by 'test_file_name'.
13610
13611 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
13612
13613         * gdb.arch/powerpc-power.exp: New file.
13614         * gdb.arch/powerpc-power.s: New file.
13615
13616 2014-05-16  Doug Evans  <dje@google.com>
13617
13618         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
13619         * gdb.base/completion.exp: Check that all expected files exist
13620         before doing file completion.
13621
13622 2014-05-16  Doug Evans  <dje@google.com>
13623
13624         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13625         Update.
13626         (do_syscall_tests_without_xml): Update.
13627
13628 2014-05-16  Pedro Alves  <palves@redhat.com>
13629
13630         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13631         instead of "unknown output after running".
13632
13633 2014-05-16  Yao Qi  <yao@codesourcery.com>
13634
13635         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
13636         file1.txt from host at the end.
13637         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13638
13639 2014-05-15  Doug Evans  <dje@google.com>
13640
13641         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13642         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13643         loading file.  Add test for TU lookup.
13644
13645 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
13646
13647         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13648         calling "-exec-arguments" or "set args" before running the
13649         inferior.
13650
13651 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
13652
13653         * lib/mi-support.exp (mi_expect_stop): Expect message for
13654         inferiors that exit with non-zero exit code.
13655
13656 2014-05-14  Yao Qi  <yao@codesourcery.com>
13657
13658         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13659         match absolute path on remote host.
13660         (test_file_list_exec_source_files): Remove "/" from the
13661         pattern.
13662
13663 2014-05-14  Yao Qi  <yao@codesourcery.com>
13664
13665         * boards/local-remote-host-notty.exp (${board}_file): New
13666         proc.
13667
13668 2014-05-07  Kyle McMartin  <kyle@redhat.com>
13669
13670         Pushed by Joel Brobecker  <brobecker@adacore.com>.
13671         * gdb.arch/aarch64-atomic-inst.c: New file.
13672         * gdb.arch/aarch64-atomic-inst.exp: New file.
13673
13674 2014-05-07  Yao Qi  <yao@codesourcery.com>
13675
13676         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13677         in current context" too.
13678
13679 2014-05-05  Keith Seitz  <keiths@redhat.com>
13680
13681         * gdb.linespec/ls-dollar.exp: Add test for linespec
13682         file:convenience_variable.
13683
13684 2014-05-05  Yao Qi  <yao@codesourcery.com>
13685
13686         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13687         traceframes into tfile and ctf trace files.  Read data from
13688         trace file and test collected data.
13689         (gdb_collect_locals_test): Likewise.
13690         (gdb_unavailable_registers_test): Likewise.
13691         (gdb_unavailable_floats): Likewise.
13692         (gdb_collect_globals_test): Likewise.
13693         (top-level): Append "ctf" to trace_file_targets if GDB
13694         supports.
13695
13696 2014-05-05  Yao Qi  <yao@codesourcery.com>
13697
13698         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13699         code to ...
13700         (gdb_collect_args_test_1): ... it.  New proc.
13701         (gdb_collect_locals_test): Move some code to ...
13702         (gdb_collect_locals_test_1): ... it.  New proc.
13703         (gdb_unavailable_registers_test): Move some code to ...
13704         (gdb_unavailable_registers_test_1): ... it.  New proc.
13705         (gdb_unavailable_floats): Move some code to ...
13706         (gdb_unavailable_floats_1): ... it.  New proc.
13707
13708 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
13709
13710         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13711         probes to test for bitness recognition.
13712         * gdb.arch/amd64-stap-optional-prefix.exp
13713         (test_probe_value_without_reg): New procedure.
13714         Add code to test for different kinds of bitness.
13715
13716 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
13717
13718         PR breakpoints/16889
13719         * gdb.arch/amd64-stap-optional-prefix.S: New file.
13720         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13721
13722 2014-05-01  Pedro Alves  <palves@redhat.com>
13723
13724         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
13725         gdb_file_cmd if no file is specified.
13726         * boards/native-extended-gdbserver.exp (gdb_load): Use the
13727         last_loaded_file to set the remote exec-file.
13728
13729 2014-05-01  Pedro Alves  <palves@redhat.com>
13730
13731         * boards/local-remote-host.exp: New file.
13732
13733 2014-05-01  Pedro Alves  <palves@redhat.com>
13734
13735         * boards/local-remote-host.exp: Rename to ...
13736         * boards/local-remote-host-notty.exp: ... this.
13737
13738 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
13739
13740         * gdb.ada/dyn_arrayidx: New testcase.
13741
13742 2014-04-26  Yao Qi  <yao@codesourcery.com>
13743
13744         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
13745         and compute the length of function main.  Save it in
13746         $main_length.
13747         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13748         (top-level): Use gdb_compile to compile objects into
13749         executable and restart GDB.  Remove invocation to
13750         prepare_for_testing.
13751
13752 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
13753             Pedro Alves  <palves@redhat.com>
13754
13755         PR server/16255
13756         * gdb.multi/multi-attach.c: New file.
13757         * gdb.multi/multi-attach.exp: New file.
13758
13759 2014-04-25  Pedro Alves  <palves@redhat.com>
13760
13761         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13762         user.
13763         (top level): Test that "set remote conditional-breakpoints-packet
13764         off" works as intended.
13765         * gdb.base/dprintf.exp: Test that "set remote
13766         breakpoint-commands-packet off" works as intended.
13767         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13768         New function.
13769         (top level): Call it.
13770         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13771         remote fast-tracepoints-packet off" works as intended.
13772         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13773         * lib/gdb.exp (gdb_is_target_remote): ... here.
13774
13775 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13776
13777         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13778         ensure clang would not discard them.
13779         * gdb.base/gdbvars.c: Ditto.
13780         * gdb.base/memattr.c: Ditto.
13781         * gdb.base/whatis.c: Ditto.
13782         * gdb.python/py-prettyprint.c: Ditto.
13783         * gdb.trace/actions.c: Ditto.
13784         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13785         ensure clang would not discard it.
13786
13787 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13788
13789         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13790         clang to emit the full definition of type required by the test
13791         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13792
13793 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13794
13795         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
13796         coax Clang into emitting the definition of the type.
13797         * gdb.cp/pr10728-x.h (y): Ditto.
13798         * gdb.cp/pr10728-y.cc (y): Ditto.
13799
13800 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13801
13802         * gdb.base/label.exp: XFAIL label related tests under Clang.
13803         * gdb.cp/cplabel.exp: Ditto.
13804         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
13805         under Clang those using labels.
13806
13807 2014-04-25  Yao Qi  <yao@codesourcery.com>
13808
13809         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
13810         double_label.
13811         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
13812         partial_label and double_label.
13813
13814 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13815
13816         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
13817
13818 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13819
13820         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
13821         of the function to work across GCC and Clang.
13822         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
13823         pointer types (const void ** const V void **).
13824
13825 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
13826             Walfred Tedeschi  <walfred.tedeschi@intel.com>
13827
13828         * Makefile.in (EXECUTABLES): Added i386-avx512.
13829         * gdb.arch/i386-avx512.c: New file.
13830         * gdb.arch/i386-avx512.exp: Likewise.
13831
13832 2014-04-23  Keith Seitz  <keiths@redhat.com>
13833
13834         * lib/mi-support.exp (mi_list_breakpoints): Delete.
13835         (mi_make_breakpoint_table): New procedure.
13836         (mi_create_breakpoint): Use mi_make_breakpoint
13837         and return the result.
13838         (mi_make_breakpoint): New procedure.
13839         (mi_build_kv_pairs): New procedure.
13840
13841         * gdb.mi/mi-break.exp: Remove unused globals,
13842         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
13843         All callers updated.
13844         * gdb.mi/mi-dprintf.exp: Use variable to track command
13845         number.
13846         Update all callers of mi_create_breakpoint and use
13847         mi_make_breakpoint_table.
13848         Remove any unused global variables.
13849         * gdb.mi/mi-nonstop.exp: Likewise.
13850         * gdb.mi/mi-nsintrall.exp: Likewise.
13851         * gdb.mi/mi-nsmoribund.exp: Likewise.
13852         * gdb.mi/mi-nsthrexec.exp: Likewise.
13853         * gdb.mi/mi-reverse.exp: Likewise.
13854         * gdb.mi/mi-simplerun.exp: Likewise.
13855         * gdb.mi/mi-stepn.exp: Likewise.
13856         * gdb.mi/mi-syn-frame.exp: Likewise.
13857         * gdb.mi/mi-until.exp: Likewise.
13858         * gdb.mi/mi-var-cp.exp: Likewise.
13859         * gdb.mi/mi-var-display.exp: Likewise.
13860         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
13861         * gdb.mi/mi2-var-child.exp: Likewise.
13862         * gdb.mi/mi-vla-c99.exp: Likewise.
13863         * lib/mi-support.exp: Likewise.
13864
13865         From Ian Lance Taylor  <iant@cygnus.com>:
13866         * lib/gdb.exp (parse_args): New procedure.
13867
13868 2014-04-23  Pedro Alves  <palves@redhat.com>
13869
13870         * gdb.base/break-unload-file.c: New file.
13871         * gdb.base/break-unload-file.exp: New file.
13872         * gdb.base/sym-file-lib.c (baz): New function.
13873         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
13874         field.
13875         (load): Store the segment's mapped size.
13876         (unload): New function.
13877         (unload_shlib): New function.
13878         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
13879         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
13880         set a breakpoint at baz, and call it.
13881         * gdb.base/sym-file.exp: New tests for stale breakpoint
13882         instructions.
13883
13884 2014-04-23  Pedro Alves  <palves@redhat.com>
13885
13886         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
13887         * gdb.base/hbreak-in-shr-unsupported.c: New file.
13888         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
13889         * gdb.base/hbreak-unmapped.c: New file.
13890         * gdb.base/hbreak-unmapped.exp: New file.
13891         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
13892         * lib/gdb.exp (gdb_is_target_remote): ... here.
13893
13894 2014-04-22  Pedro Alves  <palves@redhat.com>
13895
13896         * gdb.base/consecutive-step-over.c: New file.
13897         * gdb.base/consecutive-step-over.exp: New file.
13898
13899 2014-04-22  Pedro Alves  <palves@redhat.com>
13900
13901         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
13902         instead of send_gdb/gdb_expect.
13903
13904 2014-04-22  Yao Qi  <yao@codesourcery.com>
13905
13906         * lib/trace-support.exp (generate_tracefile): New procedure.
13907         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
13908         return 0.
13909         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
13910         if generate_tracefile returns 1.
13911
13912 2014-04-18  Tom Tromey  <palves@redhat.com>
13913             Pedro alves  <tromey@redhat.com>
13914
13915         PR backtrace/15558
13916         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
13917         with a backtrace limit.
13918         * gdb.python/py-frame-inline.exp: Test running to an inline
13919         function with a backtrace limit, and printing the newest frame.
13920         * gdb.python/py-frame-inline.c (main): Call f.
13921
13922 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13923
13924         * gdb.java/jnpe.exp: Drop srcdir from untested path.
13925
13926 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13927
13928         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
13929         Drop prefix from unsupported source file path.
13930
13931 2014-04-17  Yao Qi  <yao@codesourcery.com>
13932
13933         * lib/gdb.exp (with_target_charset): New proc.
13934         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
13935         with_target_charset.
13936         (test_print_strings): Likewise.
13937         (test_repeat_bytes): Likewise.
13938         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
13939         for some tests.
13940
13941 2014-04-16  Keith Seitz  <keiths@redhat.com>
13942
13943         PR gdb/15827
13944         * gdb.dwarf2/corrupt.c: New file.
13945         * gdb.dwarf2/corrupt.exp: New file.
13946
13947 2014-04-16  Keith Seitz  <keiths@redhat.com>
13948
13949         PR c++/16597
13950         * gdb.cp/namelessclass.cc: New file.
13951         * gdb.cp/namelessclass.exp: New file.
13952         * gdb.cp/namelessclass.S: New file.
13953
13954 2014-04-16  Doug Evans  <dje@google.com>
13955
13956         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
13957         Add comment.
13958         (gdbserver_default_get_comm_port): New function.
13959         (gdbserver_start): Check if board file provided
13960         "gdbserver,get_comm_port" and use it if so.
13961         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
13962         (gdb,socketport): Set to "stdio".
13963         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
13964         (stdio_gdbserver_template): Delete.
13965         (${board}_get_remote_address): Update.
13966         (${board}_build_remote_cmd): Delete.
13967         (${board}_get_comm_port): New function.
13968         (${board}_spawn): Update.
13969         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
13970         Delete.
13971         (${board}_get_remote_address): Update.
13972         (${board}_get_comm_port): New function.
13973
13974 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
13975
13976         * gdb.base/memattr.exp: Improve regexps to handle memory regions
13977         appearing in any order.
13978
13979 2014-04-15  Doug Evans  <dje@google.com>
13980
13981         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
13982         uninitialized value of "description".
13983
13984 2014-04-15  Keith Seitz  <keiths@redhat.com>
13985
13986         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
13987         Remove unused globals.
13988         (test_running_the_program): Likewise.
13989         (test_controlled_execution): Likewise.
13990         (test_controlling_breakpoints): Likewise.
13991         (test_program_termination): Likewise.
13992
13993 2014-04-15  Keith Seitz  <keiths@redhat.com>
13994
13995         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
13996         unused globals.
13997         (test_rbreak_creation_and_listing): Likewise.
13998         (test_ignore_count): Likewise.
13999         (test_error): Likewise.
14000
14001 2014-04-15  Pedro Alves  <palves@redhat.com>
14002
14003         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
14004         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
14005         sym-file-loader.c.
14006         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14007         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14008         to sym-file-loader.c.
14009         (struct library): Forward declare.
14010         (load_shlib, lookup_function): Change prototypes.
14011         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14012         (translate_offset): Remove declarations.
14013         (get_text_addr): New declaration.
14014         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
14015         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
14016         sym-file-loader.h.
14017         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14018         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14019         here from sym-file-loader.h.
14020         (struct library): New structure.
14021         (load_shlib, lookup_function): Change prototypes and adjust to
14022         work with a struct library.
14023         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14024         (translate_offset): Make static.
14025         (get_text_addr): New function.
14026         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
14027
14028 2014-04-15  Pedro Alves  <palves@redhat.com>
14029
14030         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
14031
14032 2014-04-15  Pedro Alves  <palves@redhat.com>
14033
14034         * gdb.base/sym-file-loader.c: Include <limits.h>.
14035         (SELF_LINK): New define.
14036         (get_origin): New function.
14037         (load_shlib): Use it.
14038         * gdb.base/sym-file.exp: Don't early return if the target is
14039         remote.  Use runto_main, and issue fail is that fails.  Use
14040         gdb_load_shlibs.
14041         (shlib_name): Delete.
14042         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
14043
14044 2014-04-15  Pedro Alves <palves@redhat.com>
14045
14046         * gdb.base/sym-file.exp: Remove regex characters from test
14047         message.  Don't refer to breakpoint numbers in test messages.
14048
14049 2014-04-14  Keith Seitz  <keiths@redhat.com>
14050
14051         PR c++/16253
14052         * gdb.cp/var-tag.cc: New file.
14053         * gdb.cp/var-tag.exp: New file.
14054         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14055         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14056         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14057         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14058
14059 2014-04-14  Tom Tromey  <tromey@redhat.com>
14060
14061         * gdb.cp/classes.exp (test_enums): Handle underlying type.
14062         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
14063         type.
14064         * gdb.cp/enum-class.exp: New file.
14065         * gdb.cp/enum-class.cc: New file.
14066
14067 2014-04-14  Tom Tromey  <tromey@redhat.com>
14068
14069         * gdb.dwarf2/enum-type.exp: New file.
14070
14071 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14072
14073         * gdb.mi/mi-vla-c99.exp: New file.
14074         * gdb.mi/vla.c: New file.
14075
14076 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14077
14078         * gdb.base/vla-datatypes.c: New file.
14079         * gdb.base/vla-datatypes.exp: New file.
14080
14081 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14082
14083         * gdb.base/vla-ptr.c: New file.
14084         * gdb.base/vla-ptr.exp: New file.
14085
14086 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14087
14088         * gdb.dwarf2/count.exp: New file.
14089
14090 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14091
14092         * gdb.base/vla-sideeffect.c: New file.
14093         * gdb.base/vla-sideeffect.exp: New file.
14094
14095 2014-04-14  David Blaikie <dblaikie@gmail.com>
14096
14097         * gdb.mi/non-stop.c: Add return value for non-void function return
14098         statement.
14099         * gdb.threads/staticthreads.c: Ditto.
14100
14101 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
14102             Doug Evans  <xdje42@gmail.com>
14103
14104         * gdb.guile/scm-value.c: Improve test case.
14105         * gdb.guile/scm-value.exp: Add new test.
14106
14107 2014-04-11  David Blaikie  <dblaikie@gmail.com>
14108
14109         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
14110         override Clang's default.
14111
14112 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
14113
14114         Revert the following changes (regressions):
14115
14116         * gdb.base/vla-sideeffect.c: New file.
14117         * gdb.base/vla-sideeffect.exp: New file.
14118
14119         * gdb.dwarf2/count.exp: New file.
14120
14121         * gdb.base/vla-multi.c: New file.
14122         * gdb.base/vla-multi.exp: New file.
14123
14124         * gdb.base/vla-ptr.c: New file.
14125         * gdb.base/vla-ptr.exp: New file.
14126
14127         * gdb.base/vla-datatypes.c: New file.
14128         * gdb.base/vla-datatypes.exp: New file.
14129
14130         * gdb.mi/mi-vla-c99.exp: New file.
14131         * gdb.mi/vla.c: New file.
14132
14133 2014-04-11  Keith Seitz  <keiths@redhat.com>
14134
14135         PR c++/16675
14136         * gdb.cp/cpsizeof.exp: New file.
14137         * gdb.cp/cpsizeof.cc: New file.
14138
14139 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14140
14141         * gdb.mi/mi-vla-c99.exp: New file.
14142         * gdb.mi/vla.c: New file.
14143
14144 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14145
14146         * gdb.base/vla-datatypes.c: New file.
14147         * gdb.base/vla-datatypes.exp: New file.
14148
14149 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14150
14151         * gdb.base/vla-ptr.c: New file.
14152         * gdb.base/vla-ptr.exp: New file.
14153
14154 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14155
14156         * gdb.base/vla-multi.c: New file.
14157         * gdb.base/vla-multi.exp: New file.
14158
14159 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14160
14161         * gdb.dwarf2/count.exp: New file.
14162
14163 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14164
14165         * gdb.base/vla-sideeffect.c: New file.
14166         * gdb.base/vla-sideeffect.exp: New file.
14167
14168 2014-04-11  Yao Qi  <yao@codesourcery.com>
14169
14170         * gdb.base/completion.exp: Check file exists before running tests
14171         on file completion.
14172
14173 2014-04-10  Pedro Alves  <palves@redhat.com>
14174
14175         * gdb.base/cond-eval-mode.c: New file.
14176         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
14177         prepare_for_testing to build the new file.  Check result of
14178         runto_main.
14179         (test_break, test_watch): New procedures.
14180         (top level): Use them.
14181
14182 2014-04-08  Pierre Muller  <muller@sourceware.org>
14183
14184         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
14185         Ctrl-V use for mingw hosts.
14186
14187 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
14188
14189         * gdb.python/py-value.c: Improve test case.
14190         * gdb.python/py-value.exp: Add new test.
14191
14192 2014-04-07  David Blaikie  <dblaikie@gmail.com>
14193
14194         * lib/compiler.c: Identify the clang compiler.
14195         * lib/compiler.cc: Ditto.
14196
14197 2014-04-03  Yao Qi  <yao@codesourcery.com>
14198
14199         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
14200
14201 2014-04-01  Anton Blanchard  <anton@samba.org>
14202
14203         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
14204         messages unique.
14205
14206 2014-04-01  Anton Blanchard  <anton@samba.org>
14207
14208         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
14209         prepare_for_testing.
14210
14211 2014-04-01  Anton Blanchard  <anton@samba.org>
14212
14213         * gdb.arch/ppc64-atomic-inst.c: Remove.
14214         * gdb.arch/ppc64-atomic-inst.S: New file.
14215         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
14216
14217 2014-03-31  Doug Evans  <dje@google.com>
14218
14219         * gdb.base/print-symbol-loading-lib.c: New file.
14220         * gdb.base/print-symbol-loading-main.c: New file.
14221         * gdb.base/print-symbol-loading.exp: New file.
14222
14223 2014-03-31  Yao Qi  <yao@codesourcery.com>
14224
14225         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
14226
14227 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
14228
14229         * gdb.ada/mi_dyn_arr: New testcase.
14230
14231 2014-03-27  Doug Evans  <dje@google.com>
14232
14233         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
14234
14235 2014-03-27  Yao Qi  <yao@codesourcery.com>
14236
14237         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
14238         if target is nios2-*-*.
14239
14240 2014-03-26  Yao Qi  <yao@codesourcery.com>
14241
14242         * lib/gdb.exp (readline_is_used): New proc.
14243         * gdb.base/completion.exp: Move tests on command complete up.
14244         Skip the rest of tests if readline is not used.
14245         * gdb.ada/complete.exp: Skp the test if readline is not
14246         used.
14247         * gdb.base/filesym.exp: Likewise.
14248         * gdb.base/macscp.exp: Likewise.
14249         * gdb.base/readline-ask.exp: Likewise.
14250         * gdb.base/readline.exp: Likewise.
14251         * gdb.python/py-cmd.exp: Likewise.
14252         * gdb.trace/tfile.exp: Likewise.
14253
14254 2014-03-26  Yao Qi  <yao@codesourcery.com>
14255
14256         * gdb.base/macscp.exp: Fix code format issues.
14257
14258 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
14259
14260         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14261         * gdb.asm/powerpc64le.inc: New file.
14262
14263 2014-03-25  Pedro Alves  <palves@redhat.com>
14264             Doug Evans  <dje@google.com>
14265
14266         * gdb.base/source-execution.c: New file.
14267         * gdb.base/source-execution.exp: New file.
14268         * gdb.base/source-execution.gdb: New file.
14269
14270 2014-03-24  Doug Evans  <dje@google.com>
14271
14272         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14273         using fission.
14274
14275 2014-03-24  Hui Zhu  <hui@codesourcery.com>
14276             Pedro Alves  <palves@redhat.com>
14277
14278         PR breakpoints/16101
14279         * gdb.base/dprintf.exp: Use unsupported rather than changing the
14280         test pass/fail messages.  Detect missing support for dprintf when
14281         breakpoints are actually inserted.
14282         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14283         breakpoints are actually inserted.
14284         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14285         fails.
14286
14287 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
14288
14289         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14290
14291 2014-03-22  Doug Evans  <xdje42@gmail.com>
14292
14293         * gdb.python/python.exp (python not supported): Verify multi-line
14294         python command issues an error.
14295         * gdb.guile/guile.exp (guile not supported): Verify multi-line
14296         guile command issues an error.
14297
14298 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
14299
14300         * gdb.threads/thread-specific.exp: Handle the lack of usable
14301         $this_breakpoint and $this_thread.
14302
14303 2014-03-21  Hui Zhu  <hui@codesourcery.com>
14304
14305         * gdb.base/attach.exp (do_command_attach_tests): New.
14306
14307 2014-03-20  Tom Tromey  <tromey@redhat.com>
14308             Pedro Alves  <palves@redhat.com>
14309
14310         PR cli/15718
14311         * gdb.base/condbreak-call-false.c: New file.
14312         * gdb.base/condbreak-call-false.exp: New file.
14313
14314 2014-03-20  Pedro Alves  <palves@redhat.com>
14315
14316         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14317         Delete.
14318         (block_signals, unblock_signals): Delete.
14319         (child_function_2, main): Remove references to deleted variable
14320         and functions.
14321
14322 2014-03-20  Pedro Alves  <palves@redhat.com>
14323
14324         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14325         Use pthread_kill to signal thread 2.
14326         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14327         Adjust to make the test send itself a signal rather than using the
14328         host's "kill" command.
14329
14330 2014-03-20  Pedro Alves  <palves@redhat.com>
14331
14332         * gdb.threads/multiple-step-overs.c: New file.
14333         * gdb.threads/multiple-step-overs.exp: New file.
14334         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14335         Adjust expected infrun debug output.
14336
14337 2014-03-20  Pedro Alves  <palves@redhat.com>
14338
14339         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14340         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
14341
14342 2014-03-20  Pedro Alves  <palves@redhat.com>
14343
14344         PR breakpoints/7143
14345         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
14346         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
14347         of gdb_test_multiple.
14348         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
14349         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
14350
14351 2014-03-20  Pedro Alves  <palves@redhat.com>
14352
14353         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14354         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14355
14356 2014-03-19  Pedro Alves  <palves@redhat.com>
14357
14358         * gdb.base/async.exp: Remove early return.
14359
14360 2014-03-19  Pedro Alves  <palves@redhat.com>
14361
14362         * gdb.base/async.exp (step& tests): Pass explicit test messages.
14363
14364 2014-03-19  Pedro Alves  <palves@redhat.com>
14365
14366         * gdb.base/async.exp (test_background): Expect \r\n after
14367         "completed." in the fail pattern.
14368
14369 2014-03-19  Pedro Alves  <palves@redhat.com>
14370
14371         * gdb.base/async.exp (test_background): New procedure.
14372         Use it for all background execution command tests.
14373
14374 2014-03-19  Pedro Alves  <palves@redhat.com>
14375
14376         * gdb.base/async.exp: Use prepare_for_testing.
14377
14378 2014-03-19  Pedro Alves  <palves@redhat.com>
14379
14380         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
14381         the same line.
14382
14383 2014-03-19  Pedro Alves  <palves@redhat.com>
14384
14385         * gdb.base/async.c (main): Add "jump here" and "until here" line
14386         marker comments.
14387         * gdb.base/async.exp (jump_here): New global.
14388         (jump& test): Use it.
14389         (until_here): New global.
14390         (until& test): Use it.
14391
14392 2014-03-19  Pedro Alves  <palves@redhat.com>
14393
14394         * gdb.base/async.exp: Don't frob gdb_protocol.
14395
14396 2014-03-18  Doug Evans  <xdje42@gmail.com>
14397
14398         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
14399         Fix spelling of exec-done-display.
14400
14401 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
14402
14403         PR gdb/15358
14404         * gdb.base/gdb-sigterm.c: New file.
14405         * gdb.base/gdb-sigterm.exp: New file.
14406
14407 2014-03-18  Pedro Alves  <palves@redhat.com>
14408
14409         PR gdb/13860
14410         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14411         * lib/mi-support.exp (mi_expect_stop): Add special handling for
14412         solib-event.
14413
14414 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
14415
14416         * gdb.ada/pckd_arr_ren: New testcase.
14417
14418 2014-03-13  Doug Evans  <xdje42@gmail.com>
14419
14420         PR guile/16612
14421         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14422         collect after discarding symbols.
14423
14424 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
14425             Doug Evans  <xdje42@gmail.com>
14426
14427         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14428         to history survives a gc.
14429
14430 2014-03-13  Pedro Alves  <palves@redhat.com>
14431
14432         * gdb.base/default.exp: Don't test "target procfs".
14433
14434 2014-03-13  Pedro Alves  <palves@redhat.com>
14435
14436         * gdb.base/default.exp: Update "target child" and "target procfs"
14437         tests to not expect "Unix".
14438
14439 2014-03-12  Tom Tromey  <tromey@redhat.com>
14440
14441         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14442         New procs.  Add target-async tests.
14443         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14444         Add target-async tests.
14445
14446 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14447
14448         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14449         'func_start' and 'func_end' for the beginning and end of the
14450         function code, respectively.
14451         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14452         'func_end' instead of 'func' and 'main'.
14453
14454 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14455
14456         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14457         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14458         generate the debug info assembler source.
14459
14460 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14461
14462         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14463         * gdb.dwarf2/arr-subrange.exp: Likewise.
14464         * gdb.dwarf2/dwz.exp: Likewise.
14465         * gdb.dwarf2/method-ptr.exp: Likewise.
14466         * gdb.dwarf2/missing-sig-type.exp: Likewise.
14467         * gdb.dwarf2/subrange.exp: Likewise.
14468         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14469         * gdb.dwarf2/implptrpiece.exp: Likewise.
14470         * gdb.dwarf2/nostaticblock.exp: Likewise.
14471
14472 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14473
14474         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14475         directory to absolute path name arguments.
14476
14477 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
14478
14479         * gdb.ada/tagged_access: New testcase.
14480
14481 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
14482
14483         * gdb.btrace/data.exp: Update expected output.
14484
14485 2014-03-06  Yao Qi  <yao@codesourcery.com>
14486
14487         * gdb.trace/pr16508.exp: New file.
14488
14489 2014-03-05  Pedro Alves  <palves@redhat.com>
14490
14491         PR gdb/16575
14492         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14493         procedure.
14494         (top level): Adjust to use it.  Add tests that exercise breakpoint
14495         interaction with the code-cache.
14496
14497 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
14498
14499         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14500         test for 'history-append!'.
14501
14502 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14503
14504         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14505         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14506         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14507         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14508         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14509         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14510
14511 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14512
14513         * testsuite/gdb.python/py-pp-re-notag.c: New file.
14514         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14515         * testsuite/gdb.python/py-pp-re-notag.p: New file.
14516
14517 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14518
14519         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14520
14521 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14522
14523         * gdb.dwarf2/arr-stride.c: New file.
14524         * gdb.dwarf2/arr-stride.exp: New file.
14525
14526 2014-02-26  Pedro Alves  <palves@redhat.com>
14527
14528         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14529         that won't ever trigger.  Make sure that GDB reports the correct
14530         breakpoint that caused the stop.
14531
14532 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14533
14534         PR gdb/16626
14535         * gdb.base/auto-load-script: New file.
14536         * gdb.base/auto-load.c: New file.
14537         * gdb.base/auto-load.exp: New file.
14538
14539         PR gdb/16626
14540         * gdb.base/auto-load.exp: Fix out-of-srctree run.
14541
14542 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14543
14544         Fix dw2-icycle.exp -fsanitize=address GDB crash.
14545         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14546
14547 2014-02-24  Doug Evans  <dje@google.com>
14548
14549         * lib/gdb.exp (run_on_host): Log error output if program fails.
14550
14551 2014-02-21  Pedro Alves  <palves@redhat.com>
14552
14553         * gdb.threads/step-after-sr-lock.c: Rename to ...
14554         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14555         * gdb.threads/step-after-sr-lock.exp: Rename to ...
14556         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14557         ... this.
14558
14559 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
14560
14561         PR tdep/16397
14562         * gdb.arch/amd64-stap-special-operands.exp: New file.
14563         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14564         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14565         * gdb.arch/amd64-stap-triplet.S: Likewise.
14566         * gdb.arch/amd64-stap-triplet.c: Likewise.
14567
14568 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
14569
14570         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14571         in .section pseudo-op.
14572
14573 2014-02-20  lin zuojian  <manjian2006@gmail.com>
14574             Joel Brobecker  <brobecker@adacore.com>
14575             Doug Evans  <xdje42@gmail.com>
14576
14577         PR symtab/16581
14578         * gdb.dwarf2/dw2-icycle.S: New file.
14579         * gdb.dwarf2/dw2-icycle.c: New file.
14580         * gdb.dwarf2/dw2-icycle.exp: New file.
14581
14582 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
14583
14584         * gdb.python/py-value-cc.cc: Improve test case to enable testing
14585         operations on gdb.Value objects.
14586         * gdb.python/py-value-cc.exp: Add new test to test operations on
14587         gdb.Value objects.
14588
14589 2014-02-18  Doug Evans  <dje@google.com>
14590
14591         * Makefile.in (TESTS): New variable.
14592         (expanded_tests, expanded_tests_or_none): New variables
14593         (check-single): Pass $(expanded_tests_or_none) to runtest.
14594         (check-parallel): Only run tests in $(TESTS) if non-empty.
14595         (check/no-matching-tests-found): New rule.
14596         * README: Document TESTS makefile variable.
14597
14598 2014-02-18  Doug Evans  <dje@google.com>
14599
14600         * Makefile.in (check-parallel): rm -rf outputs temp.
14601
14602 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
14603
14604         Fix "ERROR: no fileid for" in the testsuite.
14605         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14606
14607 2014-02-12  Doug Evans  <dje@google.com>
14608
14609         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14610         (MISCELLANEOUS): New variable.
14611         (clean): rm -rf $(MISCELLANEOUS).
14612         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14613         dwp live in the same directory as symlinks, with each symlink pointed
14614         to a differently named file in a different directory.
14615
14616 2014-02-11  Doug Evans  <dje@google.com>
14617
14618         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14619         of Tcl file commands.
14620
14621 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
14622
14623         * gdb.threads/step-after-sr-lock.exp: Avoid executing
14624         "kill -SIGUSR1 -1".
14625
14626 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
14627
14628         * gdb.ada/tick_length_array_enum_idx: New testcase.
14629
14630 2014-02-10  Doug Evans  <xdje42@gmail.com>
14631
14632         * configure.ac (AC_OUTPUT): Add gdb.guile.
14633         * configure: Regenerate.
14634         * lib/gdb-guile.exp: New file.
14635         * lib/gdb.exp (get_target_charset): New function.
14636         * gdb.base/help.exp: Update expected output from "apropos apropos".
14637         * gdb.guile/Makefile.in: New file.
14638         * gdb.guile/guile.exp: New file.
14639         * gdb.guile/scm-arch.c: New file.
14640         * gdb.guile/scm-arch.exp: New file.
14641         * gdb.guile/scm-block.c: New file.
14642         * gdb.guile/scm-block.exp: New file.
14643         * gdb.guile/scm-breakpoint.c: New file.
14644         * gdb.guile/scm-breakpoint.exp: New file.
14645         * gdb.guile/scm-disasm.c: New file.
14646         * gdb.guile/scm-disasm.exp: New file.
14647         * gdb.guile/scm-equal.c: New file.
14648         * gdb.guile/scm-equal.exp: New file.
14649         * gdb.guile/scm-error.exp: New file.
14650         * gdb.guile/scm-error.scm: New file.
14651         * gdb.guile/scm-frame-args.c: New file.
14652         * gdb.guile/scm-frame-args.exp: New file.
14653         * gdb.guile/scm-frame-args.scm: New file.
14654         * gdb.guile/scm-frame-inline.c: New file.
14655         * gdb.guile/scm-frame-inline.exp: New file.
14656         * gdb.guile/scm-frame.c: New file.
14657         * gdb.guile/scm-frame.exp: New file.
14658         * gdb.guile/scm-generics.exp: New file.
14659         * gdb.guile/scm-gsmob.exp: New file.
14660         * gdb.guile/scm-iterator.c: New file.
14661         * gdb.guile/scm-iterator.exp: New file.
14662         * gdb.guile/scm-math.c: New file.
14663         * gdb.guile/scm-math.exp: New file.
14664         * gdb.guile/scm-objfile-script-gdb.in: New file.
14665         * gdb.guile/scm-objfile-script.c: New file.
14666         * gdb.guile/scm-objfile-script.exp: New file.
14667         * gdb.guile/scm-objfile.c: New file.
14668         * gdb.guile/scm-objfile.exp: New file.
14669         * gdb.guile/scm-ports.exp: New file.
14670         * gdb.guile/scm-pretty-print.c: New file.
14671         * gdb.guile/scm-pretty-print.exp: New file.
14672         * gdb.guile/scm-pretty-print.scm: New file.
14673         * gdb.guile/scm-section-script.c: New file.
14674         * gdb.guile/scm-section-script.exp: New file.
14675         * gdb.guile/scm-section-script.scm: New file.
14676         * gdb.guile/scm-symbol.c: New file.
14677         * gdb.guile/scm-symbol.exp: New file.
14678         * gdb.guile/scm-symtab-2.c: New file.
14679         * gdb.guile/scm-symtab.c: New file.
14680         * gdb.guile/scm-symtab.exp: New file.
14681         * gdb.guile/scm-type.c: New file.
14682         * gdb.guile/scm-type.exp: New file.
14683         * gdb.guile/scm-value-cc.cc: New file.
14684         * gdb.guile/scm-value-cc.exp: New file.
14685         * gdb.guile/scm-value.c: New file.
14686         * gdb.guile/scm-value.exp: New file.
14687         * gdb.guile/source2.scm: New file.
14688         * gdb.guile/types-module.cc: New file.
14689         * gdb.guile/types-module.exp: New file.
14690
14691 2014-02-10  Yao Qi  <yao@codesourcery.com>
14692
14693         PR testsuite/16543
14694         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14695         * configure: Regenerated.
14696         * Makefile.in: New file.
14697
14698 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
14699
14700         * gdb.python/py-framefilter.exp: Fix typo.
14701
14702 2014-02-08  Yao Qi  <yao@codesourcery.com>
14703
14704         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14705         that no =breakpoint-modified is emitted when breakpoints are
14706         modified through MI commands.
14707
14708 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
14709             Pedro Alves  <palves@redhat.com>
14710
14711         * gdb.threads/step-after-sr-lock.c: New file.
14712         * gdb.threads/step-after-sr-lock.exp: New file.
14713
14714 2014-02-07  Pedro Alves  <palves@redhat.com>
14715
14716         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14717
14718 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
14719
14720         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14721         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14722
14723 2014-02-06  Doug Evans  <xdje42@gmail.com>
14724
14725         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14726         output.
14727
14728         * gdb.gdb/python-interrupts.exp: New file.
14729
14730 2014-02-05  Yao Qi  <yao@codesourcery.com>
14731
14732         * gdb.trace/report.exp (use_collected_data): Test the output
14733         of "info threads" and "info inferiors".
14734
14735 2014-02-05  Yao Qi  <yao@codesourcery.com>
14736
14737         Revert this patch:
14738
14739         2013-05-24  Yao Qi  <yao@codesourcery.com>
14740
14741         * gdb.trace/tfile.exp: Test inferior and thread.
14742
14743 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14744
14745         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14746         on a function.
14747         * gdb.base/step-bt.c: Call hello via function pointer to make
14748         sure its first instruction is executed on powerpc64le-linux.
14749
14750 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14751
14752         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14753
14754 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14755
14756         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
14757         of the test patterns for use on little-endian systems.
14758
14759 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14760
14761         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14762         (decimal_vector): Fix for little-endian.
14763
14764 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
14765
14766         * gdb.arch/sparc-sysstep.exp: New file.
14767         * gdb.arch/sparc-sysstep.c: Likewise.
14768
14769         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14770
14771 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
14772
14773         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14774
14775 2014-01-23  Tom Tromey  <tromey@redhat.com>
14776
14777         * gdb.ada/array_char_idx: New testcase.
14778
14779 2014-01-23  Tom Tromey  <tromey@redhat.com>
14780
14781         PR python/16487:
14782         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14783         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14784         classes.
14785
14786 2014-01-23  Tom Tromey  <tromey@redhat.com>
14787
14788         PR python/16491:
14789         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14790         string from an inferior frame.
14791         * gdb.python/py-framefilter-mi.exp: Update.
14792
14793 2014-01-22  Doug Evans  <dje@google.com>
14794
14795         * gdb.server/server-mon.exp: Add tests for "set debug-format".
14796
14797 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14798
14799         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
14800
14801 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14802
14803         * gdb.trace/entry-values.exp: Remove excess space character from
14804         regex patterns.  Handle s390 call instruction.
14805
14806 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14807
14808         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
14809         define "*_start" label.  Make "name" static.
14810         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
14811         ${name} by references to ${name}_start.
14812
14813 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14814
14815         * gdb.base/info-macros.exp: Remove "debug" from the compile
14816         options.
14817
14818 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
14819
14820         * gdb.dlang/demangle.exp: New file.
14821
14822 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
14823
14824         * gdb.dlang/primitive-types.exp: New file.
14825
14826 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
14827
14828         * configure.ac: Create gdb.dlang/Makefile.
14829         * configure: Regenerate.
14830         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
14831         * gdb.dlang/Makefile.in: New file.
14832         * lib/d-support.exp: New file.
14833         * lib/gdb.exp (skip_d_tests): New proc.
14834
14835 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14836
14837         * gdb.btrace/delta.exp: Check reverse stepi.
14838         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
14839         * gdb.btrace/finish.exp: New.
14840         * gdb.btrace/next.exp: New.
14841         * gdb.btrace/nexti.exp: New.
14842         * gdb.btrace/record_goto.c: Add comments.
14843         * gdb.btrace/step.exp: New.
14844         * gdb.btrace/stepi.exp: New.
14845         * gdb.btrace/multi-thread-step.c: New.
14846         * gdb.btrace/multi-thread-step.exp: New.
14847         * gdb.btrace/rn-dl-bind.c: New.
14848         * gdb.btrace/rn-dl-bind.exp: New.
14849         * gdb.btrace/data.c: New.
14850         * gdb.btrace/data.exp: New.
14851         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14852
14853 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14854
14855         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
14856         * gdb.btrace/exception.exp: Update.
14857         * gdb.btrace/instruction_history.exp: Update.
14858         * gdb.btrace/record_goto.exp: Update.
14859         * gdb.btrace/tailcall.exp: Update.
14860         * gdb.btrace/unknown_functions.exp: Update.
14861         * gdb.btrace/delta.exp: New.
14862
14863 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14864
14865         * gdb.btrace/record_goto.exp: Add backtrace test.
14866         * gdb.btrace/tailcall.exp: Add backtrace test.
14867
14868 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14869
14870         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
14871         * gdb.btrace/record_goto.c: New.
14872         * gdb.btrace/record_goto.exp: New.
14873         * gdb.btrace/x86-record_goto.S: New.
14874
14875 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14876
14877         * gdb.btrace/function_call_history.exp: Update tests.
14878         * gdb.btrace/instruction_history.exp: Update tests.
14879
14880 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14881
14882         * gdb.btrace/function_call_history.exp: Fix expected field
14883         order for "record function-call-history".
14884         Add new tests for "record function-call-history /c".
14885         * gdb.btrace/exception.cc: New.
14886         * gdb.btrace/exception.exp: New.
14887         * gdb.btrace/tailcall.exp: New.
14888         * gdb.btrace/x86-tailcall.S: New.
14889         * gdb.btrace/x86-tailcall.c: New.
14890         * gdb.btrace/unknown_functions.c: New.
14891         * gdb.btrace/unknown_functions.exp: New.
14892         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14893
14894 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14895
14896         * gdb.btrace/instruction_history.exp: Update.
14897         * gdb.btrace/function_call_history.exp: Update.
14898
14899 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14900
14901         * gdb.btrace/function_call_history.exp: Fix expected function
14902         trace.
14903         * gdb.btrace/instruction_history.exp: Initialize traced.
14904         Remove traced_functions.
14905
14906 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14907
14908         * gdb.btrace/function_call_history.exp: Update
14909         * gdb.btrace/instruction_history.exp: Update.
14910
14911 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14912
14913         * gdb.btrace/enable.exp: Update expected text.
14914
14915 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
14916
14917         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
14918         bytes.
14919
14920 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
14921
14922         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
14923
14924 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
14925
14926         * lib/gdb.exp (supports_process_record): Return true for
14927         arm*-linux*.  (supports_reverse): Likewise.
14928
14929 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
14930
14931         PR python/15464
14932         PR python/16113
14933         * gdb.python/py-type.c: Enhance test case.
14934         * gdb.python/py-value-cc.cc: Likewise
14935         * gdb.python/py-type.exp: Add new tests.
14936         * gdb.python/py-value-cc.exp: Likewise
14937
14938 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14939             Pedro Alves <palves@redhat.com>
14940
14941         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
14942         Make "name" extern.
14943         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
14944         references to ${name}_start by references to ${name}.
14945
14946 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
14947
14948         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
14949
14950 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
14951
14952         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
14953
14954 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
14955             Pedro Alves  <palves@redhat.com>
14956
14957         * gdb.mi/mi-info-os.exp: Connect to the target with
14958         mi_gdb_target_load.
14959
14960 2014-01-08  Pedro Alves  <palves@redhat.com>
14961
14962         * gdb.threads/reconnect-signal.c: New file.
14963         * gdb.threads/reconnect-signal.exp: New file.
14964
14965 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
14966
14967         * gdb.base/source-dir.exp: New file.
14968
14969 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
14970
14971         * gdb.ada/mi_interface: New testcase.
14972
14973 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
14974
14975         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
14976         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
14977         gdb.ada/pp-rec-component/pck.ads: New files.
14978
14979 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
14980
14981         * gdb.python/py-pp-integral.c: New file.
14982         * gdb.python/py-pp-integral.py: New file.
14983         * gdb.python/py-pp-integral.exp: New file.
14984
14985 For older changes see ChangeLog-1993-2013.
14986 \f
14987 ;; Local Variables:
14988 ;; mode: change-log
14989 ;; left-margin: 8
14990 ;; fill-column: 74
14991 ;; version-control: never
14992 ;; End:
14993
14994     Copyright 2014-2018 Free Software Foundation, Inc.
14995   Copying and distribution of this file, with or without modification,
14996   are permitted provided the copyright notice and this notice are preserved.