x86-64: fix ZMM register state tracking
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2018-11-08  Jan Beulich  <jbeulich@suse.com>
2
3         * testsuite/gdb.arch/i386-avx512.c,
4         testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
5
6 2018-11-08  Andrew Burgess  <andrew.burgess@embecosm.com>
7
8         * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
9         point hardware.
10
11 2018-11-07  Andrew Burgess  <andrew.burgess@embecosm.com>
12
13         * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
14         * gdb.dwarf2/missing-type-name.exp: New file.
15
16 2018-11-06  Tom de Vries  <tdevries@suse.de>
17
18         * gdb.base/many-headers.c: New test.
19         * gdb.base/many-headers.exp: New file.
20
21 2018-11-06  Jim Wilson  <jimw@sifive.com>
22
23         * gdb.base/code_elim.exp: For riscv, set additional_flags
24         to include -msmall-data-limit=0.
25
26 2018-11-01  Joel Brobecker  <brobecker@adacore.com>
27
28         * gdb.ada/watch_minus_l: New testcase.
29
30 2018-11-01  Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
31
32         * gdb.arch/aix-sighandle.c: New file.
33         * gdb.arch/aix-sighandle.exp: New file.
34
35 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
36
37         * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
38         registers being unions.
39
40 2018-10-31  Tom de Vries  <tdevries@suse.de>
41
42         * lib/valgrind.exp: New file.
43          (vgdb_start, vgdb_stop): New procs, factored out of ...
44         * gdb.base/valgrind-bt.exp: ... here, ...
45         * gdb.base/valgrind-disp-step.exp: ... here and ...
46         * gdb.base/valgrind-infcall.exp: ... here.
47
48 2018-10-31  Tom de Vries  <tdevries@suse.de>
49
50         * lib/gdb.exp (get_valueof): Don't output read value in test name.
51
52 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
53
54         * gdb.dwarf2/void-type.c: New file.
55         * gdb.dwarf2/void-type.exp: New file.
56
57 2018-10-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
58
59         * gdb.base/info_qt.c: New file.
60         * gdb.base/info_qt.exp: New file.
61
62 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
63
64         * gdb.arch/powerpc-htm-regs.c: New file.
65         * gdb.arch/powerpc-htm-regs.exp: New file.
66
67 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
68
69         * gdb.arch/powerpc-tar.c: New file.
70         * gdb.arch/powerpc-tar.exp: New file.
71
72 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
73
74         * gdb.arch/powerpc-ppr-dscr.c: New file.
75         * gdb.arch/powerpc-ppr-dscr.exp: New file.
76
77 2018-10-25  Tom de Vries  <tdevries@suse.de>
78
79         * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
80
81 2018-10-24  Tom de Vries  <tdevries@suse.de>
82
83         * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
84         longer exists error.
85
86 2018-10-24  Tom de Vries  <tdevries@suse.de>
87
88         * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
89
90 2018-10-24  Tom de Vries  <tdevries@suse.de>
91
92         * gdb.base/valgrind-db-attach.exp: Handle removed support for
93         --db-attach in valgrind.
94
95 2018-10-23  Andrew Burgess  <andrew.burgess@embecosm.com>
96
97         * gdb.arch/riscv-reg-aliases.c: New file.
98         * gdb.arch/riscv-reg-aliases.exp: New file.
99
100 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
101
102         * gdb.python/py-cmd.exp: Check for gdb_prompt.
103
104 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
105
106         * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
107
108 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
109
110         * gdb.cp/ovldbreak.exp: Fix regexps.
111
112 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
113
114         * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
115
116 2018-10-18  Sergio Durigan Junior  <sergiodj@redhat.com>
117
118         PR cli/23785
119         * gdb.base/restore.exp: New test to check if "restore" with an
120         invalid file doesn't segfault.
121
122 2018-10-18  Tom de Vries  <tdevries@suse.de>
123
124         * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
125         * gdb.ada/excep_handle.exp: Same.
126         * gdb.ada/mi_string_access.exp: Same.
127         * gdb.ada/mi_var_union.exp: Same.
128         * gdb.arch/arc-analyze-prologue.exp: Same.
129         * gdb.arch/arc-decode-insn.exp: Same.
130         * gdb.base/readnever.exp: Same.
131         * gdb.fortran/printing-types.exp: Same.
132         * gdb.guile/scm-lazy-string.exp: Same.
133
134 2018-10-16  Tom de Vries  <tdevries@suse.de>
135
136         PR gdb/23730
137         * gdb.base/catch-follow-exec.c: Add copyright notice.
138         * gdb.base/catch-follow-exec.exp: Rewrite to use
139         gdb_spawn_with_cmdline_opts.  Require gdb-native.
140
141 2018-10-12  Sandra Loosemore  <sandra@codesourcery.com>
142
143         * gdb.trace/actions-changed.exp: Check for arch support.
144         * gdb.trace/actions.exp: Likewise.
145         * gdb.trace/ax.exp: Likewise.
146         * gdb.trace/backtrace.exp: Likewise.
147         * gdb.trace/change-loc.exp: Likewise.
148         * gdb.trace/deltrace.exp: Likewise.
149         * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
150         * gdb.trace/ftrace.exp: Likewise.
151         * gdb.trace/infotrace.exp: Check for arch support.
152         * gdb.trace/mi-trace-frame-collected.exp: Likewise.
153         * gdb.trace/mi-tracepoint-changed.exp: Likewise.
154         * gdb.trace/mi-tsv-changed.exp: Likewise.
155         * gdb.trace/packetlen.exp: Likewise.
156         * gdb.trace/passc-dyn.exp: Likewise.
157         * gdb.trace/passcount.exp: Likewise.
158         * gdb.trace/pending.exp: Likewise.
159         * gdb.trace/range-stepping.exp: Check for shlib support.
160         * gdb.trace/report.exp: Check for arch support.
161         * gdb.trace/save-trace.exp: Likewise.
162         * gdb.trace/signal.exp: Check for signal support.
163         * gdb.trace/tfind.exp: Check for arch support.
164         * gdb.trace/trace-break.exp: Check for arch and shlib support.
165         * gdb.trace/trace-common.h: Add comment.
166         * gdb.trace/trace-condition.exp: Check for shlib and arch support.
167         * gdb.trace/trace-enable-disable.exp: Likewise.
168         * gdb.trace/trace-mt.exp: Likewise.  Remove redundant untested call.
169         * gdb.trace/tracecmd.exp: Check for arch support.
170         * gdb.trace/tspeed.exp: Check for shlib and target support.
171         * gdb.trace/tstatus.exp: Check for arch support.
172         * gdb.trace/tsv.exp: Likewise.
173         * gdb.trace/while-dyn.exp: Likewise.
174         * gdb.trace/while-stepping.exp: Likewise.
175         * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
176
177 2018-10-12  Simon Marchi  <simon.marchi@ericsson.com>
178
179         * gdb.trace/tspeed.exp: Remove nowarnings.
180         (prepare_for_trace_test): Declare "global ipalib".
181         * gdb.trace/tspeed.c: Include unistd.h.
182         (main): Remove superfluous printf argument.
183
184 2018-10-11  Sandra Loosemore  <sandra@codesourcery.com>
185
186         * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
187         directory prefix on the filename.
188
189 2018-10-10  Sergio Durigan Junior  <sergiodj@redhat.com>
190
191         * gdb.gdb/unittest.exp: Update expected message informing that
192         selftests have been disabled.
193         * gdb.server/unittest.exp: Likewise.
194
195 2018-10-09  Tom de Vries  <tdevries@suse.de>
196
197         * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
198         with runto_main.
199
200 2018-10-08  Weimin Pan  <weimin.pan@oracle.com>
201
202         PR c++/16841
203         * gdb.cp/virtbase2.cc: New file.
204         * gdb.cp/virtbase2.exp: New file.
205
206 2018-10-06  Tom Tromey  <tom@tromey.com>
207
208         PR python/19399:
209         * gdb.python/py-inferior.exp: Add architecture test.
210
211 2018-10-06  Tom Tromey  <tom@tromey.com>
212
213         * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
214         * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
215
216 2018-10-06  Tom Tromey  <tom@tromey.com>
217
218         * gdb.python/py-breakpoint.exp (check_last_event): Check location
219         of a "throw" catchpoint.
220
221 2018-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>
222
223         * gdb.base/info-proc.exp: Update string expected from "help info
224         proc".
225
226 2018-10-04  Tom Tromey  <tom@tromey.com>
227
228         * gdb.cp/maint.exp (test_invalid_name): Update expected output.
229         * gdb.gdb/complaints.exp (test_short_complaints): Remove.
230         (test_initial_complaints, test_empty_complaints): Update.
231         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
232
233 2018-10-04  Tom Tromey  <tom@tromey.com>
234
235         PR cli/19551:
236         * lib/mi-support.exp (mi_gdb_file_cmd): Update.
237         * lib/gdb.exp (gdb_file_cmd): Update.
238         * gdb.stabs/weird.exp (print_weird_var): Update.
239         * gdb.server/solib-list.exp: Update.
240         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
241         * gdb.mi/mi-cli.exp: Update.
242         * gdb.linespec/linespec.exp: Update.
243         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
244         * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
245         * gdb.cp/cp-relocate.exp: Update.
246         * gdb.base/sym-file.exp: Update.
247         * gdb.base/relocate.exp: Update.
248         * gdb.base/readnever.exp: Update.
249         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
250         * gdb.base/kill-detach-inferiors-cmd.exp: Update.
251         * gdb.base/dbx.exp (gdb_file_cmd): Update.
252         * gdb.base/code_elim.exp: Update.
253         * gdb.base/break-unload-file.exp (test_break): Update.
254         * gdb.base/break-interp.exp (test_attach_gdb): Update.
255         * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
256         Update.
257         * gdb.base/attach.exp (do_attach_tests): Update.
258         * gdb.base/sepdebug.exp: Update.
259         * gdb.python/py-section-script.exp: Update.
260
261 2018-10-04  Tom Tromey  <tom@tromey.com>
262
263         PR cli/22234:
264         * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
265         * gdb.gdb/complaints.exp (test_short_complaints): Update expected
266         output.
267
268 2018-10-04  Tom Tromey  <tom@tromey.com>
269
270         * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
271         set width and height to 0.
272         (test_command_line_attach_run): Use -quiet.
273
274 2018-10-03  Sandra Loosemore  <sandra@codesourcery.com>
275
276         * lib/gdb.exp (skip_ifunc_tests): New.
277         * gdb.base/gnu-ifunc.exp: Skip if no ifunc support.  Handle
278         other compile failures.
279         * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
280
281 2018-10-01  Simon Marchi  <simon.marchi@ericsson.com>
282
283         * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
284         is_amd64_regs_target.
285
286 2018-10-01  Alan Hayward  <alan.hayward@arm.com>
287
288         * gdb.arch/aarch64-sighandler-regs.c: New test.
289         * gdb.arch/aarch64-sighandler-regs.exp: New file.
290         * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
291
292 2018-10-01  Markus Metzger  <markus.t.metzger@intel.com>
293
294         * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
295         assembly.
296
297 2018-09-28  Andrew Burgess  <andrew.burgess@embecosm.com>
298
299         * gdb.base/frame-selection.exp: New file.
300         * gdb.base/frame-selection.c: New file.
301
302 2018-09-27  Alan Hayward  <alan.hayward@arm.com>
303
304         * gdb.threads/check-libthread-db.c (thread_routine): Use a
305         pthread barrier.
306         (main): Likewise.
307
308 2018-09-26  Andrew Burgess  <andrew.burgess@embecosm.com>
309
310         * gdb.base/large-frame-1.c: New file.
311         * gdb.base/large-frame-2.c: New file.
312         * gdb.base/large-frame.exp: New file.
313         * gdb.base/large-frame.h: New file.
314
315 2018-09-24  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
316
317         PR gdb/20948
318         * gdb.base/write_mem.exp: New test.
319         * gdb.base/write_mem.c: Likewise.
320
321 2018-09-23  Tom Tromey  <tom@tromey.com>
322
323         PR python/18852:
324         * gdb.python/py-parameter.exp: Add test for parameter that throws
325         on "set".
326
327 2018-09-23  Tom Tromey  <tom@tromey.com>
328
329         PR python/17284:
330         * gdb.python/py-template.exp (test_template_arg): Add test for
331         negative template argument number.
332
333 2018-09-23  Tom Tromey  <tom@tromey.com>
334
335         PR python/14062:
336         * gdb.python/python.exp: Add test for post_event error.
337
338 2018-09-23  Tom Tromey  <tom@tromey.com>
339
340         PR python/18170:
341         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
342         convert pointers to int and long.
343
344 2018-09-23  Tom Tromey  <tom@tromey.com>
345
346         PR python/20126:
347         * gdb.python/py-value.exp (test_value_numeric_ops): Add
348         signed-ness conversion tests.
349
350 2018-09-23  Tom Tromey  <tom@tromey.com>
351
352         PR python/18352;
353         * gdb.python/py-value.exp (test_float_conversion): New proc.
354         Use it.
355
356 2018-09-20  Hafiz Abid Qadeer  <abidh@codesourcery.com>
357
358         gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
359
360 2018-09-18  Sandra Loosemore  <sandra@codesourcery.com>
361
362         * gdb.base/complete-empty.exp: Skip tab-completion tests if
363         no readline.
364         * gdb.base/utf8-identifiers.exp: Likewise.
365         * gdb.cp/cpcompletion.exp: Likewise.
366         * gdb.linespec/cpcompletion.exp: Likewise.
367         * gdb.linespec/cpls-abi-tag.exp: Likewise.
368         * gdb.linespec/cpls-ops.exp: Likewise.
369
370 2018-09-19  Richard Bunt  <richard.bunt@arm.com>
371             Chris January  <chris.january@arm.com>
372
373         * gdb.cp/koenig.exp: Extend to test logical short circuiting.
374         * gdb.fortran/short-circuit-argument-list.exp: New file.
375         * gdb.fortran/short-circuit-argument-list.f90: New test.
376
377 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
378
379         * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
380         "arch=" keyword when executing "-stack-list-frames".
381
382 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
383
384         * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
385         "arch=" keyword when executing "-stack-list-frames".
386
387 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
388
389         * gdb.ada/complete.exp: Expect for "@" when doing "complete
390         break ada".
391
392 2018-09-17  Simon Marchi  <simon.marchi@polymtl.ca>
393
394         PR python/23669
395         * gdb.python/python.exp: Test gdb.execute("show commands").
396
397 2018-09-16  Tom Tromey  <tom@tromey.com>
398
399         * gdb.base/new-ui.exp (do_execution_tests): Update.
400         * gdb.base/dbx.exp (test_breakpoints): Update.
401
402 2018-09-14  Alan Hayward  <alan.hayward@arm.com>
403
404         * lib/gdb.exp (gdb_simple_compile): Add proc.
405         (is_elf_target): Use gdb_simple_compile.
406         (skip_altivec_tests): Likewise.
407         (skip_vsx_tests): Likewise.
408         (skip_tsx_tests): Likewise.
409         (skip_btrace_tests): Likewise.
410         (skip_btrace_pt_tests): Likewise.
411         (gdb_can_simple_compile): Likewise.
412         (gdb_has_argv0): Likewise.
413         (gdb_target_symbol_prefix): Likewise.
414         (target_supports_scheduler_locking): Likewise.
415
416 2018-09-13  Tom Tromey  <tom@tromey.com>
417
418         * Makefile.in (TAGS): Recognize proc_with_prefix and
419         gdb_caching_proc.
420
421 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
422
423         * gdb.python/py-progspace.exp: Test the Progspace.objfiles
424         method.
425
426 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
427
428         * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
429         and a few other Inferior properties when the Inferior is no
430         longer valid.
431
432 2018-09-13  Tom Tromey  <tom@tromey.com>
433
434         PR rust/23650:
435         * gdb.rust/simple.exp: Add test for enum field access error.
436
437 2018-09-13  Tom Tromey  <tom@tromey.com>
438
439         PR rust/23626:
440         * gdb.rust/simple.rs (EmptyEnum): New type.
441         (main): Use it.
442         * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
443
444 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
445
446         * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
447         * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
448         * gdb.python/py-symtab.exp: Update test printing an objfile.
449
450 2018-09-12  Simon Marchi  <simon.marchi@ericsson.com>
451
452         * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
453         object.
454
455 2018-09-12  Alan Hayward  <alan.hayward@arm.com>
456
457         * lib/gdb.exp (gdb_can_simple_compile): Add proc.
458         (support_complex_tests): Use gdb_can_simple_compile.
459         (is_ilp32_target): Likewise.
460         (is_lp64_target): Likewise.
461         (is_64_target): Likewise.
462         (is_amd64_regs_target): Likewise.
463         (is_aarch32_target): Likewise.
464         (gdb_int128_helper): Likewise.
465
466 2018-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
467
468         * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
469
470 2018-09-10  Jerome Guitton  <guitton@adacore.com>
471
472         * gdb.ada/same_component_name: Add test for case of tagged record
473         with variable-length fields.
474
475 2018-09-10  Xavier Roirand  <roirand@adacore.com>
476
477         * gdb.ada/access_to_unbounded_array.exp: New testcase.
478         * gdb.ada/access_to_unbounded_array/foo.adb: New file.
479         * gdb.ada/access_to_unbounded_array/pack.adb: New file.
480         * gdb.ada/access_to_unbounded_array/pack.ads: New file.
481
482 2018-09-10  Xavier Roirand  <roirand@adacore.com>
483
484         * gdb.ada/mi_string_access.exp: New testcase.
485         * gdb.ada/mi_string_access/bar.adb: New file.
486         * gdb.ada/mi_string_access/pck.adb: New file.
487         * gdb.ada/mi_string_access/pck.asd: New file.
488
489 2018-09-10  Xavier Roirand  <roirand@adacore.com>
490
491         * gdb.ada/mi_var_union.exp: New testcase.
492         * gdb.ada/mi_var_union/bar.adb: New file.
493         * gdb.ada/mi_var_union/pck.adb: New file.
494         * gdb.ada/mi_var_union/pck.asd: New file.
495
496 2018-09-08  Tom Tromey  <tom@tromey.com>
497
498         * gdb.python/py-prettyprint.exp: Use with_test_prefix.
499
500 2018-09-08  Tom Tromey  <tom@tromey.com>
501
502         PR python/16047:
503         * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
504         (register_pretty_printers): Register new printer.
505         * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
506         test.
507         * gdb.python/py-prettyprint.c (int_type3): New typedef.
508         (an_int_type3): New global.
509
510 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
511
512         * gdb.ada/expr_with_funcall: New testcase.
513
514 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
515
516         * gdb.ada/packed_array_assign: New testcase.
517
518 2018-09-07  Andrew Burgess  <andrew.burgess@embecosm.com>
519
520         * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
521         names, and add test prefixes to make test names unique.
522
523 2018-09-05  Tom de Vries  <tdevries@suse.de>
524
525         * gdb.dwarf2/varval.exp: Add test.
526
527 2018-09-04  Gary Benson <gbenson@redhat.com>
528
529         * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
530         'eof' before 'wait -i'.  Use remote_close and clear_gdb_spawn_id.
531
532 2018-08-31  Tom Tromey  <tom@tromey.com>
533
534         * gdb.rust/simple.rs: Rename second variable "v".
535
536 2018-08-30  Andrew Burgess  <andrew.burgess@embecosm.com>
537
538         * gdb.base/funcargs.c (use_a): New function.
539         (recurse): Call use_a.
540
541 2018-08-29  Keith Seitz  <keiths@redhat.com>
542
543         * gdb.compile/compile-cplus-anonymous.cc: New file.
544         * gdb.compile/compile-cplus-anonymous.exp: New file.
545         * gdb.compile/compile-cplus-array-decay.cc: New file.
546         * gdb.compile/compile-cplus-array-decay.exp: New file.
547         * gdb.compile/compile-cplus-inherit.cc: New file.
548         * gdb.compile/compile-cplus-inherit.exp: New file.
549         * gdb.compile/compile-cplus-member.cc: New file.
550         * gdb.compile/compile-cplus-member.exp: New file.
551         * gdb.compile/compile-cplus-method.cc: New file.
552         * gdb.compile/compile-cplus-method.exp: New file.
553         * gdb.compile/compile-cplus-mod.c: "New" file.
554         * gdb.compile/compile-cplus-namespace.cc: New file.
555         * gdb.compile/compile-cplus-namespace.exp: New file.
556         * gdb.compile/compile-cplus-nested.cc: New file.
557         * gdb.compile/compile-cplus-nested.exp: New file.
558         * gdb.compile/compile-cplus-print.c: "New" file.
559         * gdb.compile/compile-cplus-print.exp: "New" file.
560         * gdb.compile/compile-cplus-virtual.cc: New file.
561         * gdb.compile/compile-cplus-virtual.exp: New file.
562         * gdb.compile/compile-cplus.c: "New" file.
563         * gdb.compile/compile-cplus.exp: "New" file.
564         * lib/compile-support.exp: New file.
565
566 2018-08-16  Gary Benson <gbenson@redhat.com>
567
568         PR gdb/13000:
569         * gdb.base/batch-exit-status.exp: New file.
570         * gdb.base/batch-exit-status.good-commands: Likewise.
571         * gdb.base/batch-exit-status.bad-commands: Likewise.
572
573 2018-08-29  Alan Hayward  <alan.hayward@arm.com>
574
575         * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
576         (struct struct02): Likewise.
577         (struct struct03): Likewise.
578         (struct struct04): Likewise.
579         (struct struct_01_01): New struct.
580         (struct struct_01_02): Likewise.
581         (struct struct_01_03): Likewise.
582         (struct struct_01_04): Likewise.
583         (struct struct_02_01): Likewise.
584         (struct struct_02_02): Likewise.
585         (struct struct_02_03): Likewise.
586         (struct struct_02_04): Likewise.
587         (struct struct_04_01): Likewise.
588         (struct struct_04_02): Likewise.
589         (struct struct_04_03): Likewise.
590         (struct struct_04_04): Likewise.
591         (struct struct_05_01): Likewise.
592         (struct struct_05_02): Likewise.
593         (struct struct_05_03): Likewise.
594         (struct struct_05_04): Likewise.
595         (cmp_struct01): Remove function.
596         (cmp_struct02): Likewise.
597         (cmp_struct03): Likewise.
598         (cmp_struct04): Likewise.
599         (cmp_struct_01_01): Add Function.
600         (cmp_struct_01_02): Likewise.
601         (cmp_struct_01_03): Likewise.
602         (cmp_struct_01_04): Likewise.
603         (cmp_struct_02_01): Likewise.
604         (cmp_struct_02_02): Likewise.
605         (cmp_struct_02_03): Likewise.
606         (cmp_struct_02_04): Likewise.
607         (cmp_struct_04_01): Likewise.
608         (cmp_struct_04_02): Likewise.
609         (cmp_struct_04_03): Likewise.
610         (cmp_struct_04_04): Likewise.
611         (cmp_struct_05_01): Likewise.
612         (cmp_struct_05_02): Likewise.
613         (cmp_struct_05_03): Likewise.
614         (cmp_struct_05_04): Likewise.
615         (call_all): Add new structs.
616         * gdb.base/infcall-nested-structs.exp: Likewise.
617
618 2018-08-27  Jan Vrany  <jan.vrany@fit.cvut.cz>
619
620         * gdb.python/py-framefilter-mi.exp: Update regexp to
621         check for "arch" field in frame output.
622
623 2018-08-23  Kevin Buettner  <kevinb@redhat.com>
624
625         * gdb.dwarf2/dw2-ranges-func.c: New file.
626         * gdb.dwarf2/dw2-ranges-func.exp: New file.
627
628 2018-08-22  Simon Marchi  <simon.marchi@polymtl.ca>
629
630         * gdb.base/term.exp: Compare terminal settings with values from
631         the inferior.
632         * gdb.base/term.c: Get and set terminal settings.
633
634 2018-08-22  Jan Vrany  <jan.vrany@fit.cvut.cz>
635
636         * lib/mi-support.exp (mi_expect_stop): Update regexp to
637         accommodate new "arch" field in frame output.
638         * gdb.mi/mi-return.exp: Likewise.
639         * gdb.mi/mi-stack.exp: Likewise.
640         * gdb.mi/mi-syn-frame.exp: Likewise.
641         * gdb.mi/user-selected-context-sync.exp: Likewise.
642
643 2018-08-19  Michael Spang  <spang@google.com>
644
645         PR gdb/11786
646         * gdb.base/gcore-tls-pie.c: New file.
647         * gdb.base/gcore-tls-pie.exp: New file.
648
649 2018-08-18  Kevin Buettner  <kevinb@redhat.com>
650
651         * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
652         * gdb.dwarf2/varval.c: New file.
653         * gdb.dwarf2/varval.exp: New file.
654
655 2018-08-17  Alan Hayward  <alan.hayward@arm.com>
656
657         PR gdb/18931
658         * gdb.arch/aarch64-fp.c (main): Fix asm registers.
659
660 2018-08-16  Keith Seitz  <keiths@redhat.com>
661
662         * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
663         tests expected to pass.
664
665 2018-08-14  Jan Vrany  <jan.vrany@fit.cvut.cz>
666
667         * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
668         -data-disassemble -a.
669         (test_disassembly_bogus_args): Likewise.
670
671 2018-08-14  Andrew Burgess  <andrew.burgess@embecosm.com>
672
673         * gdb.mi/list-thread-groups-available.exp: Update test regexp.
674
675 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
676
677         * gdb.base/vla-optimized-out.exp: Add new test.
678
679 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
680
681         * gdb.base/vla-optimized-out-o3.exp: Delete.
682         * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
683         * gdb.base/vla-optimized-out.exp: Extend to cover all of the
684         deleted tests.
685
686 2018-08-08  Andrew Burgess  <andrew.burgess@embecosm.com>
687
688         PR gdb/18050:
689         * gdb.server/extended-remote-restart.c: New file.
690         * gdb.server/extended-remote-restart.exp: New file.
691
692 2018-08-07  Simon Marchi  <simon.marchi@polymtl.ca>
693
694         * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
695         "set variable index = 42".
696
697 2018-08-07  Simon Marchi  <simon.marchi@ericsson.com>
698
699         * boards/index-cache-gdb.exp: New file.
700         * gdb.dwarf2/index-cache.exp: New file.
701         * gdb.dwarf2/index-cache.c: New file.
702         * gdb.base/maint.exp: Check if we are using the index cache.
703
704 2018-08-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
705
706         * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
707         MAKEFLAGS.
708
709 2018-08-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
710
711         * dg-extract-results.sh: Move to toplevel contrib.
712         * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
713         * Makefile.in (check-parallel-racy): Likewise.
714
715 2018-08-06  Andrew Burgess  <andrew.burgess@embecosm.com>
716
717         * lib/gdb.exp (target_supports_scheduler_locking): New proc.
718         * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
719         tests if the target supports scheduler locking.
720
721 2018-08-04  Tom de Vries  <tdevries@suse.de>
722
723         * gdb.python/py-rbreak.exp: Fix rbreak regexp.
724
725 2018-08-02  Tom Tromey  <tom@tromey.com>
726
727         PR symtab/16842.
728         * gdb.cp/temargs.exp: Test "info address" of a template
729         parameter.
730
731 2018-07-31  Jan Vrany  <jan.vrany@fit.cvut.cz>
732
733         * gdb.python/py-mi-var-info-path-expression.c: New file.
734         * gdb.python/py-mi-var-info-path-expression.py: New file.
735         * gdb.python/py-mi-var-info-path-expression.exp: New file.
736
737 2018-07-30  Sergio Durigan Junior  <sergiodj@redhat.com>
738
739         * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
740         error after "cannot resolve name" string.
741
742 2018-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
743
744         * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
745         started.
746         * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
747
748 2018-07-28  Tom de Vries  <tdevries@suse.de>
749
750         * gdb.base/vla-optimized-out-o3-strict.exp: New file.
751
752 2018-07-26  Tom de Vries  <tdevries@suse.de>
753
754         * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
755
756 2018-07-26  Andrew Burgess  <andrew.burgess@embecosm.com>
757
758         * gdb.base/maint.exp: Add check that dwarf unwinders control flag
759         is visible.
760
761 2018-07-26  Tom de Vries  <tdevries@suse.de>
762
763         PR breakpoints/23366
764         * gdb.base/catch-follow-exec.c: New test.
765         * gdb.base/catch-follow-exec.exp: New file.
766
767 2018-07-25  Tom de Vries  <tdevries@suse.de>
768
769         * gdb.base/vla-optimized-out-o3.exp: New file.  Reuse
770         vla-optimized-out.c.
771
772 2018-07-25  Jan Vrany  <jan.vrany@fit.cvut.cz>
773
774         * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
775         * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
776
777 2018-07-20  Tom de Vries  <tdevries@suse.de>
778
779         * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
780         NOCLONE macro.
781         * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
782
783 2018-07-19  Tom de Vries  <tdevries@suse.de>
784
785         * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
786         regular expression.
787
788 2018-07-18  Tom de Vries  <tdevries@suse.de>
789
790         * gdb.base/vla-optimized-out.c: New test.
791         * gdb.base/vla-optimized-out.exp: New file.
792
793 2018-07-13  Sergio Durigan Junior  <sergiodj@redhat.com>
794
795         * lib/gdbserver-support.exp (gdbserver_start): Expect for the
796         message "No address associated with hostname" when gdbserver
797         cannot resolve the hostname.
798
799 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
800
801         * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
802         Add some test prefixes to make tests unique.
803
804 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
805
806         * gdb.base/frameapply.c: New file.
807         * gdb.base/frameapply.exp: New file.
808
809 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
810
811         * gdb.base/skip.exp: Update expected error message.
812
813 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
814             Jan Kratochvil  <jan.kratochvil@redhat.com>
815             Paul Fertser  <fercerpav@gmail.com>
816             Tsutomu Seki  <sekiriki@gmail.com>
817
818         * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
819         parameter.
820         * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
821         by default.
822         * boards/native-gdbserver.exp: Likewise.
823         * gdb.server/run-without-local-binary.exp: Improve regexp used
824         for detecting when a remote debugging connection succeeds.
825         * gdb.server/server-connect.exp: New file.
826         * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
827         Do not prefix the port number with ":".
828         (gdbserver_start): New global GDB_TEST_SOCKETHOST.  Implement
829         support for detecting and using it.  Add '$debughost_gdbserver'
830         to the list of arguments used to start gdbserver.  Handle case
831         when gdbserver cannot resolve a network name.
832
833 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
834
835         PR c++/23373
836         * gdb.base/ptype-offsets.cc (struct static_member): New
837         struct.
838         (main) <stmember>: New variable.
839         * gdb.base/ptype-offsets.exp: Add test for printing a struct
840         with a static member in it.
841
842 2018-07-10  Andrew Burgess  <andrew.burgess@embecosm.com>
843
844         * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
845         watchpoints enabled and disabled.
846
847 2018-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
848
849         * gdb.base/examine-backward.exp: Still run tests around address
850         0x0, even if address 0x0 is not readable.  Update the pattern for
851         matching address 0x0 in expected output.
852
853 2018-07-06  Andrew Burgess  <andrew.burgess@embecosm.com>
854
855         * gdb.base/share-env-with-gdbserver.c (main): Add call to
856         malloc/free.
857
858 2018-07-04  Tom de Vries  <tdevries@suse.de>
859
860         * gdb.dwarf2/dw2-error.exp: Update expected error message.
861
862 2018-07-02  Maciej W. Rozycki  <macro@mips.com>
863
864         PR tdep/8282
865         * gdb.arch/mips-disassembler-options.exp: New test.
866         * gdb.arch/mips-disassembler-options.s: New test source.
867
868 2018-06-29  Pedro Alves  <palves@redhat.com>
869
870         * gdb.threads/names.exp: Adjust expected "info threads" output.
871
872 2018-06-29  Pedro Alves  <palves@redhat.com>
873
874         * gdb.opt/inline-break.exp (line number, address): Add "info
875         break" tests.
876
877 2018-06-29  Pedro Alves  <palves@redhat.com>
878
879         * gdb.opt/inline-break.c (func1): Add "break here" marker.
880         * gdb.opt/inline-break.exp: Test setting breakpoints by line
881         number and address and running to them.
882
883 2018-06-29  Richard Bunt  <richard.bunt@arm.com>
884
885         * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
886
887 2018-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
888
889         * lib/compiler.c: Remove executable permission flag.
890
891 2018-06-28  Richard Bunt  <richard.bunt@arm.com>
892
893         * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
894         code.
895         * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
896
897 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
898
899         * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
900
901 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
902
903         * gdb.base/relocate.exp: Test add-symbol-file behavior when the
904         address argument is omitted.
905
906 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
907
908         * gdb.base/relocate.exp: Add test for "symbol-file -o ".
909
910 2018-06-27  Omair Javaid  <omair.javaid@linaro.org>
911
912         PR gdb/21695
913         * gdb.base/infoline-reloc-main-from-zero.exp: New test.
914         * gdb.base/infoline-reloc-main-from-zero.c: New file.
915
916 2018-06-26  Tom Tromey  <tom@tromey.com>
917
918         PR rust/22574:
919         * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
920         * gdb.rust/simple.rs (struct SimpleLayout): New.
921
922 2018-06-22  Simon Marchi  <simon.marchi@ericsson.com>
923
924         * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
925         "info registers" output.
926
927 2018-06-21  Richard Bunt  <richard.bunt@arm.com>
928
929         * gdb.base/watchpoint-hw-attach.c: New test.
930         * gdb.base/watchpoint-hw-attach.exp: New file.
931
932 2018-06-20  Simon Marchi  <simon.marchi@ericsson.com>
933
934         * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
935         through /bin/sh.
936         * boards/dwarf4-gdb-index.exp: Likewise.
937         * boards/fission-dwp.exp: Likewise.
938
939 2018-06-20  Ulrich Weigand  <uweigand@de.ibm.com>
940
941         * gdb.base/float128.exp: Add comment and improved fail message
942         to the failure case of "print large128" test.
943
944 2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
945
946         * configure.ac: Remove AC_PREREQ.
947         * configure: Re-generate.
948
949 2018-06-19  Pedro Alves  <palves@redhat.com>
950
951         * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
952         (func_extern_caller): New.
953         (main): Call func_extern_caller.
954         * gdb.opt/inline-break.exp: Add tests for inline frame skipping
955         logic change.
956
957 2018-06-18  Weimin Pan  <weimin.pan@oracle.com>
958
959         PR gdb/16841
960         * gdb.cp/typedef-base.cc: New file.
961         * gdb.cp/typedef-base.exp: New file.
962
963 2018-06-18  Tom de Vries  <tdevries@suse.de>
964
965         * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
966
967 2018-06-16  Andrew Burgess  <andrew.burgess@embecosm.com>
968             Richard Bunt <Richard.Bunt@arm.com>
969
970         * gdb.threads/attach-slow-waitpid.c: New file.
971         * gdb.threads/attach-slow-waitpid.exp: New file.
972         * gdb.threads/slow-waitpid.c: New file.
973
974 2018-06-14  Pedro Alves  <palves@redhat.com>
975
976         * gdb.base/fork-running-state.c: Include <errno.h>.
977         (exit_if_relative_exits): New.
978         (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
979         exits.
980         (fork_parent): If 'exit_if_relative_exits' is true, exit if the
981         child exits.
982
983 2018-06-14  Tom de Vries  <tdevries@suse.de>
984
985         PR cli/22573
986         * gdb.base/finish-pretty.c: New test.
987         * gdb.base/finish-pretty.exp: New file.
988
989 2018-06-14  Pedro Alves  <palves@redhat.com>
990
991         * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
992         gdb's expected startup output.
993
994 2018-06-14  Pedro Alves  <palves@redhat.com>
995
996         * lib/selftest-support.exp (selftest_setup): Remove inlined
997         function handling.
998
999 2018-06-14  Tom de Vries  <tdevries@suse.de>
1000
1001         * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1002         matching of breakpoint printing.
1003
1004 2018-06-13  Tom de Vries  <tdevries@suse.de>
1005
1006         PR testsuite/23269
1007         * gdb.base/fork-running-state.c (main): Move setting of alarm ...
1008         (fork_child): ... here, and ...
1009         (fork_parent): ... here.
1010
1011 2018-06-12  Tom de Vries  <tdevries@suse.de>
1012
1013         * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
1014
1015 2018-06-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1016             Stephen Roberts  <stephen.roberts@arm.com>
1017
1018         * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
1019         rewrite test to describe action performed, rather than possible
1020         failure.
1021
1022 2018-06-08  Gary Benson <gbenson@redhat.com>
1023
1024         * gdb.threads/check-libthread-db.exp: New file.
1025         * gdb.threads/check-libthread-db.c: Likewise.
1026
1027 2018-06-05  Tom Tromey  <tom@tromey.com>
1028
1029         * gdb.base/default.exp: Update expected "show version" output.
1030
1031 2018-06-05  Tom Tromey  <tom@tromey.com>
1032
1033         PR cli/12326:
1034         * gdb.cp/static-print-quit.exp: Update.
1035         * lib/gdb.exp (pagination_prompt): Update.
1036         * gdb.base/page.exp: Use pagination_prompt.  Add new tests.
1037         * gdb.python/python.exp: Update.
1038
1039 2018-06-04  Joel Brobecker  <brobecker@adacore.com>
1040
1041         * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
1042
1043 2018-06-01  Joel Brobecker  <brobecker@adacore.com>
1044
1045         * gdb.ada/bp_fun_addr: New testcase.
1046
1047 2018-06-01  Tom Tromey  <tom@tromey.com>
1048
1049         * gdb.xml/tdesc-regs.exp (load_description): Update expected
1050         results.
1051         * gdb.dwarf2/method-ptr.exp: Set language to C++.
1052         * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
1053         * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
1054         * gdb.base/maint.exp (maint_pass_if): Update.
1055
1056 2018-05-31  Maciej W. Rozycki  <macro@mips.com>
1057
1058         * gdb.base/endian.exp: New test.
1059         * gdb.base/endian.c: New test source.
1060
1061 2018-05-24  Andrew Burgess  <andrew.burgess@embecosm.com>
1062
1063         PR gdb/23203
1064         * gdb.base/bt-selected-frame.c: New file.
1065         * gdb.base/bt-selected-frame.exp: New file.
1066         * lib/gdb.exp (get_current_frame_number): New function.
1067
1068 2018-05-24  Maciej W. Rozycki  <macro@mips.com>
1069             Pedro Alves  <palves@redhat.com>
1070
1071         * gdb.threads/tls-core.c: Include <stdlib.h>
1072         (thread_proc): Call `abort'.
1073         * gdb.threads/tls-core.exp: Generate a core with core_find too.
1074         (tls_core_test): New procedure, bits factored out from ...
1075         (top level): ... here.  Test both native cores and gcore cores.
1076
1077 2018-05-23  Tom Tromey  <tom@tromey.com>
1078
1079         * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
1080
1081 2018-05-23  Tom Tromey  <tom@tromey.com>
1082
1083         * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
1084         symfile_complaints.
1085         (test_short_complaints): Likewise.
1086         (test_empty_complaints): Likewise.
1087         (test_initial_complaints): Update.
1088
1089 2018-05-23  Tom Tromey  <tom@tromey.com>
1090
1091         * gdb.gdb/complaints.exp (test_empty_complaints): Update.
1092
1093 2018-05-23  Tom Tromey  <tom@tromey.com>
1094
1095         * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
1096         (test_short_complaints): Update.
1097
1098 2018-05-22  Pedro Alves  <palves@redhat.com>
1099
1100         * gdb.base/remote.exp: Only gdb_start after compiling the
1101         testcase.  Issue "disconnect" before testing "set remote" command
1102         defaults.  Issue clean_restart before running to main.
1103
1104 2018-05-22  Pedro Alves  <palves@redhat.com>
1105
1106         * gdb.base/remote.exp: Adjust expected output of "show remote
1107         memory-write-packet-size".  Add tests for "set remote
1108         memory-write-packet-size 0" and "set remote
1109         memory-write-packet-size fixed/limit".
1110
1111 2018-05-22  Pedro Alves  <palves@redhat.com>
1112
1113         PR gdb/22973
1114         * gdb.base/utf8-identifiers.c: New file.
1115         * gdb.base/utf8-identifiers.exp: New file.
1116
1117 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1118
1119         * gdb.arch/powerpc-fpscr-gcore.exp: New file.
1120
1121 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1122
1123         * gdb.arch/powerpc-vsx-gcore.exp: New file.
1124
1125 2018-05-18  Tom Tromey  <tom@tromey.com>
1126
1127         * gdb.base/ptype-offsets.exp: Update.
1128
1129 2018-05-17  Keith Seitz  <keiths@redhat.com>
1130
1131         * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
1132         in expected breakpoint stop locations.
1133         * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
1134         move to proper scope to test variable values.
1135         * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
1136         (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
1137         New functions.
1138         (main): Call not_inline_func3.
1139         * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
1140         inline_func1, inline_func2, and inline_func3.  Test that when each
1141         breakpoint is hit, GDB properly reports both the stop location
1142         and the backtrace. Repeat tests for temporary breakpoints.
1143
1144 2018-05-15  Maciej W. Rozycki  <macro@mips.com>
1145
1146         * gdb.server/server-kill.exp: Verify whether `server_pid' exists
1147         rather then trying to access it in determining whether the PID
1148         of `gdbserver' could have been retrieved.
1149
1150 2018-05-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1151
1152         * gdb.arch/amd64-init-x87-values.S: New file.
1153         * gdb.arch/amd64-init-x87-values.exp: New file.
1154
1155 2018-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1156
1157         * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
1158
1159 2018-05-04  Tom Tromey  <tom@tromey.com>
1160
1161         PR python/22730:
1162         * gdb.python/python.exp: Test multi-line execute.
1163
1164 2018-05-04  Tom Tromey  <tom@tromey.com>
1165
1166         PR python/22731:
1167         * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
1168
1169 2018-05-04  Tom Tromey  <tom@tromey.com>
1170
1171         PR gdb/11750:
1172         * gdb.base/define.exp: Test defining a user command inside a user
1173         command.
1174         * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
1175
1176 2018-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
1177             Pedro Alves <palves@redhat.com>
1178
1179         PR breakpoints/19806 and support for PR external/20207.
1180         * gdb.base/watchpoint-unaligned.c: New file.
1181         * gdb.base/watchpoint-unaligned.exp: New file.
1182
1183 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1184
1185         * gdb.base/maint.exp: Make test names unique, use
1186         test_prefix_command_help to test 'help maint info', and remove
1187         repeated test of 'help maint'.
1188
1189 2018-05-04  Tom Tromey  <tom@tromey.com>
1190
1191         PR gdb/22619:
1192         * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
1193         behavior.
1194
1195 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1196
1197         * gdb.base/maint.exp: Process output from 'maint print registers'
1198         line at a time.
1199
1200 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1201
1202         * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
1203         timeout.
1204
1205 2018-05-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1206
1207         * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
1208         filter pattern.
1209
1210 2018-05-02  Pedro Alves  <palves@redhat.com>
1211
1212         * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
1213         to_log_command renames.
1214         * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1215
1216 2018-05-02  Tom Tromey  <tom@tromey.com>
1217
1218         * gdb.python/py-parameter.exp: Set test message.
1219
1220 2018-05-02  Tom Tromey  <tom@tromey.com>
1221
1222         PR python/20084:
1223         * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
1224         PARAM_ZUINTEGER_UNLIMITED tests.
1225
1226 2018-04-28  Dan Robertson  <danlrobertson89@gmail.com>
1227
1228         PR rust/23124
1229         * gdb.rust/expr.exp: Test that the unit type is correctly parsed
1230         when casting.
1231
1232 2018-04-30  Tom Tromey  <tom@tromey.com>
1233
1234         * gdb.python/py-type.exp: Check align attribute.
1235         * gdb.python/py-type.c: New "aligncheck" global.
1236
1237 2018-04-30  Tom Tromey  <tom@tromey.com>
1238
1239         PR exp/17095:
1240         * gdb.dwarf2/dw2-align.exp: New file.
1241         * gdb.cp/align.exp: New file.
1242         * gdb.base/align.exp: New file.
1243         * lib/gdb.exp (gdb_int128_helper): New proc.
1244         (has_int128_c, has_int128_cxx): New caching procs.
1245
1246 2018-04-27  Tom Tromey  <tom@tromey.com>
1247
1248         PR rust/22545:
1249         * gdb.rust/simple.exp: Add inclusive range tests.
1250
1251 2018-04-26  Pedro Alves  <palves@redhat.com>
1252
1253         * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
1254         ifunc breakpoint locations correctly of ifunc breakpoints set
1255         while the program resolves the ifunc.
1256
1257 2018-04-26  Pedro Alves  <palves@redhat.com>
1258
1259         * gdb.base/gnu-ifunc-final.c: New file.
1260         * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
1261         * gdb.base/gnu-ifunc.exp (executable): Delete.
1262         (staticexecutable): Adjust.
1263         (lib_opts, exec_opts): Delete.
1264         (make_binsuffix, build, set-break): New procedures.
1265         (misc_tests): New, with tests factored out from the top level.
1266         (top level): Test different combinations of ifunc resolver name,
1267         resolver with and with debug info, and ifunc target with and
1268         without debug info.  Wrap static tests with with_target_prefix.
1269
1270 2018-04-26  Pedro Alves  <palves@redhat.com>
1271
1272         * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
1273         return type" warnings.
1274
1275 2018-04-25  Pedro Alves  <palves@redhat.com>
1276
1277         * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
1278         killed".
1279         * gdb.base/kill-after-signal.exp: Likewise.
1280         * gdb.threads/kill.exp: Likewise.
1281
1282 2018-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1283             Sergio Durigan Junior  <sergiodj@redhat.com>
1284             Pedro Alves  <palves@redhat.com>
1285
1286         * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1287         regexps to expect for '[Inferior ... detached]' as well.
1288         * gdb.base/attach.exp: Likewise.
1289         * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1290         "gdb_continue_to_end".
1291         (test_catch_syscall_with_wrong_args): Likewise.
1292         * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1293         ']'.  Don't set 'verbose' on.
1294         * gdb.base/foll-vfork.exp: Likewise.
1295         * gdb.base/fork-print-inferior-events.c: New file.
1296         * gdb.base/fork-print-inferior-events.exp: New file.
1297         * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1298         '[Inferior ... has been killed]' message.
1299         * gdb.base/kill-after-signal.exp: Likewise.
1300         * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1301         detach message.
1302         * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1303         message.
1304         * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1305         regexps to expect for '[Inferior ... detached]' as well.
1306         * gdb.threads/process-dies-while-detaching.exp: Likewise.
1307
1308 2018-04-24  Simon Marchi  <simon.marchi@ericsson.com>
1309
1310         PR gdb/23104
1311         * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1312
1313 2018-04-19  Richard Bunt  <richard.bunt@arm.com>
1314
1315         * gdb.threads/multiple-successive-infcall.c: New test.
1316         * gdb.threads/multiple-successive-infcall.exp: New file.
1317
1318 2018-04-17  Tom Tromey  <tom@tromey.com>
1319
1320         * gdb.rust/simple.rs (Union): New type.
1321         (main): New local "u".
1322         * gdb.rust/simple.exp (test_one_slice): Add new test case.
1323
1324 2018-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1325
1326         * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1327         number information in output of "whereis" command.
1328         * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1329
1330 2018-04-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1331
1332         * gdb.ada/info_types.exp: Adjust expected output to the line
1333         numbers now printed by "info var/func/type".
1334         * gdb.base/completion.exp: Likewise.
1335         * gdb.base/included.exp: Likewise.
1336         * gdb.cp/cp-relocate.exp: Likewise.
1337         * gdb.cp/cplusfuncs.exp: Likewise.
1338         * gdb.cp/namespace.exp: Likewise.
1339         * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1340
1341 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1342
1343         * gdb.btrace/cpu.exp: New.
1344
1345 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1346
1347         * gdb.base/step-indirect-call-thunk.exp: New.
1348         * gdb.base/step-indirect-call-thunk.c: New.
1349         * gdb.reverse/step-indirect-call-thunk.exp: New.
1350         * gdb.reverse/step-indirect-call-thunk.c: New.
1351
1352 2018-04-11  Simon Marchi  <simon.marchi@ericsson.com>
1353
1354         * gdb.base/pie-fork.c: New file.
1355         * gdb.base/pie-fork.exp: New file.
1356
1357 2018-04-11  Tom Tromey  <tom@tromey.com>
1358
1359         * gdb.rust/simple.exp: Add test for ".." struct initializer.
1360
1361 2018-04-10  Pedro Alves  <palves@redhat.com>
1362
1363         * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1364         exits.  Instead loop running forever.
1365         (fork_parent): Run forever too.
1366
1367 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1368
1369         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
1370         mi_continue_to_line.
1371         * gdb.mi/mi-stack.c (callee4): Add comment.
1372
1373 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1374
1375         * gdb.mi/mi-stack.exp: Fix indentation.
1376
1377 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1378
1379         PR gdb/22979
1380         * gdb.arch/amd64-osabi.exp: New file.
1381
1382 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1383
1384         PR gdb/22980
1385         * gdb.base/osabi.exp: New file.
1386
1387 2018-04-02  Weimin Pan  <weimin.pan@oracle.com>
1388
1389         * gdb.cp/static-typedef-print.exp: New file.
1390         * gdb.cp/static-typedef-print.cc: New file.
1391
1392 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1393
1394         * gdb.ada/varsize_limit: New testcase.
1395
1396 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1397
1398         * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1399
1400         * gdb.ada/notcplusplus: New testcase.
1401
1402         * gdb.base/c-linkage-name.c: New file.
1403         * gdb.base/c-linkage-name.exp: New testcase.
1404
1405 2018-03-26  Tom Tromey  <tom@tromey.com>
1406
1407         * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1408         * gdb.python/py-framefilter.py (name_error): New global.
1409         (ErrorInName.function): Use name_error.
1410
1411 2018-03-26  Tom Tromey  <tom@tromey.com>
1412
1413         PR backtrace/15582:
1414         * gdb.python/py-framefilter.exp: Add "bt hide" test.
1415
1416 2018-03-23  Keith Seitz  <keiths@redhat.com>
1417
1418         PR c++/22968
1419         * gdb.cp/subtypes.exp: New file.
1420         * gdb.cp/subtypes.h: New file.
1421         * gdb.cp/subtypes.cc: New file.
1422         * gdb.cp/subtypes-2.cc: New file.
1423
1424 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1425
1426         * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1427         (done): Call '_exit' not 'exit' to avoid atexit handlers.
1428         * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1429         -nostartfiles when compiling the test.  Confirm that all registers
1430         xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1431
1432 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1433
1434         * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1435         option, syntax was wrong anyway.
1436         * gdb.arch/arm-disp-step.exp: Likewise.
1437         * gdb.arch/sparc64-regs.exp: Likewise.
1438         * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1439         option, syntax was wrong anyway, switch to use
1440         prepare_for_testing.
1441         * gdb.arch/i386-disp-step.exp: Likewise.
1442
1443 2018-03-23  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1444
1445         * gdb.ada/exec_changed.exp: Replace "target_info exists
1446         use_gdb_stub" by "use_gdb_stub".
1447         * gdb.ada/start.exp: Likewise.
1448         * gdb.base/async-shell.exp: Likewise.
1449         * gdb.base/attach-pie-misread.exp: Likewise.
1450         * gdb.base/attach-wait-input.exp: Likewise.
1451         * gdb.base/break-entry.exp: Likewise.
1452         * gdb.base/break-interp.exp: Likewise.
1453         * gdb.base/dprintf-detach.exp: Likewise.
1454         * gdb.base/nostdlib.exp: Likewise.
1455         * gdb.base/solib-nodir.exp: Likewise.
1456         * gdb.base/statistics.exp: Likewise.
1457         * gdb.base/testenv.exp: Likewise.
1458         * gdb.mi/mi-exec-run.exp: Likewise.
1459         * gdb.mi/mi-start.exp: Likewise.
1460         * gdb.multi/dummy-frame-restore.exp: Likewise.
1461         * gdb.multi/multi-arch-exec.exp: Likewise.
1462         * gdb.multi/multi-arch.exp: Likewise.
1463         * gdb.multi/tids.exp: Likewise.
1464         * gdb.multi/watchpoint-multi.exp: Likewise.
1465         * gdb.python/py-events.exp: Likewise.
1466         * gdb.threads/attach-into-signal.exp: Likewise.
1467         * gdb.threads/attach-stopped.exp: Likewise.
1468         * gdb.threads/threadapply.exp: Likewise.
1469         * lib/selftest-support.exp: Likewise.
1470
1471 2018-03-22  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1472
1473         * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1474
1475 2018-03-20  Stephen Roberts  <stephen.roberts@arm.com>
1476
1477         * gdb.perf/template-breakpoints.cc: New file.
1478         * gdb.perf/template-breakpoints.exp: New file.
1479         * gdb.perf/template-breakpoints.py: New file.
1480
1481 2018-03-19  Tom Tromey  <tom@tromey.com>
1482
1483         * gdb.rust/simple.rs (main): Add local variables field1, field2,
1484         y0.
1485         * gdb.rust/simple.exp: Test bare identifier form of struct
1486         initializer.
1487
1488 2018-03-19  Tom Tromey  <tom@tromey.com>
1489
1490         * gdb.gdb/observer.exp: Remove.
1491
1492 2018-03-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1493
1494         * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1495         "qualified" option when setting breakpoints.
1496         * gdb.trace/backtrace.exp: Likewise.
1497         * gdb.trace/circ.exp: Likewise.
1498         * gdb.trace/collection.exp: Likewise.
1499         * gdb.trace/disconnected-tracing.exp: Likewise.
1500         * gdb.trace/ftrace-lock.exp: Likewise.
1501         * gdb.trace/ftrace.exp: Likewise.
1502         * gdb.trace/infotrace.exp: Likewise.
1503         * gdb.trace/packetlen.exp: Likewise.
1504         * gdb.trace/passc-dyn.exp: Likewise.
1505         * gdb.trace/qtro.exp: Likewise.
1506         * gdb.trace/read-memory.exp: Likewise.
1507         * gdb.trace/report.exp: Likewise.
1508         * gdb.trace/signal.exp: Likewise.
1509         * gdb.trace/status-stop.exp: Likewise.
1510         * gdb.trace/strace.exp: Likewise.
1511         * gdb.trace/tfind.exp: Likewise.
1512         * gdb.trace/trace-break.exp: Likewise.
1513         * gdb.trace/trace-condition.exp: Likewise.
1514         * gdb.trace/trace-mt.exp: Likewise.
1515         * gdb.trace/tstatus.exp: Likewise.
1516         * gdb.trace/tsv.exp: Likewise.
1517         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1518         * gdb.trace/unavailable.exp: Likewise.
1519         * gdb.trace/while-dyn.exp: Likewise.
1520
1521 2018-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1522
1523         * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1524         that libinproctrace is copied to the target.
1525
1526 2018-03-14  Tom Tromey  <tom@tromey.com>
1527
1528         PR cli/14977:
1529         * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1530         a null pointer.
1531         * gdb.base/wchar.exp: Likewise.
1532
1533 2018-03-14  Tom Tromey  <tom@tromey.com>
1534
1535         PR cli/19918:
1536         * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1537         flag.
1538
1539 2018-03-08  Simon Marchi  <simon.marchi@ericsson.com>
1540
1541         PR gdb/22841
1542         * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1543         "target" to remote_exec.
1544
1545 2018-03-08  Simon Marchi  <simon.marchi@polymtl.ca>
1546
1547         PR gdb/22841
1548         * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1549         ${board}_upload): Remove.
1550
1551 2018-03-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1552
1553         * gdb.cp/watch-cp.cc: New test.
1554         * gdb.cp/watch-cp.exp: New file.
1555
1556 2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1557
1558         * gdb.base/infcall-nested-structs.exp: New file.
1559         * gdb.base/infcall-nested-structs.c: New file.
1560         * gdb.base/float.exp: Add riscv support.
1561
1562 2018-03-02  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1563
1564         * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1565         * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1566
1567 2018-02-28  Sergio Durigan Junior  <sergiodj@redhat.com>
1568
1569         * gdb.server/abspath.exp: New file.
1570         * lib/gdb.exp (with_cwd): New procedure.
1571
1572 2018-02-28  Simon Marchi  <simon.marchi@ericsson.com>
1573
1574         * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1575         use it.
1576         (gdb_is_target_remote_prompt): New proc.
1577         (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1578         (gdb_is_target_native): Pass prompt parameter to
1579         gdb_is_target_1.
1580
1581 2018-02-26  Simon Marchi  <simon.marchi@polymtl.ca>
1582
1583         * gdb.base/load-command.c: New file.
1584         * gdb.base/load-command.exp: New file.
1585         * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1586         (gdb_is_target_1): ...this, and generalize for other targets
1587         than just remote.
1588         (gdb_is_target_remote): Use gdb_is_target_1.
1589         (gdb_is_target_native): use gdb_is_target_1.
1590
1591 2018-02-26  Tom Tromey  <tom@tromey.com>
1592
1593         PR python/16497:
1594         * gdb.python/py-framefilter.exp: Update test.
1595
1596 2018-02-26  Tom Tromey  <tom@tromey.com>
1597
1598         * gdb.dwarf2/variant.c: New file.
1599         * gdb.dwarf2/variant.exp: New file.
1600
1601 2018-02-26  Tom Tromey  <tom@tromey.com>
1602
1603         * gdb.rust/simple.exp: Accept more possible results in enum test.
1604
1605 2018-02-25  Simon Marchi  <simon.marchi@polymtl.ca>
1606
1607         * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1608         parentheses.
1609
1610 2018-02-23  Maciej W. Rozycki  <macro@mips.com>
1611
1612         * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1613         name of a variable: $actual_linejj -> $actual_line.
1614
1615 2018-02-21  John Baldwin  <jhb@FreeBSD.org>
1616
1617         * gdb.arch/amd64-i386-address.exp: Fix a typo.
1618
1619 2018-02-20  Markus Metzger  <markus.t.metzger@intel.com>
1620
1621         * gdb.btrace/buffer-size.exp: Do not force BTS.
1622
1623 2018-02-14  Pedro Alves  <palves@redhat.com>
1624
1625         * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1626         getting a "Quit".
1627
1628 2018-02-09  Markus Metzger  <markus.t.metzger@intel.com>
1629
1630         * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1631         Fix test name.
1632
1633 2018-02-07  Simon Marchi  <simon.marchi@ericsson.com>
1634
1635         * gdb.cp/m-static.exp: Check type of optimized out static
1636         member.
1637
1638 2018-02-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1639
1640         * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1641         * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1642
1643 2018-02-01  Simon Marchi  <simon.marchi@polymtl.ca>
1644             Leszek Swirski  <leszeks@google.com>
1645
1646         * gdb.python/py-prettyprint.c
1647         (struct to_string_returns_value_inner,
1648         struct to_string_returns_value_wrapper): New.
1649         (main): Add tsrvw variable.
1650         * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1651         ToStringReturnsValueWrapper): New classes.
1652         (register_pretty_printers): Register new pretty-printers.
1653         * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1654         recursive pretty printer.
1655         * gdb.python/py-mi.exp: Likewise.
1656
1657 2018-02-01  Leszek Swirski  <leszeks@google.com>
1658
1659         * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1660         functions with the same name as an include file are parsed
1661         correctly.
1662
1663 2018-02-01  Yao Qi  <yao.qi@linaro.org>
1664
1665         * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1666         "\[^\r\n\]*".
1667
1668 2018-01-31  Nikola Prica  <nikola.prica@rt-rk.com>
1669
1670         * gdb.arch/powerpc-prologue-frame.s: New file.
1671         * gdb.arch/powerpc-prologue-frame.c: Likewise.
1672         * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1673
1674 2018-01-31  Joel Brobecker  <brobecker@adacore.com>
1675
1676         * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1677
1678 2018-01-30  Pedro Alves  <palves@redhat.com>
1679
1680         PR gdb/13211
1681         * gdb.base/interrupt-daemon.c: New.
1682         * gdb.base/interrupt-daemon.exp: New.
1683         * gdb.multi/multi-term-settings.c: New.
1684         * gdb.multi/multi-term-settings.exp: New.
1685
1686 2018-01-30  Joel Brobecker  <brobecker@adacore.com>
1687
1688         * gdb.base/break.exp: Save the location where the breakpoint
1689         on break.c:47 was actually inserted when debugging the version
1690         compiled at -O2 and use it in the expected output of the "info
1691         break" test performed soon after.
1692
1693 2018-01-22  Pedro Alves  <palves@redhat.com>
1694             Sergio Durigan Junior  <sergiodj@redhat.com>
1695
1696         * gdb.base/whatis.exp: Add tests for 'set print object on' +
1697         'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1698
1699 2018-01-22  Joel Brobecker  <brobecker@adacore.com>
1700
1701         * gdb.base/break-include.c, gdb.base/break-include.inc,
1702         gdb.base/break-include.exp: New files.
1703         * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1704         line number now being the actual line number where the breakpoint
1705         was inserted.
1706         * gdb.mi/mi-break.exp: Likewise.
1707         * gdb.mi/mi-reverse.exp: Likewise.
1708         * gdb.mi/mi-simplerun.exp: Ditto.
1709
1710 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1711
1712         * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1713         varobj.
1714         * gdb.mi/mi-var-create-rtti.exp: Likewise.
1715
1716 2018-01-21  Don Breazeal  <donb@codesourcery.com>
1717             Andrew Burgess  <andrew.burgess@embecosm.com>
1718
1719         * gdb.mi/basics.c: Add new global.
1720         * gdb.mi/mi-frame-regs.exp: New file.
1721         * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1722         case.
1723
1724 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1725
1726         * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1727         non-parameter, and on an unknown symbol.
1728
1729 2018-01-19  Tom Tromey  <tom@tromey.com>
1730
1731         * gdb.rust/modules.rs (TWENTY_THREE): New global.
1732         * gdb.rust/modules.exp: Add ::-qualified lookup test.
1733
1734 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1735
1736         * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1737         setrlimit and chdir to int.
1738
1739 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1740
1741         * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1742         function.
1743         (my_tend): Likewise.
1744         * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1745         rationale of avoiding FP- and vector instructions.
1746
1747 2018-01-19  Ruslan Kabatsayev  <b7.10110111@gmail.com>
1748
1749         * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1750         "info reg" with "\[ \t\]*".
1751         * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1752         "\[ \t\]+".
1753         * gdb.arch/s390-multiarch.exp: Ditto.
1754         * gdb.base/pc-fp.exp: Ditto.
1755         * gdb.reverse/i386-precsave.exp: Ditto.
1756         * gdb.reverse/i386-reverse.exp: Ditto.
1757         * gdb.reverse/i387-env-reverse.exp: Ditto.
1758         * gdb.reverse/i387-stack-reverse.exp: Ditto.
1759
1760 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1761
1762         * lib/gdb.exp (gdb_compile): Re-enable use of
1763         universal_compile_options for languages other than Rust.
1764
1765 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1766
1767         * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1768
1769 2018-01-17  Mike Gulick  <mgulick@mathworks.com>
1770
1771         PR gdb/16577
1772         * gdb.base/solib-vanish.exp: New.
1773         * gdb.base/solib-vanish-main.c: New.
1774         * gdb.base/solib-vanish-lib1.c: New.
1775         * gdb.base/solib-vanish-lib2.c: New.
1776
1777 2018-01-17  Yao Qi  <yao.qi@linaro.org>
1778
1779         * gdb.compile/compile.exp: Match the address printed for
1780         frame in the output of command "bt".
1781
1782 2018-01-15  Tom Tromey  <tom@tromey.com>
1783
1784         * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1785         compute sp_reg.
1786
1787 2018-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1788
1789         * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1790         to prepare.
1791         (prepare): Return 0 on error, 1 on success.
1792
1793 2018-01-12  Pedro Alves  <palves@redhat.com>
1794
1795         * gdb.base/continue-after-aborted-step-over.c: New.
1796         * gdb.base/continue-after-aborted-step-over.exp: New.
1797
1798 2018-01-11  Simon Marchi  <simon.marchi@ericsson.com>
1799
1800         * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1801         options when not creating an executable.
1802
1803 2018-01-11  Pedro Alves  <palves@redhat.com>
1804
1805         PR remote/22597
1806         * gdb.server/stop-reply-no-thread.c: New file.
1807         * gdb.server/stop-reply-no-thread.exp: New file.
1808
1809 2018-01-10  Pedro Alves  <palves@redhat.com>
1810
1811         PR gdb/22670
1812         * gdb.ada/bp_c_mixed_case.exp: Add intro comment.  Test printing C
1813         functions too.  Test setting breakpoints and printing C functions
1814         with no debug info too.
1815         * gdb.ada/bp_c_mixed_case/qux.c: New file.
1816
1817 2018-01-10  Pedro Alves  <palves@redhat.com>
1818
1819         PR gdb/22670
1820         * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1821         a fail.
1822
1823 2018-01-10  Pedro Alves  <palves@redhat.com>
1824
1825         PR gdb/22670
1826         * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
1827
1828 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
1829
1830         * gdb.server/unittest.exp: Match the output in non-development
1831         mode.
1832
1833 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
1834
1835         * gdb.gdb/unittest.exp: Match output in non-development mode.
1836
1837 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
1838
1839         * gdb.ada/access_tagged_param.exp: Relax expected output
1840         for value of "ObjL" in "continue" to pck.inspect breakpoint
1841         test.
1842
1843 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
1844
1845         * gdb.ada/arr_enum_idx_w_gap.exp: New file.
1846         * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
1847
1848 2018-01-05  Pedro Alves  <palves@redhat.com>
1849
1850         PR gdb/18653
1851         * gdb.base/libsegfault.exp: New.
1852
1853 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1854
1855         PR gdb/22670
1856         * gdb.ada/access_tagged_param.exp: New file.
1857         * gdb.ada/access_tagged_param/foo.adb: New file.
1858
1859 2018-01-05  Pedro Alves  <palves@redhat.com>
1860
1861         PR gdb/22670
1862         * gdb.ada/info_addr_mixed_case.exp: Remove kfail.  Extend test to
1863         exercise lower case too, and to exercise both full matching and
1864         wild matching.
1865
1866 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1867
1868         * gdb.ada/rename_subscript_param: New testcase.
1869
1870 2018-01-05  Jerome Guitton  <guitton@adacore.com>
1871
1872         * gdb.ada/arr_acc_idx_w_gap: New testcase.
1873
1874 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1875
1876         * gdb.ada/convvar_comp: New testcase.
1877
1878 2018-01-05  Xavier Roirand  <roirand@adacore.com>
1879
1880         * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
1881         (My_Table): New global variable.
1882         * testsuite/gdb.ada/array_char_idx.exp: Add test.
1883
1884 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
1885
1886         PR gdb/22670
1887         * gdb.ada/maint_with_ada: New testcase.
1888
1889 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
1890
1891         PR gdb/22670
1892         * gdb.ada/bp_c_mixed_case: New testcase.
1893
1894 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
1895
1896         PR gdb/22670
1897         * gdb.ada/complete.exp: Add "complete break ada" test.
1898
1899 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
1900
1901         PR gdb/22670
1902         * gdb.ada/info_addr_mixed_case: New testcase.
1903
1904 2018-01-03  Xavier Roirand  <roirand@adacore.com>
1905
1906         * gdb.ada/excep_handle.exp: New testcase.
1907         * gdb.ada/excep_handle/foo.adb: New file.
1908         * gdb.ada/excep_handle/pck.ads: New file.
1909
1910 2018-01-03  Joel Brobecker  <brobecker@adacore.com>
1911
1912         * gdb.base/step-line.c: Add extra empty line in copyright header.
1913         * gdb.base/step-line.inp: Likewise.
1914
1915 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
1916
1917         * gdb.ada/dyn_stride.exp: Add slice test.
1918
1919 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
1920
1921         * gdb.ada/dyn_stride: New testcase.
1922
1923 2017-12-27  Stafford Horne  <shorne@gmail.com>
1924
1925         * gdb.xml/extra-regs.xml: Add example foo reggroup.
1926         * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
1927
1928 2017-12-27  Stafford Horne  <shorne@gmail.com>
1929
1930         * gdb.base/reggroups.c: New file.
1931         * gdb.base/reggroups.exp: New file.
1932
1933 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
1934
1935         * gdb.dwarf2/ada-valprint-error.c: New file.
1936         * gdb.dwarf2/ada-valprint-error.exp: New file.
1937
1938 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
1939
1940         * gdb.ada/assign_arr: New testcase.
1941
1942 2017-12-18  Xavier Roirand  <roirand@adacore.com>
1943
1944         * gdb.ada/funcall_ptr: New testcase.
1945
1946 2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
1947
1948         PR cli/16224
1949         * gdb.base/ptype-offsets.cc: New file.
1950         * gdb.base/ptype-offsets.exp: New file.
1951
1952 2017-12-15  Yao Qi  <yao.qi@linaro.org>
1953
1954         * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
1955         if XML is disabled.
1956
1957 2017-12-15  Xavier Roirand  <roirand@adacore.com>
1958
1959         * gdb.ada/same_component_name: New testcase.
1960
1961 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
1962
1963         * gdb.ada/str_binop_equal: New testcase.
1964
1965 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
1966
1967         * gdb.ada/task_switch_in_core: New testcase.
1968
1969 2017-12-13  Simon Marchi  <simon.marchi@ericsson.com>
1970
1971         * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
1972         * gdb.python/py-breakpoint.exp: Compile the test case as c++,
1973         call test_bkpt_qualified.
1974         (test_bkpt_qualified): New proc.
1975
1976 2017-12-13  Pedro Alves  <palves@redhat.com>
1977
1978         * lib/completion-support.exp (test_gdb_complete_tab_multiple):
1979         Tighten regexp by matching with an anchor.
1980
1981 2017-12-13  Pedro Alves  <palves@redhat.com>
1982
1983         * gdb.cp/cpcompletion.exp: Load completion-support.exp.
1984         ("expression with namespace"): New set of tests.
1985         * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
1986         (Nested::Test_NS::qux): New.
1987         * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
1988         defaults to 'start_quote_char' and 'end_quote_char' parameters.
1989
1990 2017-12-13  Joel Brobecker  <brobecker@adacore.com>
1991
1992         * gdb.base/server-del-break.c: New file.
1993         * gdb.base/server-del-break.exp: New file.
1994
1995 2017-12-12  Stafford Horne  <shorne@gmail.com>
1996
1997         * gdb.xml/tdesc-regs.exp: Add or1k support.
1998
1999 2017-12-12  Stafford Horne  <shorne@gmail.com>
2000
2001         * gdb.base/bp-permanent.c: Define nop of or1k.
2002
2003 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2004
2005         * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
2006         output with components being reordered.
2007
2008 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2009
2010         * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
2011         output with components being reordered.
2012
2013 2017-12-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2014             Pedro Alves  <palves@redhat.com>
2015
2016         * gdb.base/maint.exp (check for .gdb_index): Check also for
2017         .debug_names.
2018         * gdb.dlang/watch-loc.c (.debug_aranges): New.
2019         * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
2020         * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
2021         (.gdb_index used after symbol reloading): Support also .debug_names.
2022         * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
2023
2024 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2025
2026         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2027         * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
2028
2029 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2030
2031         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2032         * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
2033
2034 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2035
2036         * gdb.arch/aarch64-tagged-pointer.c: New file.
2037         * gdb.arch/aarch64-tagged-pointer.exp: New file.
2038
2039 2017-12-08  Sergio Durigan Junior  <sergiodj@redhat.com>
2040
2041         * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
2042         "int".
2043
2044 2017-12-07  Keith Seitz  <keiths@redhat.com>
2045
2046         PR breakpoints/22569
2047         * gdb.linespec/ls-errs.exp: Change expected result of "break
2048         -source this file has spaces.c -line 3".
2049         Check that an explicit source file followed by whitespace is
2050         identified as an invalid explicit location.
2051
2052 2017-12-07  Keith Seitz  <keiths@redhat.com>
2053
2054         * gdb.cp/nested-types.cc: New file.
2055         * gdb.cp/nested-types.exp: New file.
2056         * lib/cp-support.exp: Load data-structures.exp library.
2057         (debug_cp_test_ptype_class): New global.
2058         (cp_ptype_class_verbose, next_line): New procedures.
2059         (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
2060         Add and document new return value.
2061         Switch the list of lines to a queue.
2062         Add support for new `type' key for nested type definitions.
2063         Add debugging/troubleshooting messages.
2064         * lib/data-structures.exp: New file.
2065
2066 2017-12-07  Simon Marchi  <simon.marchi@ericsson.com>
2067
2068         * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
2069         with proc_with_prefix, don't use with_test_prefix.
2070
2071 2017-12-07  Tom Tromey  <tom@tromey.com>
2072
2073         * gdb.base/break.exp: Add test for empty "commands".
2074
2075 2017-12-07  Yao Qi  <yao.qi@linaro.org>
2076
2077         * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
2078         malloc and catch syscall.
2079
2080 2017-12-07  Phil Muldoon  <pmuldoon@redhat.com>
2081
2082        * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
2083         tests for explicit locations.
2084
2085 2017-12-06  Pedro Alves  <palves@redhat.com>
2086
2087         * gdb.arch/i386-avx.exp: If testing with a RSP target, check
2088         force-disabling XML descriptions.
2089
2090 2017-12-04  Pedro Alves  <palves@redhat.com>
2091
2092         PR gdb/22499
2093         * gdb.arch/amd64-disp-step-avx.S: New file.
2094         * gdb.arch/amd64-disp-step-avx.exp: New file.
2095
2096 2017-12-03  Pedro Alves  <palves@redhat.com>
2097
2098         * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
2099         and <string.h>.
2100         (parent_function): Print distinct messages when waitpid fails, or
2101         the child exits with a signal, or the child exits for an unhandled
2102         reason.
2103         * gdb.threads/process-dies-while-detaching.exp
2104         (detach_and_expect_exit): New 'inf_output_re' parameter and use
2105         it.  Wait for both inferior output and GDB's prompt.  Use an
2106         indirect spawn id list.
2107         (do_detach): New parameter 'child_exit'.  Use it to compute
2108         expected inferior output.
2109         (test_detach, test_detach_watch, test_detach_killed_outside):
2110         Adjust to pass down the expected child exit kind.
2111
2112 2017-12-01  Joel Brobecker  <brobecker@adacore.com>
2113             Sergio Durigan Junior  <sergiodj@redhat.com>
2114             Pedro Alves  <palves@redhat.com>
2115
2116         * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
2117
2118 2017-12-01  Sergio Durigan Junior  <sergiodj@redhat.com>
2119
2120         * gdb.base/relocate.exp: Add tests to guarantee that arguments
2121         to 'symbol-file' and 'add-symbol-file' can be
2122         position-independent.
2123
2124 2017-12-01  Yao Qi  <yao.qi@linaro.org>
2125
2126         * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
2127         the URL in copyright header.
2128         * gdb.arch/aarch64-fp.exp: Likewise.
2129         * gdb.arch/ppc64-atomic-inst.exp: Likewise.
2130         * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
2131         * gdb.base/expand-psymtabs.exp: Likewise.
2132         * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
2133         * gdb.fortran/common-block.exp: Likewise.
2134         * gdb.fortran/common-block.f90: Likewise.
2135         * gdb.fortran/logical.exp: Likewise.
2136         * gdb.fortran/vla-datatypes.f90: Likewise.
2137         * gdb.fortran/vla-sub.f90: Likewise.
2138
2139 2017-11-30  Joel Brobecker  <brobecker@adacore.com>
2140
2141         * gdb.ada/repeat_dyn: New testcase.
2142
2143 2017-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
2144
2145         * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
2146         Update for changed thread numbering.
2147         * gdb.cell/bt.exp: Update for changed GDB output.
2148
2149 2017-11-30  Simon Marchi  <simon.marchi@ericsson.com>
2150
2151         * boards/cc-with-tweaks.exp: Include local-board.exp instead of
2152         setting isremote by hand.
2153         * boards/dwarf4-gdb-index.exp: Likewise.
2154         * boards/fission.exp: Likewise.
2155         * boards/stabs.exp: Likewise.
2156
2157 2017-11-30  Pedro Alves  <palves@redhat.com>
2158
2159         * gdb.linespec/cpls-ops.exp
2160         (check_explicit_skips_function_argument): Extract the underlying
2161         type of size_t instead of hardcoding it.
2162
2163 2017-11-29  Pedro Alves  <palves@redhat.com>
2164
2165         PR c++/19436
2166         * gdb.linespec/cpls-abi-tag.cc: New file.
2167         * gdb.linespec/cpls-abi-tag.exp: New file.
2168
2169 2017-11-29  Pedro Alves  <palves@redhat.com>
2170
2171         * gdb.base/langs.exp: Use -qualified.
2172         * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
2173         it.
2174         * gdb.cp/namespace.exp: Use -qualified.
2175         * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
2176         (overload-3, template-overload, template-ret-type, const-overload)
2177         (const-overload-quoted, anon-ns, ambiguous-prefix): New
2178         procedures.
2179         (test_driver): Call them.
2180         * gdb.cp/save-bp-qualified.cc: New.
2181         * gdb.cp/save-bp-qualified.exp: New.
2182         * gdb.linespec/explicit.exp: Test -qualified.
2183         * lib/completion-support.exp (completion::explicit_opts_list): Add
2184         "-qualified".
2185         * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
2186
2187 2017-11-29  Phil Muldoon  <pmuldoon@redhat.com>
2188
2189         * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
2190
2191 2017-11-29  Tom Tromey  <tom@tromey.com>
2192
2193         * gdb.base/relocate.exp: Update invalid argument test.
2194         Add new tests for invalid arguments.
2195
2196 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2197
2198         * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
2199         Return 0 as a long.
2200         * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
2201
2202 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2203
2204         * gdb.cp/breakpoint.cc (bar): Set return type to void.
2205         * gdb.cp/psymtab-parameter.cc (func): Likewise.
2206         * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
2207         func ().
2208         * gdb.cp/shadow.cc (B.func): Return 0.
2209
2210 2017-11-27  Joel Brobecker  <brobecker@adacore.com>
2211
2212         * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
2213         expected output in gdb_expect call to allow the exception
2214         message to be present as well.  Fix syntax confusion to avoid
2215         TCL thinking that exception_name is an array.
2216
2217 2017-11-26  Ulrich Weigand  <uweigand@de.ibm.com>
2218
2219         * gdb.arch/spu-info.c: Include <unistd.h>.
2220         (do_signal_test): Fix broken calls to write.
2221         * gdb.arch/spu-info.exp: Use prepare_for_testing.
2222         Fix checks for empty mailboxes.  Update signal tests for corrected
2223         do_signal_test routine.  Allow nonzero event status.
2224         * gdb.arch/spu-ls.exp: Use prepare_for_testing.
2225         * gdb.cell/arch.exp: Use standard_output_file.
2226         * gdb.cell/break.exp: Likewise.
2227         * gdb.cell/bt.exp: Likewise.
2228         * gdb.cell/core.exp: Likewise.
2229         * gdb.cell/dwarfaddr.exp: Likewise.
2230         * gdb.cell/ea-cache.exp: Likewise.
2231         * gdb.cell/ea-standalone.exp: Likewise.
2232         * gdb.cell/f-regs.exp: Likewise.
2233         * gdb.cell/fork.exp: Likewise.
2234         * gdb.cell/gcore.exp: Likewise.
2235         * gdb.cell/mem-access.exp: Likewise.
2236         * gdb.cell/ptype.exp: Likewise.
2237         * gdb.cell/registers.exp: Likewise.
2238         * gdb.cell/sizeof.exp: Likewise.
2239         * gdb.cell/solib-symbol.exp: Likewise.
2240         * gdb.cell/solib.exp: Likewise.
2241
2242 2017-11-25   Pedro Alves  <palves@redhat.com>
2243
2244         * gdb.base/complete-empty.exp: New file.
2245         * gdb.base/completion.exp: Adjust.
2246
2247 2017-11-25  Pedro Alves  <palves@redhat.com>
2248
2249         * gdb.linespec/cpls-ops.cc: New file.
2250         * gdb.linespec/cpls-ops.exp: New file.
2251         * lib/completion-support.exp (test_complete_prefix_range_re): New,
2252         factored out from ...
2253         (test_complete_prefix_range): ... this.
2254
2255 2017-11-24  Pedro Alves  <palves@redhat.com>
2256
2257         * gdb.linespec/cpcompletion.exp: New file.
2258         * gdb.linespec/cpls-hyphen.cc: New file.
2259         * gdb.linespec/cpls.cc: New file.
2260         * gdb.linespec/cpls2.cc: New file.
2261         * gdb.linespec/explicit.exp: Load completion-support.exp.  Adjust
2262         test to use test_gdb_complete_unique.  Add label completion,
2263         keyword completion and explicit location completion tests.
2264         * lib/completion-support.exp: New file.
2265
2266 2017-11-24  Joel Brobecker  <brobecker@adacore.com>
2267
2268         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
2269         gdb.ada/mi_ex_cond.exp: Accept optional exception message in
2270         when hitting an exception catchpoint.
2271
2272 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2273
2274         * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
2275
2276 2017-11-22  Simon Marchi  <simon.marchi@ericsson.com>
2277
2278         * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
2279         * gdb.dwarf2/info-locals-optimized-out.exp: New file.
2280         * gdb.dwarf2/info-locals-optimized-out.c: New file.
2281
2282 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2283
2284         * gdb.base/info-os.exp: Pass pthreads.
2285         * gdb.multi/multi-attach.exp: Likewise.
2286
2287 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2288
2289         * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2290         compiler.
2291
2292 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2293
2294         * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2295         * gdb.base/break-interp.exp: Likewise.
2296         * gdb.base/jit-attach-pie.exp: Likewise.
2297
2298 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2299
2300         * gdb.base/float128.c (large128): New variable.
2301         * gdb.base/float128.exp: Add test to print largest __float128 value.
2302
2303 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2304
2305         * gdb.arch/vsx-regs.exp: Update register content checks.
2306
2307 2017-11-21  Ulrich Weigand  <uweigand@de.ibm.com>
2308
2309         * gdb.arch/ppc-longdouble.exp: New file.
2310         * gdb.arch/ppc-longdouble.c: Likewise.
2311
2312 2017-11-21  Pedro Alves  <palves@redhat.com>
2313
2314         * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2315
2316 2017-11-20  Pedro Alves  <palves@redhat.com>
2317
2318         * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2319         (long_double_typedef): New typedefs.
2320         Use DEF on double and long double.
2321         * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2322         cases.
2323         (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2324         and 'long_double_ptr_same_size' locals.  Use them to decide
2325         whether cast from array/function to float is valid/invalid.
2326
2327 2017-11-17  Tom Tromey  <tom@tromey.com>
2328
2329         * gdb.rust/traits.rs: New file.
2330         * gdb.rust/traits.exp: New file.
2331
2332 2017-11-17  Joel Brobecker  <brobecker@adacore.com>
2333
2334         * gdb.ada/minsyms: New testcase.
2335
2336 2017-11-16  Pedro Alves  <palves@redhat.com>
2337
2338         * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2339         * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2340
2341 2017-11-16  Pedro Alves  <palves@redhat.com>
2342
2343         * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2344         gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2345
2346 2017-11-16  Pedro Alves  <palves@redhat.com>
2347
2348         * gdb.server/reconnect-ctrl-c.c: New file.
2349         * gdb.server/reconnect-ctrl-c.exp: New file.
2350
2351 2017-11-16  Phil Muldoon  <pmuldoon@redhat.com>
2352
2353         * gdb.python/py-rbreak.exp: New file.
2354         * gdb.python/py-rbreak.c: New file.
2355         * gdb.python/py-rbreak-func2.c: New file.
2356
2357 2017-11-16  Pedro Alves  <palves@redhat.com>
2358
2359         * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2360         pattern.
2361         * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2362         GDB.
2363
2364 2017-11-15  Simon Marchi  <simon.marchi@ericsson.com>
2365
2366         * gdb.tui/completionn.exp (test_tab_completion): Add space in
2367         regex.
2368
2369 2017-11-13  Simon Marchi  <simon.marchi@polymtl.ca>
2370
2371         * gdb.opt/inline-locals.exp: Remove trailing parentheses from
2372         test names.
2373
2374 2017-11-09  Pedro Alves  <palves@redhat.com>
2375
2376         * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
2377         factored out from ...
2378         (top level): ... here, and adjusted to avoid expecting beyond the
2379         prompt in a single gdb_test_multiple.
2380
2381 2017-11-09  Pedro Alves  <palves@redhat.com>
2382
2383         * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2384         output.
2385         * gdb.server/ext-attach.exp ("kill" test): Likewise.
2386         * gdb.server/ext-restart.exp ("kill" test): Likewise.
2387         * gdb.server/ext-run.exp ("kill" test): Likewise.
2388         * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2389
2390 2017-11-09  Pedro Alves  <palves@redhat.com>
2391
2392         * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2393         match till end of line.
2394
2395 2017-11-09  Pedro Alves  <palves@redhat.com>
2396
2397         * gdb.base/memattr.exp: Tighten regexes to match the end line.
2398
2399 2017-11-09  Pedro Alves  <palves@redhat.com>
2400
2401         * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2402         New procedures, factored out from ...
2403         (top level): ... here, and adjusted to avoid expecting beyond the
2404         prompt in one go.
2405
2406 2017-11-09  Pedro Alves  <palves@redhat.com>
2407
2408         * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2409         output.  Fix '?' match.
2410
2411 2017-11-08  Joel Brobecker  <brobecker@adacore.com>
2412
2413         * gdb.ada/scoped_watch: New testcase.
2414         * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2415         which is actually correct.
2416         * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2417         * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2418
2419 2017-11-08  Pedro Alves  <palves@redhat.com>
2420
2421         * gdb.gdb/complaints.exp (test_initial_complaints)
2422         (test_serial_complaints, test_short_complaints): Call
2423         complaint_internal instead of complaint.
2424
2425 2017-11-08  Djordje Todorovic  <djordje.todorovic@rt-rk.com>
2426
2427         * gdb.threads/tls-core.c: New file.
2428         * gdb.threads/tls-core.exp: Likewise.
2429
2430 2017-11-08   Pedro Alves  <palves@redhat.com>
2431
2432         * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2433         (p Exported_Capitalized): New test.
2434         (p exported_capitalized): New test.
2435
2436 2017-11-07  Pedro Alves  <palves@redhat.com>
2437
2438         * gdb.cp/ena-dis-br-range.exp: Add more tests.
2439
2440 2017-11-07  Pedro Alves  <palves@redhat.com>
2441
2442         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2443         * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2444         (disable_invalid, disable_inverted, disable_negative): New
2445         procedures.
2446         ("bad numbers"): New set of tests.
2447
2448 2017-11-07  Pedro Alves  <palves@redhat.com>
2449
2450         * gdb.cp/ena-dis-br-range.exp: Add tests.
2451
2452 2017-11-07  Pedro Alves  <palves@redhat.com>
2453
2454         * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2455
2456 2017-11-07  Xavier Roirand  <roirand@adacore.com>
2457             Pedro Alves  <palves@redhat.com>
2458
2459         * gdb.base/ena-dis-br.exp: Add reference to
2460         gdb.cp/ena-dis-br-range.exp.
2461         * gdb.cp/ena-dis-br-range.exp: New file.
2462         * gdb.cp/ena-dis-br-range.cc: New file.
2463
2464 2017-11-06  Pedro Alves  <palves@redhat.com>
2465
2466         * gdb.base/attach-non-pgrp-leader.c: New.
2467         * gdb.base/attach-non-pgrp-leader.exp: New.
2468
2469 2017-11-06  Pedro Alves  <palves@redhat.com>
2470
2471         * configure.ac: No longer check for termio.h and sgtty.h.
2472         * configure: Regenerate.
2473         * remote-utils.c: Include termios.h instead of gdb_termios.h.
2474         (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2475         Remove termio and sgtty code.
2476
2477 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2478
2479         * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2480         in GDB is disabled.
2481
2482 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2483
2484         * gdb.python/py-thrhandle.exp: Skip it if python is not
2485         enabled.
2486
2487 2017-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
2488
2489         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2490         as a breakpoint command.
2491
2492 2017-10-28  Maksim Dzabraev  <dzabraew@gmail.com>
2493
2494         PR python/21213
2495         * gdb.python/py-infthread.exp: Test calling
2496         InferiorThread.inferior () multiple times in a row.
2497
2498 2017-10-27  Keith Seitz  <keiths@redhat.com>
2499
2500         * gdb.opt/inline-break.exp (break_info_1): New procedure.
2501         Test "info break" for every inlined function breakpoint.
2502
2503 2017-10-27  Yao Qi  <yao.qi@linaro.org>
2504
2505         * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2506
2507 2017-10-26  Patrick Frants  <osscontribute@gmail.com>
2508
2509         * gdb.cp/classes.exp (test_static_members): Test printing
2510         Outer::instance.
2511         * gdb.cp/classes.c (struct Inner, struct Outer): New.
2512         (Inner::instance, Outer::instance): New.
2513
2514 2017-10-24  Pedro Alves  <palves@redhat.com>
2515
2516         * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2517         extra console" test in two stages.
2518
2519 2017-10-24  Pedro Alves  <palves@redhat.com>
2520
2521         * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2522
2523 2017-10-24  Pedro Alves  <palves@redhat.com>
2524
2525         * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2526         loop.
2527
2528 2017-10-24  Pedro Alves  <palves@redhat.com>
2529
2530         * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2531         $attempt" and "stoppedtry $stoppedtry" test prefixes.
2532
2533 2017-10-24  Pedro Alves  <palves@redhat.com>
2534
2535         * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2536         parameter and handle it.  Don't output read value in test name.
2537
2538 2017-10-24  Pedro Alves  <palves@redhat.com>
2539
2540         * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2541         custom test name.
2542
2543 2017-10-24  Pedro Alves  <palves@redhat.com>
2544
2545         * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2546         include the unstable output directory name in the test's name.
2547         (initial_setup_simple) <'set args'>: Use custom test name.
2548
2549 2017-10-24  Pedro Alves  <palves@redhat.com>
2550
2551         * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2552         with explicit test name.
2553
2554 2017-10-20  Pedro Alves  <palves@redhat.com>
2555
2556         * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2557         'wait -i'.  Use gdb_assert and remote_close.
2558
2559 2017-10-19  Andrew Burgess  <andrew.burgess@embecosm.com>
2560
2561         * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2562         number from variable rather than hard-coded.
2563
2564 2017-10-19  Pedro Alves  <palves@redhat.com>
2565
2566         * gdb.base/long-inferior-output.c: New file.
2567         * gdb.base/long-inferior-output.exp: New file.
2568
2569 2017-11-18  Keith Seitz  <keiths@redhat.com>
2570
2571         * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2572         method.
2573         (main): Call it.
2574         * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2575         Add additional user-defined conversion operator tests.
2576
2577 2017-10-17  Pedro Alves  <palves@redhat.com>
2578
2579         * boards/native-stdio-gdbserver.exp: Load "local-board".
2580
2581 2017-10-17  Pedro Alves  <palves@redhat.com>
2582
2583         * gdb.base/quit-live.c: New file.
2584         * gdb.base/quit-live.exp: New file.
2585
2586 2017-10-16  Keith Seitz  <keiths@redhat.com>
2587
2588         * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2589         (class_with_protected_typedef, class_with_private_typedef)
2590         (struct_with_public_typedef, struct_with_protected_typedef)
2591         (struct_with_private_typedef): New classes/structs.
2592         * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2593         typedefs and access specifiers.
2594
2595 2017-10-16  Pedro Alves  <palves@redhat.com>
2596             Simon Marchi  <simon.marchi@polymtl.ca>
2597
2598         * README (Local vs Remote vs Native): New section.
2599         * boards/local-board.exp: New file, with bits factored out from
2600         ...
2601         * boards/native-extended-gdbserver.exp: ... here.  Load
2602         "local-board".
2603         * boards/native-gdbserver.exp: Load "local-board".
2604         (${board}_spawn, ${board}_exec): Delete.
2605         * boards/native-stdio-gdbserver.exp: Most contents factored out to
2606         ...
2607         * boards/stdio-gdbserver-base.exp: ... this new file.
2608         * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2609         "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2610         procedure.
2611         * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2612         instead of native-stdio-gdbserver.  Don't set gdb_server_prog nor
2613         stdio_gdbserver_command.
2614         (${board}_get_remote_address, ${board}_get_comm_port)
2615         (${board}_download, ${board}_upload): Delete.
2616         (get_target_remote_pipe_cmd): New.
2617
2618 2017-10-16  Simon Marchi  <simon.marchi@ericsson.com>
2619
2620         * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2621         test_bkpt_deletion, test_bkpt_cond_and_cmds,
2622         test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2623         test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2624         test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2625         remove with_test_prefix.
2626
2627 2017-10-13  Pedro Alves  <palves@redhat.com>
2628
2629         * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2630         * gdb.base/annota1.exp: Use it instead of is_remote.
2631         * gdb.base/annota3.exp: Use it instead of is_remote.
2632         * gdb.cp/annota2.exp: Use it instead of is_remote.
2633         * gdb.cp/annota3.exp: Use it instead of is_remote.
2634         * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2635
2636 2017-10-13  Pedro Alves  <palves@redhat.com>
2637
2638         * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2639         (test_num_test_vars, run_and_count_vars, find_env)
2640         (test_set_unset_env, test_inherit_env_var): New procedures.
2641         (top level): Use them.
2642
2643 2017-10-13  Pedro Alves  <palves@redhat.com>
2644
2645         * lib/selftest-support.exp (selftest_setup): Extend comments, and
2646         also skip on stub-like targets.
2647
2648 2017-10-13  Pedro Alves  <palves@redhat.com>
2649
2650         PR gdb/22293
2651         * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2652         (top level): Move some tests to ...
2653         (test_not_found): ... this new procedure.
2654         (top level): Call it.
2655
2656 2017-10-13  Pedro Alves  <palves@redhat.com>
2657
2658         * gdb.base/term.exp: Don't skip if is_remote target.  Instead,
2659         expect different "info terminal" output if testing with a
2660         non-native target.
2661
2662 2017-10-13  Pedro Alves  <palves@redhat.com>
2663             Simon Marchi  <simon.marchi@polymtl.ca>
2664
2665         PR python/12966
2666         * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2667
2668 2017-10-13  Pedro Alves  <palves@redhat.com>
2669
2670         * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2671         already.
2672
2673 2017-10-13  Pedro Alves  <palves@redhat.com>
2674
2675         * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2676         is_remote.
2677
2678 2017-10-13  Pedro Alves  <palves@redhat.com>
2679
2680         * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2681         is_remote.
2682
2683 2017-10-13  Pedro Alves  <palves@redhat.com>
2684
2685         * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2686         is set.
2687         (corefile_test_attach): Likewise.  Check can_spawn_for_attach
2688         instead of is_remote.
2689
2690 2017-10-13  Pedro Alves  <palves@redhat.com>
2691
2692         * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2693         (top level): Add comment.
2694
2695 2017-10-13  Pedro Alves  <palves@redhat.com>
2696
2697         * gdb.base/remote.exp (top level): Fix comment typo and add
2698         missing return.
2699
2700 2017-10-13  Pedro Alves  <palves@redhat.com>
2701             Simon Marchi  <simon.marchi@polymtl.ca>
2702
2703         * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2704         calls and add comments.  Skip test if use_gdb_stub is set.
2705         (top level): Use "set cwd" command instead of "cd" command.
2706
2707 2017-10-13  Pedro Alves  <palves@redhat.com>
2708
2709         * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2710         is_remote target check.
2711
2712 2017-10-13  Pedro Alves  <palves@redhat.com>
2713
2714         * gdb.base/scope.exp: Use build_executable + clean_restart +
2715         gdb_file_cmd instead of prepare_for_testing and no longer skip
2716         "before run" tests on is_remote target boards.  Update comments.
2717         * boards/native-extended-gdbserver.exp
2718         (extended_gdbserver_load_last_file): New, factored out from ...
2719         (gdb_load): ... this.  Move further below and add comment.
2720         (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2721
2722 2017-10-12  Pedro Alves  <palves@redhat.com>
2723
2724         * gdb.base/attach.exp: Remove references to gdb64.
2725         * gdb.base/dbx.exp: Remove references to gdb64.
2726
2727 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
2728             Pedro Alves  <palves@redhat.com>
2729
2730         * gdb.base/label.exp: Remove is_remote target check.
2731
2732 2017-10-12  Pedro Alves  <palves@redhat.com>
2733
2734         * gdb.base/auvx.exp (coredir): Update comment.
2735         (top level) <core_works>: Use "set cwd" command instead of "cd"
2736         command.
2737
2738 2017-10-12  Pedro Alves  <palves@redhat.com>
2739             Simon Marchi  <simon.marchi@polymtl.ca>
2740
2741         * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2742         target boards.
2743
2744 2017-10-12  Pedro Alves  <palves@redhat.com>
2745             Simon Marchi  <simon.marchi@polymtl.ca>
2746
2747         * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2748         Instead skip if there's any gdb_protocol set.
2749
2750 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
2751             Pedro Alves  <palves@redhat.com>
2752
2753         * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2754
2755 2017-10-12  Pedro Alves  <palves@redhat.com>
2756             Simon Marchi  <simon.marchi@polymtl.ca>
2757
2758         * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2759         instead of on dejagnu remote boards.
2760
2761 2017-10-12  Pedro Alves  <palves@redhat.com>
2762             Simon Marchi  <simon.marchi@polymtl.ca>
2763
2764         * gdb.base/inferior-died.exp: Remove is_remote and isnative
2765         checks.  Use build_executable + clean_restart instead of
2766         prepare_for_testing.  Pass "set non-stop on" via GDBFLAGS instead
2767         of enabling non-stop after starting gdb.
2768
2769 2017-10-12  Pedro Alves  <palves@redhat.com>
2770
2771         * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2772         * gdb.threads/non-ldr-exc-2.exp: Ditto.
2773         * gdb.threads/non-ldr-exc-3.exp: Ditto.
2774         * gdb.threads/non-ldr-exc-4.exp: Ditto.
2775
2776 2017-10-11  Anton Kolesov  <Anton.Kolesov@synopsys.com>
2777
2778         * gdb.arch/arc-tdesc-cpu.exp: New file.
2779         * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2780
2781 2017-10-10  Simon Marchi  <simon.marchi@ericsson.com>
2782
2783         * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2784
2785 2017-10-10  Pedro Alves <palves@redhat.com>
2786
2787         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2788         expect CLI output.
2789
2790 2017-10-10  Pedro Alves  <palves@redhat.com>
2791
2792         * lib/selftest-support.exp (selftest_setup): Update for
2793         captured_command_loop's prototype change.
2794
2795 2017-10-09  Pedro Alves  <palves@redhat.com>
2796
2797         Test both arch1=>arch2 and arch2=>arch1.
2798
2799         * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2800         (srcfile2, binfile2, march1, march2): Remove globals.  Largely
2801         factored out to...
2802         (append_arch1_options, append_arch2_options, append_arch_options)
2803         (build_executables): New procedures.
2804         (do_test): New 'first_arch' parameter.  Use it to define 'from_exec'
2805         local.
2806         (top level): Add new 'first_arch' testing axis.
2807
2808 2017-10-09  Pedro Alves  <palves@redhat.com>
2809
2810         * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2811         (barrier): New.
2812         (thread_start, all_started): New functions.
2813         (main): Spawn new thread and wait until it is scheduled.
2814         * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2815         option.
2816         (do_test): Add 'selected_thread' parameter.  Run to all_started
2817         instead of main.  Explicitly set the breakpoint at main.  Switch
2818         to the SELECTED_THREAD thread.
2819         (top level): Test handling the exec event with either the main
2820         thread or the second thread selected.
2821
2822 2017-10-09  Pedro Alves  <palves@redhat.com>
2823
2824         * gdb.base/print-file-var-main.c: Fix get_version_2 value check
2825         logic.  Move STOP marker after the value checks.
2826         * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
2827         regexp.
2828
2829 2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>
2830
2831         * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
2832
2833 2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
2834
2835         * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
2836         integer-to-dfp conversion.
2837         * gdb.base/dfp-test.exp: Likewise.
2838
2839 2017-10-04  Pedro Alves  <palves@redhat.com>
2840
2841         * gdb.multi/hangout.c: Include <unistd.h>.
2842         (hangout_loop): New function.
2843         (main): Call alarm.  Call hangout_loop in a loop.
2844         * gdb.multi/hello.c: Include <unistd.h>.
2845         (hello_loop): New function.
2846         (main): Call alarm.  Call hangout_loop in a loop.
2847         * gdb.multi/multi-arch.exp: Test running to a breakpoint one
2848         inferior with the other selected.
2849
2850 2017-10-04  Simon Marchi  <simon.marchi@ericsson.com>
2851
2852         * gdb.mi/list-thread-groups-available.exp: New file.
2853         * gdb.mi/list-thread-groups-available.c: New file.
2854
2855 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
2856
2857         * gdb.base/set-cwd.exp: Make it available on
2858         native-extended-gdbserver.
2859
2860 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
2861
2862         * gdb.base/set-cwd.c: New file.
2863         * gdb.base/set-cwd.exp: Likewise.
2864
2865 2017-10-02  Tom Tromey  <tom@tromey.com>
2866
2867         PR rust/22236:
2868         * gdb.rust/simple.rs (main): New variable "fslice".
2869         * gdb.rust/simple.exp: Add slice tests.  Update string tests.
2870
2871 2017-10-02  Tom Tromey  <tom@tromey.com>
2872
2873         * gdb.rust/simple.exp: Test ptype of a slice.
2874
2875 2017-10-02  Tom Tromey  <tom@tromey.com>
2876
2877         * gdb.rust/simple.exp: Test index of slice.
2878
2879 2017-09-27  Tom Tromey  <tom@tromey.com>
2880
2881         * gdb.base/macscp.exp: Add __VA_OPT__ tests.
2882
2883 2017-09-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2884             Pedro Alves  <palves@redhat.com>
2885
2886         * gdb.base/compare-sections.exp (get value of read-only section): Read
2887         as unsigned value.
2888         (corrupt read-only section): Likewise and don't set written if patching
2889         failed.
2890
2891 2017-09-21  Kevin Buettner  <kevinb@redhat.com>
2892
2893         * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
2894         files.
2895
2896 2017-09-20  Pedro Alves  <palves@redhat.com>
2897
2898         * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
2899         symbol names in gdb's output.
2900         * gdb.cp/overload.exp ("list all overloads"): Likewise.
2901
2902 2017-09-20  Pedro Alves  <palves@redhat.com>
2903
2904         * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
2905         Rename to ...
2906         (test_list_ambiguous_symbol): ... this and add a symbol name
2907         parameter.  Adjust.
2908         (test_list_ambiguous_function): Reimplement on top of
2909         test_list_ambiguous_symbol and also test listing ambiguous
2910         variables.
2911         * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
2912         (ambiguous_fun): ... this.
2913         (ambiguous_var): New.
2914         * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
2915         (ambiguous_fun): ... this.
2916         (ambiguous_var): New.
2917
2918 2017-09-19  John Baldwin  <jhb@FreeBSD.org>
2919
2920         * gdb.base/starti.c: New file.
2921         * gdb.base/starti.exp: New file.
2922         * lib/gdb.exp (gdb_starti_cmd): New procedure.
2923
2924 2017-09-14  Pedro Alves  <palves@redhat.com>
2925
2926         * gdb.base/nodebug.exp (nodebug_runto): New procedure.
2927         (top level): Use it instead of runto.
2928
2929 2017-09-11  Tom Tromey  <tom@tromey.com>
2930
2931         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
2932
2933 2017-09-11  Tom Tromey  <tom@tromey.com>
2934
2935         * gdb.python/py-infthread.exp: Add tests for new_thread event.
2936         * gdb.python/py-inferior.exp: Add tests for new inferior events.
2937
2938 2017-09-08  Christoph Weinmann  <christoph.t.weinmann@intel.com>
2939
2940         * gdb.fortran/printing-types.exp: New file.
2941         * gdb.fortran/printing-types.exp: New file.
2942
2943 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
2944
2945         * gdb.fortran/vla-ptype.exp: Fix typos.
2946         * gdb.fortran/vla-value.exp: Same.
2947
2948 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
2949
2950         * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
2951         * gdb.mi/mi-var-child-f.exp: Likewise.
2952         * gdb.mi/mi-vla-fortran.exp: Likewise.
2953
2954 2017-09-08  Frank Penczek  <frank.penczek@intel.com>
2955             Christoph Weinmann  <christoph.t.weinmann@intel.com>
2956             Bernhard Heckel  <bernhard.heckel@intel.com>
2957
2958         * gdb.fortran/ptr-indentation.f90: New file.
2959         * gdb.fortran/ptr-indentation.exp: New file.
2960
2961 2017-09-05  Tom Tromey  <tom@tromey.com>
2962
2963         PR gdb/22010:
2964         * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
2965
2966 2017-09-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2967
2968         * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
2969
2970 2017-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
2971
2972         * gdb.threads/tls-nodebug-pie.c: New file.
2973         * gdb.threads/tls-nodebug-pie.exp: New file.
2974
2975 2017-09-05  Tom Tromey  <tom@tromey.com>
2976
2977         * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
2978         for rust.
2979
2980 2017-09-05  Simon Marchi  <simon.marchi@ericsson.com>
2981
2982         * gdb.multi/multi-arch-exec.exp: Test with different
2983         "follow-exec-mode" settings.
2984         (do_test): New procedure.
2985
2986 2017-09-04  Pedro Alves  <palves@redhat.com>
2987
2988         * gdb.base/func-static.c (S::method const, S::method volatile)
2989         (S::method volatile const): New methods.
2990         (c_s, v_s, cv_s): New instances.
2991         (main): Call method() on them.
2992         * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
2993         (cannot_resolve): New procedure.
2994         (cxx_scopes_list): Test cv methods.  Add print-scope-quote and
2995         print-quote-unquoted columns.
2996         (do_test): Test printing each scope too.
2997
2998 2017-09-04  Pedro Alves  <palves@redhat.com>
2999
3000         * gdb.base/local-static.exp: Also test with
3001         class::method::variable wholly quoted.
3002         * gdb.cp/m-static.exp (class::method::variable): Remove test.
3003
3004 2017-09-04  Pedro Alves  <palves@redhat.com>
3005
3006         * gdb.base/local-static.c: New.
3007         * gdb.base/local-static.cc: New.
3008         * gdb.base/local-static.exp:  New.
3009
3010 2017-09-04  Pedro Alves  <palves@redhat.com>
3011
3012         * gdb.asm/asm-source.exp: Add casts to int.
3013         * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
3014         (dataglobal64_1, dataglobal64_2): New globals.
3015         * gdb.base/nodebug.exp: Test different expressions involving the
3016         new globals, with print, whatis and ptype.  Add casts to int.
3017         * gdb.base/solib-display.exp: Add casts to int.
3018         * gdb.compile/compile-ifunc.exp: Expect warning.  Add cast to int.
3019         * gdb.cp/m-static.exp: Add cast to int.
3020         * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
3021         * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
3022         tls variable with no debug info without a cast.  Test with a cast
3023         to int too.
3024         * gdb.trace/entry-values.exp: Add casts.
3025
3026 2017-09-04  Pedro Alves  <palves@redhat.com>
3027
3028         * gdb.base/nodebug.exp: Test that ptype's error about functions
3029         with unknown return type includes the function name too.
3030
3031 2017-09-04  Pedro Alves  <palves@redhat.com>
3032
3033         * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
3034         return type of munmap in infcall.
3035         * gdb.base/break-probes.exp: Cast return type of foo in infcall.
3036         * gdb.base/checkpoint.exp: Simplify using for loop.  Cast return
3037         type of ftell in infcall.
3038         * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
3039         type of getpid in infcall.
3040         * gdb.base/infcall-exec.exp: Cast return type of execlp in
3041         infcall.
3042         * gdb.base/info-os.exp: Cast return type of getpid in infcall.
3043         Bail on failure to extract the pid.
3044         * gdb.base/nodebug.c: #include <stdint.h>.
3045         (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
3046         New functions.
3047         * gdb.base/nodebug.exp (test_call_promotion): New procedure.
3048         Change expected output of print/whatis/ptype with functions with
3049         no debug info.  Test all supported languages.  Call
3050         test_call_promotion.
3051         * gdb.compile/compile.exp: Adjust expected output to expect
3052         warning.
3053         * gdb.threads/siginfo-threads.exp: Likewise.
3054
3055 2017-09-04  Pedro Alves  <palves@redhat.com>
3056
3057         * gdb.base/callfuncs.exp (do_function_calls): New parameter
3058         "prototypes".  Test calling float functions via prototyped and
3059         unprototyped function pointers.
3060         (perform_all_tests): New parameter "prototypes".  Pass it down.
3061         (top level): Pass down "prototypes" parameter to
3062         perform_all_tests.
3063
3064 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3065
3066         * gdb.base/commands.exp (loop_break_test, loop_continue_test):
3067         Test with nested loops.
3068
3069 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3070
3071         * gdb.base/commands.exp: Call the new procedures.
3072         (loop_break_test, loop_continue_test): New procedures.
3073
3074 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3075
3076         * gdb.base/commands.exp: Call new procedure.
3077         (define_if_without_arg_test): New procedure.
3078
3079 2017-09-04  Pedro Alves  <palves@redhat.com>
3080
3081         * gdb.base/list-ambiguous.exp: New file.
3082         * gdb.base/list-ambiguous0.c: New file.
3083         * gdb.base/list-ambiguous1.c: New file.
3084         * gdb.base/list.exp (test_list_range): Adjust expected output.
3085
3086 2017-08-31  Sergio Durigan Junior  <sergiodj@redhat.com>
3087
3088         * gdb.base/share-env-with-gdbserver.c: New file.
3089         * gdb.base/share-env-with-gdbserver.exp: Likewise.
3090
3091 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3092
3093         * gdb.base/commands.exp (gdbvar_simple_if_test,
3094         gdbvar_simple_if_test, gdbvar_complex_if_while_test,
3095         progvar_simple_if_test, progvar_simple_while_test,
3096         progvar_complex_if_while_test, user_defined_command_test,
3097         user_defined_command_args_eval,
3098         user_defined_command_args_stack_test,
3099         user_defined_command_manyargs_test, bp_deleted_in_command_test,
3100         temporary_breakpoint_commands,
3101         gdb_test_no_prompt, redefine_hook_test,
3102         redefine_backtrace_test): Remove "global gdb_prompt".
3103
3104 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3105
3106         * gdb.base/commands.exp (user_defined_command_case_sensitivity):
3107         New proc, call it from toplevel.
3108
3109 2017-08-23  Sergio Durigan Junior  <sergiodj@redhat.com>
3110
3111         PR remote/21852
3112         * gdb.server/normal.c: New file, copied from gdb.base.
3113         * gdb.server/run-without-local-binary.exp: New file.
3114
3115 2017-08-07  Weimin Pan  <weimin.pan@oracle.com>
3116
3117         * gdb.arch/sparc64-adi.exp: New file.
3118         * gdb.arch/sparc64-adi.c: New file.
3119
3120 2017-08-22  Pedro Alves  <palves@redhat.com>
3121
3122         * gdb.cp/overload.exp (line_range_pattern): New procedure.
3123         (top level): Add "list all overloads" tests.
3124
3125 2017-08-22  Tom Tromey  <tom@tromey.com>
3126
3127         * gdb.gdb/xfullpath.exp: Remove.
3128
3129 2017-08-21  Pedro Alves  <palves@redhat.com>
3130
3131         PR gdb/19487
3132         * gdb.base/symbol-alias.c: New.
3133         * gdb.base/symbol-alias2.c: New.
3134         * gdb.base/symbol-alias.exp: New.
3135
3136 2017-08-21  Pedro Alves  <palves@redhat.com>
3137
3138         * gdb.base/dfp-test.c
3139         (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
3140         (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
3141         * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
3142         * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
3143         * gdb.base/whatis-ptype-typedefs.c: New.
3144         * gdb.base/whatis-ptype-typedefs.exp: New.
3145         * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
3146         (an_int, an_int_type, an_int_type2): New globals.
3147         * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
3148         involving typedefs and cast expressions.
3149         * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
3150         (lookup_typedefs_function): New.
3151         (typedefs_pretty_printers_dict): New.
3152         (top level): Register lookup_typedefs_function in
3153         gdb.pretty_printers.
3154
3155 2017-08-18  Yao Qi  <yao.qi@linaro.org>
3156
3157         * gdb.server/unittest.exp: New.
3158
3159 2017-08-15  Sergio Durigan Junior  <sergiodj@redhat.com>
3160
3161         PR gdb/21954
3162         * gdb.base/environ.exp: Add test to check if 'unset environment'
3163         works.
3164
3165 2017-08-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3166
3167         * lib/gdb.exp (universal_compile_options): New caching proc.
3168         (gdb_compile): Suppress GCC's coloring of messages.
3169
3170 2017-08-14  Tom Tromey  <tom@tromey.com>
3171
3172         PR gdb/21675:
3173         * gdb.base/printcmds.exp (test_radices): New function.
3174         * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
3175         * gdb.base/sizeof.exp (check_valueof): Use p/d.
3176         * lib/gdb.exp (get_integer_valueof): Use p/d.
3177
3178 2017-08-12  Simon Marchi  <simon.marchi@ericsson.com>
3179
3180         * lib/gdb.exp (get_valueof): Don't capture end-of-line
3181         characters.
3182
3183 2017-08-05  Tom Tromey  <tom@tromey.com>
3184
3185         * gdb.rust/simple.exp: Allow String to appear in a different
3186         namespace.
3187
3188 2017-07-26  Yao Qi  <yao.qi@linaro.org>
3189
3190         * gdb.gdb/unittest.exp: Invoke command
3191         "maintenance check xml-descriptions".
3192
3193 2017-07-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3194
3195         * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
3196         calling context.
3197         (hex128): Drop erroneous calculation of parameters.
3198
3199 2017-07-22  Simon Marchi  <simon.marchi@ericsson.com>
3200
3201         * gdb.python/py-unwind.exp: Disable stack protection when
3202         building test file.
3203
3204 2017-07-20  Pedro Alves  <palves@redhat.com>
3205
3206         * gdb.base/default.exp (set language): Adjust expected output.
3207
3208 2017-07-20  Pedro Alves  <palves@redhat.com>
3209
3210         * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
3211         (test_minsym): ... this, and make static.
3212         (get_pck__foo__bar__minsym): Rename to ...
3213         (get_test_minsym): ... this.
3214         * gdb.base/dmsym.exp (): Remove "set language ada" call.  Adjust
3215         symbol names and comments.
3216         * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
3217         (get_test_minsym): ... this.
3218         (pck__foo__bar__minsym__2): Rename to ...
3219         (test_minsym): ... this.
3220         (main): Adjust.
3221
3222 2017-07-17  Pedro Alves  <palves@redhat.com>
3223
3224         * gdb.base/completion.exp: Adjust expected output.
3225         * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
3226         the completer works.
3227
3228 2017-07-17  Pedro Alves  <palves@redhat.com>
3229
3230         * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
3231
3232 2017-07-15  Andrew Burgess  <andrew.burgess@embecosm.com>
3233
3234         * gdb.mi/mi-vla-fortran.exp: Make test names unique.
3235
3236 2017-07-14  Tom Tromey  <tom@tromey.com>
3237
3238         PR rust/21764:
3239         * gdb.rust/simple.exp: Add tests.
3240
3241 2017-07-14  Tom Tromey  <tom@tromey.com>
3242
3243         * gdb.rust/simple.exp: Add regression test for PR rust/21763.
3244
3245 2017-07-14  Pedro Alves  <palves@redhat.com>
3246
3247         * gdb.linespec/base/one/thefile.cc (z1): New function.
3248         * gdb.linespec/base/two/thefile.cc (z2): New function.
3249         * gdb.linespec/linespec.exp: Add tests.
3250
3251 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3252
3253         * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
3254         to mi_create_breakpoint.
3255
3256 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3257
3258         * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
3259         mi_create_breakpoint.
3260
3261 2017-07-11  Iain Buclaw  <ibuclaw@gdcproject.org>
3262
3263         * gdb.dlang/demangle.exp: Update for demangling changes.
3264
3265 2017-07-09  Tom Tromey  <tom@tromey.com>
3266
3267         * gdb.dwarf2/shortpiece.exp: New file.
3268
3269 2017-07-06  David Blaikie  <dblaikie@gmail.com>
3270
3271         * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
3272         built from fissiont-multi-cu{1,2}.c.
3273         * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
3274         except putting 'main' and 'func' in separate CUs in the same DWO file.
3275         * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
3276         test.
3277         * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
3278         test.
3279
3280 2017-07-06  Pedro Alves  <palves@redhat.com>
3281
3282         * gdb.python/py-unwind.exp: Test flushregs.
3283
3284 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3285
3286         PR cli/21688
3287         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3288         tests for alias commands and trailing whitespace.
3289
3290 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3291
3292         PR cli/21688
3293         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3294         procedure.  Call it.
3295
3296 2017-06-29  Pedro Alves  <palves@redhat.com>
3297
3298         * gdb.base/printcmds.exp: Add tests.
3299
3300 2017-06-28  Doug Gilmore  <Doug.Gilmore@imgtec.com>
3301
3302         PR gdb/21337
3303         * gdb.base/reread-readsym.exp: New file.
3304         * gdb.base/reread-readsym.c: New file.
3305
3306 2017-06-21  Kevin Buettner  <kevinb@redhat.com>
3307
3308         * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3309         subpattern.
3310
3311 2017-06-19  Peter Bergner  <bergner@vnet.ibm.com>
3312
3313         * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3314         extended mnemonic.
3315         * gdb.arch/powerpc-power9.s: Likewise.
3316
3317 2017-06-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3318
3319         * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3320         on 32-bit x86 targets.  Exploit is_*_target macros where
3321         appropriate.
3322
3323 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3324
3325         * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3326         register pieces.
3327
3328 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3329
3330         * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3331         located in one or more DWARF pieces.
3332
3333 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3334
3335         * lib/gdb.exp (get_endianness): New proc.
3336         * gdb.arch/aarch64-fp.exp: Use it.
3337         * gdb.arch/altivec-regs.exp: Likewise.
3338         * gdb.arch/e500-regs.exp: Likewise.
3339         * gdb.arch/vsx-regs.exp: Likewise.
3340         * gdb.base/dump.exp: Likewise.
3341         * gdb.base/funcargs.exp: Likewise.
3342         * gdb.base/gnu_vector.exp: Likewise.
3343         * gdb.dwarf2/formdata16.exp: Likewise.
3344         * gdb.dwarf2/implptrpiece.exp: Likewise.
3345         * gdb.dwarf2/nonvar-access.exp: Likewise.
3346         * gdb.python/py-inferior.exp: Likewise.
3347         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3348
3349 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3350
3351         PR gdb/21226
3352         * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3353         stack value pieces are taken from the LSB end.
3354
3355 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3356
3357         * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3358         variable at nonzero offset.
3359
3360 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3361
3362         * gdb.dwarf2/var-access.c: New file.
3363         * gdb.dwarf2/var-access.exp: New test.
3364         * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3365
3366 2017-06-12  Tom Tromey  <tom@tromey.com>
3367
3368         * gdb.dwarf2/formdata16.exp: Add tests.
3369
3370 2017-06-12  Tom Tromey  <tom@tromey.com>
3371
3372         * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
3373
3374 2017-06-12  Tom Tromey  <tom@tromey.com>
3375
3376         PR exp/16225:
3377         * gdb.reverse/i386-sse-reverse.exp: Update tests.
3378         * gdb.arch/vsx-regs.exp: Update tests.
3379         * gdb.arch/s390-vregs.exp (hex128): New proc.
3380         Update test.
3381         * gdb.arch/altivec-regs.exp: Update tests.
3382
3383 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3384
3385         * gdb.base/startup-with-shell.c: New file.
3386         * gdb.base/startup-with-shell.exp: Likewise.
3387
3388 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3389
3390         * gdb.server/non-existing-program.exp: Update regex in order to
3391         reflect the fact that gdbserver is now using fork_inferior (with a
3392         shell) to startup the inferior.
3393
3394 2017-05-30  Simon Marchi  <simon.marchi@ericsson.com>
3395
3396         * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3397         support function calls from GDB.
3398
3399 2017-05-21  Tom Tromey  <tom@tromey.com>
3400
3401         PR rust/21466:
3402         * gdb.rust/unsized.exp: New file.
3403         * gdb.rust/unsized.rs: New file.
3404
3405 2017-05-19  Tom Tromey  <tom@tromey.com>
3406
3407         PR rust/21484:
3408         * gdb.rust/watch.exp: New file.
3409         * gdb.rust/watch.rs: New file.
3410
3411 2017-05-18  Tom Tromey  <tom@tromey.com>
3412
3413         * gdb.rust/simple.exp: Allow Box to be qualified.
3414
3415 2017-05-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3416
3417         * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3418
3419 2017-05-18  Pedro Alves  <palves@redhat.com>
3420
3421         * gdb.base/fileio.c (test_write, test_read, test_close)
3422         (test_fstat): Don't print 'ret' in the fail path.
3423
3424 2017-05-18  Pedro Alves  <palves@redhat.com>
3425
3426         * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3427         (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3428         (test_system, test_rename, test_unlink, test_time): Change
3429         prototypes.
3430         * gdb.base/fileio.exp (stop_msg): Adjust.
3431
3432 2017-05-18  Pedro Alves  <palves@redhat.com>
3433
3434         * gdb.base/fileio.c (null_str): New global.
3435         (test_stat): Use it.
3436         * gdb.base/fileio.exp: Remove nowarnings.
3437
3438 2017-05-17  Yao Qi  <yao.qi@linaro.org>
3439
3440         * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3441
3442 2017-05-17  Simon Marchi  <simon.marchi@ericsson.com>
3443
3444         * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3445         argument command.
3446         (top-level): Invoke test_set_inferior_tty.
3447
3448 2017-05-04  Pedro Alves  <palves@redhat.com>
3449
3450         * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3451         Add parens to print call for Python 3.
3452
3453 2017-05-03  Keith Seitz  <keiths@redhat.com>
3454
3455         * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3456         (main): Call it.
3457
3458 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3459
3460         * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3461         to prev and next.
3462
3463 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3464
3465         * gdb.python/py-record-btrace.exp: Remove test for
3466         gdb.BtraceInstruction.error.
3467
3468 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3469
3470         * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3471
3472 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3473
3474         * gdb.python/py-record-btrace-threads.c: New file.
3475         * gdb.python/py-record-btrace-threads.exp: New file.
3476
3477 2017-04-28  Sergio Durigan Junior  <sergiodj@redhat.com>
3478
3479         PR testsuite/8595
3480         * gdb.base/environ.exp: Make test available in all architectures.
3481         Move bits related to "info program" testing to
3482         gdb.base/info-program.exp.  Rewrite tests to use the two new
3483         procedures mentione below.
3484         (test_set_show_env_var) New procedure.
3485         (test_set_show_env_var_equal): Likewise.
3486         * gdb.base/info-program.exp: New file.
3487
3488 2017-04-27  Keith Seitz  <keiths@redhat.com>
3489
3490         * gdb.cp/oranking.cc (test15): New function.
3491         (main): Call test15 and declare additional variables for testing.
3492         * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3493         "p foo101('abc')" tests.
3494         Add tests for cv qualifier overloads.
3495         * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3496         "lvalue reference overload" test.
3497         * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3498         "print value of f1 on Child&& in f2" test.
3499
3500 2017-04-19  Pedro Alves  <palves@redhat.com>
3501
3502         * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3503         procedure.
3504         (top level): Call it.
3505         * lib/gdb.exp (gdb_define_cmd): New procedure.
3506
3507 2017-04-12  Pedro Alves  <palves@redhat.com>
3508
3509         PR gdb/21323
3510         * gdb.cp/wide_char_types.c: Include <wchar.h>.
3511         (wchar): New global.
3512         * gdb.cp/wide_char_types.exp (wide_char_types_program)
3513         (do_test_wide_char, wide_char_types_no_program, top level): Add
3514         wchar_t testing.
3515
3516 2017-04-12  Pedro Alves  <palves@redhat.com>
3517
3518         PR c++/21323
3519         * gdb.cp/wide_char_types.c: New file.
3520         * gdb.cp/wide_char_types.exp: New file.
3521
3522 2017-04-05  Sergio Durigan Junior  <sergiodj@redhat.com>
3523
3524         PR gdb/21352
3525         * gdb.trace/tsv.exp: Add test for "tsave -r".
3526
3527 2017-03-30  Iain Buclaw  <ibuclaw@gdcproject.org>
3528
3529         * gdb.dlang/watch-loc.c: New file.
3530         * gdb.dlang/watch-loc.exp: New file.
3531
3532 2017-03-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3533
3534         * gdb.python/py-section-script.exp (sepdebug): New testcases.
3535
3536 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3537
3538         * gdb.arch/arc-analyze-prologue.S: New file.
3539         * gdb.arch/arc-analyze-prologue.exp: Likewise.
3540
3541 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3542
3543         * gdb.arch/arc-decode-insn.S: New file.
3544         * gdb.arch/arc-decode-insn.exp: Likewise.
3545
3546 2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>
3547
3548         PR tdep/20928
3549         * gdb.arch/sparc64-regs.exp: New file.
3550         * gdb.arch/sparc64-regs.S: Likewise.
3551
3552 2017-03-21  Tim Wiederhake  <tim.wiederhake@intel.com>
3553
3554         * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3555         and memory view on Python 3.
3556
3557 2017-03-20  Artemiy Volkov  <artemiyv@acm.org>
3558             Keith Seitz  <keiths@redhat.com>
3559
3560         PR gdb/14441
3561         * gdb.cp/demangle.exp: Add rvalue reference tests.
3562         * gdb.cp/rvalue-ref-casts.cc: New file.
3563         * gdb.cp/rvalue-ref-casts.exp: New file.
3564         * gdb.cp/rvalue-ref-overload.cc: New file.
3565         * gdb.cp/rvalue-ref-overload.exp: New file.
3566         * gdb.cp/rvalue-ref-params.cc: New file.
3567         * gdb.cp/rvalue-ref-params.exp: New file.
3568         * gdb.cp/rvalue-ref-sizeof.cc: New file.
3569         * gdb.cp/rvalue-ref-sizeof.exp: New file.
3570         * gdb.cp/rvalue-ref-types.cc: New file.
3571         * gdb.cp/rvalue-ref-types.exp: New file.
3572         * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3573         * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3574
3575 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
3576
3577         * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3578         New procedure.
3579
3580 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
3581
3582         * lib/mi-support.exp (mi_gdb_test): Add additional message
3583         for unexpected output.
3584
3585 2017-03-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3586
3587         * gdb.base/examine-backward.c (Barrier): New character array
3588         constant, to ensure that TestStrings is preceded by a string
3589         terminator.
3590
3591 2017-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3592
3593         * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3594         * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3595         and implicit pointer into such a location.
3596
3597 2017-03-16  Doug Evans  <dje@google.com>
3598
3599         * gdb.python/py-lazy-string (pointer): Really add new typedef.
3600
3601 2017-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3602
3603         * gdb.cp/m-static.exp: Fix expectation for prototype of
3604         test5.single_constructor and single_constructor::single_constructor.
3605
3606 2017-03-16  Doug Evans  <dje@google.com>
3607
3608         * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3609         * gdb.guile/scm-lazy-string.c: New file.
3610         * gdb.guile/scm-value.exp: Move lazy string tests to ...
3611         * gdb.guile/scm-lazy-string.exp: ... here, new file.  Add more tests
3612         for pointer, array, typedef lazy strings.
3613
3614 2017-03-16  Doug Evans  <dje@google.com>
3615
3616         PR python/17728, python/18439, python/18779
3617         * gdb.python/py-value.c (main) Delete locals sptr, sn.
3618         * gdb.python/py-lazy-string.c (pointer): New typedef.
3619         (main): New locals ptr, array, typedef_ptr.
3620         * gdb.python/py-value.exp: Move lazy string tests to ...
3621         * gdb.python/py-lazy-string.exp: ... here.  Add more tests for pointer,
3622         array, typedef lazy strings.
3623
3624 2017-03-14  Anton Kolesov  <anton.kolesov@synopsys.com>
3625
3626         * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3627           Add optional 'test' parameter.
3628
3629 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
3630
3631         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3632         Skip for versions of DejaGnu < 1.5.
3633
3634 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
3635
3636         * lib/gdb.exp (dejagnu_version): New proc.
3637         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3638         Use dejagnu_version.
3639
3640 2017-03-10  Keith Seitz  <keiths@redhat.com>
3641
3642         PR c++/8128
3643         * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3644         type from destructor regexps.
3645         Add a branch which actually passes the test.
3646         Adjust "ptype t5i" test names.
3647
3648 2017-03-08  Pedro Alves  <palves@redhat.com>
3649
3650         * gdb.base/step-over-exit.exp: Add explicit test message.
3651
3652 2017-03-08  Pedro Alves  <palves@redhat.com>
3653
3654         PR gdb/18360
3655         * gdb.threads/interrupt-while-step-over.c: New file.
3656         * gdb.threads/interrupt-while-step-over.exp: New file.
3657
3658 2017-03-08  Pedro Alves  <palves@redhat.com>
3659
3660         * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3661         * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3662
3663 2017-03-08  Pedro Alves  <palves@redhat.com>
3664
3665         * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3666         PKRU as not supported as a PASS.
3667
3668 2017-03-08  Pedro Alves  <palves@redhat.com>
3669
3670         * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3671         prefix instead of $binfile1/$binfile2.
3672         * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3673         in test message.
3674         * gdb.python/py-completion.exp: Use "load python file" as test
3675         messages instead of unstable path names.
3676
3677 2017-03-08  Pedro Alves  <palves@redhat.com>
3678             Jan Kratochvil  <jan.kratochvil@redhat.com>
3679
3680         PR cli/21218
3681         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3682         New proc.
3683         (top level): Call it.
3684
3685 2017-03-08  Pedro Alves  <palves@redhat.com>
3686
3687         PR tui/21216
3688         * gdb.tui/tui-nl-filtered-output.exp: New file.
3689
3690 2017-03-08  Pedro Alves  <palves@redhat.com>
3691
3692         * gdb.base/completion.exp: Move TUI completion tests to ...
3693         * gdb.tui/completion.exp: ... this new file.
3694
3695 2017-03-08  Pedro Alves  <palves@redhat.com>
3696
3697         * gdb.base/tui-disasm-long-lines.c,
3698         gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3699         gdb.base/tui-layout.exp: Move to ...
3700         * gdb.tui/: ... this new directory.
3701
3702 2017-03-07  Pedro Alves  <palves@redhat.com>
3703
3704         * gdb.base/tui-layout.c: New file.
3705         * gdb.base/tui-layout.exp: New file.
3706
3707 2017-03-07  Pedro Alves  <palves@redhat.com>
3708
3709         * gdb.base/tui-layout.c: Rename to ...
3710         * gdb.base/tui-disasm-long-lines.c: ... this.
3711         * gdb.base/tui-layout.exp: Rename to ...
3712         * gdb.base/tui-disasm-long-lines.exp: ... this.
3713
3714 2017-03-07  Pedro Alves  <palves@redhat.com>
3715
3716         * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3717
3718 2017-03-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
3719
3720         * i386-mpx-call.c: New file.
3721         * i386-mpx-call.exp: New file.
3722
3723 2017-02-28  Peter Bergner  <bergner@vnet.ibm.com>
3724
3725         * gdb.arch/powerpc-power.exp: Delete test.
3726         * gdb.arch/powerpc-power.s: Likewise.
3727         * gdb.disasm/disassembler-options.exp: New test.
3728         * gdb.arch/powerpc-altivec.exp: Likewise.
3729         * gdb.arch/powerpc-altivec.s: Likewise.
3730         * gdb.arch/powerpc-altivec2.exp: Likewise.
3731         * gdb.arch/powerpc-altivec2.s: Likewise.
3732         * gdb.arch/powerpc-altivec3.exp: Likewise.
3733         * gdb.arch/powerpc-altivec3.s: Likewise.
3734         * gdb.arch/powerpc-power7.exp: Likewise.
3735         * gdb.arch/powerpc-power7.s: Likewise.
3736         * gdb.arch/powerpc-power8.exp: Likewise.
3737         * gdb.arch/powerpc-power8.s: Likewise.
3738         * gdb.arch/powerpc-power9.exp: Likewise.
3739         * gdb.arch/powerpc-power9.s: Likewise.
3740         * gdb.arch/powerpc-vsx.exp: Likewise.
3741         * gdb.arch/powerpc-vsx.s: Likewise.
3742         * gdb.arch/powerpc-vsx2.exp: Likewise.
3743         * gdb.arch/powerpc-vsx2.s: Likewise.
3744         * gdb.arch/powerpc-vsx3.exp: Likewise.
3745         * gdb.arch/powerpc-vsx3.s: Likewise.
3746         * gdb.arch/arm-disassembler-options.exp: Likewise.
3747         * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3748         * gdb.arch/s390-disassembler-options.exp: Likewise.
3749
3750 2017-02-23  Luis Machado  <lgustavo@codesourcery.com>
3751
3752         * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3753         (check_supported_features): ... this. Changed return type to void.
3754         (supports_rdseed): New static global.
3755         (rdseed): Check supports_rdseed.
3756         (initialize): Call check_supported_features.
3757
3758 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3759
3760         * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3761         gdb.arch/ppc64-atomic-inst.exp.  Add tests for lbarx/stbcx, lharx/sthcx
3762         and lqarx/stqcx.
3763         * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3764         * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3765
3766 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3767
3768         * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3769         uppercase.
3770
3771 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3772
3773         * gdb.dwarf2/formdata16.c: New file.
3774         * gdb.dwarf2/formdata16.exp: New file.
3775         * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3776
3777 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3778
3779         * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3780         * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3781         * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3782         * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3783         DW_AT_GNU_*.
3784
3785 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3786
3787         * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3788
3789 2017-02-15  Sergio Durigan Junior  <sergiodj@redhat.com>
3790
3791         PR gdb/21164
3792         * gdb.base/maint.exp: Add testcases for when the commands do
3793         not have arguments.
3794
3795 2017-02-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3796
3797         * gdb.cp/chained-calls.exp: Use p instead of P.
3798
3799 2017-02-14  Tim Wiederhake  <tim.wiederhake@intel.com>
3800
3801         * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3802         gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3803
3804 2017-02-14  Tom Tromey  <tom@tromey.com>
3805
3806         PR python/13598:
3807         * gdb.python/py-events.exp: Add before_prompt event tests.
3808
3809 2017-02-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3810
3811         * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3812
3813 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
3814
3815         * gdb.linespec/explicit.c (my_unique_function_name): New function.
3816         (main): Call my_unique_function_name.
3817         * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3818         completion of patterns with a single match.
3819         Add missing -re switches to gdb_test_multiple calls.
3820
3821 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
3822
3823         * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3824         return if core file is not recognized.
3825
3826 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
3827
3828         * gdb.base/new-ui.exp (do_test): Test queries behavior on main
3829         and extra UIs.
3830
3831 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
3832
3833         * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
3834         proc_with_prefix.
3835
3836 2017-02-10  Tom Tromey  <tom@tromey.com>
3837
3838         * gdb.python/py-xmethods.exp: Use "p" command, not "P".
3839
3840 2017-02-10  Martin Galvan  <martingalvan@sourceware.org>
3841
3842         PR gdb/21122
3843         * gdb.base/help.exp: Update match pattern for testing 'help commands'.
3844
3845 2017-02-08  Jerome Guitton  <guitton@adacore.com>
3846
3847         * gdb.base/define.exp: Add test for command abbreviations
3848         in define.
3849
3850 2017-02-06  Luis Machado  <lgustavo@codesourcery.com>
3851
3852         * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
3853         * gdb.reverse/insn-reverse-x86.c: New file.
3854
3855 2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>
3856
3857         PR tdep/20936
3858         * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
3859
3860 2017-02-03  Tom Tromey  <tom@tromey.com>
3861
3862         PR rust/21097:
3863         * gdb.rust/simple.exp: Add new tests.
3864
3865 2017-02-02  Pedro Alves  <palves@redhat.com>
3866
3867         * gdb.mi/mi-logging.exp: Add "redirect while already logging"
3868         tests.
3869
3870 2017-02-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3871
3872         * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
3873         taking a 2-byte value out of a 4-byte DWARF implicit value on
3874         big-endian targets.
3875         * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
3876         logic.  Add test cases for DW_OP_implicit.
3877
3878 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3879
3880         * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
3881
3882 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3883
3884         * gdb.btrace/enable.exp: Call gdb_exit before
3885         skip_gdbserver_tests.
3886
3887 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3888
3889         * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
3890         GDBFLAGS.
3891
3892 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3893
3894         * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
3895         the test is skipped.
3896         * gdb.btrace/data.exp: Likewise.
3897         * gdb.btrace/delta.exp: Likewise.
3898         * gdb.btrace/dlopen.exp: Likewise.
3899         * gdb.btrace/enable-running.exp: Likewise.
3900         * gdb.btrace/enable.exp: Likewise.
3901         * gdb.btrace/exception.exp: Likewise.
3902         * gdb.btrace/function_call_history.exp: Likewise.
3903         * gdb.btrace/gcore.exp: Likewise.
3904         * gdb.btrace/instruction_history.exp: Likewise.
3905         * gdb.btrace/multi-thread-step.exp: Likewise.
3906         * gdb.btrace/nohist.exp: Likewise.
3907         * gdb.btrace/non-stop.exp: Likewise.
3908         * gdb.btrace/reconnect.exp: Likewise.
3909         * gdb.btrace/record_goto-step.exp: Likewise.
3910         * gdb.btrace/record_goto.exp: Likewise.
3911         * gdb.btrace/rn-dl-bind.exp: Likewise.
3912         * gdb.btrace/segv.exp: Likewise.
3913         * gdb.btrace/step.exp: Likewise.
3914         * gdb.btrace/stepi.exp: Likewise.
3915         * gdb.btrace/tailcall-only.exp: Likewise.
3916         * gdb.btrace/tailcall.exp: Likewise.
3917         * gdb.btrace/tsx.exp: Likewise.
3918         * gdb.btrace/unknown_functions.exp: Likewise.
3919         * gdb.btrace/vdso.exp: Likewise.
3920
3921 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3922
3923         * gdb.btrace/enable-running.c: New.
3924         * gdb.btrace/enable-running.exp: New.
3925
3926 2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
3927
3928         * gdb.arch/amd64-gs_base.c: New file.
3929         * gdb.arch/amd64-gs_base.exp: New file.
3930
3931 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
3932
3933         * lib/memory.exp: Remove spurious empty newlines.
3934
3935 2017-01-26  Simon Marchi  <simon.marchi@polymtl.ca>
3936
3937         * gdb.python/py-bad-printers.exp: Load python file using "source".
3938         * gdb.python/py-events.exp: Likewise.
3939         * gdb.python/py-evsignal.exp: Likewise.
3940         * gdb.python/py-evthreads.exp: Likewise.
3941         * gdb.python/py-frame-args.exp: Likewise.
3942         * gdb.python/py-framefilter-invalidarg.exp: Likewise.
3943         * gdb.python/py-framefilter-mi.exp: Likewise.
3944         * gdb.python/py-framefilter.exp: Likewise.
3945         * gdb.python/py-mi.exp: Likewise.
3946         * gdb.python/py-pp-maint.exp: Likewise.
3947         * gdb.python/py-pp-registration.exp: Likewise.
3948         * gdb.python/py-prettyprint.exp: Likewise.
3949         (run_lang_tests): Likewise.
3950         * gdb.python/py-typeprint.exp: Likewise.
3951
3952 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
3953
3954         * lib/memory.exp: New file.
3955         * lib/gdb.exp: Load memory.exp.
3956         * gdb.base/memattr.exp (delete_memory): Move proc to
3957         lib/memory.exp and rename to delete_memory_regions.
3958         Replace delete_memory with delete_memory_regions.
3959         Cleanup memory regions before tests.
3960         * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
3961         before tests.
3962
3963 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
3964
3965         * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
3966         files.
3967         (initialize): New function conditionally defined.
3968         (testcases): Move within conditional block.
3969         (main): Call initialize.
3970         * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
3971         of gdb.reverse/insn-reverse.c.
3972         * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
3973         gdb.reverse/insn-reverse.c.
3974
3975 2017-01-26  Yao Qi  <yao.qi@linaro.org>
3976
3977         * gdb.base/all-architectures.exp.in (do_arch_tests): Test
3978         disassemble on address 0.
3979
3980 2017-01-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3981             Yao Qi  <yao.qi@linaro.org>
3982
3983         * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
3984         * gdb.dwarf2/implptr-64bit.S: Remove.
3985         * lib/dwarf.exp (Dwarf): Handle character "%".  Evaluate some
3986         variables in caller's context.  Add DW_OP_implicit_value.
3987
3988 2017-01-25  Yao Qi  <yao.qi@linaro.org>
3989
3990         * lib/dwarf.exp (Dwarf::_location): Handle
3991         DW_OP_GNU_implicit_pointer with proper size.
3992
3993 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
3994
3995         * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
3996         and add untested calls.
3997
3998 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
3999
4000         * gdb.python/python.exp: Check line number against what GDB thinks
4001         the line number is for func1.
4002
4003 2017-01-08  Iain Buclaw  <ibuclaw@gdcproject.org>
4004
4005         * gdb.dlang/debug-expr.exp: New file.
4006
4007 2016-12-23  Luis Machado  <lgustavo@codesourcery.com>
4008
4009         Fix test names for the following files:
4010
4011         * gdb.ada/exec_changed.exp
4012         * gdb.ada/info_types.exp
4013         * gdb.arch/aarch64-atomic-inst.exp
4014         * gdb.arch/aarch64-fp.exp
4015         * gdb.arch/altivec-abi.exp
4016         * gdb.arch/altivec-regs.exp
4017         * gdb.arch/amd64-byte.exp
4018         * gdb.arch/amd64-disp-step.exp
4019         * gdb.arch/amd64-dword.exp
4020         * gdb.arch/amd64-entry-value-inline.exp
4021         * gdb.arch/amd64-entry-value-param.exp
4022         * gdb.arch/amd64-entry-value-paramref.exp
4023         * gdb.arch/amd64-entry-value.exp
4024         * gdb.arch/amd64-i386-address.exp
4025         * gdb.arch/amd64-invalid-stack-middle.exp
4026         * gdb.arch/amd64-invalid-stack-top.exp
4027         * gdb.arch/amd64-optimout-repeat.exp
4028         * gdb.arch/amd64-prologue-skip.exp
4029         * gdb.arch/amd64-prologue-xmm.exp
4030         * gdb.arch/amd64-stap-special-operands.exp
4031         * gdb.arch/amd64-stap-wrong-subexp.exp
4032         * gdb.arch/amd64-tailcall-cxx.exp
4033         * gdb.arch/amd64-tailcall-noret.exp
4034         * gdb.arch/amd64-tailcall-ret.exp
4035         * gdb.arch/amd64-tailcall-self.exp
4036         * gdb.arch/amd64-word.exp
4037         * gdb.arch/arm-bl-branch-dest.exp
4038         * gdb.arch/arm-disp-step.exp
4039         * gdb.arch/arm-neon.exp
4040         * gdb.arch/arm-single-step-kernel-helper.exp
4041         * gdb.arch/avr-flash-qualifier.exp
4042         * gdb.arch/disp-step-insn-reloc.exp
4043         * gdb.arch/e500-abi.exp
4044         * gdb.arch/e500-regs.exp
4045         * gdb.arch/ftrace-insn-reloc.exp
4046         * gdb.arch/i386-avx512.exp
4047         * gdb.arch/i386-bp_permanent.exp
4048         * gdb.arch/i386-byte.exp
4049         * gdb.arch/i386-cfi-notcurrent.exp
4050         * gdb.arch/i386-disp-step.exp
4051         * gdb.arch/i386-dr3-watch.exp
4052         * gdb.arch/i386-float.exp
4053         * gdb.arch/i386-gnu-cfi.exp
4054         * gdb.arch/i386-mpx-map.exp
4055         * gdb.arch/i386-mpx-sigsegv.exp
4056         * gdb.arch/i386-mpx-simple_segv.exp
4057         * gdb.arch/i386-mpx.exp
4058         * gdb.arch/i386-permbkpt.exp
4059         * gdb.arch/i386-prologue.exp
4060         * gdb.arch/i386-signal.exp
4061         * gdb.arch/i386-size-overlap.exp
4062         * gdb.arch/i386-unwind.exp
4063         * gdb.arch/i386-word.exp
4064         * gdb.arch/mips-fcr.exp
4065         * gdb.arch/powerpc-d128-regs.exp
4066         * gdb.arch/powerpc-stackless.exp
4067         * gdb.arch/ppc64-atomic-inst.exp
4068         * gdb.arch/s390-stackless.exp
4069         * gdb.arch/s390-tdbregs.exp
4070         * gdb.arch/s390-vregs.exp
4071         * gdb.arch/sparc-sysstep.exp
4072         * gdb.arch/thumb-bx-pc.exp
4073         * gdb.arch/thumb-singlestep.exp
4074         * gdb.arch/thumb2-it.exp
4075         * gdb.arch/vsx-regs.exp
4076         * gdb.asm/asm-source.exp
4077         * gdb.base/a2-run.exp
4078         * gdb.base/advance.exp
4079         * gdb.base/all-bin.exp
4080         * gdb.base/anon.exp
4081         * gdb.base/args.exp
4082         * gdb.base/arithmet.exp
4083         * gdb.base/async-shell.exp
4084         * gdb.base/async.exp
4085         * gdb.base/attach-pie-noexec.exp
4086         * gdb.base/attach-twice.exp
4087         * gdb.base/auto-load.exp
4088         * gdb.base/bang.exp
4089         * gdb.base/bitfields.exp
4090         * gdb.base/break-always.exp
4091         * gdb.base/break-caller-line.exp
4092         * gdb.base/break-entry.exp
4093         * gdb.base/break-inline.exp
4094         * gdb.base/break-on-linker-gcd-function.exp
4095         * gdb.base/break-probes.exp
4096         * gdb.base/break.exp
4097         * gdb.base/breakpoint-shadow.exp
4098         * gdb.base/call-ar-st.exp
4099         * gdb.base/call-sc.exp
4100         * gdb.base/call-signal-resume.exp
4101         * gdb.base/call-strs.exp
4102         * gdb.base/callfuncs.exp
4103         * gdb.base/catch-fork-static.exp
4104         * gdb.base/catch-gdb-caused-signals.exp
4105         * gdb.base/catch-load.exp
4106         * gdb.base/catch-signal-fork.exp
4107         * gdb.base/catch-signal.exp
4108         * gdb.base/catch-syscall.exp
4109         * gdb.base/charset.exp
4110         * gdb.base/checkpoint.exp
4111         * gdb.base/chng-syms.exp
4112         * gdb.base/code-expr.exp
4113         * gdb.base/code_elim.exp
4114         * gdb.base/commands.exp
4115         * gdb.base/completion.exp
4116         * gdb.base/complex.exp
4117         * gdb.base/cond-expr.exp
4118         * gdb.base/condbreak.exp
4119         * gdb.base/consecutive.exp
4120         * gdb.base/continue-all-already-running.exp
4121         * gdb.base/coredump-filter.exp
4122         * gdb.base/corefile.exp
4123         * gdb.base/dbx.exp
4124         * gdb.base/debug-expr.exp
4125         * gdb.base/define.exp
4126         * gdb.base/del.exp
4127         * gdb.base/disabled-location.exp
4128         * gdb.base/disasm-end-cu.exp
4129         * gdb.base/disasm-optim.exp
4130         * gdb.base/display.exp
4131         * gdb.base/duplicate-bp.exp
4132         * gdb.base/ena-dis-br.exp
4133         * gdb.base/ending-run.exp
4134         * gdb.base/enumval.exp
4135         * gdb.base/environ.exp
4136         * gdb.base/eu-strip-infcall.exp
4137         * gdb.base/eval-avoid-side-effects.exp
4138         * gdb.base/eval-skip.exp
4139         * gdb.base/exitsignal.exp
4140         * gdb.base/expand-psymtabs.exp
4141         * gdb.base/filesym.exp
4142         * gdb.base/find-unmapped.exp
4143         * gdb.base/finish.exp
4144         * gdb.base/float.exp
4145         * gdb.base/foll-exec-mode.exp
4146         * gdb.base/foll-exec.exp
4147         * gdb.base/foll-fork.exp
4148         * gdb.base/fortran-sym-case.exp
4149         * gdb.base/freebpcmd.exp
4150         * gdb.base/func-ptr.exp
4151         * gdb.base/func-ptrs.exp
4152         * gdb.base/funcargs.exp
4153         * gdb.base/gcore-buffer-overflow.exp
4154         * gdb.base/gcore-relro-pie.exp
4155         * gdb.base/gcore-relro.exp
4156         * gdb.base/gcore.exp
4157         * gdb.base/gdb1090.exp
4158         * gdb.base/gdb11530.exp
4159         * gdb.base/gdb11531.exp
4160         * gdb.base/gdb1821.exp
4161         * gdb.base/gdbindex-stabs.exp
4162         * gdb.base/gdbvars.exp
4163         * gdb.base/hbreak.exp
4164         * gdb.base/hbreak2.exp
4165         * gdb.base/included.exp
4166         * gdb.base/infcall-input.exp
4167         * gdb.base/inferior-died.exp
4168         * gdb.base/infnan.exp
4169         * gdb.base/info-macros.exp
4170         * gdb.base/info-os.exp
4171         * gdb.base/info-proc.exp
4172         * gdb.base/info-shared.exp
4173         * gdb.base/info-target.exp
4174         * gdb.base/infoline.exp
4175         * gdb.base/interp.exp
4176         * gdb.base/interrupt.exp
4177         * gdb.base/jit-reader.exp
4178         * gdb.base/jit-simple.exp
4179         * gdb.base/kill-after-signal.exp
4180         * gdb.base/kill-detach-inferiors-cmd.exp
4181         * gdb.base/label.exp
4182         * gdb.base/langs.exp
4183         * gdb.base/ldbl_e308.exp
4184         * gdb.base/line-symtabs.exp
4185         * gdb.base/linespecs.exp
4186         * gdb.base/list.exp
4187         * gdb.base/long_long.exp
4188         * gdb.base/longest-types.exp
4189         * gdb.base/maint.exp
4190         * gdb.base/max-value-size.exp
4191         * gdb.base/memattr.exp
4192         * gdb.base/mips_pro.exp
4193         * gdb.base/morestack.exp
4194         * gdb.base/moribund-step.exp
4195         * gdb.base/multi-forks.exp
4196         * gdb.base/nested-addr.exp
4197         * gdb.base/nextoverexit.exp
4198         * gdb.base/noreturn-finish.exp
4199         * gdb.base/noreturn-return.exp
4200         * gdb.base/nostdlib.exp
4201         * gdb.base/offsets.exp
4202         * gdb.base/opaque.exp
4203         * gdb.base/pc-fp.exp
4204         * gdb.base/permissions.exp
4205         * gdb.base/print-symbol-loading.exp
4206         * gdb.base/prologue-include.exp
4207         * gdb.base/psymtab.exp
4208         * gdb.base/ptype.exp
4209         * gdb.base/random-signal.exp
4210         * gdb.base/randomize.exp
4211         * gdb.base/range-stepping.exp
4212         * gdb.base/readline-ask.exp
4213         * gdb.base/recpar.exp
4214         * gdb.base/recurse.exp
4215         * gdb.base/relational.exp
4216         * gdb.base/restore.exp
4217         * gdb.base/return-nodebug.exp
4218         * gdb.base/return.exp
4219         * gdb.base/run-after-attach.exp
4220         * gdb.base/save-bp.exp
4221         * gdb.base/scope.exp
4222         * gdb.base/sect-cmd.exp
4223         * gdb.base/set-lang-auto.exp
4224         * gdb.base/set-noassign.exp
4225         * gdb.base/setvar.exp
4226         * gdb.base/sigall.exp
4227         * gdb.base/sigbpt.exp
4228         * gdb.base/siginfo-addr.exp
4229         * gdb.base/siginfo-infcall.exp
4230         * gdb.base/siginfo-obj.exp
4231         * gdb.base/siginfo.exp
4232         * gdb.base/signals-state-child.exp
4233         * gdb.base/signest.exp
4234         * gdb.base/sigstep.exp
4235         * gdb.base/sizeof.exp
4236         * gdb.base/skip.exp
4237         * gdb.base/solib-corrupted.exp
4238         * gdb.base/solib-nodir.exp
4239         * gdb.base/solib-search.exp
4240         * gdb.base/stack-checking.exp
4241         * gdb.base/stale-infcall.exp
4242         * gdb.base/stap-probe.exp
4243         * gdb.base/start.exp
4244         * gdb.base/step-break.exp
4245         * gdb.base/step-bt.exp
4246         * gdb.base/step-line.exp
4247         * gdb.base/step-over-exit.exp
4248         * gdb.base/step-over-syscall.exp
4249         * gdb.base/step-resume-infcall.exp
4250         * gdb.base/step-test.exp
4251         * gdb.base/store.exp
4252         * gdb.base/structs3.exp
4253         * gdb.base/sym-file.exp
4254         * gdb.base/symbol-without-target_section.exp
4255         * gdb.base/term.exp
4256         * gdb.base/testenv.exp
4257         * gdb.base/ui-redirect.exp
4258         * gdb.base/until.exp
4259         * gdb.base/unwindonsignal.exp
4260         * gdb.base/value-double-free.exp
4261         * gdb.base/vla-datatypes.exp
4262         * gdb.base/vla-ptr.exp
4263         * gdb.base/vla-sideeffect.exp
4264         * gdb.base/volatile.exp
4265         * gdb.base/watch-cond-infcall.exp
4266         * gdb.base/watch-cond.exp
4267         * gdb.base/watch-non-mem.exp
4268         * gdb.base/watch-read.exp
4269         * gdb.base/watch-vfork.exp
4270         * gdb.base/watchpoint-cond-gone.exp
4271         * gdb.base/watchpoint-delete.exp
4272         * gdb.base/watchpoint-hw-hit-once.exp
4273         * gdb.base/watchpoint-hw.exp
4274         * gdb.base/watchpoint-stops-at-right-insn.exp
4275         * gdb.base/watchpoints.exp
4276         * gdb.base/wchar.exp
4277         * gdb.base/whatis-exp.exp
4278         * gdb.btrace/buffer-size.exp
4279         * gdb.btrace/data.exp
4280         * gdb.btrace/delta.exp
4281         * gdb.btrace/dlopen.exp
4282         * gdb.btrace/enable.exp
4283         * gdb.btrace/exception.exp
4284         * gdb.btrace/function_call_history.exp
4285         * gdb.btrace/gcore.exp
4286         * gdb.btrace/instruction_history.exp
4287         * gdb.btrace/nohist.exp
4288         * gdb.btrace/reconnect.exp
4289         * gdb.btrace/record_goto-step.exp
4290         * gdb.btrace/record_goto.exp
4291         * gdb.btrace/rn-dl-bind.exp
4292         * gdb.btrace/segv.exp
4293         * gdb.btrace/step.exp
4294         * gdb.btrace/stepi.exp
4295         * gdb.btrace/tailcall-only.exp
4296         * gdb.btrace/tailcall.exp
4297         * gdb.btrace/tsx.exp
4298         * gdb.btrace/unknown_functions.exp
4299         * gdb.btrace/vdso.exp
4300         * gdb.compile/compile-ifunc.exp
4301         * gdb.compile/compile-ops.exp
4302         * gdb.compile/compile-print.exp
4303         * gdb.compile/compile-setjmp.exp
4304         * gdb.cp/abstract-origin.exp
4305         * gdb.cp/ambiguous.exp
4306         * gdb.cp/annota2.exp
4307         * gdb.cp/annota3.exp
4308         * gdb.cp/anon-ns.exp
4309         * gdb.cp/anon-struct.exp
4310         * gdb.cp/anon-union.exp
4311         * gdb.cp/arg-reference.exp
4312         * gdb.cp/baseenum.exp
4313         * gdb.cp/bool.exp
4314         * gdb.cp/breakpoint.exp
4315         * gdb.cp/bs15503.exp
4316         * gdb.cp/call-c.exp
4317         * gdb.cp/casts.exp
4318         * gdb.cp/chained-calls.exp
4319         * gdb.cp/class2.exp
4320         * gdb.cp/classes.exp
4321         * gdb.cp/cmpd-minsyms.exp
4322         * gdb.cp/converts.exp
4323         * gdb.cp/cp-relocate.exp
4324         * gdb.cp/cpcompletion.exp
4325         * gdb.cp/cpexprs.exp
4326         * gdb.cp/cplabel.exp
4327         * gdb.cp/cplusfuncs.exp
4328         * gdb.cp/cpsizeof.exp
4329         * gdb.cp/ctti.exp
4330         * gdb.cp/derivation.exp
4331         * gdb.cp/destrprint.exp
4332         * gdb.cp/dispcxx.exp
4333         * gdb.cp/enum-class.exp
4334         * gdb.cp/exception.exp
4335         * gdb.cp/exceptprint.exp
4336         * gdb.cp/expand-psymtabs-cxx.exp
4337         * gdb.cp/expand-sals.exp
4338         * gdb.cp/extern-c.exp
4339         * gdb.cp/filename.exp
4340         * gdb.cp/formatted-ref.exp
4341         * gdb.cp/fpointer.exp
4342         * gdb.cp/gdb1355.exp
4343         * gdb.cp/gdb2495.exp
4344         * gdb.cp/hang.exp
4345         * gdb.cp/impl-this.exp
4346         * gdb.cp/infcall-dlopen.exp
4347         * gdb.cp/inherit.exp
4348         * gdb.cp/iostream.exp
4349         * gdb.cp/koenig.exp
4350         * gdb.cp/local.exp
4351         * gdb.cp/m-data.exp
4352         * gdb.cp/m-static.exp
4353         * gdb.cp/mb-ctor.exp
4354         * gdb.cp/mb-inline.exp
4355         * gdb.cp/mb-templates.exp
4356         * gdb.cp/member-name.exp
4357         * gdb.cp/member-ptr.exp
4358         * gdb.cp/meth-typedefs.exp
4359         * gdb.cp/method.exp
4360         * gdb.cp/method2.exp
4361         * gdb.cp/minsym-fallback.exp
4362         * gdb.cp/misc.exp
4363         * gdb.cp/namelessclass.exp
4364         * gdb.cp/namespace-enum.exp
4365         * gdb.cp/namespace-nested-import.exp
4366         * gdb.cp/namespace.exp
4367         * gdb.cp/nextoverthrow.exp
4368         * gdb.cp/no-dmgl-verbose.exp
4369         * gdb.cp/non-trivial-retval.exp
4370         * gdb.cp/noparam.exp
4371         * gdb.cp/nsdecl.exp
4372         * gdb.cp/nsimport.exp
4373         * gdb.cp/nsnested.exp
4374         * gdb.cp/nsnoimports.exp
4375         * gdb.cp/nsrecurs.exp
4376         * gdb.cp/nsstress.exp
4377         * gdb.cp/nsusing.exp
4378         * gdb.cp/operator.exp
4379         * gdb.cp/oranking.exp
4380         * gdb.cp/overload-const.exp
4381         * gdb.cp/overload.exp
4382         * gdb.cp/ovldbreak.exp
4383         * gdb.cp/ovsrch.exp
4384         * gdb.cp/paren-type.exp
4385         * gdb.cp/parse-lang.exp
4386         * gdb.cp/pass-by-ref.exp
4387         * gdb.cp/pr-1023.exp
4388         * gdb.cp/pr-1210.exp
4389         * gdb.cp/pr-574.exp
4390         * gdb.cp/pr10687.exp
4391         * gdb.cp/pr12028.exp
4392         * gdb.cp/pr17132.exp
4393         * gdb.cp/pr17494.exp
4394         * gdb.cp/pr9067.exp
4395         * gdb.cp/pr9167.exp
4396         * gdb.cp/pr9631.exp
4397         * gdb.cp/printmethod.exp
4398         * gdb.cp/psmang.exp
4399         * gdb.cp/psymtab-parameter.exp
4400         * gdb.cp/ptype-cv-cp.exp
4401         * gdb.cp/ptype-flags.exp
4402         * gdb.cp/re-set-overloaded.exp
4403         * gdb.cp/ref-types.exp
4404         * gdb.cp/rtti.exp
4405         * gdb.cp/scope-err.exp
4406         * gdb.cp/shadow.exp
4407         * gdb.cp/smartp.exp
4408         * gdb.cp/static-method.exp
4409         * gdb.cp/static-print-quit.exp
4410         * gdb.cp/temargs.exp
4411         * gdb.cp/templates.exp
4412         * gdb.cp/try_catch.exp
4413         * gdb.cp/typedef-operator.exp
4414         * gdb.cp/typeid.exp
4415         * gdb.cp/userdef.exp
4416         * gdb.cp/using-crash.exp
4417         * gdb.cp/var-tag.exp
4418         * gdb.cp/virtbase.exp
4419         * gdb.cp/virtfunc.exp
4420         * gdb.cp/virtfunc2.exp
4421         * gdb.cp/vla-cxx.exp
4422         * gdb.disasm/t01_mov.exp
4423         * gdb.disasm/t02_mova.exp
4424         * gdb.disasm/t03_add.exp
4425         * gdb.disasm/t04_sub.exp
4426         * gdb.disasm/t05_cmp.exp
4427         * gdb.disasm/t06_ari2.exp
4428         * gdb.disasm/t07_ari3.exp
4429         * gdb.disasm/t08_or.exp
4430         * gdb.disasm/t09_xor.exp
4431         * gdb.disasm/t10_and.exp
4432         * gdb.disasm/t11_logs.exp
4433         * gdb.disasm/t12_bit.exp
4434         * gdb.disasm/t13_otr.exp
4435         * gdb.dlang/circular.exp
4436         * gdb.dwarf2/arr-stride.exp
4437         * gdb.dwarf2/arr-subrange.exp
4438         * gdb.dwarf2/atomic-type.exp
4439         * gdb.dwarf2/bad-regnum.exp
4440         * gdb.dwarf2/bitfield-parent-optimized-out.exp
4441         * gdb.dwarf2/callframecfa.exp
4442         * gdb.dwarf2/clztest.exp
4443         * gdb.dwarf2/corrupt.exp
4444         * gdb.dwarf2/data-loc.exp
4445         * gdb.dwarf2/dup-psym.exp
4446         * gdb.dwarf2/dw2-anon-mptr.exp
4447         * gdb.dwarf2/dw2-anonymous-func.exp
4448         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4449         * gdb.dwarf2/dw2-bad-unresolved.exp
4450         * gdb.dwarf2/dw2-basic.exp
4451         * gdb.dwarf2/dw2-canonicalize-type.exp
4452         * gdb.dwarf2/dw2-case-insensitive.exp
4453         * gdb.dwarf2/dw2-common-block.exp
4454         * gdb.dwarf2/dw2-compdir-oldgcc.exp
4455         * gdb.dwarf2/dw2-compressed.exp
4456         * gdb.dwarf2/dw2-const.exp
4457         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4458         * gdb.dwarf2/dw2-cu-size.exp
4459         * gdb.dwarf2/dw2-dup-frame.exp
4460         * gdb.dwarf2/dw2-entry-value.exp
4461         * gdb.dwarf2/dw2-icycle.exp
4462         * gdb.dwarf2/dw2-ifort-parameter.exp
4463         * gdb.dwarf2/dw2-inline-break.exp
4464         * gdb.dwarf2/dw2-inline-param.exp
4465         * gdb.dwarf2/dw2-intercu.exp
4466         * gdb.dwarf2/dw2-intermix.exp
4467         * gdb.dwarf2/dw2-lexical-block-bare.exp
4468         * gdb.dwarf2/dw2-linkage-name-trust.exp
4469         * gdb.dwarf2/dw2-minsym-in-cu.exp
4470         * gdb.dwarf2/dw2-noloc.exp
4471         * gdb.dwarf2/dw2-op-call.exp
4472         * gdb.dwarf2/dw2-op-out-param.exp
4473         * gdb.dwarf2/dw2-opt-structptr.exp
4474         * gdb.dwarf2/dw2-param-error.exp
4475         * gdb.dwarf2/dw2-producer.exp
4476         * gdb.dwarf2/dw2-ranges-base.exp
4477         * gdb.dwarf2/dw2-ref-missing-frame.exp
4478         * gdb.dwarf2/dw2-reg-undefined.exp
4479         * gdb.dwarf2/dw2-regno-invalid.exp
4480         * gdb.dwarf2/dw2-restore.exp
4481         * gdb.dwarf2/dw2-restrict.exp
4482         * gdb.dwarf2/dw2-single-line-discriminators.exp
4483         * gdb.dwarf2/dw2-strp.exp
4484         * gdb.dwarf2/dw2-undefined-ret-addr.exp
4485         * gdb.dwarf2/dw2-unresolved.exp
4486         * gdb.dwarf2/dw2-var-zero-addr.exp
4487         * gdb.dwarf2/dw4-sig-types.exp
4488         * gdb.dwarf2/dwz.exp
4489         * gdb.dwarf2/dynarr-ptr.exp
4490         * gdb.dwarf2/enum-type.exp
4491         * gdb.dwarf2/gdb-index.exp
4492         * gdb.dwarf2/implptr-64bit.exp
4493         * gdb.dwarf2/implptr-optimized-out.exp
4494         * gdb.dwarf2/implptr.exp
4495         * gdb.dwarf2/implref-array.exp
4496         * gdb.dwarf2/implref-const.exp
4497         * gdb.dwarf2/implref-global.exp
4498         * gdb.dwarf2/implref-struct.exp
4499         * gdb.dwarf2/mac-fileno.exp
4500         * gdb.dwarf2/main-subprogram.exp
4501         * gdb.dwarf2/member-ptr-forwardref.exp
4502         * gdb.dwarf2/method-ptr.exp
4503         * gdb.dwarf2/missing-sig-type.exp
4504         * gdb.dwarf2/nonvar-access.exp
4505         * gdb.dwarf2/opaque-type-lookup.exp
4506         * gdb.dwarf2/pieces-optimized-out.exp
4507         * gdb.dwarf2/pieces.exp
4508         * gdb.dwarf2/pr10770.exp
4509         * gdb.dwarf2/pr13961.exp
4510         * gdb.dwarf2/staticvirtual.exp
4511         * gdb.dwarf2/subrange.exp
4512         * gdb.dwarf2/symtab-producer.exp
4513         * gdb.dwarf2/trace-crash.exp
4514         * gdb.dwarf2/typeddwarf.exp
4515         * gdb.dwarf2/valop.exp
4516         * gdb.dwarf2/watch-notconst.exp
4517         * gdb.fortran/array-element.exp
4518         * gdb.fortran/charset.exp
4519         * gdb.fortran/common-block.exp
4520         * gdb.fortran/complex.exp
4521         * gdb.fortran/derived-type-function.exp
4522         * gdb.fortran/derived-type.exp
4523         * gdb.fortran/logical.exp
4524         * gdb.fortran/module.exp
4525         * gdb.fortran/multi-dim.exp
4526         * gdb.fortran/nested-funcs.exp
4527         * gdb.fortran/print-formatted.exp
4528         * gdb.fortran/subarray.exp
4529         * gdb.fortran/vla-alloc-assoc.exp
4530         * gdb.fortran/vla-datatypes.exp
4531         * gdb.fortran/vla-history.exp
4532         * gdb.fortran/vla-ptr-info.exp
4533         * gdb.fortran/vla-ptype-sub.exp
4534         * gdb.fortran/vla-ptype.exp
4535         * gdb.fortran/vla-sizeof.exp
4536         * gdb.fortran/vla-type.exp
4537         * gdb.fortran/vla-value-sub-arbitrary.exp
4538         * gdb.fortran/vla-value-sub-finish.exp
4539         * gdb.fortran/vla-value-sub.exp
4540         * gdb.fortran/vla-value.exp
4541         * gdb.fortran/whatis_type.exp
4542         * gdb.go/chan.exp
4543         * gdb.go/handcall.exp
4544         * gdb.go/hello.exp
4545         * gdb.go/integers.exp
4546         * gdb.go/methods.exp
4547         * gdb.go/package.exp
4548         * gdb.go/strings.exp
4549         * gdb.go/types.exp
4550         * gdb.go/unsafe.exp
4551         * gdb.guile/scm-arch.exp
4552         * gdb.guile/scm-block.exp
4553         * gdb.guile/scm-breakpoint.exp
4554         * gdb.guile/scm-cmd.exp
4555         * gdb.guile/scm-disasm.exp
4556         * gdb.guile/scm-equal.exp
4557         * gdb.guile/scm-frame-args.exp
4558         * gdb.guile/scm-frame-inline.exp
4559         * gdb.guile/scm-frame.exp
4560         * gdb.guile/scm-iterator.exp
4561         * gdb.guile/scm-math.exp
4562         * gdb.guile/scm-objfile.exp
4563         * gdb.guile/scm-ports.exp
4564         * gdb.guile/scm-symbol.exp
4565         * gdb.guile/scm-symtab.exp
4566         * gdb.guile/scm-value-cc.exp
4567         * gdb.guile/types-module.exp
4568         * gdb.linespec/break-ask.exp
4569         * gdb.linespec/cpexplicit.exp
4570         * gdb.linespec/explicit.exp
4571         * gdb.linespec/keywords.exp
4572         * gdb.linespec/linespec.exp
4573         * gdb.linespec/ls-dollar.exp
4574         * gdb.linespec/ls-errs.exp
4575         * gdb.linespec/skip-two.exp
4576         * gdb.linespec/thread.exp
4577         * gdb.mi/mi-async.exp
4578         * gdb.mi/mi-basics.exp
4579         * gdb.mi/mi-break.exp
4580         * gdb.mi/mi-catch-load.exp
4581         * gdb.mi/mi-cli.exp
4582         * gdb.mi/mi-cmd-param-changed.exp
4583         * gdb.mi/mi-console.exp
4584         * gdb.mi/mi-detach.exp
4585         * gdb.mi/mi-disassemble.exp
4586         * gdb.mi/mi-eval.exp
4587         * gdb.mi/mi-file-transfer.exp
4588         * gdb.mi/mi-file.exp
4589         * gdb.mi/mi-fill-memory.exp
4590         * gdb.mi/mi-inheritance-syntax-error.exp
4591         * gdb.mi/mi-linespec-err-cp.exp
4592         * gdb.mi/mi-logging.exp
4593         * gdb.mi/mi-memory-changed.exp
4594         * gdb.mi/mi-read-memory.exp
4595         * gdb.mi/mi-record-changed.exp
4596         * gdb.mi/mi-reg-undefined.exp
4597         * gdb.mi/mi-regs.exp
4598         * gdb.mi/mi-return.exp
4599         * gdb.mi/mi-reverse.exp
4600         * gdb.mi/mi-simplerun.exp
4601         * gdb.mi/mi-solib.exp
4602         * gdb.mi/mi-stack.exp
4603         * gdb.mi/mi-stepi.exp
4604         * gdb.mi/mi-syn-frame.exp
4605         * gdb.mi/mi-until.exp
4606         * gdb.mi/mi-var-block.exp
4607         * gdb.mi/mi-var-child.exp
4608         * gdb.mi/mi-var-cmd.exp
4609         * gdb.mi/mi-var-cp.exp
4610         * gdb.mi/mi-var-display.exp
4611         * gdb.mi/mi-var-invalidate.exp
4612         * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4613         * gdb.mi/mi-vla-fortran.exp
4614         * gdb.mi/mi-watch.exp
4615         * gdb.mi/mi2-var-child.exp
4616         * gdb.mi/user-selected-context-sync.exp
4617         * gdb.modula2/unbounded-array.exp
4618         * gdb.multi/dummy-frame-restore.exp
4619         * gdb.multi/multi-arch-exec.exp
4620         * gdb.multi/multi-arch.exp
4621         * gdb.multi/tids.exp
4622         * gdb.multi/watchpoint-multi.exp
4623         * gdb.opencl/callfuncs.exp
4624         * gdb.opencl/convs_casts.exp
4625         * gdb.opencl/datatypes.exp
4626         * gdb.opencl/operators.exp
4627         * gdb.opencl/vec_comps.exp
4628         * gdb.opt/clobbered-registers-O2.exp
4629         * gdb.opt/inline-break.exp
4630         * gdb.opt/inline-bt.exp
4631         * gdb.opt/inline-cmds.exp
4632         * gdb.opt/inline-locals.exp
4633         * gdb.pascal/case-insensitive-symbols.exp
4634         * gdb.pascal/floats.exp
4635         * gdb.pascal/gdb11492.exp
4636         * gdb.python/lib-types.exp
4637         * gdb.python/py-arch.exp
4638         * gdb.python/py-as-string.exp
4639         * gdb.python/py-bad-printers.exp
4640         * gdb.python/py-block.exp
4641         * gdb.python/py-breakpoint-create-fail.exp
4642         * gdb.python/py-breakpoint.exp
4643         * gdb.python/py-caller-is.exp
4644         * gdb.python/py-cmd.exp
4645         * gdb.python/py-explore-cc.exp
4646         * gdb.python/py-explore.exp
4647         * gdb.python/py-finish-breakpoint.exp
4648         * gdb.python/py-finish-breakpoint2.exp
4649         * gdb.python/py-frame-args.exp
4650         * gdb.python/py-frame-inline.exp
4651         * gdb.python/py-frame.exp
4652         * gdb.python/py-framefilter-mi.exp
4653         * gdb.python/py-infthread.exp
4654         * gdb.python/py-lazy-string.exp
4655         * gdb.python/py-linetable.exp
4656         * gdb.python/py-mi-events.exp
4657         * gdb.python/py-mi-objfile.exp
4658         * gdb.python/py-mi.exp
4659         * gdb.python/py-objfile.exp
4660         * gdb.python/py-pp-integral.exp
4661         * gdb.python/py-pp-maint.exp
4662         * gdb.python/py-pp-re-notag.exp
4663         * gdb.python/py-pp-registration.exp
4664         * gdb.python/py-recurse-unwind.exp
4665         * gdb.python/py-strfns.exp
4666         * gdb.python/py-symbol.exp
4667         * gdb.python/py-symtab.exp
4668         * gdb.python/py-sync-interp.exp
4669         * gdb.python/py-typeprint.exp
4670         * gdb.python/py-unwind-maint.exp
4671         * gdb.python/py-unwind.exp
4672         * gdb.python/py-value-cc.exp
4673         * gdb.python/py-xmethods.exp
4674         * gdb.reverse/amd64-tailcall-reverse.exp
4675         * gdb.reverse/break-precsave.exp
4676         * gdb.reverse/break-reverse.exp
4677         * gdb.reverse/consecutive-precsave.exp
4678         * gdb.reverse/consecutive-reverse.exp
4679         * gdb.reverse/finish-precsave.exp
4680         * gdb.reverse/finish-reverse-bkpt.exp
4681         * gdb.reverse/finish-reverse.exp
4682         * gdb.reverse/fstatat-reverse.exp
4683         * gdb.reverse/getresuid-reverse.exp
4684         * gdb.reverse/i386-precsave.exp
4685         * gdb.reverse/i386-reverse.exp
4686         * gdb.reverse/i386-sse-reverse.exp
4687         * gdb.reverse/i387-env-reverse.exp
4688         * gdb.reverse/i387-stack-reverse.exp
4689         * gdb.reverse/insn-reverse.exp
4690         * gdb.reverse/machinestate-precsave.exp
4691         * gdb.reverse/machinestate.exp
4692         * gdb.reverse/next-reverse-bkpt-over-sr.exp
4693         * gdb.reverse/pipe-reverse.exp
4694         * gdb.reverse/readv-reverse.exp
4695         * gdb.reverse/recvmsg-reverse.exp
4696         * gdb.reverse/rerun-prec.exp
4697         * gdb.reverse/s390-mvcle.exp
4698         * gdb.reverse/step-precsave.exp
4699         * gdb.reverse/step-reverse.exp
4700         * gdb.reverse/time-reverse.exp
4701         * gdb.reverse/until-precsave.exp
4702         * gdb.reverse/until-reverse.exp
4703         * gdb.reverse/waitpid-reverse.exp
4704         * gdb.reverse/watch-precsave.exp
4705         * gdb.reverse/watch-reverse.exp
4706         * gdb.rust/generics.exp
4707         * gdb.rust/methods.exp
4708         * gdb.rust/modules.exp
4709         * gdb.rust/simple.exp
4710         * gdb.server/connect-with-no-symbol-file.exp
4711         * gdb.server/ext-attach.exp
4712         * gdb.server/ext-restart.exp
4713         * gdb.server/ext-wrapper.exp
4714         * gdb.server/file-transfer.exp
4715         * gdb.server/server-exec-info.exp
4716         * gdb.server/server-kill.exp
4717         * gdb.server/server-mon.exp
4718         * gdb.server/wrapper.exp
4719         * gdb.stabs/exclfwd.exp
4720         * gdb.stabs/gdb11479.exp
4721         * gdb.threads/clone-new-thread-event.exp
4722         * gdb.threads/corethreads.exp
4723         * gdb.threads/current-lwp-dead.exp
4724         * gdb.threads/dlopen-libpthread.exp
4725         * gdb.threads/gcore-thread.exp
4726         * gdb.threads/sigstep-threads.exp
4727         * gdb.threads/watchpoint-fork.exp
4728         * gdb.trace/actions-changed.exp
4729         * gdb.trace/backtrace.exp
4730         * gdb.trace/change-loc.exp
4731         * gdb.trace/circ.exp
4732         * gdb.trace/collection.exp
4733         * gdb.trace/disconnected-tracing.exp
4734         * gdb.trace/ftrace.exp
4735         * gdb.trace/mi-trace-frame-collected.exp
4736         * gdb.trace/mi-trace-unavailable.exp
4737         * gdb.trace/mi-traceframe-changed.exp
4738         * gdb.trace/mi-tsv-changed.exp
4739         * gdb.trace/no-attach-trace.exp
4740         * gdb.trace/passc-dyn.exp
4741         * gdb.trace/qtro.exp
4742         * gdb.trace/range-stepping.exp
4743         * gdb.trace/read-memory.exp
4744         * gdb.trace/save-trace.exp
4745         * gdb.trace/signal.exp
4746         * gdb.trace/status-stop.exp
4747         * gdb.trace/tfile.exp
4748         * gdb.trace/trace-break.exp
4749         * gdb.trace/trace-buffer-size.exp
4750         * gdb.trace/trace-condition.exp
4751         * gdb.trace/tracefile-pseudo-reg.exp
4752         * gdb.trace/tstatus.exp
4753         * gdb.trace/unavailable.exp
4754         * gdb.trace/while-dyn.exp
4755         * gdb.trace/while-stepping.exp
4756
4757 2016-12-22  Doug Evans  <xdje42@gmail.com>
4758
4759         * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4760         and msymbols.
4761
4762 2016-12-19  Yao Qi  <yao.qi@linaro.org>
4763
4764         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4765         (test_with_self): Don't call do_steps_and_nexts, and remove
4766         code about stepping into xmalloc.
4767
4768 2016-12-09  Yao Qi  <yao.qi@linaro.org>
4769
4770         * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4771
4772 2016-12-09  Yao Qi  <yao.qi@linaro.org>
4773
4774         * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4775
4776 2016-12-09  Pedro Alves  <palves@redhat.com>
4777
4778         * gdb.base/all-architectures-0.exp: New file.
4779         * gdb.base/all-architectures-1.exp: New file.
4780         * gdb.base/all-architectures-2.exp: New file.
4781         * gdb.base/all-architectures-3.exp: New file.
4782         * gdb.base/all-architectures-4.exp: New file.
4783         * gdb.base/all-architectures-5.exp: New file.
4784         * gdb.base/all-architectures-6.exp: New file.
4785         * gdb.base/all-architectures-7.exp: New file.
4786         * gdb.base/all-architectures.exp.in: New file.
4787
4788 2016-12-09  Yao Qi  <yao.qi@linaro.org>
4789
4790         * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4791
4792 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
4793
4794         * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4795         possible.
4796         Remove useless pattern-matching code.
4797
4798 2016-12-02  Pedro Alves  <palves@redhat.com>
4799
4800         * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4801         procedure.
4802         (top level): Call it.
4803
4804 2016-12-02  Pedro Alves  <palves@redhat.com>
4805
4806         * gdb.base/commands.exp (user_defined_command_args_stack_test):
4807         New procedure.
4808         (top level): Call it.
4809
4810 2016-12-02  Pedro Alves  <palves@redhat.com>
4811
4812         PR cli/20559
4813         * gdb.base/commands.exp (user_defined_command_args_eval): New
4814         procedure.
4815         (top level): Call it.
4816
4817 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
4818
4819         * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4820         timeout handling.
4821
4822 2016-12-02  Tom Tromey  <tom@tromey.com>
4823
4824         * gdb.dwarf2/main-subprogram.c: New file.
4825         * gdb.dwarf2/main-subprogram.exp: New file.
4826
4827 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
4828
4829         * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4830         * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
4831         gdb_test_no_output for a couple of cases.
4832         * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
4833
4834 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
4835
4836         Fix test names and standardize compilation error messages throughout
4837         the following files:
4838
4839         * gdb.ada/start.exp
4840         * gdb.arch/alpha-step.exp
4841         * gdb.arch/e500-prologue.exp
4842         * gdb.arch/ftrace-insn-reloc.exp
4843         * gdb.arch/gdb1291.exp
4844         * gdb.arch/gdb1431.exp
4845         * gdb.arch/gdb1558.exp
4846         * gdb.arch/i386-dr3-watch.exp
4847         * gdb.arch/i386-sse-stack-align.exp
4848         * gdb.arch/ia64-breakpoint-shadow.exp
4849         * gdb.arch/pa-nullify.exp
4850         * gdb.arch/powerpc-aix-prologue.exp
4851         * gdb.arch/thumb-bx-pc.exp
4852         * gdb.base/annota1.exp
4853         * gdb.base/annota3.exp
4854         * gdb.base/arrayidx.exp
4855         * gdb.base/assign.exp
4856         * gdb.base/attach.exp
4857         * gdb.base/auxv.exp
4858         * gdb.base/bang.exp
4859         * gdb.base/bfp-test.exp
4860         * gdb.base/bigcore.exp
4861         * gdb.base/bitfields2.exp
4862         * gdb.base/break-fun-addr.exp
4863         * gdb.base/break-probes.exp
4864         * gdb.base/call-rt-st.exp
4865         * gdb.base/callexit.exp
4866         * gdb.base/catch-fork-kill.exp
4867         * gdb.base/charset.exp
4868         * gdb.base/checkpoint.exp
4869         * gdb.base/comprdebug.exp
4870         * gdb.base/constvars.exp
4871         * gdb.base/coredump-filter.exp
4872         * gdb.base/cursal.exp
4873         * gdb.base/cvexpr.exp
4874         * gdb.base/detach.exp
4875         * gdb.base/display.exp
4876         * gdb.base/dmsym.exp
4877         * gdb.base/dprintf-pending.exp
4878         * gdb.base/dso2dso.exp
4879         * gdb.base/dtrace-probe.exp
4880         * gdb.base/dump.exp
4881         * gdb.base/enum_cond.exp
4882         * gdb.base/exe-lock.exp
4883         * gdb.base/exec-invalid-sysroot.exp
4884         * gdb.base/execl-update-breakpoints.exp
4885         * gdb.base/exprs.exp
4886         * gdb.base/fileio.exp
4887         * gdb.base/find.exp
4888         * gdb.base/finish.exp
4889         * gdb.base/fixsection.exp
4890         * gdb.base/foll-vfork.exp
4891         * gdb.base/frame-args.exp
4892         * gdb.base/gcore.exp
4893         * gdb.base/gdb1250.exp
4894         * gdb.base/global-var-nested-by-dso.exp
4895         * gdb.base/gnu-ifunc.exp
4896         * gdb.base/hashline1.exp
4897         * gdb.base/hashline2.exp
4898         * gdb.base/hashline3.exp
4899         * gdb.base/hbreak-in-shr-unsupported.exp
4900         * gdb.base/huge.exp
4901         * gdb.base/infcall-input.exp
4902         * gdb.base/info-fun.exp
4903         * gdb.base/info-shared.exp
4904         * gdb.base/jit-simple.exp
4905         * gdb.base/jit-so.exp
4906         * gdb.base/jit.exp
4907         * gdb.base/jump.exp
4908         * gdb.base/label.exp
4909         * gdb.base/lineinc.exp
4910         * gdb.base/logical.exp
4911         * gdb.base/longjmp.exp
4912         * gdb.base/macscp.exp
4913         * gdb.base/miscexprs.exp
4914         * gdb.base/new-ui-echo.exp
4915         * gdb.base/new-ui-pending-input.exp
4916         * gdb.base/new-ui.exp
4917         * gdb.base/nodebug.exp
4918         * gdb.base/nofield.exp
4919         * gdb.base/offsets.exp
4920         * gdb.base/overlays.exp
4921         * gdb.base/pending.exp
4922         * gdb.base/pointers.exp
4923         * gdb.base/pr11022.exp
4924         * gdb.base/printcmds.exp
4925         * gdb.base/prologue.exp
4926         * gdb.base/ptr-typedef.exp
4927         * gdb.base/realname-expand.exp
4928         * gdb.base/relativedebug.exp
4929         * gdb.base/relocate.exp
4930         * gdb.base/remote.exp
4931         * gdb.base/reread.exp
4932         * gdb.base/return2.exp
4933         * gdb.base/savedregs.exp
4934         * gdb.base/sep.exp
4935         * gdb.base/sepdebug.exp
4936         * gdb.base/sepsymtab.exp
4937         * gdb.base/set-inferior-tty.exp
4938         * gdb.base/setshow.exp
4939         * gdb.base/shlib-call.exp
4940         * gdb.base/sigaltstack.exp
4941         * gdb.base/siginfo-addr.exp
4942         * gdb.base/signals.exp
4943         * gdb.base/signull.exp
4944         * gdb.base/sigrepeat.exp
4945         * gdb.base/so-impl-ld.exp
4946         * gdb.base/solib-display.exp
4947         * gdb.base/solib-overlap.exp
4948         * gdb.base/solib-search.exp
4949         * gdb.base/solib-symbol.exp
4950         * gdb.base/structs.exp
4951         * gdb.base/structs2.exp
4952         * gdb.base/symtab-search-order.exp
4953         * gdb.base/twice.exp
4954         * gdb.base/unload.exp
4955         * gdb.base/varargs.exp
4956         * gdb.base/watchpoint-solib.exp
4957         * gdb.base/watchpoint.exp
4958         * gdb.base/whatis.exp
4959         * gdb.base/wrong_frame_bt_full.exp
4960         * gdb.btrace/dlopen.exp
4961         * gdb.cell/ea-standalone.exp
4962         * gdb.cell/ea-test.exp
4963         * gdb.cp/dispcxx.exp
4964         * gdb.cp/gdb2384.exp
4965         * gdb.cp/method2.exp
4966         * gdb.cp/nextoverthrow.exp
4967         * gdb.cp/pr10728.exp
4968         * gdb.disasm/am33.exp
4969         * gdb.disasm/h8300s.exp
4970         * gdb.disasm/mn10300.exp
4971         * gdb.disasm/sh3.exp
4972         * gdb.dwarf2/dw2-dir-file-name.exp
4973         * gdb.fortran/complex.exp
4974         * gdb.fortran/library-module.exp
4975         * gdb.guile/scm-pretty-print.exp
4976         * gdb.guile/scm-symbol.exp
4977         * gdb.guile/scm-type.exp
4978         * gdb.guile/scm-value.exp
4979         * gdb.linespec/linespec.exp
4980         * gdb.mi/gdb701.exp
4981         * gdb.mi/gdb792.exp
4982         * gdb.mi/mi-breakpoint-changed.exp
4983         * gdb.mi/mi-dprintf-pending.exp
4984         * gdb.mi/mi-dprintf.exp
4985         * gdb.mi/mi-exit-code.exp
4986         * gdb.mi/mi-pending.exp
4987         * gdb.mi/mi-solib.exp
4988         * gdb.mi/new-ui-mi-sync.exp
4989         * gdb.mi/pr11022.exp
4990         * gdb.mi/user-selected-context-sync.exp
4991         * gdb.opt/solib-intra-step.exp
4992         * gdb.python/py-events.exp
4993         * gdb.python/py-finish-breakpoint.exp
4994         * gdb.python/py-mi.exp
4995         * gdb.python/py-prettyprint.exp
4996         * gdb.python/py-shared.exp
4997         * gdb.python/py-symbol.exp
4998         * gdb.python/py-template.exp
4999         * gdb.python/py-type.exp
5000         * gdb.python/py-value.exp
5001         * gdb.reverse/solib-precsave.exp
5002         * gdb.reverse/solib-reverse.exp
5003         * gdb.server/solib-list.exp
5004         * gdb.stabs/weird.exp
5005         * gdb.threads/reconnect-signal.exp
5006         * gdb.threads/stepi-random-signal.exp
5007         * gdb.trace/actions.exp
5008         * gdb.trace/ax.exp
5009         * gdb.trace/backtrace.exp
5010         * gdb.trace/change-loc.exp
5011         * gdb.trace/deltrace.exp
5012         * gdb.trace/ftrace-lock.exp
5013         * gdb.trace/ftrace.exp
5014         * gdb.trace/infotrace.exp
5015         * gdb.trace/mi-tracepoint-changed.exp
5016         * gdb.trace/packetlen.exp
5017         * gdb.trace/passcount.exp
5018         * gdb.trace/pending.exp
5019         * gdb.trace/range-stepping.exp
5020         * gdb.trace/report.exp
5021         * gdb.trace/stap-trace.exp
5022         * gdb.trace/tfind.exp
5023         * gdb.trace/trace-break.exp
5024         * gdb.trace/trace-condition.exp
5025         * gdb.trace/trace-enable-disable.exp
5026         * gdb.trace/trace-mt.exp
5027         * gdb.trace/tracecmd.exp
5028         * gdb.trace/tspeed.exp
5029         * gdb.trace/tsv.exp
5030         * lib/perftest.exp
5031
5032 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5033
5034         * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
5035         with gdb_test_no_output.
5036         Use command as test name.
5037
5038 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5039
5040         Fix test names starting with uppercase throughout the files.
5041
5042         * gdb.ada/assign_1.exp
5043         * gdb.ada/boolean_expr.exp
5044         * gdb.base/arrayidx.exp
5045         * gdb.base/del.exp
5046         * gdb.base/gcore-buffer-overflow.exp
5047         * gdb.base/testenv.exp
5048         * gdb.compile/compile.exp
5049         * gdb.python/py-framefilter-invalidarg.exp
5050         * gdb.python/py-framefilter.exp
5051
5052 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5053
5054         Fix test names starting with uppercase throughout the files.
5055
5056         * gdb.ada/array_return.exp
5057         * gdb.ada/expr_delims.exp
5058         * gdb.ada/mi_dyn_arr.exp
5059         * gdb.ada/mi_interface.exp
5060         * gdb.ada/mi_var_array.exp
5061         * gdb.ada/watch_arg.exp
5062         * gdb.arch/alpha-step.exp
5063         * gdb.arch/altivec-regs.exp
5064         * gdb.arch/e500-regs.exp
5065         * gdb.arch/powerpc-d128-regs.exp
5066         * gdb.base/arrayidx.exp
5067         * gdb.base/break.exp
5068         * gdb.base/checkpoint.exp
5069         * gdb.base/debug-expr.exp
5070         * gdb.base/dmsym.exp
5071         * gdb.base/radix.exp
5072         * gdb.base/sepdebug.exp
5073         * gdb.base/testenv.exp
5074         * gdb.base/watch_thread_num.exp
5075         * gdb.base/watchpoint-cond-gone.exp
5076         * gdb.cell/break.exp
5077         * gdb.cell/ea-cache.exp
5078         * gdb.compile/compile.exp
5079         * gdb.cp/gdb2495.exp
5080         * gdb.gdb/selftest.exp
5081         * gdb.gdb/xfullpath.exp
5082         * gdb.go/hello.exp
5083         * gdb.go/integers.exp
5084         * gdb.objc/basicclass.exp
5085         * gdb.pascal/hello.exp
5086         * gdb.pascal/integers.exp
5087         * gdb.python/py-breakpoint.exp
5088         * gdb.python/py-cmd.exp
5089         * gdb.python/py-linetable.exp
5090         * gdb.python/py-xmethods.exp
5091         * gdb.python/python.exp
5092         * gdb.reverse/consecutive-precsave.exp
5093         * gdb.reverse/finish-precsave.exp
5094         * gdb.reverse/i386-precsave.exp
5095         * gdb.reverse/machinestate-precsave.exp
5096         * gdb.reverse/sigall-precsave.exp
5097         * gdb.reverse/solib-precsave.exp
5098         * gdb.reverse/step-precsave.exp
5099         * gdb.reverse/until-precsave.exp
5100         * gdb.reverse/watch-precsave.exp
5101         * gdb.threads/leader-exit.exp
5102         * gdb.threads/pthreads.exp
5103         * gdb.threads/wp-replication.exp
5104         * gdb.trace/actions.exp
5105         * gdb.trace/mi-tsv-changed.exp
5106         * gdb.trace/tsv.exp
5107
5108 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5109
5110         Fix test names starting with uppercase throughout the files.
5111
5112         * gdb.arch/i386-bp_permanent.exp
5113         * gdb.arch/i386-gnu-cfi.exp
5114         * gdb.base/disasm-end-cu.exp
5115         * gdb.base/macscp.exp
5116         * gdb.base/pending.exp
5117         * gdb.base/watch_thread_num.exp
5118         * gdb.cp/exception.exp
5119         * gdb.cp/gdb2495.exp
5120         * gdb.cp/local.exp
5121         * gdb.python/py-evsignal.exp
5122         * gdb.python/python.exp
5123         * gdb.trace/tracecmd.exp
5124
5125 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5126
5127         Fix test names starting with uppercase throughout the files.
5128
5129         * gdb.base/charset.exp
5130         * gdb.base/eval.exp
5131         * gdb.base/multi-forks.exp
5132         * gdb.guile/scm-progspace.exp
5133         * gdb.opencl/datatypes.exp
5134         * gdb.python/py-block.exp
5135         * gdb.python/py-function.exp
5136         * gdb.python/py-symbol.exp
5137         * gdb.python/py-symtab.exp
5138         * gdb.python/py-xmethods.exp
5139         * gdb.reverse/break-precsave.exp
5140         * gdb.reverse/break-reverse.exp
5141         * gdb.reverse/consecutive-precsave.exp
5142         * gdb.reverse/consecutive-reverse.exp
5143         * gdb.reverse/finish-precsave.exp
5144         * gdb.reverse/finish-reverse-bkpt.exp
5145         * gdb.reverse/finish-reverse.exp
5146         * gdb.reverse/fstatat-reverse.exp
5147         * gdb.reverse/getresuid-reverse.exp
5148         * gdb.reverse/i386-precsave.exp
5149         * gdb.reverse/i386-reverse.exp
5150         * gdb.reverse/i386-sse-reverse.exp
5151         * gdb.reverse/i387-stack-reverse.exp
5152         * gdb.reverse/insn-reverse.exp
5153         * gdb.reverse/machinestate-precsave.exp
5154         * gdb.reverse/machinestate.exp
5155         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5156         * gdb.reverse/pipe-reverse.exp
5157         * gdb.reverse/readv-reverse.exp
5158         * gdb.reverse/recvmsg-reverse.exp
5159         * gdb.reverse/rerun-prec.exp
5160         * gdb.reverse/s390-mvcle.exp
5161         * gdb.reverse/sigall-precsave.exp
5162         * gdb.reverse/sigall-reverse.exp
5163         * gdb.reverse/solib-precsave.exp
5164         * gdb.reverse/solib-reverse.exp
5165         * gdb.reverse/step-precsave.exp
5166         * gdb.reverse/step-reverse.exp
5167         * gdb.reverse/time-reverse.exp
5168         * gdb.reverse/until-precsave.exp
5169         * gdb.reverse/until-reverse.exp
5170         * gdb.reverse/waitpid-reverse.exp
5171         * gdb.reverse/watch-precsave.exp
5172         * gdb.reverse/watch-reverse.exp
5173
5174 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5175
5176         Fix test names starting with uppercase throughout the files.
5177
5178         * gdb.arch/i386-mpx-simple_segv.exp
5179         * gdb.arch/i386-mpx.exp
5180         * gdb.arch/i386-permbkpt.exp
5181         * gdb.arch/pa-nullify.exp
5182         * gdb.arch/powerpc-d128-regs.exp
5183         * gdb.arch/vsx-regs.exp
5184         * gdb.base/bfp-test.exp
5185         * gdb.base/break.exp
5186         * gdb.base/breakpoint-shadow.exp
5187         * gdb.base/callfuncs.exp
5188         * gdb.base/charset.exp
5189         * gdb.base/commands.exp
5190         * gdb.base/completion.exp
5191         * gdb.base/dfp-test.exp
5192         * gdb.base/echo.exp
5193         * gdb.base/ending-run.exp
5194         * gdb.base/eval.exp
5195         * gdb.base/expand-psymtabs.exp
5196         * gdb.base/float128.exp
5197         * gdb.base/floatn.exp
5198         * gdb.base/foll-exec-mode.exp
5199         * gdb.base/gdb1056.exp
5200         * gdb.base/gdb11531.exp
5201         * gdb.base/kill-after-signal.exp
5202         * gdb.base/multi-forks.exp
5203         * gdb.base/overlays.exp
5204         * gdb.base/pending.exp
5205         * gdb.base/sepdebug.exp
5206         * gdb.base/testenv.exp
5207         * gdb.base/valgrind-db-attach.exp
5208         * gdb.base/watch_thread_num.exp
5209         * gdb.base/watchpoint-cond-gone.exp
5210         * gdb.base/watchpoint.exp
5211         * gdb.base/watchpoints.exp
5212         * gdb.cp/arg-reference.exp
5213         * gdb.cp/baseenum.exp
5214         * gdb.cp/operator.exp
5215         * gdb.cp/shadow.exp
5216         * gdb.dwarf2/dw2-op-out-param.exp
5217         * gdb.dwarf2/dw2-reg-undefined.exp
5218         * gdb.go/chan.exp
5219         * gdb.go/hello.exp
5220         * gdb.go/integers.exp
5221         * gdb.go/methods.exp
5222         * gdb.go/package.exp
5223         * gdb.guile/scm-parameter.exp
5224         * gdb.guile/scm-progspace.exp
5225         * gdb.guile/scm-value.exp
5226         * gdb.mi/mi-pending.exp
5227         * gdb.mi/user-selected-context-sync.exp
5228         * gdb.multi/multi-attach.exp
5229         * gdb.multi/tids.exp
5230         * gdb.opt/clobbered-registers-O2.exp
5231         * gdb.pascal/floats.exp
5232         * gdb.pascal/integers.exp
5233         * gdb.python/py-block.exp
5234         * gdb.python/py-events.exp
5235         * gdb.python/py-parameter.exp
5236         * gdb.python/py-symbol.exp
5237         * gdb.python/py-symtab.exp
5238         * gdb.python/py-type.exp
5239         * gdb.python/py-value.exp
5240         * gdb.python/py-xmethods.exp
5241         * gdb.python/python.exp
5242         * gdb.reverse/break-precsave.exp
5243         * gdb.reverse/consecutive-precsave.exp
5244         * gdb.reverse/finish-precsave.exp
5245         * gdb.reverse/i386-precsave.exp
5246         * gdb.reverse/machinestate-precsave.exp
5247         * gdb.reverse/sigall-precsave.exp
5248         * gdb.reverse/solib-precsave.exp
5249         * gdb.reverse/step-precsave.exp
5250         * gdb.reverse/until-precsave.exp
5251         * gdb.reverse/watch-precsave.exp
5252         * gdb.server/ext-attach.exp
5253         * gdb.server/ext-restart.exp
5254         * gdb.server/ext-run.exp
5255         * gdb.server/ext-wrapper.exp
5256         * gdb.stabs/gdb11479.exp
5257         * gdb.stabs/weird.exp
5258         * gdb.threads/attach-many-short-lived-threads.exp
5259         * gdb.threads/kill.exp
5260         * gdb.threads/watchpoint-fork.exp
5261
5262 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5263
5264         Fix test names starting with uppercase throughout all the files below.
5265
5266         * gdb.ada/array_return.exp
5267         * gdb.ada/catch_ex.exp
5268         * gdb.ada/info_exc.exp
5269         * gdb.ada/mi_catch_ex.exp
5270         * gdb.ada/mi_dyn_arr.exp
5271         * gdb.ada/mi_ex_cond.exp
5272         * gdb.ada/mi_exc_info.exp
5273         * gdb.ada/mi_interface.exp
5274         * gdb.ada/mi_task_arg.exp
5275         * gdb.ada/mi_task_info.exp
5276         * gdb.ada/mi_var_array.exp
5277         * gdb.arch/alpha-step.exp
5278         * gdb.arch/amd64-disp-step.exp
5279         * gdb.arch/arm-disp-step.exp
5280         * gdb.arch/disp-step-insn-reloc.exp
5281         * gdb.arch/e500-prologue.exp
5282         * gdb.arch/ftrace-insn-reloc.exp
5283         * gdb.arch/gdb1558.exp
5284         * gdb.arch/i386-bp_permanent.exp
5285         * gdb.arch/i386-disp-step.exp
5286         * gdb.arch/i386-float.exp
5287         * gdb.arch/i386-gnu-cfi.exp
5288         * gdb.arch/ia64-breakpoint-shadow.exp
5289         * gdb.arch/mips16-thunks.exp
5290         * gdb.arch/pa-nullify.exp
5291         * gdb.arch/powerpc-aix-prologue.exp
5292         * gdb.arch/powerpc-power.exp
5293         * gdb.arch/ppc-dfp.exp
5294         * gdb.arch/s390-tdbregs.exp
5295         * gdb.arch/spu-info.exp
5296         * gdb.arch/spu-ls.exp
5297         * gdb.arch/thumb-bx-pc.exp
5298         * gdb.base/advance.exp
5299         * gdb.base/annota-input-while-running.exp
5300         * gdb.base/arrayidx.exp
5301         * gdb.base/asmlabel.exp
5302         * gdb.base/async.exp
5303         * gdb.base/attach-wait-input.exp
5304         * gdb.base/auto-connect-native-target.exp
5305         * gdb.base/batch-preserve-term-settings.exp
5306         * gdb.base/bfp-test.exp
5307         * gdb.base/bigcore.exp
5308         * gdb.base/bp-permanent.exp
5309         * gdb.base/break-always.exp
5310         * gdb.base/break-fun-addr.exp
5311         * gdb.base/break-idempotent.exp
5312         * gdb.base/break-main-file-remove-fail.exp
5313         * gdb.base/break-probes.exp
5314         * gdb.base/break-unload-file.exp
5315         * gdb.base/break.exp
5316         * gdb.base/call-ar-st.exp
5317         * gdb.base/call-rt-st.exp
5318         * gdb.base/call-sc.exp
5319         * gdb.base/call-signal-resume.exp
5320         * gdb.base/call-strs.exp
5321         * gdb.base/callexit.exp
5322         * gdb.base/callfuncs.exp
5323         * gdb.base/catch-gdb-caused-signals.exp
5324         * gdb.base/catch-signal-siginfo-cond.exp
5325         * gdb.base/catch-syscall.exp
5326         * gdb.base/compare-sections.exp
5327         * gdb.base/cond-eval-mode.exp
5328         * gdb.base/condbreak-call-false.exp
5329         * gdb.base/consecutive-step-over.exp
5330         * gdb.base/cursal.exp
5331         * gdb.base/disabled-location.exp
5332         * gdb.base/disasm-end-cu.exp
5333         * gdb.base/display.exp
5334         * gdb.base/double-prompt-target-event-error.exp
5335         * gdb.base/dprintf-bp-same-addr.exp
5336         * gdb.base/dprintf-detach.exp
5337         * gdb.base/dprintf-next.exp
5338         * gdb.base/dprintf-non-stop.exp
5339         * gdb.base/dprintf-pending.exp
5340         * gdb.base/dso2dso.exp
5341         * gdb.base/ending-run.exp
5342         * gdb.base/enum_cond.exp
5343         * gdb.base/examine-backward.exp
5344         * gdb.base/exe-lock.exp
5345         * gdb.base/exec-invalid-sysroot.exp
5346         * gdb.base/execl-update-breakpoints.exp
5347         * gdb.base/execution-termios.exp
5348         * gdb.base/fileio.exp
5349         * gdb.base/fixsection.exp
5350         * gdb.base/foll-exec-mode.exp
5351         * gdb.base/foll-exec.exp
5352         * gdb.base/fork-running-state.exp
5353         * gdb.base/frame-args.exp
5354         * gdb.base/fullpath-expand.exp
5355         * gdb.base/func-ptr.exp
5356         * gdb.base/gcore-relro-pie.exp
5357         * gdb.base/gdb1090.exp
5358         * gdb.base/gdb1555.exp
5359         * gdb.base/global-var-nested-by-dso.exp
5360         * gdb.base/gnu-ifunc.exp
5361         * gdb.base/hbreak-in-shr-unsupported.exp
5362         * gdb.base/hbreak-unmapped.exp
5363         * gdb.base/hook-stop.exp
5364         * gdb.base/infcall-input.exp
5365         * gdb.base/info-fun.exp
5366         * gdb.base/info-shared.exp
5367         * gdb.base/interrupt-noterm.exp
5368         * gdb.base/jit-so.exp
5369         * gdb.base/jit.exp
5370         * gdb.base/line-symtabs.exp
5371         * gdb.base/list.exp
5372         * gdb.base/longjmp.exp
5373         * gdb.base/macscp.exp
5374         * gdb.base/max-value-size.exp
5375         * gdb.base/nodebug.exp
5376         * gdb.base/nofield.exp
5377         * gdb.base/overlays.exp
5378         * gdb.base/paginate-after-ctrl-c-running.exp
5379         * gdb.base/paginate-bg-execution.exp
5380         * gdb.base/paginate-inferior-exit.exp
5381         * gdb.base/pending.exp
5382         * gdb.base/pr11022.exp
5383         * gdb.base/printcmds.exp
5384         * gdb.base/ptr-typedef.exp
5385         * gdb.base/ptype.exp
5386         * gdb.base/randomize.exp
5387         * gdb.base/range-stepping.exp
5388         * gdb.base/realname-expand.exp
5389         * gdb.base/relativedebug.exp
5390         * gdb.base/remote.exp
5391         * gdb.base/savedregs.exp
5392         * gdb.base/sepdebug.exp
5393         * gdb.base/set-noassign.exp
5394         * gdb.base/shlib-call.exp
5395         * gdb.base/shreloc.exp
5396         * gdb.base/sigaltstack.exp
5397         * gdb.base/sigbpt.exp
5398         * gdb.base/siginfo-addr.exp
5399         * gdb.base/siginfo-obj.exp
5400         * gdb.base/siginfo-thread.exp
5401         * gdb.base/signest.exp
5402         * gdb.base/signull.exp
5403         * gdb.base/sigrepeat.exp
5404         * gdb.base/skip.exp
5405         * gdb.base/so-impl-ld.exp
5406         * gdb.base/solib-corrupted.exp
5407         * gdb.base/solib-disc.exp
5408         * gdb.base/solib-display.exp
5409         * gdb.base/solib-overlap.exp
5410         * gdb.base/solib-search.exp
5411         * gdb.base/solib-symbol.exp
5412         * gdb.base/source-execution.exp
5413         * gdb.base/sss-bp-on-user-bp-2.exp
5414         * gdb.base/sss-bp-on-user-bp.exp
5415         * gdb.base/stack-checking.exp
5416         * gdb.base/stale-infcall.exp
5417         * gdb.base/step-break.exp
5418         * gdb.base/step-line.exp
5419         * gdb.base/step-over-exit.exp
5420         * gdb.base/step-test.exp
5421         * gdb.base/structs.exp
5422         * gdb.base/sym-file.exp
5423         * gdb.base/symtab-search-order.exp
5424         * gdb.base/term.exp
5425         * gdb.base/type-opaque.exp
5426         * gdb.base/unload.exp
5427         * gdb.base/until-nodebug.exp
5428         * gdb.base/until.exp
5429         * gdb.base/unwindonsignal.exp
5430         * gdb.base/watch-cond.exp
5431         * gdb.base/watch-non-mem.exp
5432         * gdb.base/watch_thread_num.exp
5433         * gdb.base/watchpoint-reuse-slot.exp
5434         * gdb.base/watchpoint-solib.exp
5435         * gdb.base/watchpoint.exp
5436         * gdb.btrace/dlopen.exp
5437         * gdb.cell/arch.exp
5438         * gdb.cell/break.exp
5439         * gdb.cell/bt.exp
5440         * gdb.cell/core.exp
5441         * gdb.cell/data.exp
5442         * gdb.cell/dwarfaddr.exp
5443         * gdb.cell/ea-cache.exp
5444         * gdb.cell/ea-standalone.exp
5445         * gdb.cell/ea-test.exp
5446         * gdb.cell/f-regs.exp
5447         * gdb.cell/fork.exp
5448         * gdb.cell/gcore.exp
5449         * gdb.cell/mem-access.exp
5450         * gdb.cell/ptype.exp
5451         * gdb.cell/registers.exp
5452         * gdb.cell/sizeof.exp
5453         * gdb.cell/solib-symbol.exp
5454         * gdb.cell/solib.exp
5455         * gdb.compile/compile-tls.exp
5456         * gdb.cp/exception.exp
5457         * gdb.cp/gdb2495.exp
5458         * gdb.cp/local.exp
5459         * gdb.cp/mb-inline.exp
5460         * gdb.cp/mb-templates.exp
5461         * gdb.cp/pr10687.exp
5462         * gdb.cp/pr9167.exp
5463         * gdb.cp/scope-err.exp
5464         * gdb.cp/templates.exp
5465         * gdb.cp/virtfunc.exp
5466         * gdb.dwarf2/dw2-dir-file-name.exp
5467         * gdb.dwarf2/dw2-single-line-discriminators.exp
5468         * gdb.fortran/complex.exp
5469         * gdb.fortran/library-module.exp
5470         * gdb.guile/guile.exp
5471         * gdb.guile/scm-cmd.exp
5472         * gdb.guile/scm-frame-inline.exp
5473         * gdb.guile/scm-objfile.exp
5474         * gdb.guile/scm-pretty-print.exp
5475         * gdb.guile/scm-symbol.exp
5476         * gdb.guile/scm-type.exp
5477         * gdb.guile/scm-value.exp
5478         * gdb.linespec/keywords.exp
5479         * gdb.linespec/ls-errs.exp
5480         * gdb.linespec/macro-relative.exp
5481         * gdb.linespec/thread.exp
5482         * gdb.mi/mi-breakpoint-changed.exp
5483         * gdb.mi/mi-dprintf-pending.exp
5484         * gdb.mi/mi-fullname-deleted.exp
5485         * gdb.mi/mi-logging.exp
5486         * gdb.mi/mi-pending.exp
5487         * gdb.mi/mi-solib.exp
5488         * gdb.mi/new-ui-mi-sync.exp
5489         * gdb.mi/user-selected-context-sync.exp
5490         * gdb.multi/dummy-frame-restore.exp
5491         * gdb.multi/multi-arch-exec.exp
5492         * gdb.multi/remove-inferiors.exp
5493         * gdb.multi/watchpoint-multi-exit.exp
5494         * gdb.opt/solib-intra-step.exp
5495         * gdb.perf/backtrace.exp
5496         * gdb.perf/single-step.exp
5497         * gdb.perf/skip-command.exp
5498         * gdb.perf/skip-prologue.exp
5499         * gdb.perf/solib.exp
5500         * gdb.python/lib-types.exp
5501         * gdb.python/py-as-string.exp
5502         * gdb.python/py-bad-printers.exp
5503         * gdb.python/py-block.exp
5504         * gdb.python/py-breakpoint.exp
5505         * gdb.python/py-cmd.exp
5506         * gdb.python/py-events.exp
5507         * gdb.python/py-evthreads.exp
5508         * gdb.python/py-finish-breakpoint.exp
5509         * gdb.python/py-finish-breakpoint2.exp
5510         * gdb.python/py-frame-inline.exp
5511         * gdb.python/py-frame.exp
5512         * gdb.python/py-inferior.exp
5513         * gdb.python/py-infthread.exp
5514         * gdb.python/py-mi.exp
5515         * gdb.python/py-objfile.exp
5516         * gdb.python/py-pp-maint.exp
5517         * gdb.python/py-pp-registration.exp
5518         * gdb.python/py-prettyprint.exp
5519         * gdb.python/py-recurse-unwind.exp
5520         * gdb.python/py-shared.exp
5521         * gdb.python/py-symbol.exp
5522         * gdb.python/py-symtab.exp
5523         * gdb.python/py-template.exp
5524         * gdb.python/py-type.exp
5525         * gdb.python/py-unwind-maint.exp
5526         * gdb.python/py-unwind.exp
5527         * gdb.python/py-value.exp
5528         * gdb.python/python.exp
5529         * gdb.reverse/finish-reverse-bkpt.exp
5530         * gdb.reverse/insn-reverse.exp
5531         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5532         * gdb.reverse/solib-precsave.exp
5533         * gdb.reverse/solib-reverse.exp
5534         * gdb.stabs/gdb11479.exp
5535         * gdb.stabs/weird.exp
5536         * gdb.threads/fork-child-threads.exp
5537         * gdb.threads/fork-plus-threads.exp
5538         * gdb.threads/fork-thread-pending.exp
5539         * gdb.threads/forking-threads-plus-breakpoint.exp
5540         * gdb.threads/hand-call-in-threads.exp
5541         * gdb.threads/interrupted-hand-call.exp
5542         * gdb.threads/linux-dp.exp
5543         * gdb.threads/local-watch-wrong-thread.exp
5544         * gdb.threads/next-while-other-thread-longjmps.exp
5545         * gdb.threads/non-ldr-exit.exp
5546         * gdb.threads/pending-step.exp
5547         * gdb.threads/print-threads.exp
5548         * gdb.threads/process-dies-while-detaching.exp
5549         * gdb.threads/process-dies-while-handling-bp.exp
5550         * gdb.threads/pthreads.exp
5551         * gdb.threads/queue-signal.exp
5552         * gdb.threads/reconnect-signal.exp
5553         * gdb.threads/signal-command-handle-nopass.exp
5554         * gdb.threads/signal-command-multiple-signals-pending.exp
5555         * gdb.threads/signal-delivered-right-thread.exp
5556         * gdb.threads/signal-sigtrap.exp
5557         * gdb.threads/sigthread.exp
5558         * gdb.threads/staticthreads.exp
5559         * gdb.threads/stepi-random-signal.exp
5560         * gdb.threads/thread-unwindonsignal.exp
5561         * gdb.threads/thread_check.exp
5562         * gdb.threads/thread_events.exp
5563         * gdb.threads/tid-reuse.exp
5564         * gdb.threads/tls-nodebug.exp
5565         * gdb.threads/tls-shared.exp
5566         * gdb.threads/tls-so_extern.exp
5567         * gdb.threads/tls.exp
5568         * gdb.threads/wp-replication.exp
5569         * gdb.trace/actions-changed.exp
5570         * gdb.trace/actions.exp
5571         * gdb.trace/backtrace.exp
5572         * gdb.trace/change-loc.exp
5573         * gdb.trace/collection.exp
5574         * gdb.trace/deltrace.exp
5575         * gdb.trace/disconnected-tracing.exp
5576         * gdb.trace/entry-values.exp
5577         * gdb.trace/ftrace-lock.exp
5578         * gdb.trace/ftrace.exp
5579         * gdb.trace/infotrace.exp
5580         * gdb.trace/mi-trace-frame-collected.exp
5581         * gdb.trace/mi-trace-unavailable.exp
5582         * gdb.trace/mi-traceframe-changed.exp
5583         * gdb.trace/mi-tracepoint-changed.exp
5584         * gdb.trace/mi-tsv-changed.exp
5585         * gdb.trace/no-attach-trace.exp
5586         * gdb.trace/packetlen.exp
5587         * gdb.trace/passc-dyn.exp
5588         * gdb.trace/passcount.exp
5589         * gdb.trace/pending.exp
5590         * gdb.trace/pr16508.exp
5591         * gdb.trace/qtro.exp
5592         * gdb.trace/range-stepping.exp
5593         * gdb.trace/read-memory.exp
5594         * gdb.trace/report.exp
5595         * gdb.trace/save-trace.exp
5596         * gdb.trace/signal.exp
5597         * gdb.trace/stap-trace.exp
5598         * gdb.trace/status-stop.exp
5599         * gdb.trace/strace.exp
5600         * gdb.trace/tfile.exp
5601         * gdb.trace/tfind.exp
5602         * gdb.trace/trace-break.exp
5603         * gdb.trace/trace-condition.exp
5604         * gdb.trace/trace-enable-disable.exp
5605         * gdb.trace/trace-mt.exp
5606         * gdb.trace/tracecmd.exp
5607         * gdb.trace/tracefile-pseudo-reg.exp
5608         * gdb.trace/tspeed.exp
5609         * gdb.trace/tstatus.exp
5610         * gdb.trace/tsv.exp
5611         * gdb.trace/unavailable.exp
5612         * gdb.trace/while-dyn.exp
5613         * gdb.trace/while-stepping.exp
5614         * lib/gdb-guile.exp
5615         * lib/gdb.exp
5616         * lib/mi-support.exp
5617         * lib/pascal.exp
5618         * lib/perftest.exp
5619         * lib/prelink-support.exp
5620         * lib/selftest-support.exp
5621
5622 2016-11-30  Simon Marchi  <simon.marchi@polymtl.ca>
5623
5624         * Makefile.in: Include disable-implicit-rules.mk.
5625
5626 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5627
5628         * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5629         non-byte-aligned bit fields.
5630
5631 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5632
5633         PR gdb/12616
5634         * gdb.dwarf2/nonvar-access.exp: New testcase.  Check that GDB
5635         respects the DW_AT_data_bit_offset attribute.
5636
5637 2016-11-22  Simon Marchi  <simon.marchi@polymtl.ca>
5638
5639         * gdb.base/default.exp: Fix output of "set language".
5640
5641 2016-11-17  Simon Marchi  <simon.marchi@polymtl.ca>
5642
5643         * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5644         prefixed with @GMAKE_FALSE@.  Update comment related to non-GNU
5645         make.
5646         * configure.ac: Remove checks for the make program.
5647         * configure: Re-generate.
5648
5649 2016-11-16  Kevin Buettner  <kevinb@redhat.com>
5650
5651         * gdb.python/py-recurse-unwind.c (main): Add loop.
5652         * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5653         to read_register() and gdb.parse_and_eval().  Make each code
5654         call a separate case that can be individually tested.
5655         * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5656         proc. Call cont_and_backtrace for each of the code paths that
5657         we want to test in the unwinder.
5658
5659 2016-11-15  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5660
5661         * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5662         the definition of struct S.
5663
5664 2016-11-11  Catherine Moore  <clm@codesourcery.com>
5665
5666         * gdb.base/dump.exp: Identify verilog format dump tests as such.
5667
5668 2016-11-09  Pedro Alves  <palves@redhat.com>
5669
5670         * gdb.base/commands.exp (runto_or_return): New procedure.
5671         (gdbvar_simple_if_test, gdbvar_simple_while_test)
5672         (gdbvar_complex_if_while_test, progvar_simple_if_test)
5673         (progvar_simple_while_test, progvar_complex_if_while_test)
5674         (if_while_breakpoint_command_test)
5675         (infrun_breakpoint_command_test, breakpoint_command_test)
5676         (user_defined_command_test, watchpoint_command_test)
5677         (test_command_prompt_position, redefine_hook_test)
5678         (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5679         (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5680         multi_line_input and multi_line.  Remove gdb_expect and
5681         gdb_stop_suppressing_tests uses.
5682         * lib/gdb.exp (valnum_re): New global.
5683         (multi_line_input): New procedure.
5684
5685 2016-11-09  Simon Marchi  <simon.marchi@polymtl.ca>
5686
5687         * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5688         Remove.
5689         (test_setup): Define with proc_with_prefix.
5690         (test_cli_inferior): Likewise.
5691         (test_cli_thread): Likewise.
5692         (test_cli_frame): Likewise.
5693         (test_cli_select_frame): Likewise.
5694         (test_cli_up_down): Likewise.
5695         (test_mi_thread_select): Likewise.
5696         (test_mi_stack_select_frame): Likewise.
5697         (test_cli_in_mi_inferior): Likewise.
5698         (test_cli_in_mi_thread): Likewise.
5699         (test_cli_in_mi_frame): Likewise.
5700         (top level): Do not use with_test_prefix_procname.
5701
5702 2016-11-09  Pedro Alves  <palves@redhat.com>
5703
5704         * gdb.base/commands.exp (gdbvar_simple_if_test)
5705         (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5706         (progvar_simple_if_test, progvar_simple_while_test)
5707         (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5708         (infrun_breakpoint_command_test, breakpoint_command_test)
5709         (user_defined_command_test, watchpoint_command_test)
5710         (test_command_prompt_position, deprecated_command_test)
5711         (bp_deleted_in_command, temporary_breakpoint_commands)
5712         (stray_arg0_test, source_file_with_indented_comment)
5713         (recursive_source_test, if_commands_test)
5714         (error_clears_commands_left, redefine_hook_test)
5715         (redefine_backtrace_test): Use proc_with_prefix.
5716         * lib/gdb.exp (proc_with_prefix): New proc.
5717
5718 2016-11-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5719
5720         * gdb.base/tui-layout.c: New file.
5721         * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5722         disassembly window contains very long lines.
5723
5724 2016-11-08  Tom Tromey  <tom@tromey.com>
5725
5726         * gdb.python/py-value.exp (test_value_creation): Make "long" test
5727         depend on Python 2.
5728
5729 2016-11-08  Tom Tromey  <tom@tromey.com>
5730
5731         * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5732         New method.
5733
5734 2016-10-29  Manish Goregaokar  <manish@mozilla.com>
5735
5736         * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
5737
5738 2016-10-27  Manish Goregaokar  <manish@mozilla.com>
5739
5740         * gdb.rust/simple.rs: Add test for univariant enums without
5741         discriminants and for encoded struct-like enums.
5742
5743 2016-10-28  Pedro Alves  <palves@redhat.com>
5744
5745         * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5746         gdb_test_multiple, tighten regexps and match symtabs and line
5747         tables incrementally.
5748
5749 2016-10-28  Luis Machado  <lgustavo@codesourcery.com>
5750
5751         * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5752         general.
5753
5754 2016-10-25  Luis Machado  <lgustavo@codesourcery.com>
5755
5756         * gdb.base/exec-invalid-sysroot.exp: New file.
5757
5758 2016-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
5759
5760         * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5761
5762 2016-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
5763
5764         * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5765
5766 2016-10-19  Maciej W. Rozycki  <macro@imgtec.com>
5767
5768         * gdb.base/killed-outside.exp: Remove $options from a call to
5769         `prepare_for_testing'.
5770
5771 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
5772
5773         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5774         Change test message.
5775
5776 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
5777
5778         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5779         Update comment.
5780
5781 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
5782
5783         * gdb.trace/mi-trace-save.exp: New file.
5784
5785 2016-10-13  Yao Qi  <yao.qi@linaro.org>
5786
5787         * gdb.base/code_elim.exp (get_var_address): Remove.
5788         * gdb.base/relocate.exp: Likewise.
5789         * gdb.base/shreloc.exp: Likewise.
5790         * lib/gdb.exp (get_var_address): New.
5791
5792 2016-10-13  Yao Qi  <yao.qi@linaro.org>
5793
5794         * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5795         floating point tests if $skip_float_test is false.
5796
5797 2016-10-12  Luis Machado  <lgustavo@codesourcery.com>
5798
5799         * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5800         * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5801         argc values.
5802         Add 1 to argc so we guarantee distinct initial/modified argc values.
5803
5804 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5805
5806         * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5807
5808 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5809
5810         * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5811         * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5812         * gdb.arch/vsx-regs.exp: Likewise.
5813
5814 2016-10-07  Yao Qi  <yao.qi@linaro.org>
5815
5816         * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5817
5818 2016-10-07  Markus Metzger  <markus.t.metzger@intel.com>
5819
5820         * gdb.python/python.exp: Test decode_line("*0").
5821
5822 2016-10-06  Doug Evans  <dje@google.com>
5823
5824         * gdb.python/py-value.exp (test_value_creation): Add test for large
5825         unsigned 64-bit value.
5826
5827 2016-10-06  Tom Tromey  <tom@tromey.com>
5828
5829         * gdb.compile/compile.exp: Change java tests to rust.
5830         * gdb.base/setshow.exp: Change java tests to rust.
5831         * gdb.base/default.exp: Remove java from language list.
5832         * README (Examples): Update language example.
5833         * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
5834         test.
5835         * lib/gdb.exp (skip_java_tests): Remove.
5836         * lib/java.exp: Remove.
5837         * gdb.java: Remove.
5838
5839 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
5840
5841         * gdb.arch/mips-fcr.exp: New test.
5842         * gdb.arch/mips-fcr.c: Source for the new test.
5843
5844 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
5845
5846         * gdb.base/solib-disc.exp: Use `standard_output_file'
5847         throughout.
5848
5849 2016-10-06  Pedro Alves  <palves@redhat.com>
5850
5851         * gdb.base/jit-simple-dl.c: New file.
5852         * gdb.base/jit-simple-jit.c: New file, factored out from ...
5853         * gdb.base/jit-simple.c: ... this.
5854         * gdb.base/jit-simple.exp (jit_run): Delete.
5855         (build_jit): New proc.
5856         (jit_test_reread): Recompile either the main program or the shared
5857         library, depending on what is being tested.  Skip changing address
5858         if caller wants to.  Compare before/after addresses.  If testing
5859         standalone, explicitly load the binary.  Test "maint info
5860         breakpoints".
5861         (top level): Add "standalone vs shared lib" and "change address"
5862         vs "same address" axes.
5863
5864 2016-10-06  Pedro Alves  <palves@redhat.com>
5865
5866         * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
5867         call.
5868         (jit_run): Delete.
5869         (jit_test_reread): Use with_test_prefix.  Reload the main binary
5870         explicitly.  Compare the before/after addresses of the JIT
5871         descriptor.
5872
5873 2016-08-15  Doug Evans  <dje@google.com>
5874
5875         * gdb.xml/extra-regs.xml: Update, end field now required, default type
5876         for single bitfields is bool.
5877         * gdb.xml/tdesc-regs.exp: Ditto.
5878
5879 2016-10-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
5880
5881         * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
5882
5883 2016-10-05  Yao Qi  <yao.qi@linaro.org>
5884
5885         * lib/gdb.exp (support_complex_tests): Return zero if
5886         gdb_skip_float_test return true.
5887
5888 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
5889             Simon Marchi  <simon.marchi@ericsson.com>
5890
5891         PR gdb/20487
5892         * gdb.mi/user-selected-context-sync.exp: New file.
5893         * gdb.mi/user-selected-context-sync.c: New file.
5894
5895 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
5896             Simon Marchi  <simon.marchi@ericsson.com>
5897
5898         PR gdb/20487
5899         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
5900         =thread-select-event check.
5901
5902 2016-09-29  Peter Bergner  <bergner@vnet.ibm.com>
5903
5904         * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
5905         the compulsory L operand changes.
5906         * gdb.arch/powerpc-power.s: Likewise.
5907
5908 2016-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
5909
5910         PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
5911         * gdb.base/jit-attach-pie.c: New file.
5912         * gdb.base/jit-attach-pie.exp: New file.
5913
5914 2016-09-28  Pedro Alves  <palves@redhat.com>
5915
5916         * gdb.base/infcall-input.c: New file.
5917         * gdb.base/infcall-input.exp: New file.
5918
5919 2016-09-22  Yao Qi  <yao.qi@linaro.org>
5920
5921         * lib/gdbserver-support.exp: Rename mi_gdb_exit.
5922         (gdb_exit): Rename it to ...
5923         (gdbserver_gdb_exit): ...  Close GDBserver.
5924         (gdb_exit): New proc, call gdbserver_gdb_exit.
5925         (mi_gdb_exit): Likewise.
5926
5927 2016-09-22  Yao Qi  <yao.qi@linaro.org>
5928
5929         * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
5930         path.
5931         * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
5932         Remove duplication.
5933
5934 2016-09-22  Yao Qi  <yao.qi@linaro.org>
5935
5936         * lib/gdbserver-support.exp: Check the existence of
5937         gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
5938
5939 2016-09-21  Anton Kolesov  <anton.kolesov@synopsys.com>
5940
5941         * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
5942
5943 2016-09-21  Tom Tromey  <tom@tromey.com>
5944
5945         PR gdb/20604:
5946         * gdb.base/quit.exp: New file.
5947
5948 2016-09-21  Simon Marchi  <simon.marchi@ericsson.com>
5949
5950         * .gitignore: New file.
5951
5952 2016-09-21  Maciej W. Rozycki  <macro@imgtec.com>
5953
5954         * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
5955         throughout.
5956
5957 2016-09-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5958
5959         * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
5960
5961 2016-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
5962
5963         * gdb.cp/casts.cc (decltype): Move it ...
5964         (main): ... with its call to ...
5965         * gdb.cp/casts03.cc: ... a new file.
5966         * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
5967
5968 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
5969
5970         * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
5971
5972 2016-09-15  Peter Bergner  <bergner@vnet.ibm.com>
5973
5974         * gdb.arch/powerpc-power.s: Update Power9 instruction tests
5975         and sync up the test with tests in gas/testsuite/gas/ppc.
5976         * gdb.arch/powerpc-power.exp: Likewise.
5977
5978 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
5979
5980         * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
5981
5982 2016-09-11  Sergio Durigan Junior  <sergiodj@redhat.com>
5983             Jan Kratochvil  <jan.kratochvil@redhat.com>
5984
5985         * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
5986         make m1's definition to be different from m2's.  Use 'dummy' as an
5987         argument for probe 'two'.
5988
5989 2016-09-10  Jon Beniston  <jon@beniston.com>
5990
5991         * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
5992         for sim target.
5993
5994 2016-09-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5995
5996         * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
5997         variable declaration.
5998         (gnu_ifunc): Add parameter hwcap.  Store it in resolver_hwcap.
5999         * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6000         * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6001         received HWCAP as its argument.
6002
6003 2016-09-06  Pedro Alves  <palves@redhat.com>
6004
6005         * gdb.base/new-ui-pending-input.c: New file.
6006         * gdb.base/new-ui-pending-input.exp: New file.
6007         * gdb.exp (clear_gdb_spawn_id): New procedure.
6008         (with_spawn_id): Check whether gdb_spawn_id exists before
6009         referencing it.  If gdb_spawn_id didn't exist on entry, clear it
6010         on exit.
6011
6012 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6013
6014         * gdb.base/float128.c: New file.
6015         * gdb.base/float128.exp: Likewise.
6016         * gdb.base/floatn.c: Likewise.
6017         * gdb.base/floatn.exp: Likewise.
6018
6019 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6020
6021         * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
6022
6023 2016-09-05  Pedro Alves  <palves@redhat.com>
6024
6025         PR backtrace/19927
6026         * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
6027         unwinders are immediately called as side effect of "source" or
6028         "disable unwinder" commands.
6029         * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
6030
6031 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6032
6033         * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
6034         is true and $type is "float" or "double".
6035
6036 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6037
6038         * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
6039         true.
6040         * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
6041         * gdb.base/call-rt-st.exp: Likewise.
6042         * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
6043         return value instead of gdb,skip_float_test.
6044         * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
6045         (do_function_calls): Use its return value instead of
6046         gdb,skip_float_test.
6047         * gdb.base/finish.exp: Likewise.
6048         * gdb.base/funcargs.exp: Likewise.
6049         * gdb.base/return.exp: Likewise.
6050         * gdb.base/return2.exp: Likewise.
6051         * gdb.base/varargs.exp: Likewise.
6052         * lib/gdb.exp (gdb_skip_float_test): Change it to
6053         gdb_caching_proc.  Detect the broken ptrace on arm-linux.
6054
6055 2016-08-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6056
6057         * gdb.multi/tids.exp: Test "thread apply all".
6058
6059 2016-08-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6060
6061         * gdb.base/default.exp (tty): Remove.
6062
6063 2016-08-24  Kevin Buettner  <kevinb@redhat.com>
6064
6065         * gdb.python/py-recurse-unwind.c: New file.
6066         * gdb.python/py-recurse-unwind.py: New file.
6067         * gdb.python/py-recurse-unwind.exp: New file.
6068
6069 2016-08-24  Simon Marchi  <simon.marchi@ericsson.com>
6070
6071         * gdb.base/set-inferior-tty.exp: New file.
6072         * gdb.base/set-inferior-tty.c: New file.
6073
6074 2016-08-23  Pedro Alves  <palves@redhat.com>
6075
6076         PR gdb/20494
6077         * gdb.base/new-ui-echo.c: New file.
6078         * gdb.base/new-ui-echo.exp: New file.
6079
6080 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6081
6082         * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
6083         gdbserver_spawn.
6084         * gdb.server/connect-without-multi-process.exp (do_test):
6085         Likewise.
6086
6087 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6088
6089         * gdb.base/signals-state-child.exp: Set variables gdb_txt and
6090         standalone_txt.  Delete gdb_txt and standalone_txt on host
6091         and target.  Spawn the binary on target.  Copy files from
6092         target to host.
6093
6094 2016-08-22  Pedro Alves  <palves@redhat.com>
6095
6096         PR gdb/20505
6097         * gdb.base/vdso-warning.exp: Test core dumps too.  Use
6098         with_test_prefix.  Factor out bits to ...
6099         (test_no_vdso): ... this new procedure.
6100
6101 2016-08-19  Carl Love  <cel@us.ibm.com>
6102
6103         * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
6104         maintaining separate logic for constructing the output path.
6105         * gdb.arch/powerpc-d128-regs.exp: Likewise.
6106         * gdb.arch/ppc-dfp.exp: Likewise.
6107         * gdb.arch/ppc-fp.exp: Likewise.
6108         * gdb.arch/vsx-regs.exp: Likewise.
6109         * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
6110         binprefix for generating the additional binary files.
6111
6112 2016-08-19  Pedro Alves  <palves@redhat.com>
6113
6114         * gdb.trace/mi-trace-frame-collected.exp
6115         (test_trace_frame_collected): On x32, expect two registers.
6116
6117 2016-08-18  Carl Love  <cel@us.ibm.com>
6118
6119         * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
6120         and sync up the test with tests in gas/testsuite/gas/ppc.
6121         * gdb.arch/powerpc-power.exp: Likewise.
6122
6123 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6124
6125         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
6126         expected error message.
6127
6128 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6129
6130         * gdb.multi/remove-inferiors.exp: New file.
6131         * gdb.multi/remove-inferiors.c: New file.
6132
6133 2016-08-12  Yao Qi  <yao.qi@linaro.org>
6134
6135         * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
6136         argument list.
6137
6138 2016-08-10  Pedro Alves  <palves@redhat.com>
6139
6140         PR gdb/19187
6141         * gdb.reverse/waitpid-reverse.exp: Add comment and remove
6142         setup_kfails.
6143
6144 2016-08-09  Pedro Alves  <palves@redhat.com>
6145             Simon Marchi  <simon.marchi@ericsson.com>
6146
6147         PR gdb/20418
6148         * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
6149         * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
6150
6151 2016-08-09  Pedro Alves  <palves@redhat.com>
6152
6153         PR mi/20431
6154         * gdb.mi/mi-cmd-error.exp: New file.
6155
6156 2016-08-09  Pedro Alves  <palves@redhat.com>
6157
6158         PR gdb/18653
6159         * gdb.base/signals-state-child.c: New file.
6160         * gdb.base/signals-state-child.exp: New file.
6161         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
6162
6163 2016-08-09  Pedro Alves  <palves@redhat.com>
6164
6165         * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
6166
6167 2016-08-03  Tom Tromey  <tom@tromey.com>
6168
6169         PR python/18565:
6170         * gdb.python/py-frame-inline.exp: Add Frame.function test.
6171
6172 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6173
6174         * gdb.threads/process-dies-while-detaching.exp (do_test): Set
6175         variable mode to "multi-process" if $multi_process is 1, otherwise
6176         set it to "single-process".
6177
6178 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6179
6180         * gdb.cp/anon-struct.exp: Check is_aarch32_target.
6181         * gdb.cp/cpexprs.exp: Likewise.
6182         * gdb.cp/m-static.exp: Likewise.
6183
6184 2016-07-26  Tom Tromey  <tom@tromey.com>
6185
6186         PR python/20190:
6187         * gdb.threads/tls.exp (check_thread_local): Add python symbol
6188         test.
6189
6190 2016-07-26  Markus Metzger  <markus.t.metzger@intel.com>
6191
6192         * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
6193         selecting assembly source files.
6194         * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
6195         assembly source files.
6196         * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
6197         assembly source files.
6198         * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
6199         selecting assembly source files.
6200
6201 2016-07-25  Simon Marchi  <simon.marchi@ericsson.com>
6202
6203         * gdb.base/new-ui.exp (do_test_invalid_args): New
6204         procedure.
6205
6206 2016-07-25  Tim Wiederhake  <tim.wiederhake@intel.com>
6207
6208         * gdb.btrace/reconnect.c: New file.
6209         * gdb.btrace/reconnect.exp: New file.
6210
6211 2016-07-23  Gabriel Krisman Bertazi  <gabriel@krisman.be>
6212
6213         * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
6214         to test_catch_syscall_group.
6215         (test_catch_syscall_group): New.
6216
6217 2016-07-21  Tom Tromey  <tom@tromey.com>
6218
6219         * gdb.rust/simple.rs (main): Use empty struct expression.
6220         * gdb.rust/simple.exp: Add tests for empty struct expression.
6221
6222 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6223
6224         * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
6225         if gdb_skip_xml_test is true on some targets.
6226
6227 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6228
6229         * gdb.server/solib-list.exp: Unset last_loaded_file.
6230
6231 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6232
6233         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
6234         "step into captured_main (args)".
6235
6236 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6237
6238         * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
6239
6240 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6241
6242         * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
6243
6244 2016-07-19  Pedro Alves  <palves@redhat.com>
6245
6246         * gdb.opt/inline-break.exp: Remove optimize=-O2.
6247         * gdb.opt/inline-bt.exp: Likewise.
6248         * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
6249         additional_flags=-Winline.
6250         * gdb.opt/inline-locals.exp: Likewise.
6251         * gdb.opt/inline-markers.c (ATTR): Define.
6252         (inlined_fn): Use it.
6253
6254 2016-07-19  Yao Qi  <yao.qi@linaro.org>
6255
6256         * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
6257         (test_with_self): Remove some code.  Remove argument executable.
6258         (top-level): Use do_self_tests.
6259
6260 2016-07-15  Zachary Welch  <zwelch@codesourcery.com>
6261             Don Breazeal <donb@codesourcery.com>
6262
6263         * gdb.base/maint.exp: Escape paths used in regular expressions.
6264         * gdb.stabs/weird.exp: Likewise.
6265
6266 2016-07-13  Tom Tromey  <tom@tromey.com>
6267
6268         PR python/15620, PR python/18620:
6269         * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
6270         (test_bkpt_events): New procs.
6271
6272 2016-07-13  Tom Tromey  <tom@tromey.com>
6273
6274         PR python/17698:
6275         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6276         test.
6277         (test_watchpoints): Likewise.
6278         (test_bkpt_pending): New proc.
6279
6280 2016-07-13  Tom Tromey  <tom@tromey.com>
6281
6282         PR cli/18053:
6283         * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6284         completion test.
6285
6286 2016-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6287
6288         * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6289         * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6290         * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6291         f_label.
6292         (g): Rename g_end_lbl to g_label.
6293         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6294         low_pc and high_pc.
6295         * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6296
6297 2016-07-12  Tom Tromey  <tom@tromey.com>
6298
6299         PR python/19293:
6300         * gdb.python/py-unwind-maint.exp: Update tests.
6301
6302 2016-07-12  Yao Qi  <yao.qi@linaro.org>
6303
6304         * lib/selftest-support.exp (selftest_setup): Match the output
6305         when captured_main is inlined.
6306
6307 2016-07-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6308
6309         * gdb.fortran/derived-types.exp (result_line, result_line_2):
6310         New variables.
6311         (print this%a, print this%b, print this): New tests.
6312         * gdb.fortran/derived-types.f90 (this): New object and
6313         initialization.
6314
6315 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6316
6317         * gdb.ada/arraydim.exp: Remove extra directory level in build
6318         directory.
6319
6320 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6321
6322         * lib/ada.exp: Remove extra directory level in build directory.
6323         * gdb.ada/cond_lang.exp: Likewise.
6324         * gdb.ada/exec_changed.exp: Likewise.
6325         * gdb.ada/lang_switch.exp: Likewise.
6326
6327 2016-07-06  Manish Goregaokar  <manish@mozilla.com>
6328
6329         * simple.rs: Add test for raw pointer subscripting.
6330         * simple.exp: Add test expectations.
6331
6332 2016-07-05  Yao Qi  <yao.qi@linaro.org>
6333
6334         * gdb.mi/mi-reverse.exp: Match =record-started output.
6335
6336 2016-07-01  Pedro Alves  <palves@redhat.com>
6337
6338         * gdb.base/jit-reader.exp (info_registers_current_frame): New
6339         procedure.
6340         (jit_reader_test): Test the jit reader's unwinder.
6341         * gdb.base/jithost.c (jit_function_00_code): New global.
6342         (main): Use memcpy to fill in the mmapped code, instead of poking
6343         bytes manually here.
6344         * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6345         value.
6346         (read_debug_info): Save the function's range.
6347         (read_sp): New function.
6348         (unwind_frame): Use it.  Also unwind RBP.
6349         (get_frame_id): Use read_sp.
6350         (gdb_init_reader): Use calloc instead of malloc.
6351         * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6352         parameter.  Use gdb_test_multiple.
6353
6354 2016-07-01  Pedro Alves  <palves@redhat.com>
6355             Antoine Tremblay  <antoine.tremblay@ericsson.com>
6356
6357         * gdb.threads/process-dies-while-detaching.c: New file.
6358         * gdb.threads/process-dies-while-detaching.exp: New file.
6359
6360 2016-07-01  Pedro Alves  <palves@redhat.com>
6361
6362         * gdb.multi/watchpoint-multi-exit.c: New file.
6363         * gdb.multi/watchpoint-multi-exit.exp: New file.
6364
6365 2016-06-30  Pedro Alves  <palves@redhat.com>
6366
6367         * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6368         unset inferior_spawn_id.
6369
6370 2016-06-30  Pedro Alves  <palves@redhat.com>
6371
6372         * lib/mi-support.exp (default_mi_gdb_start): Declare global
6373         FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
6374
6375 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6376
6377         * gdb.base/return.c: Add copyright header.
6378
6379 2016-06-29  Tom Tromey  <tom@tromey.com>
6380
6381         PR python/20129:
6382         * gdb.python/py-framefilter.exp: Add tests for setting priority
6383         and disabling of non-existent frame filter.
6384
6385 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6386
6387         * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6388         0x0f07ff.
6389
6390 2016-06-28  Yao Qi  <yao.qi@linaro.org>
6391
6392         * gdb.base/catch-syscall.exp: Remove check on isnative and target
6393         triplets.  Start gdb, execute catch syscall, and continue.  Check
6394         gdb's output to determine catch syscall is supported.
6395
6396 2016-06-27  Manish Goregaokar  <manish@mozilla.com>
6397
6398         * gdb.rust/simple.rs: Add test for returning unit in a function.
6399         * gdb.rust/simple.exp: Add expectation for functions returning
6400         unit.
6401
6402 2016-06-27  Pierre-Marie de Rodat  <derodat@adacore.com>
6403
6404         * gdb.python/py-breakpoint-create-fail.c,
6405         gdb.python/py-breakpoint-create-fail.exp,
6406         gdb.python/py-breakpoint-create-fail.py: New testcase.
6407
6408 2016-06-25  Manish Goregaokar  <manish@mozilla.com>
6409
6410         PR gdb/20239
6411         * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6412         * gdb.rust/simple.exp: Add test expectations for new NonZero
6413         tests.
6414
6415 2016-06-24  David Taylor  <dtaylor@emc.com>
6416
6417         * gdb.base/offsets.exp: New file.
6418         * gdb.base/offsets.c: New file.
6419
6420 2016-06-23  Tom Tromey  <tom@tromey.com>
6421
6422         PR gdb/16483:
6423         * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6424         before any filters are loaded.
6425
6426 2016-06-21  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6427
6428         * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6429         * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6430         structs.
6431         * gdb.fortran/derived-type-function.exp: New file.
6432         * gdb.fortran/derived-type-function.f90: New file.
6433
6434
6435 2016-06-21  Pedro Alves  <palves@redhat.com>
6436
6437         * gdb.base/new-ui.exp: New file.
6438         * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6439         * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6440         (with_spawn_id): New procedure.
6441
6442 2016-06-21  Pedro Alves  <palves@redhat.com>
6443
6444         * gdb.mi/mi-exec-run.exp: New file.
6445
6446 2016-06-21  Pedro Alves  <palves@redhat.com>
6447
6448         * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6449         breakpoint command's output on the main UI.
6450         (test_break): New procedure, factored out from calls in the top
6451         level.
6452         (top level): Use foreach_with_prefix to test MI as main UI and as
6453         separate UI.
6454
6455 2016-06-21  Pedro Alves  <palves@redhat.com>
6456
6457         * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6458         (test_awatch_creation_and_listing)
6459         (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6460         Remove 'type' parameter.
6461         (test_watchpoint_all): New parameter mi_mode.  Remove
6462         with_test_prefix.
6463         (top level): Use foreach_with_prefix, and add main/separate UI MI
6464         testing axis.
6465
6466 2016-06-21  Pedro Alves  <palves@redhat.com>
6467
6468         * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6469         * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6470         * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6471         gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6472         (gdb_main_spawn_id, mi_spawn_id): Declare and
6473         comment.
6474         (mi_create_inferior_pty): New procedure,
6475         factored out from default_mi_gdb_start.
6476         (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6477         procedures.
6478         (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6479         separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6480         Use mi_create_inferior_pty.
6481         (mi_gdb_start): Use eval to pass down args list.
6482
6483 2016-06-21  Pedro Alves  <palves@redhat.com>
6484
6485         * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6486         * gdb.opt/inline-cmds.exp: Add MI tests.
6487
6488 2016-06-21  Pedro Alves  <palves@redhat.com>
6489
6490         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6491
6492 2016-06-21  Pedro Alves  <palves@redhat.com>
6493
6494         * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6495         (top level): Use it instead of mi_execute_to.
6496
6497 2016-06-21  Pedro Alves  <palves@redhat.com>
6498
6499         * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6500         (cont_handler_str): New.
6501         (signal_stop_handler): Set stop_handler_str instead of printing to
6502         stdout.
6503         (continue_handler): Set cont_handler_str instead of printing to
6504         stdout.
6505         * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6506         mi_send_resuming_command.  Print stop_handler_str and
6507         cont_handler_str instead of expecting the python events print
6508         directly.
6509
6510 2016-06-17  Sanjoy Das  <sanjoy@playingwithpointers.com>
6511
6512         * gdb.base/jit-reader.exp: New file.
6513         * gdb.base/jithost.c: New file.
6514         * gdb.base/jithost.h: New file.
6515         * gdb.base/jitreader.c : New file.
6516         * gdb.base/jit-protocol.h: New file.
6517
6518 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6519
6520         * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6521         parameters follow_fork and detach_on_fork.  Set follow-fork-mode
6522         and detach-on-fork.  Adjust tests.
6523         (top level): Invoke break_cond_on_syscall with combinations of
6524         syscall, follow-fork-mode and detach-on-fork.
6525
6526 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6527
6528         * gdb.base/step-over-exit.c: New.
6529         * gdb.base/step-over-exit.exp: New.
6530
6531 2016-06-17  Yan-Ting Lin  <currygt52@gmail.com>
6532
6533         * gdb.base/float.exp: Add target check for nds32*-*-*.
6534         * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6535
6536 2016-06-13  Andrew Burgess  <andrew.burgess@embecosm.com>
6537
6538         * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6539         for unsupported target features.
6540         * gdb.base/call-rt-st.exp: Likewise.
6541         * gdb.base/call-sc.exp: Likewise.
6542         * gdb.base/call-signal-resume.exp: Likewise.
6543         * gdb.base/call-strs.exp: Likewise.
6544         * gdb.base/callexit.exp: Likewise.
6545         * gdb.base/callfuncs.exp: Likewise.
6546         * gdb.base/nodebug.exp: Likewise.
6547         * gdb.base/printcmds.exp: Likewise.
6548         * gdb.base/ptype.exp: Likewise.
6549         * gdb.base/structs.exp: Likewise.
6550         * gdb.base/unwindonsignal.exp: Likewise.
6551         * gdb.cp/gdb2495.exp: Likewise.
6552         * gdb.cp/templates.exp: Likewise.
6553         * gdb.cp/virtfunc.exp: Likewise.
6554         * gdb.threads/hand-call-in-threads.exp: Likewise.
6555         * gdb.threads/interrupted-hand-call.exp: Likewise.
6556         * gdb.threads/thread-unwindonsignal.exp: Likewise.
6557
6558 2016-06-10  Tom Tromey  <tom@tromey.com>
6559
6560         PR rust/20110:
6561         * gdb.rust/expr.exp: Add test for integer constant larger than
6562         i32.
6563
6564 2016-06-10  Bernhard Heckel  <bernhard.heckel@intel.com>
6565
6566         * gdb.fortran/nested-funcs.exp: New.
6567         * gdb.fortran/nested-funcs.f90: New.
6568
6569 2016-06-09  Toshihito Kikuchi  <k.toshihito@yahoo.de>
6570
6571         * gdb.base/examine-backward.c: New file.
6572         * gdb.base/examine-backward.exp: New file.
6573
6574 2016-06-06  Simon Marchi  <simon.marchi@ericsson.com>
6575
6576         * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6577         matching.
6578
6579 2016-06-02  Tom Tromey  <tom@tromey.com>
6580
6581         PR python/18984:
6582         * gdb.python/py-shared.exp: Add solib_name test.
6583
6584 2016-06-02  Simon Marchi  <simon.marchi@ericsson.com>
6585
6586         * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6587
6588 2016-05-31  Martin Galvan  <martin.galvan@tallertechnologies.com>
6589
6590         PR c++/19893
6591         * gdb.dwarf2/implref.exp: Rename to...
6592         * gdb.dwarf2/implref-const.exp: ...this.  Also add more test statements.
6593         * gdb.dwarf2/implref-array.c: New file.
6594         * gdb.dwarf2/implref-array.exp: Likewise.
6595         * gdb.dwarf2/implref-global.c: Likewise.
6596         * gdb.dwarf2/implref-global.exp: Likewise.
6597         * gdb.dwarf2/implref-struct.c: Likewise.
6598         * gdb.dwarf2/implref-struct.exp: Likewise.
6599
6600 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6601
6602         * gdb.trace/trace-condition.exp: Add 64bit tests.
6603
6604 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6605
6606         * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6607         bits types.
6608         (main): Adapt to 8 to 64 bits types.
6609         * gdb.trace/trace-condition.exp: Add new tests.
6610
6611 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6612
6613         * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6614
6615 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6616
6617         * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6618         Move condition tests...
6619         * gdb.trace/trace-condition.exp: Here.
6620
6621 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6622
6623         * gdb.trace/trace-condition.exp: Add counter-case tests.
6624
6625 2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
6626
6627         PR c++/15231
6628         * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6629         * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6630
6631 2016-05-27  Pedro Alves  <palves@redhat.com>
6632
6633         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6634         New procedure.
6635         (top level): Call it, and bail out of DejaGnu is known to be bad.
6636
6637 2016-05-27  Andrew Burgess  <andrew.burgess@embecosm.com>
6638
6639         * gdb.base/whatis.c: Extend the test case.
6640         * gdb.base/whatis.exp: Add additional tests.
6641
6642 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6643
6644 * gdb.fortran/type.f90: Add pointer variable.
6645 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6646
6647 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6648
6649         * gdb.fortran/vla-type.exp: Fix testcase name.
6650
6651 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6652
6653         * gdb.fortran/vla-type.exp: Access elements in nested structs.
6654
6655 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6656
6657         * gdb.fortran/type.f90: Add nested structures.
6658         * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6659         * gdb.fortran/derived-type.exp: Adapt expected output.
6660         * gdb.fortran/vla-type.exp: Adapt expected output.
6661
6662 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6663
6664         * gdb.fortran/whatis_type.exp: Adapt expected output.
6665
6666 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6667
6668         * gdb.fortran/print_type.exp: Fix expected output.
6669         * gdb.fortran/whatis_type.exp: Fix expected output.
6670
6671 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6672
6673         * gdb.fortran/whatis_type.exp: Use multi_line.
6674
6675 2016-05-24  Tom Tromey  <tom@tromey.com>
6676
6677         PR python/17386:
6678         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6679         use value as an index.
6680
6681 2016-05-23  Tom Tromey  <tom@tromey.com>
6682
6683         PR python/17981:
6684         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6685         no-breakpoint case.
6686
6687 2016-05-24  Pedro Alves  <palves@redhat.com>
6688
6689         PR gdb/19828
6690         * gdb.threads/clone-attach-detach.c: New file.
6691         * gdb.threads/clone-attach-detach.exp: New file.
6692
6693 2016-05-24  Francis Ricci  <francisjricci@gmail.com>  (tiny patch)
6694
6695         * gdb.base/annota-input-while-running.exp: Fix syntax error.
6696
6697 2016-05-23  Tom Tromey  <tom@tromey.com>
6698
6699         PR python/19438, PR python/18393:
6700         * gdb.python/py-progspace.exp: Add "dir" test.
6701         * gdb.python/py-objfile.exp: Add "dir" test.
6702
6703 2016-05-23  Yao Qi  <yao.qi@linaro.org>
6704
6705         * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6706         * gdb.arch/thumb2-it.exp: Likewise.
6707
6708 2016-05-18  Simon Marchi  <simon.marchi@ericsson.com>
6709
6710         * gdb.mi/mi-threads-interrupt.c: New file.
6711         * gdb.mi/mi-threads-interrupt.exp: New file.
6712
6713 2016-05-17  Simon Marchi  <simon.marchi@ericsson.com>
6714
6715         PR gdb/18077
6716         * gdb.mi/mi-async-run.exp: New file.
6717         * gdb.mi/mi-async-run.c: New file.
6718
6719 2016-05-17  Tom Tromey  <tom@tromey.com>
6720             Manish Goregaokar <manishsmail@gmail.com>
6721
6722         * lib/rust-support.exp: New file.
6723         * lib/gdb.exp (skip_rust_tests): New proc.
6724         (build_executable_from_specs): Handle rust.
6725         * lib/future.exp (gdb_find_rustc): New proc.
6726         (gdb_default_target_compile): Handle rust.
6727         * gdb.rust/expr.exp: New file.
6728         * gdb.rust/generics.exp: New file.
6729         * gdb.rust/generics.rs: New file.
6730         * gdb.rust/methods.exp: New file.
6731         * gdb.rust/methods.rs: New file.
6732         * gdb.rust/modules.exp: New file.
6733         * gdb.rust/modules.rs: New file.
6734         * gdb.rust/simple.exp: New file.
6735         * gdb.rust/simple.rs: New file.
6736
6737 2016-05-17  Tom Tromey  <tom@tromey.com>
6738
6739         * gdb.base/default.exp (set language): Add rust.
6740
6741 2016-05-17  Tom Tromey  <tom@tromey.com>
6742
6743         * gdb.gdb/unittest.exp: New file.
6744
6745 2016-05-16  Yao Qi  <yao.qi@linaro.org>
6746
6747         * gdb.base/batch-preserve-term-settings.exp: Remove variable
6748         shell_prompt.  Update shell_prompt_re.
6749
6750 2016-05-12  Doug Evans  <dje@google.com>
6751
6752         PR symtab/19999
6753         * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6754         $options when building executable.
6755         * gdb.dwarf2/fission-loclists-pie.S: New file.
6756         * gdb.dwarf2/fission-loclists-pie.exp: New file.
6757
6758 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
6759
6760         * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
6761         of [is_remote target],
6762
6763 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
6764
6765         * lib/gdb.exp (use_gdb_stub): New procedure.
6766
6767 2016-05-03  Yunlian Jiang <yunlian@google.com>
6768             Doug Evans  <dje@google.com>
6769
6770         PR symtab/19914
6771         * gdb.dwarf2/dwp-sepdebug.c: New file.
6772         * gdb.dwarf2/dwp-sepdebug.exp: New file.
6773
6774 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
6775
6776         * gdb.base/detach.exp: Remove is_remote check.
6777
6778 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
6779
6780         * gdb.base/annota-input-while-running.exp: Don't check for
6781         [is_remote target].  Enable annotations after running to main.
6782         Remove unused "set test..." line.
6783
6784 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
6785
6786         * gdb.trace/trace-enable-disable.exp: New file.
6787         * gdb.trace/trace-enable-disable.c: New file.
6788
6789 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
6790
6791         * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6792         use it in info sharedlibrary test.
6793         * gdb.trace/ftrace-lock.exp: Likewise.
6794         * gdb.trace/ftrace.exp: Likewise.
6795         * gdb.trace/range-stepping.exp: Likewise.
6796         * gdb.trace/trace-break.exp: Likewise.
6797         * gdb.trace/trace-condition.exp: Likewise.
6798         * gdb.trace/trace-mt.exp: Likewise.
6799
6800 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
6801
6802         * lib/gdb.exp (gdb_load_shlibs): Rename to...
6803         (gdb_load_shlib): ... this.
6804         * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6805         gdb_load_shlib.
6806         * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6807         * gdb.base/ctxobj.exp: Likewise.
6808         * gdb.base/dprintf-pending.exp: Likewise.
6809         * gdb.base/dso2dso.exp: Likewise.
6810         * gdb.base/fixsection.exp: Likewise.
6811         * gdb.base/gcore-relro.exp: Likewise.
6812         * gdb.base/gdb1555.exp: Likewise.
6813         * gdb.base/global-var-nested-by-dso.exp: Likewise.
6814         * gdb.base/gnu-ifunc.exp: Likewise.
6815         * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6816         * gdb.base/jit-so.exp (one_jit_test): Likewise.
6817         * gdb.base/pending.exp: Likewise.
6818         * gdb.base/print-file-var.exp: Likewise.
6819         * gdb.base/print-symbol-loading.exp: Likewise.
6820         * gdb.base/shlib-call.exp: Likewise.
6821         * gdb.base/shreloc.exp: Likewise.
6822         * gdb.base/so-impl-ld.exp: Likewise.
6823         * gdb.base/solib-disc.exp: Likewise.
6824         * gdb.base/solib-nodir.exp: Likewise.
6825         * gdb.base/solib-overlap.exp: Likewise.
6826         * gdb.base/solib-symbol.exp: Likewise.
6827         * gdb.base/solib-weak.exp (do_test): Likewise.
6828         * gdb.base/sym-file.exp: Likewise.
6829         * gdb.base/symtab-search-order.exp: Likewise.
6830         * gdb.base/type-opaque.exp: Likewise.
6831         * gdb.base/unload.exp: Likewise.
6832         * gdb.base/watchpoint-solib.exp: Likewise.
6833         * gdb.compile/compile.exp: Likewise.
6834         * gdb.cp/gdb2384.exp: Likewise.
6835         * gdb.cp/infcall-dlopen.exp: Likewise.
6836         * gdb.cp/re-set-overloaded.exp: Likewise.
6837         * gdb.fortran/library-module.exp: Likewise.
6838         * gdb.opt/solib-intra-step.exp: Likewise.
6839         * gdb.python/py-finish-breakpoint.exp: Likewise.
6840         * gdb.python/py-shared.exp: Likewise.
6841         * gdb.reverse/solib-precsave.exp: Likewise.
6842         * gdb.reverse/solib-reverse.exp: Likewise.
6843         * gdb.server/solib-list.exp: Likewise.
6844         * gdb.threads/dlopen-libpthread.exp: Likewise.
6845         * gdb.threads/tls-shared.exp: Likewise.
6846         * gdb.threads/tls-so_extern.exp: Likewise.
6847         * gdb.trace/change-loc.exp: Likewise.
6848         * gdb.trace/ftrace-lock.exp: Likewise.
6849         * gdb.trace/ftrace.exp: Likewise.
6850         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
6851         * gdb.trace/pending.exp: Likewise.
6852         * gdb.trace/range-stepping.exp: Likewise.
6853         * gdb.trace/strace.exp (strace_remove_socket): Likewise.
6854         (strace_info_marker): Likewise.
6855         (strace_probe_marker): Likewise.
6856         (strace_trace_on_same_addr): Likewise.
6857         (strace_trace_on_diff_addr): Likewise.
6858         * gdb.trace/trace-break.exp: Likewise.
6859         * gdb.trace/trace-condition.exp: Likewise.
6860         * gdb.trace/trace-mt.exp: Likewise.
6861
6862 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
6863
6864         * lib/gdb.exp (gdb_load_shlibs):  Accept a single argument.  Return
6865         result of gdb_remote_download.
6866         * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
6867         * gdb.base/dso2dso.exp: Likewise.
6868         * gdb.base/global-var-nested-by-dso.exp: Likewise.
6869         * gdb.base/print-file-var.exp: Likewise.
6870         * gdb.base/shlib-call.exp: Likewise.
6871         * gdb.base/shreloc.exp: Likewise.
6872         * gdb.base/solib-overlap.exp: Likewise.
6873         * gdb.base/solib-weak.exp (do_test): Likewise.
6874         * gdb.base/unload.exp: Likewise.
6875
6876 2016-04-27  Yao Qi  <yao.qi@linaro.org>
6877
6878         * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
6879         exists.
6880
6881 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
6882
6883         * vla-type.exp: Print structure from toplevel.
6884
6885 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
6886
6887         * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
6888         of dynamic types.
6889         * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
6890         of dynamic types.
6891
6892 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
6893
6894         * gdb.fortran/vla-type.f90: New file.
6895         * gdb.fortran/vla-type.exp: New file.
6896
6897 2016-04-25  Yao Qi  <yao.qi@linaro.org>
6898
6899         * gdb.base/branch-to-self.c: New file.
6900         * gdb.base/branch-to-self.exp: New file.
6901
6902 2016-04-22  Yao Qi  <yao.qi@linaro.org>
6903
6904         * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
6905         more after $hex.
6906
6907 2016-04-22  Yao Qi  <yao.qi@linaro.org>
6908
6909         * gdb.base/annota1.exp: Set breakpoint on line $main_line.
6910         * gdb.base/annota3.exp: Likewise.
6911
6912 2016-04-22  Yao Qi  <yao.qi@linaro.org>
6913
6914         * gdb.reverse/step-precsave.exp: Do one step and test program
6915         stops in "callee" and do multiple steps until program goes out
6916         of "callee".
6917         * gdb.reverse/step-reverse.exp: Likewise.
6918
6919 2016-04-22  Yao Qi  <yao.qi@linaro.org>
6920
6921         * gdb.trace/signal.exp: Also pass if
6922         $tracepoint_hits($i) > $iterations.
6923
6924 2016-04-22  Yao Qi  <yao.qi@linaro.org>
6925
6926         * gdb.trace/signal.c: New file.
6927         * gdb.trace/signal.exp: New file.
6928
6929 2016-04-19  Doug Evans  <xdje42@gmail.com>
6930
6931         * gdb.base/bad-file.exp: New file.
6932
6933 2016-04-18  Martin Galvan  <martin.galvan@tallertechnologies.com>
6934
6935         * gdb.dwarf2/implref.exp: New file.
6936
6937 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
6938
6939         * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
6940         * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
6941         * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
6942         * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
6943         * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
6944         * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
6945         * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
6946         * lib/fortran.exp (fortran_int4): New procedure.
6947         (fortran_real4, fortran_real8, fortran_complex4): Likewise.
6948         (fortran_logical4): Likewise.
6949
6950 2016-04-18  Benrhard Heckel <bernhard.heckel@intel.com>
6951
6952         * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
6953
6954 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
6955
6956         * lib/compiler.c: Add Intel specific preprocessor macros.
6957         * lib/compiler.cc: Likewise.
6958
6959 2016-04-13  Luis Machado  <lgustavo@codesourcery.com>
6960
6961         * gdb.server/connect-with-no-symbol-file.c: New file.
6962         * gdb.server/connect-with-no-symbol-file.exp: New file.
6963
6964 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
6965
6966         * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
6967
6968 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
6969
6970         * boards/gdbserver-base.exp (${board}_download): Copy source file to
6971         standard output directory.
6972
6973 2016-04-13  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6974
6975         * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
6976
6977 2016-04-13  Markus Metzger  <markus.t.metzger@intel.com>
6978
6979         * gdb.btrace/instruction_history.c (loop): Add declaration.
6980
6981 2016-04-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6982
6983         * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
6984
6985 2016-04-09  Simon Marchi  <simon.marchi@polymtl.ca>
6986
6987         * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
6988         parentheses to print.
6989         (continue_handler): Likewise.
6990
6991 2016-04-08  Simon Marchi  <simon.marchi@ericsson.com>
6992
6993         * gdb.server/solib-list.exp: Remove is_remote check.
6994         Pass shlib= to gdb_compile.  Don't link shared library with
6995         -soname.  Call gdb_remote_download instead of gdb_load_shlibs.
6996         Run binary filename through "readlink -f" on the target.
6997
6998 2016-04-08  Pedro Alves  <palves@redhat.com>
6999
7000         * gdb.server/solib-list.exp: Don't use gdb_load.  Instead pass the
7001         interpreter filename as argument to gdbserver_spawn.
7002         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7003         Return empty if $last_loaded_file does not exist.
7004
7005 2016-04-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7006
7007         Fix compatibility with gcc-4.8.5-4.el7.x86_64.
7008         * gdb.base/jit-main.c: Use exit after usage.
7009
7010 2016-04-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7011
7012         * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
7013         GDBHISTSIZE prior to the tests.
7014         * gdb.base/gdbinit-history.exp: Likewise.
7015
7016 2016-04-07  Pedro Alves  <palves@redhat.com>
7017
7018         * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
7019         instead of build_executable.  Use gdb_load_shlibs.
7020
7021 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7022
7023         * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
7024         Execute "si" command.
7025
7026 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7027
7028         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
7029         number instead of the comments on some line.
7030
7031 2016-04-06  Don Breazeal  <donb@codesourcery.com>
7032
7033         * gdb.dwarf2/dw2-opt-structptr.c: New test program.
7034         * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
7035
7036 2016-04-06  Simon Marchi  <simon.marchi@ericsson.com>
7037
7038         * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
7039         standard_output_file.  Remove unused binfile variable.
7040
7041 2016-04-05  Catalin Udma  <catalin.udma@freescale.com>
7042
7043         * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
7044         * gdb.python/py-mi-objfile.exp: Match "list main" output
7045         in console format.
7046
7047 2016-04-05  Simon Marchi  <simon.marchi@polymtl.ca>
7048
7049         * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
7050         absolute.
7051
7052 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7053
7054         * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
7055         absolute.
7056         * gdb.trace/ftrace.exp: Likewise.
7057         * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
7058         targets as well.
7059         (gdb_compile_shlib): Set SONAME for non-remote targets as well.
7060         (gdb_load_shlibs): Copy libraries to test directory when testing
7061         natively.  Only set solib-search-path if testing remotely.
7062         * lib/mi-support.exp (mi_load_shlibs): Likewise.
7063
7064 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7065
7066         * gdb.base/jit-so.exp: Use gdb_remote_download instead of
7067         gdb_download.  Use it even if the target is not remote.
7068         * gdb.base/jit.exp (compile_jit_test): Likewise.
7069         * lib/gdb.exp (gdb_remote_download): Copy files to the standard
7070         output directory if the destination board is local, otherwise use
7071         the standard remote_download from DejaGnu.
7072         (gdb_download): Remove.
7073         (gdb_load_shlibs): Use gdb_remote_download instead of
7074         gdb_download.
7075         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7076         Use gdb_remote_download instead of gdb_download.  Use it even if
7077         the target is not remote.
7078         * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
7079         instead of gdb_download.
7080
7081 2016-04-04  Simon Marchi  <simon.marchi@polymtl.ca>
7082
7083         * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
7084         (test_insert_delete_modify): Call mi_load_shlibs before trying to
7085         run.
7086
7087 2016-04-01  Artemiy Volkov  <artemiyv@acm.org>
7088
7089         PR gdb/19820
7090         * gdb.base/printcmds.exp: Add artificial arrays tests.
7091
7092 2016-03-31  Pedro Alves  <palves@redhat.com>
7093
7094         PR gdb/19858
7095         * gdb.base/jit-main.c: Include unistd.h.
7096         (ATTACH): Define to 0 if not already defined.
7097         (wait_for_gdb, mypid): New globals.
7098         (WAIT_FOR_GDB): New macro.
7099         (MAIN): Set an alarm.  Store the process's pid.  Wait for GDB at
7100         some breakpoint locations.
7101         * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
7102         New procedures.
7103         (one_jit_test): Add REATTACH parameter, and handle it.  Use
7104         continue_to_test_location.
7105         (top level): Test attach, and adjusts calls to one_jit_test.
7106
7107 2016-03-31  Pedro Alves  <palves@redhat.com>
7108
7109         PR gdb/19858
7110         * gdb.base/jit.exp (compile_jit_test): Add intro comment.  Add
7111         BINSUFFIX parameter, and handle it.
7112         (top level): Adjust calls compile_jit_test.
7113
7114 2016-03-31  Catalin Udma  <catalin.udma@freescale.com>
7115
7116         PR python/19743
7117         * gdb.python/py-mi-events-gdb.py: New file.
7118         * gdb.python/py-mi-events.c: New file.
7119         * gdb.python/py-mi-events.exp: New file.
7120
7121 2016-03-30  Yao Qi  <yao.qi@linaro.org>
7122
7123         * gdb.reverse/until-precsave.exp: Match function name only.
7124         * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
7125         Move malloc to a condition block.
7126         * gdb.reverse/until-reverse.exp: Match function name only.
7127
7128 2016-03-29  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7129
7130         * gdb.trace/ftrace.exp: Set arg0exp for s390.
7131         * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
7132         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
7133         variable for GPR 0 instead of assuming it is register 0.
7134         * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
7135         * lib/trace-support.exp: Add s390 registers.
7136
7137 2016-03-29  Yao Qi  <yao.qi@linaro.org>
7138
7139         * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
7140
7141 2016-03-24  Yao Qi  <yao.qi@linaro.org>
7142
7143         * gdb.reverse/break-reverse.exp: Add quotation mark in the
7144         test message.
7145
7146 2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7147
7148         * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
7149         maintaining separate logic for constructing the output path.
7150
7151 2016-03-16  Don Breazeal  <donb@codesourcery.com>
7152
7153         * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
7154         Retry fork and waitpid on interrupted system call errors.
7155         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7156         Use with_timeout_factor to increase timeout by factor of 10.
7157
7158 2016-03-15  Don Breazeal  <donb@codesourcery.com>
7159
7160         * gdb.cp/scope-err.cc: New test program.
7161         * gdb.cp/scope-err.exp: New test script.
7162         * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
7163         lines and "set breakpoint here" comment.
7164         * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
7165         Fixed some whitespace and format issues.
7166         * gdb.mi/mi-linespec-err-cp.cc: New test program.
7167         * gdb.mi/mi-linespec-err-cp.exp: New test script.
7168
7169 2016-03-15  Doug Evans  <dje@google.com>
7170
7171         * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
7172         * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
7173         All callers updated.  Add tests for enums, mixed flags register.
7174
7175 2016-03-15  Doug Evans  <dje@google.com>
7176
7177         * gdb.base/skip.c (main): Call test_skip_file_and_function.
7178         * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
7179
7180 2016-03-14  Simon Marchi  <simon.marchi@ericsson.com>
7181
7182         * gdb.base/default.exp: Add $_as_string to the list of expected
7183         convenience functions.
7184
7185 2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
7186
7187         * gdb.base/maint.exp: New tests for 'maint info line-table'.
7188
7189 2016-03-10  Simon Marchi  <simon.marchi@polymtl.ca>
7190
7191         * gdb.python/py-as-string.exp: New file.
7192         * gdb.python/py-as-string.c: New file.
7193
7194 2016-03-09  Pedro Alves  <palves@redhat.com>
7195
7196         * gdb.threads/attach-into-signal.exp: Adjust to "Program received
7197         signal" -> "Thread NN received signal" output change.
7198         * gdb.threads/ia64-sigill.exp: Likewise.
7199         * gdb.threads/linux-dp.exp: Likewise.
7200         * gdb.threads/manythreads.exp: Likewise.
7201         * gdb.threads/pending-step.exp: Likewise.
7202         * gdb.threads/print-threads.exp: Likewise.
7203         * gdb.threads/sigstep-threads.exp: Likewise.
7204         * gdb.threads/staticthreads.exp: Likewise.
7205         * gdb.threads/tls.exp: Likewise.
7206
7207 2016-03-09  Pedro Alves  <palves@redhat.com>
7208
7209         * gdb.base/command-line-input.exp: New file.
7210
7211 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7212
7213         * gdb.trace/ftrace.exp: Set arg0exp for ppc.
7214         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
7215         * gdb.trace/pending.exp: Accept leading dot before function name.
7216         * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
7217         * lib/trace-support.exp: Set registers for ppc.
7218
7219 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7220
7221         * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
7222         use it for disassembly; accept .main in addition to main in backtrace.
7223
7224 2016-03-09  Wei-cheng Wang  <cole945@gmail.com>
7225             Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7226
7227         * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
7228         (gdb_recursion_test_ptr): New global variable.
7229         (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
7230         gdb_recursion_test.
7231         (gdb_c_test): Ditto.
7232
7233 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7234
7235         * gdb.trace/change-loc.exp: Don't depend on tracepoint location
7236         ordering.
7237
7238 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7239
7240         * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
7241         (bar): Add bar_start_lbl label.
7242         * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
7243         of foo/bar for emitting DWARF and tracing.
7244
7245 2016-03-06  Sergio Durigan Junior  <sergiodj@redhat.com>
7246
7247         * analyze-racy-logs.py: Set executable bit.
7248
7249 2016-03-05  Sergio Durigan Junior  <sergiodj@redhat.com>
7250
7251         * Makefile.in (DEFAULT_RACY_ITER): New variable.
7252         (CHECK_TARGET_TMP): Likewise.
7253         (check-single-racy): New rule.
7254         (check-parallel-racy): Likewise.
7255         (TEST_TARGETS): Adjust rule to account for RACY_ITER.
7256         (do-check-parallel-racy): New rule.
7257         (check-racy/%.exp): Likewise.
7258         * README (Racy testcases): New section.
7259         * analyze-racy-logs.py: New file.
7260
7261 2016-03-03  Doug Evans  <dje@google.com>
7262
7263         * gdb.base/skip.exp: Use with_test_prefix.
7264
7265 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7266
7267         * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
7268         Invoke step_over_syscall "clone" and break_cond_on_syscall
7269         "clone".
7270         * gdb.base/step-over-clone.c: New file.
7271
7272 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7273
7274         * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
7275         code format.
7276
7277 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7278
7279         * gdb.base/disp-step-fork.c: Rename to ...
7280         * gdb.base/step-over-fork.c: ... it.  New file.
7281         * gdb.base/disp-step-vfork.c: Rename to ...
7282         * gdb.base/step-over-vfork.c: ... it.  New file.
7283         * gdb.base/disp-step-syscall.exp: Rename to ...
7284         * gdb.base/step-over-syscall.exp: ... it.  New file.
7285         (disp_step_cross_syscall): Rename to ...
7286         (step_over_syscall): ... it.
7287
7288 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7289
7290         * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7291         If target supports condition evaluation on target, invoke
7292         break_cond_on_syscall for fork and vfork.
7293
7294 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7295
7296         * gdb.base/disp-step-syscall.exp: Don't invoke
7297         support_displaced_stepping.
7298         (disp_step_cross_syscall): Test with displaced stepping off and
7299         on if supported.
7300
7301 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7302
7303         * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7304         proc.
7305         (setup): New proc.
7306         (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7307         and setup.
7308
7309 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7310
7311         * gdb.fortran/vla-history.exp: Remove breakpoint.
7312
7313 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7314
7315         * gdb.fortran/vla-history.exp: Lookup array elements and printing
7316         exceeds timeout.
7317
7318 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7319
7320         * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7321         breakpoint.
7322
7323 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7324
7325         * gdb.mi/vla.f90: Nullify pointer after declaration.
7326
7327 2016-03-01  Pedro Alves  <palves@redhat.com>
7328
7329         * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7330
7331 2016-03-01  Pedro Alves  <palves@redhat.com>
7332
7333         * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7334         before anything else.
7335         * gdb.threads/watchpoint-fork-mt.c: Likewise.  Don't define
7336         _GNU_SOURCE here.
7337         * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7338         before anything else.
7339         * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7340
7341 2016-03-01  Pedro Alves  <palves@redhat.com>
7342
7343         * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7344
7345 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7346
7347         * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7348         prepare_for_testing.
7349
7350 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7351
7352         * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7353
7354 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7355
7356         * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7357         manually constructing the output path.
7358
7359 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7360
7361         * gdb.arch/s390-stackless.S: New.
7362         * gdb.arch/s390-stackless.exp: New.
7363
7364 2016-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
7365
7366         * gdb.dlang/circular.c: New file.
7367         * gdb.dlang/circular.exp: New file.
7368
7369 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7370
7371         * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
7372         [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
7373         (testcases): Update.
7374
7375 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7376
7377         * gdb.reverse/aarch64.c: Rename to ...
7378         * gdb.reverse/insn-reverse.c: ... it.
7379         * gdb.reverse/aarch64.exp: Rename to ...
7380         * gdb.reverse/insn-reverse.exp: ... it.
7381
7382 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7383
7384         * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7385         (testcase_ftype): New.
7386         (testcases): New array.
7387         (n_testcases): New.
7388         (main): Call each element in testcases.
7389         * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7390         (read_testcase): New.
7391         Do the tests in a loop.
7392
7393 2016-02-25  Yao Qi  <yao.qi@linaro.org>
7394
7395         * gdb.base/branches.c: Remove.
7396
7397 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7398
7399         PR gdb/13808
7400         * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7401
7402 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7403
7404         * gdb.trace/ftrace.exp: Remove unnecessary target check.
7405
7406 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7407
7408         * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7409         change x86_64 call_insn to 'callq'.
7410
7411 2016-02-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7412
7413         * gdb.trace/tfile-avx.c: Move to...
7414         * gdb.trace/tracefile-pseudo-reg.c: Here.
7415         * gdb.trace/tfile-avx.exp: Move to...
7416         * gdb.trace/tracefile-pseudo-reg.exp: Here.
7417
7418 2016-02-24  Gary Benson <gbenson@redhat.com>
7419
7420         * gdb.base/attach-pie-noexec.exp: Do not expect an error
7421         message on attach.
7422
7423 2016-02-23  Doug Evans  <dje@google.com>
7424
7425         * gdb.base/skip.c (test_skip): New function.
7426         (end_test_skip_file_and_function): New function.
7427         (test_skip_file_and_function): New function.
7428         * gdb.base/skip1.c (test_skip): New function.
7429         (skip1_test_skip_file_and_function): New function.
7430         * gdb.base/skip.exp: Add tests for new skip options.
7431         * gdb.base/skip-solib.exp: Update expected output.
7432         * gdb.perf/skip-command.cc: New file.
7433         * gdb.perf/skip-command.exp: New file.
7434         * gdb.perf/skip-command.py: New file.
7435
7436 2016-02-22  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7437
7438         * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7439         info registers pattern.
7440
7441 2016-02-18  Iain Buclaw  <ibuclaw@gdcproject.org>
7442
7443         * lib/future.exp: Add D support.
7444         (gdb_find_gdc): New proc.
7445         (gdb_default_target_compile): Add D support.
7446
7447 2016-02-18  Wei-cheng Wang  <cole945@gmail.com>
7448
7449         * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7450         user+system time.
7451         (trace_speed_test): Determine the iteration count for a time
7452         between 15..30 seconds.
7453
7454 2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>
7455
7456         * gdb.arch/i386-mpx-sigsegv.c: New file.
7457         * gdb.arch/i386-mpx-sigsegv.exp: New file.
7458         * gdb.arch/i386-mpx-simple_segv.c: New file.
7459         * gdb.arch/i386-mpx-simple_segv.exp: New file.
7460
7461 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7462
7463         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7464         Don't call setup_kfail.
7465
7466 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7467
7468         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7469         Set "set breakpoint condition-evaluation" per $cond_bp_target.
7470
7471 2016-02-16  Doug Evans  <dje@google.com>
7472
7473         * gdb.base/skip.c: Add copyright.  Whitespace cleanup.
7474         * gdb.base/skip1.c: Ditto.
7475         * gdb.base/skip.exp: Whitespace cleanup.
7476
7477 2016-02-16  Don Breazeal  <donb@codesourcery.com>
7478
7479         PR remote/19496
7480         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7481         Remove kfail for PR remote/19496.
7482
7483 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7484
7485         * lib/gdb.exp (standard_temp_file): Return a path specific to
7486         the runtest invocation.
7487
7488 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7489
7490         * gdb.trace/save-trace.exp: Change relative path to be in the
7491         standard output directory.
7492
7493 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7494
7495         * gdb.arch/i386-prologue.c: Add missing prototypes.
7496
7497 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7498
7499         * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7500         * gdb.arch/i386-prologue.exp: Likewise.
7501         * gdb.arch/i386-size.exp: Likewise.
7502
7503 2016-02-15  Simon Marchi  <simon.marchi@ericsson.com>
7504
7505         * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7506         define object file path.
7507         * gdb.btrace/gcore.exp: Use standard_output_file to define core
7508         file path.
7509         * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7510         standard_output_file to define binfile.
7511
7512 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7513
7514         Fix compatibility with recent gfortran-5.3.1.
7515         * gdb.fortran/vla-history.exp (print vla1 allocated)
7516         (print vla2 allocated, print $2, print $3): Remove
7517         (print $4): Rename to ...
7518         (print $2): ... here.
7519         (print $9): Rename to ...
7520         (print $5): ... here.
7521         (print $10): Rename to ...
7522         (print $6): ... here.
7523         * gdb.fortran/vla.f90: Add pvla initialization.
7524
7525 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7526
7527         * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7528         New test.
7529         * gdb.fortran/vla-value-sub.exp: Likewise.
7530
7531 2016-02-12  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7532
7533         * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7534
7535 2016-02-12  Simon Marchi  <simon.marchi@ericsson.com>
7536
7537         * i386-biarch-core.exp: Define corefile using
7538         standard_output_file.
7539
7540 2016-02-12  Yao Qi  <yao.qi@linaro.org>
7541
7542         * gdb.arch/arm-single-step-kernel-helper.c: New.
7543         * gdb.arch/arm-single-step-kernel-helper.exp: New.
7544
7545 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
7546
7547         * gdb.btrace/tailcall-only.exp: New.
7548         * gdb.btrace/tailcall-only.c: New.
7549         * gdb.btrace/x86_64-tailcall-only.S: New.
7550         * gdb.btrace/i686-tailcall-only.S: New.
7551
7552 2016-02-11  Pedro Alves  <palves@redhat.com>
7553
7554         * README (Parallel testing): Add missing double quotes.
7555
7556 2016-02-11  Pedro Alves  <palves@redhat.com>
7557
7558         * README (Parallel testing): New section.
7559         (GDB_PARALLEL): Rewrite.
7560         (FORCE_PARALLEL): Document.
7561
7562 2016-02-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7563
7564         * gdb.trace/tfile-avx.c: New test.
7565         * gdb.trace/tfile-avx.exp: New test.
7566
7567 2016-02-09  Keith Seitz  <keiths@redhat.com>
7568
7569         PR breakpoints/19546
7570         * gdb.base/infcall-exec.c: New file.
7571         * gdb.base/infcall-exec2.c: New file.
7572         * gdb.base/infcall-exec.exp: New file.
7573
7574 2016-02-09  Keith Seitz  <keiths@redhat.com>
7575
7576         * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7577         (toplevel): Call test_bkpt_address.
7578
7579 2016-02-09  Keith Seitz  <keiths@redhat.com>
7580
7581         PR python/19506
7582         * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7583         (toplevel): Call test_bkpt_address.
7584
7585 2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
7586
7587         * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7588         to AC_OUTPUT.
7589         * configure: Regenerate.
7590
7591 2016-02-09  Pedro Alves  <palves@redhat.com>
7592
7593         PR breakpoints/19548
7594         * gdb.base/execl-update-breakpoints.c (some_function): New
7595         function.
7596         (main): Call it.
7597         * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7598         Tighten expected GDB output.
7599
7600 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
7601
7602         * Makefile.in (ALL_SUBDIRS): Remove.
7603         (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7604         (distclean maintainer-clean realclean): Likewise.
7605         * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7606         * configure: Regenerate.
7607         * gdb.ada/Makefile.in: Delete.
7608         * gdb.arch/Makefile.in: Likewise.
7609         * gdb.asm/Makefile.in: Likewise.
7610         * gdb.base/Makefile.in: Likewise.
7611         * gdb.btrace/Makefile.in: Likewise.
7612         * gdb.cell/Makefile.in: Likewise.
7613         * gdb.compile/Makefile.in: Likewise.
7614         * gdb.cp/Makefile.in: Likewise.
7615         * gdb.disasm/Makefile.in: Likewise.
7616         * gdb.dlang/Makefile.in: Likewise.
7617         * gdb.dwarf2/Makefile.in: Likewise.
7618         * gdb.fortran/Makefile.in: Likewise.
7619         * gdb.gdb/Makefile.in: Likewise.
7620         * gdb.go/Makefile.in: Likewise.
7621         * gdb.guile/Makefile.in: Likewise.
7622         * gdb.java/Makefile.in: Likewise.
7623         * gdb.linespec/Makefile.in: Likewise.
7624         * gdb.mi/Makefile.in: Likewise.
7625         * gdb.modula2/Makefile.in: Likewise.
7626         * gdb.multi/Makefile.in: Likewise.
7627         * gdb.objc/Makefile.in: Likewise.
7628         * gdb.opencl/Makefile.in: Likewise.
7629         * gdb.opt/Makefile.in: Likewise.
7630         * gdb.pascal/Makefile.in: Likewise.
7631         * gdb.perf/Makefile.in: Likewise.
7632         * gdb.python/Makefile.in: Likewise.
7633         * gdb.reverse/Makefile.in: Likewise.
7634         * gdb.server/Makefile.in: Likewise.
7635         * gdb.stabs/Makefile.in: Likewise.
7636         * gdb.threads/Makefile.in: Likewise.
7637         * gdb.trace/Makefile.in: Likewise.
7638         * gdb.xml/Makefile.in: Likewise.
7639         * lib/gdb.exp (make_gdb_parallel_path): Add check for
7640         GDB_PARALLEL.
7641         (standard_output_file): Remove check for GDB_PARALLEL, always
7642         return path in outputs/$subdir/$testname.
7643
7644 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
7645
7646         * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7647         (site.exp): Assign abs_srcdir to tcl's srcdir.
7648
7649 2016-02-04  Yao Qi  <yao.qi@linaro.org>
7650
7651         * gdb.base/foll-exec-mode.c: Include limits.h.
7652         (main): Add parameters argc and argv.  Get directory from
7653         argv[0].
7654         * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7655         compilation.
7656         * gdb.base/foll-exec.c: Include limits.h.
7657         (main): Add parameters argc and argv.
7658         Get directory from argv[0].
7659         * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7660         Adjust tests on the number of lines as source code changed.
7661         * gdb.base/foll-vfork-exit.c: Include limits.h.
7662         (main): Add one line of statement before vfork.
7663         * gdb.base/foll-vfork.c: Include limits.h and string.h.
7664         (main): Add parameters argc and argv.  Get directory from
7665         argv[0].
7666         * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7667         (setup_gdb): Set tbreak to skip some source lines.
7668         * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7669         (main): Add parameters argc and argv.  Get directory from
7670         argv[0].
7671         * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7672         compilation.
7673         * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7674         (main): Add parameters argc and argv.  Get directory from
7675         argv[0].
7676         * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7677         compilation.
7678
7679 2016-02-01  Doug Evans  <dje@google.com>
7680
7681         * gdb.base/skip.exp: Clean up multiple references to same test name.
7682
7683 2016-02-01  Pedro Alves  <palves@redhat.com>
7684
7685         PR remote/19496
7686         * gdb.threads/forking-threads-plus-breakpoint.exp
7687         (displaced_stepping_supported): New global.
7688         (probe_displaced_stepping_support): New procedure.
7689         (do_test): Add 'displaced' parameter, and use it.
7690         (top level): Check for displaced stepping support.  Add displaced
7691         stepping on/off testing axis.
7692
7693 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
7694
7695         * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7696         pointer.  Don't perform further tests on the unassociated pointer
7697         if the first test fails.
7698
7699 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
7700
7701         * gdb.base/max-value-size.c: New file.
7702         * gdb.base/max-value-size.exp: New file.
7703         * gdb.base/huge.exp: Disable max-value-size for this test.
7704
7705 2016-01-28  Iain Buclaw  <ibuclaw@gdcproject.org>
7706
7707         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7708
7709 2016-01-28  Yao Qi  <yao.qi@linaro.org>
7710
7711         * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7712
7713 2016-01-25  Pedro Alves  <palves@redhat.com>
7714
7715         PR threads/19461
7716         * gdb.base/fork-running-state.c: New file.
7717         * gdb.base/fork-running-state.exp: New file.
7718
7719 2016-01-25  Pedro Alves  <palves@redhat.com>
7720
7721         PR gdb/19494
7722         * gdb.base/catch-fork-kill.c: New file.
7723         * gdb.base/catch-fork-kill.exp: New file.
7724
7725 2016-01-25  Pedro Alves  <palves@redhat.com>
7726
7727         * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7728         Delete, moved to lib/gdb.exp.
7729         * gdb.threads/forking-threads-plus-breakpoint.exp
7730         (foreach_with_prefix): Likewise.
7731         * gdb.threads/process-dies-while-handling-bp.exp
7732         (foreach_with_prefix): Likewise.
7733         * lib/gdb.exp (foreach_with_prefix): New procedure.
7734
7735 2016-01-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7736
7737         * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7738         * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7739
7740 2016-01-23  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7741
7742         * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7743         endian targets.
7744
7745 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
7746             Pedro Alves  <palves@redhat.com>
7747
7748         Fix testsuite compatibility with Guile.
7749         * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7750         number.
7751
7752 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
7753
7754         Fix testsuite compatibility with Guile.
7755         * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7756         (thread 1): New test for backtrace through signal handler.
7757
7758 2016-01-22  Yao Qi  <yao.qi@linaro.org>
7759
7760         PR testsuite/19491
7761         * gdb.base/multi-forks.c: Include
7762         ../lib/unbuffer_output.c
7763         (main): Call gdb_unbuffer_output.
7764
7765 2016-01-21  Doug Evans  <dje@google.com>
7766
7767         * lib/ada.exp (gdb_compile_ada): Fix typo.
7768
7769 2016-01-21  Joel Brobecker  <brobecker@adacore.com>
7770
7771         * gdb.base/break-fun-addr.exp: New file.
7772         * gdb.base/break-fun-addr1.c: New file.
7773         * gdb.base/break-fun-addr2.c: New file.
7774
7775 2016-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
7776
7777         * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7778         * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7779         enum flag values.
7780
7781 2016-01-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7782
7783         * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7784         when GDB can not set the vector return value.  Add more comments
7785         for clarification.
7786
7787 2016-01-20  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7788
7789         * gdb.trace/tspeed.exp:  Use shlib instead of libs in gdb_compile
7790         command.
7791
7792 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
7793
7794         * Makefile.in (DO_RUNTEST): Add --status and update usages.
7795
7796 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
7797
7798         * Makefile.in (check-single): Pass --status to runtest.
7799         (check/%.exp): Likewise.
7800
7801 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
7802
7803         * Makefile.in (check-parallel): Propagate return code from make
7804         do-check-parallel.
7805
7806 2016-01-19  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7807
7808         * gdb.trace/ftrace.exp: Fix expected message on continue.
7809         * gdb.trace/pending.exp: Fix expected message on continue.
7810         * gdb.trace/trace-break.exp: Fix expected message on continue.
7811
7812 2016-01-18  Simon Marchi  <simon.marchi@ericsson.com>
7813
7814         * lib/gdb.exp (gdb_test): Remove unused global references.
7815
7816 2016-01-18  Pedro Alves  <palves@redhat.com>
7817
7818         * gdb.base/async-shell.exp: Adjust expected output.
7819         * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7820         * gdb.base/siginfo-thread.exp: Adjust expected output.
7821         * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7822         * gdb.java/jnpe.exp: Adjust expected output.
7823         * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7824         * gdb.threads/continue-pending-status.exp: Adjust expected output.
7825         * gdb.threads/leader-exit.exp: Adjust expected output.
7826         * gdb.threads/manythreads.exp: Adjust expected output.
7827         * gdb.threads/pthreads.exp: Adjust expected output.
7828         * gdb.threads/schedlock.exp: Adjust expected output.
7829         * gdb.threads/siginfo-threads.exp: Adjust expected output.
7830         * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
7831         expected output.
7832         * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
7833         output.
7834         * gdb.threads/sigthread.exp: Adjust expected output.
7835         * gdb.threads/watchpoint-fork.exp: Adjust expected output.
7836
7837 2016-01-18  Yao Qi  <yao.qi@linaro.org>
7838
7839         * gdb.guile/scm-section-script.c: Replace @progbits with
7840         %progbits.
7841         * gdb.python/py-section-script.c: Likewise.
7842
7843 2016-01-15  Pedro Alves  <palves@redhat.com>
7844
7845         * gdb.multi/tids.exp: Test star wildcard ranges.
7846
7847 2016-01-15  Pedro Alves  <palves@redhat.com>
7848
7849         * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
7850         command from "thread apply" invocation.
7851         (thr_apply_info_thr_invalid): Default the expected output to the
7852         input tid list.
7853         (top level): Add tests that use convenience variables.  Add tests
7854         for "thread apply" with a valid TID list, but missing the command.
7855
7856 2016-01-13  Pedro Alves  <palves@redhat.com>
7857
7858         * gdb.base/default.exp: Expect $_gthread as well.
7859         * gdb.multi/tids.exp: Test $_gthread.
7860         * gdb.threads/thread-specific.exp: Test $_gthread.
7861
7862 2016-01-13  Pedro Alves  <palves@redhat.com>
7863
7864         * gdb.multi/tids.exp: Test "info threads -gid".
7865
7866 2016-01-13  Pedro Alves  <palves@redhat.com>
7867
7868         * gdb.multi/tids.exp: Test InferiorThread.global_num and
7869         Breakpoint.thread.
7870         * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
7871
7872 2016-01-07  Pedro Alves  <palves@redhat.com>
7873
7874         * gdb.base/break.exp: Adjust to output changes.
7875         * gdb.base/hbreak2.exp: Likewise.
7876         * gdb.base/sepdebug.exp: Likewise.
7877         * gdb.base/watch_thread_num.exp: Likewise.
7878         * gdb.linespec/keywords.exp: Likewise.
7879         * gdb.multi/info-threads.exp: Likewise.
7880         * gdb.threads/thread-find.exp: Likewise.
7881         * gdb.multi/tids.c: New file.
7882         * gdb.multi/tids.exp: New file.
7883
7884 2016-01-13  Pedro Alves  <palves@redhat.com>
7885
7886         * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
7887
7888 2016-01-13  Pedro Alves  <palves@redhat.com>
7889
7890         * gdb.base/default.exp: Expect $_inferior as well.
7891         * gdb.multi/base.exp: Test $_inferior.
7892
7893 2016-01-13  Pedro Alves  <palves@redhat.com>
7894
7895         PR breakpoints/19388
7896         * gdb.base/catch-signal-siginfo-cond.c: New file.
7897         * gdb.base/catch-signal-siginfo-cond.exp: New file.
7898
7899 2016-01-12  Josh Stone  <jistone@redhat.com>
7900             Philippe Waroquiers  <philippe.waroquiers@skynet.be>
7901
7902         * gdb.base/catch-syscall.c (do_execve): New variable.
7903         (main): Conditionally trigger an execve.
7904         * gdb.base/catch-syscall.exp: Enable testing for remote targets.
7905         (test_catch_syscall_execve): New, check entry/return across execve.
7906         (do_syscall_tests): Call test_catch_syscall_execve.
7907
7908 2016-01-12  Pedro Alves  <palves@redhat.com>
7909
7910         * gdb.base/random-signal.exp (do_test): New procedure, with body
7911         of testcase moved in.
7912
7913 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7914             Pedro Alves  <palves@redhat.com>
7915
7916         * gdb.base/funcargs.exp (finish from indirectly called function):
7917         Reintroduce the case for 'First'.
7918
7919 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7920             Pedro Alves  <palves@redhat.com>
7921
7922         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
7923         (tcatch_vfork_then_child_follow_exec)
7924         (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
7925         identification.
7926
7927 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
7928
7929         * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
7930         and repeats to unlimited.
7931         * gdb.python/py-value.exp: Likewise.
7932         * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
7933         and repeats to unlimited.
7934
7935 2016-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7936
7937         * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
7938         and reordering the functions.
7939         * gdb.multi/hangout.c: Likewise.
7940         * gdb.multi/hello.c: Likewise.
7941
7942 2016-01-08  Simon Marchi  <simon.marchi@ericsson.com>
7943
7944         * gdb.perf/lib/perftest/perftest.py: Change relative imports to
7945         absolute.
7946         (SingleStatisticTestResult.report): Use dict.keys instead of
7947         dict.iterkeys.
7948
7949 2016-01-06  Pedro Alves  <palves@redhat.com>
7950
7951         * gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
7952
7953 2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
7954
7955         * gdb.btrace/dlopen.exp: New.
7956         * gdb.btrace/dlopen.c: New.
7957         * gdb.btrace/dlopen-dso.c: New.
7958
7959 2015-12-25  Sandra Loosemore  <sandra@codesourcery.com>
7960
7961         * lib/gdb.exp (gdb_test): Update comments to clarify that the
7962         PATTERN argument is optional.
7963
7964 2015-12-24  Joel Brobecker  <brobecker@adacore.com>
7965
7966         * lib/ada.exp (target_compile_ada_from_dir): New function.
7967         (gdb_compile_ada): Reimplement avoiding the use of project files.
7968         * gdb.ada/gnat_ada.gpr: Delete.
7969         * gdb.ada/cond_lang.exp: Adjust test to make path before
7970         filename optional.
7971         * gdb.ada/small_reg_param.exp: Likewise.
7972
7973 2015-12-22  Simon Marchi  <simon.marchi@ericsson.com>
7974
7975         * gdb.base/foll-vork.exp: Remove HP-UX special case.
7976
7977 2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>
7978
7979         * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
7980         case.
7981
7982 2015-12-21  Simon Marchi  <simon.marchi@ericsson.com>
7983
7984         * gdb.base/break.exp: Remove dead code.
7985         * gdb.base/sepdebug.exp: Likewise.
7986
7987 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
7988
7989         * gdb.asm/asm-source.exp: Remove HP-UX references.
7990         * gdb.base/annota1.exp: Likewise.
7991         * gdb.base/annota3.exp: Likewise.
7992         * gdb.base/attach.exp: Likewise.
7993         * gdb.base/bigcore.exp: Likewise.
7994         * gdb.base/break.exp: Likewise.
7995         * gdb.base/call-ar-st.exp: Likewise.
7996         * gdb.base/callfuncs.exp: Likewise.
7997         * gdb.base/catch-fork-static.exp: Likewise.
7998         * gdb.base/display.exp: Likewise.
7999         * gdb.base/foll-exec-mode.exp: Likewise.
8000         * gdb.base/foll-exec.exp: Likewise.
8001         * gdb.base/foll-fork.exp: Likewise.
8002         * gdb.base/foll-vfork.exp: Likewise.
8003         * gdb.base/funcargs.exp: Likewise.
8004         * gdb.base/hbreak2.exp: Likewise.
8005         * gdb.base/inferior-died.exp: Likewise.
8006         * gdb.base/interrupt.exp: Likewise.
8007         * gdb.base/multi-forks.exp: Likewise.
8008         * gdb.base/nodebug.exp: Likewise.
8009         * gdb.base/sepdebug.exp: Likewise.
8010         * gdb.base/solib1.c: Likewise.
8011         * gdb.base/step-test.exp: Likewise.
8012         * gdb.mi/non-stop.c: Likewise.
8013         * gdb.mi/pthreads.c: Likewise.
8014         * gdb.multi/bkpt-multi-exec.ex: Likewise.
8015         * gdb.threads/pthreads.c: Likewise.
8016         * gdb.threads/staticthreads.exp: Likewise.
8017         * lib/future.exp: Likewise.
8018         * lib/gdb.exp: Likewise.
8019         * gdb.base/so-indr-cl.c: Remove.
8020         * gdb.base/so-indr-cl.exp: Likewise.
8021         * gdb.base/solib.c: Likewise.
8022         * gdb.base/solib.exp: Likewise.
8023         * gdb.base/solib2.c: Likewise.
8024
8025 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8026
8027         * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
8028         * gdb.base/call-ar-st.exp: Likewise.
8029         * gdb.base/callfuncs.exp: Likewise.
8030         * gdb.base/condbreak.exp: Likewise.
8031         * gdb.base/constvars.exp: Likewise.
8032         * gdb.base/hbreak2.exp: Likewise.
8033         * gdb.base/langs.exp: Likewise.
8034         * gdb.base/list.exp: Likewise.
8035         * gdb.base/long_long.exp: Likewise.
8036         * gdb.base/ptype.exp: Likewise.
8037         * gdb.base/scope.exp: Likewise.
8038         * gdb.base/signals.exp: Likewise.
8039         * gdb.base/so-impl-ld.exp: Likewise.
8040         * gdb.base/varargs.exp: Likewise.
8041         * gdb.base/volatile.exp: Likewise.
8042         * gdb.base/whatis.exp: Likewise.
8043         * gdb.cp/cplusfuncs.exp: Likewise.
8044         * gdb.cp/inherit.exp: Likewise.
8045         * gdb.cp/local.exp: Likewise.
8046         * gdb.cp/member-ptr.exp: Likewise.
8047         * gdb.cp/method.exp: Likewise.
8048         * gdb.cp/overload.exp: Likewise.
8049         * gdb.cp/templates.exp: Likewise.
8050         * gdb.stabs/weird.exp: Likewise.
8051         * lib/compiler.c: Likewise.
8052         * lib/compiler.cc: Likewise.
8053         * lib/cp-support.exp: Likewise.
8054         * lib/gdb.exp: Likewise.
8055
8056 2015-12-20  Simon Marchi  <simon.marchi@polymtl.ca>
8057
8058         * configure.ac: Remove HP-UX case.
8059         * configure: Regenerate.
8060
8061 2015-12-18  Simon Marchi  <simon.marchi@ericsson.com>
8062
8063         * lib/gdb.exp (gdb_compile): Add function doc.
8064
8065 2015-12-17  Pedro Alves  <palves@redhat.com>
8066
8067         PR threads/19354
8068         * gdb.multi/info-threads.exp: New file.
8069
8070 2015-12-15  Yao Qi  <yao.qi@linaro.org>
8071
8072         * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
8073         is aarch64*-*-*.
8074
8075 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8076
8077         * gdb.base/history-duplicates.exp: Skip if no readline support.
8078
8079 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8080
8081         * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
8082
8083 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8084
8085         * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
8086
8087 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8088
8089         * gdb.base/completion.exp: Skip tests that interrupt GDB with
8090         ctrl-C if nointerrupts target property is set.
8091         * gdb.base/double-prompt-target-event-error.exp: Likewise.
8092         * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
8093         * gdb.base/paginate-bg-execution.exp: Likewise.
8094         * gdb.base/paginate-execution-startup.exp: Likewise.
8095         * gdb.base/random-signal.exp: Likewise.
8096         * gdb.base/range-stepping.exp: Likewise.
8097         * gdb.cp/annota2.exp: Likewise.
8098         * gdb.cp/annota3.exp: Likewise.
8099         * gdb.gdb/selftest.exp: Likewise.
8100         * gdb.threads/continue-pending-status.exp: Likewise.
8101         * gdb.threads/leader-exit.exp: Likewise.
8102         * gdb.threads/manythreads.exp: Likewise.
8103         * gdb.threads/pthreads.exp: Likewise.
8104         * gdb.threads/schedlock.exp: Likewise.
8105         * gdb.threads/sigthread.exp: Likewise.
8106
8107 2015-12-11  Don Breazeal  <donb@codesourcery.com>
8108
8109         * gdb.base/execl-update-breakpoints.exp (main): Enable for target
8110         remote.
8111         * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
8112         * gdb.base/foll-exec.exp (main): Enable for target remote.
8113         * gdb.base/foll-fork.exp (main): Likewise.
8114         * gdb.base/foll-vfork.exp (main): Likewise.
8115         * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
8116         (proc continue_to_exit_bp_loc): Use clean_restart.
8117         * gdb.base/pie-execl.exp (main): Disable for target remote.
8118         * gdb.base/watch-vfork.exp (main): Enable for target remote.
8119         * gdb.mi/mi-nsthrexec.exp (main): Likewise.
8120         * gdb.threads/execl.exp (main): Likewise.
8121         * gdb.threads/fork-child-threads.exp (main): Likewise.
8122         * gdb.threads/fork-plus-threads.exp (main): Disable for target
8123         remote.
8124         * gdb.threads/fork-thread-pending.exp (main): Enable for target
8125         remote.
8126         * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
8127         pid.tid style ptids, instead of just tid.
8128         * gdb.threads/thread-execl.exp (main): Enable for target remote.
8129         * gdb.threads/watchpoint-fork.exp (main): Likewise.
8130         * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
8131         ptids, instead of just tid.
8132
8133 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8134
8135         * gdb.base/list.exp (test_list_forward): Add end of file error
8136         test.
8137         (test_repeat_list_command): Add end of file error test.
8138         (test_list_backwards): Add beginning of file error test.
8139
8140 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8141
8142         * gdb.base/list.exp (test_list_invalid_args): New function,
8143         defined, and called.
8144
8145 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8146
8147         * gdb.base/list.exp (test_list): Make test names unique.
8148
8149 2015-12-11  Yao Qi  <yao.qi@linaro.org>
8150
8151         * gdb.base/coremaker2.c: Remove.
8152
8153 2015-12-10  Pedro Alves  <palves@redhat.com>
8154
8155         * gdb.multi/base.exp: Remove stale "spaces" references.
8156
8157 2015-12-10  Pedro Alves  <palves@redhat.com>
8158
8159         * gdb.multi/base.exp: Don't use nowarnings.
8160         * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
8161         * gdb.multi/hangout.c: Include stdio.h.
8162         * gdb.multi/hello.c: Include stdlib.h.
8163         * gdb.multi/multi-arch-exec.c: Include stdlib.h.
8164         * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
8165         * gdb.multi/multi-arch.exp: Don't use nowarnings.
8166
8167 2015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
8168
8169         * gdb.dwarf2/dw2-ranges-base.c: New file.
8170         * gdb.dwarf2/dw2-ranges-base.exp: New file.
8171         * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
8172         support additional line table, and debug ranges generation.
8173         (Dwarf::ranges): New function, generate .debug_ranges.
8174         (Dwarf::lines): Support generating simple line table programs.
8175         (Dwarf::assemble): Initialise new namespace variables.
8176
8177 2015-12-09  Kevin Buettner  <kevinb@redhat.com>
8178
8179         * gdb.base/async.exp (proc test_background): Add case for
8180         asynchronous execution not supported.
8181
8182 2015-12-09  Luis Machado  <lgustavo@codesourcery.com>
8183
8184         * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
8185           format and change test names to make them unique.
8186
8187 2015-12-09  Ruslan Kabatsayev  <b7.10110111@gmail.com>
8188             Pedro Alves  <pedro@redhat.com>
8189
8190         PR gdb/18702
8191         Add checking of floatformats setup on x86_64 hosts.
8192         * gdb.arch/i386-float.S (main): Load bigval and smallval.
8193         (smallval, bigval): New labels/constants.
8194         * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
8195         float" after loading bigval and smallval.
8196
8197 2015-12-07  Pierre-Marie de Rodat  <derodat@adacore.com>
8198
8199         * gdb.ada/fun_overload_menu.exp: New testcase.
8200         * gdb.ada/fun_overload_menu/foo.adb: New testcase.
8201
8202 2015-12-04  Josh Stone  <jistone@redhat.com>
8203
8204         * gdb.base/catch-fork-static.exp: New.
8205
8206 2015-12-03  Yao Qi  <yao.qi@linaro.org>
8207
8208         * gdb.base/sizeof.c: Don't include stdio.h and
8209         ../lib/unbuffer_output.c.
8210         (main): New variable 'size' and 'value'.  Remove printf and
8211         gdb_unbuffer_output.  Assign return value to size and value.
8212         * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
8213         at the beginning.
8214         (check_sizeof): Check the result by printing variable 'size'.
8215         (check_valueof): Check the result by printing variable 'value'.
8216
8217 2015-12-01  Yao Qi  <yao.qi@linaro.org>
8218
8219         * gdb.base/disp-step-syscall.exp: Define syscall instruction
8220         for aarch64*-*-linux* target.
8221
8222 2015-11-30  Pedro Alves  <palves@redhat.com>
8223
8224         * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
8225
8226 2015-11-30  Pedro Alves  <palves@redhat.com>
8227
8228         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
8229         Handle non-stop mode vCont replies.
8230
8231 2015-11-30  Pedro Alves  <palves@redhat.com>
8232
8233         * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
8234         prepare_for_testing.  Start gdb with "set non-stop on" appended to
8235         GDBFLAGS.  Lax expected stop output.
8236
8237 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8238
8239         * gdb.arch/arm-neon.exp: New.
8240         * gdb.arch/arm-neon.c: New.
8241
8242 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8243
8244         * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
8245
8246 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8247
8248         * gdb.cp/annota2.exp: Allow multiple occurrences of the
8249         frames-invalid annotation.
8250
8251 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8252
8253         * gdb.cp/annota2.exp: Use ${frames_invalid}.
8254
8255 2015-11-26  Simon Marchi  <simon.marchi@ericsson.com>
8256
8257         * gdb.threads/names.exp: New file.
8258         * gdb.threads/names.c: New file.
8259         * README: Mention gdb,no_thread_names.
8260
8261 2015-11-26  Markus Metzger  <markus.t.metzger@intel.com>
8262
8263         PR 19297
8264         * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
8265         support" error.
8266
8267 2015-11-24  Pedro Alves  <palves@redhat.com>
8268
8269         PR 17539
8270         * gdb.base/display.exp: Expect displays to be sorted in ascending
8271         order.  Use multi_line.
8272         * gdb.base/solib-display.exp: Likewise.
8273
8274 2015-11-24  Pedro Alves  <palves@redhat.com>
8275
8276         PR 17539
8277         * gdb.base/display.exp: Expect displays to be sorted in ascending
8278         order.  Use multi_line.
8279         * gdb.base/solib-display.exp: Likewise.
8280
8281 2015-11-24  Pedro Alves  <palves@redhat.com>
8282
8283         PR 17539
8284         * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8285         threads in ascending order.
8286         * gdb.base/foll-fork.exp: Likewise.
8287         * gdb.base/foll-vfork.exp: Likewise.
8288         * gdb.base/multi-forks.exp: Likewise.
8289         * gdb.mi/mi-nonstop.exp: Likewise.
8290         * gdb.mi/mi-nsintrall.exp: Likewise.
8291         * gdb.multi/base.exp: Likewise.
8292         * gdb.multi/multi-arch.exp: Likewise.
8293         * gdb.python/py-inferior.exp: Likewise.
8294         * gdb.threads/break-while-running.exp: Likewise.
8295         * gdb.threads/execl.exp: Likewise.
8296         * gdb.threads/gcore-thread.exp: Likewise.
8297         * gdb.threads/info-threads-cur-sal.exp: Likewise.
8298         * gdb.threads/kill.exp: Likewise.
8299         * gdb.threads/linux-dp.exp: Likewise.
8300         * gdb.threads/multiple-step-overs.exp: Likewise.
8301         * gdb.threads/next-bp-other-thread.exp: Likewise.
8302         * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8303         * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8304         * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8305         * gdb.threads/thread-find.exp: Likewise.
8306         * gdb.threads/tls.exp: Likewise.
8307         * lib/mi-support.exp (mi_reverse_list): Delete.
8308         (mi_check_thread_states): No longer reverse list.
8309
8310 2015-11-24  Pedro Alves  <palves@redhat.com>
8311
8312         * gdb.python/py-inferior.exp: Use with_test_prefix.  Consistently
8313         use lowercase.
8314
8315 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8316
8317         * gdb.trace/actions.c: Include trace-common.h.
8318         (main): Add a location for a fast tracepoint.
8319         * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8320         the normal tracepoints.
8321         (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8322
8323 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8324
8325         * save-trace.exp: Factor out code to these...
8326         (gdb_save_tracepoints): New.
8327         (gdb_load_tracepoints): New.
8328         (do_save_load_test): New.
8329
8330 2015-11-23  Kevin Buettner  <kevinb@redhat.com>
8331
8332         * gdb.base/asmlabel.exp: New test.
8333         * gdb.base/asmlabel.c: New test case.
8334
8335 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8336
8337         * gdb.base/wrong_frame_bt_full-main.c: New file.
8338         * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8339         * gdb.base/wrong_frame_bt_full.exp: New file.
8340
8341 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8342
8343         * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8344
8345 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8346
8347         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8348         pstate register when comparing registers values in
8349         sparc64-*-linux-gnu targets to avoid spurious differences.
8350
8351 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8352
8353         * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8354
8355 2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>
8356
8357         * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8358         as type argument to gdb_compile.
8359         * gdb.base/nested-subp2.exp: Likewise.
8360         * gdb.base/nested-subp3.exp: Likewise.
8361
8362 2015-11-17  Dominik Vogt  <vogt@linux.vnet.ibm.com>
8363
8364         * lib/dwarf.exp (_note): Fix left shift of negative value.
8365         * gdb.trace/trace-condition.exp: Likewise.
8366
8367 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8368
8369         * gdb.base/call-sc.exp (test_scalar_returns): Remove the
8370         comments about d10v.
8371         (test_scalar_returns): Likewise.
8372         * gdb.base/d10v.ld: Remove.
8373         * gdb.base/overlays.exp: Remove the target triplet checking for
8374         d10v-*-*.
8375         * gdb.base/structs.exp (test_struct_returns): Remove the
8376         comments about d10v.
8377         (test_struct_calls): Likewise.
8378
8379 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8380
8381         * gdb.base/gnu_vector.exp: Check the return value by "p res".
8382         * gdb.base/gnu_vector.c: Don't include stdio.h.
8383         (main): Don't print res and call add_some_intvecs.
8384
8385 2015-11-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8386
8387         * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8388         macro.
8389         (func5): Removed.
8390         (func4): Use FAST_TRACEPOINT_LABEL.
8391         * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8392         macro.
8393         (func): Removed.
8394         (thread_function): Use FAST_TRACEPOINT_LABEL.
8395         * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8396         (func): Remove.
8397         (marker): Use FAST_TRACEPOINT_LABEL.
8398         * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8399         (pendfunc1): Remove.
8400         (pendfunc): Use FAST_TRACEPOINT_LABEL.
8401         * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8402         (foo): Remove.
8403         (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8404         * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8405         macro.
8406         (func): Remove.
8407         (marker): Use FAST_TRACEPOINT_LABEL.
8408         * gdb.trace/trace-common.h: New header.
8409         * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8410         macro.
8411         (func): Remove.
8412         (marker): Use FAST_TRACEPOINT_LABEL.
8413         * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8414         (func): Remove.
8415         (thread_function): Use FAST_TRACEPOINT_LABEL.
8416
8417 2015-11-10  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8418
8419         * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8420         in front.
8421         * gdb.trace/change-loc.exp: Use global pcreg definition.
8422         * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8423         * gdb.trace/entry-values.exp: Use global spreg definition, add $
8424         in front.
8425         * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8426         * gdb.trace/pending.exp: Likewise.
8427         * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8428         * gdb.trace/trace-break.exp: Likewise.
8429         * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8430         in front.
8431         * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8432         * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8433         in front.
8434         * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8435
8436 2015-11-09  Joel Brobecker  <brobecker@adacore.com>
8437
8438         * gdb.ada/fin_fun_out: New testcase.
8439
8440 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8441
8442         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8443         value associated with DW_AT_byte_size.
8444         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8445         constants for DW_AT_byte_size, DW_AT_lower_bound, and
8446         DW_AT_upper_bound.
8447
8448 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8449
8450         * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8451         (gdb_target_symbol_prefix_flags): Define in terms of _asm
8452         version.
8453         * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8454         gdb.dwarf2/dw2-canonicalize-type.exp,
8455         gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8456         gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8457         gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8458         provided by gdb_target_symbol_prefix_flags_asm.
8459         * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8460         testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8461         testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8462         testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8463         gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8464         macros where needed).  Use this macro for symbols which require
8465         the prefix provided by SYMBOL_PREFIX.
8466
8467 2015-11-05  Kevin Buettner  <kevinb@redhat.com>
8468
8469         * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8470         New procs.
8471         * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8472         representing expressions, of more than one list element.
8473         * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8474         to prepend linker symbol prefix to f.
8475         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8476         table_1 and table_2.
8477         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8478         Likewise, for f and g.
8479         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8480         for ptr.
8481         * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8482         for main.
8483         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8484         table_1_ptr and table_2_ptr.
8485
8486 2015-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
8487             Joel Brobecker  <brobecker@adacore.com>
8488
8489         * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8490
8491 2015-11-04  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8492
8493         * gdb.reverse/s390-mvcle.c: New test.
8494         * gdb.reverse/s390-mvcle.exp: New file.
8495         * lib/gdb.exp: Enable reverse tests on s390*-linux.
8496
8497 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8498
8499         * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8500
8501 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8502
8503         * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8504         reaching marker2.
8505         * gdb.reverse/getresuid-reverse.exp: Likewise.
8506         * gdb.reverse/pipe-reverse.exp: Likewise.
8507         * gdb.reverse/readv-reverse.exp: Likewise.
8508         * gdb.reverse/recvmsg-reverse.exp: Likewise.
8509         * gdb.reverse/time-reverse.exp: Likewise.
8510         * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8511
8512 2015-10-30  Yao Qi  <yao.qi@linaro.org>
8513
8514         * gdb.threads/wp-replication.c (watch_count_done): Remove.
8515         (empty_cycle): Remove.
8516         (main): Don't call empty_cycle.  Don't use watch_count_done.
8517         * gdb.threads/wp-replication.exp: Don't set breakpoint on
8518         empty_cycle.  Rewrite the code counting HW watchpoints.
8519
8520 2015-10-30  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8521
8522         * gdb.reverse/fstatat-reverse.c: New test.
8523         * gdb.reverse/fstatat-reverse.exp: New file.
8524         * gdb.reverse/getresuid-reverse.c: New test.
8525         * gdb.reverse/getresuid-reverse.exp: New file.
8526         * gdb.reverse/pipe-reverse.c: New test.
8527         * gdb.reverse/pipe-reverse.exp: New file.
8528         * gdb.reverse/readv-reverse.c: New test.
8529         * gdb.reverse/readv-reverse.exp: New file.
8530         * gdb.reverse/recvmsg-reverse.c: New test.
8531         * gdb.reverse/recvmsg-reverse.exp: New file.
8532         * gdb.reverse/time-reverse.c: New test.
8533         * gdb.reverse/time-reverse.exp: New file.
8534         * gdb.reverse/waitpid-reverse.c: New test.
8535         * gdb.reverse/waitpid-reverse.exp: New file.
8536
8537 2015-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8538
8539         * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8540
8541 2015-10-26  Doug Evans  <dje@google.com>
8542
8543         PR symtab/17391
8544         * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8545         * gdb.dwarf2/bad-regnum.c: New file.
8546         * gdb.dwarf2/bad-regnum.exp: New file.
8547
8548 2015-10-26  Doug Evans  <dje@google.com>
8549
8550         PR python/18938
8551         * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8552         file.
8553
8554 2015-10-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8555
8556         * gdb.compile/compile.exp (compile code globalvar): Update expectation
8557         for a change by "Mention language in compile error message".
8558
8559 2015-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
8560
8561         PR python/18073
8562         * gdb.python/py-type.c (C::a_method): New.
8563         (C::a_const_method): New.
8564         (C::a_static_method): New.
8565         (a_function): New.
8566         * gdb.python/py-type.exp (test_fields): Test getting fields
8567         from function and method.
8568
8569 2015-10-21  Keven Boell  <keven.boell@intel.com>
8570
8571         * gdb.fortran/vla-alloc-assoc.exp: New file.
8572         * gdb.fortran/vla-datatypes.exp: New file.
8573         * gdb.fortran/vla-datatypes.f90: New file.
8574         * gdb.fortran/vla-history.exp: New file.
8575         * gdb.fortran/vla-ptype-sub.exp: New file.
8576         * gdb.fortran/vla-ptype.exp: New file.
8577         * gdb.fortran/vla-sizeof.exp: New file.
8578         * gdb.fortran/vla-sub.f90: New file.
8579         * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8580         * gdb.fortran/vla-value-sub-finish.exp: New file.
8581         * gdb.fortran/vla-value-sub.exp: New file.
8582         * gdb.fortran/vla-value.exp: New file.
8583         * gdb.fortran/vla-ptr-info.exp: New file.
8584         * gdb.mi/mi-vla-fortran.exp: New file.
8585         * gdb.mi/vla.f90: New file.
8586
8587 2015-10-21  Sandra Loosemore  <sandra@codesourcery.com>
8588
8589         * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8590         of hardwired timeout value.
8591
8592 2015-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
8593             Pedro Alves  <palves@redhat.com>
8594
8595         * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8596         * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8597
8598 2015-10-19  Josh Stone  <jistone@redhat.com>
8599
8600         * gdb.base/catch-syscall.c: Include <sched.h>.
8601         (unknown_syscall): New variable.
8602         (main): Trigger a vfork and an unknown syscall.
8603         * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8604         (unknown_syscall_number): Likewise.
8605         (check_call_to_syscall): Accept an optional syscall pattern.
8606         (check_return_from_syscall): Likewise.
8607         (check_continue): Likewise.
8608         (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8609         (test_catch_syscall_skipping_return): New test toggling off 'catch
8610         syscall' to step over the syscall return, then toggling back on.
8611         (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8612         during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8613         (do_syscall_tests): Call test_catch_syscall_without_args and
8614         test_catch_syscall_mid_vfork.
8615         (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8616         (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8617
8618 2015-10-19  Andrew Stubbs  <ams@codesourcery.com>
8619
8620         * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8621         print g_vE): Add new pass patterns.
8622         * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8623         print various symbol names for vptr fields.
8624
8625 2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
8626
8627         * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8628         results.
8629
8630 2015-10-12  Yao Qi  <yao.qi@linaro.org>
8631
8632         * gdb.arch/disp-step-insn-reloc.exp: New test case.
8633
8634 2015-10-12  Yao Qi  <yao.qi@linaro.org>
8635
8636         * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8637         is aarch64*-*-linux*.
8638
8639 2015-10-12  Yao Qi  <yao.qi@linaro.org>
8640
8641         * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8642         (can_relocate_bcond_true): ... it.
8643         (can_relocate_bcond_false): New function.
8644         (foo): Likewise.
8645         (can_relocate_bl): Likewise.
8646         (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8647         can_relocate_bl.
8648
8649 2015-10-12  Pierre-Marie de Rodat  <derodat@adacore.com>
8650
8651         * gdb.base/nested-addr.c: New file.
8652         * gdb.base/nested-addr.exp: New testcase.
8653
8654 2015-10-09  Markus Metzger  <markus.t.metzger@intel.com>
8655
8656         * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8657         * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8658         its output.  Ignore the output of "record goto begin" and instead
8659         check that GDB is replaying.
8660
8661 2015-10-09  Pedro Alves  <palves@redhat.com>
8662
8663         * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8664         (top level): Use it in the run with no args test.
8665
8666 2015-10-08  Iain Buclaw  <ibuclaw@gdcproject.org>
8667
8668         * gdb.dlang/properties.exp: New file.
8669
8670 2015-10-02  Sandra Loosemore  <sandra@codesourcery.com>
8671
8672         * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8673         whether or not address 0x1000 is mapped on the target.
8674
8675 2015-09-30  Simon Marchi  <simon.marchi@ericsson.com>
8676
8677         * gdb.python/py-type.exp: Do not run tests if binaries fail to
8678         build.
8679
8680 2015-09-30  Markus Metzger  <markus.t.metzger@intel.com>
8681
8682         * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8683         instruction-history test.
8684
8685 2015-09-28  Doug Evans  <dje@google.com>
8686
8687         * gdb.base/gcore.c (array_func): Add reference to static_array.
8688
8689 2015-09-25  Simon Marchi  <simon.marchi@ericsson.com>
8690
8691         * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8692         source line.
8693
8694 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8695
8696         * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8697         short or char as base type.
8698
8699 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8700
8701         * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8702         to allow any size enum.
8703
8704 2015-09-23  Pierre-Marie de Rodat  <derodat@adacore.com>
8705
8706         * gdb.ada/array_ptr_renaming.exp: New testcase.
8707         * gdb.ada/array_ptr_renaming/foo.adb: New file.
8708         * gdb.ada/array_ptr_renaming/pack.ads: New file.
8709
8710 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
8711
8712         * gdb.trace/ftrace-lock.c: New file.
8713         * gdb.trace/ftrace-lock.exp: New file.
8714
8715 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
8716
8717         * gdb.arch/insn-reloc.c: New file.
8718         * gdb.arch/ftrace-insn-reloc.exp: New file.
8719
8720 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
8721
8722         * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8723         instruction.
8724         * gdb.trace/pendshr1.c (pendfunc): Likewise.
8725         * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8726         * gdb.trace/range-stepping.c: Likewise.
8727         * gdb.trace/trace-break.c: Likewise.
8728         * gdb.trace/trace-mt.c (thread_function): Likewise.
8729         * gdb.trace/ftrace.c (marker): Likewise.
8730         * gdb.trace/trace-condition.c (marker): Likewise.
8731         * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8732         * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8733         is_aarch64_target.
8734
8735 2015-09-18  Doug Evans  <xdje42@gmail.com>
8736
8737         * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8738         * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8739
8740 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8741
8742         * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8743         the breakpoint.
8744
8745 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8746
8747         * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8748         the pending breakpoint.  Remove timeout override for "Run till
8749         MI pending breakpoint on pendfunc3 on thread 2" test.
8750
8751 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8752
8753         * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8754         filename pattern.
8755
8756 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8757
8758         * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8759         in breakpoint filename pattern.
8760
8761 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8762
8763         * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8764
8765 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8766
8767         * gdb.linespec/explicit.exp: Check for readline support for
8768         tab-completion tests.  Fix obvious typo.
8769
8770 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
8771
8772         * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8773         and replay.
8774
8775 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
8776
8777         * gdb.btrace/non-stop.c: New.
8778         * gdb.btrace/non-stop.exp: New.
8779
8780 2015-09-17  Pierre Langlois  <pierre.langlois@arm.com>
8781             Yao Qi  <yao.qi@linaro.org>
8782
8783         * gdb.trace/trace-condition.c: New file.
8784         * gdb.trace/trace-condition.exp: New file.
8785
8786 2015-09-16  Wei-cheng Wang  <cole945@gmail.com>
8787
8788         * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8789         for testing bytecode compilation.
8790
8791 2015-09-16  Pedro Alves  <palves@redhat.com>
8792             Sandra Loosemore <sandra@codesourcery.com>
8793
8794         * gdb.threads/non-stop-fair-events.c (timeout): New global.
8795         (SECONDS): Redefine.
8796         (main): Call pthread_kill and alarm early.
8797         * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8798         support.
8799         (test): If the target can't hardware step and doesn't support
8800         displaced stepping, increase the timeout.
8801
8802 2015-09-16  Pedro Alves  <palves@redhat.com>
8803
8804         * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8805         (enable_debug): New procedures.
8806         (test): Use them.  Bail out if waiting for threads fails.
8807         (top level): Bail out if a test fails.
8808
8809 2015-09-16  Yao Qi  <yao.qi@linaro.org>
8810
8811         * gdb.asm/asm-source.exp: Set asm-arch for
8812         aarch64*-*-* target.
8813         * gdb.asm/aarch64.inc: New file.
8814
8815 2015-09-15  Pierre-Marie de Rodat  <derodat@adacore.com>
8816
8817         * gdb.ada/array_of_variable_length.exp: New testcase.
8818         * gdb.ada/array_of_variable_length/foo.adb: New file.
8819         * gdb.ada/array_of_variable_length/pck.adb: New file.
8820         * gdb.ada/array_of_variable_length/pck.ads: New file.
8821
8822 2015-09-15  Doug Evans  <dje@google.com>
8823
8824         * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
8825         of function static local variable.
8826
8827 2015-09-15  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
8828
8829         * gdb.threads/tls-so_extern.exp: New test file.
8830         * gdb.threads/tls-so_extern.c: New test file.
8831         * gdb.threads/tls-so_extern_main.c: New test file.
8832
8833 2015-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
8834
8835         * gdb.opt/solib-intra-step-lib.c: New file.
8836         * gdb.opt/solib-intra-step-main.c: New file.
8837         * gdb.opt/solib-intra-step.exp: New file.
8838
8839 2015-09-15  Pedro Alves  <palves@redhat.com>
8840
8841         * gdb.threads/non-ldr-exc-3.exp (do_test): Use
8842         gdb_continue_to_breakpoint instead of gdb_test_multiple.
8843
8844 2015-09-14  Pedro Alves  <palves@redhat.com>
8845
8846         * gdb.base/hook-stop-continue.c: Delete.
8847         * gdb.base/hook-stop-continue.exp: Delete.
8848         * gdb.base/hook-stop-frame.c: Delete.
8849         * gdb.base/hook-stop-frame.exp: Delete.
8850         * gdb.base/hook-stop.c: New file.
8851         * gdb.base/hook-stop.exp: New file.
8852
8853 2015-09-14  Pierre-Marie de Rodat  <derodat@adacore.com>
8854
8855         * gdb.ada/access_to_packed_array.exp: New testcase.
8856         * gdb.ada/access_to_packed_array/foo.adb: New file.
8857         * gdb.ada/access_to_packed_array/pack.adb: New file.
8858         * gdb.ada/access_to_packed_array/pack.ads: New file.
8859
8860 2015-09-14  Markus Metzger  <markus.t.metzger@intel.com>
8861
8862         * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
8863         buffer size test.
8864
8865 2015-09-11  Don Breazeal  <donb@codesourcery.com>
8866
8867         * gdb.base/foll-exec.c: Add copyright header.  Fix
8868         formatting issues.
8869         * gdb.base/foll-exec.exp (zap_session): Delete proc.
8870         (do_exec_tests): Use clean_restart in place of zap_session,
8871         and for test initialization.  Fix formatting issues.  Use
8872         fail in place of perror.
8873         * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
8874         an expect statement to match an expression with output from
8875         the program under debug.
8876         * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
8877         non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
8878         * gdb.threads/non-ldr-exc-2.exp: Likewise.
8879         * gdb.threads/non-ldr-exc-3.exp: Likewise.
8880         * gdb.threads/non-ldr-exc-4.exp: Likewise.
8881
8882 2015-09-09  Doug Evans  <dje@google.com>
8883
8884         * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
8885
8886 2015-09-09  Doug Evans  <dje@google.com>
8887
8888         * gdb.base/pie-execl.exp: Fix result test of build_executable.
8889
8890 2015-09-09  Doug Evans  <dje@google.com>
8891
8892         * gdb.base/savedregs.exp: Fix typo.
8893
8894 2015-09-09  Pedro Alves  <palves@redhat.com>
8895
8896         * gdb.mi/mi-cli.exp: Add CLI finish tests.
8897
8898 2015-09-08  Sandra Loosemore  <sandra@codesourcery.com>
8899
8900         * gdb.threads/hand-call-in-threads.exp: Make sure the thread
8901         command actually switches threads.  Give up on remaining
8902         tests if target fails to stop at breakpoint.
8903
8904 2015-09-03  Pierre-Marie de Rodat  <derodat@adacore.com>
8905
8906         * gdb.ada/funcall_char.exp: New testcase.
8907         * gdb.ada/funcall_char/foo.adb: New file.
8908
8909 2015-09-01  Pierre-Marie de Rodat  <derodat@adacore.com>
8910
8911         * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
8912         expected outputs.  Add two testcases for completing ambiguous
8913         functions.
8914         * gdb.ada/complete/aux_pck.adb: New file.
8915         * gdb.ada/complete/aux_pck.ads: New file.
8916         * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
8917         Ambiguous_Func functions.
8918         * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
8919         * gdb.ada/complete/pck.adb: Likewise.
8920
8921 2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
8922
8923         * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
8924         failures to run the test program under GDB.
8925
8926 2015-08-26  Luis Machado  <lgustavo@codesourcery.com>
8927
8928         * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
8929         to C.
8930
8931 2015-08-26  Patrick Palka  <patrick@parcs.ath.cx>
8932
8933         * gdb.base/run-after-attach.exp: New test file.
8934         * gdb.base/run-after-attach.c: New test file.
8935
8936 2015-08-26  Don Breazeal  <donb@codesourcery.com>
8937
8938         * gdb.base/foll-exec-2.c: New test program.
8939         * gdb.base/foll-exec-2.exp: New test.
8940
8941 2015-08-25  Pierre-Marie de Rodat  <derodat@adacore.com>
8942
8943         * gdb.base/nested-subp1.exp: New file.
8944         * gdb.base/nested-subp1.c: New file.
8945         * gdb.base/nested-subp2.exp: New file.
8946         * gdb.base/nested-subp2.c: New file.
8947         * gdb.base/nested-subp3.exp: New file.
8948         * gdb.base/nested-subp3.c: New file.
8949
8950 2015-08-24  Pedro Alves  <palves@redhat.com>
8951
8952         * gdb.server/connect-without-multi-process.c: New file.
8953         * gdb.server/connect-without-multi-process.exp: New file.
8954
8955 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
8956
8957         * gdb.opt/inline-markers.c: Make z int.
8958
8959 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
8960
8961         * gdb.opt/inline-markers.c: Make z volatile.
8962
8963 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
8964
8965         * gdb.opt/inline-bt.c: New volatile global z.
8966         * gdb.opt/inline-cmds.c: Likewise.
8967         * gdb.opt/inline-locals.c: Likewise.
8968         * gdb.opt/inline-markers.c: New extern global z.
8969         (marker): Use z.
8970         (inline_fn): Likewise.
8971
8972 2015-08-24  Pedro Alves  <palves@redhat.com>
8973
8974         * config/m32r-stub.exp: Remove file.
8975         * gdb.base/call-ar-st.exp: Remove reference to sparclet.
8976         * gdb.base/call-rt-st.exp: Likewise.
8977         * gdb.base/call-strs.exp: Likewise.
8978         * gdb.base/default.exp: Remove references to h8300-*-hms and
8979         *-*-udi*.
8980         * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
8981
8982 2015-08-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8983
8984         * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
8985         -Wno-psabi" if "-mcpu=native" fails.  For the tests with "finish"
8986         and "return" use KFAIL when GDB can not read/write the vector
8987         return value.
8988
8989 2015-08-21  Gary Benson <gbenson@redhat.com>
8990
8991         * gdb.trace/pending.exp: Cope with remote transfer warnings.
8992
8993 2015-08-20  Pedro Alves  <palves@redhat.com>
8994
8995         * gdb.server/solib-list.exp: No longer expect an interior stop in
8996         non-stop mode.
8997
8998 2015-08-20  Pedro Alves  <palves@redhat.com>
8999
9000         * gdb.server/connect-stopped-target.c: New file.
9001         * gdb.server/connect-stopped-target.exp: New file.
9002
9003 2015-08-20  Pedro Alves  <palves@redhat.com>
9004
9005         * gdb.dwarf2/comp-unit-lang.exp: New file.
9006         * gdb.dwarf2/comp-unit-lang.c: New file.
9007
9008 2015-08-20  Pierre-Marie de Rodat  <derodat@adacore.com>
9009
9010         * gdb.ada/attr_ref_and_charlit.exp: New testcase.
9011         * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
9012
9013 2015-08-19  Kevin Buettner  <kevinb@redhat.com>
9014
9015         * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
9016         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
9017
9018 2015-08-18  Doug Evans  <dje@google.com>
9019             Adrian Sendroiu <adrian.sendroiu@freescale.com>
9020
9021         * lib/gdb.exp (skip_python_tests_prompt): Renamed from
9022         skip_python_tests.  New arg prompt_regexp.
9023         (skip_python_tests): New function.
9024         * lib/mi-support.exp (mi_skip_python_tests): New function.
9025         * gdb.python/py-mi-objfile-gdb.py: New file.
9026         * gdb.python/py-mi-objfile.c: New file.
9027         * gdb.python/py-mi-objfile.exp: New file.
9028
9029 2015-08-17  Keith Seitz  <keiths@redhat.com>
9030
9031         * gdb.linespec/explicit.exp: Move strace test from here ...
9032         * gdb.trace/strace.exp: ... to here.
9033
9034 2015-08-15  Patrick Palka  <patrick@parcs.ath.cx>
9035
9036         * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
9037         * gdb.base/kill-detach-inferiors-cmd.c: New test file.
9038
9039 2015-08-14  Doug Evans  <xdje42@gmail.com>
9040
9041         * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
9042         inferior before selecting a new file.
9043
9044 2015-08-14  Doug Evans  <xdje42@gmail.com>
9045
9046         * gdb.mi/mi-disassemble.exp: Update.
9047         * gdb.base/disasm-optim.S: New file.
9048         * gdb.base/disasm-optim.c: New file.
9049         * gdb.base/disasm-optim.h: New file.
9050         * gdb.base/disasm-optim.exp: New file.
9051
9052 2015-08-14  Keith Seitz  <keiths@redhat.com>
9053
9054         * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
9055         "evaluated-by".
9056
9057 2015-08-13  Joel Brobecker  <brobecker@adacore.com>
9058
9059         * gdb.base/dso2dso.exp: Improve the testcase's documentation.
9060
9061 2015-08-13  Pierre-Marie de Rodat  <derodat@adacore.com>
9062
9063         * gdb.ada/fun_renaming.exp: New testcase.
9064         * gdb.ada/fun_renaming/fun_renaming.adb: New file.
9065         * gdb.ada/fun_renaming/pack.adb: New file.
9066         * gdb.ada/fun_renaming/pack.ads: New file.
9067
9068 2015-08-12  Keith Seitz  <keiths@redhat.com>
9069
9070         * gdb.base/dso2dso.exp: Pass basename of source file in call to
9071         gdb_get_line_number.
9072
9073 2015-08-12  Joel Brobecker  <brobecker@adacore.com>
9074
9075         * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
9076         gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
9077         gdb.base/dso2dso.exp: New files.
9078
9079 2015-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
9080             Pedro Alves  <palves@redhat.com>
9081             Keith Seitz  <keiths@redhat.com>
9082
9083         * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
9084         GDBFLAGS.
9085
9086 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9087
9088         * gdb.base/gdbhistsize-history.exp
9089         (test_histsize_history_setting): Use save_vars.
9090         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9091         Use save_vars.
9092         (test_no_truncation_of_unlimited_history_file): Use save_vars.
9093         * gdb.base/readline.exp: Use save_vars.
9094
9095 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9096
9097         * lib/gdb.exp (save_vars): New proc.
9098
9099 2015-08-11  Keith Seitz  <keiths@redhat.com>
9100
9101         * gdb.base/help.exp: Update help_breakpoint_text.
9102
9103 2015-08-11  Keith Seitz  <keiths@redhat.com>
9104
9105         * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
9106         (at toplevel): Call test_explicit_breakpoints.
9107         * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
9108         breakpoints.
9109         * lib/mi-support.exp (mi_make_breakpoint): Add support for
9110         breakpoint conditions, "-cond".
9111
9112 2015-08-11  Keith Seitz  <keiths@redhat.com>
9113
9114         * gdb.linespec/3explicit.c: New file.
9115         * gdb.linespec/cpexplicit.cc: New file.
9116         * gdb.linespec/cpexplicit.exp: New file.
9117         * gdb.linespec/explicit.c: New file.
9118         * gdb.linespec/explicit.exp: New file.
9119         * gdb.linespec/explicit2.c: New file.
9120         * gdb.linespec/ls-errs.exp: Add explicit location tests.
9121         * lib/gdb.exp (capture_command_output): Regexp-escape `command'
9122         before using in the matching pattern.
9123         Clarify that `prefix' is a regular expression.
9124
9125 2015-08-11  Keith Seitz  <keiths@redhat.com>
9126
9127         * gdb.base/dprintf-pending.exp: Update dprintf "without format"
9128         test.
9129         Add tests for missing ",FMT" and ",".
9130
9131 2015-08-10  Doug Evans  <dje@google.com>
9132             Keith Seitz  <keiths@redhat.com>
9133
9134         PR gdb/17960
9135         * gdb.base/completion.exp: Add location completer tests.
9136
9137 2015-08-07  Pedro Alves  <palves@redhat.com>
9138
9139         * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
9140         tests here.
9141         (top level): Run do_test with and without displaced stepping.
9142
9143 2015-08-07  Pedro Alves  <palves@redhat.com>
9144
9145         * gdb.base/valgrind-disp-step.c: New file.
9146         * gdb.base/valgrind-disp-step.exp: New file.
9147
9148 2015-08-07  Pedro Alves  <palves@redhat.com>
9149
9150         * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
9151         Delete function.
9152         (main): Add alarm.  Run an infinite loop instead of calling
9153         wait_threads.
9154         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
9155         comment.
9156         * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
9157         Delete function.
9158         (main): Add alarm.  Run an infinite loop instead of calling
9159         wait_threads.
9160         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
9161         comment.
9162
9163 2015-08-07  Pedro Alves  <palves@redhat.com>
9164
9165         * gdb.base/checkpoint-ns.exp: New file.
9166         * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
9167         standard_testfile.
9168
9169 2015-08-07  Markus Metzger  <markus.t.metzger@intel.com>
9170
9171         * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
9172         * gdb.btrace/instruction_history.exp: Update.
9173         * gdb.btrace/tsx.exp: New.
9174         * gdb.btrace/tsx.c: New.
9175
9176 2015-08-06  Pedro Alves <palves@redhat.com>
9177
9178         * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
9179         increase timeout.
9180         * gdb.reverse/until-precsave.exp: Bump timeouts.
9181
9182 2015-08-06  Pedro Alves  <palves@redhat.com>
9183
9184         * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
9185
9186 2015-08-06  Pedro Alves  <palves@redhat.com>
9187
9188         PR gdb/18749
9189         * gdb.threads/process-dies-while-handling-bp.c: New file.
9190         * gdb.threads/process-dies-while-handling-bp.exp: New file.
9191
9192 2015-08-06  Pedro Alves  <palves@redhat.com>
9193
9194         * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
9195         * gdb.threads/forking-threads-plus-breakpoint.c: New file.
9196
9197 2015-08-05  Pedro Alves  <palves@redhat.com>
9198
9199         * gdb.threads/next-while-other-thread-longjmps.c: New file.
9200         * gdb.threads/next-while-other-thread-longjmps.exp: New file.
9201
9202 2015-08-03  Sandra Loosemore  <sandra@codesourcery.com>
9203
9204         * gdb.base/bp-permanent.exp: Report test as unsupported if
9205         the target cannot stop at the permanent breakpoint.
9206
9207 2015-08-03  Doug Evans  <dje@google.com>
9208
9209         * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
9210         10000.
9211
9212 2015-08-03  Doug Evans  <dje@google.com>
9213
9214         * Makefile.in (workers/%.worker, build-perf): New rule.
9215         (GDB_PERFTEST_MODE): New variable.
9216         (check-perf): Use it.
9217         (clean): Clean up gdb.perf parallel build subdirs.
9218         * lib/build-piece.exp: New file.
9219         * lib/gdb.exp (make_gdb_parallel_path): New function
9220         (standard_output_file, standard_temp_file): Call it.
9221         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9222         of $GDB_PARALLEL.
9223         * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
9224
9225 2015-08-03  Doug Evans  <dje@google.com>
9226
9227         * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
9228         (LOG_FILE_NAME): New global.
9229         (TextReporter.__init__): Initialize self.txt_sum.
9230         (TextReporter.report): Add support for multiple data-points.
9231         Move report to perftest.sum, put raw data in perftest.log.
9232         (TextReporter.start): Open sum and log files.
9233         (TextReporter.end): Close sum and log files.
9234         * gdb.perf/lib/perftest/testresult.py
9235         (SingleStatisticTestResult.record): Handle multiple data-points.
9236
9237 2015-07-31  Pedro Alves  <palves@redhat.com>
9238
9239         * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
9240         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9241         kill_wait_spawned_process instead of explicit "kill -9".
9242         * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
9243         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9244         kill_wait_spawned_process.
9245         * gdb.base/attach-twice.exp: Likewise.
9246         * gdb.base/attach.exp: Likewise.
9247         (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
9248         gdb_test_multiple.
9249         * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
9250         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9251         kill_wait_spawned_process.
9252         * gdb.base/valgrind-infcall.exp: Likewise.
9253         * gdb.multi/multi-attach.exp: Likewise.
9254         * gdb.python/py-prompt.exp: Likewise.
9255         * gdb.python/py-sync-interp.exp: Likewise.
9256         * gdb.server/ext-attach.exp: Likewise.
9257         * gdb.threads/attach-into-signal.exp (corefunc): Use
9258         spawn_wait_for_attach, spawn_id_get_pid and
9259         kill_wait_spawned_process.
9260         * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
9261         spawn_wait_for_attach returning a spawn id instead of a pid.  Use
9262         spawn_id_get_pid and kill_wait_spawned_process.
9263         * gdb.threads/attach-stopped.exp (corefunc): Use
9264         spawn_wait_for_attach, spawn_id_get_pid and
9265         kill_wait_spawned_process.
9266         * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
9267         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9268         kill_wait_spawned_process instead of explicit "kill -9".
9269         * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
9270         (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
9271         (spawn_wait_for_attach): Use spawn instead of exec to spawn
9272         processes.  Don't map cygwin/windows pids here.  Now returns a
9273         spawn id list.
9274
9275 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9276
9277         * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
9278         4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
9279         correct patch.
9280
9281 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9282
9283         * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9284
9285 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9286
9287         Reapply:
9288         2014-05-21  Mark Wielaard  <mjw@redhat.com>
9289
9290         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9291
9292 2015-07-30  Pedro Alves  <palves@redhat.com>
9293
9294         * linux-low.c (handle_extended_wait): Set the child's last
9295         reported status to TARGET_WAITKIND_STOPPED.
9296
9297 2015-07-30  Pedro Alves  <palves@redhat.com>
9298
9299         PR threads/18600
9300         * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9301         only shows inferior 1.
9302
9303 2015-07-30  Simon Marchi  <simon.marchi@ericsson.com>
9304             Pedro Alves  <palves@redhat.com>
9305
9306         PR threads/18600
9307         * gdb.threads/fork-plus-threads.c: New file.
9308         * gdb.threads/fork-plus-threads.exp: New file.
9309
9310 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9311
9312         * gdb.base/batch-preserve-term-settings.exp
9313         (test_terminal_settings_preserved_after_cli_exit): Use
9314         send_quit_command.
9315
9316 2015-07-29  Pedro Alves  <palves@redhat.com>
9317             Don Breazeal  <donb@codesourcery.com>
9318
9319         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9320         output from both inferior_spawn_id and gdb_spawn_id.
9321
9322 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9323
9324         * gdb.threads/attach-into-signal.exp (corefunc): Use
9325         with_test_prefix on nested loops, uniquefying the test messages.
9326
9327 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9328
9329         * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9330         commit.
9331
9332 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9333
9334         * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9335         New proc.
9336         (test_terminal_settings_preserved_after_sigterm): New test.
9337
9338 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9339
9340         * gdb.base/batch-preserve-term-settings.exp
9341         (test_terminal_settings_preserved_after_cli_exit): New test.
9342
9343 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9344
9345         * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9346         manipulation of saved_gdbflags.
9347         (test_terminal_settings_preserved): Remove global declaration of
9348         the unused variable pagination_prompt.  Remove manipulation of
9349         saved_gdbflags.  Use a local variable EXTRA_GDBFLAGS instead of
9350         GDBFLAGS.
9351
9352 2015-07-29  Pedro Alves  <palves@redhat.com>
9353
9354         * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9355
9356 2015-07-29  Pedro Alves  <palves@redhat.com>
9357
9358         * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9359         at the top.
9360
9361 2015-07-29  Pedro Alves  <palves@redhat.com>
9362
9363         * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9364         (main): Call gdb_unbuffer_output.
9365         * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9366         (main): Call gdb_unbuffer_output.
9367         * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9368         (main): Call gdb_unbuffer_output.
9369         * gdb.base/call-strs.exp: Adjust to step over the
9370         gdb_unbuffer_output call.
9371         * gdb.base/catch-gdb-caused-signals.c: Include
9372         "../lib/unbuffer_output.c".
9373         (main): Call gdb_unbuffer_output.
9374         * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
9375         (main): Call gdb_unbuffer_output.
9376         * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
9377         (main): Call gdb_unbuffer_output.
9378         * gdb.base/run.c: Include "../lib/unbuffer_output.c".
9379         (main): Call gdb_unbuffer_output.
9380         * gdb.base/shlib-call.exp: Adjust to step over the
9381         gdb_unbuffer_output call.
9382         * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9383         (main): Call gdb_unbuffer_output.
9384         * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9385         (main): Call gdb_unbuffer_output.
9386         * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9387         (main): Rename to ...
9388         (test): ... this.
9389         (main): Reimplement.
9390         * gdb.base/varargs.exp: Run to test instead of to main.
9391         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9392         (main): Call gdb_unbuffer_output.
9393
9394 2015-07-29  Pedro Alves  <palves@redhat.com>
9395
9396         * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9397         factore out from mi_continue_dprintf.  For call-style dprintfs,
9398         expect dprintf output out of $inferior_spawn_id.
9399         (mi_continue_dprintf): Use mi_expect_dprintf.
9400         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9401         (main): Call gdb_unbuffer_output.
9402
9403 2015-07-29  Pedro Alves  <palves@redhat.com>
9404
9405         * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9406         (default_mi_gdb_start): Set inferior_spawn_id instead of
9407         mi_inferior_spawn_id.  If $inferior_spawn_id is not set, set it to
9408         gdb_spawn_id.
9409         (mi_gdb_test): Always expect inferior output from both
9410         $inferior_spawn_id and $gdb_spawn_id.
9411
9412 2015-07-29  Pedro Alves  <palves@redhat.com>
9413
9414         * gdb.gdb/selftest.exp (test_with_self): Update comment.  Use
9415         send_inferior and $inferior_spawn_id.
9416
9417 2015-07-29  Pedro Alves  <palves@redhat.com>
9418
9419         * gdb.gdb/complaints.exp (test_initial_complaints)
9420         (test_serial_complaints, test_short_complaints): Use
9421         gdb_test_stdio.
9422         (test_empty_complaint): Handle $inferior_spawn_id !=
9423         $gdb_spawn_id.
9424
9425 2015-07-29  Pedro Alves  <palves@redhat.com>
9426
9427         * gdb.base/varargs.exp: Use gdb_test_stdio.
9428
9429 2015-07-29  Pedro Alves  <palves@redhat.com>
9430
9431         * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9432
9433 2015-07-29  Pedro Alves  <palves@redhat.com>
9434
9435         * gdb.base/ending-run.exp: Use gdb_test_stdio.
9436
9437 2015-07-29  Pedro Alves  <palves@redhat.com>
9438
9439         * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9440         parameter into two new parameters, "inf_result" and "gdb_result".
9441         Expect inferior output and gdb output from $inferior_spawn_id and
9442         $gdb_spawn_id, respectively.  Adjust all callers.
9443
9444 2015-07-29  Pedro Alves  <palves@redhat.com>
9445
9446         * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9447         of gdb_test_sequence.
9448
9449 2015-07-29  Pedro Alves  <palves@redhat.com>
9450
9451         * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9452         (saw_spurious_output): Expect inferior output from
9453         $inferior_spawn_id.  Use gdb_test_stdio.
9454
9455 2015-07-29  Pedro Alves  <palves@redhat.com>
9456
9457         * gdb.base/dprintf.exp: Use standard_testfile.  Change
9458         prepare_for_testing call.
9459         (srcfile): Don't set.
9460         (restart): New procedure.
9461         (test_dprintf): New procecure, use to continue over dprintfs.
9462         (test_call, test_agent): New procedures, tests moved here.
9463         Restart gdb and recreate dprintfs.  Adjust expected output.
9464
9465 2015-07-29  Pedro Alves  <palves@redhat.com>
9466
9467         * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9468
9469 2015-07-29  Pedro Alves  <palves@redhat.com>
9470
9471         * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9472
9473 2015-07-29  Pedro Alves  <palves@redhat.com>
9474
9475         * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9476         gdb_test_stdio.
9477
9478 2015-07-29  Pedro Alves  <palves@redhat.com>
9479
9480         * lib/gdb.exp (gdb_test_stdio): New procedure.
9481
9482 2015-07-29  Pedro Alves  <palves@redhat.com>
9483
9484         * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9485
9486 2015-07-29  Pedro Alves  <palves@redhat.com>
9487
9488         * gdb.base/call-signal-resume.exp: Remove check for
9489         gdb,noinferiorio.  Don't expect "no signal".  Use gdb_test.
9490         * gdb.base/unwindonsignal.exp: Likewise.
9491         * gdb.base/call-signals.c (gen_signal): Remove printf call.
9492         * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9493
9494 2015-07-29  Pedro Alves  <palves@redhat.com>
9495
9496         * gdb.base/siginfo-addr.c (pass): New function.
9497         (handler): Call it iff si_addr is correct.
9498         * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9499         Set a breakpoint at "pass" and continue to it.
9500
9501 2015-07-28  Sergio Durigan Junior  <sergiodj@redhat.com>
9502
9503         * gdb.python/py-objfile.exp: Make some tests have unique names.
9504         * gdb.python/py-pp-registration.exp: Likewise.
9505
9506 2015-07-28  Pedro Alves  <palves@redhat.com>
9507
9508         * gdb.server/server-exec-info.exp: Issue a "disconnect".
9509
9510 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9511
9512         * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9513
9514 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9515
9516         * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9517
9518 2015-07-27  Patrick Palka  <patrick@parcs.ath.cx>
9519
9520         * gdb.base/gdb-sigterm-2.exp: New test.
9521
9522 2015-07-25  Doug Evans  <xdje42@gmail.com>
9523
9524         Revert:
9525         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9526         (workers/%.worker, build-perf): New rule.
9527         (GDB_PERFTEST_MODE): New variable.
9528         (check-perf): Use it.
9529         (clean): Clean up gdb.perf parallel build subdirs.
9530         * lib/build-piece.exp: New file.
9531         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9532         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9533         name.
9534         (standard_temp_file): Ditto.
9535         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9536         of $GDB_PARALLEL.
9537
9538 2015-07-24  Doug Evans  <dje@google.com>
9539
9540         * gdb.perf/lib/perftest/utils.py: New file.
9541         * gdb.perf/gm-hello.cc: New file.
9542         * gdb.perf/gm-pervasive-typedef.cc: New file.
9543         * gdb.perf/gm-pervasive-typedef.h: New file.
9544         * gdb.perf/gm-std.cc: New file.
9545         * gdb.perf/gm-std.h: New file.
9546         * gdb.perf/gm-use-cerr.cc: New file.
9547         * gdb.perf/gm-utils.h: New file.
9548         * gdb.perf/gmonster-null-lookup.py: New file.
9549         * gdb.perf/gmonster-pervasive-typedef.py: New file.
9550         * gdb.perf/gmonster-print-cerr.py: New file.
9551         * gdb.perf/gmonster-ptype-string.py: New file.
9552         * gdb.perf/gmonster-runto-main.py: New file.
9553         * gdb.perf/gmonster-select-file.py: New file.
9554         * gdb.perf/gmonster1-null-lookup.exp: New file.
9555         * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9556         * gdb.perf/gmonster1-print-cerr.exp: New file.
9557         * gdb.perf/gmonster1-ptype-string.exp: New file.
9558         * gdb.perf/gmonster1-runto-main.exp: New file.
9559         * gdb.perf/gmonster1-select-file.exp: New file.
9560         * gdb.perf/gmonster1.cc: New file.
9561         * gdb.perf/gmonster1.exp: New file.
9562         * gdb.perf/gmonster2-null-lookup.exp: New file.
9563         * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9564         * gdb.perf/gmonster2-print-cerr.exp: New file.
9565         * gdb.perf/gmonster2-ptype-string.exp: New file.
9566         * gdb.perf/gmonster2-runto-main.exp: New file.
9567         * gdb.perf/gmonster2-select-file.exp: New file.
9568         * gdb.perf/gmonster2.cc: New file.
9569         * gdb.perf/gmonster2.exp: New file.
9570
9571 2015-07-24  Doug Evans  <dje@google.com>
9572
9573         * gdb.perf/README: New file.
9574         * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9575         * lib/gen-perf-test.exp: New file.
9576
9577 2015-07-24  Doug Evans  <dje@google.com>
9578
9579         * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9580         (PerfTest::startup): New function.
9581         (PerfTest::run): Return result of calling body.
9582         (PerfTest::assemble): Rewrite.
9583         * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9584         * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9585         * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9586         * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9587         * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9588
9589 2015-07-24  Doug Evans  <dje@google.com>
9590
9591         * lib/gdb.exp (clean_restart): Make executable optional.
9592
9593 2015-07-24  Doug Evans  <dje@google.com>
9594
9595         * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9596         compiler_info references.
9597         * gdb.cp/temargs.exp: Ditto.
9598         * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9599         (get_compiler_info): Early exit if already computed.  Set compiler_info
9600         to "unknown" if there was a problem.
9601         (test_compiler_info): Add function comment.  Call get_compiler_info.
9602
9603 2015-07-24  Doug Evans  <dje@google.com>
9604
9605         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9606         (workers/%.worker, build-perf): New rule.
9607         (GDB_PERFTEST_MODE): New variable.
9608         (check-perf): Use it.
9609         (clean): Clean up gdb.perf parallel build subdirs.
9610         * lib/build-piece.exp: New file.
9611         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9612         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9613         name.
9614         (standard_temp_file): Ditto.
9615         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9616         of $GDB_PARALLEL.
9617
9618 2015-07-24  Doug Evans  <dje@google.com>
9619
9620         * lib/future.exp (gdb_default_target_compile): New option
9621         "early_flags".
9622         * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9623         --as-needed.
9624
9625 2015-07-24  Sergio Durigan Junior  <sergiodj@redhat.com>
9626
9627         * gdb.base/catch-syscall.exp: Call gdb_exit before
9628         gdb_skip_xml_test.
9629
9630 2015-07-24  Pedro Alves  <palves@redhat.com>
9631
9632         * gdb.python/py-events.exp: Accept output between the stop event
9633         and the prompt.
9634         * gdb.python/py-evsignal.exp: Likewise.
9635         * gdb.python/py-evthreads.exp: Likewise.
9636
9637 2015-07-24  Pedro Alves  <palves@redhat.com>
9638
9639         PR gdb/18717
9640         * gdb.threads/non-ldr-exit.c: New file.
9641         * gdb.threads/non-ldr-exit.exp: New file.
9642
9643 2015-07-24  Yao Qi  <yao.qi@linaro.org>
9644
9645         * gdb.server/ext-wrapper.exp: Test --wrapper option when
9646         restarting process.
9647
9648 2015-07-24  Yao Qi  <yao.qi@linaro.org>
9649
9650         * gdb.server/ext-restart.exp: New file.
9651
9652 2015-07-24  Yao Qi  <yao.qi@linaro.org>
9653
9654         * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9655         argument options.
9656         * gdb.server/ext-wrapper.exp: New file.
9657
9658 2015-07-23  Doug Evans  <dje@google.com>
9659
9660         * gdb.dwarf2/dw2-dummy-cu.S: New file.
9661         * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9662
9663 2015-07-23  Pierre-Marie de Rodat  <derodat@adacore.com>
9664
9665         * gdb.ada/var_arr_typedef.exp: New testcase.
9666         * gdb.ada/var_arr_typedef/pack.adb: New file.
9667         * gdb.ada/var_arr_typedef/pack.ads: New file.
9668         * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9669
9670 2015-07-20  Joel Brobecker  <brobecker@adacore.com>
9671
9672         * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9673
9674 2015-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
9675
9676         * gdb.arch/i386-biarch-core.exp: Replace istarget
9677         by "complete set gnutarget". Remove expectation for the "core-file"
9678         command.
9679
9680 2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9681
9682         Revert the previous commit:
9683         Tests for validate symbol file using build-id.
9684
9685 2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
9686
9687         Tests for validate symbol file using build-id.
9688         * gdb.base/solib-mismatch-lib.c: New file.
9689         * gdb.base/solib-mismatch-libmod.c: New file.
9690         * gdb.base/solib-mismatch.c: New file.
9691         * gdb.base/solib-mismatch.exp: New file.
9692
9693 2015-07-15  Sandra Loosemore  <sandra@codesourcery.com>
9694
9695         * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9696         nios2-*-linux*.
9697         * gdb.base/sigbpt.exp (stepi_out): Likewise.
9698         * gdb.base/siginfo.exp: Likewise.
9699         * gdb.base/sigstep.exp (advance, advancei): Likewise.
9700
9701 2015-07-15  Pierre Langlois  <pierre.langlois@arm.com>
9702
9703         * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9704         Move it to ...
9705         * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9706         ... here.
9707         * gdb.trace/range-stepping.exp: Check that the target supports
9708         range stepping.
9709
9710 2015-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
9711
9712         * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9713
9714 2015-07-14  Pedro Alves  <palves@redhat.com>
9715
9716         * gdb.base/killed-outside.exp: New file.
9717         * gdb.base/killed-outside.c: New file.
9718
9719 2015-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
9720
9721         * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9722         (n at main): New.
9723         * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9724
9725 2015-07-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9726
9727         * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9728         infcall tests instead of setting up for KFAIL.
9729
9730 2015-07-10  Markus Metzger  <markus.t.metzger@intel.com>
9731
9732         * gdb.btrace/record_goto-step.exp: New.
9733
9734 2015-07-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
9735
9736         PR compile/18484
9737         * gdb.compile/compile.c (struct struct_type): Add volatile to
9738         selffield's type.
9739         * gdb.compile/compile.exp
9740         (compile code struct_object.selffield = &struct_object): Skip further
9741         struct_object tests if this one xfails.
9742
9743 2015-07-08  Robert O'Callahan  <robert@ocallahan.org>
9744
9745         PR exp/18617
9746         * gdb.trace/ax.exp: Add test.
9747
9748 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9749
9750         * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9751         instead of istarget "aarch64*-*-*".
9752         * gdb.arch/aarch64-fp.exp: Likewise.
9753         * gdb.base/float.exp: Likewise.
9754         * gdb.reverse/aarch64.exp: Likewise.
9755         * lib/gdb.exp (is_aarch64_target): New proc.
9756
9757 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9758
9759         * lib/gdb.exp (is_aarch32_target): New proc.
9760         * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9761         instead of "istarget "arm*-*-*"".
9762         * gdb.arch/arm-disp-step.exp: Likewise.
9763         * gdb.arch/thumb-bx-pc.exp: Likewise.
9764         * gdb.arch/thumb-prologue.exp: Likewise.
9765         * gdb.arch/thumb-singlestep.exp: Likewise.
9766         * gdb.base/disp-step-syscall.exp: Likewise.
9767         * gdb.base/float.exp: Likewise.
9768
9769 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9770
9771         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9772         Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9773
9774 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9775
9776         * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9777         is aarch64.  If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9778         if it exists.
9779         * gdb.multi/multi-arch.exp: Likewise.
9780
9781 2015-07-07  Simon Marchi  <simon.marchi@ericsson.com>
9782
9783         * gdb.python/py-lazy-string.exp: Add missing parentheses to
9784         print.
9785
9786 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9787
9788         * gdb.arch/thumb-singlestep.exp: Do one more single step.
9789
9790 2015-06-30  Martin Galvan  <martin.galvan@tallertechnologies.com>
9791
9792         * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9793         '[' and ']' characters.
9794
9795 2015-06-30  Iain Buclaw  <ibuclaw@gdcproject.org>
9796
9797         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9798
9799 2015-06-29  Pedro Alves  <palves@redhat.com>
9800
9801         PR threads/18127
9802         * gdb.threads/hand-call-new-thread.c: New file.
9803         * gdb.threads/hand-call-new-thread.c: New file.
9804
9805 2015-06-26  Keith Seitz  <keiths@redhat.com>
9806             Doug Evans  <dje@google.com>
9807
9808         PR 16253
9809         * gdb.cp/var-tag-2.cc: New file.
9810         * gdb.cp/var-tag-3.cc: New file.
9811         * gdb.cp/var-tag-4.cc: New file.
9812         * gdb.cp/var-tag.cc: New file.
9813         * gdb.cp/var-tag.exp: New file.
9814
9815 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
9816
9817         * gdb.base/history-duplicates.exp: New test.
9818
9819 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
9820
9821         * gdb.base/completion.exp: Test the completion of the "focus"
9822         command.
9823
9824 2015-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
9825
9826         * gdb.arch/amd64-prologue-skip.S: New file.
9827         * gdb.arch/amd64-prologue-skip.exp: New file.
9828
9829 2015-06-25  Simon Marchi  <simon.marchi@ericsson.com>
9830
9831         * gdb.python/py-prettyprint.exp (run_lang_tests): Add
9832         is_address_zero_readable check.
9833
9834 2015-06-24  Peter Bergner  <bergner@vnet.ibm.com>
9835
9836         * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
9837         * gdb.arch/powerpc-power.s <rfebb>: Likewise.
9838
9839 2015-06-24  Yao Qi  <yao.qi@linaro.org>
9840
9841         * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
9842         linux targets.
9843
9844 2015-06-24  Yao Qi  <yao.qi@linaro.org>
9845
9846         * lib/gdb.exp (supports_get_siginfo_type): New proc.
9847         * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
9848         * gdb.base/siginfo-thread.exp: Likewise.
9849
9850 2015-06-22  Yao Qi  <yao.qi@linaro.org>
9851
9852         * boards/remote-gdbserver-on-localhost.exp: Add comments.
9853
9854 2015-06-22  Yao Qi  <yao.qi@linaro.org>
9855
9856         * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
9857         aarch64*-*-*.
9858         (skip_hw_watchpoint_tests): Likewise.
9859
9860 2015-06-18  Patrick Palka  <patrick@parcs.ath.cx>
9861
9862         * gdb.base/gdbinit-history.exp: Test the interaction between
9863         setting GDBHISTSIZE and setting the history size via .gdbinit.
9864
9865 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
9866
9867         PR gdb/16999
9868         * gdb.base/gdbhistsize-history.exp: New test.
9869
9870 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
9871
9872         * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9873         with GDBHISTSIZE.
9874         * gdb.base/readline.exp: Likewise.
9875
9876 2015-06-17  Yao Qi  <yao.qi@linaro.org>
9877
9878         * lib/gdb.exp (get_build_id): Move braces and "else" to the same
9879         line.
9880
9881 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
9882
9883         * gdb.base/gdbinit-history.exp: Add test case to check that
9884         an unlimited history file does not get truncated on exit.
9885
9886 2015-06-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9887
9888         * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
9889         (VECTOR): New macro.  Use it...
9890         (int4, uint4, char4, float4, int2, longlong2, float2, double2):
9891         ...for these typedefs.
9892         (int8, char1, int1, double1): New typedefs.
9893         (struct just_int2, struct two_int2): New structures.
9894         (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
9895         (add_structvecs, add_singlevecs): New functions.
9896         (main): Call add_some_intvecs twice.
9897         * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
9898         the compile and exit upon failure.  Try compiling for the "native"
9899         architecture.  Test inferior function calls with vector arguments
9900         and vector return value handling with "finish" and "return".
9901
9902 2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
9903
9904         * gdb.base/sepdebug.exp: Add EXEEXT where needed.
9905         * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
9906         PE file.
9907         * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
9908
9909 2015-06-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
9910
9911         PR breakpoints/16465
9912         * gdb.mi/mi-dprintf-pending.c: New file.
9913         * gdb.mi/mi-dprintf-pending.exp: New test.
9914         * gdb.mi/mi-dprintf-pendshr.c: New file.
9915
9916 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
9917             Mircea Gherzan  <mircea.gherzan@intel.com>
9918
9919         * gdb.arch/i386-mpx-map.c: New file.
9920         * gdb.arch/i386-mpx-map.exp: New File.
9921
9922 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
9923
9924         * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
9925         * gdb.arch/i386-mpx.exp: Indentation fixed.
9926
9927 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
9928
9929         * gdb.arch/i386-mpx.c: Added final return to the have_mpx
9930         function and improved indentation.
9931         * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
9932         gdb_test_multiple. Added additional tests to skip the test.
9933
9934 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
9935
9936         * gdb.arch/i386-avx512.c: Change path in include file.
9937         * gdb.arch/i386-avx512.exp: Change include dir path
9938         compilation flag.
9939         * gdb.arch/i386-mpx.c: Change path in include file.
9940         * gdb.arch/i386-mpx.exp: Change include dir path compilation
9941         flag.
9942
9943 2015-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
9944
9945         * gdb.compile/compile-print.exp (compile print *vararray@3)
9946         (compile print *vararrayp@3): Change xfail to kfail compile/18489.
9947
9948 2015-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
9949
9950         * gdb.compile/compile.exp (keep jit in memory): Rename to ...
9951         (do not keep jit in memory): ... this.
9952         (expect 5): Change it to ...
9953         (expect no 5): ... this.
9954
9955 2015-06-02  Simon Marchi  <simon.marchi@ericsson.com>
9956
9957         PR gdb/15564
9958         * gdb.mi/mi-detach.exp: New file.
9959
9960 2015-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
9961
9962         PR symtab/18392
9963         * gdb.arch/amd64-tailcall-self.S: New file.
9964         * gdb.arch/amd64-tailcall-self.c: New file.
9965         * gdb.arch/amd64-tailcall-self.exp: New file.
9966
9967 2015-05-28  Don Breazeal  <donb@codesourcery.com>
9968
9969         * gdb.base/foll-vfork.exp (main): Disable exec-dependent
9970         tests for remote targets by checking is_target_gdbserver.
9971
9972 2015-05-27  Doug Evans  <dje@google.com>
9973
9974         * gdb.dwarf2/opaque-type-lookup-2.c: New file.
9975         * gdb.dwarf2/opaque-type-lookup.c: New file.
9976         * gdb.dwarf2/opaque-type-lookup.exp: New file.
9977
9978 2015-05-26  Doug Evans  <dje@google.com>
9979
9980         * gdb.cp/iostream.cc: New file.
9981         * gdb.cp/iostream.exp: New file.
9982
9983 2015-05-26  Doug Evans  <dje@google.com>
9984
9985         * gdb.dwarf2/dw2-op-call.exp: Update.
9986         * gdb.dwarf2/dw4-sig-types.exp: Update.
9987         * gdb.dwarf2/implptr.exp: Update.
9988         * gdb.mi/mi-cmd-param-changed.exp: Update.
9989
9990 2015-05-26  Doug Evans  <dje@google.com>
9991
9992         * gdb.python/py-lazy-string.c: New file.
9993         * gdb.python/py-lazy-string.exp: New file.
9994         * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
9995         (main): Update.  Add estring3.
9996         * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
9997         * gdb.python/py-prettyprint.py (pp_ls): Handle length.
9998
9999 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10000             Yao Qi  <yao.qi@linaro.org>
10001
10002         * gdb.reverse/aarch64.c: New.
10003         * gdb.reverse/aarch64.exp: New.
10004
10005 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10006
10007         * lib/gdb.exp (supports_process_record): Return true for
10008         aarch64*-linux*.
10009         (supports_reverse): Likewise.
10010
10011 2015-05-22  Patrick Palka  <patrick@parcs.ath.cx>
10012
10013         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10014         Use with_test_prefix.
10015
10016 2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
10017
10018         * gdb.base/completion.exp: Add test for completion of layout
10019         names.
10020
10021 2015-05-20  Andrew Burgess  <andrew.burgess@embecosm.com>
10022
10023         * lib/gdb.exp (skip_tui_tests): New proc.
10024         * gdb.base/tui-layout.exp: Check skip_tui_tests.
10025
10026 2015-05-19  Pedro Alves  <palves@redhat.com>
10027
10028         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10029         Save the whole env array instead of just HOME.  Unset HISTSIZE in
10030         the environment while testing.  Restore whole environment
10031         afterwards.
10032
10033 2015-05-16  Doug Evans  <xdje42@gmail.com>
10034
10035         * gdb.guile/scm-ports.c: New file.
10036         * gdb.guile/scm-ports.exp: Add memory port tests.
10037
10038 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10039
10040         * gdb.compile/compile-print.c: New file.
10041         * gdb.compile/compile-print.exp: New file.
10042
10043 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10044
10045         * gdb.compile/compile-ops.exp: Cast param to void.
10046         * gdb.compile/compile.exp: Complete type for _gdb_expr.
10047         (compile code struct_object.selffield = &struct_object): Add xfail.
10048
10049 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10050
10051         * gdb.ada/arr_enum_with_gap: New testcase.
10052
10053 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10054
10055         * gdb.ada/byte_packed_arr: New testcase.
10056
10057 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10058
10059         * gdb.ada/pckd_neg: New testcase.
10060
10061 2015-05-13  Patrick Palka  <patrick@parcs.ath.cx>
10062
10063         PR gdb/17820
10064         * gdb.base/gdbinit-history.exp: New test.
10065         * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
10066         * gdb.base/gdbinit-history/zero/.gdbinit: New file.
10067
10068 2015-05-09  Siva Chandra Reddy  <sivachandra@google.com>
10069
10070         * gdb.python/py-xmethods.cc: Enhance test case.
10071         * gdb.python/py-xmethods.exp: New tests.
10072         * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
10073         function.
10074         (B_indexoper): Likewise.
10075         (global_dm_list) : Add new xmethod worker functions.
10076
10077 2015-05-08  Sergio Durigan Junior  <sergiodj@redhat.com>
10078
10079         * gdb.base/coredump-filter.exp: Correctly unset
10080         "coredump_var_addr" array.
10081
10082 2015-05-08  Pedro Alves  <palves@redhat.com>
10083
10084         * gdb.server/non-existing-program.exp: Unset spawn_id.
10085
10086 2015-05-08  Siva Chandra Reddy  <sivachandra@google.com>
10087
10088         PR python/18291
10089         * gdb.python/py-xmethods.exp: Add tests.
10090
10091 2015-05-08  Yao Qi  <yao.qi@linaro.org>
10092
10093         PR gdb/18208
10094         * gdb.base/coredump-filter.c (set_coredump_filter): New function.
10095         * gdb.base/coredump-filter.exp (do_save_core): Call inferior
10096         function set_coredump_filter, and remove remote_exec call.
10097         Remove argument ipid.  Callers update.
10098         (top level): Don't get inferior's PID.
10099
10100 2015-05-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10101
10102         * gdb.base/watch_thread_num.exp: Skip test on targets without
10103         access watchpoints.
10104
10105 2015-05-06  Pedro Alves  <palves@redhat.com>
10106
10107         PR server/18081
10108         * gdb.server/non-existing-program.exp: New file.
10109
10110 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10111
10112         * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
10113
10114 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10115
10116         * gdb.ada/out_of_line_in_inlined: New testcase.
10117
10118 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10119
10120         * gdb.ada/var_rec_arr: New testcase.
10121
10122 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10123
10124         * gdb.base/break-idempotent.exp: If
10125         skip_hw_watchpoint_multi_tests returns true, skip the tests
10126         on "rwatch" and "awatch".
10127
10128 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10129
10130         * gdb.base/relativedebug.exp: Invoke gdb command
10131         "info sharedlibrary", and if libc.so doesn't have debug info,
10132         skip the test.
10133
10134 2015-04-29  Doug Evans  <dje@google.com>
10135
10136         * gdb.python/py-xmethods.exp: Add ptype tests.
10137         * gdb.python/py-xmethods.py (E_method_char_worker): Add
10138         get_result_type method.
10139
10140 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10141
10142         * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
10143         the target does not support hardware watchpoints.
10144
10145 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10146
10147         * gdb.base/break-always.exp: Abort testing if writing to memory
10148         causes an error.
10149
10150 2015-04-28  Doug Evans  <dje@google.com>
10151
10152         * gdb.python/py-pp-maint.py: Move "replace" testing to ...
10153         * gdb.python/py-pp-registration.exp: ... here.  New file.
10154         * gdb.python/py-pp-registration.c: New file.
10155         * gdb.python/py-pp-registration.py: New file.
10156
10157 2015-04-28  Doug Evans  <dje@google.com>
10158
10159         * gdb.python/py-bad-printers.c: New file.
10160         * gdb.python/py-bad-printers.py: New file.
10161         * gdb.python/py-bad-printers.exp: New file.
10162
10163 2015-04-28  Sasha Smundak  <asmundak@google.com>
10164
10165         * gdb.python/py-type.exp: New test.
10166
10167 2015-04-28  Andy Wingo  <wingo@igalia.com>
10168
10169         * gdb.python/py-parameter.exp:
10170         * gdb.guile/scm-parameter.exp: Escape the path that we are
10171         matching against, as it might contain characters that are special
10172         to regular expressions.
10173
10174 2015-04-27  Joel Brobecker  <brobecker@adacore.com>
10175
10176         * gdb.ada/rec_comp: New testcase.
10177
10178 2015-04-26  Sergio Durigan Junior  <sergiodj@redhat.com>
10179
10180         * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
10181         before using it.
10182
10183 2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
10184
10185         * gdb.base/dump.exp: Add *.verilog files to all_files list.  Add
10186         new tests for verilog output.
10187
10188 2015-04-24  Yao Qi  <yao.qi@linaro.org>
10189
10190         * boards/remote-gdbserver-on-localhost.exp: New file.
10191
10192 2015-04-23  Pedro Alves  <palves@redhat.com>
10193
10194         * gdb.base/interrupt.exp: Use an indirect spawn id list holding
10195         $inferior_spawn_id instead of $inferior_spawn_id directly.  On
10196         "end of file", remove $inferior_spawn_id from the indirect list.
10197
10198 2015-04-23  Pedro Alves  <palves@redhat.com>
10199
10200         * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
10201
10202 2015-04-23  Pedro Alves  <palves@redhat.com>
10203
10204         * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
10205         on $any_spawn_id instead of only on $gdb_spawn_id.
10206
10207 2015-04-21  Pierre Muller  <muller@sourceware.org>
10208
10209         PR pascal/17815
10210         * lib/pascal.exp (gpc_compile): Add new option "class".
10211         (fpc_compile): Likewise.
10212         * gdb.pascal/case-insensitive-symbols.pas: New file.
10213         * gdb.pascal/case-insensitive-symbols.exp: New file.
10214
10215 2015-04-20  Gary Benson <gbenson@redhat.com>
10216
10217         * gdb.base/attach.exp: Fix three extended remote failures.
10218
10219 2015-04-17  Gary Benson <gbenson@redhat.com>
10220
10221         * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
10222         the main executable over the remote protocol.
10223
10224 2015-04-16  Pedro Alves  <palves@redhat.com>
10225
10226         * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
10227         a new gdbserver if gdbserver_reconnect_p is set.
10228
10229 2015-04-16  Pedro Alves  <palves@redhat.com>
10230
10231         * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
10232         is set, don't exit gdbserver.
10233
10234 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10235
10236         * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
10237         appropriate .insn, such that an older assembler can be used.
10238         * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
10239         the z/Architecture instruction set on 31-bit targets as well.
10240
10241 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10242
10243         * gdb.go/handcall.exp: Remove all logic related to the first
10244         breakpoint and rely on go_runto_main instead.
10245         * gdb.go/strings.exp: Likewise.
10246         * gdb.go/unsafe.exp: Likewise.
10247         * gdb.go/hello.exp: Likewise.  Also rename the remaining
10248         breakpoint marker to "breakpoint 1".
10249         * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
10250         * gdb.go/strings.go: Likewise.
10251         * gdb.go/unsafe.go: Likewise.
10252         * gdb.go/hello.go: Likewise.  Also remove the second occurrence of
10253         "set breakpoint 2 here" and rename the remaining breakpoint marker
10254         to "breakpoint 1".
10255
10256 2015-04-15  Simon Marchi  <simon.marchi@ericsson.com>
10257
10258         * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
10259         if itertools.imap is not present.
10260         * gdb.python/py-objfile.exp: Add parentheses.
10261         * gdb.python/py-type.exp: Same.
10262         * gdb.python/py-unwind-maint.py: Same.
10263
10264 2015-04-15  Yao Qi  <yao.qi@linaro.org>
10265
10266         * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
10267         of ":$ptr_size" and set its form explicitly.
10268
10269 2015-04-15  Pedro Alves  <palves@redhat.com>
10270             Yao Qi  <yao.qi@linaro.org>
10271
10272         * gdb.base/watch-bitfields.exp (test_watch_location): Increase
10273         timeout by factor of 4.
10274         (test_regular_watch): Likewise.
10275         * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
10276         * gdb.reverse/sigall-reverse.exp: Likewise.
10277         * gdb.reverse/until-precsave.exp: Likewise.
10278         * lib/gdb.exp (with_timeout_factor): New proc.
10279         (gdb_expect): Move some code to ...
10280         (get_largest_timeout): ... here.  New procedure.
10281
10282 2015-04-14  Luis Machado  <lgustavo@codesourcery.com>
10283
10284         * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10285
10286 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10287
10288         * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10289         to write to the .text section.
10290
10291 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10292
10293         * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10294         Handle the case of targets that do not provide PID information.
10295
10296 2015-04-13  Yao Qi  <yao.qi@linaro.org>
10297
10298         * lib/gdbserver-support.exp (gdb_exit): Catch exception
10299         and use expect instead of gdb_expect.
10300
10301 2015-04-13  Sergio Durigan Junior  <sergiodj@redhat.com>
10302
10303         * gdb.base/coredump-filter.exp: Rename variable "addr" to
10304         "coredump_var_addr" to avoid naming conflict with other testcases.
10305
10306 2015-04-10  Pedro Alves  <palves@redhat.com>
10307
10308         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10309         gdb_test_sequence and gdb_assert.
10310
10311 2015-04-10  Pedro Alves  <palves@redhat.com>
10312
10313         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10314         test messages that don't include the breakpoint address.
10315
10316 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10317
10318         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10319         false for some offset and width combinations which aren't
10320         supported by linux kernel.
10321
10322 2015-04-10  Pedro Alves  <palves@redhat.com>
10323
10324         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10325         procedure, factored out from ...
10326         (top level): ... here.  Add "set displaced-stepping" testing axis.
10327         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10328         parameter "displaced".  Use it.
10329         (top level): Use foreach and add "set displaced-stepping" testing
10330         axis.
10331
10332 2015-04-10  Pedro Alves  <palves@redhat.com>
10333
10334         * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10335         Remove comment.
10336         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10337         both the address of the instruction that triggers the watchpoint
10338         and the address of the instruction immediately after, and use
10339         those addresses for the test.  Fix comment.
10340
10341 2015-04-10  Pedro Alves  <palves@redhat.com>
10342
10343         * gdb.base/sigstep.exp (breakpoint_to_handler)
10344         (breakpoint_to_handler_entry): New parameter 'displaced'.  Use it.
10345         Test "backtrace" in handler.
10346         (breakpoint_over_handler): New parameter 'displaced'.  Use it.
10347         (top level): Add new "displaced" test axis to
10348         breakpoint_to_handler, breakpoint_to_handler_entry and
10349         breakpoint_over_handler.
10350
10351 2015-04-10  Pedro Alves  <palves@redhat.com>
10352
10353         PR gdb/18216
10354         * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10355
10356 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10357
10358         * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10359         (test_add_rn_pc): New function.
10360         * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10361         (top level): Invoke test_add_rn_pc.
10362
10363 2015-04-10  Pedro Alves  <palves@redhat.com>
10364
10365         PR gdb/13858
10366         * gdb.base/step-over-no-symbols.exp: New file.
10367
10368 2015-04-09  Andy Wingo  <wingo@igalia.com>
10369
10370         * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
10371         after the Python tests.
10372
10373 2015-04-08  Keith Seitz  <keiths@redhat.com>
10374
10375         PR python/16699
10376         * gdb.python/py-completion.exp: New tests for completion.
10377         * gdb.python/py-completion.py (CompleteLimit1): New class.
10378         (CompleteLimit2): Likewise.
10379         (CompleteLimit3): Likewise.
10380         (CompleteLimit4): Likewise.
10381         (CompleteLimit5): Likewise.
10382         (CompleteLimit6): Likewise.
10383         (CompleteLimit7): Likewise.
10384
10385 2015-04-08  Pedro Alves  <palves@redhat.com>
10386
10387         PR gdb/18214
10388         PR gdb/18216
10389         * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10390         function.
10391         (main): Install it as SIGUSR1 handler.
10392         * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10393         parameter.  Always use "setup" as prefix.  Toggle "set
10394         displaced-stepping" off/on depending on global.  Don't switch to
10395         thread 1 here.
10396         (top level): Add displaced stepping "off/on" test axis.  Update
10397         "setup" calls.  Wrap each subtest with with_test_prefix.  Test
10398         continuing with a queued signal in each thread.
10399
10400 2015-04-08  Pedro Alves  <palves@redhat.com>
10401
10402         * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10403         * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd.  Use
10404         gdb_breakpoint instead of gdb_test that doesn't expect anything.
10405         Return early if running to main fails.
10406         * gdb.trace/while-stepping.exp: Likewise.
10407
10408 2015-04-07  Pedro Alves  <palves@redhat.com>
10409
10410         * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10411         $gdb_spawn_id.  Use send_inferior and $inferior_spawn_id to
10412         interact with inferior program.
10413
10414 2015-04-07  Pedro Alves  <palves@redhat.com>
10415
10416         * lib/gdb.exp (inferior_spawn_id): New global.
10417         (gdb_test_multiple): Handle "-i".  Reset the spawn id to GDB's
10418         spawn id after processing the user code.
10419         (default_gdb_start): Set inferior_spawn_id.
10420         (send_inferior): New procedure.
10421         * lib/gdbserver-support.exp (gdbserver_start): Set
10422         inferior_spawn_id.
10423         (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10424
10425 2015-04-07  Pedro Alves  <palves@redhat.com>
10426
10427         * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10428         * lib/gdbserver-support.exp (gdbserver_start): Make
10429         $server_spawn_id global.
10430         (gdbserver_start): Don't wait for gdbserver's spawn id with
10431         expect_background.
10432         (close_gdbserver): New procedure.
10433         (gdb_exit): Rename the default version and reimplement.
10434
10435 2015-04-07  Pedro Alves  <palves@redhat.com>
10436
10437         * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10438         append the substituted item, not the original item.
10439
10440 2015-04-07  Pedro Alves  <palves@redhat.com>
10441
10442         * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10443         gdb_expect.
10444
10445 2015-04-07  Pedro Alves  <palves@redhat.com>
10446
10447         * gdb.base/interrupt.exp: Don't handle the case of the inferior
10448         output appearing once only.
10449
10450 2015-04-07  Pedro Alves  <palves@redhat.com>
10451
10452         * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10453         that doesn't expect anything.  Return early if running to main
10454         fails.
10455
10456 2015-04-07  Yao Qi  <yao.qi@linaro.org>
10457
10458         * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10459         (child_function): Call alarm.
10460         (main): Move call to alarm into the loop.
10461         * gdb.threads/non-stop-fair-events.exp: Build program with
10462         -DTIMEOUT=$timeout.
10463
10464 2015-04-06  Doug Evans  <xdje42@gmail.com>
10465
10466         * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10467         Fix dest parameter to board_info.
10468         (fpc_compile): Ditto.
10469         (gdb_compile_pascal): Rename dest arg to destfile.
10470
10471 2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
10472
10473         * gdb.ada/funcall_ref.exp: New file.
10474         * gdb.ada/funcall_ref/foo.adb: New file.
10475
10476 2015-04-02  Yao Qi  <yao.qi@linaro.org>
10477
10478         * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10479         is remote.
10480
10481 2015-04-02  Gary Benson <gbenson@redhat.com>
10482
10483         * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10484
10485 2015-04-01  Sasha Smundak  <asmundak@google.com>
10486
10487         * gdb.python/py-unwind-maint.c: New file.
10488         * gdb.python/py-unwind-maint.exp: New test.
10489         * gdb.python/py-unwind-maint.py: New file.
10490         * gdb.python/py-unwind.c: New file.
10491         * gdb.python/py-unwind.exp: New test.
10492         * gdb.python/py-unwind.py: New test.
10493
10494 2015-04-01  Pedro Alves  <palves@redhat.com>
10495
10496         * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10497         to fail instead of non-existent $test.
10498
10499 2015-04-01  Pedro Alves  <palves@redhat.com>
10500
10501         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10502         GDBFLAGS if not empty.
10503
10504 2015-04-01  Pierre-Marie de Rodat  <derodat@adacore.com>
10505
10506         * gdb.ada/complete.exp: Remove "multi_line".
10507         * gdb.ada/info_exc.exp: Remove "multi_line".
10508         * gdb.ada/packed_tagged.exp: Remove "multi_line".
10509         * gdb.ada/ptype_field.exp: Remove "multi_line".
10510         * gdb.ada/sym_print_name.exp: Remove "multi_line".
10511         * gdb.ada/tagged.exp: Remove "multi_line".
10512         * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10513         [multi_line ...]
10514         * gdb.btrace/delta.exp: Likewise.
10515         * gdb.btrace/exception.exp: Likewise.
10516         * gdb.btrace/function_call_history.exp: Likewise.
10517         * gdb.btrace/instruction_history.exp: Likewise.
10518         * gdb.btrace/nohist.exp: Likewise.
10519         * gdb.btrace/record_goto.exp: Likewise.
10520         * gdb.btrace/segv.exp: Likewise.
10521         * gdb.btrace/stepi.exp: Likewise.
10522         * gdb.btrace/tailcall.exp: Likewise.
10523         * gdb.btrace/unknown_functions.exp: Likewise.
10524         * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10525         * lib/gdb.exp: Add the "multi_line" helper.
10526
10527 2015-04-01  Pedro Alves  <palves@redhat.com>
10528
10529         * gdb.threads/tid-reuse.c: New file.
10530         * gdb.threads/tid-reuse.exp: New file.
10531
10532 2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
10533
10534         PR corefiles/16092
10535         * gdb.base/coredump-filter.c: New file.
10536         * gdb.base/coredump-filter.exp: Likewise.
10537
10538 2015-03-27  Petr Machata  <pmachata@redhat.com>
10539
10540         * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10541         (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10542         (Dwarf::assemble): Initialize them.
10543         (Dwarf::lines): New function.
10544
10545 2015-03-26  Jon Turney  <jon.turney@dronecode.org.uk>
10546
10547         * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10548         SYMBOL_PREFIX for x86_64-*-cygwin.
10549
10550 2015-03-26  Andy Wingo  <wingo@igalia.com>
10551
10552         PR symtab/18148
10553         * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10554         const_value but not a location.
10555         * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10556         location defined in non-main CUs are visible.
10557
10558 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10559
10560         PR testsuite/18139
10561         * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10562         Add a line number entry for the same line.
10563         * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10564         Add a line number entry for the same line.
10565
10566 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10567
10568         * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10569         .int 0.
10570         (func): Likewise.  Add .Lfunc_1 label.
10571         Use .Lfunc_1 label.
10572         * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10573         .int 0.
10574         (func): Likewise.
10575         Use .Lfunc_1 label.
10576
10577 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10578
10579         * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10580         Call gdb_compile instead to compile each .s files without debug
10581         information.
10582
10583 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10584
10585         * gdb.base/savedregs.exp (process_saved_regs): Make
10586         "Saved registers:" optional in the pattern.
10587
10588 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
10589
10590         * gdb.btrace/next.exp: Merged into step.exp.
10591         * gdb.btrace/finish.exp: Merged into step.exp.
10592         * gdb.btrace/nexti.exp: Merged into stepi.exp.
10593         * gdb.btrace/step.exp: Use record_goto.c as test file.  Avoid using
10594         "record goto" and checking the exact replay position.
10595         * gdb.btrace/stepi.exp: Choose test file based on target.  Do not
10596         check for "Recording format" in "info record" output.
10597         * gdb.btrace/record_goto.exp: Choose test file based on target.
10598         * gdb.btrace/x86-record_goto.S: Renamed into ...
10599         * gdb.btrace/x86_64-record_goto.S: ... this.
10600         * gdb.btrace/i686-record_goto.S: New.
10601         * gdb.btrace/x86-tailcall.S: Renamed into ...
10602         * gdb.btrace/x86_64-tailcall.S: ... this.
10603         * gdb.btrace/i686-tailcall.S: New.
10604         * gdb.btrace/x86-tailcall.c: Renamed into ...
10605         * gdb.btrace/tailcall.c: ... this.  Split "return ++answer" into two
10606         separate statements.  Update test.
10607         * gdb.btrace/delta.exp: Use record_goto.c as test file.
10608         * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10609         * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10610         * gdb.btrace/tailcall.exp: Choose test file based on target.
10611         * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10612
10613 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
10614
10615         * gdb.btrace/exception.exp: Increase BTS buffer size.
10616
10617 2015-03-24  Pedro Alves  <palves@redhat.com>
10618
10619         * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10620
10621 2015-03-24  Pedro Alves  <palves@redhat.com>
10622
10623         * gdb.threads/schedlock.exp (test_step): No longer expect that
10624         "set scheduler-locking step" with "next" over a function call runs
10625         threads unlocked.
10626
10627 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10628
10629         * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10630
10631 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10632
10633         PR breakpoints/16466
10634         * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10635         * gdb.mi/mi-pending.c (thread_func): New function.
10636         (int main): Add threading support required.
10637         * gdb.mi/mi-pending.exp: Add tests for this issue.
10638         * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10639         (pendfunc2): Remove stdio dependency.
10640         * gdb.mi/mi-pendshr2.c: New file.
10641
10642 2015-03-23  Keith Seitz  <keiths@redhat.com>
10643
10644         * gdb.linespec/keywords.c: New file.
10645         * gdb.linespec/keywords.exp: New file.
10646
10647 2015-03-23  Keith Seitz  <keiths@redhat.com>
10648
10649         PR gdb/18021
10650         * gdb.dwarf2/staticvirtual.exp: New test.
10651
10652 2015-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
10653
10654         * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10655         * README: Remove HP-UX and gdb.hp.
10656         (configuration):
10657         * configure: Regenerate.
10658         * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10659         gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10660         gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10661         gdb.hp/gdb.defects/Makefile.
10662         * gdb.hp/Makefile.in: File deleted.
10663         * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10664         * gdb.hp/gdb.aCC/optimize.c: File deleted.
10665         * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10666         * gdb.hp/gdb.aCC/run.c: File deleted.
10667         * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10668         * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10669         * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10670         * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10671         * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10672         * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10673         * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10674         * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10675         * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10676         * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10677         * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10678         * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10679         * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10680         * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10681         * gdb.hp/gdb.base-hp/reg.s: File deleted.
10682         * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10683         * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10684         * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10685         * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10686         * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10687         * gdb.hp/gdb.compat/Makefile.in: File deleted.
10688         * gdb.hp/gdb.compat/average.c: File deleted.
10689         * gdb.hp/gdb.compat/sum.c: File deleted.
10690         * gdb.hp/gdb.compat/xdb.c: File deleted.
10691         * gdb.hp/gdb.compat/xdb0.c: File deleted.
10692         * gdb.hp/gdb.compat/xdb0.h: File deleted.
10693         * gdb.hp/gdb.compat/xdb1.c: File deleted.
10694         * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10695         * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10696         * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10697         * gdb.hp/gdb.defects/Makefile.in: File deleted.
10698         * gdb.hp/gdb.defects/bs14602.c: File deleted.
10699         * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10700         * gdb.hp/gdb.defects/solib-d.c: File deleted.
10701         * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10702         * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10703         * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10704         * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10705         * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10706         * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10707         * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10708         * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10709         * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10710         * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10711         * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10712         * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10713         * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10714         * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10715         * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10716         * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10717         * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10718         * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10719         * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10720         * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10721         * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10722         * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10723         * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10724         * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10725         * gdb.hp/tools/odump: File deleted.
10726
10727 2015-03-19  Pedro Alves  <palves@redhat.com>
10728
10729         * gdb.threads/continue-pending-status.exp (saw_thread_2)
10730         (saw_thread_3): New globals.
10731         (top level): Increment them when an event for the corresponding
10732         thread is seen.
10733         (no thread starvation): New test.
10734
10735 2015-03-19  Pedro Alves  <palves@redhat.com>
10736
10737         * gdb.threads/continue-pending-status.c: New file.
10738         * gdb.threads/continue-pending-status.exp: New file.
10739
10740 2015-03-18  Pedro Alves  <palves@redhat.com>
10741
10742         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10743         Use gdb_is_target_remote instead of is_remote.  Use
10744         gdb_test_multiple instead of gdb_expect.  Exit early if
10745         gdb_test_multiple hits its internal matches.  Tighten stepi tests
10746         expected output.  Fail on exit with any signal, instead of just
10747         SIGILL.
10748
10749 2015-03-18  Yao Qi  <yao.qi@linaro.org>
10750
10751         PR tdep/18107
10752         * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10753         variable.
10754         * gdb.base/catch-syscall.exp: Don't skip it on
10755         aarch64*-*-linux* target.  Remove elements in all_syscalls.
10756         (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10757         target.
10758         (setup_all_syscalls): New proc.
10759
10760 2015-03-16  Yao Qi  <yao.qi@linaro.org>
10761
10762         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10763         (top level): Skip tests if valid_addr_p returns false for
10764         $cmd1 or $cmd2.
10765
10766 2015-03-11  Andy Wingo  <wingo@igalia.com>
10767
10768         * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10769
10770 2015-03-11  Yao Qi  <yao.qi@linaro.org>
10771
10772         * gdb.base/catch-syscall.exp: Fix typo in comments.
10773
10774 2015-03-11  Yao Qi  <yao.qi@linaro.org>
10775
10776         * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10777
10778 2015-03-09  Pedro Alves  <palves@redhat.com>
10779
10780         * dg-extract-results.py: Delete.
10781
10782 2015-03-09  Pedro Alves  <palves@redhat.com>
10783
10784         Merge dg-extract-results.sh from GCC upstream (r218843).
10785
10786         2014-12-17  Sergio Durigan Junior  <sergiodj@redhat.com>
10787                 * dg-extract-results.sh: Use --text with grep to avoid issues with
10788                 binary files.  Fall back to cat -v, if that doesn't work.
10789
10790 2015-03-05  Pedro Alves  <palves@redhat.com>
10791
10792         * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10793
10794 2015-03-04  Simon Marchi  <simon.marchi@ericsson.com>
10795
10796         * lib/mi-support.exp (mi_expect_interrupt): Accept
10797         alternative event for when in all-stop mode.
10798
10799 2015-03-04  Pedro Alves  <palves@redhat.com>
10800
10801         * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10802
10803 2015-03-04  Mark Kettenis  <kettenis@gnu.org>
10804
10805         * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10806
10807 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10808
10809         * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10810         regexps for GDB's current line display, accept a hex address
10811         preceding the line number.
10812
10813 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10814
10815         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10816         the 'arch1' variable for "s390*-linux*" targets.
10817
10818 2015-03-04  Pedro Alves  <palves@redhat.com>
10819
10820         * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10821         (main): Pass missing retval argument to pthread_join call.
10822
10823 2015-03-02  Pedro Alves  <palves@redhat.com>
10824
10825         * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
10826         (top level): Call do_test with non-stop as well.
10827
10828 2015-03-02  Pedro Alves  <palves@redhat.com>
10829
10830         * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
10831         -1.
10832
10833 2015-03-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10834
10835         * gdb.arch/s390-vregs.exp: New test.
10836         * gdb.arch/s390-vregs.S: New file.
10837
10838 2015-02-27  Pedro Alves  <palves@redhat.com>
10839
10840         * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
10841         call to catch_command_errors.
10842         * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
10843         catch_command_errors.
10844
10845 2015-02-27  Pedro Alves  <palves@redhat.com>
10846
10847         * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
10848         "true" for boolean result.
10849         * gdb.gdb/selftest.exp (test_with_self): Also accept full
10850         prototype of main.
10851
10852 2015-02-27  Pedro Alves  <palves@redhat.com>
10853
10854         * lib/unbuffer_output.c: New file.
10855         * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
10856         (main): Call gdb_unbuffer_output.
10857
10858 2015-02-27  Yao Qi  <yao.qi@linaro.org>
10859
10860         * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
10861         target.
10862
10863 2015-02-26  Doug Evans  <dje@google.com>
10864
10865         * gdb.cp/class2.cc (Dbase, D): New classes.
10866         (main): New local delta.
10867         * gdb.cp/class2.exp: Test printing delta.
10868         * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
10869         (dynbar): New global.
10870         * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
10871
10872 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
10873
10874         * gdb.compile/compile-ifunc.c: New file.
10875         * gdb.compile/compile-ifunc.exp: New file.
10876
10877 2015-02-26  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10878
10879         * gdb.base/structs.exp: Check for correct struct on finish.
10880
10881 2015-02-26  Yao Qi  <yao.qi@linaro.org>
10882
10883         * lib/dwarf.exp (function_range): Adjust pattern when $func_length
10884         is zero.
10885
10886 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
10887
10888         * gdb.arch/cordic.ko.bz2: New file.
10889         * gdb.arch/cordic.ko.debug.bz2: New file.
10890         * gdb.arch/ppc64-symtab-cordic.exp: New file.
10891
10892 2015-02-25  Yao Qi  <yao.qi@linaro.org>
10893
10894         * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
10895         aarch64*-*-* target.
10896
10897 2015-02-23  Pedro Alves  <palves@redhat.com>
10898
10899         * lib/gdb.exp (delete_breakpoints): Rewrite using
10900         gdb_test_multiple.
10901
10902 2015-02-23  Pedro Alves  <palves@redhat.com>
10903
10904         * gdb.base/info-os.c: Include stdlib.h.
10905
10906 2015-02-22  Doug Evans  <xdje42@gmail.com>
10907
10908         PR symtab/17855
10909         * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
10910         is read after symbols have been re-read.
10911         * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
10912         * gdb.ada/exec_changed/second.adb (Second): Ditto.
10913
10914 2015-02-21  Doug Evans  <dje@google.com>
10915
10916         * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
10917
10918 2015-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
10919
10920         PR corefiles/17808
10921         * gdb.arch/i386-biarch-core.core.bz2: New file.
10922         * gdb.arch/i386-biarch-core.exp: New file.
10923
10924 2015-02-21  Pedro Alves  <palves@redhat.com>
10925
10926         * gdb.threads/multi-create-ns-info-thr.exp: Return early if
10927         runto_main fails.
10928
10929 2015-02-20  Pedro Alves  <palves@redhat.com>
10930
10931         * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
10932         info probes.
10933
10934 2015-02-20  Pedro Alves  <palves@redhat.com>
10935
10936         * gdb.threads/multi-create-ns-info-thr.exp: New file.
10937
10938 2015-02-20  Pedro Alves  <palves@redhat.com>
10939
10940         * gdb.trace/no-attach-trace.exp: Don't run to main.  Do
10941         clean_restart before gdb_target_supports_trace.
10942
10943 2015-02-20  Pedro Alves  <palves@redhat.com>
10944
10945         PR threads/18006
10946         * gdb.threads/clone-thread_db.c: New file.
10947         * gdb.threads/clone-thread_db.exp: New file.
10948
10949 2015-02-19  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10950
10951         PR breakpoints/16812
10952         * gdb.base/catch-gdb-caused-signals.c: New file.
10953         * gdb.base/catch-gdb-caused-signals.exp: New file.
10954
10955 2015-02-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
10956
10957         * configure: Regenerated.
10958         * configure.ac: Use GDB_AC_TRANSFORM.
10959         * aclocal.m4: sinclude ../transform.m4.
10960
10961 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
10962
10963         * lib/dtrace.exp: New file.
10964         * gdb.base/dtrace-probe.exp: Likewise.
10965         * gdb.base/dtrace-probe.d: Likewise.
10966         * gdb.base/dtrace-probe.c: Likewise.
10967         * lib/pdtrace.in: Likewise.
10968         * configure.ac: Output variables with the transformed names of
10969         the strip, readelf, as and nm tools.  AC_SUBST lib/pdtrace.in.
10970         * configure: Regenerated.
10971
10972 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
10973
10974         * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
10975         expected message when trying to access $_probe_* convenience
10976         variables while not on a probe.
10977
10978 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
10979
10980         * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
10981
10982 2015-02-11  Pedro Alves  <pedro@codesourcery.com>
10983
10984         * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
10985         * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
10986
10987 2015-02-10  Doug Evans  <xdje42@gmail.com>
10988
10989         * lib/gdb.exp (gdb_load): Always return a result.
10990
10991 2015-02-10  Pedro Alves  <palves@redhat.com>
10992
10993         * gdb.threads/signal-sigtrap.c: New file.
10994         * gdb.threads/signal-sigtrap.exp: New file.
10995
10996 2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
10997
10998         * gdb.trace/no-attach-trace.c: New file.
10999         * gdb.trace/no-attach-trace.exp: New file.
11000
11001 2015-02-09  Mark Wielaard  <mjw@redhat.com>
11002
11003         * gdb.dwarf2/atomic.c: New file.
11004         * gdb.dwarf2/atomic-type.exp: Likewise.
11005
11006 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11007
11008         * gdb.btrace/buffer-size.exp: Update "info record" output.
11009         * gdb.btrace/delta.exp: Update "info record" output.
11010         * gdb.btrace/enable.exp: Update "info record" output.
11011         * gdb.btrace/finish.exp: Update "info record" output.
11012         * gdb.btrace/instruction_history.exp: Update "info record" output.
11013         * gdb.btrace/next.exp: Update "info record" output.
11014         * gdb.btrace/nexti.exp: Update "info record" output.
11015         * gdb.btrace/step.exp: Update "info record" output.
11016         * gdb.btrace/stepi.exp: Update "info record" output.
11017         * gdb.btrace/nohist.exp: Update "info record" output.
11018
11019 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11020
11021         * gdb.btrace/buffer-size: New.
11022
11023 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11024
11025         * gdb.btrace/delta.exp: Update "info record" output.
11026         * gdb.btrace/enable.exp: Update "info record" output.
11027         * gdb.btrace/finish.exp: Update "info record" output.
11028         * gdb.btrace/instruction_history.exp: Update "info record" output.
11029         * gdb.btrace/next.exp: Update "info record" output.
11030         * gdb.btrace/nexti.exp: Update "info record" output.
11031         * gdb.btrace/step.exp: Update "info record" output.
11032         * gdb.btrace/stepi.exp: Update "info record" output.
11033         * gdb.btrace/nohist.exp: Update "info record" output.
11034
11035 2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
11036
11037         PR gdb/15678
11038         * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
11039
11040 2015-02-06  Pedro Alves  <palves@redhat.com>
11041
11042         * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
11043         macro.
11044         (seconds_left, again): New globals.
11045         (main): Wait seconds_left in a 1-second sleep loop instead of
11046         sleeping 180 seconds.  If 'again' is set, reset the seconds
11047         counter.
11048         * gdb.threads/attach-many-short-lived-threads.exp (test): Set
11049         'again' in the inferior before detaching.  Print the seconds left.
11050         (options): New global.
11051         (top level): Build program with -DTIMEOUT=$timeout.
11052
11053 2015-02-06  Pedro Alves  <palves@redhat.com>
11054
11055         * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
11056         determine how many seconds to pass to 'alarm'.
11057         * gdb.base/gdb-sigterm.exp (top level): Build program with
11058         -DTIMEOUT=$timeout.
11059         (do_test): Return success/failure indication.  Add more verbose
11060         logging.  Don't fail if 200 single steps are seen.  Instead, fail
11061         when the test times out.
11062         (passes): New global.
11063         (top level): Break the testing loop if testing fails on any
11064         iteration.  Use gdb_assert.
11065
11066 2015-02-04  Don Breazeal  <donb@codesourcery.com>
11067
11068         * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
11069         and initialize them.
11070         (ipc_cleanup): New function.
11071         (main): Don't declare shmid, semid, and msqid.  Add a call to
11072         atexit so that we call ipc_cleanup on exit.
11073
11074 2015-02-04  Pedro Alves  <palves@redhat.com>
11075
11076         * boards/native-extended-gdbserver.exp: Remove any target variant
11077         specifications from the board name before clearing the isremote
11078         flag from board_info.
11079
11080 2015-01-31  Doug Evans  <xdje42@gmail.com>
11081
11082         * gdb.base/maint.exp <maint print type argc>: Update expected output.
11083
11084 2015-01-31  Gary Benson <gbenson@redhat.com>
11085
11086         * gdb.base/completion.exp: Disable completion limiting for
11087         existing tests.  Add new tests to check completion limiting.
11088         * gdb.linespec/ls-errs.exp: Disable completion limiting.
11089
11090 2015-01-31  Doug Evans  <xdje42@gmail.com>
11091
11092         * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
11093
11094 2015-01-31  Doug Evans  <xdje42@gmail.com>
11095
11096         * gdb.guile/scm-section-script.c: Add duplicate inlined section script
11097         entries.  Duplicate file section script entries.
11098         * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
11099         inlined entries.  Add test for safe-path rejection.
11100         * gdb.python/py-section-script.c: Add duplicate inlined section script
11101         entries.  Duplicate file section script entries.
11102         * gdb.python/py-section-script.exp: Add tests for duplicate entries,
11103         inlined entries.  Add test for safe-path rejection.
11104
11105 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11106
11107         * gdb.ada/disc_arr_bound: New testcase.
11108
11109 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11110
11111         * gdb.ada/mi_var_array: New testcase.
11112
11113 2015-01-27  Doug Evans  <dje@google.com>
11114
11115         * gdb.python/py-objfile.exp: Add tests for objfile.username.
11116         Add test for objfile.filename, objfile.username after objfile
11117         has been unloaded.
11118
11119 2015-01-26  Joel Brobecker  <brobecker@adacore.com>
11120
11121         * gdb.python/py-lookup-type.exp (test_lookup_type): Change
11122         the second test to print the name attribute of value
11123         returned by the call to gdb.lookup_type, and adjust
11124         the expected output accordingly.
11125
11126 2015-01-25  Mark Wielaard  <mjw@redhat.com>
11127
11128         * gdb.arch/i386-bp_permanent.c (standard): New declaration.
11129         * gdb.base/disp-step-fork.c: Include unistd.h.
11130         * gdb.base/siginfo-obj.c: Include stdio.h.
11131         * gdb.base/siginfo-thread.c: Likewise.
11132         * gdb.mi/non-stop.c: Include unistd.h.
11133         * gdb.mi/nsthrexec.c: Include stdio.h.
11134         * gdb.mi/pthreads.c: Include unistd.h.
11135         * gdb.modula2/unbounded1.c (main): Declare returns int.
11136         * gdb.reverse/consecutive-reverse.c: Likewise.
11137         * gdb.threads/create-fail.c: Include unistd.h.
11138         * gdb.threads/killed.c: Likewise.
11139         * gdb.threads/linux-dp.c: Likewise.
11140         * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
11141         * gdb.threads/non-ldr-exc-2.c: Likewise.
11142         * gdb.threads/non-ldr-exc-3.c: Likewise.
11143         * gdb.threads/non-ldr-exc-4.c: Likewise.
11144         * gdb.threads/pthreads.c: Include unistd.h.
11145         (main): Declare returns int.
11146         * gdb.threads/tls-main.c (foo): New declaration.
11147         * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
11148
11149 2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
11150
11151         * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
11152         * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
11153
11154 2015-01-15  Mark Wielaard  <mjw@redhat.com>
11155
11156         * gdb.base/noreturn-return.c: New file.
11157         * gdb.base/noreturn-return.exp: New file.
11158         * gdb.base/noreturn-finish.c: New file.
11159         * gdb.base/noreturn-finish.exp: New file.
11160
11161 2015-01-23  Pedro Alves  <palves@redhat.com>
11162
11163         * gdb.threads/continue-pending-after-query.c: New file.
11164         * gdb.threads/continue-pending-after-query.exp: New file.
11165
11166 2015-01-22  Anders Granlund  <anders.granlund@ericsson.com>
11167             Simon Marchi  <simon.marchi@ericsson.com>
11168
11169         * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
11170         * gdb.base/valgrind-db-attach.exp: Same.
11171         * gdb.base/valgrind-infcall.exp: Same.
11172         * lib/mi-support.exp (default_mi_gdb_start): Same.
11173         * lib/prompt.exp (default_prompt_gdb_start): Same.
11174         * lib/gdb.exp (default_gdb_spawn): Same.
11175         (gdb_interact): New.
11176
11177
11178 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
11179
11180         * gdb.compile/compile.exp (pointer to jit function): New test.
11181
11182 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
11183
11184         * lib/gdb.exp (supports_process_record): Return true for
11185         powerpc*-*-linux*.
11186         (supports_reverse): Likewise.
11187
11188 2015-01-15  Don Breazeal  <donb@codesourcery.com>
11189
11190         * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
11191         instead of checking whether the target board is remote and
11192         use spawn_wait_for_attach instead of exec/sleep.
11193         * gdb.base/attach-twice.exp: Likewise.
11194
11195 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
11196
11197         * gdb.ada/var_arr_attrs: New testcase.
11198
11199 2015-01-14  Pedro Alves  <palves@redhat.com>
11200             Joel Brobecker  <brobecker@adacore.com>
11201
11202         PR gdb/17525
11203         * gdb.base/bp-cmds-execution-x-script.c: New file.
11204         * gdb.base/bp-cmds-execution-x-script.exp: New file.
11205         * gdb.base/bp-cmds-execution-x-script.gdb: New file.
11206
11207 2015-01-14  Pedro Alves  <palves@redhat.com>
11208
11209         PR cli/17828
11210         * gdb.base/batch-preserve-term-settings.c: New file.
11211         * gdb.base/batch-preserve-term-settings.exp: New file.
11212
11213 2015-01-13  Doug Evans  <dje@google.com>
11214
11215         * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
11216         binary.
11217
11218 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11219
11220         * Makefile.in (clean mostlyclean): Do not delete *.py.
11221
11222 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11223
11224         * gdb.python/py-lookup-type.exp: New file.
11225
11226 2015-01-12  Pedro Alves  <palves@redhat.com>
11227
11228         * gdb.python/py-prompt.exp: When the board can't spawn for attach,
11229         restore GDBFLAGS before returning.
11230
11231 2015-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
11232
11233         * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
11234         is_amd64_regs_target and is_x86_like_target.
11235
11236 2015-01-11  Doug Evans  <xdje42@gmail.com>
11237
11238         * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
11239         is given without an explicit form.
11240         * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
11241         attributes.
11242         * gdb.dwarf/corrupt.exp: Ditto.
11243         * gdb.dwarf2/enum-type.exp: Ditto.
11244         * gdb.trace/entry-values.exp: Ditto.
11245         * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
11246
11247 2015-01-11  Doug Evans  <xdje42@gmail.com>
11248
11249         PR gdb/15830
11250         * gdb.base/maint.exp: Remove references to "maint demangle".
11251         * gdb.cp/demangle.exp: Update.  "maint demangle" -> "demangle".
11252         Add tests for explicitly specifying language to demangle.
11253         * gdb.dlang/demangle.exp: Ditto.
11254
11255 2015-01-09  Pedro Alves  <palves@redhat.com>
11256
11257         * gdb.threads/non-stop-fair-events.c: New file.
11258         * gdb.threads/non-stop-fair-events.exp: New file.
11259
11260 2015-01-09  Pedro Alves  <palves@redhat.com>
11261
11262         * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
11263         the global scope.  Set a breakpoint after all threads are started
11264         rather than stepping over two source lines.  Expect the prompt.
11265         * gdb.base/watch_thread_num.c (threads_started_barrier): New
11266         global.
11267         (NUM): Now 15.
11268         (main): Use threads_started_barrier to wait for all threads to
11269         start.  Main thread no longer calls thread_function.  Exit after
11270         180 seconds.
11271         (loop): New function.
11272         (thread_function): Wait on threads_started_barrier barrier.  Call
11273         'loop' at each iteration.
11274         * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
11275         threads have started, instead of hardcoding number of "next"
11276         steps.  Use an access watchpoint instead of a write watchpoint.
11277
11278 2015-01-09  Pedro Alves  <palves@redhat.com>
11279
11280         * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
11281         (thread_func): Wait on barrier.
11282         (main): Wait for all threads to start before stopping GDB.
11283         * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11284         global.
11285         (thread1_func, thread2_func): Wait on barrier.
11286         (main): Wait for all threads to start before stopping GDB.
11287         * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11288         New global.
11289         (thread1_func, thread2_func): Wait on barrier.
11290         (main): Wait for all threads to start before stopping GDB.
11291
11292 2015-01-09  Pedro Alves  <palves@redhat.com>
11293
11294         * gdb.threads/attach-many-short-lived-threads.c: New file.
11295         * gdb.threads/attach-many-short-lived-threads.exp: New file.
11296
11297 2014-01-09  Pedro Alves  <palves@redhat.com>
11298
11299         * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11300         instead of to thread 2.
11301         * gdb.threads/signal-command-multiple-signals-pending.c (main):
11302         Add barrier around each pthread_create call instead of around all
11303         calls.
11304         * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11305         Set a break on thread_function and have the child threads hit it
11306         one at at a time.
11307
11308 2015-01-09  Pedro Alves  <palves@redhat.com>
11309
11310         * lib/gdb.exp (can_spawn_for_attach): New procedure.
11311         (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11312         false.
11313         * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11314         checking whether the target board is remote.
11315         * gdb.multi/multi-attach.exp: Likewise.
11316         * gdb.python/py-sync-interp.exp: Likewise.
11317         * gdb.server/ext-attach.exp: Likewise.
11318         * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11319         tests that need to attach, instead of checking whether the target
11320         board is remote at the top of the file.
11321
11322 2015-01-08  Yao Qi  <yao@codesourcery.com>
11323
11324         * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11325
11326 2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
11327
11328         Fix testcase compilation.
11329         * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11330
11331 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
11332
11333         * gdb.python/py-type.exp: Add a couple test about empty
11334         array creation, and negative-length array creation.
11335
11336 2015-01-02  Doug Evans  <xdje42@gmail.com>
11337
11338         * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11339
11340 2015-01-02  Doug Evans  <dje@google.com>
11341
11342         * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11343
11344 2014-12-29  Yao Qi  <yao@codesourcery.com>
11345
11346         * gdb.trace/entry-values.exp: Update comments.  Rename variable
11347         bar_call_foo to returned_from_foo.
11348
11349 2014-12-20  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
11350
11351         PR gdb/17394
11352         * gdb.linespec/break-asm-file.c: New file.
11353         * gdb.linespec/break-asm-file.exp: New file.
11354         * gdb.linespec/break-asm-file0.s: New file.
11355         * gdb.linespec/break-asm-file1.s: New file.
11356
11357 2014-12-18  Nigel Stephens  <nigel@mips.com>
11358             Maciej W. Rozycki  <macro@codesourcery.com>
11359
11360         * gdb.base/float.exp: Handle the new output from "info float" on
11361         MIPS targets.
11362
11363 2014-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
11364
11365         Fix MinGW compilation.
11366         * gdb.compile/compile-ops.exp: Update untested message if
11367         !skip_compile_feature_tests.
11368         * gdb.compile/compile-setjmp.exp: Likewise.
11369         * gdb.compile/compile-tls.exp: Likewise.
11370         * gdb.compile/compile.exp: Likewise.
11371         * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
11372         supported on this host".
11373
11374 2014-12-16  Doug Evans  <xdje42@gmail.com>
11375
11376         * boards/stabs.exp: New file.
11377
11378 2014-12-16  Andreas Arnez  <arnez@vnet.linux.ibm.com>
11379
11380         * gdb.base/completion.exp: Adjust to format changes of "maint
11381         print user-registers".
11382
11383 2014-12-16  Catalin Udma  <catalin.udma@freescale.com>
11384
11385         PR server/17457
11386         * gdb.arch/aarch64-fp.c: New file.
11387         * gdb.arch/aarch64-fp.exp: New file.
11388
11389 2014-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
11390
11391         Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11392         r210637, r210913, r211666, r215400, r215817).
11393
11394         2014-05-08  Richard Sandiford  <rdsandiford@googlemail.com>
11395                 * dg-extract-results.py: New file.
11396                 * dg-extract-results.sh: Use it if the environment seems
11397                 suitable.
11398
11399         2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
11400
11401                 * dg-extract-results.py (parse_run): Handle warnings that
11402                 are printed before a test harness is run.
11403
11404         2014-05-25  Richard Sandiford  <rdsandiford@googlemail.com>
11405
11406                 * dg-extract-results.py (Named): Remove __cmp__ method.
11407                 (output_variation): Use a key to sort variation.harnesses.
11408
11409         2014-06-14  Richard Sandiford  <rdsandiford@googlemail.com>
11410
11411                 * dg-extract-results.py: For Python 3, force sys.stdout to
11412                 handle surrogate escape sequences.
11413                 (safe_open): New function.
11414                 (output_segment, main): Use it.
11415
11416         2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>
11417
11418                 * dg-extract-results.py (Prog.result_re): Include options
11419                 in test name.
11420
11421         2014-10-02  Segher Boessenkool  <segher@kernel.crashing.org>
11422
11423                 * dg-extract-results.py (output_variation): Always sort if
11424                 do_sum.
11425
11426 2014-12-15  Simon Marchi  <simon.marchi@ericsson.com>
11427
11428         * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11429         as long as we get pagination notifications.
11430
11431 2014-12-15  Jason Merrill  <jason@redhat.com>
11432
11433         * Makefile.in (check-gdb.%): Restore.
11434         * README: Mention it.
11435
11436 2014-12-13  Joel Brobecker  <brobecker@adacore.com>
11437
11438         * gdb.ada/str_uninit: New testcase.
11439
11440 2014-12-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
11441
11442         PR symtab/17642
11443         * gdb.base/vla-stub-define.c: New file.
11444         * gdb.base/vla-stub.c: New file.
11445         * gdb.base/vla-stub.exp: New file.
11446
11447 2014-12-12  Phil Muldoon  <pmuldoon@redhat.com>
11448             Jan Kratochvil  <jan.kratochvil@redhat.com>
11449             Tom Tromey  <tromey@redhat.com>
11450
11451         * configure.ac: Add gdb.compile/.
11452         * configure: Regenerate.
11453         * gdb.compile/Makefile.in: New file.
11454         * gdb.compile/compile-ops.exp: New file.
11455         * gdb.compile/compile-ops.c: New file.
11456         * gdb.compile/compile-tls.c: New file.
11457         * gdb.compile/compile-tls.exp: New file.
11458         * gdb.compile/compile-constvar.S: New file.
11459         * gdb.compile/compile-constvar.c: New file.
11460         * gdb.compile/compile-mod.c: New file.
11461         * gdb.compile/compile-nodebug.c: New file.
11462         * gdb.compile/compile-setjmp-mod.c: New file.
11463         * gdb.compile/compile-setjmp.c: New file.
11464         * gdb.compile/compile-setjmp.exp: New file.
11465         * gdb.compile/compile-shlib.c: New file.
11466         * gdb.compile/compile.c: New file.
11467         * gdb.compile/compile.exp: New file.
11468         * lib/gdb.exp (skip_compile_feature_tests): New proc.
11469
11470 2014-12-12  Tom Tromey  <tromey@redhat.com>
11471
11472         * lib/dwarf.exp (_location): Ignore blank lines.  Allow comments.
11473         Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11474
11475 2014-12-12  Doug Evans  <dje@google.com>
11476
11477         * lib/gdb-python.exp (get_python_valueof): New function.
11478         * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11479
11480 2014-12-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11481
11482         * gdb.base/completion.exp: Add test for completion of "info
11483         registers ".
11484
11485 2014-12-12  Maciej W. Rozycki  <macro@codesourcery.com>
11486
11487         * gdb.base/func-ptrs.c: New file.
11488         * gdb.base/func-ptrs.exp: New file.
11489
11490 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11491
11492         PR breakpoints/17012
11493         * gdb.base/dprintf-detach.c: New file.
11494         * gdb.base/dprintf-detach.exp: New file.
11495
11496 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11497
11498         * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11499         * lib/gdb.exp (target_is_gdbserver): New procedure.
11500
11501 2014-12-08  Doug Evans  <dje@google.com>
11502
11503         * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11504
11505 2014-12-05  Yao Qi  <yao@codesourcery.com>
11506
11507         * gdb.guile/scm-error.exp: Remove the third argument to
11508         gdb_remote_download.
11509         * gdb.guile/scm-frame-args.exp: Likewise.
11510         * gdb.guile/scm-section-script.exp: Likewise.
11511
11512 2014-12-05  Yao Qi  <yao@codesourcery.com>
11513
11514         * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11515
11516 2014-12-04  Doug Evans  <dje@google.com>
11517
11518         * gdb.python/py-objfile.exp: Add tests for
11519         objfile.add_separate_debug_file.
11520
11521 2014-12-04  Doug Evans  <dje@google.com>
11522
11523         * lib/gdb.exp (get_build_id): New function.
11524         (build_id_debug_filename_get): Rewrite to use it.
11525         * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11526
11527 2014-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
11528
11529         * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11530         `method(long)', not just 0x0.
11531         * gdb.cp/nsalias.exp: Align code labels to 4.
11532         * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11533         * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11534         * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11535         * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11536         (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11537         * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11538
11539 2014-12-02  Doug Evans  <dje@google.com>
11540
11541         PR symtab/17602
11542         * gdb.cp/anon-ns.cc: Move guts of this file to ...
11543         * gdb.cp/anon-ns2.cc: ... here.  New file.
11544         * gdb.cp/anon-ns.exp: Update.
11545
11546 2014-12-02  Nick Bull  <nicholaspbull@gmail.com>
11547
11548         * gdb.python/py-events.py (inferior_call_handler): New.
11549         (register_changed_handler, memory_changed_handler): New.
11550         (test_events.invoke): Register new handlers.
11551         * gdb.python/py-events.exp: Add tests for inferior call,
11552         memory_changed and register_changed events.
11553
11554 2014-12-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11555
11556         * gdb.base/execl-update-breakpoints.exp: Specify the link address
11557         with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
11558         if the linker doesn't understand this.
11559
11560 2014-12-01  Simon Marchi  <simon.marchi@ericsson.com>
11561
11562         * gdb.python/python.exp: Change expected reply to help().
11563
11564 2014-12-01  Yao Qi  <yao@codesourcery.com>
11565
11566         * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
11567         AC_CONFIG_SUBDIRS(gdb.gdbtk).
11568         * configure: Re-generated.
11569
11570 2014-11-28  Siva Chandra Reddy  <sivachandra@google.com>
11571
11572         * gdb.cp/chained-calls.cc: New file.
11573         * gdb.cp/chained-calls.exp: New file.
11574         * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11575
11576 2014-11-28  Simon Marchi  <simon.marchi@ericsson.com>
11577
11578         * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11579         * gdb.dwarf2/symtab-producer.exp: Same.
11580         * gdb.gdb/python-interrupts.exp: Same.
11581         * gdb.gdb/python-selftest.exp: Same.
11582         * gdb.python/py-linetable.exp: Same.
11583         * gdb.python/py-type.exp: Same.
11584         * gdb.python/py-value-cc.exp: Same.
11585         * gdb.python/py-value.exp: Same.
11586
11587 2014-11-28  Yao Qi  <yao@codesourcery.com>
11588
11589         * gdb.base/break-probes.exp: Match library name prefixed with
11590         sysroot.
11591
11592 2014-11-27  Simon Marchi  <simon.marchi@ericsson.com>
11593
11594         * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11595         test expected output.  Add parentheses for the call to print.
11596         Remove L suffix from integers.
11597
11598 2014-11-26  Doug Evans  <dje@google.com>
11599
11600         * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11601
11602 2014-11-22  Yao Qi  <yao@codesourcery.com>
11603
11604         * gdb.trace/entry-values.c: Remove asms.
11605         (foo): Add foo_label.
11606         (bar): Add bar_label.
11607         * gdb.trace/entry-values.exp: Remove code computing  foo's
11608         length and bar's length.
11609         (Dwarf::assemble): Invoke function_range for bar and use
11610         MACRO_AT_func for foo.
11611
11612 2014-11-22  Yao Qi  <yao@codesourcery.com>
11613
11614         * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11615         and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
11616         Use .Lgcc43_procstart instead of gcc43.
11617
11618 2014-11-21  Joel Brobecker  <brobecker@adacore.com>
11619
11620         * gdb.ada/n_arr_bound: New testcase.
11621
11622 2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
11623
11624         PR breakpoints/10737
11625         * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11626         test_catch_syscall_multi_arch.
11627         (test_catch_syscall_multi_arch): New function.
11628
11629 2014-11-20  Doug Evans  <xdje42@gmail.com>
11630
11631         * gdb.base/maint.exp: Update expected output.
11632
11633 2014-11-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11634
11635         * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11636         4-byte instruction on S390.
11637
11638 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
11639
11640         * gdb.ada/arr_arr: New testcase.
11641
11642 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
11643
11644         * gdb.ada/pkd_arr_elem: New Testcase.
11645
11646 2014-11-18  Luis Machado  <lgustavo@codesourcery.com>
11647
11648         * gdb.reverse/break-precsave: Expect completion message for
11649         core file reads.
11650         * gdb.reverse/consecutive-precsave.exp: Likewise.
11651         * gdb.reverse/finish-precsave.exp: Likewise.
11652         * gdb.reverse/i386-precsave.exp: Likewise.
11653         * gdb.reverse/machinestate-precsave.exp: Likewise.
11654         * gdb.reverse/sigall-precsave.exp: Likewise.
11655         * gdb.reverse/solib-precsave.exp: Likewise.
11656         * gdb.reverse/step-precsave.exp: Likewise.
11657         * gdb.reverse/until-precsave.exp: Likewise.
11658         * gdb.reverse/watch-precsave.exp: Likewise.
11659
11660 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11661
11662         * gdb.base/bp-permanent.c: Include unistd.h.
11663         * gdb.python/py-framefilter-mi.c (main): Add return type.
11664         * gdb.python/py-framefilter.c (main): Likewise.
11665         * gdb.trace/actions-changed.c (main): Likewise.
11666
11667 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11668
11669         * gdb.mi/until.c: Add eye-catchers.
11670         * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11671         line numbers.
11672
11673 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11674
11675         * gdb.base/condbreak.exp: Drop references to removed non-prototype
11676         function header variants in break1.c.
11677         * gdb.base/ena-dis-br.exp: Likewise.
11678         * gdb.base/hbreak2.exp: Likewise.
11679         * gdb.reverse/until-precsave.exp: Drop references to removed
11680         non-prototype function header variants in ur1.c.
11681         * gdb.reverse/until-reverse.exp: Likewise.
11682
11683 2014-11-17  Petr Machata  <pmachata@redhat.com>
11684
11685         * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
11686         ${_cu_offset_size} bytes abbrev offset.
11687
11688 2014-11-15  Doug Evans  <xdje42@gmail.com>
11689
11690         PR symtab/17559
11691         * gdb.base/line-symtabs.exp: New file.
11692         * gdb.base/line-symtabs.c: New file.
11693         * gdb.base/line-symtabs.h: New file.
11694
11695 2014-11-14  Yao Qi  <yao@codesourcery.com>
11696
11697         * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11698         (func): Add label func_label.
11699         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11700         Replace low_pc and high_pc with MACRO_AT_range.
11701         Replace name, low_pc and high_pc with MACRO_AT_func.
11702
11703 2014-11-14  Yao Qi  <yao@codesourcery.com>
11704
11705         * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
11706         Replace name, low_pc and high_pc with MACRO_AT_func.
11707
11708 2014-11-14  Yao Qi  <yao@codesourcery.com>
11709
11710         * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
11711         produce debug information.
11712         * gdb.dwarf2/implptr-optimized-out.S: Removed.
11713
11714 2014-11-14  Yao Qi  <yao@codesourcery.com>
11715
11716         * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11717         object and get function length.
11718         (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11719         with MACRO_AT_func.
11720         (top-level): Replace gdb_compile and clean_restart with
11721         prepare_for_testing.
11722         * gdb.dwarf2/main.c (main): Add label main_label.
11723
11724 2014-11-14  Yao Qi  <yao@codesourcery.com>
11725
11726         * lib/dwarf.exp (function_range): New procedure.
11727         (Dwarf::_handle_macro_at_func): New procedure.
11728         (Dwarf::_handle_macro_at_range): New procedure.
11729         (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11730
11731 2014-11-14  Yao Qi  <yao@codesourcery.com>
11732
11733         * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11734         (_handle_attribute): New procedure.
11735
11736 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11737
11738         * gdb.ada/cond_lang/foo.c (callme): Add return type.
11739         * gdb.base/call-sc.c (zed): Likewise.
11740         * gdb.base/checkpoint.c (main): Likewise.
11741         * gdb.base/dump.c (main): Likewise.
11742         * gdb.base/gcore.c (main): Likewise.
11743         * gdb.base/huge.c (main): Likewise.
11744         * gdb.base/multi-forks.c (main): Likewise.
11745         * gdb.base/pr10179-a.c (main): Likewise.
11746         * gdb.base/savedregs.c (main): Likewise.
11747         * gdb.base/sigaltstack.c (main): Likewise.
11748         * gdb.base/siginfo.c (main): Likewise.
11749         * gdb.base/structs.c (zed): Likewise.
11750         * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11751         * gdb.mi/mi-syn-frame.c (main): Likewise.
11752         * gdb.mi/until.c (foo, main): Likewise.
11753         * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11754         * gdb.base/solib-weak.c (foo): Declare.
11755         * gdb.base/attach-twice.c: Include stdio.h.
11756         * gdb.base/weaklib1.c: Likewise.
11757         * gdb.base/weaklib2.c: Likewise.
11758         * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11759         * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11760         unistd.h.
11761         * gdb.base/attach-pie-misread.c: Include stdlib.h.
11762         * gdb.mi/mi-exit-code.c: Likewise.
11763         * gdb.base/break-interp-lib.c: Include string.h.
11764         * gdb.base/coremaker.c: Likewise.
11765         * gdb.base/testenv.c: Likewise.
11766         * gdb.python/py-finish-breakpoint.c: Likewise.
11767         * gdb.base/inferior-died.c: Include sys/wait.h.
11768         * gdb.base/fileio.c: Include time.h.
11769         * gdb.base/async-shell.c: Include unistd.h.
11770         * gdb.base/dprintf-non-stop.c: Likewise.
11771         * gdb.base/info-os.c: Likewise.
11772         * gdb.mi/mi-console.c: Likewise.
11773         * gdb.mi/watch-nonstop.c: Likewise.
11774         * gdb.python/py-events.c: Likewise.
11775         * gdb.base/async.c (baz): Move up before its invocation.
11776         * gdb.base/code_elim2.c (my_global_func): Likewise.
11777         * gdb.base/skip-solib-lib.c (multiply): Likewise.
11778         * gdb.base/advance.c (func2): Likewise.
11779
11780 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11781
11782         * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11783         variant.
11784         * gdb.base/annota3.c: Likewise.
11785         * gdb.base/async.c: Likewise.
11786         * gdb.base/average.c: Likewise.
11787         * gdb.base/call-ar-st.c: Likewise.
11788         * gdb.base/call-rt-st.c: Likewise.
11789         * gdb.base/call-sc.c: Likewise.
11790         * gdb.base/call-strs.c: Likewise.
11791         * gdb.base/ending-run.c: Likewise.
11792         * gdb.base/execd-prog.c: Likewise.
11793         * gdb.base/exprs.c: Likewise.
11794         * gdb.base/foll-exec.c: Likewise.
11795         * gdb.base/foll-fork.c: Likewise.
11796         * gdb.base/foll-vfork.c: Likewise.
11797         * gdb.base/funcargs.c: Likewise.
11798         * gdb.base/gcore.c: Likewise.
11799         * gdb.base/jump.c: Likewise.
11800         * gdb.base/langs0.c: Likewise.
11801         * gdb.base/langs1.c: Likewise.
11802         * gdb.base/langs2.c: Likewise.
11803         * gdb.base/mips_pro.c: Likewise.
11804         * gdb.base/nodebug.c: Likewise.
11805         * gdb.base/opaque0.c: Likewise.
11806         * gdb.base/opaque1.c: Likewise.
11807         * gdb.base/recurse.c: Likewise.
11808         * gdb.base/run.c: Likewise.
11809         * gdb.base/scope0.c: Likewise.
11810         * gdb.base/scope1.c: Likewise.
11811         * gdb.base/setshow.c: Likewise.
11812         * gdb.base/setvar.c: Likewise.
11813         * gdb.base/shmain.c: Likewise.
11814         * gdb.base/shr1.c: Likewise.
11815         * gdb.base/shr2.c: Likewise.
11816         * gdb.base/sigall.c: Likewise.
11817         * gdb.base/signals.c: Likewise.
11818         * gdb.base/so-indr-cl.c: Likewise.
11819         * gdb.base/solib2.c: Likewise.
11820         * gdb.base/structs.c: Likewise.
11821         * gdb.base/sum.c: Likewise.
11822         * gdb.base/vforked-prog.c: Likewise.
11823         * gdb.base/watchpoint.c: Likewise.
11824         * gdb.reverse/shr2.c: Likewise.
11825         * gdb.reverse/until-reverse.c: Likewise.
11826         * gdb.reverse/ur1.c: Likewise.
11827         * gdb.reverse/watch-reverse.c: Likewise.
11828
11829 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11830
11831         * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
11832         variant.
11833         * gdb.base/sepdebug.exp: Drop references to removed code.
11834
11835 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11836
11837         * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
11838         variant.  Preserve original line numbering.
11839         * gdb.base/list1.c: Likewise.
11840
11841 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11842
11843         * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11844         variant.
11845         * gdb.base/break1.c: Likewise.
11846         * gdb.base/break.exp: Drop references to removed code.
11847
11848 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11849
11850         * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
11851         variant.
11852
11853 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11854
11855         * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
11856
11857 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11858
11859         * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
11860         logic into perform_all_tests() and invoke it with and without
11861         function header prototypes.
11862         (do_function_calls): Remove conditional XFAIL for PR 5318.
11863         (rerun_and_prepare): Remove duplicate code.
11864         (perform_all_tests): New.  Main logic moved here.
11865
11866 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11867
11868         * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
11869         code guarded by #ifdef NO_PROTOTYPES.
11870         (t_double_many_args): Likewise.
11871         (DEF_FUNC_MANY_ARGS_1): Likewise.
11872         (DEF_FUNC_VALUES_1): Likewise.
11873         (t_structs_ldc): Renamed from t_structs_fc in conditional code
11874         guarded by #ifdef PROTOTYPES.
11875
11876 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11877
11878         * gdb.mi/mi-console.c: Add eye-catcher.
11879         * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
11880         instead of literal line number.
11881
11882 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11883
11884         * gdb.base/shr2.c: Add eye-catcher.
11885         * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
11886         line number.
11887
11888 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11889
11890         * gdb.base/jump.c: Add eye-catchers.
11891         * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
11892         numbers.
11893
11894 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11895
11896         * gdb.base/execd-prog.c: Add eye-catchers.
11897         * gdb.base/foll-exec.c: Likewise.
11898         * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
11899         line numbers.
11900
11901 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11902
11903         * gdb.base/ending-run.c: Add eye-catchers.
11904         * gdb.base/ending-run.exp: Refer to eye-catchers instead of
11905         literal line numbers.
11906
11907 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11908
11909         * gdb.base/call-rt-st.c: Add eye-catchers.
11910         * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
11911         literal line numbers.
11912
11913 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11914
11915         * gdb.base/call-ar-st.c: Add eye-catchers.
11916         * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
11917         literal line numbers.
11918
11919 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11920
11921         * gdb.base/average.c: Add eye-catchers.
11922         * gdb.base/sum.c: Likewise.
11923         * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
11924         regexps dynamically.
11925
11926 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11927
11928         * gdb.base/solib1.c: Add eye-catchers.
11929         * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
11930         literal line numbers.
11931
11932 2014-11-12  Pedro Alves  <palves@redhat.com>
11933
11934         * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
11935         leader has exited.
11936
11937 2014-11-12  Pedro Alves  <palves@redhat.com>
11938
11939         * gdb.arch/i386-bp_permanent.c: New file.
11940         * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
11941         (srcfile): Set to i386-bp_permanent.c.
11942         (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
11943         that stepi does not execute the 'leave' instruction, instead of
11944         testing it does execute.
11945         * gdb.base/bp-permanent.c: New file.
11946         * gdb.base/bp-permanent.exp: New file.
11947
11948 2014-11-10  Doug Evans  <xdje42@gmail.com>
11949
11950         PR symtab/17564
11951         * gdb.base/symtab-search-order.exp: New file.
11952         * gdb.base/symtab-search-order.c: New file.
11953         * gdb.base/symtab-search-order-1.c: New file.
11954         * gdb.base/symtab-search-order-shlib-1.c: New file.
11955
11956 2014-11-07  Pedro Alves  <palves@redhat.com>
11957
11958         PR gdb/17511
11959         * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
11960         i?86-*-linux*.
11961
11962 2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
11963
11964         PR c++/17494
11965         * gdb.cp/pr17494.cc: New file.
11966         * gdb.cp/pr17494.exp: New file.
11967
11968 2014-11-02  Yao Qi  <yao@codesourcery.com>
11969
11970         * gdb.python/python.exp: Get working directory and match the
11971         output of "set extended-prompt \\w " with it.
11972
11973 2014-10-30  Doug Evans  <dje@google.com>
11974
11975         * gdb.python/py-objfile.exp: Add tests for setting random attributes
11976         in objfiles.
11977         * gdb.python/py-progspace.exp: Add tests for setting random attributes
11978         in progspaces.
11979
11980 2014-10-30  Janis Johnson  <janisjo@codesourcery.com>
11981
11982         * gdb.base/fullpath-expand.exp: Skip for a remote host.
11983         * gdb.base/realname-expand.exp: Likewise.
11984         * gdb.linespec/macro-relative.exp: Likewise.
11985
11986 2014-10-29  Pedro Alves  <palves@redhat.com>
11987
11988         PR gdb/17408
11989         * gdb.threads/schedlock.c (some_function): New function.
11990         (call_function): New global.
11991         (MAYBE_CALL_SOME_FUNCTION): New macro.
11992         (thread_function): Call it.
11993         * gdb.threads/schedlock.exp (get_args): Add description parameter,
11994         and use it instead of a global counter.  Adjust all callers.
11995         (get_current_thread): Use "find current thread" for test message
11996         here rather than having all callers pass down the same string.
11997         (goto_loop): New procedure, factored out from ...
11998         (my_continue): ... this.
11999         (step_ten_loops): Change parameter from test message to command to
12000         use.  Adjust.
12001         (list_count): Delete global.
12002         (check_result): New procedure, factored out from duplicate top
12003         level code.
12004         (continue tests): Wrap in with_test_prefix.
12005         (test_step): New procedure, factored out from duplicate top level
12006         code.
12007         (top level): Test "step" in combination with all scheduler-locking
12008         modes.  Test "next" in combination with all scheduler-locking
12009         modes, and in combination with stepping over a function call or
12010         not.
12011         * gdb.threads/next-bp-other-thread.c: New file.
12012         * gdb.threads/next-bp-other-thread.exp: New file.
12013
12014 2014-10-29  Pedro Alves  <palves@redhat.com>
12015
12016         PR python/17372
12017         * gdb.python/python.exp: Test a multi-line command that spawns
12018         interactive Python.
12019         * gdb.base/multi-line-starts-subshell.exp: New file.
12020
12021 2014-10-29  Yao Qi  <yao@codesourcery.com>
12022
12023         * gdb.base/fileio.exp: Make directories on host.
12024
12025 2014-10-29  Yao Qi  <yao@codesourcery.com>
12026
12027         * gdb.base/fileio.c (test_write): Close the file.
12028
12029 2014-10-28  Pedro Alves  <palves@redhat.com>
12030
12031         PR gdb/12623
12032         * gdb.base/sigstep.c (no_handler): New global.
12033         (main): If 'no_handler is true, set the signal handlers to
12034         SIG_IGN.
12035         * gdb.base/sigstep.exp (breakpoint_over_handler): Add
12036         with_sw_watch and no_handler parameters.  Handle them.
12037         (top level) <stepping over handler when stopped at a breakpoint
12038         test>: Add a test axis for testing with a software watchpoint, and
12039         another for testing with the signal handler set to SIG_IGN.
12040         * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
12041         * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
12042
12043 2014-10-28  Pedro Alves  <palves@redhat.com>
12044
12045         PR gdb/17511
12046         * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
12047         * gdb.base/sigstep.exp (other_handler_location): New global.
12048         (advance): Support stepping into the signal handler, and running
12049         commands while in the handler.
12050         (in_handler_map): New global.
12051         (top level): In the advance test, add combinations for getting
12052         into the handler with stepping commands, and for running commands
12053         in the handler.  Add comment descripting the advancei tests.
12054
12055 2014-10-28  Pedro Alves  <palves@redhat.com>
12056
12057         * gdb.base/sigstep.exp: Use build_executable instead of
12058         prepare_for_testing.
12059         (top level): Move code that starts GDB, runs to main and creates a
12060         display to ...
12061         (restart): ... this new procedure.
12062         (top level): Move backtrace from signal handler test to ...
12063         (validate_backtrace): ... this new procedure.
12064         (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
12065         with_test_prefix.  Always restart GDB.
12066         (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
12067         with_test_prefix.  Always restart GDB.  No need to delete
12068         breakpoints after the test.
12069         (test_skip_handler): Remove prefix parameter.
12070         (skip_over_handler, breakpoint_to_handler)
12071         (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
12072         parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
12073         restart GDB.  No need to delete breakpoints after the test.
12074         (top level): Use foreach to call the test procedures with
12075         different commands.
12076
12077 2014-10-28  Pedro Alves  <palves@redhat.com>
12078
12079         * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
12080         instead of GNATS numbers.
12081         * gdb.base/sigbpt.exp: Likewise.
12082         * gdb.base/siginfo.exp: Likewise.
12083         * gdb.base/sigstep.exp: Likewise.
12084
12085 2014-10-27  Pedro Alves  <palves@redhat.com>
12086
12087         * gdb.base/sigstep.c (dummy): New global.
12088         (main): Issue a couple writes to the new global.
12089         * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
12090         procedures.
12091         (skip_over_handler): Use test_skip_handler.
12092         (top level): Call skip_over_handler for stepi and nexti too.
12093         (breakpoint_over_handler): Use test_skip_handler.
12094         (top level): Call breakpoint_over_handler for stepi and nexti too.
12095
12096 2014-10-27  Yao Qi  <yao@codesourcery.com>
12097
12098         * gdb.trace/tfile.c (adjust_function_address)
12099         [__powerpc64__ && _CALL_ELF != 2]: Get function address from
12100         function descriptor.
12101
12102 2014-10-24  Don Breazeal  <donb@codesourcery.com>
12103
12104         * gdb.base/foll-fork.exp (test_follow_fork,
12105         catch_fork_child_follow): Check for updated fork messages emitted
12106         from infrun.c.
12107         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
12108         vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
12109         vfork_and_exec_child_follow_through_step): Check for updated vfork
12110         messages emitted from infrun.c.
12111
12112 2014-10-24  Pedro Alves  <palves@redhat.com>
12113
12114         * gdb.base/corefile.exp: Remove references to ultrix.
12115         * gdb.base/interrupt.exp: Likewise.
12116         * gdb.base/whatis.exp: Likewise.
12117         * gdb.gdb/selftest.exp: Likewise.
12118         * gdb.threads/manythreads.exp: Likewise.
12119         * gdb.threads/print-threads.exp: Likewise.
12120         * gdb.threads/pthreads.exp:: Likewise.
12121         * gdb.threads/schedlock.exp: Likewise.
12122
12123 2014-10-24  Siva Chandra Reddy  <sivachandra@google.com>
12124
12125         * gdb.cp/non-trivial-retval.cc: Add a test case.
12126         * gdb.cp/non-trivial-retval.exp: Add a test.
12127
12128 2014-10-20  Yao Qi  <yao@codesourcery.com>
12129
12130         * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
12131         * gdb.python/py-objfile-script-gdb.py: New file.
12132         * gdb.python/py-objfile-script.exp: Update reference to
12133         py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
12134         of remote_download.  Remove the dest file.
12135
12136 2014-10-20  Yao Qi  <yao@codesourcery.com>
12137
12138         * gdb.base/checkpoint.exp: Don't remove file copied on host.
12139         * gdb.base/step-line.exp: Likewise.
12140         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12141         * gdb.dwarf2/dw2-basic.exp: Likewise.
12142         * gdb.dwarf2/dw2-compressed.exp: Likewise.
12143         * gdb.dwarf2/dw2-filename.exp: Likewise.
12144         * gdb.dwarf2/dw2-intercu.exp: Likewise.
12145         * gdb.dwarf2/dw2-intermix.exp: Likewise.
12146         * gdb.dwarf2/dw2-producer.exp: Likewise.
12147         * gdb.dwarf2/mac-fileno.exp: Likewise.
12148         * gdb.python/py-frame-args.exp: Likewise.
12149         * gdb.python/py-framefilter.exp: Likewise.
12150         * gdb.python/py-mi.exp: Likewise.
12151         * gdb.python/py-objfile-script.exp: Likewise
12152         * gdb.python/py-pp-integral.exp: Likewise.
12153         * gdb.python/py-pp-re-notag.exp: Likewise.
12154         * gdb.python/py-prettyprint.exp: Likewise.
12155         * gdb.python/py-section-script.exp: Likewise.
12156         * gdb.python/py-typeprint.exp: Likewise.
12157         * gdb.python/py-xmethods.exp: Likewise.
12158         * gdb.stabs/weird.exp: Likewise.
12159         * gdb.xml/tdesc-regs.exp: Likewise.
12160
12161 2014-10-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
12162
12163         * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
12164         (out_cu): Use addr_len for the size of addresses.
12165         (out_line): Likewise.  Size DW_LNE_set_address instruction
12166         according to addr_len.
12167         * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
12168         (FUNC): Add START_INSNS to definition.
12169
12170 2014-10-18  Yao Qi  <yao@codesourcery.com>
12171
12172         * gdb.base/argv0-symlink.exp: Check argv[0] value if
12173         gdb_has_argv0 return true.
12174         * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
12175         check [target_info exists noargs], check [gdb_has_argv0]
12176         instead.
12177         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12178         * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
12179         procedures.
12180
12181 2014-10-17  Doug Evans  <dje@google.com>
12182
12183         * gdb.python/py-events.exp: Update expected output for clear_objfiles
12184         event.
12185         * gdb.python/py-events.py: Add clear_objfiles event.
12186
12187 2014-10-17  Doug Evans  <dje@google.com>
12188
12189         * gdb.python/py-objfile.exp: Test progspace attribute.
12190
12191 2014-10-17  Luis Machado  <lgustavo@codesourcery.com>
12192
12193         * gdb.guile/scm-breakpoint.exp: Do not assume any
12194         directory separators when matching source file paths.
12195         * gdb.python/py-breakpoint.exp: Likewise.
12196         * gdb.reverse/break-precsave.exp: Likewise.
12197         * gdb.reverse/break-reverse.exp: Likewise.
12198         * gdb.reverse/consecutive-precsave.exp: Likewise.
12199         * gdb.reverse/finish-precsave.exp: Likewise.
12200         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
12201         * gdb.reverse/finish-reverse.exp: Likewise.
12202         * gdb.reverse/i386-precsave.exp: Likewise.
12203         * gdb.reverse/i387-env-reverse.exp: Likewise.
12204         * gdb.reverse/i387-stack-reverse.exp: Likewise.
12205         * gdb.reverse/machinestate-precsave.exp: Likewise.
12206         * gdb.reverse/machinestate.exp: Likewise.
12207         * gdb.reverse/sigall-precsave.exp: Likewise.
12208         * gdb.reverse/solib-precsave.exp: Likewise.
12209         * gdb.reverse/step-precsave.exp: Likewise.
12210         * gdb.reverse/until-precsave.exp: Likewise.
12211         * gdb.reverse/watch-precsave.exp: Likewise.
12212         * gdb.reverse/watch-reverse.exp: Likewise.
12213
12214 2014-10-17  Yao Qi  <yao@codesourcery.com>
12215
12216         * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
12217         * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
12218
12219 2014-10-17  Pedro Alves  <palves@redhat.com>
12220
12221         PR gdb/17471
12222         * gdb.base/bg-execution-repeat.c: New file.
12223         * gdb.base/bg-execution-repeat.exp: New file.
12224
12225 2014-10-17  Pedro Alves  <palves@redhat.com>
12226
12227         PR gdb/17300
12228         * gdb.base/continue-all-already-running.c: New file.
12229         * gdb.base/continue-all-already-running.exp: New file.
12230
12231 2014-10-17  Pedro Alves  <palves@redhat.com>
12232
12233         PR gdb/17472
12234         * gdb.base/annota-input-while-running.c: New file.
12235         * gdb.base/annota-input-while-running.exp: New file.
12236
12237 2014-10-17  Pedro Alves  <palves@redhat.com>
12238
12239         * gdb.base/callfuncs.exp: emove references to osf.
12240         * gdb.base/sigall.exp: Likewise.
12241         * gdb.gdb/selftest.exp: Likewise.
12242         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12243         * gdb.mi/non-stop.c: Likewise.
12244         * gdb.mi/pthreads.c: Likewise.
12245         * gdb.reverse/sigall-precsave.exp: Likewise.
12246         * gdb.reverse/sigall-reverse.exp: Likewise.
12247         * gdb.threads/pthreads.c: Likewise.
12248         * gdb.threads/pthreads.exp: Likewise.
12249
12250 2014-10-17  Yao Qi  <yao@codesourcery.com>
12251
12252         * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
12253         check 'target_info exists noargs'.
12254         (test_command_prompt_position): Likewise.
12255         (progvar_simple_if_test): Don't check 'target_info exists noargs'.
12256         Remove "set args".
12257         (progvar_simple_while_test): Likewise.
12258         (progvar_complex_if_while_test): Likewise.
12259         (if_while_breakpoint_command_test): Likewise.
12260         (infrun_breakpoint_command_test): Likewise.
12261         (breakpoint_command_test): Likewise.
12262         (watchpoint_command_test): Likewise.
12263         (bp_deleted_in_command_test): Likewise.
12264         (temporary_breakpoint_commands): Likewise.
12265
12266 2014-10-16  Yao Qi  <yao@codesourcery.com>
12267
12268         * gdb.base/remotetimeout.exp: Remove noargs checking.
12269
12270 2014-10-15  Pedro Alves  <palves@redhat.com>
12271
12272         PR breakpoints/9649
12273         * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
12274         * gdb.base/breakpoint-in-ro-region.exp
12275         (probe_target_hardware_step): New procedure.
12276         (top level): Probe hardware stepping and hardware breakpoint
12277         support.  Test stepping through a read-only region, with both
12278         "breakpoint auto-hw" on and off and both "always-inserted" on and
12279         off.
12280
12281 2014-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
12282
12283         * gdb.dlang/demangle.exp: Update for demangling changes.
12284
12285 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12286
12287         * gdb.cp/non-trivial-retval.cc: Add new test cases.
12288         * gdb.cp/non-trivial-retval.exp: Add new tests.
12289
12290 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12291
12292         PR c++/13403
12293         PR c++/15154
12294         * gdb.cp/non-trivial-retval.cc: New file.
12295         * gdb.cp/non-trivial-retval.exp: New file.
12296
12297 2014-10-15  Yao Qi  <yao@codesourcery.com>
12298
12299         * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12300         remote host.
12301
12302 2014-10-15  Yao Qi  <yao@codesourcery.com>
12303
12304         * gdb.python/py-symbol.exp: Match file base name if host is
12305         remote, otherwise match file name with dir name.
12306         * gdb.python/py-symtab.exp: Likewise.
12307         * gdb.python/python.exp: Likewise.
12308
12309 2014-10-15  Yao Qi  <yao@codesourcery.com>
12310
12311         * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12312         pattern.
12313         * gdb.python/py-symtab.exp: Likewise.
12314         * gdb.python/python.exp: Remove trailing ".*".  Fix typo
12315         locationn.
12316
12317 2014-10-14  Joel Brobecker  <brobecker@adacore.com>
12318
12319         * gdb.ada/addr_arith: New testcase.
12320
12321 2014-10-14  Maciej W. Rozycki  <macro@codesourcery.com>
12322
12323         * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12324         * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12325         * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12326         * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12327
12328 2014-10-14  Sergio Durigan Junior  <sergiodj@redhat.com>
12329
12330         * gdb.arch/stap-eval-lang-ada.S: Likewise.
12331         * gdb.arch/stap-eval-lang-ada.c: Likewise.
12332         * gdb.arch/stap-eval-lang-ada.exp: New file.
12333
12334 2014-10-14  Yao Qi  <yao@codesourcery.com>
12335
12336         * gdb.mi/mi-var-child.c (nothing1): New function.
12337         (nothing2): New function.
12338         (do_children_tests): Set function pointers by nothing1 and
12339         nothing2.
12340         * gdb.mi/mi-var-child.exp: Step over new added statements.
12341         Update test to match the new output.
12342         * gdb.mi/var-cmd.c (nothing1): New function.
12343         (nothing2): New function.
12344         (do_children_tests): Set function pointers by  nothing1 and
12345         nothing2.
12346         * gdb.mi/mi-var-display.exp: Update test to match output.
12347         Step to the line specified by $line_dct_nothing.
12348         Increase the number of lines to step.
12349
12350 2014-10-14  Yao Qi  <yao@codesourcery.com>
12351
12352         * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12353         tests.
12354         * gdb.mi/mi2-var-child.exp: Likewise.
12355
12356 2014-10-13  Doug Evans  <dje@google.com>
12357
12358         * gdb.python/py-objfile.exp: Change name of file name test.
12359
12360 2014-10-13  Doug Evans  <dje@google.com>
12361
12362         * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12363         from the start of the CU.
12364
12365 2014-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
12366             Yao Qi  <yao@codesourcery.com>
12367
12368         Fix "save breakpoints" for "catch" command.
12369         * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
12370         Remove -nonewline.  Match also the added "main" line.
12371
12372 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12373
12374         Fix "save breakpoints" for "disable $bpnum" command.
12375         * gdb.base/save-bp.c (main): Add label.
12376         * gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
12377
12378 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12379
12380         * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12381
12382 2014-10-11  Yao Qi  <yao@codesourcery.com>
12383
12384         * gdb.server/server-kill.exp: Execute command
12385         "set remote trace-status-packet on" before "tstatus".
12386
12387 2014-10-11  Yao Qi  <yao@codesourcery.com>
12388
12389         * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12390         (main): Call getppid.
12391         * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12392         and continue to it.  Read variable "server_pid".
12393
12394 2014-10-11  Yao Qi  <yao@codesourcery.com>
12395
12396         * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12397
12398 2014-10-11  Yao Qi  <yao@codesourcery.com>
12399
12400         * gdb.threads/thread-find.exp: Don't execute command
12401         "info threads".
12402         * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12403         * gdb.threads/linux-dp.exp: Don't check the condition
12404         $threads_created equals to zero.
12405
12406 2014-10-10  Pedro Alves  <palves@redhat.com>
12407
12408         * gdb.base/bigcore.exp: Remove references to IRIX.
12409         * gdb.base/funcargs.exp: Likewise.
12410         * gdb.base/interrupt.exp: Likewise.
12411         * gdb.base/mips_pro.exp: Likewise.
12412         * gdb.base/nodebug.exp: Likewise.
12413         * gdb.base/setvar.exp: Likewise.
12414         * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12415
12416 2014-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
12417             Pedro Alves  <palves@redhat.com>
12418
12419         PR symtab/14466
12420         * gdb.base/vdso-warning.c: New file.
12421         * gdb.base/vdso-warning.exp: New file.
12422
12423 2014-10-02  Doug Evans  <dje@google.com>
12424
12425         * gdb.base/structs.c (main): Don't run forever.
12426
12427 2014-10-02  Pedro Alves  <palves@redhat.com>
12428
12429         * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12430         (top level) <stop threads 1, stop threads 2>: Use it.
12431
12432 2014-10-02  Pedro Alves  <palves@redhat.com>
12433
12434         * gdb.threads/break-while-running.exp (test): Add new
12435         'update_thread_list' argument.  Skip "info threads" if false.
12436         (top level): Add new 'update_thread_list' axis.
12437
12438 2014-10-02  Pedro Alves  <palves@redhat.com>
12439
12440         PR breakpoints/17431
12441         * gdb.base/execl-update-breakpoints.c: New file.
12442         * gdb.base/execl-update-breakpoints.exp: New file.
12443
12444 2014-10-01  Pedro Alves  <palves@redhat.com>
12445
12446         * gdb.base/breakpoint-in-ro-region.c: New file.
12447         * gdb.base/breakpoint-in-ro-region.exp: New file.
12448
12449 2014-10-01  Simon Marchi  <simon.marchi@ericsson.com>
12450
12451         * gdb.mi/mi-exit-code.exp: New file.
12452         * gdb.mi/mi-exit-code.c: New file.
12453
12454 2014-09-30  Yao Qi  <yao@codesourcery.com>
12455
12456         * lib/prelink-support.exp (build_executable_own_libs): Error if
12457         the target isn't native.
12458
12459 2014-09-30  Yao Qi  <yao@codesourcery.com>
12460
12461         * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12462         false.
12463
12464 2014-09-22  Pedro Alves  <palves@redhat.com>
12465
12466         * gdb.threads/break-while-running.exp: New file.
12467         * gdb.threads/break-while-running.c: New file.
12468
12469 2014-09-19  Yao Qi  <yao@codesourcery.com>
12470
12471         * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12472         Invoke test.  Restart GDB with --readnow and invoke test again.
12473
12474 2014-09-19  Yao Qi  <yao@codesourcery.com>
12475
12476         * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12477         proc set_breakpoint_on_gcd_function.  Invoke
12478         set_breakpoint_on_gcd_function.  Restart GDB with --readnow and
12479         invoke set_breakpoint_on_gcd_function again.
12480
12481 2014-09-18  Doug Evans  <dje@google.com>
12482
12483         * gdb.dwarf2/symtab-producer.exp: New file.
12484
12485 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12486
12487         * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12488         * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12489         * gdb.base/global-var-nested-by-dso.c: Likewise.
12490         * gdb.base/global-var-nested-by-dso.exp: Likewise.
12491
12492 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12493             Pedro Alves  <palves@redhat.com>
12494
12495         * gdb.base/watch-bitfields.exp: Pass string other than test file
12496         name to prepare_for_testing.
12497         (watch): New procedure.
12498         (expect_watchpoint): Use with_test_prefix.
12499         (top level): Factor out tests to ...
12500         (test_watch_location, test_regular_watch): ... these new
12501         procedures, and use with_test_prefix and gdb_continue_to_end.
12502
12503 2014-09-16  Patrick Palka  <patrick@parcs.ath.cx>
12504
12505         PR breakpoints/12526
12506         * gdb.base/watch-bitfields.exp: New file.
12507         * gdb.base/watch-bitfields.c: New file.
12508
12509 2014-09-16  Pedro Alves  <palves@redhat.com>
12510
12511         * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12512         software and hardware addresses, not software address against
12513         itself.
12514
12515 2014-09-16  Pedro Alves  <palves@redhat.com>
12516
12517         * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12518         * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12519
12520 2014-09-16  Pedro Alves  <palves@redhat.com>
12521
12522         * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12523         files.
12524         * gdb.base/a2-run.exp: Remove all code guarded by istarget
12525         "*-*-vxworks*" throughout.
12526         * gdb.base/break.exp: Likewise.
12527         * gdb.base/default.exp: Likewise.
12528         * gdb.base/scope.exp: Likewise.
12529         * gdb.base/sepdebug.exp: Likewise.
12530         * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12531         throughout.
12532         * gdb.base/run.c: Likewise.
12533         * gdb.base/sepdebug.c: Likewise.
12534         * gdb.hp/gdb.aCC/run.c: Likewise.
12535         * gdb.reverse/until-reverse.c: Likewise.
12536         * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12537
12538 2014-09-16  Yao Qi  <yao@codesourcery.com>
12539
12540         * boards/local-remote-host-native.exp: New file.
12541
12542 2014-09-14  Doug Evans  <xdje42@gmail.com>
12543
12544         * gdb.threads/queue-signal.c (thread_count): New variable.
12545         (thread_count_mutex, thread_count_condvar): New variables.
12546         (incr_thread_count, wait_all_threads_running): New functions.
12547         (main): Wait for all threads to be in their thread functions.
12548
12549 2014-09-13  Doug Evans  <xdje42@gmail.com>
12550
12551         * gdb.threads/queue-signal.c: New file.
12552         * gdb.threads/queue-signal.exp: New file.
12553
12554 2014-09-13  Doug Evans  <xdje42@gmail.com>
12555
12556         * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12557         be consistent with what default_gdb_init uses.
12558         (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12559         the plain text of the prompt.  Add some logging printfs.
12560         * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12561
12562 2014-09-12  Pedro Alves  <palves@redhat.com>
12563
12564         * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12565         gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12566         * gdb.arch/i386-size-overlap.exp: Likewise.
12567         * gdb.arch/i386-size.exp: Likewise.
12568         * gdb.arch/i386-unwind.exp: Likewise.
12569         * gdb.base/a2-run.exp: Likewise.
12570         * gdb.base/break.exp: Likewise.
12571         * gdb.base/charset.exp: Likewise.
12572         * gdb.base/chng-syms.exp: Likewise.
12573         * gdb.base/commands.exp: Likewise.
12574         * gdb.base/dbx.exp: Likewise.
12575         * gdb.base/find.exp: Likewise.
12576         * gdb.base/funcargs.exp: Likewise.
12577         * gdb.base/jit-simple.exp: Likewise.
12578         * gdb.base/reread.exp: Likewise.
12579         * gdb.base/sepdebug.exp: Likewise.
12580         * gdb.base/step-bt.exp: Likewise.
12581         * gdb.cp/mb-inline.exp: Likewise.
12582         * gdb.cp/mb-templates.exp: Likewise.
12583         * gdb.objc/basicclass.exp: Likewise.
12584         * gdb.threads/killed.exp: Likewise.
12585
12586 2014-09-12  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
12587
12588         PR tdep/17379
12589         * gdb.arch/powerpc-stackless.S: New file.
12590         * gdb.arch/powerpc-stackless.exp: New file.
12591
12592 2014-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12593
12594         * gdb.base/attach.c: Include unistd.h.
12595         (main): Call alarm.  Add label postloop.
12596         * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12597         gdb_breakpoint, gdb_continue_to_breakpoint.
12598         (test_command_line_attach_run): Kill ${testpid} in one exit path.
12599
12600 2014-09-11  Pedro Alves  <palves@redhat.com>
12601
12602         PR gdb/17347
12603         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12604         * gdb.base/attach.exp (test_command_line_attach_run): New
12605         procedure.
12606         (top level): Call it.
12607
12608 2014-09-11  Pedro Alves  <palves@redhat.com>
12609
12610         * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12611         * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12612         (do_command_attach_tests): Use spawn_wait_for_attach.
12613         * gdb.base/solib-overlap.exp: Likewise.
12614         * gdb.multi/multi-attach.exp: Likewise.
12615         * gdb.python/py-prompt.exp: Likewise.
12616         * gdb.python/py-sync-interp.exp: Likewise.
12617         * gdb.server/ext-attach.exp: Likewise.
12618
12619 2014-09-11  Gabriel Krisman Bertazi  <gabriel@krisman.be>
12620
12621         * gdb.fortran/array-element.exp: Remove unexpected "continue"
12622         command in testcase.  Simplify testcase.
12623
12624 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12625
12626         * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12627
12628 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12629
12630         * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12631
12632 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12633
12634         * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12635
12636 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12637
12638         * gdb.dwarf2/dynarr-ptr.c: New file.
12639         * gdb.dwarf2/dynarr-ptr.exp: New file.
12640
12641 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12642
12643         * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12644         of 30 rather than hardcoding 120 for a slow test case.  Take the
12645         `gdb,timeout' target setting into account for this calculation.
12646         Don't extend the timeout for the test cases that don't need it.
12647
12648 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12649
12650         * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12651         a factor of 2 for a slow test case.  Take the `gdb,timeout'
12652         target setting into account for this calculation.
12653         * gdb.reverse/until-precsave.exp: Increase the timeout by
12654         a factor of 15 and 3 respectively rather than adding 120
12655         for a pair of slow test cases.  Take the `gdb,timeout'
12656         target setting into account for this calculation.
12657
12658 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12659
12660         * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12661         timeout, don't pass one down to gdb_expect.
12662         (gdb_expect): Rework timeout selection.
12663
12664 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12665
12666         * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12667         exception on timeout.
12668         (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12669         (gdbserver_start_extended): Catch any `gdbserver_start' error
12670         exceptions.
12671         (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12672         * lib/mi-support.exp (mi_gdb_target_load): Catch any
12673         `gdbserver_gdb_load' error exceptions.
12674
12675 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12676
12677         * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12678         120 on waiting for the TCP socket to open.
12679
12680 2014-09-09  Doug Evans  <xdje42@gmail.com>
12681
12682         * gdb.base/default.exp (show_conv_list): Add _caller_is,
12683         _caller_matches, _any_caller_is, _any_caller_matches.
12684
12685 2014-09-09  Doug Evans  <xdje42@gmail.com>
12686
12687         * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12688
12689 2014-09-09  Yao Qi  <yao@codesourcery.com>
12690
12691         * gdb.mi/mi-var-display.exp: Set print symbol off.
12692
12693 2014-09-07  Gabriel Krisman Bertazi  <gabriel@krisman.be>
12694
12695         PR gdb/17035
12696         * gdb.base/commands.exp: Add tests to verify user-defined
12697         commands with empty bodies.
12698         * gdb.python/py-cmd.exp: Test that we don't show user-defined
12699         python commands in `show user command`.
12700         * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12701         scheme commands in `show user command`.
12702
12703 2014-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
12704
12705         PR python/17355
12706         * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12707         * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12708         * gdb.python/py-framefilter-invalidarg.exp: New file.
12709         * gdb.python/py-framefilter-invalidarg.py: New file.
12710
12711 2014-09-06  Doug Evans  <xdje42@gmail.com>
12712
12713         PR 15276
12714         * gdb.python/py-caller-is.c: New file.
12715         * gdb.python/py-caller-is.exp: New file.
12716
12717 2014-09-05  Sergio Durigan Junior  <sergiodj@redhat.com>
12718
12719         PR gdb/17235
12720         * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12721         * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12722
12723 2014-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
12724
12725         PR fortran/17237
12726         * gdb.fortran/print-formatted.exp: New file.
12727         * gdb.fortran/print-formatted.f90: Likewise.
12728
12729 2014-09-03  Sasha Smundak  <asmundak@google.com>
12730
12731         * gdb.python/py-frame.exp: Test Frame.read_register.
12732
12733 2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
12734
12735         PR python/16699
12736         * gdb.python/py-completion.exp: New file.
12737         * gdb.python/py-completion.py: Likewise.
12738
12739 2014-08-28  Doug Evans  <dje@google.com>
12740
12741         * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12742         eax,etc. are live with values set by gdb and thus the compiler can't
12743         use them.
12744         * gdb.arch/i386-pseudo.c (main): Ditto.
12745
12746 2014-08-27  Doug Evans  <dje@google.com>
12747
12748         * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12749
12750 2014-08-25  Doug Evans  <dje@google.com>
12751
12752         * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12753         (main): Ditto.
12754
12755 2014-08-25  Doug Evans  <dje@google.com>
12756
12757         * gdb.threads/thread-execl.exp: #include <stdio.h>.
12758
12759 2014-08-24  Yao Qi  <yao@codesourcery.com>
12760
12761         * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12762         symbol off.
12763         * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12764
12765 2014-08-22  Doug Evans  <dje@google.com>
12766
12767         PR 17276
12768         * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12769         * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12770         * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12771
12772 2014-08-22  Yao Qi  <yao@codesourcery.com>
12773
12774         * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12775         * gdb.python/py-finish-breakpoint2.exp: Likewise.
12776         * gdb.python/python.exp: Likewise.  Use .py file on the host
12777         instead of the build.
12778
12779 2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
12780
12781         * gdb.threads/gcore-stale-thread.c: New file.
12782         * gdb.threads/gcore-stale-thread.exp: New file.
12783
12784 2014-08-21  Pedro Alves  <palves@redhat.com>
12785
12786         * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12787         * gdb.base/gcore-relro-pie.exp: Likewise.
12788         * gdb.base/gcore-relro.exp: Likewise.
12789         * gdb.base/gcore.exp: Likewise.
12790         * gdb.base/print-symbol-loading.exp: Likewise.
12791         * gdb.threads/gcore-thread.exp: Likewise.
12792         * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12793
12794 2014-08-20  Pedro Alves  <palves@redhat.com>
12795             Jan Kratochvil  <jan.kratochvil@redhat.com>
12796
12797         * Makefile.in (EXTRA_RULES, CC): New variables, get from
12798         configure.
12799         (EXPECT): Handle READ1 being set.
12800         (all): Depend on EXTRA_RULES.
12801         (check-read1, expect-read1, read1.so, read1): New rules.
12802         * README (Testsuite Parameters): Document the READ1 make variable.
12803         (Race detection): New section.
12804         * configure: Regenerate.
12805         * configure.ac: If build==host==target, and running under a
12806         GNU/glibc system, add read1 to the extra Makefile rules.
12807         (EXTRA_RULES): AC_SUBST it.
12808         * lib/read1.c: New file.
12809
12810 2014-08-20  Joel Brobecker  <brobecker@adacore.com>
12811
12812         * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12813         the handling of variables declared as a typedef to an array
12814         which a DW_AT_data_location attribute.
12815
12816 2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
12817             Pedro Alves  <palves@redhat.com>
12818
12819         PR symtab/14604
12820         PR symtab/14605
12821         * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12822         gdb_test.
12823
12824 2014-08-19  Pedro Alves  <palves@redhat.com>
12825
12826         * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
12827
12828 2014-08-19  Yao Qi  <yao@codesourcery.com>
12829
12830         * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
12831         right line.
12832
12833 2014-08-18  David Blaikie  <dblaikie@gmail.com>
12834
12835         * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
12836
12837 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
12838
12839         * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
12840         attribute in array range.
12841
12842 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
12843
12844         * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
12845
12846 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
12847
12848         PR c++/17132
12849         * gdb.cp/pr17132.cc: New file.
12850         * gdb.cp/pr17132.exp: New file.
12851
12852 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
12853
12854         * gdb.python/py-xmethods.py (A_getarrayind)
12855         (E_method_char_worker.__call__, E_method_int_worker.__call__):
12856         Use 'print' with function call syntax.
12857         (E_method_matcher.match): Fix tab vs space indentation mixup.
12858
12859 2014-08-15  Yao Qi  <yao@codesourcery.com>
12860
12861         * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
12862         false.
12863
12864 2014-08-15  Yao Qi  <yao@codesourcery.com>
12865
12866         * gdb.cp/casts.exp: Set print symbol off.
12867         * gdb.cp/class2.exp: Likewise.
12868         * gdb.cp/overload.exp: Likewise.
12869         * gdb.cp/templates.exp: Likewise.
12870
12871 2014-08-11  Doug Evans  <dje@google.com>
12872
12873         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
12874         (test_load_shlib): Update.
12875
12876 2014-08-09  Yao Qi  <yao@codesourcery.com>
12877
12878         * gdb.base/display.exp: Invoke is_address_zero_readable.
12879         * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
12880         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12881         * gdb.base/hbreak-unmapped.exp: Return if
12882         is_address_zero_readable returns true.
12883         * gdb.base/signest.exp: Likewise.
12884         * gdb.base/signull.exp: Likewise.
12885         * gdb.base/sigbpt.exp: Likewise.
12886         * gdb.guile/scm-disasm.exp: Do the test if
12887         is_address_zero_readable returns false.
12888         * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
12889         * gdb.python/py-arch.exp: Likewise.
12890         * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
12891         * lib/gdb.exp (is_address_zero_readable): New proc.
12892
12893 2014-08-09  Yao Qi  <yao@codesourcery.com>
12894
12895         PR testsuite/13443
12896         * gdb.mi/mi-var-display.exp: Make test messages unique.
12897
12898 2014-08-04  Tom Tromey  <tromey@redhat.com>
12899
12900         * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
12901         target 0".
12902
12903 2014-08-04  Tom Tromey  <tromey@redhat.com>
12904
12905         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
12906         "target_resume".
12907
12908 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
12909
12910         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
12911         inner_vla_struct_object_size.
12912         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
12913         as xfail.
12914
12915 2014-07-30  Pedro Alves  <palves@redhat.com>
12916
12917         * gdb.threads/signal-command-handle-nopass.exp (test): Add
12918         comment.
12919
12920 2014-07-29  Yao Qi  <yao@codesourcery.com>
12921
12922         PR gdb/17206
12923         * gdb.base/until-nodebug.exp: New.
12924
12925 2014-07-28  Doug Evans  <xdje42@gmail.com>
12926
12927         PR guile/17203
12928         * gdb.guile/scm-parameter.exp: Add tests for trying to create
12929         previously existing parameter, and previously ambiguously spelled
12930         parameter.
12931
12932 2014-07-28  Will Newton  <will.newton@linaro.org>
12933
12934         * gdb.base/varargs.exp: Remove KFAILs for ARM.
12935
12936 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
12937             Doug Evans  <xdje42@gmail.com>
12938
12939         PR guile/17146
12940         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
12941
12942 2014-07-25  Pedro Alves  <palves@redhat.com>
12943
12944         * gdb.threads/signal-command-handle-nopass.c: New file.
12945         * gdb.threads/signal-command-handle-nopass.exp: New file.
12946         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
12947         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
12948         * gdb.threads/signal-delivered-right-thread.c: New file.
12949         * gdb.threads/signal-delivered-right-thread.exp: New file.
12950
12951 2014-07-25  Pedro Alves  <palves@redhat.com>
12952
12953         * gdb.base/double-prompt-target-event-error.exp
12954         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
12955         match.
12956         (cancel_pagination_in_target_event): Rework double prompt
12957         detection.
12958         * gdb.base/paginate-after-ctrl-c-running.exp
12959         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
12960         <return>' match.
12961         * gdb.base/paginate-bg-execution.exp
12962         (test_bg_execution_pagination_return)
12963         (test_bg_execution_pagination_cancel): Remove '-notransfer
12964         <return>' matches.
12965         * gdb.base/paginate-execution-startup.exp
12966         (test_fg_execution_pagination_return)
12967         (test_fg_execution_pagination_cancel): Remove '-notransfer
12968         <return>' matches.
12969         * gdb.base/paginate-inferior-exit.exp
12970         (test_paginate_inferior_exited): Remove '-notransfer <return>'
12971         match.
12972         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
12973         * lib/gdb.exp (pagination_prompt): Run text through
12974         string_to_regexp.
12975         (gdb_test_multiple): Match $pagination_prompt instead of
12976         "<return>".
12977         (string_to_regexp): Move to lib/gdb-utils.exp.
12978
12979 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
12980
12981         * gdb.arch/amd64-entry-value-paramref.S: New file.
12982         * gdb.arch/amd64-entry-value-paramref.cc: New file.
12983         * gdb.arch/amd64-entry-value-paramref.exp: New file.
12984         * gdb.arch/amd64-optimout-repeat.S: New file.
12985         * gdb.arch/amd64-optimout-repeat.c: New file.
12986         * gdb.arch/amd64-optimout-repeat.exp: New file.
12987
12988 2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
12989
12990         PR gdb/17170
12991         * gdb.base/statistics.exp: New file.
12992
12993 2014-07-17  Doug Evans  <dje@google.com>
12994
12995         PR gdb/17170
12996         * gdb.base/maint.exp: Update testing of per-command stats.
12997
12998 2014-07-16  Pedro Alves  <palves@redhat.com>
12999
13000         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13001         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13002         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
13003         (tfile_write_buf): New functions.
13004         (add_memory_block): Rewrite using the above.
13005         (adjust_function_address): New function.
13006         (FUNCTION_ADDRESS): New macro.
13007         (write_basic_trace_file): Remove short_x local, and use
13008         tfile_write_16. Change type of func_addr local to unsigned long
13009         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
13010         here.  Cast argument of add_memory_block to char pointer.
13011         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
13012         (main): Remove parameters.
13013         * gdb.trace/tfile.exp: Remove nowarnings.
13014
13015 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
13016
13017         * gdb.base/debug-expr.exp: Test string evaluation with
13018         "debug expression" on.
13019
13020 2014-07-15  Pedro Alves  <palves@redhat.com>
13021
13022         * gdb.base/reread.exp: Use clean_restart.
13023
13024 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
13025
13026         * gdb.arch/avr-flash-qualifer.c: New.
13027         * gdb.arch/avr-flash-qualifer.exp: New.
13028
13029 2014-07-14  Pedro Alves  <palves@redhat.com>
13030
13031         * gdb.base/paginate-after-ctrl-c-running.c: New file.
13032         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
13033
13034 2014-07-14  Pedro Alves  <palves@redhat.com>
13035
13036         * gdb.base/double-prompt-target-event-error.c: New file.
13037         * gdb.base/double-prompt-target-event-error.exp: New file.
13038
13039 2014-07-14  Pedro Alves  <palves@redhat.com>
13040
13041         PR gdb/17072
13042         * gdb.base/paginate-inferior-exit.c: New file.
13043         * gdb.base/paginate-inferior-exit.exp: New file.
13044
13045 2014-07-14  Pedro Alves  <palves@redhat.com>
13046
13047         PR gdb/17072
13048         * gdb.base/paginate-bg-execution.c: New file.
13049         * gdb.base/paginate-bg-execution.exp: New file.
13050
13051 2014-07-14  Pedro Alves  <palves@redhat.com>
13052
13053         PR gdb/17072
13054         * gdb.base/paginate-execution-startup.c: New file.
13055         * gdb.base/paginate-execution-startup.exp: New file.
13056         * lib/gdb.exp (pagination_prompt): New global.
13057         (default_gdb_spawn): New procedure, factored out from
13058         default_gdb_spawn.
13059         (default_gdb_start): Adjust to call default_gdb_spawn.
13060         (gdb_spawn): New procedure.
13061
13062 2014-07-14  Pedro Alves  <palves@redhat.com>
13063
13064         * lib/gdb.exp (gdb_assert): New procedure.
13065         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
13066
13067 2014-07-14  Pedro Alves  <palves@redhat.com>
13068
13069         * gdb.base/execution-termios.c: New file.
13070         * gdb.base/execution-termios.exp: New file.
13071
13072 2014-07-14  Tom Tromey  <tromey@redhat.com>
13073
13074         * gdb.cp/vla-cxx.cc: New file.
13075         * gdb.cp/vla-cxx.exp: New file.
13076
13077 2014-07-14  Tom Tromey  <tromey@redhat.com>
13078
13079         * gdb.reverse/rerun-prec.c: New file.
13080         * gdb.reverse/rerun-prec.exp: New file.
13081
13082 2014-07-12  Maciej W. Rozycki  <macro@mips.com>
13083             Maciej W. Rozycki  <macro@codesourcery.com>
13084
13085         * lib/gdb-utils.exp: New file.
13086         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
13087         inline `gdb_init_command' processing.
13088         (gdb_start_cmd): Likewise.
13089         * lib/mi-support.exp (mi_run_cmd): Likewise.
13090         * README: Document `gdb_init_command' and `gdb_init_commands'.
13091
13092 2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13093
13094         Fix false FAIL running under a very long directory name.
13095         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
13096         and "set print elements 10000".  Twice.
13097
13098 2014-07-11  Yao Qi  <yao@codesourcery.com>
13099
13100         * gdb.base/exprs.exp: "set print symbol off".
13101
13102 2014-07-11  Pedro Alves  <palves@redhat.com>
13103
13104         * gdb.threads/kill.c: New file.
13105         * gdb.threads/kill.exp: New file.
13106
13107 2014-07-10  Yao Qi  <yao@codesourcery.com>
13108
13109         * gdb.trace/tfile.c (write_basic_trace_file)
13110         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
13111         address written to trace file.
13112
13113 2014-07-09  Pedro Alves  <palves@redhat.com>
13114
13115         * gdb.base/attach-wait-input.exp: New file.
13116         * gdb.base/attach-wait-input.c: New file.
13117
13118 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
13119
13120         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
13121         setting up test structures.
13122         (main): Call new test function.
13123         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
13124         test function, continue into test function and walk test
13125         structures.
13126
13127 2014-07-02  Yao Qi  <yao@codesourcery.com>
13128
13129         * gdb.trace/entry-values.c: Define labels 'foo_start' and
13130         'bar_start' at the beginning of functions 'foo' and 'bar'
13131         respectively.
13132         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
13133         instead of 'foo' and 'bar'.
13134
13135 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
13136
13137         * gdb.btrace/segv.exp: New.
13138         * gdb.btrace/segv.c: New.
13139
13140 2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
13141
13142         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
13143         instruction.
13144
13145 2014-06-30  Mark Wielaard  <mjw@redhat.com>
13146
13147         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
13148         vulture, vilify, villar): New volatile array constants.
13149         (vindictive, vegetation): New const volatile array constants.
13150         * gdb.base/volatile.exp: Test volatile and const volatile array
13151         types.
13152
13153 2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13154
13155         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
13156         target lacks support for awatch, rwatch, or hbreak.
13157
13158 2014-06-27  Yao Qi  <yao@codesourcery.com>
13159
13160         * gdb.multi/dummy-frame-restore.exp: New.
13161         * gdb.multi/dummy-frame-restore.c: New.
13162
13163 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
13164
13165         * gdb.btrace/gcore.exp: New.
13166
13167 2014-06-23  Pedro Alves  <palves@redhat.com>
13168
13169         * gdb.base/watchpoint-reuse-slot.c: New file.
13170         * gdb.base/watchpoint-reuse-slot.exp: New file.
13171
13172 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
13173
13174         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
13175         progspace's filename in 'info', 'enable' and 'disable' command
13176         tests.
13177
13178 2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
13179
13180         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
13181         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13182         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
13183
13184 2014-06-20  Gary Benson  <gbenson@redhat.com>
13185
13186         * gdb.arch/i386-avx.exp: Fix include file location.
13187         * gdb.arch/i386-sse.exp: Likewise.
13188
13189 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
13190
13191         * gdb.dlang/expression.exp: New file.
13192
13193 2014-06-19  Pedro Alves  <palves@redhat.com>
13194
13195         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
13196         out from ...
13197         (top level): ... here.  Iterate running tests under different
13198         scheduler-locking settings.
13199
13200 2014-06-18  Luis Machado  <lgustavo@codesourcery.com>
13201
13202         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
13203         to DW_FORM_addr and use non-zero addresses.
13204
13205 2014-06-18  Siva Chandra Reddy  <sivachandra@google.com>
13206
13207         PR gdb/17017
13208         * gdb.python/py-xmethods.cc: Add global function call counters and
13209         increment them in their respective functions.  Remove "cout"
13210         statements.
13211         * gdb.python/py-xmethods.exp: Make tests check the global function
13212         call counters instead of depending on inferior IO.
13213
13214 2014-06-18  Don Breazeal  <donb@codesourcery.com>
13215
13216         * gdb.base/foll-fork.exp (default_fork_parent_follow):
13217         Deleted procedure.
13218         (explicit_fork_parent_follow): Deleted procedure.
13219         (explicit_fork_child_follow): Deleted procedure.
13220         (test_follow_fork): New procedure.
13221         (do_fork_tests): Replace calls to deleted procedures with
13222         calls to test_follow_fork and reset GDB for subsequent
13223         procedure calls.
13224
13225 2014-06-17  Yao Qi  <yao@codesourcery.com>
13226
13227         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
13228         CP1252.
13229
13230 2014-06-17  Luis Machado  <lgustavo@codesourcery.com>
13231
13232         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
13233         Initialize ptr and S explicitly.
13234         (skip_type_update_when_not_use_rtti_test): Likewise.
13235
13236 2014-06-16  Keith Seitz  <keiths@redhat.com>
13237
13238         PR mi/15863
13239         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
13240         the inferior is started.
13241
13242 2014-06-16  Pedro Alves  <palves@redhat.com>
13243
13244         * gdb.base/break-main-file-remove-fail.c: New file.
13245         * gdb.base/break-main-file-remove-fail.exp: New file.
13246         * gdb.base/break-unload-file.exp: Use build_executable instead of
13247         prepare_for_testing.
13248         (test_break): New parameter "initial_load".  Handle it.
13249         (top level): Add initial_load cmdline/file axis.
13250
13251 2014-06-12  Tom Tromey  <tromey@redhat.com>
13252
13253         * gdb.base/completion.exp: Don't use directory name in test.
13254
13255 2014-06-09  Gary Benson  <gbenson@redhat.com>
13256
13257         * gdb.base/sigall.c [Functions to send signals]: Reorder to
13258         separate the always-available ANSI-standard signals from the
13259         signals that require checking.
13260         (main): Likewise.
13261         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
13262         Likewise.
13263         (main): Likewise.
13264
13265 2014-06-07  Keith Seitz  <keiths@redhat.com>
13266
13267         Revert:
13268         PR c++/16253
13269         * gdb.cp/var-tag.cc: New file.
13270         * gdb.cp/var-tag.exp: New file.
13271         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13272         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13273         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13274         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13275
13276 2014-06-06  Doug Evans  <xdje42@gmail.com>
13277
13278         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
13279
13280 2014-06-06  Pedro Alves  <palves@redhat.com>
13281
13282         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
13283         in target debug output instead of looking at RSP packets,
13284         disabling the test on any target that uses hardware stepping.
13285         Update comments.
13286
13287 2014-06-06  Pedro Alves  <palves@redhat.com>
13288
13289         * gdb.base/break-unload-file.exp: Fix typo.
13290
13291 2014-06-06  Yao Qi  <yao@codesourcery.com>
13292
13293         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13294         from "jit_function" to "^jit_function".
13295
13296 2014-06-06  Yao Qi  <yao@codesourcery.com>
13297
13298         * gdb.base/async.c (foo): Add one statement.
13299         * gdb.base/async.exp: Get the next instruction address and
13300         match the output of "nexti" by instruction address.  Match
13301         the hex address in the output of "finish".
13302
13303 2014-06-06  Gary Benson  <gbenson@redhat.com>
13304
13305         * gdb.base/call-signals.c: Remove preprocessor conditionals
13306         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13307         SIGSEGV and SIGTERM.
13308         * gdb.base/sigall.c: Likewise.
13309         * gdb.base/unwindonsignal.c: Likewise.
13310         * gdb.reverse/sigall-reverse.c: Likewise.
13311
13312 2014-06-06  Yao Qi  <yao@codesourcery.com>
13313
13314         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
13315         readable, skip the test.
13316
13317 2014-06-06  Yao Qi  <yao@codesourcery.com>
13318
13319         * gdb.threads/staticthreads.c (thread_function): Move the line
13320         setting breakpoint on forward.
13321         * gdb.threads/staticthreads.exp: Update comments.
13322
13323 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
13324
13325         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13326         "history-append! type error".
13327
13328 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
13329
13330         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13331         erroneous dprintf expected input.
13332
13333 2014-06-04  Doug Evans  <xdje42@gmail.com>
13334
13335         * gdb.guile/scm-generics.exp: Delete.
13336
13337 2014-06-04  Doug Evans  <xdje42@gmail.com>
13338
13339         * gdb.guile/scm-breakpoint.exp: Update.
13340         Add tests for breakpoint registration.
13341
13342 2014-06-04  Tom Tromey  <tromey@redhat.com>
13343
13344         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13345         VLA-in-union.
13346         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13347         inner_vla_struct, vla_union types.  Initialize objects of those
13348         types and compute their sizes.
13349
13350 2014-06-04  Nathan Sidwell  <nathan@codesourcery.com>
13351             Hui Zhu  <hui@codesourcery.com>
13352
13353         * gdb.base/fileio.exp: Add test for shell not available as well as
13354         available.
13355         * gdb.base/fileio.c (test_system): Check for shell twice.
13356
13357 2014-06-04  Yao Qi  <yao@codesourcery.com>
13358
13359         * gdb.base/auto-connect-native-target.exp: Remove redundant
13360         space from the regexp pattern.
13361
13362 2014-06-04  Yao Qi  <yao@codesourcery.com>
13363
13364         * gdb.base/default.exp: Replace "child" with "native" in
13365         regexp pattern.
13366
13367 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
13368
13369         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
13370         * gdb.python/py-xmethods.exp: New tests to test xmethods.
13371         * gdb.python/py-xmethods.py: Python script supporting the
13372         new testcase and tests.
13373
13374 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
13375             Pedro Alves  <palves@redhat.com>
13376
13377         PR breakpoints/17000
13378         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
13379         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
13380
13381 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
13382
13383         * gdb.base/subst.exp: Add tests to verify partial path matching
13384         output.
13385
13386 2014-06-03  Pedro Alves  <palves@redhat.com>
13387
13388         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13389         target that doesn't use software single-stepping.
13390
13391 2014-06-03  Pedro Alves  <palves@redhat.com>
13392
13393         PR breakpoints/17000
13394         * gdb.base/sss-bp-on-user-bp-2.c: New file.
13395         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13396
13397 2014-06-02  Doug Evans  <xdje42@gmail.com>
13398
13399         * gdb.guile/scm-parameter.exp: New file.
13400
13401 2014-06-02  Doug Evans  <xdje42@gmail.com>
13402
13403         * gdb.guile/scm-cmd.c: New file.
13404         * gdb.guile/scm-cmd.exp: New file.
13405
13406 2014-06-02  Doug Evans  <xdje42@gmail.com>
13407
13408         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13409         pretty-printer lookup.
13410         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13411         (make-pp_s-printer): Call it.
13412         (make-pretty-printer-from-dict): New function.
13413         (lookup-pretty-printer-maker-from-dict): New function.
13414         (*pretty-printer*): Simplify.
13415         (make-objfile-pp_s-printer): New function.
13416         (install-objfile-pretty-printers!): New function.
13417         (make-progspace-pp_s-printer): New function.
13418         (install-progspace-pretty-printers!): New function.
13419         * gdb.guile/scm-progspace.c: New file.
13420         * gdb.guile/scm-progspace.exp: New file.
13421
13422 2014-06-02  Pedro Alves  <palves@redhat.com>
13423
13424         * gdb.base/dprintf-bp-same-addr.c: New file.
13425         * gdb.base/dprintf-bp-same-addr.exp: New file.
13426
13427 2014-06-02  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13428
13429         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13430         * gdb.arch/powerpc-power.s: Likewise.
13431
13432 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
13433
13434         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13435
13436 2014-06-01  Yao Qi  <yao@codesourcery.com>
13437
13438         * gdb.base/watchpoint.exp (test_watch_location): Check null
13439         pointer can be dereferenced.  If not, do the test, otherwise
13440         skip it.
13441
13442 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13443
13444         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13445         results.
13446         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13447
13448 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13449
13450         * gdb.arch/amd64-invalid-stack-middle.S: New file.
13451         * gdb.arch/amd64-invalid-stack-middle.c: New file.
13452         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13453         * gdb.arch/amd64-invalid-stack-top.c: New file.
13454         * gdb.arch/amd64-invalid-stack-top.exp: New file.
13455
13456 2014-05-30  Pedro Alves  <palves@redhat.com>
13457
13458         PR breakpoints/17000
13459         * gdb.base/sss-bp-on-user-bp.c: New file.
13460         * gdb.base/sss-bp-on-user-bp.exp: New file.
13461
13462 2014-05-30  David Blaikie  <dblaikie@gmail.com>
13463
13464         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13465         gnu_inline semantics via attribute.
13466         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13467         source explicitly specifies the required semantics.
13468
13469 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
13470
13471         * gdb.reverse/sigall-reverse.exp: Fix a typo.
13472
13473 2014-05-29  Pedro Alves  <palves@redhat.com>
13474             Tom Tromey  <tromey@redhat.com>
13475
13476         * gdb.base/async-shell.exp: Don't enable target-async.
13477         * gdb.base/async.exp
13478         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13479         parameter.  Adjust.
13480         (top level): Don't test with "target-async".
13481         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13482         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13483         * gdb.base/inferior-died.exp: Don't enable target-async.
13484         * gdb.base/interrupt-noterm.exp: Likewise.
13485         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13486         * gdb.mi/mi-nonstop-exit.exp: Likewise.
13487         * gdb.mi/mi-nonstop.exp: Likewise.
13488         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13489         * gdb.mi/mi-nsintrall.exp: Likewise.
13490         * gdb.mi/mi-nsmoribund.exp: Likewise.
13491         * gdb.mi/mi-nsthrexec.exp: Likewise.
13492         * gdb.mi/mi-watch-nonstop.exp: Likewise.
13493         * gdb.multi/watchpoint-multi.exp: Adjust comment.
13494         * gdb.python/py-evsignal.exp: Don't enable target-async.
13495         * gdb.python/py-evthreads.exp: Likewise.
13496         * gdb.python/py-prompt.exp: Likewise.
13497         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13498         * gdb.server/solib-list.exp: Don't enable target-async.
13499         * gdb.threads/thread-specific-bp.exp: Likewise.
13500         * lib/mi-support.exp: Adjust to use mi-async.
13501
13502 2014-05-29  Pedro Alves  <palves@redhat.com>
13503
13504         PR gdb/13860
13505         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13506         reason, even in sync mode.
13507
13508 2014-05-29  Pedro Alves  <palves@redhat.com>
13509             Hui Zhu  <hui@codesourcery.com>
13510
13511         PR PR15693
13512         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13513         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13514         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13515         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13516
13517 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
13518
13519         * config/monitor.exp (gdb_target_monitor): Replace use of
13520         "set remotebaud" by "set serial baud".
13521
13522 2014-05-26  Andy Wingo  <wingo@igalia.com>
13523
13524         * gdb.guile/scm-breakpoint.exp:
13525         * gdb.guile/scm-gsmob.exp: Update to use plain old object
13526         properties instead of gdb-object-properties.
13527
13528 2014-05-26  Yao Qi  <yao@codesourcery.com>
13529
13530         * gdb.server/no-thread-db.exp: Specify source file name
13531         explicitly when setting a breakpoint.
13532
13533 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13534
13535         * gdb.btrace/vdso.c: New.
13536         * gdb.btrace/vdso.exp: New.
13537
13538 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13539
13540         * gdb.base/gcore.exp (capture_command_output): Move ...
13541         * lib/gdb.exp (capture_command_output): ... here.
13542
13543 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13544
13545         * gdb.btrace/data.exp: Test memory access during btrace replay.
13546
13547 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
13548
13549         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13550
13551 2014-05-21  Pedro Alves  <palves@redhat.com>
13552
13553         PR gdb/13860
13554         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13555         (top level): Test that output related to execution commands is
13556         sent to the console with CLI commands, but not with MI commands.
13557         Test that breakpoint events are always mirrored to the console.
13558         Also expect the new source line to be output after a "next" in
13559         async mode too.  Make it a pass/fail test.
13560         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13561         output.
13562         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13563
13564 2014-05-21  Pedro Alves  <palves@redhat.com>
13565
13566         * gdb.base/list.exp (build_pattern, test_list): New procedures.
13567         Use them to test variations of "list" after reaching a breakpoint.
13568         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13569         Test "list" with listsize 10 after reaching a breakpoint.
13570         * gdb.python/python.exp (decode_line current location line
13571         number): Adjust expected line number.
13572
13573 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
13574
13575         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13576         behavior for $args, pass it directly to "run".
13577
13578 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
13579
13580         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13581         30000 to 65536.
13582
13583 2014-05-21  Pedro Alves  <palves@redhat.com>
13584
13585         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13586         auto-connect-native-target off".
13587         * gdb.base/auto-connect-native-target.c: New file.
13588         * gdb.base/auto-connect-native-target.exp: New file.
13589
13590 2014-05-21  Pedro Alves  <palves@redhat.com>
13591
13592         * gdb.base/default.exp: Test "target native" instead of "target
13593         child".
13594
13595 2014-05-21  Mark Wielaard  <mjw@redhat.com>
13596
13597         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13598
13599 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
13600
13601         Fix TLS access for -static -pthread.
13602         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13603         <HAVE_TLS> (thread_function, main): Initialize it.
13604         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13605         Add clean_restart.
13606         <$have_tls != "">: Check TLSVAR.
13607
13608 2014-05-21  Pedro Alves  <palves@redhat.com>
13609
13610         * gdb.base/dcache-line-read-error.c: New.
13611         * gdb.base/dcache-line-read-error.exp: New.
13612
13613 2014-05-20  Pedro Alves  <palves@redhat.com>
13614
13615         * gdb.base/compare-sections.c: New file.
13616         * gdb.base/compare-sections.exp: New file.
13617
13618 2014-05-20  Pedro Alves  <palves@redhat.com>
13619
13620         * gdb.base/break-idempotent.c: New file.
13621         * gdb.base/break-idempotent.exp: New file.
13622
13623 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
13624
13625         * gdb.btrace/nohist.exp: New.
13626
13627 2014-05-20  Yao Qi  <yao@codesourcery.com>
13628
13629         * lib/gdb.exp (gdb_init): Set timeout if test file is under
13630         gdb.reverse directory and gdb_reverse_timeout exists in board
13631         setting.
13632         * README: Document gdb_reverse_timeout.
13633
13634 2014-05-20  Yao Qi  <yao@codesourcery.com>
13635
13636         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13637         'test_file_name'.  Treat args as a string instead of a list.
13638         (gdb_init): Rename argument 'args' by 'test_file_name'.
13639
13640 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
13641
13642         * gdb.arch/powerpc-power.exp: New file.
13643         * gdb.arch/powerpc-power.s: New file.
13644
13645 2014-05-16  Doug Evans  <dje@google.com>
13646
13647         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
13648         * gdb.base/completion.exp: Check that all expected files exist
13649         before doing file completion.
13650
13651 2014-05-16  Doug Evans  <dje@google.com>
13652
13653         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13654         Update.
13655         (do_syscall_tests_without_xml): Update.
13656
13657 2014-05-16  Pedro Alves  <palves@redhat.com>
13658
13659         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13660         instead of "unknown output after running".
13661
13662 2014-05-16  Yao Qi  <yao@codesourcery.com>
13663
13664         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
13665         file1.txt from host at the end.
13666         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13667
13668 2014-05-15  Doug Evans  <dje@google.com>
13669
13670         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13671         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13672         loading file.  Add test for TU lookup.
13673
13674 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
13675
13676         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13677         calling "-exec-arguments" or "set args" before running the
13678         inferior.
13679
13680 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
13681
13682         * lib/mi-support.exp (mi_expect_stop): Expect message for
13683         inferiors that exit with non-zero exit code.
13684
13685 2014-05-14  Yao Qi  <yao@codesourcery.com>
13686
13687         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13688         match absolute path on remote host.
13689         (test_file_list_exec_source_files): Remove "/" from the
13690         pattern.
13691
13692 2014-05-14  Yao Qi  <yao@codesourcery.com>
13693
13694         * boards/local-remote-host-notty.exp (${board}_file): New
13695         proc.
13696
13697 2014-05-07  Kyle McMartin  <kyle@redhat.com>
13698
13699         Pushed by Joel Brobecker  <brobecker@adacore.com>.
13700         * gdb.arch/aarch64-atomic-inst.c: New file.
13701         * gdb.arch/aarch64-atomic-inst.exp: New file.
13702
13703 2014-05-07  Yao Qi  <yao@codesourcery.com>
13704
13705         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13706         in current context" too.
13707
13708 2014-05-05  Keith Seitz  <keiths@redhat.com>
13709
13710         * gdb.linespec/ls-dollar.exp: Add test for linespec
13711         file:convenience_variable.
13712
13713 2014-05-05  Yao Qi  <yao@codesourcery.com>
13714
13715         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13716         traceframes into tfile and ctf trace files.  Read data from
13717         trace file and test collected data.
13718         (gdb_collect_locals_test): Likewise.
13719         (gdb_unavailable_registers_test): Likewise.
13720         (gdb_unavailable_floats): Likewise.
13721         (gdb_collect_globals_test): Likewise.
13722         (top-level): Append "ctf" to trace_file_targets if GDB
13723         supports.
13724
13725 2014-05-05  Yao Qi  <yao@codesourcery.com>
13726
13727         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13728         code to ...
13729         (gdb_collect_args_test_1): ... it.  New proc.
13730         (gdb_collect_locals_test): Move some code to ...
13731         (gdb_collect_locals_test_1): ... it.  New proc.
13732         (gdb_unavailable_registers_test): Move some code to ...
13733         (gdb_unavailable_registers_test_1): ... it.  New proc.
13734         (gdb_unavailable_floats): Move some code to ...
13735         (gdb_unavailable_floats_1): ... it.  New proc.
13736
13737 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
13738
13739         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13740         probes to test for bitness recognition.
13741         * gdb.arch/amd64-stap-optional-prefix.exp
13742         (test_probe_value_without_reg): New procedure.
13743         Add code to test for different kinds of bitness.
13744
13745 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
13746
13747         PR breakpoints/16889
13748         * gdb.arch/amd64-stap-optional-prefix.S: New file.
13749         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13750
13751 2014-05-01  Pedro Alves  <palves@redhat.com>
13752
13753         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
13754         gdb_file_cmd if no file is specified.
13755         * boards/native-extended-gdbserver.exp (gdb_load): Use the
13756         last_loaded_file to set the remote exec-file.
13757
13758 2014-05-01  Pedro Alves  <palves@redhat.com>
13759
13760         * boards/local-remote-host.exp: New file.
13761
13762 2014-05-01  Pedro Alves  <palves@redhat.com>
13763
13764         * boards/local-remote-host.exp: Rename to ...
13765         * boards/local-remote-host-notty.exp: ... this.
13766
13767 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
13768
13769         * gdb.ada/dyn_arrayidx: New testcase.
13770
13771 2014-04-26  Yao Qi  <yao@codesourcery.com>
13772
13773         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
13774         and compute the length of function main.  Save it in
13775         $main_length.
13776         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13777         (top-level): Use gdb_compile to compile objects into
13778         executable and restart GDB.  Remove invocation to
13779         prepare_for_testing.
13780
13781 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
13782             Pedro Alves  <palves@redhat.com>
13783
13784         PR server/16255
13785         * gdb.multi/multi-attach.c: New file.
13786         * gdb.multi/multi-attach.exp: New file.
13787
13788 2014-04-25  Pedro Alves  <palves@redhat.com>
13789
13790         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13791         user.
13792         (top level): Test that "set remote conditional-breakpoints-packet
13793         off" works as intended.
13794         * gdb.base/dprintf.exp: Test that "set remote
13795         breakpoint-commands-packet off" works as intended.
13796         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13797         New function.
13798         (top level): Call it.
13799         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13800         remote fast-tracepoints-packet off" works as intended.
13801         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13802         * lib/gdb.exp (gdb_is_target_remote): ... here.
13803
13804 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13805
13806         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13807         ensure clang would not discard them.
13808         * gdb.base/gdbvars.c: Ditto.
13809         * gdb.base/memattr.c: Ditto.
13810         * gdb.base/whatis.c: Ditto.
13811         * gdb.python/py-prettyprint.c: Ditto.
13812         * gdb.trace/actions.c: Ditto.
13813         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13814         ensure clang would not discard it.
13815
13816 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13817
13818         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13819         clang to emit the full definition of type required by the test
13820         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13821
13822 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13823
13824         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
13825         coax Clang into emitting the definition of the type.
13826         * gdb.cp/pr10728-x.h (y): Ditto.
13827         * gdb.cp/pr10728-y.cc (y): Ditto.
13828
13829 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13830
13831         * gdb.base/label.exp: XFAIL label related tests under Clang.
13832         * gdb.cp/cplabel.exp: Ditto.
13833         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
13834         under Clang those using labels.
13835
13836 2014-04-25  Yao Qi  <yao@codesourcery.com>
13837
13838         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
13839         double_label.
13840         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
13841         partial_label and double_label.
13842
13843 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13844
13845         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
13846
13847 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13848
13849         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
13850         of the function to work across GCC and Clang.
13851         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
13852         pointer types (const void ** const V void **).
13853
13854 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
13855             Walfred Tedeschi  <walfred.tedeschi@intel.com>
13856
13857         * Makefile.in (EXECUTABLES): Added i386-avx512.
13858         * gdb.arch/i386-avx512.c: New file.
13859         * gdb.arch/i386-avx512.exp: Likewise.
13860
13861 2014-04-23  Keith Seitz  <keiths@redhat.com>
13862
13863         * lib/mi-support.exp (mi_list_breakpoints): Delete.
13864         (mi_make_breakpoint_table): New procedure.
13865         (mi_create_breakpoint): Use mi_make_breakpoint
13866         and return the result.
13867         (mi_make_breakpoint): New procedure.
13868         (mi_build_kv_pairs): New procedure.
13869
13870         * gdb.mi/mi-break.exp: Remove unused globals,
13871         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
13872         All callers updated.
13873         * gdb.mi/mi-dprintf.exp: Use variable to track command
13874         number.
13875         Update all callers of mi_create_breakpoint and use
13876         mi_make_breakpoint_table.
13877         Remove any unused global variables.
13878         * gdb.mi/mi-nonstop.exp: Likewise.
13879         * gdb.mi/mi-nsintrall.exp: Likewise.
13880         * gdb.mi/mi-nsmoribund.exp: Likewise.
13881         * gdb.mi/mi-nsthrexec.exp: Likewise.
13882         * gdb.mi/mi-reverse.exp: Likewise.
13883         * gdb.mi/mi-simplerun.exp: Likewise.
13884         * gdb.mi/mi-stepn.exp: Likewise.
13885         * gdb.mi/mi-syn-frame.exp: Likewise.
13886         * gdb.mi/mi-until.exp: Likewise.
13887         * gdb.mi/mi-var-cp.exp: Likewise.
13888         * gdb.mi/mi-var-display.exp: Likewise.
13889         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
13890         * gdb.mi/mi2-var-child.exp: Likewise.
13891         * gdb.mi/mi-vla-c99.exp: Likewise.
13892         * lib/mi-support.exp: Likewise.
13893
13894         From Ian Lance Taylor  <iant@cygnus.com>:
13895         * lib/gdb.exp (parse_args): New procedure.
13896
13897 2014-04-23  Pedro Alves  <palves@redhat.com>
13898
13899         * gdb.base/break-unload-file.c: New file.
13900         * gdb.base/break-unload-file.exp: New file.
13901         * gdb.base/sym-file-lib.c (baz): New function.
13902         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
13903         field.
13904         (load): Store the segment's mapped size.
13905         (unload): New function.
13906         (unload_shlib): New function.
13907         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
13908         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
13909         set a breakpoint at baz, and call it.
13910         * gdb.base/sym-file.exp: New tests for stale breakpoint
13911         instructions.
13912
13913 2014-04-23  Pedro Alves  <palves@redhat.com>
13914
13915         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
13916         * gdb.base/hbreak-in-shr-unsupported.c: New file.
13917         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
13918         * gdb.base/hbreak-unmapped.c: New file.
13919         * gdb.base/hbreak-unmapped.exp: New file.
13920         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
13921         * lib/gdb.exp (gdb_is_target_remote): ... here.
13922
13923 2014-04-22  Pedro Alves  <palves@redhat.com>
13924
13925         * gdb.base/consecutive-step-over.c: New file.
13926         * gdb.base/consecutive-step-over.exp: New file.
13927
13928 2014-04-22  Pedro Alves  <palves@redhat.com>
13929
13930         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
13931         instead of send_gdb/gdb_expect.
13932
13933 2014-04-22  Yao Qi  <yao@codesourcery.com>
13934
13935         * lib/trace-support.exp (generate_tracefile): New procedure.
13936         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
13937         return 0.
13938         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
13939         if generate_tracefile returns 1.
13940
13941 2014-04-18  Tom Tromey  <palves@redhat.com>
13942             Pedro alves  <tromey@redhat.com>
13943
13944         PR backtrace/15558
13945         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
13946         with a backtrace limit.
13947         * gdb.python/py-frame-inline.exp: Test running to an inline
13948         function with a backtrace limit, and printing the newest frame.
13949         * gdb.python/py-frame-inline.c (main): Call f.
13950
13951 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13952
13953         * gdb.java/jnpe.exp: Drop srcdir from untested path.
13954
13955 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13956
13957         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
13958         Drop prefix from unsupported source file path.
13959
13960 2014-04-17  Yao Qi  <yao@codesourcery.com>
13961
13962         * lib/gdb.exp (with_target_charset): New proc.
13963         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
13964         with_target_charset.
13965         (test_print_strings): Likewise.
13966         (test_repeat_bytes): Likewise.
13967         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
13968         for some tests.
13969
13970 2014-04-16  Keith Seitz  <keiths@redhat.com>
13971
13972         PR gdb/15827
13973         * gdb.dwarf2/corrupt.c: New file.
13974         * gdb.dwarf2/corrupt.exp: New file.
13975
13976 2014-04-16  Keith Seitz  <keiths@redhat.com>
13977
13978         PR c++/16597
13979         * gdb.cp/namelessclass.cc: New file.
13980         * gdb.cp/namelessclass.exp: New file.
13981         * gdb.cp/namelessclass.S: New file.
13982
13983 2014-04-16  Doug Evans  <dje@google.com>
13984
13985         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
13986         Add comment.
13987         (gdbserver_default_get_comm_port): New function.
13988         (gdbserver_start): Check if board file provided
13989         "gdbserver,get_comm_port" and use it if so.
13990         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
13991         (gdb,socketport): Set to "stdio".
13992         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
13993         (stdio_gdbserver_template): Delete.
13994         (${board}_get_remote_address): Update.
13995         (${board}_build_remote_cmd): Delete.
13996         (${board}_get_comm_port): New function.
13997         (${board}_spawn): Update.
13998         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
13999         Delete.
14000         (${board}_get_remote_address): Update.
14001         (${board}_get_comm_port): New function.
14002
14003 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
14004
14005         * gdb.base/memattr.exp: Improve regexps to handle memory regions
14006         appearing in any order.
14007
14008 2014-04-15  Doug Evans  <dje@google.com>
14009
14010         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
14011         uninitialized value of "description".
14012
14013 2014-04-15  Keith Seitz  <keiths@redhat.com>
14014
14015         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
14016         Remove unused globals.
14017         (test_running_the_program): Likewise.
14018         (test_controlled_execution): Likewise.
14019         (test_controlling_breakpoints): Likewise.
14020         (test_program_termination): Likewise.
14021
14022 2014-04-15  Keith Seitz  <keiths@redhat.com>
14023
14024         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
14025         unused globals.
14026         (test_rbreak_creation_and_listing): Likewise.
14027         (test_ignore_count): Likewise.
14028         (test_error): Likewise.
14029
14030 2014-04-15  Pedro Alves  <palves@redhat.com>
14031
14032         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
14033         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
14034         sym-file-loader.c.
14035         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14036         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14037         to sym-file-loader.c.
14038         (struct library): Forward declare.
14039         (load_shlib, lookup_function): Change prototypes.
14040         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14041         (translate_offset): Remove declarations.
14042         (get_text_addr): New declaration.
14043         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
14044         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
14045         sym-file-loader.h.
14046         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14047         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14048         here from sym-file-loader.h.
14049         (struct library): New structure.
14050         (load_shlib, lookup_function): Change prototypes and adjust to
14051         work with a struct library.
14052         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14053         (translate_offset): Make static.
14054         (get_text_addr): New function.
14055         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
14056
14057 2014-04-15  Pedro Alves  <palves@redhat.com>
14058
14059         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
14060
14061 2014-04-15  Pedro Alves  <palves@redhat.com>
14062
14063         * gdb.base/sym-file-loader.c: Include <limits.h>.
14064         (SELF_LINK): New define.
14065         (get_origin): New function.
14066         (load_shlib): Use it.
14067         * gdb.base/sym-file.exp: Don't early return if the target is
14068         remote.  Use runto_main, and issue fail is that fails.  Use
14069         gdb_load_shlibs.
14070         (shlib_name): Delete.
14071         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
14072
14073 2014-04-15  Pedro Alves <palves@redhat.com>
14074
14075         * gdb.base/sym-file.exp: Remove regex characters from test
14076         message.  Don't refer to breakpoint numbers in test messages.
14077
14078 2014-04-14  Keith Seitz  <keiths@redhat.com>
14079
14080         PR c++/16253
14081         * gdb.cp/var-tag.cc: New file.
14082         * gdb.cp/var-tag.exp: New file.
14083         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14084         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14085         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14086         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14087
14088 2014-04-14  Tom Tromey  <tromey@redhat.com>
14089
14090         * gdb.cp/classes.exp (test_enums): Handle underlying type.
14091         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
14092         type.
14093         * gdb.cp/enum-class.exp: New file.
14094         * gdb.cp/enum-class.cc: New file.
14095
14096 2014-04-14  Tom Tromey  <tromey@redhat.com>
14097
14098         * gdb.dwarf2/enum-type.exp: New file.
14099
14100 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14101
14102         * gdb.mi/mi-vla-c99.exp: New file.
14103         * gdb.mi/vla.c: New file.
14104
14105 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14106
14107         * gdb.base/vla-datatypes.c: New file.
14108         * gdb.base/vla-datatypes.exp: New file.
14109
14110 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14111
14112         * gdb.base/vla-ptr.c: New file.
14113         * gdb.base/vla-ptr.exp: New file.
14114
14115 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14116
14117         * gdb.dwarf2/count.exp: New file.
14118
14119 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14120
14121         * gdb.base/vla-sideeffect.c: New file.
14122         * gdb.base/vla-sideeffect.exp: New file.
14123
14124 2014-04-14  David Blaikie <dblaikie@gmail.com>
14125
14126         * gdb.mi/non-stop.c: Add return value for non-void function return
14127         statement.
14128         * gdb.threads/staticthreads.c: Ditto.
14129
14130 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
14131             Doug Evans  <xdje42@gmail.com>
14132
14133         * gdb.guile/scm-value.c: Improve test case.
14134         * gdb.guile/scm-value.exp: Add new test.
14135
14136 2014-04-11  David Blaikie  <dblaikie@gmail.com>
14137
14138         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
14139         override Clang's default.
14140
14141 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
14142
14143         Revert the following changes (regressions):
14144
14145         * gdb.base/vla-sideeffect.c: New file.
14146         * gdb.base/vla-sideeffect.exp: New file.
14147
14148         * gdb.dwarf2/count.exp: New file.
14149
14150         * gdb.base/vla-multi.c: New file.
14151         * gdb.base/vla-multi.exp: New file.
14152
14153         * gdb.base/vla-ptr.c: New file.
14154         * gdb.base/vla-ptr.exp: New file.
14155
14156         * gdb.base/vla-datatypes.c: New file.
14157         * gdb.base/vla-datatypes.exp: New file.
14158
14159         * gdb.mi/mi-vla-c99.exp: New file.
14160         * gdb.mi/vla.c: New file.
14161
14162 2014-04-11  Keith Seitz  <keiths@redhat.com>
14163
14164         PR c++/16675
14165         * gdb.cp/cpsizeof.exp: New file.
14166         * gdb.cp/cpsizeof.cc: New file.
14167
14168 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14169
14170         * gdb.mi/mi-vla-c99.exp: New file.
14171         * gdb.mi/vla.c: New file.
14172
14173 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14174
14175         * gdb.base/vla-datatypes.c: New file.
14176         * gdb.base/vla-datatypes.exp: New file.
14177
14178 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14179
14180         * gdb.base/vla-ptr.c: New file.
14181         * gdb.base/vla-ptr.exp: New file.
14182
14183 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14184
14185         * gdb.base/vla-multi.c: New file.
14186         * gdb.base/vla-multi.exp: New file.
14187
14188 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14189
14190         * gdb.dwarf2/count.exp: New file.
14191
14192 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14193
14194         * gdb.base/vla-sideeffect.c: New file.
14195         * gdb.base/vla-sideeffect.exp: New file.
14196
14197 2014-04-11  Yao Qi  <yao@codesourcery.com>
14198
14199         * gdb.base/completion.exp: Check file exists before running tests
14200         on file completion.
14201
14202 2014-04-10  Pedro Alves  <palves@redhat.com>
14203
14204         * gdb.base/cond-eval-mode.c: New file.
14205         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
14206         prepare_for_testing to build the new file.  Check result of
14207         runto_main.
14208         (test_break, test_watch): New procedures.
14209         (top level): Use them.
14210
14211 2014-04-08  Pierre Muller  <muller@sourceware.org>
14212
14213         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
14214         Ctrl-V use for mingw hosts.
14215
14216 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
14217
14218         * gdb.python/py-value.c: Improve test case.
14219         * gdb.python/py-value.exp: Add new test.
14220
14221 2014-04-07  David Blaikie  <dblaikie@gmail.com>
14222
14223         * lib/compiler.c: Identify the clang compiler.
14224         * lib/compiler.cc: Ditto.
14225
14226 2014-04-03  Yao Qi  <yao@codesourcery.com>
14227
14228         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
14229
14230 2014-04-01  Anton Blanchard  <anton@samba.org>
14231
14232         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
14233         messages unique.
14234
14235 2014-04-01  Anton Blanchard  <anton@samba.org>
14236
14237         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
14238         prepare_for_testing.
14239
14240 2014-04-01  Anton Blanchard  <anton@samba.org>
14241
14242         * gdb.arch/ppc64-atomic-inst.c: Remove.
14243         * gdb.arch/ppc64-atomic-inst.S: New file.
14244         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
14245
14246 2014-03-31  Doug Evans  <dje@google.com>
14247
14248         * gdb.base/print-symbol-loading-lib.c: New file.
14249         * gdb.base/print-symbol-loading-main.c: New file.
14250         * gdb.base/print-symbol-loading.exp: New file.
14251
14252 2014-03-31  Yao Qi  <yao@codesourcery.com>
14253
14254         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
14255
14256 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
14257
14258         * gdb.ada/mi_dyn_arr: New testcase.
14259
14260 2014-03-27  Doug Evans  <dje@google.com>
14261
14262         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
14263
14264 2014-03-27  Yao Qi  <yao@codesourcery.com>
14265
14266         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
14267         if target is nios2-*-*.
14268
14269 2014-03-26  Yao Qi  <yao@codesourcery.com>
14270
14271         * lib/gdb.exp (readline_is_used): New proc.
14272         * gdb.base/completion.exp: Move tests on command complete up.
14273         Skip the rest of tests if readline is not used.
14274         * gdb.ada/complete.exp: Skp the test if readline is not
14275         used.
14276         * gdb.base/filesym.exp: Likewise.
14277         * gdb.base/macscp.exp: Likewise.
14278         * gdb.base/readline-ask.exp: Likewise.
14279         * gdb.base/readline.exp: Likewise.
14280         * gdb.python/py-cmd.exp: Likewise.
14281         * gdb.trace/tfile.exp: Likewise.
14282
14283 2014-03-26  Yao Qi  <yao@codesourcery.com>
14284
14285         * gdb.base/macscp.exp: Fix code format issues.
14286
14287 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
14288
14289         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14290         * gdb.asm/powerpc64le.inc: New file.
14291
14292 2014-03-25  Pedro Alves  <palves@redhat.com>
14293             Doug Evans  <dje@google.com>
14294
14295         * gdb.base/source-execution.c: New file.
14296         * gdb.base/source-execution.exp: New file.
14297         * gdb.base/source-execution.gdb: New file.
14298
14299 2014-03-24  Doug Evans  <dje@google.com>
14300
14301         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14302         using fission.
14303
14304 2014-03-24  Hui Zhu  <hui@codesourcery.com>
14305             Pedro Alves  <palves@redhat.com>
14306
14307         PR breakpoints/16101
14308         * gdb.base/dprintf.exp: Use unsupported rather than changing the
14309         test pass/fail messages.  Detect missing support for dprintf when
14310         breakpoints are actually inserted.
14311         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14312         breakpoints are actually inserted.
14313         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14314         fails.
14315
14316 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
14317
14318         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14319
14320 2014-03-22  Doug Evans  <xdje42@gmail.com>
14321
14322         * gdb.python/python.exp (python not supported): Verify multi-line
14323         python command issues an error.
14324         * gdb.guile/guile.exp (guile not supported): Verify multi-line
14325         guile command issues an error.
14326
14327 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
14328
14329         * gdb.threads/thread-specific.exp: Handle the lack of usable
14330         $this_breakpoint and $this_thread.
14331
14332 2014-03-21  Hui Zhu  <hui@codesourcery.com>
14333
14334         * gdb.base/attach.exp (do_command_attach_tests): New.
14335
14336 2014-03-20  Tom Tromey  <tromey@redhat.com>
14337             Pedro Alves  <palves@redhat.com>
14338
14339         PR cli/15718
14340         * gdb.base/condbreak-call-false.c: New file.
14341         * gdb.base/condbreak-call-false.exp: New file.
14342
14343 2014-03-20  Pedro Alves  <palves@redhat.com>
14344
14345         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14346         Delete.
14347         (block_signals, unblock_signals): Delete.
14348         (child_function_2, main): Remove references to deleted variable
14349         and functions.
14350
14351 2014-03-20  Pedro Alves  <palves@redhat.com>
14352
14353         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14354         Use pthread_kill to signal thread 2.
14355         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14356         Adjust to make the test send itself a signal rather than using the
14357         host's "kill" command.
14358
14359 2014-03-20  Pedro Alves  <palves@redhat.com>
14360
14361         * gdb.threads/multiple-step-overs.c: New file.
14362         * gdb.threads/multiple-step-overs.exp: New file.
14363         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14364         Adjust expected infrun debug output.
14365
14366 2014-03-20  Pedro Alves  <palves@redhat.com>
14367
14368         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14369         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
14370
14371 2014-03-20  Pedro Alves  <palves@redhat.com>
14372
14373         PR breakpoints/7143
14374         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
14375         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
14376         of gdb_test_multiple.
14377         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
14378         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
14379
14380 2014-03-20  Pedro Alves  <palves@redhat.com>
14381
14382         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14383         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14384
14385 2014-03-19  Pedro Alves  <palves@redhat.com>
14386
14387         * gdb.base/async.exp: Remove early return.
14388
14389 2014-03-19  Pedro Alves  <palves@redhat.com>
14390
14391         * gdb.base/async.exp (step& tests): Pass explicit test messages.
14392
14393 2014-03-19  Pedro Alves  <palves@redhat.com>
14394
14395         * gdb.base/async.exp (test_background): Expect \r\n after
14396         "completed." in the fail pattern.
14397
14398 2014-03-19  Pedro Alves  <palves@redhat.com>
14399
14400         * gdb.base/async.exp (test_background): New procedure.
14401         Use it for all background execution command tests.
14402
14403 2014-03-19  Pedro Alves  <palves@redhat.com>
14404
14405         * gdb.base/async.exp: Use prepare_for_testing.
14406
14407 2014-03-19  Pedro Alves  <palves@redhat.com>
14408
14409         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
14410         the same line.
14411
14412 2014-03-19  Pedro Alves  <palves@redhat.com>
14413
14414         * gdb.base/async.c (main): Add "jump here" and "until here" line
14415         marker comments.
14416         * gdb.base/async.exp (jump_here): New global.
14417         (jump& test): Use it.
14418         (until_here): New global.
14419         (until& test): Use it.
14420
14421 2014-03-19  Pedro Alves  <palves@redhat.com>
14422
14423         * gdb.base/async.exp: Don't frob gdb_protocol.
14424
14425 2014-03-18  Doug Evans  <xdje42@gmail.com>
14426
14427         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
14428         Fix spelling of exec-done-display.
14429
14430 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
14431
14432         PR gdb/15358
14433         * gdb.base/gdb-sigterm.c: New file.
14434         * gdb.base/gdb-sigterm.exp: New file.
14435
14436 2014-03-18  Pedro Alves  <palves@redhat.com>
14437
14438         PR gdb/13860
14439         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14440         * lib/mi-support.exp (mi_expect_stop): Add special handling for
14441         solib-event.
14442
14443 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
14444
14445         * gdb.ada/pckd_arr_ren: New testcase.
14446
14447 2014-03-13  Doug Evans  <xdje42@gmail.com>
14448
14449         PR guile/16612
14450         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14451         collect after discarding symbols.
14452
14453 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
14454             Doug Evans  <xdje42@gmail.com>
14455
14456         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14457         to history survives a gc.
14458
14459 2014-03-13  Pedro Alves  <palves@redhat.com>
14460
14461         * gdb.base/default.exp: Don't test "target procfs".
14462
14463 2014-03-13  Pedro Alves  <palves@redhat.com>
14464
14465         * gdb.base/default.exp: Update "target child" and "target procfs"
14466         tests to not expect "Unix".
14467
14468 2014-03-12  Tom Tromey  <tromey@redhat.com>
14469
14470         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14471         New procs.  Add target-async tests.
14472         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14473         Add target-async tests.
14474
14475 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14476
14477         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14478         'func_start' and 'func_end' for the beginning and end of the
14479         function code, respectively.
14480         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14481         'func_end' instead of 'func' and 'main'.
14482
14483 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14484
14485         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14486         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14487         generate the debug info assembler source.
14488
14489 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14490
14491         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14492         * gdb.dwarf2/arr-subrange.exp: Likewise.
14493         * gdb.dwarf2/dwz.exp: Likewise.
14494         * gdb.dwarf2/method-ptr.exp: Likewise.
14495         * gdb.dwarf2/missing-sig-type.exp: Likewise.
14496         * gdb.dwarf2/subrange.exp: Likewise.
14497         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14498         * gdb.dwarf2/implptrpiece.exp: Likewise.
14499         * gdb.dwarf2/nostaticblock.exp: Likewise.
14500
14501 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14502
14503         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14504         directory to absolute path name arguments.
14505
14506 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
14507
14508         * gdb.ada/tagged_access: New testcase.
14509
14510 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
14511
14512         * gdb.btrace/data.exp: Update expected output.
14513
14514 2014-03-06  Yao Qi  <yao@codesourcery.com>
14515
14516         * gdb.trace/pr16508.exp: New file.
14517
14518 2014-03-05  Pedro Alves  <palves@redhat.com>
14519
14520         PR gdb/16575
14521         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14522         procedure.
14523         (top level): Adjust to use it.  Add tests that exercise breakpoint
14524         interaction with the code-cache.
14525
14526 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
14527
14528         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14529         test for 'history-append!'.
14530
14531 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14532
14533         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14534         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14535         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14536         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14537         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14538         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14539
14540 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14541
14542         * testsuite/gdb.python/py-pp-re-notag.c: New file.
14543         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14544         * testsuite/gdb.python/py-pp-re-notag.p: New file.
14545
14546 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14547
14548         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14549
14550 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14551
14552         * gdb.dwarf2/arr-stride.c: New file.
14553         * gdb.dwarf2/arr-stride.exp: New file.
14554
14555 2014-02-26  Pedro Alves  <palves@redhat.com>
14556
14557         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14558         that won't ever trigger.  Make sure that GDB reports the correct
14559         breakpoint that caused the stop.
14560
14561 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14562
14563         PR gdb/16626
14564         * gdb.base/auto-load-script: New file.
14565         * gdb.base/auto-load.c: New file.
14566         * gdb.base/auto-load.exp: New file.
14567
14568         PR gdb/16626
14569         * gdb.base/auto-load.exp: Fix out-of-srctree run.
14570
14571 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14572
14573         Fix dw2-icycle.exp -fsanitize=address GDB crash.
14574         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14575
14576 2014-02-24  Doug Evans  <dje@google.com>
14577
14578         * lib/gdb.exp (run_on_host): Log error output if program fails.
14579
14580 2014-02-21  Pedro Alves  <palves@redhat.com>
14581
14582         * gdb.threads/step-after-sr-lock.c: Rename to ...
14583         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14584         * gdb.threads/step-after-sr-lock.exp: Rename to ...
14585         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14586         ... this.
14587
14588 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
14589
14590         PR tdep/16397
14591         * gdb.arch/amd64-stap-special-operands.exp: New file.
14592         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14593         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14594         * gdb.arch/amd64-stap-triplet.S: Likewise.
14595         * gdb.arch/amd64-stap-triplet.c: Likewise.
14596
14597 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
14598
14599         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14600         in .section pseudo-op.
14601
14602 2014-02-20  lin zuojian  <manjian2006@gmail.com>
14603             Joel Brobecker  <brobecker@adacore.com>
14604             Doug Evans  <xdje42@gmail.com>
14605
14606         PR symtab/16581
14607         * gdb.dwarf2/dw2-icycle.S: New file.
14608         * gdb.dwarf2/dw2-icycle.c: New file.
14609         * gdb.dwarf2/dw2-icycle.exp: New file.
14610
14611 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
14612
14613         * gdb.python/py-value-cc.cc: Improve test case to enable testing
14614         operations on gdb.Value objects.
14615         * gdb.python/py-value-cc.exp: Add new test to test operations on
14616         gdb.Value objects.
14617
14618 2014-02-18  Doug Evans  <dje@google.com>
14619
14620         * Makefile.in (TESTS): New variable.
14621         (expanded_tests, expanded_tests_or_none): New variables
14622         (check-single): Pass $(expanded_tests_or_none) to runtest.
14623         (check-parallel): Only run tests in $(TESTS) if non-empty.
14624         (check/no-matching-tests-found): New rule.
14625         * README: Document TESTS makefile variable.
14626
14627 2014-02-18  Doug Evans  <dje@google.com>
14628
14629         * Makefile.in (check-parallel): rm -rf outputs temp.
14630
14631 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
14632
14633         Fix "ERROR: no fileid for" in the testsuite.
14634         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14635
14636 2014-02-12  Doug Evans  <dje@google.com>
14637
14638         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14639         (MISCELLANEOUS): New variable.
14640         (clean): rm -rf $(MISCELLANEOUS).
14641         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14642         dwp live in the same directory as symlinks, with each symlink pointed
14643         to a differently named file in a different directory.
14644
14645 2014-02-11  Doug Evans  <dje@google.com>
14646
14647         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14648         of Tcl file commands.
14649
14650 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
14651
14652         * gdb.threads/step-after-sr-lock.exp: Avoid executing
14653         "kill -SIGUSR1 -1".
14654
14655 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
14656
14657         * gdb.ada/tick_length_array_enum_idx: New testcase.
14658
14659 2014-02-10  Doug Evans  <xdje42@gmail.com>
14660
14661         * configure.ac (AC_OUTPUT): Add gdb.guile.
14662         * configure: Regenerate.
14663         * lib/gdb-guile.exp: New file.
14664         * lib/gdb.exp (get_target_charset): New function.
14665         * gdb.base/help.exp: Update expected output from "apropos apropos".
14666         * gdb.guile/Makefile.in: New file.
14667         * gdb.guile/guile.exp: New file.
14668         * gdb.guile/scm-arch.c: New file.
14669         * gdb.guile/scm-arch.exp: New file.
14670         * gdb.guile/scm-block.c: New file.
14671         * gdb.guile/scm-block.exp: New file.
14672         * gdb.guile/scm-breakpoint.c: New file.
14673         * gdb.guile/scm-breakpoint.exp: New file.
14674         * gdb.guile/scm-disasm.c: New file.
14675         * gdb.guile/scm-disasm.exp: New file.
14676         * gdb.guile/scm-equal.c: New file.
14677         * gdb.guile/scm-equal.exp: New file.
14678         * gdb.guile/scm-error.exp: New file.
14679         * gdb.guile/scm-error.scm: New file.
14680         * gdb.guile/scm-frame-args.c: New file.
14681         * gdb.guile/scm-frame-args.exp: New file.
14682         * gdb.guile/scm-frame-args.scm: New file.
14683         * gdb.guile/scm-frame-inline.c: New file.
14684         * gdb.guile/scm-frame-inline.exp: New file.
14685         * gdb.guile/scm-frame.c: New file.
14686         * gdb.guile/scm-frame.exp: New file.
14687         * gdb.guile/scm-generics.exp: New file.
14688         * gdb.guile/scm-gsmob.exp: New file.
14689         * gdb.guile/scm-iterator.c: New file.
14690         * gdb.guile/scm-iterator.exp: New file.
14691         * gdb.guile/scm-math.c: New file.
14692         * gdb.guile/scm-math.exp: New file.
14693         * gdb.guile/scm-objfile-script-gdb.in: New file.
14694         * gdb.guile/scm-objfile-script.c: New file.
14695         * gdb.guile/scm-objfile-script.exp: New file.
14696         * gdb.guile/scm-objfile.c: New file.
14697         * gdb.guile/scm-objfile.exp: New file.
14698         * gdb.guile/scm-ports.exp: New file.
14699         * gdb.guile/scm-pretty-print.c: New file.
14700         * gdb.guile/scm-pretty-print.exp: New file.
14701         * gdb.guile/scm-pretty-print.scm: New file.
14702         * gdb.guile/scm-section-script.c: New file.
14703         * gdb.guile/scm-section-script.exp: New file.
14704         * gdb.guile/scm-section-script.scm: New file.
14705         * gdb.guile/scm-symbol.c: New file.
14706         * gdb.guile/scm-symbol.exp: New file.
14707         * gdb.guile/scm-symtab-2.c: New file.
14708         * gdb.guile/scm-symtab.c: New file.
14709         * gdb.guile/scm-symtab.exp: New file.
14710         * gdb.guile/scm-type.c: New file.
14711         * gdb.guile/scm-type.exp: New file.
14712         * gdb.guile/scm-value-cc.cc: New file.
14713         * gdb.guile/scm-value-cc.exp: New file.
14714         * gdb.guile/scm-value.c: New file.
14715         * gdb.guile/scm-value.exp: New file.
14716         * gdb.guile/source2.scm: New file.
14717         * gdb.guile/types-module.cc: New file.
14718         * gdb.guile/types-module.exp: New file.
14719
14720 2014-02-10  Yao Qi  <yao@codesourcery.com>
14721
14722         PR testsuite/16543
14723         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14724         * configure: Regenerated.
14725         * Makefile.in: New file.
14726
14727 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
14728
14729         * gdb.python/py-framefilter.exp: Fix typo.
14730
14731 2014-02-08  Yao Qi  <yao@codesourcery.com>
14732
14733         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14734         that no =breakpoint-modified is emitted when breakpoints are
14735         modified through MI commands.
14736
14737 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
14738             Pedro Alves  <palves@redhat.com>
14739
14740         * gdb.threads/step-after-sr-lock.c: New file.
14741         * gdb.threads/step-after-sr-lock.exp: New file.
14742
14743 2014-02-07  Pedro Alves  <palves@redhat.com>
14744
14745         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14746
14747 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
14748
14749         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14750         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14751
14752 2014-02-06  Doug Evans  <xdje42@gmail.com>
14753
14754         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14755         output.
14756
14757         * gdb.gdb/python-interrupts.exp: New file.
14758
14759 2014-02-05  Yao Qi  <yao@codesourcery.com>
14760
14761         * gdb.trace/report.exp (use_collected_data): Test the output
14762         of "info threads" and "info inferiors".
14763
14764 2014-02-05  Yao Qi  <yao@codesourcery.com>
14765
14766         Revert this patch:
14767
14768         2013-05-24  Yao Qi  <yao@codesourcery.com>
14769
14770         * gdb.trace/tfile.exp: Test inferior and thread.
14771
14772 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14773
14774         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14775         on a function.
14776         * gdb.base/step-bt.c: Call hello via function pointer to make
14777         sure its first instruction is executed on powerpc64le-linux.
14778
14779 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14780
14781         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14782
14783 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14784
14785         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
14786         of the test patterns for use on little-endian systems.
14787
14788 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14789
14790         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14791         (decimal_vector): Fix for little-endian.
14792
14793 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
14794
14795         * gdb.arch/sparc-sysstep.exp: New file.
14796         * gdb.arch/sparc-sysstep.c: Likewise.
14797
14798         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14799
14800 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
14801
14802         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14803
14804 2014-01-23  Tom Tromey  <tromey@redhat.com>
14805
14806         * gdb.ada/array_char_idx: New testcase.
14807
14808 2014-01-23  Tom Tromey  <tromey@redhat.com>
14809
14810         PR python/16487:
14811         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14812         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14813         classes.
14814
14815 2014-01-23  Tom Tromey  <tromey@redhat.com>
14816
14817         PR python/16491:
14818         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14819         string from an inferior frame.
14820         * gdb.python/py-framefilter-mi.exp: Update.
14821
14822 2014-01-22  Doug Evans  <dje@google.com>
14823
14824         * gdb.server/server-mon.exp: Add tests for "set debug-format".
14825
14826 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14827
14828         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
14829
14830 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14831
14832         * gdb.trace/entry-values.exp: Remove excess space character from
14833         regex patterns.  Handle s390 call instruction.
14834
14835 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14836
14837         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
14838         define "*_start" label.  Make "name" static.
14839         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
14840         ${name} by references to ${name}_start.
14841
14842 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14843
14844         * gdb.base/info-macros.exp: Remove "debug" from the compile
14845         options.
14846
14847 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
14848
14849         * gdb.dlang/demangle.exp: New file.
14850
14851 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
14852
14853         * gdb.dlang/primitive-types.exp: New file.
14854
14855 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
14856
14857         * configure.ac: Create gdb.dlang/Makefile.
14858         * configure: Regenerate.
14859         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
14860         * gdb.dlang/Makefile.in: New file.
14861         * lib/d-support.exp: New file.
14862         * lib/gdb.exp (skip_d_tests): New proc.
14863
14864 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14865
14866         * gdb.btrace/delta.exp: Check reverse stepi.
14867         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
14868         * gdb.btrace/finish.exp: New.
14869         * gdb.btrace/next.exp: New.
14870         * gdb.btrace/nexti.exp: New.
14871         * gdb.btrace/record_goto.c: Add comments.
14872         * gdb.btrace/step.exp: New.
14873         * gdb.btrace/stepi.exp: New.
14874         * gdb.btrace/multi-thread-step.c: New.
14875         * gdb.btrace/multi-thread-step.exp: New.
14876         * gdb.btrace/rn-dl-bind.c: New.
14877         * gdb.btrace/rn-dl-bind.exp: New.
14878         * gdb.btrace/data.c: New.
14879         * gdb.btrace/data.exp: New.
14880         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14881
14882 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14883
14884         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
14885         * gdb.btrace/exception.exp: Update.
14886         * gdb.btrace/instruction_history.exp: Update.
14887         * gdb.btrace/record_goto.exp: Update.
14888         * gdb.btrace/tailcall.exp: Update.
14889         * gdb.btrace/unknown_functions.exp: Update.
14890         * gdb.btrace/delta.exp: New.
14891
14892 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14893
14894         * gdb.btrace/record_goto.exp: Add backtrace test.
14895         * gdb.btrace/tailcall.exp: Add backtrace test.
14896
14897 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14898
14899         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
14900         * gdb.btrace/record_goto.c: New.
14901         * gdb.btrace/record_goto.exp: New.
14902         * gdb.btrace/x86-record_goto.S: New.
14903
14904 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14905
14906         * gdb.btrace/function_call_history.exp: Update tests.
14907         * gdb.btrace/instruction_history.exp: Update tests.
14908
14909 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14910
14911         * gdb.btrace/function_call_history.exp: Fix expected field
14912         order for "record function-call-history".
14913         Add new tests for "record function-call-history /c".
14914         * gdb.btrace/exception.cc: New.
14915         * gdb.btrace/exception.exp: New.
14916         * gdb.btrace/tailcall.exp: New.
14917         * gdb.btrace/x86-tailcall.S: New.
14918         * gdb.btrace/x86-tailcall.c: New.
14919         * gdb.btrace/unknown_functions.c: New.
14920         * gdb.btrace/unknown_functions.exp: New.
14921         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14922
14923 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14924
14925         * gdb.btrace/instruction_history.exp: Update.
14926         * gdb.btrace/function_call_history.exp: Update.
14927
14928 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14929
14930         * gdb.btrace/function_call_history.exp: Fix expected function
14931         trace.
14932         * gdb.btrace/instruction_history.exp: Initialize traced.
14933         Remove traced_functions.
14934
14935 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14936
14937         * gdb.btrace/function_call_history.exp: Update
14938         * gdb.btrace/instruction_history.exp: Update.
14939
14940 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14941
14942         * gdb.btrace/enable.exp: Update expected text.
14943
14944 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
14945
14946         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
14947         bytes.
14948
14949 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
14950
14951         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
14952
14953 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
14954
14955         * lib/gdb.exp (supports_process_record): Return true for
14956         arm*-linux*.  (supports_reverse): Likewise.
14957
14958 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
14959
14960         PR python/15464
14961         PR python/16113
14962         * gdb.python/py-type.c: Enhance test case.
14963         * gdb.python/py-value-cc.cc: Likewise
14964         * gdb.python/py-type.exp: Add new tests.
14965         * gdb.python/py-value-cc.exp: Likewise
14966
14967 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14968             Pedro Alves <palves@redhat.com>
14969
14970         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
14971         Make "name" extern.
14972         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
14973         references to ${name}_start by references to ${name}.
14974
14975 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
14976
14977         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
14978
14979 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
14980
14981         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
14982
14983 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
14984             Pedro Alves  <palves@redhat.com>
14985
14986         * gdb.mi/mi-info-os.exp: Connect to the target with
14987         mi_gdb_target_load.
14988
14989 2014-01-08  Pedro Alves  <palves@redhat.com>
14990
14991         * gdb.threads/reconnect-signal.c: New file.
14992         * gdb.threads/reconnect-signal.exp: New file.
14993
14994 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
14995
14996         * gdb.base/source-dir.exp: New file.
14997
14998 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
14999
15000         * gdb.ada/mi_interface: New testcase.
15001
15002 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15003
15004         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
15005         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
15006         gdb.ada/pp-rec-component/pck.ads: New files.
15007
15008 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15009
15010         * gdb.python/py-pp-integral.c: New file.
15011         * gdb.python/py-pp-integral.py: New file.
15012         * gdb.python/py-pp-integral.exp: New file.
15013
15014 For older changes see ChangeLog-1993-2013.
15015 \f
15016 ;; Local Variables:
15017 ;; mode: change-log
15018 ;; left-margin: 8
15019 ;; fill-column: 74
15020 ;; version-control: never
15021 ;; End:
15022
15023     Copyright 2014-2018 Free Software Foundation, Inc.
15024   Copying and distribution of this file, with or without modification,
15025   are permitted provided the copyright notice and this notice are preserved.