Fix tid-reuse sometimes blocks for a very long (infinite?) time.
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2018-12-09  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
2
3         * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
4         (reuse_time): Initialize to REUSE_TIME_CAP.
5         (check_rc): New function.
6         (main): Use REUSE_TIME_CAP instead of hardcoded 60.
7         Check pthread_create rc.
8         (spawner_thread_func): Check pthread_create and pthread_join rc.
9
10 2018-12-08  Pedro Alves  <palves@redhat.com>
11
12         * gdb.base/list.exp (test_forward_search): Rename to ...
13         (test_forward_reverse_search): ... this.  Also test reverse-search
14         and the forward-search alias.
15
16 2018-12-05  Andrew Burgess  <andrew.burgess@embecosm.com>
17
18         * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
19         local timeout variable before return, and remove all local timeout
20         variable entirely.
21         (gdb_load): Likewise.
22
23 2018-12-01  Tom de Vries  <tdevries@suse.de>
24
25         * gdb.base/gdb-caching-proc.exp: New file.
26
27 2018-11-25  Sergio Durigan Junior  <sergiodj@redhat.com>
28
29         * Makefile.in (TIMESTAMP): New variable.
30         (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
31         command.
32         (check-single-racy): Likewise.
33         (check/%.exp): Likewise.
34         (check-racy/%.exp): Likewise.
35         (workers/%.worker): Likewise.
36         (build-perf): Likewise.
37         (check-perf): Likewise.
38         * README: Describe new "TS" and "TS_FORMAT" variables.
39         * print-ts.py: New file.
40
41 2018-11-21  Benno Fünfstück  <benno.fuenfstueck@gmail.com>
42
43         PR python/23714
44         * gdb.python/python.exp: Test command repetition after
45         gdb.execute.
46
47 2018-11-20  Andrew Burgess  <andrew.burgess@embecosm.com>
48
49         * gdb.opt/inline-break.exp: Add test that info breakpoint output
50         is correctly aligned.
51
52 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
53
54         * gdb.ada/info_auto_lang.exp: New testcase.
55         * gdb.ada/info_auto_lang/global_pack.ads: New file.
56         * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
57         * gdb.ada/info_auto_lang/some_c.c: New file.
58
59 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
60
61         * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
62         FUNC_lang language syntax.
63
64 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
65
66         * gdb.base/info_minsym.c: New file.
67         * gdb.base/info_minsym.exp: New file.
68
69 2018-11-19  Tom Tromey  <tom@tromey.com>
70
71         PR rust/23625:
72         * gdb.rust/simple.exp: Add ptype test.  Update expected output.
73         * gdb.rust/expr.exp: Update expected output.  Change one test.
74
75 2018-11-19  Tom Tromey  <tom@tromey.com>
76
77         * gdb.rust/simple.rs: Don't initialize empty_enum_value.
78
79 2018-11-19  Pedro Alves  <palves@redhat.com>
80
81         * gdb.base/warning.exp: Don't override INTERNAL_FLAGS.  Use
82         gdb_spawn_with_cmdline_opts instead of gdb_start.  Check that we
83         see the expected warning.
84
85 2018-11-16  Alan Hayward  <alan.hayward@arm.com>
86
87         PR gdb/22736:
88         * gdb.cp/infcall-nodebug-lib.c: New test.
89         * gdb.cp/infcall-nodebug-main.c: New test.
90         * gdb.cp/infcall-nodebug.exp: New file.
91
92 2018-11-12  Simon Marchi  <simon.marchi@polymtl.ca>
93
94         * gdb.base/skip.exp: Add standard_testfile.  Add "skip delete"
95         completer tests.
96
97 2018-11-09  Tom de Vries  <tdevries@suse.de>
98
99         * gdb.base/msym-lang.c: New test.
100         * gdb.base/msym-lang.exp: New file.
101         * gdb.base/msym-lang-main.c: New test.
102
103 2018-11-08  Tom Tromey  <tom@tromey.com>
104
105         PR gdb/23555:
106         PR gdb/23838:
107         * gdb.base/warning.exp: New file.
108
109 2018-11-08  Jan Beulich  <jbeulich@suse.com>
110
111         * testsuite/gdb.arch/i386-avx512.c,
112         testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
113
114 2018-11-08  Andrew Burgess  <andrew.burgess@embecosm.com>
115
116         * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
117         point hardware.
118
119 2018-11-07  Andrew Burgess  <andrew.burgess@embecosm.com>
120
121         * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
122         * gdb.dwarf2/missing-type-name.exp: New file.
123
124 2018-11-06  Tom de Vries  <tdevries@suse.de>
125
126         * gdb.base/many-headers.c: New test.
127         * gdb.base/many-headers.exp: New file.
128
129 2018-11-06  Jim Wilson  <jimw@sifive.com>
130
131         * gdb.base/code_elim.exp: For riscv, set additional_flags
132         to include -msmall-data-limit=0.
133
134 2018-11-01  Joel Brobecker  <brobecker@adacore.com>
135
136         * gdb.ada/watch_minus_l: New testcase.
137
138 2018-11-01  Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
139
140         * gdb.arch/aix-sighandle.c: New file.
141         * gdb.arch/aix-sighandle.exp: New file.
142
143 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
144
145         * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
146         registers being unions.
147
148 2018-10-31  Tom de Vries  <tdevries@suse.de>
149
150         * lib/valgrind.exp: New file.
151          (vgdb_start, vgdb_stop): New procs, factored out of ...
152         * gdb.base/valgrind-bt.exp: ... here, ...
153         * gdb.base/valgrind-disp-step.exp: ... here and ...
154         * gdb.base/valgrind-infcall.exp: ... here.
155
156 2018-10-31  Tom de Vries  <tdevries@suse.de>
157
158         * lib/gdb.exp (get_valueof): Don't output read value in test name.
159
160 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
161
162         * gdb.dwarf2/void-type.c: New file.
163         * gdb.dwarf2/void-type.exp: New file.
164
165 2018-10-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
166
167         * gdb.base/info_qt.c: New file.
168         * gdb.base/info_qt.exp: New file.
169
170 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
171
172         * gdb.arch/powerpc-htm-regs.c: New file.
173         * gdb.arch/powerpc-htm-regs.exp: New file.
174
175 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
176
177         * gdb.arch/powerpc-tar.c: New file.
178         * gdb.arch/powerpc-tar.exp: New file.
179
180 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
181
182         * gdb.arch/powerpc-ppr-dscr.c: New file.
183         * gdb.arch/powerpc-ppr-dscr.exp: New file.
184
185 2018-10-25  Tom de Vries  <tdevries@suse.de>
186
187         * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
188
189 2018-10-24  Tom de Vries  <tdevries@suse.de>
190
191         * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
192         longer exists error.
193
194 2018-10-24  Tom de Vries  <tdevries@suse.de>
195
196         * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
197
198 2018-10-24  Tom de Vries  <tdevries@suse.de>
199
200         * gdb.base/valgrind-db-attach.exp: Handle removed support for
201         --db-attach in valgrind.
202
203 2018-10-23  Andrew Burgess  <andrew.burgess@embecosm.com>
204
205         * gdb.arch/riscv-reg-aliases.c: New file.
206         * gdb.arch/riscv-reg-aliases.exp: New file.
207
208 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
209
210         * gdb.python/py-cmd.exp: Check for gdb_prompt.
211
212 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
213
214         * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
215
216 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
217
218         * gdb.cp/ovldbreak.exp: Fix regexps.
219
220 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
221
222         * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
223
224 2018-10-18  Sergio Durigan Junior  <sergiodj@redhat.com>
225
226         PR cli/23785
227         * gdb.base/restore.exp: New test to check if "restore" with an
228         invalid file doesn't segfault.
229
230 2018-10-18  Tom de Vries  <tdevries@suse.de>
231
232         * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
233         * gdb.ada/excep_handle.exp: Same.
234         * gdb.ada/mi_string_access.exp: Same.
235         * gdb.ada/mi_var_union.exp: Same.
236         * gdb.arch/arc-analyze-prologue.exp: Same.
237         * gdb.arch/arc-decode-insn.exp: Same.
238         * gdb.base/readnever.exp: Same.
239         * gdb.fortran/printing-types.exp: Same.
240         * gdb.guile/scm-lazy-string.exp: Same.
241
242 2018-10-16  Tom de Vries  <tdevries@suse.de>
243
244         PR gdb/23730
245         * gdb.base/catch-follow-exec.c: Add copyright notice.
246         * gdb.base/catch-follow-exec.exp: Rewrite to use
247         gdb_spawn_with_cmdline_opts.  Require gdb-native.
248
249 2018-10-12  Sandra Loosemore  <sandra@codesourcery.com>
250
251         * gdb.trace/actions-changed.exp: Check for arch support.
252         * gdb.trace/actions.exp: Likewise.
253         * gdb.trace/ax.exp: Likewise.
254         * gdb.trace/backtrace.exp: Likewise.
255         * gdb.trace/change-loc.exp: Likewise.
256         * gdb.trace/deltrace.exp: Likewise.
257         * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
258         * gdb.trace/ftrace.exp: Likewise.
259         * gdb.trace/infotrace.exp: Check for arch support.
260         * gdb.trace/mi-trace-frame-collected.exp: Likewise.
261         * gdb.trace/mi-tracepoint-changed.exp: Likewise.
262         * gdb.trace/mi-tsv-changed.exp: Likewise.
263         * gdb.trace/packetlen.exp: Likewise.
264         * gdb.trace/passc-dyn.exp: Likewise.
265         * gdb.trace/passcount.exp: Likewise.
266         * gdb.trace/pending.exp: Likewise.
267         * gdb.trace/range-stepping.exp: Check for shlib support.
268         * gdb.trace/report.exp: Check for arch support.
269         * gdb.trace/save-trace.exp: Likewise.
270         * gdb.trace/signal.exp: Check for signal support.
271         * gdb.trace/tfind.exp: Check for arch support.
272         * gdb.trace/trace-break.exp: Check for arch and shlib support.
273         * gdb.trace/trace-common.h: Add comment.
274         * gdb.trace/trace-condition.exp: Check for shlib and arch support.
275         * gdb.trace/trace-enable-disable.exp: Likewise.
276         * gdb.trace/trace-mt.exp: Likewise.  Remove redundant untested call.
277         * gdb.trace/tracecmd.exp: Check for arch support.
278         * gdb.trace/tspeed.exp: Check for shlib and target support.
279         * gdb.trace/tstatus.exp: Check for arch support.
280         * gdb.trace/tsv.exp: Likewise.
281         * gdb.trace/while-dyn.exp: Likewise.
282         * gdb.trace/while-stepping.exp: Likewise.
283         * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
284
285 2018-10-12  Simon Marchi  <simon.marchi@ericsson.com>
286
287         * gdb.trace/tspeed.exp: Remove nowarnings.
288         (prepare_for_trace_test): Declare "global ipalib".
289         * gdb.trace/tspeed.c: Include unistd.h.
290         (main): Remove superfluous printf argument.
291
292 2018-10-11  Sandra Loosemore  <sandra@codesourcery.com>
293
294         * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
295         directory prefix on the filename.
296
297 2018-10-10  Sergio Durigan Junior  <sergiodj@redhat.com>
298
299         * gdb.gdb/unittest.exp: Update expected message informing that
300         selftests have been disabled.
301         * gdb.server/unittest.exp: Likewise.
302
303 2018-10-09  Tom de Vries  <tdevries@suse.de>
304
305         * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
306         with runto_main.
307
308 2018-10-08  Weimin Pan  <weimin.pan@oracle.com>
309
310         PR c++/16841
311         * gdb.cp/virtbase2.cc: New file.
312         * gdb.cp/virtbase2.exp: New file.
313
314 2018-10-06  Tom Tromey  <tom@tromey.com>
315
316         PR python/19399:
317         * gdb.python/py-inferior.exp: Add architecture test.
318
319 2018-10-06  Tom Tromey  <tom@tromey.com>
320
321         * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
322         * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
323
324 2018-10-06  Tom Tromey  <tom@tromey.com>
325
326         * gdb.python/py-breakpoint.exp (check_last_event): Check location
327         of a "throw" catchpoint.
328
329 2018-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>
330
331         * gdb.base/info-proc.exp: Update string expected from "help info
332         proc".
333
334 2018-10-04  Tom Tromey  <tom@tromey.com>
335
336         * gdb.cp/maint.exp (test_invalid_name): Update expected output.
337         * gdb.gdb/complaints.exp (test_short_complaints): Remove.
338         (test_initial_complaints, test_empty_complaints): Update.
339         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
340
341 2018-10-04  Tom Tromey  <tom@tromey.com>
342
343         PR cli/19551:
344         * lib/mi-support.exp (mi_gdb_file_cmd): Update.
345         * lib/gdb.exp (gdb_file_cmd): Update.
346         * gdb.stabs/weird.exp (print_weird_var): Update.
347         * gdb.server/solib-list.exp: Update.
348         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
349         * gdb.mi/mi-cli.exp: Update.
350         * gdb.linespec/linespec.exp: Update.
351         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
352         * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
353         * gdb.cp/cp-relocate.exp: Update.
354         * gdb.base/sym-file.exp: Update.
355         * gdb.base/relocate.exp: Update.
356         * gdb.base/readnever.exp: Update.
357         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
358         * gdb.base/kill-detach-inferiors-cmd.exp: Update.
359         * gdb.base/dbx.exp (gdb_file_cmd): Update.
360         * gdb.base/code_elim.exp: Update.
361         * gdb.base/break-unload-file.exp (test_break): Update.
362         * gdb.base/break-interp.exp (test_attach_gdb): Update.
363         * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
364         Update.
365         * gdb.base/attach.exp (do_attach_tests): Update.
366         * gdb.base/sepdebug.exp: Update.
367         * gdb.python/py-section-script.exp: Update.
368
369 2018-10-04  Tom Tromey  <tom@tromey.com>
370
371         PR cli/22234:
372         * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
373         * gdb.gdb/complaints.exp (test_short_complaints): Update expected
374         output.
375
376 2018-10-04  Tom Tromey  <tom@tromey.com>
377
378         * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
379         set width and height to 0.
380         (test_command_line_attach_run): Use -quiet.
381
382 2018-10-03  Sandra Loosemore  <sandra@codesourcery.com>
383
384         * lib/gdb.exp (skip_ifunc_tests): New.
385         * gdb.base/gnu-ifunc.exp: Skip if no ifunc support.  Handle
386         other compile failures.
387         * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
388
389 2018-10-01  Simon Marchi  <simon.marchi@ericsson.com>
390
391         * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
392         is_amd64_regs_target.
393
394 2018-10-01  Alan Hayward  <alan.hayward@arm.com>
395
396         * gdb.arch/aarch64-sighandler-regs.c: New test.
397         * gdb.arch/aarch64-sighandler-regs.exp: New file.
398         * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
399
400 2018-10-01  Markus Metzger  <markus.t.metzger@intel.com>
401
402         * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
403         assembly.
404
405 2018-09-28  Andrew Burgess  <andrew.burgess@embecosm.com>
406
407         * gdb.base/frame-selection.exp: New file.
408         * gdb.base/frame-selection.c: New file.
409
410 2018-09-27  Alan Hayward  <alan.hayward@arm.com>
411
412         * gdb.threads/check-libthread-db.c (thread_routine): Use a
413         pthread barrier.
414         (main): Likewise.
415
416 2018-09-26  Andrew Burgess  <andrew.burgess@embecosm.com>
417
418         * gdb.base/large-frame-1.c: New file.
419         * gdb.base/large-frame-2.c: New file.
420         * gdb.base/large-frame.exp: New file.
421         * gdb.base/large-frame.h: New file.
422
423 2018-09-24  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
424
425         PR gdb/20948
426         * gdb.base/write_mem.exp: New test.
427         * gdb.base/write_mem.c: Likewise.
428
429 2018-09-23  Tom Tromey  <tom@tromey.com>
430
431         PR python/18852:
432         * gdb.python/py-parameter.exp: Add test for parameter that throws
433         on "set".
434
435 2018-09-23  Tom Tromey  <tom@tromey.com>
436
437         PR python/17284:
438         * gdb.python/py-template.exp (test_template_arg): Add test for
439         negative template argument number.
440
441 2018-09-23  Tom Tromey  <tom@tromey.com>
442
443         PR python/14062:
444         * gdb.python/python.exp: Add test for post_event error.
445
446 2018-09-23  Tom Tromey  <tom@tromey.com>
447
448         PR python/18170:
449         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
450         convert pointers to int and long.
451
452 2018-09-23  Tom Tromey  <tom@tromey.com>
453
454         PR python/20126:
455         * gdb.python/py-value.exp (test_value_numeric_ops): Add
456         signed-ness conversion tests.
457
458 2018-09-23  Tom Tromey  <tom@tromey.com>
459
460         PR python/18352;
461         * gdb.python/py-value.exp (test_float_conversion): New proc.
462         Use it.
463
464 2018-09-20  Hafiz Abid Qadeer  <abidh@codesourcery.com>
465
466         gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
467
468 2018-09-18  Sandra Loosemore  <sandra@codesourcery.com>
469
470         * gdb.base/complete-empty.exp: Skip tab-completion tests if
471         no readline.
472         * gdb.base/utf8-identifiers.exp: Likewise.
473         * gdb.cp/cpcompletion.exp: Likewise.
474         * gdb.linespec/cpcompletion.exp: Likewise.
475         * gdb.linespec/cpls-abi-tag.exp: Likewise.
476         * gdb.linespec/cpls-ops.exp: Likewise.
477
478 2018-09-19  Richard Bunt  <richard.bunt@arm.com>
479             Chris January  <chris.january@arm.com>
480
481         * gdb.cp/koenig.exp: Extend to test logical short circuiting.
482         * gdb.fortran/short-circuit-argument-list.exp: New file.
483         * gdb.fortran/short-circuit-argument-list.f90: New test.
484
485 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
486
487         * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
488         "arch=" keyword when executing "-stack-list-frames".
489
490 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
491
492         * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
493         "arch=" keyword when executing "-stack-list-frames".
494
495 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
496
497         * gdb.ada/complete.exp: Expect for "@" when doing "complete
498         break ada".
499
500 2018-09-17  Simon Marchi  <simon.marchi@polymtl.ca>
501
502         PR python/23669
503         * gdb.python/python.exp: Test gdb.execute("show commands").
504
505 2018-09-16  Tom Tromey  <tom@tromey.com>
506
507         * gdb.base/new-ui.exp (do_execution_tests): Update.
508         * gdb.base/dbx.exp (test_breakpoints): Update.
509
510 2018-09-14  Alan Hayward  <alan.hayward@arm.com>
511
512         * lib/gdb.exp (gdb_simple_compile): Add proc.
513         (is_elf_target): Use gdb_simple_compile.
514         (skip_altivec_tests): Likewise.
515         (skip_vsx_tests): Likewise.
516         (skip_tsx_tests): Likewise.
517         (skip_btrace_tests): Likewise.
518         (skip_btrace_pt_tests): Likewise.
519         (gdb_can_simple_compile): Likewise.
520         (gdb_has_argv0): Likewise.
521         (gdb_target_symbol_prefix): Likewise.
522         (target_supports_scheduler_locking): Likewise.
523
524 2018-09-13  Tom Tromey  <tom@tromey.com>
525
526         * Makefile.in (TAGS): Recognize proc_with_prefix and
527         gdb_caching_proc.
528
529 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
530
531         * gdb.python/py-progspace.exp: Test the Progspace.objfiles
532         method.
533
534 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
535
536         * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
537         and a few other Inferior properties when the Inferior is no
538         longer valid.
539
540 2018-09-13  Tom Tromey  <tom@tromey.com>
541
542         PR rust/23650:
543         * gdb.rust/simple.exp: Add test for enum field access error.
544
545 2018-09-13  Tom Tromey  <tom@tromey.com>
546
547         PR rust/23626:
548         * gdb.rust/simple.rs (EmptyEnum): New type.
549         (main): Use it.
550         * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
551
552 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
553
554         * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
555         * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
556         * gdb.python/py-symtab.exp: Update test printing an objfile.
557
558 2018-09-12  Simon Marchi  <simon.marchi@ericsson.com>
559
560         * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
561         object.
562
563 2018-09-12  Alan Hayward  <alan.hayward@arm.com>
564
565         * lib/gdb.exp (gdb_can_simple_compile): Add proc.
566         (support_complex_tests): Use gdb_can_simple_compile.
567         (is_ilp32_target): Likewise.
568         (is_lp64_target): Likewise.
569         (is_64_target): Likewise.
570         (is_amd64_regs_target): Likewise.
571         (is_aarch32_target): Likewise.
572         (gdb_int128_helper): Likewise.
573
574 2018-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
575
576         * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
577
578 2018-09-10  Jerome Guitton  <guitton@adacore.com>
579
580         * gdb.ada/same_component_name: Add test for case of tagged record
581         with variable-length fields.
582
583 2018-09-10  Xavier Roirand  <roirand@adacore.com>
584
585         * gdb.ada/access_to_unbounded_array.exp: New testcase.
586         * gdb.ada/access_to_unbounded_array/foo.adb: New file.
587         * gdb.ada/access_to_unbounded_array/pack.adb: New file.
588         * gdb.ada/access_to_unbounded_array/pack.ads: New file.
589
590 2018-09-10  Xavier Roirand  <roirand@adacore.com>
591
592         * gdb.ada/mi_string_access.exp: New testcase.
593         * gdb.ada/mi_string_access/bar.adb: New file.
594         * gdb.ada/mi_string_access/pck.adb: New file.
595         * gdb.ada/mi_string_access/pck.asd: New file.
596
597 2018-09-10  Xavier Roirand  <roirand@adacore.com>
598
599         * gdb.ada/mi_var_union.exp: New testcase.
600         * gdb.ada/mi_var_union/bar.adb: New file.
601         * gdb.ada/mi_var_union/pck.adb: New file.
602         * gdb.ada/mi_var_union/pck.asd: New file.
603
604 2018-09-08  Tom Tromey  <tom@tromey.com>
605
606         * gdb.python/py-prettyprint.exp: Use with_test_prefix.
607
608 2018-09-08  Tom Tromey  <tom@tromey.com>
609
610         PR python/16047:
611         * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
612         (register_pretty_printers): Register new printer.
613         * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
614         test.
615         * gdb.python/py-prettyprint.c (int_type3): New typedef.
616         (an_int_type3): New global.
617
618 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
619
620         * gdb.ada/expr_with_funcall: New testcase.
621
622 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
623
624         * gdb.ada/packed_array_assign: New testcase.
625
626 2018-09-07  Andrew Burgess  <andrew.burgess@embecosm.com>
627
628         * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
629         names, and add test prefixes to make test names unique.
630
631 2018-09-05  Tom de Vries  <tdevries@suse.de>
632
633         * gdb.dwarf2/varval.exp: Add test.
634
635 2018-09-04  Gary Benson <gbenson@redhat.com>
636
637         * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
638         'eof' before 'wait -i'.  Use remote_close and clear_gdb_spawn_id.
639
640 2018-08-31  Tom Tromey  <tom@tromey.com>
641
642         * gdb.rust/simple.rs: Rename second variable "v".
643
644 2018-08-30  Andrew Burgess  <andrew.burgess@embecosm.com>
645
646         * gdb.base/funcargs.c (use_a): New function.
647         (recurse): Call use_a.
648
649 2018-08-29  Keith Seitz  <keiths@redhat.com>
650
651         * gdb.compile/compile-cplus-anonymous.cc: New file.
652         * gdb.compile/compile-cplus-anonymous.exp: New file.
653         * gdb.compile/compile-cplus-array-decay.cc: New file.
654         * gdb.compile/compile-cplus-array-decay.exp: New file.
655         * gdb.compile/compile-cplus-inherit.cc: New file.
656         * gdb.compile/compile-cplus-inherit.exp: New file.
657         * gdb.compile/compile-cplus-member.cc: New file.
658         * gdb.compile/compile-cplus-member.exp: New file.
659         * gdb.compile/compile-cplus-method.cc: New file.
660         * gdb.compile/compile-cplus-method.exp: New file.
661         * gdb.compile/compile-cplus-mod.c: "New" file.
662         * gdb.compile/compile-cplus-namespace.cc: New file.
663         * gdb.compile/compile-cplus-namespace.exp: New file.
664         * gdb.compile/compile-cplus-nested.cc: New file.
665         * gdb.compile/compile-cplus-nested.exp: New file.
666         * gdb.compile/compile-cplus-print.c: "New" file.
667         * gdb.compile/compile-cplus-print.exp: "New" file.
668         * gdb.compile/compile-cplus-virtual.cc: New file.
669         * gdb.compile/compile-cplus-virtual.exp: New file.
670         * gdb.compile/compile-cplus.c: "New" file.
671         * gdb.compile/compile-cplus.exp: "New" file.
672         * lib/compile-support.exp: New file.
673
674 2018-08-16  Gary Benson <gbenson@redhat.com>
675
676         PR gdb/13000:
677         * gdb.base/batch-exit-status.exp: New file.
678         * gdb.base/batch-exit-status.good-commands: Likewise.
679         * gdb.base/batch-exit-status.bad-commands: Likewise.
680
681 2018-08-29  Alan Hayward  <alan.hayward@arm.com>
682
683         * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
684         (struct struct02): Likewise.
685         (struct struct03): Likewise.
686         (struct struct04): Likewise.
687         (struct struct_01_01): New struct.
688         (struct struct_01_02): Likewise.
689         (struct struct_01_03): Likewise.
690         (struct struct_01_04): Likewise.
691         (struct struct_02_01): Likewise.
692         (struct struct_02_02): Likewise.
693         (struct struct_02_03): Likewise.
694         (struct struct_02_04): Likewise.
695         (struct struct_04_01): Likewise.
696         (struct struct_04_02): Likewise.
697         (struct struct_04_03): Likewise.
698         (struct struct_04_04): Likewise.
699         (struct struct_05_01): Likewise.
700         (struct struct_05_02): Likewise.
701         (struct struct_05_03): Likewise.
702         (struct struct_05_04): Likewise.
703         (cmp_struct01): Remove function.
704         (cmp_struct02): Likewise.
705         (cmp_struct03): Likewise.
706         (cmp_struct04): Likewise.
707         (cmp_struct_01_01): Add Function.
708         (cmp_struct_01_02): Likewise.
709         (cmp_struct_01_03): Likewise.
710         (cmp_struct_01_04): Likewise.
711         (cmp_struct_02_01): Likewise.
712         (cmp_struct_02_02): Likewise.
713         (cmp_struct_02_03): Likewise.
714         (cmp_struct_02_04): Likewise.
715         (cmp_struct_04_01): Likewise.
716         (cmp_struct_04_02): Likewise.
717         (cmp_struct_04_03): Likewise.
718         (cmp_struct_04_04): Likewise.
719         (cmp_struct_05_01): Likewise.
720         (cmp_struct_05_02): Likewise.
721         (cmp_struct_05_03): Likewise.
722         (cmp_struct_05_04): Likewise.
723         (call_all): Add new structs.
724         * gdb.base/infcall-nested-structs.exp: Likewise.
725
726 2018-08-27  Jan Vrany  <jan.vrany@fit.cvut.cz>
727
728         * gdb.python/py-framefilter-mi.exp: Update regexp to
729         check for "arch" field in frame output.
730
731 2018-08-23  Kevin Buettner  <kevinb@redhat.com>
732
733         * gdb.dwarf2/dw2-ranges-func.c: New file.
734         * gdb.dwarf2/dw2-ranges-func.exp: New file.
735
736 2018-08-22  Simon Marchi  <simon.marchi@polymtl.ca>
737
738         * gdb.base/term.exp: Compare terminal settings with values from
739         the inferior.
740         * gdb.base/term.c: Get and set terminal settings.
741
742 2018-08-22  Jan Vrany  <jan.vrany@fit.cvut.cz>
743
744         * lib/mi-support.exp (mi_expect_stop): Update regexp to
745         accommodate new "arch" field in frame output.
746         * gdb.mi/mi-return.exp: Likewise.
747         * gdb.mi/mi-stack.exp: Likewise.
748         * gdb.mi/mi-syn-frame.exp: Likewise.
749         * gdb.mi/user-selected-context-sync.exp: Likewise.
750
751 2018-08-19  Michael Spang  <spang@google.com>
752
753         PR gdb/11786
754         * gdb.base/gcore-tls-pie.c: New file.
755         * gdb.base/gcore-tls-pie.exp: New file.
756
757 2018-08-18  Kevin Buettner  <kevinb@redhat.com>
758
759         * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
760         * gdb.dwarf2/varval.c: New file.
761         * gdb.dwarf2/varval.exp: New file.
762
763 2018-08-17  Alan Hayward  <alan.hayward@arm.com>
764
765         PR gdb/18931
766         * gdb.arch/aarch64-fp.c (main): Fix asm registers.
767
768 2018-08-16  Keith Seitz  <keiths@redhat.com>
769
770         * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
771         tests expected to pass.
772
773 2018-08-14  Jan Vrany  <jan.vrany@fit.cvut.cz>
774
775         * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
776         -data-disassemble -a.
777         (test_disassembly_bogus_args): Likewise.
778
779 2018-08-14  Andrew Burgess  <andrew.burgess@embecosm.com>
780
781         * gdb.mi/list-thread-groups-available.exp: Update test regexp.
782
783 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
784
785         * gdb.base/vla-optimized-out.exp: Add new test.
786
787 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
788
789         * gdb.base/vla-optimized-out-o3.exp: Delete.
790         * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
791         * gdb.base/vla-optimized-out.exp: Extend to cover all of the
792         deleted tests.
793
794 2018-08-08  Andrew Burgess  <andrew.burgess@embecosm.com>
795
796         PR gdb/18050:
797         * gdb.server/extended-remote-restart.c: New file.
798         * gdb.server/extended-remote-restart.exp: New file.
799
800 2018-08-07  Simon Marchi  <simon.marchi@polymtl.ca>
801
802         * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
803         "set variable index = 42".
804
805 2018-08-07  Simon Marchi  <simon.marchi@ericsson.com>
806
807         * boards/index-cache-gdb.exp: New file.
808         * gdb.dwarf2/index-cache.exp: New file.
809         * gdb.dwarf2/index-cache.c: New file.
810         * gdb.base/maint.exp: Check if we are using the index cache.
811
812 2018-08-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
813
814         * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
815         MAKEFLAGS.
816
817 2018-08-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
818
819         * dg-extract-results.sh: Move to toplevel contrib.
820         * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
821         * Makefile.in (check-parallel-racy): Likewise.
822
823 2018-08-06  Andrew Burgess  <andrew.burgess@embecosm.com>
824
825         * lib/gdb.exp (target_supports_scheduler_locking): New proc.
826         * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
827         tests if the target supports scheduler locking.
828
829 2018-08-04  Tom de Vries  <tdevries@suse.de>
830
831         * gdb.python/py-rbreak.exp: Fix rbreak regexp.
832
833 2018-08-02  Tom Tromey  <tom@tromey.com>
834
835         PR symtab/16842.
836         * gdb.cp/temargs.exp: Test "info address" of a template
837         parameter.
838
839 2018-07-31  Jan Vrany  <jan.vrany@fit.cvut.cz>
840
841         * gdb.python/py-mi-var-info-path-expression.c: New file.
842         * gdb.python/py-mi-var-info-path-expression.py: New file.
843         * gdb.python/py-mi-var-info-path-expression.exp: New file.
844
845 2018-07-30  Sergio Durigan Junior  <sergiodj@redhat.com>
846
847         * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
848         error after "cannot resolve name" string.
849
850 2018-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
851
852         * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
853         started.
854         * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
855
856 2018-07-28  Tom de Vries  <tdevries@suse.de>
857
858         * gdb.base/vla-optimized-out-o3-strict.exp: New file.
859
860 2018-07-26  Tom de Vries  <tdevries@suse.de>
861
862         * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
863
864 2018-07-26  Andrew Burgess  <andrew.burgess@embecosm.com>
865
866         * gdb.base/maint.exp: Add check that dwarf unwinders control flag
867         is visible.
868
869 2018-07-26  Tom de Vries  <tdevries@suse.de>
870
871         PR breakpoints/23366
872         * gdb.base/catch-follow-exec.c: New test.
873         * gdb.base/catch-follow-exec.exp: New file.
874
875 2018-07-25  Tom de Vries  <tdevries@suse.de>
876
877         * gdb.base/vla-optimized-out-o3.exp: New file.  Reuse
878         vla-optimized-out.c.
879
880 2018-07-25  Jan Vrany  <jan.vrany@fit.cvut.cz>
881
882         * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
883         * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
884
885 2018-07-20  Tom de Vries  <tdevries@suse.de>
886
887         * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
888         NOCLONE macro.
889         * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
890
891 2018-07-19  Tom de Vries  <tdevries@suse.de>
892
893         * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
894         regular expression.
895
896 2018-07-18  Tom de Vries  <tdevries@suse.de>
897
898         * gdb.base/vla-optimized-out.c: New test.
899         * gdb.base/vla-optimized-out.exp: New file.
900
901 2018-07-13  Sergio Durigan Junior  <sergiodj@redhat.com>
902
903         * lib/gdbserver-support.exp (gdbserver_start): Expect for the
904         message "No address associated with hostname" when gdbserver
905         cannot resolve the hostname.
906
907 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
908
909         * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
910         Add some test prefixes to make tests unique.
911
912 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
913
914         * gdb.base/frameapply.c: New file.
915         * gdb.base/frameapply.exp: New file.
916
917 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
918
919         * gdb.base/skip.exp: Update expected error message.
920
921 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
922             Jan Kratochvil  <jan.kratochvil@redhat.com>
923             Paul Fertser  <fercerpav@gmail.com>
924             Tsutomu Seki  <sekiriki@gmail.com>
925
926         * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
927         parameter.
928         * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
929         by default.
930         * boards/native-gdbserver.exp: Likewise.
931         * gdb.server/run-without-local-binary.exp: Improve regexp used
932         for detecting when a remote debugging connection succeeds.
933         * gdb.server/server-connect.exp: New file.
934         * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
935         Do not prefix the port number with ":".
936         (gdbserver_start): New global GDB_TEST_SOCKETHOST.  Implement
937         support for detecting and using it.  Add '$debughost_gdbserver'
938         to the list of arguments used to start gdbserver.  Handle case
939         when gdbserver cannot resolve a network name.
940
941 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
942
943         PR c++/23373
944         * gdb.base/ptype-offsets.cc (struct static_member): New
945         struct.
946         (main) <stmember>: New variable.
947         * gdb.base/ptype-offsets.exp: Add test for printing a struct
948         with a static member in it.
949
950 2018-07-10  Andrew Burgess  <andrew.burgess@embecosm.com>
951
952         * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
953         watchpoints enabled and disabled.
954
955 2018-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
956
957         * gdb.base/examine-backward.exp: Still run tests around address
958         0x0, even if address 0x0 is not readable.  Update the pattern for
959         matching address 0x0 in expected output.
960
961 2018-07-06  Andrew Burgess  <andrew.burgess@embecosm.com>
962
963         * gdb.base/share-env-with-gdbserver.c (main): Add call to
964         malloc/free.
965
966 2018-07-04  Tom de Vries  <tdevries@suse.de>
967
968         * gdb.dwarf2/dw2-error.exp: Update expected error message.
969
970 2018-07-02  Maciej W. Rozycki  <macro@mips.com>
971
972         PR tdep/8282
973         * gdb.arch/mips-disassembler-options.exp: New test.
974         * gdb.arch/mips-disassembler-options.s: New test source.
975
976 2018-06-29  Pedro Alves  <palves@redhat.com>
977
978         * gdb.threads/names.exp: Adjust expected "info threads" output.
979
980 2018-06-29  Pedro Alves  <palves@redhat.com>
981
982         * gdb.opt/inline-break.exp (line number, address): Add "info
983         break" tests.
984
985 2018-06-29  Pedro Alves  <palves@redhat.com>
986
987         * gdb.opt/inline-break.c (func1): Add "break here" marker.
988         * gdb.opt/inline-break.exp: Test setting breakpoints by line
989         number and address and running to them.
990
991 2018-06-29  Richard Bunt  <richard.bunt@arm.com>
992
993         * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
994
995 2018-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
996
997         * lib/compiler.c: Remove executable permission flag.
998
999 2018-06-28  Richard Bunt  <richard.bunt@arm.com>
1000
1001         * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
1002         code.
1003         * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
1004
1005 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1006
1007         * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
1008
1009 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1010
1011         * gdb.base/relocate.exp: Test add-symbol-file behavior when the
1012         address argument is omitted.
1013
1014 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1015
1016         * gdb.base/relocate.exp: Add test for "symbol-file -o ".
1017
1018 2018-06-27  Omair Javaid  <omair.javaid@linaro.org>
1019
1020         PR gdb/21695
1021         * gdb.base/infoline-reloc-main-from-zero.exp: New test.
1022         * gdb.base/infoline-reloc-main-from-zero.c: New file.
1023
1024 2018-06-26  Tom Tromey  <tom@tromey.com>
1025
1026         PR rust/22574:
1027         * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
1028         * gdb.rust/simple.rs (struct SimpleLayout): New.
1029
1030 2018-06-22  Simon Marchi  <simon.marchi@ericsson.com>
1031
1032         * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
1033         "info registers" output.
1034
1035 2018-06-21  Richard Bunt  <richard.bunt@arm.com>
1036
1037         * gdb.base/watchpoint-hw-attach.c: New test.
1038         * gdb.base/watchpoint-hw-attach.exp: New file.
1039
1040 2018-06-20  Simon Marchi  <simon.marchi@ericsson.com>
1041
1042         * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
1043         through /bin/sh.
1044         * boards/dwarf4-gdb-index.exp: Likewise.
1045         * boards/fission-dwp.exp: Likewise.
1046
1047 2018-06-20  Ulrich Weigand  <uweigand@de.ibm.com>
1048
1049         * gdb.base/float128.exp: Add comment and improved fail message
1050         to the failure case of "print large128" test.
1051
1052 2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
1053
1054         * configure.ac: Remove AC_PREREQ.
1055         * configure: Re-generate.
1056
1057 2018-06-19  Pedro Alves  <palves@redhat.com>
1058
1059         * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
1060         (func_extern_caller): New.
1061         (main): Call func_extern_caller.
1062         * gdb.opt/inline-break.exp: Add tests for inline frame skipping
1063         logic change.
1064
1065 2018-06-18  Weimin Pan  <weimin.pan@oracle.com>
1066
1067         PR gdb/16841
1068         * gdb.cp/typedef-base.cc: New file.
1069         * gdb.cp/typedef-base.exp: New file.
1070
1071 2018-06-18  Tom de Vries  <tdevries@suse.de>
1072
1073         * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1074
1075 2018-06-16  Andrew Burgess  <andrew.burgess@embecosm.com>
1076             Richard Bunt <Richard.Bunt@arm.com>
1077
1078         * gdb.threads/attach-slow-waitpid.c: New file.
1079         * gdb.threads/attach-slow-waitpid.exp: New file.
1080         * gdb.threads/slow-waitpid.c: New file.
1081
1082 2018-06-14  Pedro Alves  <palves@redhat.com>
1083
1084         * gdb.base/fork-running-state.c: Include <errno.h>.
1085         (exit_if_relative_exits): New.
1086         (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1087         exits.
1088         (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1089         child exits.
1090
1091 2018-06-14  Tom de Vries  <tdevries@suse.de>
1092
1093         PR cli/22573
1094         * gdb.base/finish-pretty.c: New test.
1095         * gdb.base/finish-pretty.exp: New file.
1096
1097 2018-06-14  Pedro Alves  <palves@redhat.com>
1098
1099         * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
1100         gdb's expected startup output.
1101
1102 2018-06-14  Pedro Alves  <palves@redhat.com>
1103
1104         * lib/selftest-support.exp (selftest_setup): Remove inlined
1105         function handling.
1106
1107 2018-06-14  Tom de Vries  <tdevries@suse.de>
1108
1109         * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1110         matching of breakpoint printing.
1111
1112 2018-06-13  Tom de Vries  <tdevries@suse.de>
1113
1114         PR testsuite/23269
1115         * gdb.base/fork-running-state.c (main): Move setting of alarm ...
1116         (fork_child): ... here, and ...
1117         (fork_parent): ... here.
1118
1119 2018-06-12  Tom de Vries  <tdevries@suse.de>
1120
1121         * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
1122
1123 2018-06-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1124             Stephen Roberts  <stephen.roberts@arm.com>
1125
1126         * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
1127         rewrite test to describe action performed, rather than possible
1128         failure.
1129
1130 2018-06-08  Gary Benson <gbenson@redhat.com>
1131
1132         * gdb.threads/check-libthread-db.exp: New file.
1133         * gdb.threads/check-libthread-db.c: Likewise.
1134
1135 2018-06-05  Tom Tromey  <tom@tromey.com>
1136
1137         * gdb.base/default.exp: Update expected "show version" output.
1138
1139 2018-06-05  Tom Tromey  <tom@tromey.com>
1140
1141         PR cli/12326:
1142         * gdb.cp/static-print-quit.exp: Update.
1143         * lib/gdb.exp (pagination_prompt): Update.
1144         * gdb.base/page.exp: Use pagination_prompt.  Add new tests.
1145         * gdb.python/python.exp: Update.
1146
1147 2018-06-04  Joel Brobecker  <brobecker@adacore.com>
1148
1149         * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
1150
1151 2018-06-01  Joel Brobecker  <brobecker@adacore.com>
1152
1153         * gdb.ada/bp_fun_addr: New testcase.
1154
1155 2018-06-01  Tom Tromey  <tom@tromey.com>
1156
1157         * gdb.xml/tdesc-regs.exp (load_description): Update expected
1158         results.
1159         * gdb.dwarf2/method-ptr.exp: Set language to C++.
1160         * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
1161         * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
1162         * gdb.base/maint.exp (maint_pass_if): Update.
1163
1164 2018-05-31  Maciej W. Rozycki  <macro@mips.com>
1165
1166         * gdb.base/endian.exp: New test.
1167         * gdb.base/endian.c: New test source.
1168
1169 2018-05-24  Andrew Burgess  <andrew.burgess@embecosm.com>
1170
1171         PR gdb/23203
1172         * gdb.base/bt-selected-frame.c: New file.
1173         * gdb.base/bt-selected-frame.exp: New file.
1174         * lib/gdb.exp (get_current_frame_number): New function.
1175
1176 2018-05-24  Maciej W. Rozycki  <macro@mips.com>
1177             Pedro Alves  <palves@redhat.com>
1178
1179         * gdb.threads/tls-core.c: Include <stdlib.h>
1180         (thread_proc): Call `abort'.
1181         * gdb.threads/tls-core.exp: Generate a core with core_find too.
1182         (tls_core_test): New procedure, bits factored out from ...
1183         (top level): ... here.  Test both native cores and gcore cores.
1184
1185 2018-05-23  Tom Tromey  <tom@tromey.com>
1186
1187         * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
1188
1189 2018-05-23  Tom Tromey  <tom@tromey.com>
1190
1191         * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
1192         symfile_complaints.
1193         (test_short_complaints): Likewise.
1194         (test_empty_complaints): Likewise.
1195         (test_initial_complaints): Update.
1196
1197 2018-05-23  Tom Tromey  <tom@tromey.com>
1198
1199         * gdb.gdb/complaints.exp (test_empty_complaints): Update.
1200
1201 2018-05-23  Tom Tromey  <tom@tromey.com>
1202
1203         * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
1204         (test_short_complaints): Update.
1205
1206 2018-05-22  Pedro Alves  <palves@redhat.com>
1207
1208         * gdb.base/remote.exp: Only gdb_start after compiling the
1209         testcase.  Issue "disconnect" before testing "set remote" command
1210         defaults.  Issue clean_restart before running to main.
1211
1212 2018-05-22  Pedro Alves  <palves@redhat.com>
1213
1214         * gdb.base/remote.exp: Adjust expected output of "show remote
1215         memory-write-packet-size".  Add tests for "set remote
1216         memory-write-packet-size 0" and "set remote
1217         memory-write-packet-size fixed/limit".
1218
1219 2018-05-22  Pedro Alves  <palves@redhat.com>
1220
1221         PR gdb/22973
1222         * gdb.base/utf8-identifiers.c: New file.
1223         * gdb.base/utf8-identifiers.exp: New file.
1224
1225 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1226
1227         * gdb.arch/powerpc-fpscr-gcore.exp: New file.
1228
1229 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1230
1231         * gdb.arch/powerpc-vsx-gcore.exp: New file.
1232
1233 2018-05-18  Tom Tromey  <tom@tromey.com>
1234
1235         * gdb.base/ptype-offsets.exp: Update.
1236
1237 2018-05-17  Keith Seitz  <keiths@redhat.com>
1238
1239         * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
1240         in expected breakpoint stop locations.
1241         * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
1242         move to proper scope to test variable values.
1243         * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
1244         (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
1245         New functions.
1246         (main): Call not_inline_func3.
1247         * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
1248         inline_func1, inline_func2, and inline_func3.  Test that when each
1249         breakpoint is hit, GDB properly reports both the stop location
1250         and the backtrace. Repeat tests for temporary breakpoints.
1251
1252 2018-05-15  Maciej W. Rozycki  <macro@mips.com>
1253
1254         * gdb.server/server-kill.exp: Verify whether `server_pid' exists
1255         rather then trying to access it in determining whether the PID
1256         of `gdbserver' could have been retrieved.
1257
1258 2018-05-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1259
1260         * gdb.arch/amd64-init-x87-values.S: New file.
1261         * gdb.arch/amd64-init-x87-values.exp: New file.
1262
1263 2018-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1264
1265         * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
1266
1267 2018-05-04  Tom Tromey  <tom@tromey.com>
1268
1269         PR python/22730:
1270         * gdb.python/python.exp: Test multi-line execute.
1271
1272 2018-05-04  Tom Tromey  <tom@tromey.com>
1273
1274         PR python/22731:
1275         * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
1276
1277 2018-05-04  Tom Tromey  <tom@tromey.com>
1278
1279         PR gdb/11750:
1280         * gdb.base/define.exp: Test defining a user command inside a user
1281         command.
1282         * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
1283
1284 2018-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
1285             Pedro Alves <palves@redhat.com>
1286
1287         PR breakpoints/19806 and support for PR external/20207.
1288         * gdb.base/watchpoint-unaligned.c: New file.
1289         * gdb.base/watchpoint-unaligned.exp: New file.
1290
1291 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1292
1293         * gdb.base/maint.exp: Make test names unique, use
1294         test_prefix_command_help to test 'help maint info', and remove
1295         repeated test of 'help maint'.
1296
1297 2018-05-04  Tom Tromey  <tom@tromey.com>
1298
1299         PR gdb/22619:
1300         * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
1301         behavior.
1302
1303 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1304
1305         * gdb.base/maint.exp: Process output from 'maint print registers'
1306         line at a time.
1307
1308 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1309
1310         * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
1311         timeout.
1312
1313 2018-05-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1314
1315         * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
1316         filter pattern.
1317
1318 2018-05-02  Pedro Alves  <palves@redhat.com>
1319
1320         * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
1321         to_log_command renames.
1322         * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1323
1324 2018-05-02  Tom Tromey  <tom@tromey.com>
1325
1326         * gdb.python/py-parameter.exp: Set test message.
1327
1328 2018-05-02  Tom Tromey  <tom@tromey.com>
1329
1330         PR python/20084:
1331         * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
1332         PARAM_ZUINTEGER_UNLIMITED tests.
1333
1334 2018-04-28  Dan Robertson  <danlrobertson89@gmail.com>
1335
1336         PR rust/23124
1337         * gdb.rust/expr.exp: Test that the unit type is correctly parsed
1338         when casting.
1339
1340 2018-04-30  Tom Tromey  <tom@tromey.com>
1341
1342         * gdb.python/py-type.exp: Check align attribute.
1343         * gdb.python/py-type.c: New "aligncheck" global.
1344
1345 2018-04-30  Tom Tromey  <tom@tromey.com>
1346
1347         PR exp/17095:
1348         * gdb.dwarf2/dw2-align.exp: New file.
1349         * gdb.cp/align.exp: New file.
1350         * gdb.base/align.exp: New file.
1351         * lib/gdb.exp (gdb_int128_helper): New proc.
1352         (has_int128_c, has_int128_cxx): New caching procs.
1353
1354 2018-04-27  Tom Tromey  <tom@tromey.com>
1355
1356         PR rust/22545:
1357         * gdb.rust/simple.exp: Add inclusive range tests.
1358
1359 2018-04-26  Pedro Alves  <palves@redhat.com>
1360
1361         * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
1362         ifunc breakpoint locations correctly of ifunc breakpoints set
1363         while the program resolves the ifunc.
1364
1365 2018-04-26  Pedro Alves  <palves@redhat.com>
1366
1367         * gdb.base/gnu-ifunc-final.c: New file.
1368         * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
1369         * gdb.base/gnu-ifunc.exp (executable): Delete.
1370         (staticexecutable): Adjust.
1371         (lib_opts, exec_opts): Delete.
1372         (make_binsuffix, build, set-break): New procedures.
1373         (misc_tests): New, with tests factored out from the top level.
1374         (top level): Test different combinations of ifunc resolver name,
1375         resolver with and with debug info, and ifunc target with and
1376         without debug info.  Wrap static tests with with_target_prefix.
1377
1378 2018-04-26  Pedro Alves  <palves@redhat.com>
1379
1380         * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
1381         return type" warnings.
1382
1383 2018-04-25  Pedro Alves  <palves@redhat.com>
1384
1385         * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
1386         killed".
1387         * gdb.base/kill-after-signal.exp: Likewise.
1388         * gdb.threads/kill.exp: Likewise.
1389
1390 2018-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1391             Sergio Durigan Junior  <sergiodj@redhat.com>
1392             Pedro Alves  <palves@redhat.com>
1393
1394         * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1395         regexps to expect for '[Inferior ... detached]' as well.
1396         * gdb.base/attach.exp: Likewise.
1397         * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1398         "gdb_continue_to_end".
1399         (test_catch_syscall_with_wrong_args): Likewise.
1400         * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1401         ']'.  Don't set 'verbose' on.
1402         * gdb.base/foll-vfork.exp: Likewise.
1403         * gdb.base/fork-print-inferior-events.c: New file.
1404         * gdb.base/fork-print-inferior-events.exp: New file.
1405         * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1406         '[Inferior ... has been killed]' message.
1407         * gdb.base/kill-after-signal.exp: Likewise.
1408         * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1409         detach message.
1410         * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1411         message.
1412         * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1413         regexps to expect for '[Inferior ... detached]' as well.
1414         * gdb.threads/process-dies-while-detaching.exp: Likewise.
1415
1416 2018-04-24  Simon Marchi  <simon.marchi@ericsson.com>
1417
1418         PR gdb/23104
1419         * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1420
1421 2018-04-19  Richard Bunt  <richard.bunt@arm.com>
1422
1423         * gdb.threads/multiple-successive-infcall.c: New test.
1424         * gdb.threads/multiple-successive-infcall.exp: New file.
1425
1426 2018-04-17  Tom Tromey  <tom@tromey.com>
1427
1428         * gdb.rust/simple.rs (Union): New type.
1429         (main): New local "u".
1430         * gdb.rust/simple.exp (test_one_slice): Add new test case.
1431
1432 2018-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1433
1434         * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1435         number information in output of "whereis" command.
1436         * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1437
1438 2018-04-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1439
1440         * gdb.ada/info_types.exp: Adjust expected output to the line
1441         numbers now printed by "info var/func/type".
1442         * gdb.base/completion.exp: Likewise.
1443         * gdb.base/included.exp: Likewise.
1444         * gdb.cp/cp-relocate.exp: Likewise.
1445         * gdb.cp/cplusfuncs.exp: Likewise.
1446         * gdb.cp/namespace.exp: Likewise.
1447         * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1448
1449 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1450
1451         * gdb.btrace/cpu.exp: New.
1452
1453 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1454
1455         * gdb.base/step-indirect-call-thunk.exp: New.
1456         * gdb.base/step-indirect-call-thunk.c: New.
1457         * gdb.reverse/step-indirect-call-thunk.exp: New.
1458         * gdb.reverse/step-indirect-call-thunk.c: New.
1459
1460 2018-04-11  Simon Marchi  <simon.marchi@ericsson.com>
1461
1462         * gdb.base/pie-fork.c: New file.
1463         * gdb.base/pie-fork.exp: New file.
1464
1465 2018-04-11  Tom Tromey  <tom@tromey.com>
1466
1467         * gdb.rust/simple.exp: Add test for ".." struct initializer.
1468
1469 2018-04-10  Pedro Alves  <palves@redhat.com>
1470
1471         * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1472         exits.  Instead loop running forever.
1473         (fork_parent): Run forever too.
1474
1475 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1476
1477         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
1478         mi_continue_to_line.
1479         * gdb.mi/mi-stack.c (callee4): Add comment.
1480
1481 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1482
1483         * gdb.mi/mi-stack.exp: Fix indentation.
1484
1485 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1486
1487         PR gdb/22979
1488         * gdb.arch/amd64-osabi.exp: New file.
1489
1490 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1491
1492         PR gdb/22980
1493         * gdb.base/osabi.exp: New file.
1494
1495 2018-04-02  Weimin Pan  <weimin.pan@oracle.com>
1496
1497         * gdb.cp/static-typedef-print.exp: New file.
1498         * gdb.cp/static-typedef-print.cc: New file.
1499
1500 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1501
1502         * gdb.ada/varsize_limit: New testcase.
1503
1504 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1505
1506         * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1507
1508         * gdb.ada/notcplusplus: New testcase.
1509
1510         * gdb.base/c-linkage-name.c: New file.
1511         * gdb.base/c-linkage-name.exp: New testcase.
1512
1513 2018-03-26  Tom Tromey  <tom@tromey.com>
1514
1515         * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1516         * gdb.python/py-framefilter.py (name_error): New global.
1517         (ErrorInName.function): Use name_error.
1518
1519 2018-03-26  Tom Tromey  <tom@tromey.com>
1520
1521         PR backtrace/15582:
1522         * gdb.python/py-framefilter.exp: Add "bt hide" test.
1523
1524 2018-03-23  Keith Seitz  <keiths@redhat.com>
1525
1526         PR c++/22968
1527         * gdb.cp/subtypes.exp: New file.
1528         * gdb.cp/subtypes.h: New file.
1529         * gdb.cp/subtypes.cc: New file.
1530         * gdb.cp/subtypes-2.cc: New file.
1531
1532 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1533
1534         * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1535         (done): Call '_exit' not 'exit' to avoid atexit handlers.
1536         * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1537         -nostartfiles when compiling the test.  Confirm that all registers
1538         xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1539
1540 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1541
1542         * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1543         option, syntax was wrong anyway.
1544         * gdb.arch/arm-disp-step.exp: Likewise.
1545         * gdb.arch/sparc64-regs.exp: Likewise.
1546         * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1547         option, syntax was wrong anyway, switch to use
1548         prepare_for_testing.
1549         * gdb.arch/i386-disp-step.exp: Likewise.
1550
1551 2018-03-23  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1552
1553         * gdb.ada/exec_changed.exp: Replace "target_info exists
1554         use_gdb_stub" by "use_gdb_stub".
1555         * gdb.ada/start.exp: Likewise.
1556         * gdb.base/async-shell.exp: Likewise.
1557         * gdb.base/attach-pie-misread.exp: Likewise.
1558         * gdb.base/attach-wait-input.exp: Likewise.
1559         * gdb.base/break-entry.exp: Likewise.
1560         * gdb.base/break-interp.exp: Likewise.
1561         * gdb.base/dprintf-detach.exp: Likewise.
1562         * gdb.base/nostdlib.exp: Likewise.
1563         * gdb.base/solib-nodir.exp: Likewise.
1564         * gdb.base/statistics.exp: Likewise.
1565         * gdb.base/testenv.exp: Likewise.
1566         * gdb.mi/mi-exec-run.exp: Likewise.
1567         * gdb.mi/mi-start.exp: Likewise.
1568         * gdb.multi/dummy-frame-restore.exp: Likewise.
1569         * gdb.multi/multi-arch-exec.exp: Likewise.
1570         * gdb.multi/multi-arch.exp: Likewise.
1571         * gdb.multi/tids.exp: Likewise.
1572         * gdb.multi/watchpoint-multi.exp: Likewise.
1573         * gdb.python/py-events.exp: Likewise.
1574         * gdb.threads/attach-into-signal.exp: Likewise.
1575         * gdb.threads/attach-stopped.exp: Likewise.
1576         * gdb.threads/threadapply.exp: Likewise.
1577         * lib/selftest-support.exp: Likewise.
1578
1579 2018-03-22  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1580
1581         * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1582
1583 2018-03-20  Stephen Roberts  <stephen.roberts@arm.com>
1584
1585         * gdb.perf/template-breakpoints.cc: New file.
1586         * gdb.perf/template-breakpoints.exp: New file.
1587         * gdb.perf/template-breakpoints.py: New file.
1588
1589 2018-03-19  Tom Tromey  <tom@tromey.com>
1590
1591         * gdb.rust/simple.rs (main): Add local variables field1, field2,
1592         y0.
1593         * gdb.rust/simple.exp: Test bare identifier form of struct
1594         initializer.
1595
1596 2018-03-19  Tom Tromey  <tom@tromey.com>
1597
1598         * gdb.gdb/observer.exp: Remove.
1599
1600 2018-03-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1601
1602         * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1603         "qualified" option when setting breakpoints.
1604         * gdb.trace/backtrace.exp: Likewise.
1605         * gdb.trace/circ.exp: Likewise.
1606         * gdb.trace/collection.exp: Likewise.
1607         * gdb.trace/disconnected-tracing.exp: Likewise.
1608         * gdb.trace/ftrace-lock.exp: Likewise.
1609         * gdb.trace/ftrace.exp: Likewise.
1610         * gdb.trace/infotrace.exp: Likewise.
1611         * gdb.trace/packetlen.exp: Likewise.
1612         * gdb.trace/passc-dyn.exp: Likewise.
1613         * gdb.trace/qtro.exp: Likewise.
1614         * gdb.trace/read-memory.exp: Likewise.
1615         * gdb.trace/report.exp: Likewise.
1616         * gdb.trace/signal.exp: Likewise.
1617         * gdb.trace/status-stop.exp: Likewise.
1618         * gdb.trace/strace.exp: Likewise.
1619         * gdb.trace/tfind.exp: Likewise.
1620         * gdb.trace/trace-break.exp: Likewise.
1621         * gdb.trace/trace-condition.exp: Likewise.
1622         * gdb.trace/trace-mt.exp: Likewise.
1623         * gdb.trace/tstatus.exp: Likewise.
1624         * gdb.trace/tsv.exp: Likewise.
1625         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1626         * gdb.trace/unavailable.exp: Likewise.
1627         * gdb.trace/while-dyn.exp: Likewise.
1628
1629 2018-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1630
1631         * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1632         that libinproctrace is copied to the target.
1633
1634 2018-03-14  Tom Tromey  <tom@tromey.com>
1635
1636         PR cli/14977:
1637         * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1638         a null pointer.
1639         * gdb.base/wchar.exp: Likewise.
1640
1641 2018-03-14  Tom Tromey  <tom@tromey.com>
1642
1643         PR cli/19918:
1644         * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1645         flag.
1646
1647 2018-03-08  Simon Marchi  <simon.marchi@ericsson.com>
1648
1649         PR gdb/22841
1650         * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1651         "target" to remote_exec.
1652
1653 2018-03-08  Simon Marchi  <simon.marchi@polymtl.ca>
1654
1655         PR gdb/22841
1656         * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1657         ${board}_upload): Remove.
1658
1659 2018-03-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1660
1661         * gdb.cp/watch-cp.cc: New test.
1662         * gdb.cp/watch-cp.exp: New file.
1663
1664 2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1665
1666         * gdb.base/infcall-nested-structs.exp: New file.
1667         * gdb.base/infcall-nested-structs.c: New file.
1668         * gdb.base/float.exp: Add riscv support.
1669
1670 2018-03-02  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1671
1672         * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1673         * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1674
1675 2018-02-28  Sergio Durigan Junior  <sergiodj@redhat.com>
1676
1677         * gdb.server/abspath.exp: New file.
1678         * lib/gdb.exp (with_cwd): New procedure.
1679
1680 2018-02-28  Simon Marchi  <simon.marchi@ericsson.com>
1681
1682         * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1683         use it.
1684         (gdb_is_target_remote_prompt): New proc.
1685         (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1686         (gdb_is_target_native): Pass prompt parameter to
1687         gdb_is_target_1.
1688
1689 2018-02-26  Simon Marchi  <simon.marchi@polymtl.ca>
1690
1691         * gdb.base/load-command.c: New file.
1692         * gdb.base/load-command.exp: New file.
1693         * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1694         (gdb_is_target_1): ...this, and generalize for other targets
1695         than just remote.
1696         (gdb_is_target_remote): Use gdb_is_target_1.
1697         (gdb_is_target_native): use gdb_is_target_1.
1698
1699 2018-02-26  Tom Tromey  <tom@tromey.com>
1700
1701         PR python/16497:
1702         * gdb.python/py-framefilter.exp: Update test.
1703
1704 2018-02-26  Tom Tromey  <tom@tromey.com>
1705
1706         * gdb.dwarf2/variant.c: New file.
1707         * gdb.dwarf2/variant.exp: New file.
1708
1709 2018-02-26  Tom Tromey  <tom@tromey.com>
1710
1711         * gdb.rust/simple.exp: Accept more possible results in enum test.
1712
1713 2018-02-25  Simon Marchi  <simon.marchi@polymtl.ca>
1714
1715         * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1716         parentheses.
1717
1718 2018-02-23  Maciej W. Rozycki  <macro@mips.com>
1719
1720         * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1721         name of a variable: $actual_linejj -> $actual_line.
1722
1723 2018-02-21  John Baldwin  <jhb@FreeBSD.org>
1724
1725         * gdb.arch/amd64-i386-address.exp: Fix a typo.
1726
1727 2018-02-20  Markus Metzger  <markus.t.metzger@intel.com>
1728
1729         * gdb.btrace/buffer-size.exp: Do not force BTS.
1730
1731 2018-02-14  Pedro Alves  <palves@redhat.com>
1732
1733         * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1734         getting a "Quit".
1735
1736 2018-02-09  Markus Metzger  <markus.t.metzger@intel.com>
1737
1738         * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1739         Fix test name.
1740
1741 2018-02-07  Simon Marchi  <simon.marchi@ericsson.com>
1742
1743         * gdb.cp/m-static.exp: Check type of optimized out static
1744         member.
1745
1746 2018-02-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1747
1748         * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1749         * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1750
1751 2018-02-01  Simon Marchi  <simon.marchi@polymtl.ca>
1752             Leszek Swirski  <leszeks@google.com>
1753
1754         * gdb.python/py-prettyprint.c
1755         (struct to_string_returns_value_inner,
1756         struct to_string_returns_value_wrapper): New.
1757         (main): Add tsrvw variable.
1758         * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1759         ToStringReturnsValueWrapper): New classes.
1760         (register_pretty_printers): Register new pretty-printers.
1761         * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1762         recursive pretty printer.
1763         * gdb.python/py-mi.exp: Likewise.
1764
1765 2018-02-01  Leszek Swirski  <leszeks@google.com>
1766
1767         * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1768         functions with the same name as an include file are parsed
1769         correctly.
1770
1771 2018-02-01  Yao Qi  <yao.qi@linaro.org>
1772
1773         * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1774         "\[^\r\n\]*".
1775
1776 2018-01-31  Nikola Prica  <nikola.prica@rt-rk.com>
1777
1778         * gdb.arch/powerpc-prologue-frame.s: New file.
1779         * gdb.arch/powerpc-prologue-frame.c: Likewise.
1780         * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1781
1782 2018-01-31  Joel Brobecker  <brobecker@adacore.com>
1783
1784         * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1785
1786 2018-01-30  Pedro Alves  <palves@redhat.com>
1787
1788         PR gdb/13211
1789         * gdb.base/interrupt-daemon.c: New.
1790         * gdb.base/interrupt-daemon.exp: New.
1791         * gdb.multi/multi-term-settings.c: New.
1792         * gdb.multi/multi-term-settings.exp: New.
1793
1794 2018-01-30  Joel Brobecker  <brobecker@adacore.com>
1795
1796         * gdb.base/break.exp: Save the location where the breakpoint
1797         on break.c:47 was actually inserted when debugging the version
1798         compiled at -O2 and use it in the expected output of the "info
1799         break" test performed soon after.
1800
1801 2018-01-22  Pedro Alves  <palves@redhat.com>
1802             Sergio Durigan Junior  <sergiodj@redhat.com>
1803
1804         * gdb.base/whatis.exp: Add tests for 'set print object on' +
1805         'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1806
1807 2018-01-22  Joel Brobecker  <brobecker@adacore.com>
1808
1809         * gdb.base/break-include.c, gdb.base/break-include.inc,
1810         gdb.base/break-include.exp: New files.
1811         * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1812         line number now being the actual line number where the breakpoint
1813         was inserted.
1814         * gdb.mi/mi-break.exp: Likewise.
1815         * gdb.mi/mi-reverse.exp: Likewise.
1816         * gdb.mi/mi-simplerun.exp: Ditto.
1817
1818 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1819
1820         * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1821         varobj.
1822         * gdb.mi/mi-var-create-rtti.exp: Likewise.
1823
1824 2018-01-21  Don Breazeal  <donb@codesourcery.com>
1825             Andrew Burgess  <andrew.burgess@embecosm.com>
1826
1827         * gdb.mi/basics.c: Add new global.
1828         * gdb.mi/mi-frame-regs.exp: New file.
1829         * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1830         case.
1831
1832 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1833
1834         * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1835         non-parameter, and on an unknown symbol.
1836
1837 2018-01-19  Tom Tromey  <tom@tromey.com>
1838
1839         * gdb.rust/modules.rs (TWENTY_THREE): New global.
1840         * gdb.rust/modules.exp: Add ::-qualified lookup test.
1841
1842 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1843
1844         * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1845         setrlimit and chdir to int.
1846
1847 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1848
1849         * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1850         function.
1851         (my_tend): Likewise.
1852         * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1853         rationale of avoiding FP- and vector instructions.
1854
1855 2018-01-19  Ruslan Kabatsayev  <b7.10110111@gmail.com>
1856
1857         * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1858         "info reg" with "\[ \t\]*".
1859         * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1860         "\[ \t\]+".
1861         * gdb.arch/s390-multiarch.exp: Ditto.
1862         * gdb.base/pc-fp.exp: Ditto.
1863         * gdb.reverse/i386-precsave.exp: Ditto.
1864         * gdb.reverse/i386-reverse.exp: Ditto.
1865         * gdb.reverse/i387-env-reverse.exp: Ditto.
1866         * gdb.reverse/i387-stack-reverse.exp: Ditto.
1867
1868 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1869
1870         * lib/gdb.exp (gdb_compile): Re-enable use of
1871         universal_compile_options for languages other than Rust.
1872
1873 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1874
1875         * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1876
1877 2018-01-17  Mike Gulick  <mgulick@mathworks.com>
1878
1879         PR gdb/16577
1880         * gdb.base/solib-vanish.exp: New.
1881         * gdb.base/solib-vanish-main.c: New.
1882         * gdb.base/solib-vanish-lib1.c: New.
1883         * gdb.base/solib-vanish-lib2.c: New.
1884
1885 2018-01-17  Yao Qi  <yao.qi@linaro.org>
1886
1887         * gdb.compile/compile.exp: Match the address printed for
1888         frame in the output of command "bt".
1889
1890 2018-01-15  Tom Tromey  <tom@tromey.com>
1891
1892         * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1893         compute sp_reg.
1894
1895 2018-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1896
1897         * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1898         to prepare.
1899         (prepare): Return 0 on error, 1 on success.
1900
1901 2018-01-12  Pedro Alves  <palves@redhat.com>
1902
1903         * gdb.base/continue-after-aborted-step-over.c: New.
1904         * gdb.base/continue-after-aborted-step-over.exp: New.
1905
1906 2018-01-11  Simon Marchi  <simon.marchi@ericsson.com>
1907
1908         * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1909         options when not creating an executable.
1910
1911 2018-01-11  Pedro Alves  <palves@redhat.com>
1912
1913         PR remote/22597
1914         * gdb.server/stop-reply-no-thread.c: New file.
1915         * gdb.server/stop-reply-no-thread.exp: New file.
1916
1917 2018-01-10  Pedro Alves  <palves@redhat.com>
1918
1919         PR gdb/22670
1920         * gdb.ada/bp_c_mixed_case.exp: Add intro comment.  Test printing C
1921         functions too.  Test setting breakpoints and printing C functions
1922         with no debug info too.
1923         * gdb.ada/bp_c_mixed_case/qux.c: New file.
1924
1925 2018-01-10  Pedro Alves  <palves@redhat.com>
1926
1927         PR gdb/22670
1928         * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1929         a fail.
1930
1931 2018-01-10  Pedro Alves  <palves@redhat.com>
1932
1933         PR gdb/22670
1934         * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
1935
1936 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
1937
1938         * gdb.server/unittest.exp: Match the output in non-development
1939         mode.
1940
1941 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
1942
1943         * gdb.gdb/unittest.exp: Match output in non-development mode.
1944
1945 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
1946
1947         * gdb.ada/access_tagged_param.exp: Relax expected output
1948         for value of "ObjL" in "continue" to pck.inspect breakpoint
1949         test.
1950
1951 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
1952
1953         * gdb.ada/arr_enum_idx_w_gap.exp: New file.
1954         * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
1955
1956 2018-01-05  Pedro Alves  <palves@redhat.com>
1957
1958         PR gdb/18653
1959         * gdb.base/libsegfault.exp: New.
1960
1961 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1962
1963         PR gdb/22670
1964         * gdb.ada/access_tagged_param.exp: New file.
1965         * gdb.ada/access_tagged_param/foo.adb: New file.
1966
1967 2018-01-05  Pedro Alves  <palves@redhat.com>
1968
1969         PR gdb/22670
1970         * gdb.ada/info_addr_mixed_case.exp: Remove kfail.  Extend test to
1971         exercise lower case too, and to exercise both full matching and
1972         wild matching.
1973
1974 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1975
1976         * gdb.ada/rename_subscript_param: New testcase.
1977
1978 2018-01-05  Jerome Guitton  <guitton@adacore.com>
1979
1980         * gdb.ada/arr_acc_idx_w_gap: New testcase.
1981
1982 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1983
1984         * gdb.ada/convvar_comp: New testcase.
1985
1986 2018-01-05  Xavier Roirand  <roirand@adacore.com>
1987
1988         * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
1989         (My_Table): New global variable.
1990         * testsuite/gdb.ada/array_char_idx.exp: Add test.
1991
1992 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
1993
1994         PR gdb/22670
1995         * gdb.ada/maint_with_ada: New testcase.
1996
1997 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
1998
1999         PR gdb/22670
2000         * gdb.ada/bp_c_mixed_case: New testcase.
2001
2002 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2003
2004         PR gdb/22670
2005         * gdb.ada/complete.exp: Add "complete break ada" test.
2006
2007 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2008
2009         PR gdb/22670
2010         * gdb.ada/info_addr_mixed_case: New testcase.
2011
2012 2018-01-03  Xavier Roirand  <roirand@adacore.com>
2013
2014         * gdb.ada/excep_handle.exp: New testcase.
2015         * gdb.ada/excep_handle/foo.adb: New file.
2016         * gdb.ada/excep_handle/pck.ads: New file.
2017
2018 2018-01-03  Joel Brobecker  <brobecker@adacore.com>
2019
2020         * gdb.base/step-line.c: Add extra empty line in copyright header.
2021         * gdb.base/step-line.inp: Likewise.
2022
2023 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
2024
2025         * gdb.ada/dyn_stride.exp: Add slice test.
2026
2027 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
2028
2029         * gdb.ada/dyn_stride: New testcase.
2030
2031 2017-12-27  Stafford Horne  <shorne@gmail.com>
2032
2033         * gdb.xml/extra-regs.xml: Add example foo reggroup.
2034         * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
2035
2036 2017-12-27  Stafford Horne  <shorne@gmail.com>
2037
2038         * gdb.base/reggroups.c: New file.
2039         * gdb.base/reggroups.exp: New file.
2040
2041 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
2042
2043         * gdb.dwarf2/ada-valprint-error.c: New file.
2044         * gdb.dwarf2/ada-valprint-error.exp: New file.
2045
2046 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
2047
2048         * gdb.ada/assign_arr: New testcase.
2049
2050 2017-12-18  Xavier Roirand  <roirand@adacore.com>
2051
2052         * gdb.ada/funcall_ptr: New testcase.
2053
2054 2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
2055
2056         PR cli/16224
2057         * gdb.base/ptype-offsets.cc: New file.
2058         * gdb.base/ptype-offsets.exp: New file.
2059
2060 2017-12-15  Yao Qi  <yao.qi@linaro.org>
2061
2062         * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
2063         if XML is disabled.
2064
2065 2017-12-15  Xavier Roirand  <roirand@adacore.com>
2066
2067         * gdb.ada/same_component_name: New testcase.
2068
2069 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
2070
2071         * gdb.ada/str_binop_equal: New testcase.
2072
2073 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
2074
2075         * gdb.ada/task_switch_in_core: New testcase.
2076
2077 2017-12-13  Simon Marchi  <simon.marchi@ericsson.com>
2078
2079         * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2080         * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2081         call test_bkpt_qualified.
2082         (test_bkpt_qualified): New proc.
2083
2084 2017-12-13  Pedro Alves  <palves@redhat.com>
2085
2086         * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2087         Tighten regexp by matching with an anchor.
2088
2089 2017-12-13  Pedro Alves  <palves@redhat.com>
2090
2091         * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2092         ("expression with namespace"): New set of tests.
2093         * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
2094         (Nested::Test_NS::qux): New.
2095         * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
2096         defaults to 'start_quote_char' and 'end_quote_char' parameters.
2097
2098 2017-12-13  Joel Brobecker  <brobecker@adacore.com>
2099
2100         * gdb.base/server-del-break.c: New file.
2101         * gdb.base/server-del-break.exp: New file.
2102
2103 2017-12-12  Stafford Horne  <shorne@gmail.com>
2104
2105         * gdb.xml/tdesc-regs.exp: Add or1k support.
2106
2107 2017-12-12  Stafford Horne  <shorne@gmail.com>
2108
2109         * gdb.base/bp-permanent.c: Define nop of or1k.
2110
2111 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2112
2113         * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
2114         output with components being reordered.
2115
2116 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2117
2118         * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
2119         output with components being reordered.
2120
2121 2017-12-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2122             Pedro Alves  <palves@redhat.com>
2123
2124         * gdb.base/maint.exp (check for .gdb_index): Check also for
2125         .debug_names.
2126         * gdb.dlang/watch-loc.c (.debug_aranges): New.
2127         * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
2128         * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
2129         (.gdb_index used after symbol reloading): Support also .debug_names.
2130         * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
2131
2132 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2133
2134         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2135         * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
2136
2137 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2138
2139         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2140         * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
2141
2142 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2143
2144         * gdb.arch/aarch64-tagged-pointer.c: New file.
2145         * gdb.arch/aarch64-tagged-pointer.exp: New file.
2146
2147 2017-12-08  Sergio Durigan Junior  <sergiodj@redhat.com>
2148
2149         * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
2150         "int".
2151
2152 2017-12-07  Keith Seitz  <keiths@redhat.com>
2153
2154         PR breakpoints/22569
2155         * gdb.linespec/ls-errs.exp: Change expected result of "break
2156         -source this file has spaces.c -line 3".
2157         Check that an explicit source file followed by whitespace is
2158         identified as an invalid explicit location.
2159
2160 2017-12-07  Keith Seitz  <keiths@redhat.com>
2161
2162         * gdb.cp/nested-types.cc: New file.
2163         * gdb.cp/nested-types.exp: New file.
2164         * lib/cp-support.exp: Load data-structures.exp library.
2165         (debug_cp_test_ptype_class): New global.
2166         (cp_ptype_class_verbose, next_line): New procedures.
2167         (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
2168         Add and document new return value.
2169         Switch the list of lines to a queue.
2170         Add support for new `type' key for nested type definitions.
2171         Add debugging/troubleshooting messages.
2172         * lib/data-structures.exp: New file.
2173
2174 2017-12-07  Simon Marchi  <simon.marchi@ericsson.com>
2175
2176         * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
2177         with proc_with_prefix, don't use with_test_prefix.
2178
2179 2017-12-07  Tom Tromey  <tom@tromey.com>
2180
2181         * gdb.base/break.exp: Add test for empty "commands".
2182
2183 2017-12-07  Yao Qi  <yao.qi@linaro.org>
2184
2185         * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
2186         malloc and catch syscall.
2187
2188 2017-12-07  Phil Muldoon  <pmuldoon@redhat.com>
2189
2190        * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
2191         tests for explicit locations.
2192
2193 2017-12-06  Pedro Alves  <palves@redhat.com>
2194
2195         * gdb.arch/i386-avx.exp: If testing with a RSP target, check
2196         force-disabling XML descriptions.
2197
2198 2017-12-04  Pedro Alves  <palves@redhat.com>
2199
2200         PR gdb/22499
2201         * gdb.arch/amd64-disp-step-avx.S: New file.
2202         * gdb.arch/amd64-disp-step-avx.exp: New file.
2203
2204 2017-12-03  Pedro Alves  <palves@redhat.com>
2205
2206         * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
2207         and <string.h>.
2208         (parent_function): Print distinct messages when waitpid fails, or
2209         the child exits with a signal, or the child exits for an unhandled
2210         reason.
2211         * gdb.threads/process-dies-while-detaching.exp
2212         (detach_and_expect_exit): New 'inf_output_re' parameter and use
2213         it.  Wait for both inferior output and GDB's prompt.  Use an
2214         indirect spawn id list.
2215         (do_detach): New parameter 'child_exit'.  Use it to compute
2216         expected inferior output.
2217         (test_detach, test_detach_watch, test_detach_killed_outside):
2218         Adjust to pass down the expected child exit kind.
2219
2220 2017-12-01  Joel Brobecker  <brobecker@adacore.com>
2221             Sergio Durigan Junior  <sergiodj@redhat.com>
2222             Pedro Alves  <palves@redhat.com>
2223
2224         * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
2225
2226 2017-12-01  Sergio Durigan Junior  <sergiodj@redhat.com>
2227
2228         * gdb.base/relocate.exp: Add tests to guarantee that arguments
2229         to 'symbol-file' and 'add-symbol-file' can be
2230         position-independent.
2231
2232 2017-12-01  Yao Qi  <yao.qi@linaro.org>
2233
2234         * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
2235         the URL in copyright header.
2236         * gdb.arch/aarch64-fp.exp: Likewise.
2237         * gdb.arch/ppc64-atomic-inst.exp: Likewise.
2238         * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
2239         * gdb.base/expand-psymtabs.exp: Likewise.
2240         * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
2241         * gdb.fortran/common-block.exp: Likewise.
2242         * gdb.fortran/common-block.f90: Likewise.
2243         * gdb.fortran/logical.exp: Likewise.
2244         * gdb.fortran/vla-datatypes.f90: Likewise.
2245         * gdb.fortran/vla-sub.f90: Likewise.
2246
2247 2017-11-30  Joel Brobecker  <brobecker@adacore.com>
2248
2249         * gdb.ada/repeat_dyn: New testcase.
2250
2251 2017-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
2252
2253         * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
2254         Update for changed thread numbering.
2255         * gdb.cell/bt.exp: Update for changed GDB output.
2256
2257 2017-11-30  Simon Marchi  <simon.marchi@ericsson.com>
2258
2259         * boards/cc-with-tweaks.exp: Include local-board.exp instead of
2260         setting isremote by hand.
2261         * boards/dwarf4-gdb-index.exp: Likewise.
2262         * boards/fission.exp: Likewise.
2263         * boards/stabs.exp: Likewise.
2264
2265 2017-11-30  Pedro Alves  <palves@redhat.com>
2266
2267         * gdb.linespec/cpls-ops.exp
2268         (check_explicit_skips_function_argument): Extract the underlying
2269         type of size_t instead of hardcoding it.
2270
2271 2017-11-29  Pedro Alves  <palves@redhat.com>
2272
2273         PR c++/19436
2274         * gdb.linespec/cpls-abi-tag.cc: New file.
2275         * gdb.linespec/cpls-abi-tag.exp: New file.
2276
2277 2017-11-29  Pedro Alves  <palves@redhat.com>
2278
2279         * gdb.base/langs.exp: Use -qualified.
2280         * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
2281         it.
2282         * gdb.cp/namespace.exp: Use -qualified.
2283         * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
2284         (overload-3, template-overload, template-ret-type, const-overload)
2285         (const-overload-quoted, anon-ns, ambiguous-prefix): New
2286         procedures.
2287         (test_driver): Call them.
2288         * gdb.cp/save-bp-qualified.cc: New.
2289         * gdb.cp/save-bp-qualified.exp: New.
2290         * gdb.linespec/explicit.exp: Test -qualified.
2291         * lib/completion-support.exp (completion::explicit_opts_list): Add
2292         "-qualified".
2293         * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
2294
2295 2017-11-29  Phil Muldoon  <pmuldoon@redhat.com>
2296
2297         * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
2298
2299 2017-11-29  Tom Tromey  <tom@tromey.com>
2300
2301         * gdb.base/relocate.exp: Update invalid argument test.
2302         Add new tests for invalid arguments.
2303
2304 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2305
2306         * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
2307         Return 0 as a long.
2308         * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
2309
2310 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2311
2312         * gdb.cp/breakpoint.cc (bar): Set return type to void.
2313         * gdb.cp/psymtab-parameter.cc (func): Likewise.
2314         * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
2315         func ().
2316         * gdb.cp/shadow.cc (B.func): Return 0.
2317
2318 2017-11-27  Joel Brobecker  <brobecker@adacore.com>
2319
2320         * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
2321         expected output in gdb_expect call to allow the exception
2322         message to be present as well.  Fix syntax confusion to avoid
2323         TCL thinking that exception_name is an array.
2324
2325 2017-11-26  Ulrich Weigand  <uweigand@de.ibm.com>
2326
2327         * gdb.arch/spu-info.c: Include <unistd.h>.
2328         (do_signal_test): Fix broken calls to write.
2329         * gdb.arch/spu-info.exp: Use prepare_for_testing.
2330         Fix checks for empty mailboxes.  Update signal tests for corrected
2331         do_signal_test routine.  Allow nonzero event status.
2332         * gdb.arch/spu-ls.exp: Use prepare_for_testing.
2333         * gdb.cell/arch.exp: Use standard_output_file.
2334         * gdb.cell/break.exp: Likewise.
2335         * gdb.cell/bt.exp: Likewise.
2336         * gdb.cell/core.exp: Likewise.
2337         * gdb.cell/dwarfaddr.exp: Likewise.
2338         * gdb.cell/ea-cache.exp: Likewise.
2339         * gdb.cell/ea-standalone.exp: Likewise.
2340         * gdb.cell/f-regs.exp: Likewise.
2341         * gdb.cell/fork.exp: Likewise.
2342         * gdb.cell/gcore.exp: Likewise.
2343         * gdb.cell/mem-access.exp: Likewise.
2344         * gdb.cell/ptype.exp: Likewise.
2345         * gdb.cell/registers.exp: Likewise.
2346         * gdb.cell/sizeof.exp: Likewise.
2347         * gdb.cell/solib-symbol.exp: Likewise.
2348         * gdb.cell/solib.exp: Likewise.
2349
2350 2017-11-25   Pedro Alves  <palves@redhat.com>
2351
2352         * gdb.base/complete-empty.exp: New file.
2353         * gdb.base/completion.exp: Adjust.
2354
2355 2017-11-25  Pedro Alves  <palves@redhat.com>
2356
2357         * gdb.linespec/cpls-ops.cc: New file.
2358         * gdb.linespec/cpls-ops.exp: New file.
2359         * lib/completion-support.exp (test_complete_prefix_range_re): New,
2360         factored out from ...
2361         (test_complete_prefix_range): ... this.
2362
2363 2017-11-24  Pedro Alves  <palves@redhat.com>
2364
2365         * gdb.linespec/cpcompletion.exp: New file.
2366         * gdb.linespec/cpls-hyphen.cc: New file.
2367         * gdb.linespec/cpls.cc: New file.
2368         * gdb.linespec/cpls2.cc: New file.
2369         * gdb.linespec/explicit.exp: Load completion-support.exp.  Adjust
2370         test to use test_gdb_complete_unique.  Add label completion,
2371         keyword completion and explicit location completion tests.
2372         * lib/completion-support.exp: New file.
2373
2374 2017-11-24  Joel Brobecker  <brobecker@adacore.com>
2375
2376         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
2377         gdb.ada/mi_ex_cond.exp: Accept optional exception message in
2378         when hitting an exception catchpoint.
2379
2380 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2381
2382         * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
2383
2384 2017-11-22  Simon Marchi  <simon.marchi@ericsson.com>
2385
2386         * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
2387         * gdb.dwarf2/info-locals-optimized-out.exp: New file.
2388         * gdb.dwarf2/info-locals-optimized-out.c: New file.
2389
2390 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2391
2392         * gdb.base/info-os.exp: Pass pthreads.
2393         * gdb.multi/multi-attach.exp: Likewise.
2394
2395 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2396
2397         * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2398         compiler.
2399
2400 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2401
2402         * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2403         * gdb.base/break-interp.exp: Likewise.
2404         * gdb.base/jit-attach-pie.exp: Likewise.
2405
2406 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2407
2408         * gdb.base/float128.c (large128): New variable.
2409         * gdb.base/float128.exp: Add test to print largest __float128 value.
2410
2411 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2412
2413         * gdb.arch/vsx-regs.exp: Update register content checks.
2414
2415 2017-11-21  Ulrich Weigand  <uweigand@de.ibm.com>
2416
2417         * gdb.arch/ppc-longdouble.exp: New file.
2418         * gdb.arch/ppc-longdouble.c: Likewise.
2419
2420 2017-11-21  Pedro Alves  <palves@redhat.com>
2421
2422         * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2423
2424 2017-11-20  Pedro Alves  <palves@redhat.com>
2425
2426         * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2427         (long_double_typedef): New typedefs.
2428         Use DEF on double and long double.
2429         * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2430         cases.
2431         (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2432         and 'long_double_ptr_same_size' locals.  Use them to decide
2433         whether cast from array/function to float is valid/invalid.
2434
2435 2017-11-17  Tom Tromey  <tom@tromey.com>
2436
2437         * gdb.rust/traits.rs: New file.
2438         * gdb.rust/traits.exp: New file.
2439
2440 2017-11-17  Joel Brobecker  <brobecker@adacore.com>
2441
2442         * gdb.ada/minsyms: New testcase.
2443
2444 2017-11-16  Pedro Alves  <palves@redhat.com>
2445
2446         * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2447         * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2448
2449 2017-11-16  Pedro Alves  <palves@redhat.com>
2450
2451         * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2452         gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2453
2454 2017-11-16  Pedro Alves  <palves@redhat.com>
2455
2456         * gdb.server/reconnect-ctrl-c.c: New file.
2457         * gdb.server/reconnect-ctrl-c.exp: New file.
2458
2459 2017-11-16  Phil Muldoon  <pmuldoon@redhat.com>
2460
2461         * gdb.python/py-rbreak.exp: New file.
2462         * gdb.python/py-rbreak.c: New file.
2463         * gdb.python/py-rbreak-func2.c: New file.
2464
2465 2017-11-16  Pedro Alves  <palves@redhat.com>
2466
2467         * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2468         pattern.
2469         * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2470         GDB.
2471
2472 2017-11-15  Simon Marchi  <simon.marchi@ericsson.com>
2473
2474         * gdb.tui/completionn.exp (test_tab_completion): Add space in
2475         regex.
2476
2477 2017-11-13  Simon Marchi  <simon.marchi@polymtl.ca>
2478
2479         * gdb.opt/inline-locals.exp: Remove trailing parentheses from
2480         test names.
2481
2482 2017-11-09  Pedro Alves  <palves@redhat.com>
2483
2484         * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
2485         factored out from ...
2486         (top level): ... here, and adjusted to avoid expecting beyond the
2487         prompt in a single gdb_test_multiple.
2488
2489 2017-11-09  Pedro Alves  <palves@redhat.com>
2490
2491         * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2492         output.
2493         * gdb.server/ext-attach.exp ("kill" test): Likewise.
2494         * gdb.server/ext-restart.exp ("kill" test): Likewise.
2495         * gdb.server/ext-run.exp ("kill" test): Likewise.
2496         * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2497
2498 2017-11-09  Pedro Alves  <palves@redhat.com>
2499
2500         * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2501         match till end of line.
2502
2503 2017-11-09  Pedro Alves  <palves@redhat.com>
2504
2505         * gdb.base/memattr.exp: Tighten regexes to match the end line.
2506
2507 2017-11-09  Pedro Alves  <palves@redhat.com>
2508
2509         * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2510         New procedures, factored out from ...
2511         (top level): ... here, and adjusted to avoid expecting beyond the
2512         prompt in one go.
2513
2514 2017-11-09  Pedro Alves  <palves@redhat.com>
2515
2516         * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2517         output.  Fix '?' match.
2518
2519 2017-11-08  Joel Brobecker  <brobecker@adacore.com>
2520
2521         * gdb.ada/scoped_watch: New testcase.
2522         * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2523         which is actually correct.
2524         * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2525         * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2526
2527 2017-11-08  Pedro Alves  <palves@redhat.com>
2528
2529         * gdb.gdb/complaints.exp (test_initial_complaints)
2530         (test_serial_complaints, test_short_complaints): Call
2531         complaint_internal instead of complaint.
2532
2533 2017-11-08  Djordje Todorovic  <djordje.todorovic@rt-rk.com>
2534
2535         * gdb.threads/tls-core.c: New file.
2536         * gdb.threads/tls-core.exp: Likewise.
2537
2538 2017-11-08   Pedro Alves  <palves@redhat.com>
2539
2540         * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2541         (p Exported_Capitalized): New test.
2542         (p exported_capitalized): New test.
2543
2544 2017-11-07  Pedro Alves  <palves@redhat.com>
2545
2546         * gdb.cp/ena-dis-br-range.exp: Add more tests.
2547
2548 2017-11-07  Pedro Alves  <palves@redhat.com>
2549
2550         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2551         * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2552         (disable_invalid, disable_inverted, disable_negative): New
2553         procedures.
2554         ("bad numbers"): New set of tests.
2555
2556 2017-11-07  Pedro Alves  <palves@redhat.com>
2557
2558         * gdb.cp/ena-dis-br-range.exp: Add tests.
2559
2560 2017-11-07  Pedro Alves  <palves@redhat.com>
2561
2562         * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2563
2564 2017-11-07  Xavier Roirand  <roirand@adacore.com>
2565             Pedro Alves  <palves@redhat.com>
2566
2567         * gdb.base/ena-dis-br.exp: Add reference to
2568         gdb.cp/ena-dis-br-range.exp.
2569         * gdb.cp/ena-dis-br-range.exp: New file.
2570         * gdb.cp/ena-dis-br-range.cc: New file.
2571
2572 2017-11-06  Pedro Alves  <palves@redhat.com>
2573
2574         * gdb.base/attach-non-pgrp-leader.c: New.
2575         * gdb.base/attach-non-pgrp-leader.exp: New.
2576
2577 2017-11-06  Pedro Alves  <palves@redhat.com>
2578
2579         * configure.ac: No longer check for termio.h and sgtty.h.
2580         * configure: Regenerate.
2581         * remote-utils.c: Include termios.h instead of gdb_termios.h.
2582         (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2583         Remove termio and sgtty code.
2584
2585 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2586
2587         * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2588         in GDB is disabled.
2589
2590 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2591
2592         * gdb.python/py-thrhandle.exp: Skip it if python is not
2593         enabled.
2594
2595 2017-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
2596
2597         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2598         as a breakpoint command.
2599
2600 2017-10-28  Maksim Dzabraev  <dzabraew@gmail.com>
2601
2602         PR python/21213
2603         * gdb.python/py-infthread.exp: Test calling
2604         InferiorThread.inferior () multiple times in a row.
2605
2606 2017-10-27  Keith Seitz  <keiths@redhat.com>
2607
2608         * gdb.opt/inline-break.exp (break_info_1): New procedure.
2609         Test "info break" for every inlined function breakpoint.
2610
2611 2017-10-27  Yao Qi  <yao.qi@linaro.org>
2612
2613         * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2614
2615 2017-10-26  Patrick Frants  <osscontribute@gmail.com>
2616
2617         * gdb.cp/classes.exp (test_static_members): Test printing
2618         Outer::instance.
2619         * gdb.cp/classes.c (struct Inner, struct Outer): New.
2620         (Inner::instance, Outer::instance): New.
2621
2622 2017-10-24  Pedro Alves  <palves@redhat.com>
2623
2624         * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2625         extra console" test in two stages.
2626
2627 2017-10-24  Pedro Alves  <palves@redhat.com>
2628
2629         * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2630
2631 2017-10-24  Pedro Alves  <palves@redhat.com>
2632
2633         * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2634         loop.
2635
2636 2017-10-24  Pedro Alves  <palves@redhat.com>
2637
2638         * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2639         $attempt" and "stoppedtry $stoppedtry" test prefixes.
2640
2641 2017-10-24  Pedro Alves  <palves@redhat.com>
2642
2643         * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2644         parameter and handle it.  Don't output read value in test name.
2645
2646 2017-10-24  Pedro Alves  <palves@redhat.com>
2647
2648         * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2649         custom test name.
2650
2651 2017-10-24  Pedro Alves  <palves@redhat.com>
2652
2653         * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2654         include the unstable output directory name in the test's name.
2655         (initial_setup_simple) <'set args'>: Use custom test name.
2656
2657 2017-10-24  Pedro Alves  <palves@redhat.com>
2658
2659         * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2660         with explicit test name.
2661
2662 2017-10-20  Pedro Alves  <palves@redhat.com>
2663
2664         * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2665         'wait -i'.  Use gdb_assert and remote_close.
2666
2667 2017-10-19  Andrew Burgess  <andrew.burgess@embecosm.com>
2668
2669         * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2670         number from variable rather than hard-coded.
2671
2672 2017-10-19  Pedro Alves  <palves@redhat.com>
2673
2674         * gdb.base/long-inferior-output.c: New file.
2675         * gdb.base/long-inferior-output.exp: New file.
2676
2677 2017-11-18  Keith Seitz  <keiths@redhat.com>
2678
2679         * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2680         method.
2681         (main): Call it.
2682         * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2683         Add additional user-defined conversion operator tests.
2684
2685 2017-10-17  Pedro Alves  <palves@redhat.com>
2686
2687         * boards/native-stdio-gdbserver.exp: Load "local-board".
2688
2689 2017-10-17  Pedro Alves  <palves@redhat.com>
2690
2691         * gdb.base/quit-live.c: New file.
2692         * gdb.base/quit-live.exp: New file.
2693
2694 2017-10-16  Keith Seitz  <keiths@redhat.com>
2695
2696         * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2697         (class_with_protected_typedef, class_with_private_typedef)
2698         (struct_with_public_typedef, struct_with_protected_typedef)
2699         (struct_with_private_typedef): New classes/structs.
2700         * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2701         typedefs and access specifiers.
2702
2703 2017-10-16  Pedro Alves  <palves@redhat.com>
2704             Simon Marchi  <simon.marchi@polymtl.ca>
2705
2706         * README (Local vs Remote vs Native): New section.
2707         * boards/local-board.exp: New file, with bits factored out from
2708         ...
2709         * boards/native-extended-gdbserver.exp: ... here.  Load
2710         "local-board".
2711         * boards/native-gdbserver.exp: Load "local-board".
2712         (${board}_spawn, ${board}_exec): Delete.
2713         * boards/native-stdio-gdbserver.exp: Most contents factored out to
2714         ...
2715         * boards/stdio-gdbserver-base.exp: ... this new file.
2716         * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2717         "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2718         procedure.
2719         * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2720         instead of native-stdio-gdbserver.  Don't set gdb_server_prog nor
2721         stdio_gdbserver_command.
2722         (${board}_get_remote_address, ${board}_get_comm_port)
2723         (${board}_download, ${board}_upload): Delete.
2724         (get_target_remote_pipe_cmd): New.
2725
2726 2017-10-16  Simon Marchi  <simon.marchi@ericsson.com>
2727
2728         * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2729         test_bkpt_deletion, test_bkpt_cond_and_cmds,
2730         test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2731         test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2732         test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2733         remove with_test_prefix.
2734
2735 2017-10-13  Pedro Alves  <palves@redhat.com>
2736
2737         * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2738         * gdb.base/annota1.exp: Use it instead of is_remote.
2739         * gdb.base/annota3.exp: Use it instead of is_remote.
2740         * gdb.cp/annota2.exp: Use it instead of is_remote.
2741         * gdb.cp/annota3.exp: Use it instead of is_remote.
2742         * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2743
2744 2017-10-13  Pedro Alves  <palves@redhat.com>
2745
2746         * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2747         (test_num_test_vars, run_and_count_vars, find_env)
2748         (test_set_unset_env, test_inherit_env_var): New procedures.
2749         (top level): Use them.
2750
2751 2017-10-13  Pedro Alves  <palves@redhat.com>
2752
2753         * lib/selftest-support.exp (selftest_setup): Extend comments, and
2754         also skip on stub-like targets.
2755
2756 2017-10-13  Pedro Alves  <palves@redhat.com>
2757
2758         PR gdb/22293
2759         * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2760         (top level): Move some tests to ...
2761         (test_not_found): ... this new procedure.
2762         (top level): Call it.
2763
2764 2017-10-13  Pedro Alves  <palves@redhat.com>
2765
2766         * gdb.base/term.exp: Don't skip if is_remote target.  Instead,
2767         expect different "info terminal" output if testing with a
2768         non-native target.
2769
2770 2017-10-13  Pedro Alves  <palves@redhat.com>
2771             Simon Marchi  <simon.marchi@polymtl.ca>
2772
2773         PR python/12966
2774         * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2775
2776 2017-10-13  Pedro Alves  <palves@redhat.com>
2777
2778         * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2779         already.
2780
2781 2017-10-13  Pedro Alves  <palves@redhat.com>
2782
2783         * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2784         is_remote.
2785
2786 2017-10-13  Pedro Alves  <palves@redhat.com>
2787
2788         * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2789         is_remote.
2790
2791 2017-10-13  Pedro Alves  <palves@redhat.com>
2792
2793         * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2794         is set.
2795         (corefile_test_attach): Likewise.  Check can_spawn_for_attach
2796         instead of is_remote.
2797
2798 2017-10-13  Pedro Alves  <palves@redhat.com>
2799
2800         * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2801         (top level): Add comment.
2802
2803 2017-10-13  Pedro Alves  <palves@redhat.com>
2804
2805         * gdb.base/remote.exp (top level): Fix comment typo and add
2806         missing return.
2807
2808 2017-10-13  Pedro Alves  <palves@redhat.com>
2809             Simon Marchi  <simon.marchi@polymtl.ca>
2810
2811         * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2812         calls and add comments.  Skip test if use_gdb_stub is set.
2813         (top level): Use "set cwd" command instead of "cd" command.
2814
2815 2017-10-13  Pedro Alves  <palves@redhat.com>
2816
2817         * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2818         is_remote target check.
2819
2820 2017-10-13  Pedro Alves  <palves@redhat.com>
2821
2822         * gdb.base/scope.exp: Use build_executable + clean_restart +
2823         gdb_file_cmd instead of prepare_for_testing and no longer skip
2824         "before run" tests on is_remote target boards.  Update comments.
2825         * boards/native-extended-gdbserver.exp
2826         (extended_gdbserver_load_last_file): New, factored out from ...
2827         (gdb_load): ... this.  Move further below and add comment.
2828         (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2829
2830 2017-10-12  Pedro Alves  <palves@redhat.com>
2831
2832         * gdb.base/attach.exp: Remove references to gdb64.
2833         * gdb.base/dbx.exp: Remove references to gdb64.
2834
2835 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
2836             Pedro Alves  <palves@redhat.com>
2837
2838         * gdb.base/label.exp: Remove is_remote target check.
2839
2840 2017-10-12  Pedro Alves  <palves@redhat.com>
2841
2842         * gdb.base/auvx.exp (coredir): Update comment.
2843         (top level) <core_works>: Use "set cwd" command instead of "cd"
2844         command.
2845
2846 2017-10-12  Pedro Alves  <palves@redhat.com>
2847             Simon Marchi  <simon.marchi@polymtl.ca>
2848
2849         * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2850         target boards.
2851
2852 2017-10-12  Pedro Alves  <palves@redhat.com>
2853             Simon Marchi  <simon.marchi@polymtl.ca>
2854
2855         * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2856         Instead skip if there's any gdb_protocol set.
2857
2858 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
2859             Pedro Alves  <palves@redhat.com>
2860
2861         * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2862
2863 2017-10-12  Pedro Alves  <palves@redhat.com>
2864             Simon Marchi  <simon.marchi@polymtl.ca>
2865
2866         * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2867         instead of on dejagnu remote boards.
2868
2869 2017-10-12  Pedro Alves  <palves@redhat.com>
2870             Simon Marchi  <simon.marchi@polymtl.ca>
2871
2872         * gdb.base/inferior-died.exp: Remove is_remote and isnative
2873         checks.  Use build_executable + clean_restart instead of
2874         prepare_for_testing.  Pass "set non-stop on" via GDBFLAGS instead
2875         of enabling non-stop after starting gdb.
2876
2877 2017-10-12  Pedro Alves  <palves@redhat.com>
2878
2879         * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2880         * gdb.threads/non-ldr-exc-2.exp: Ditto.
2881         * gdb.threads/non-ldr-exc-3.exp: Ditto.
2882         * gdb.threads/non-ldr-exc-4.exp: Ditto.
2883
2884 2017-10-11  Anton Kolesov  <Anton.Kolesov@synopsys.com>
2885
2886         * gdb.arch/arc-tdesc-cpu.exp: New file.
2887         * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2888
2889 2017-10-10  Simon Marchi  <simon.marchi@ericsson.com>
2890
2891         * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2892
2893 2017-10-10  Pedro Alves <palves@redhat.com>
2894
2895         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2896         expect CLI output.
2897
2898 2017-10-10  Pedro Alves  <palves@redhat.com>
2899
2900         * lib/selftest-support.exp (selftest_setup): Update for
2901         captured_command_loop's prototype change.
2902
2903 2017-10-09  Pedro Alves  <palves@redhat.com>
2904
2905         Test both arch1=>arch2 and arch2=>arch1.
2906
2907         * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2908         (srcfile2, binfile2, march1, march2): Remove globals.  Largely
2909         factored out to...
2910         (append_arch1_options, append_arch2_options, append_arch_options)
2911         (build_executables): New procedures.
2912         (do_test): New 'first_arch' parameter.  Use it to define 'from_exec'
2913         local.
2914         (top level): Add new 'first_arch' testing axis.
2915
2916 2017-10-09  Pedro Alves  <palves@redhat.com>
2917
2918         * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2919         (barrier): New.
2920         (thread_start, all_started): New functions.
2921         (main): Spawn new thread and wait until it is scheduled.
2922         * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2923         option.
2924         (do_test): Add 'selected_thread' parameter.  Run to all_started
2925         instead of main.  Explicitly set the breakpoint at main.  Switch
2926         to the SELECTED_THREAD thread.
2927         (top level): Test handling the exec event with either the main
2928         thread or the second thread selected.
2929
2930 2017-10-09  Pedro Alves  <palves@redhat.com>
2931
2932         * gdb.base/print-file-var-main.c: Fix get_version_2 value check
2933         logic.  Move STOP marker after the value checks.
2934         * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
2935         regexp.
2936
2937 2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>
2938
2939         * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
2940
2941 2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
2942
2943         * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
2944         integer-to-dfp conversion.
2945         * gdb.base/dfp-test.exp: Likewise.
2946
2947 2017-10-04  Pedro Alves  <palves@redhat.com>
2948
2949         * gdb.multi/hangout.c: Include <unistd.h>.
2950         (hangout_loop): New function.
2951         (main): Call alarm.  Call hangout_loop in a loop.
2952         * gdb.multi/hello.c: Include <unistd.h>.
2953         (hello_loop): New function.
2954         (main): Call alarm.  Call hangout_loop in a loop.
2955         * gdb.multi/multi-arch.exp: Test running to a breakpoint one
2956         inferior with the other selected.
2957
2958 2017-10-04  Simon Marchi  <simon.marchi@ericsson.com>
2959
2960         * gdb.mi/list-thread-groups-available.exp: New file.
2961         * gdb.mi/list-thread-groups-available.c: New file.
2962
2963 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
2964
2965         * gdb.base/set-cwd.exp: Make it available on
2966         native-extended-gdbserver.
2967
2968 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
2969
2970         * gdb.base/set-cwd.c: New file.
2971         * gdb.base/set-cwd.exp: Likewise.
2972
2973 2017-10-02  Tom Tromey  <tom@tromey.com>
2974
2975         PR rust/22236:
2976         * gdb.rust/simple.rs (main): New variable "fslice".
2977         * gdb.rust/simple.exp: Add slice tests.  Update string tests.
2978
2979 2017-10-02  Tom Tromey  <tom@tromey.com>
2980
2981         * gdb.rust/simple.exp: Test ptype of a slice.
2982
2983 2017-10-02  Tom Tromey  <tom@tromey.com>
2984
2985         * gdb.rust/simple.exp: Test index of slice.
2986
2987 2017-09-27  Tom Tromey  <tom@tromey.com>
2988
2989         * gdb.base/macscp.exp: Add __VA_OPT__ tests.
2990
2991 2017-09-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2992             Pedro Alves  <palves@redhat.com>
2993
2994         * gdb.base/compare-sections.exp (get value of read-only section): Read
2995         as unsigned value.
2996         (corrupt read-only section): Likewise and don't set written if patching
2997         failed.
2998
2999 2017-09-21  Kevin Buettner  <kevinb@redhat.com>
3000
3001         * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
3002         files.
3003
3004 2017-09-20  Pedro Alves  <palves@redhat.com>
3005
3006         * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
3007         symbol names in gdb's output.
3008         * gdb.cp/overload.exp ("list all overloads"): Likewise.
3009
3010 2017-09-20  Pedro Alves  <palves@redhat.com>
3011
3012         * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
3013         Rename to ...
3014         (test_list_ambiguous_symbol): ... this and add a symbol name
3015         parameter.  Adjust.
3016         (test_list_ambiguous_function): Reimplement on top of
3017         test_list_ambiguous_symbol and also test listing ambiguous
3018         variables.
3019         * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
3020         (ambiguous_fun): ... this.
3021         (ambiguous_var): New.
3022         * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
3023         (ambiguous_fun): ... this.
3024         (ambiguous_var): New.
3025
3026 2017-09-19  John Baldwin  <jhb@FreeBSD.org>
3027
3028         * gdb.base/starti.c: New file.
3029         * gdb.base/starti.exp: New file.
3030         * lib/gdb.exp (gdb_starti_cmd): New procedure.
3031
3032 2017-09-14  Pedro Alves  <palves@redhat.com>
3033
3034         * gdb.base/nodebug.exp (nodebug_runto): New procedure.
3035         (top level): Use it instead of runto.
3036
3037 2017-09-11  Tom Tromey  <tom@tromey.com>
3038
3039         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
3040
3041 2017-09-11  Tom Tromey  <tom@tromey.com>
3042
3043         * gdb.python/py-infthread.exp: Add tests for new_thread event.
3044         * gdb.python/py-inferior.exp: Add tests for new inferior events.
3045
3046 2017-09-08  Christoph Weinmann  <christoph.t.weinmann@intel.com>
3047
3048         * gdb.fortran/printing-types.exp: New file.
3049         * gdb.fortran/printing-types.exp: New file.
3050
3051 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
3052
3053         * gdb.fortran/vla-ptype.exp: Fix typos.
3054         * gdb.fortran/vla-value.exp: Same.
3055
3056 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
3057
3058         * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
3059         * gdb.mi/mi-var-child-f.exp: Likewise.
3060         * gdb.mi/mi-vla-fortran.exp: Likewise.
3061
3062 2017-09-08  Frank Penczek  <frank.penczek@intel.com>
3063             Christoph Weinmann  <christoph.t.weinmann@intel.com>
3064             Bernhard Heckel  <bernhard.heckel@intel.com>
3065
3066         * gdb.fortran/ptr-indentation.f90: New file.
3067         * gdb.fortran/ptr-indentation.exp: New file.
3068
3069 2017-09-05  Tom Tromey  <tom@tromey.com>
3070
3071         PR gdb/22010:
3072         * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
3073
3074 2017-09-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3075
3076         * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3077
3078 2017-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3079
3080         * gdb.threads/tls-nodebug-pie.c: New file.
3081         * gdb.threads/tls-nodebug-pie.exp: New file.
3082
3083 2017-09-05  Tom Tromey  <tom@tromey.com>
3084
3085         * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3086         for rust.
3087
3088 2017-09-05  Simon Marchi  <simon.marchi@ericsson.com>
3089
3090         * gdb.multi/multi-arch-exec.exp: Test with different
3091         "follow-exec-mode" settings.
3092         (do_test): New procedure.
3093
3094 2017-09-04  Pedro Alves  <palves@redhat.com>
3095
3096         * gdb.base/func-static.c (S::method const, S::method volatile)
3097         (S::method volatile const): New methods.
3098         (c_s, v_s, cv_s): New instances.
3099         (main): Call method() on them.
3100         * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
3101         (cannot_resolve): New procedure.
3102         (cxx_scopes_list): Test cv methods.  Add print-scope-quote and
3103         print-quote-unquoted columns.
3104         (do_test): Test printing each scope too.
3105
3106 2017-09-04  Pedro Alves  <palves@redhat.com>
3107
3108         * gdb.base/local-static.exp: Also test with
3109         class::method::variable wholly quoted.
3110         * gdb.cp/m-static.exp (class::method::variable): Remove test.
3111
3112 2017-09-04  Pedro Alves  <palves@redhat.com>
3113
3114         * gdb.base/local-static.c: New.
3115         * gdb.base/local-static.cc: New.
3116         * gdb.base/local-static.exp:  New.
3117
3118 2017-09-04  Pedro Alves  <palves@redhat.com>
3119
3120         * gdb.asm/asm-source.exp: Add casts to int.
3121         * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
3122         (dataglobal64_1, dataglobal64_2): New globals.
3123         * gdb.base/nodebug.exp: Test different expressions involving the
3124         new globals, with print, whatis and ptype.  Add casts to int.
3125         * gdb.base/solib-display.exp: Add casts to int.
3126         * gdb.compile/compile-ifunc.exp: Expect warning.  Add cast to int.
3127         * gdb.cp/m-static.exp: Add cast to int.
3128         * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
3129         * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
3130         tls variable with no debug info without a cast.  Test with a cast
3131         to int too.
3132         * gdb.trace/entry-values.exp: Add casts.
3133
3134 2017-09-04  Pedro Alves  <palves@redhat.com>
3135
3136         * gdb.base/nodebug.exp: Test that ptype's error about functions
3137         with unknown return type includes the function name too.
3138
3139 2017-09-04  Pedro Alves  <palves@redhat.com>
3140
3141         * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
3142         return type of munmap in infcall.
3143         * gdb.base/break-probes.exp: Cast return type of foo in infcall.
3144         * gdb.base/checkpoint.exp: Simplify using for loop.  Cast return
3145         type of ftell in infcall.
3146         * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
3147         type of getpid in infcall.
3148         * gdb.base/infcall-exec.exp: Cast return type of execlp in
3149         infcall.
3150         * gdb.base/info-os.exp: Cast return type of getpid in infcall.
3151         Bail on failure to extract the pid.
3152         * gdb.base/nodebug.c: #include <stdint.h>.
3153         (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
3154         New functions.
3155         * gdb.base/nodebug.exp (test_call_promotion): New procedure.
3156         Change expected output of print/whatis/ptype with functions with
3157         no debug info.  Test all supported languages.  Call
3158         test_call_promotion.
3159         * gdb.compile/compile.exp: Adjust expected output to expect
3160         warning.
3161         * gdb.threads/siginfo-threads.exp: Likewise.
3162
3163 2017-09-04  Pedro Alves  <palves@redhat.com>
3164
3165         * gdb.base/callfuncs.exp (do_function_calls): New parameter
3166         "prototypes".  Test calling float functions via prototyped and
3167         unprototyped function pointers.
3168         (perform_all_tests): New parameter "prototypes".  Pass it down.
3169         (top level): Pass down "prototypes" parameter to
3170         perform_all_tests.
3171
3172 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3173
3174         * gdb.base/commands.exp (loop_break_test, loop_continue_test):
3175         Test with nested loops.
3176
3177 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3178
3179         * gdb.base/commands.exp: Call the new procedures.
3180         (loop_break_test, loop_continue_test): New procedures.
3181
3182 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3183
3184         * gdb.base/commands.exp: Call new procedure.
3185         (define_if_without_arg_test): New procedure.
3186
3187 2017-09-04  Pedro Alves  <palves@redhat.com>
3188
3189         * gdb.base/list-ambiguous.exp: New file.
3190         * gdb.base/list-ambiguous0.c: New file.
3191         * gdb.base/list-ambiguous1.c: New file.
3192         * gdb.base/list.exp (test_list_range): Adjust expected output.
3193
3194 2017-08-31  Sergio Durigan Junior  <sergiodj@redhat.com>
3195
3196         * gdb.base/share-env-with-gdbserver.c: New file.
3197         * gdb.base/share-env-with-gdbserver.exp: Likewise.
3198
3199 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3200
3201         * gdb.base/commands.exp (gdbvar_simple_if_test,
3202         gdbvar_simple_if_test, gdbvar_complex_if_while_test,
3203         progvar_simple_if_test, progvar_simple_while_test,
3204         progvar_complex_if_while_test, user_defined_command_test,
3205         user_defined_command_args_eval,
3206         user_defined_command_args_stack_test,
3207         user_defined_command_manyargs_test, bp_deleted_in_command_test,
3208         temporary_breakpoint_commands,
3209         gdb_test_no_prompt, redefine_hook_test,
3210         redefine_backtrace_test): Remove "global gdb_prompt".
3211
3212 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3213
3214         * gdb.base/commands.exp (user_defined_command_case_sensitivity):
3215         New proc, call it from toplevel.
3216
3217 2017-08-23  Sergio Durigan Junior  <sergiodj@redhat.com>
3218
3219         PR remote/21852
3220         * gdb.server/normal.c: New file, copied from gdb.base.
3221         * gdb.server/run-without-local-binary.exp: New file.
3222
3223 2017-08-07  Weimin Pan  <weimin.pan@oracle.com>
3224
3225         * gdb.arch/sparc64-adi.exp: New file.
3226         * gdb.arch/sparc64-adi.c: New file.
3227
3228 2017-08-22  Pedro Alves  <palves@redhat.com>
3229
3230         * gdb.cp/overload.exp (line_range_pattern): New procedure.
3231         (top level): Add "list all overloads" tests.
3232
3233 2017-08-22  Tom Tromey  <tom@tromey.com>
3234
3235         * gdb.gdb/xfullpath.exp: Remove.
3236
3237 2017-08-21  Pedro Alves  <palves@redhat.com>
3238
3239         PR gdb/19487
3240         * gdb.base/symbol-alias.c: New.
3241         * gdb.base/symbol-alias2.c: New.
3242         * gdb.base/symbol-alias.exp: New.
3243
3244 2017-08-21  Pedro Alves  <palves@redhat.com>
3245
3246         * gdb.base/dfp-test.c
3247         (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
3248         (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
3249         * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
3250         * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
3251         * gdb.base/whatis-ptype-typedefs.c: New.
3252         * gdb.base/whatis-ptype-typedefs.exp: New.
3253         * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
3254         (an_int, an_int_type, an_int_type2): New globals.
3255         * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
3256         involving typedefs and cast expressions.
3257         * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
3258         (lookup_typedefs_function): New.
3259         (typedefs_pretty_printers_dict): New.
3260         (top level): Register lookup_typedefs_function in
3261         gdb.pretty_printers.
3262
3263 2017-08-18  Yao Qi  <yao.qi@linaro.org>
3264
3265         * gdb.server/unittest.exp: New.
3266
3267 2017-08-15  Sergio Durigan Junior  <sergiodj@redhat.com>
3268
3269         PR gdb/21954
3270         * gdb.base/environ.exp: Add test to check if 'unset environment'
3271         works.
3272
3273 2017-08-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3274
3275         * lib/gdb.exp (universal_compile_options): New caching proc.
3276         (gdb_compile): Suppress GCC's coloring of messages.
3277
3278 2017-08-14  Tom Tromey  <tom@tromey.com>
3279
3280         PR gdb/21675:
3281         * gdb.base/printcmds.exp (test_radices): New function.
3282         * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
3283         * gdb.base/sizeof.exp (check_valueof): Use p/d.
3284         * lib/gdb.exp (get_integer_valueof): Use p/d.
3285
3286 2017-08-12  Simon Marchi  <simon.marchi@ericsson.com>
3287
3288         * lib/gdb.exp (get_valueof): Don't capture end-of-line
3289         characters.
3290
3291 2017-08-05  Tom Tromey  <tom@tromey.com>
3292
3293         * gdb.rust/simple.exp: Allow String to appear in a different
3294         namespace.
3295
3296 2017-07-26  Yao Qi  <yao.qi@linaro.org>
3297
3298         * gdb.gdb/unittest.exp: Invoke command
3299         "maintenance check xml-descriptions".
3300
3301 2017-07-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3302
3303         * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
3304         calling context.
3305         (hex128): Drop erroneous calculation of parameters.
3306
3307 2017-07-22  Simon Marchi  <simon.marchi@ericsson.com>
3308
3309         * gdb.python/py-unwind.exp: Disable stack protection when
3310         building test file.
3311
3312 2017-07-20  Pedro Alves  <palves@redhat.com>
3313
3314         * gdb.base/default.exp (set language): Adjust expected output.
3315
3316 2017-07-20  Pedro Alves  <palves@redhat.com>
3317
3318         * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
3319         (test_minsym): ... this, and make static.
3320         (get_pck__foo__bar__minsym): Rename to ...
3321         (get_test_minsym): ... this.
3322         * gdb.base/dmsym.exp (): Remove "set language ada" call.  Adjust
3323         symbol names and comments.
3324         * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
3325         (get_test_minsym): ... this.
3326         (pck__foo__bar__minsym__2): Rename to ...
3327         (test_minsym): ... this.
3328         (main): Adjust.
3329
3330 2017-07-17  Pedro Alves  <palves@redhat.com>
3331
3332         * gdb.base/completion.exp: Adjust expected output.
3333         * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
3334         the completer works.
3335
3336 2017-07-17  Pedro Alves  <palves@redhat.com>
3337
3338         * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
3339
3340 2017-07-15  Andrew Burgess  <andrew.burgess@embecosm.com>
3341
3342         * gdb.mi/mi-vla-fortran.exp: Make test names unique.
3343
3344 2017-07-14  Tom Tromey  <tom@tromey.com>
3345
3346         PR rust/21764:
3347         * gdb.rust/simple.exp: Add tests.
3348
3349 2017-07-14  Tom Tromey  <tom@tromey.com>
3350
3351         * gdb.rust/simple.exp: Add regression test for PR rust/21763.
3352
3353 2017-07-14  Pedro Alves  <palves@redhat.com>
3354
3355         * gdb.linespec/base/one/thefile.cc (z1): New function.
3356         * gdb.linespec/base/two/thefile.cc (z2): New function.
3357         * gdb.linespec/linespec.exp: Add tests.
3358
3359 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3360
3361         * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
3362         to mi_create_breakpoint.
3363
3364 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3365
3366         * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
3367         mi_create_breakpoint.
3368
3369 2017-07-11  Iain Buclaw  <ibuclaw@gdcproject.org>
3370
3371         * gdb.dlang/demangle.exp: Update for demangling changes.
3372
3373 2017-07-09  Tom Tromey  <tom@tromey.com>
3374
3375         * gdb.dwarf2/shortpiece.exp: New file.
3376
3377 2017-07-06  David Blaikie  <dblaikie@gmail.com>
3378
3379         * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
3380         built from fissiont-multi-cu{1,2}.c.
3381         * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
3382         except putting 'main' and 'func' in separate CUs in the same DWO file.
3383         * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
3384         test.
3385         * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
3386         test.
3387
3388 2017-07-06  Pedro Alves  <palves@redhat.com>
3389
3390         * gdb.python/py-unwind.exp: Test flushregs.
3391
3392 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3393
3394         PR cli/21688
3395         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3396         tests for alias commands and trailing whitespace.
3397
3398 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3399
3400         PR cli/21688
3401         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3402         procedure.  Call it.
3403
3404 2017-06-29  Pedro Alves  <palves@redhat.com>
3405
3406         * gdb.base/printcmds.exp: Add tests.
3407
3408 2017-06-28  Doug Gilmore  <Doug.Gilmore@imgtec.com>
3409
3410         PR gdb/21337
3411         * gdb.base/reread-readsym.exp: New file.
3412         * gdb.base/reread-readsym.c: New file.
3413
3414 2017-06-21  Kevin Buettner  <kevinb@redhat.com>
3415
3416         * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3417         subpattern.
3418
3419 2017-06-19  Peter Bergner  <bergner@vnet.ibm.com>
3420
3421         * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3422         extended mnemonic.
3423         * gdb.arch/powerpc-power9.s: Likewise.
3424
3425 2017-06-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3426
3427         * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3428         on 32-bit x86 targets.  Exploit is_*_target macros where
3429         appropriate.
3430
3431 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3432
3433         * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3434         register pieces.
3435
3436 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3437
3438         * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3439         located in one or more DWARF pieces.
3440
3441 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3442
3443         * lib/gdb.exp (get_endianness): New proc.
3444         * gdb.arch/aarch64-fp.exp: Use it.
3445         * gdb.arch/altivec-regs.exp: Likewise.
3446         * gdb.arch/e500-regs.exp: Likewise.
3447         * gdb.arch/vsx-regs.exp: Likewise.
3448         * gdb.base/dump.exp: Likewise.
3449         * gdb.base/funcargs.exp: Likewise.
3450         * gdb.base/gnu_vector.exp: Likewise.
3451         * gdb.dwarf2/formdata16.exp: Likewise.
3452         * gdb.dwarf2/implptrpiece.exp: Likewise.
3453         * gdb.dwarf2/nonvar-access.exp: Likewise.
3454         * gdb.python/py-inferior.exp: Likewise.
3455         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3456
3457 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3458
3459         PR gdb/21226
3460         * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3461         stack value pieces are taken from the LSB end.
3462
3463 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3464
3465         * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3466         variable at nonzero offset.
3467
3468 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3469
3470         * gdb.dwarf2/var-access.c: New file.
3471         * gdb.dwarf2/var-access.exp: New test.
3472         * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3473
3474 2017-06-12  Tom Tromey  <tom@tromey.com>
3475
3476         * gdb.dwarf2/formdata16.exp: Add tests.
3477
3478 2017-06-12  Tom Tromey  <tom@tromey.com>
3479
3480         * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
3481
3482 2017-06-12  Tom Tromey  <tom@tromey.com>
3483
3484         PR exp/16225:
3485         * gdb.reverse/i386-sse-reverse.exp: Update tests.
3486         * gdb.arch/vsx-regs.exp: Update tests.
3487         * gdb.arch/s390-vregs.exp (hex128): New proc.
3488         Update test.
3489         * gdb.arch/altivec-regs.exp: Update tests.
3490
3491 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3492
3493         * gdb.base/startup-with-shell.c: New file.
3494         * gdb.base/startup-with-shell.exp: Likewise.
3495
3496 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3497
3498         * gdb.server/non-existing-program.exp: Update regex in order to
3499         reflect the fact that gdbserver is now using fork_inferior (with a
3500         shell) to startup the inferior.
3501
3502 2017-05-30  Simon Marchi  <simon.marchi@ericsson.com>
3503
3504         * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3505         support function calls from GDB.
3506
3507 2017-05-21  Tom Tromey  <tom@tromey.com>
3508
3509         PR rust/21466:
3510         * gdb.rust/unsized.exp: New file.
3511         * gdb.rust/unsized.rs: New file.
3512
3513 2017-05-19  Tom Tromey  <tom@tromey.com>
3514
3515         PR rust/21484:
3516         * gdb.rust/watch.exp: New file.
3517         * gdb.rust/watch.rs: New file.
3518
3519 2017-05-18  Tom Tromey  <tom@tromey.com>
3520
3521         * gdb.rust/simple.exp: Allow Box to be qualified.
3522
3523 2017-05-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3524
3525         * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3526
3527 2017-05-18  Pedro Alves  <palves@redhat.com>
3528
3529         * gdb.base/fileio.c (test_write, test_read, test_close)
3530         (test_fstat): Don't print 'ret' in the fail path.
3531
3532 2017-05-18  Pedro Alves  <palves@redhat.com>
3533
3534         * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3535         (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3536         (test_system, test_rename, test_unlink, test_time): Change
3537         prototypes.
3538         * gdb.base/fileio.exp (stop_msg): Adjust.
3539
3540 2017-05-18  Pedro Alves  <palves@redhat.com>
3541
3542         * gdb.base/fileio.c (null_str): New global.
3543         (test_stat): Use it.
3544         * gdb.base/fileio.exp: Remove nowarnings.
3545
3546 2017-05-17  Yao Qi  <yao.qi@linaro.org>
3547
3548         * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3549
3550 2017-05-17  Simon Marchi  <simon.marchi@ericsson.com>
3551
3552         * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3553         argument command.
3554         (top-level): Invoke test_set_inferior_tty.
3555
3556 2017-05-04  Pedro Alves  <palves@redhat.com>
3557
3558         * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3559         Add parens to print call for Python 3.
3560
3561 2017-05-03  Keith Seitz  <keiths@redhat.com>
3562
3563         * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3564         (main): Call it.
3565
3566 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3567
3568         * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3569         to prev and next.
3570
3571 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3572
3573         * gdb.python/py-record-btrace.exp: Remove test for
3574         gdb.BtraceInstruction.error.
3575
3576 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3577
3578         * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3579
3580 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3581
3582         * gdb.python/py-record-btrace-threads.c: New file.
3583         * gdb.python/py-record-btrace-threads.exp: New file.
3584
3585 2017-04-28  Sergio Durigan Junior  <sergiodj@redhat.com>
3586
3587         PR testsuite/8595
3588         * gdb.base/environ.exp: Make test available in all architectures.
3589         Move bits related to "info program" testing to
3590         gdb.base/info-program.exp.  Rewrite tests to use the two new
3591         procedures mentione below.
3592         (test_set_show_env_var) New procedure.
3593         (test_set_show_env_var_equal): Likewise.
3594         * gdb.base/info-program.exp: New file.
3595
3596 2017-04-27  Keith Seitz  <keiths@redhat.com>
3597
3598         * gdb.cp/oranking.cc (test15): New function.
3599         (main): Call test15 and declare additional variables for testing.
3600         * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3601         "p foo101('abc')" tests.
3602         Add tests for cv qualifier overloads.
3603         * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3604         "lvalue reference overload" test.
3605         * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3606         "print value of f1 on Child&& in f2" test.
3607
3608 2017-04-19  Pedro Alves  <palves@redhat.com>
3609
3610         * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3611         procedure.
3612         (top level): Call it.
3613         * lib/gdb.exp (gdb_define_cmd): New procedure.
3614
3615 2017-04-12  Pedro Alves  <palves@redhat.com>
3616
3617         PR gdb/21323
3618         * gdb.cp/wide_char_types.c: Include <wchar.h>.
3619         (wchar): New global.
3620         * gdb.cp/wide_char_types.exp (wide_char_types_program)
3621         (do_test_wide_char, wide_char_types_no_program, top level): Add
3622         wchar_t testing.
3623
3624 2017-04-12  Pedro Alves  <palves@redhat.com>
3625
3626         PR c++/21323
3627         * gdb.cp/wide_char_types.c: New file.
3628         * gdb.cp/wide_char_types.exp: New file.
3629
3630 2017-04-05  Sergio Durigan Junior  <sergiodj@redhat.com>
3631
3632         PR gdb/21352
3633         * gdb.trace/tsv.exp: Add test for "tsave -r".
3634
3635 2017-03-30  Iain Buclaw  <ibuclaw@gdcproject.org>
3636
3637         * gdb.dlang/watch-loc.c: New file.
3638         * gdb.dlang/watch-loc.exp: New file.
3639
3640 2017-03-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3641
3642         * gdb.python/py-section-script.exp (sepdebug): New testcases.
3643
3644 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3645
3646         * gdb.arch/arc-analyze-prologue.S: New file.
3647         * gdb.arch/arc-analyze-prologue.exp: Likewise.
3648
3649 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3650
3651         * gdb.arch/arc-decode-insn.S: New file.
3652         * gdb.arch/arc-decode-insn.exp: Likewise.
3653
3654 2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>
3655
3656         PR tdep/20928
3657         * gdb.arch/sparc64-regs.exp: New file.
3658         * gdb.arch/sparc64-regs.S: Likewise.
3659
3660 2017-03-21  Tim Wiederhake  <tim.wiederhake@intel.com>
3661
3662         * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3663         and memory view on Python 3.
3664
3665 2017-03-20  Artemiy Volkov  <artemiyv@acm.org>
3666             Keith Seitz  <keiths@redhat.com>
3667
3668         PR gdb/14441
3669         * gdb.cp/demangle.exp: Add rvalue reference tests.
3670         * gdb.cp/rvalue-ref-casts.cc: New file.
3671         * gdb.cp/rvalue-ref-casts.exp: New file.
3672         * gdb.cp/rvalue-ref-overload.cc: New file.
3673         * gdb.cp/rvalue-ref-overload.exp: New file.
3674         * gdb.cp/rvalue-ref-params.cc: New file.
3675         * gdb.cp/rvalue-ref-params.exp: New file.
3676         * gdb.cp/rvalue-ref-sizeof.cc: New file.
3677         * gdb.cp/rvalue-ref-sizeof.exp: New file.
3678         * gdb.cp/rvalue-ref-types.cc: New file.
3679         * gdb.cp/rvalue-ref-types.exp: New file.
3680         * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3681         * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3682
3683 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
3684
3685         * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3686         New procedure.
3687
3688 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
3689
3690         * lib/mi-support.exp (mi_gdb_test): Add additional message
3691         for unexpected output.
3692
3693 2017-03-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3694
3695         * gdb.base/examine-backward.c (Barrier): New character array
3696         constant, to ensure that TestStrings is preceded by a string
3697         terminator.
3698
3699 2017-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3700
3701         * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3702         * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3703         and implicit pointer into such a location.
3704
3705 2017-03-16  Doug Evans  <dje@google.com>
3706
3707         * gdb.python/py-lazy-string (pointer): Really add new typedef.
3708
3709 2017-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3710
3711         * gdb.cp/m-static.exp: Fix expectation for prototype of
3712         test5.single_constructor and single_constructor::single_constructor.
3713
3714 2017-03-16  Doug Evans  <dje@google.com>
3715
3716         * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3717         * gdb.guile/scm-lazy-string.c: New file.
3718         * gdb.guile/scm-value.exp: Move lazy string tests to ...
3719         * gdb.guile/scm-lazy-string.exp: ... here, new file.  Add more tests
3720         for pointer, array, typedef lazy strings.
3721
3722 2017-03-16  Doug Evans  <dje@google.com>
3723
3724         PR python/17728, python/18439, python/18779
3725         * gdb.python/py-value.c (main) Delete locals sptr, sn.
3726         * gdb.python/py-lazy-string.c (pointer): New typedef.
3727         (main): New locals ptr, array, typedef_ptr.
3728         * gdb.python/py-value.exp: Move lazy string tests to ...
3729         * gdb.python/py-lazy-string.exp: ... here.  Add more tests for pointer,
3730         array, typedef lazy strings.
3731
3732 2017-03-14  Anton Kolesov  <anton.kolesov@synopsys.com>
3733
3734         * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3735           Add optional 'test' parameter.
3736
3737 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
3738
3739         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3740         Skip for versions of DejaGnu < 1.5.
3741
3742 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
3743
3744         * lib/gdb.exp (dejagnu_version): New proc.
3745         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3746         Use dejagnu_version.
3747
3748 2017-03-10  Keith Seitz  <keiths@redhat.com>
3749
3750         PR c++/8128
3751         * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3752         type from destructor regexps.
3753         Add a branch which actually passes the test.
3754         Adjust "ptype t5i" test names.
3755
3756 2017-03-08  Pedro Alves  <palves@redhat.com>
3757
3758         * gdb.base/step-over-exit.exp: Add explicit test message.
3759
3760 2017-03-08  Pedro Alves  <palves@redhat.com>
3761
3762         PR gdb/18360
3763         * gdb.threads/interrupt-while-step-over.c: New file.
3764         * gdb.threads/interrupt-while-step-over.exp: New file.
3765
3766 2017-03-08  Pedro Alves  <palves@redhat.com>
3767
3768         * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3769         * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3770
3771 2017-03-08  Pedro Alves  <palves@redhat.com>
3772
3773         * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3774         PKRU as not supported as a PASS.
3775
3776 2017-03-08  Pedro Alves  <palves@redhat.com>
3777
3778         * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3779         prefix instead of $binfile1/$binfile2.
3780         * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3781         in test message.
3782         * gdb.python/py-completion.exp: Use "load python file" as test
3783         messages instead of unstable path names.
3784
3785 2017-03-08  Pedro Alves  <palves@redhat.com>
3786             Jan Kratochvil  <jan.kratochvil@redhat.com>
3787
3788         PR cli/21218
3789         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3790         New proc.
3791         (top level): Call it.
3792
3793 2017-03-08  Pedro Alves  <palves@redhat.com>
3794
3795         PR tui/21216
3796         * gdb.tui/tui-nl-filtered-output.exp: New file.
3797
3798 2017-03-08  Pedro Alves  <palves@redhat.com>
3799
3800         * gdb.base/completion.exp: Move TUI completion tests to ...
3801         * gdb.tui/completion.exp: ... this new file.
3802
3803 2017-03-08  Pedro Alves  <palves@redhat.com>
3804
3805         * gdb.base/tui-disasm-long-lines.c,
3806         gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3807         gdb.base/tui-layout.exp: Move to ...
3808         * gdb.tui/: ... this new directory.
3809
3810 2017-03-07  Pedro Alves  <palves@redhat.com>
3811
3812         * gdb.base/tui-layout.c: New file.
3813         * gdb.base/tui-layout.exp: New file.
3814
3815 2017-03-07  Pedro Alves  <palves@redhat.com>
3816
3817         * gdb.base/tui-layout.c: Rename to ...
3818         * gdb.base/tui-disasm-long-lines.c: ... this.
3819         * gdb.base/tui-layout.exp: Rename to ...
3820         * gdb.base/tui-disasm-long-lines.exp: ... this.
3821
3822 2017-03-07  Pedro Alves  <palves@redhat.com>
3823
3824         * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3825
3826 2017-03-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
3827
3828         * i386-mpx-call.c: New file.
3829         * i386-mpx-call.exp: New file.
3830
3831 2017-02-28  Peter Bergner  <bergner@vnet.ibm.com>
3832
3833         * gdb.arch/powerpc-power.exp: Delete test.
3834         * gdb.arch/powerpc-power.s: Likewise.
3835         * gdb.disasm/disassembler-options.exp: New test.
3836         * gdb.arch/powerpc-altivec.exp: Likewise.
3837         * gdb.arch/powerpc-altivec.s: Likewise.
3838         * gdb.arch/powerpc-altivec2.exp: Likewise.
3839         * gdb.arch/powerpc-altivec2.s: Likewise.
3840         * gdb.arch/powerpc-altivec3.exp: Likewise.
3841         * gdb.arch/powerpc-altivec3.s: Likewise.
3842         * gdb.arch/powerpc-power7.exp: Likewise.
3843         * gdb.arch/powerpc-power7.s: Likewise.
3844         * gdb.arch/powerpc-power8.exp: Likewise.
3845         * gdb.arch/powerpc-power8.s: Likewise.
3846         * gdb.arch/powerpc-power9.exp: Likewise.
3847         * gdb.arch/powerpc-power9.s: Likewise.
3848         * gdb.arch/powerpc-vsx.exp: Likewise.
3849         * gdb.arch/powerpc-vsx.s: Likewise.
3850         * gdb.arch/powerpc-vsx2.exp: Likewise.
3851         * gdb.arch/powerpc-vsx2.s: Likewise.
3852         * gdb.arch/powerpc-vsx3.exp: Likewise.
3853         * gdb.arch/powerpc-vsx3.s: Likewise.
3854         * gdb.arch/arm-disassembler-options.exp: Likewise.
3855         * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3856         * gdb.arch/s390-disassembler-options.exp: Likewise.
3857
3858 2017-02-23  Luis Machado  <lgustavo@codesourcery.com>
3859
3860         * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3861         (check_supported_features): ... this. Changed return type to void.
3862         (supports_rdseed): New static global.
3863         (rdseed): Check supports_rdseed.
3864         (initialize): Call check_supported_features.
3865
3866 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3867
3868         * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3869         gdb.arch/ppc64-atomic-inst.exp.  Add tests for lbarx/stbcx, lharx/sthcx
3870         and lqarx/stqcx.
3871         * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3872         * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3873
3874 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3875
3876         * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3877         uppercase.
3878
3879 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3880
3881         * gdb.dwarf2/formdata16.c: New file.
3882         * gdb.dwarf2/formdata16.exp: New file.
3883         * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3884
3885 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3886
3887         * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3888         * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3889         * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3890         * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3891         DW_AT_GNU_*.
3892
3893 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3894
3895         * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3896
3897 2017-02-15  Sergio Durigan Junior  <sergiodj@redhat.com>
3898
3899         PR gdb/21164
3900         * gdb.base/maint.exp: Add testcases for when the commands do
3901         not have arguments.
3902
3903 2017-02-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3904
3905         * gdb.cp/chained-calls.exp: Use p instead of P.
3906
3907 2017-02-14  Tim Wiederhake  <tim.wiederhake@intel.com>
3908
3909         * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3910         gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3911
3912 2017-02-14  Tom Tromey  <tom@tromey.com>
3913
3914         PR python/13598:
3915         * gdb.python/py-events.exp: Add before_prompt event tests.
3916
3917 2017-02-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3918
3919         * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3920
3921 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
3922
3923         * gdb.linespec/explicit.c (my_unique_function_name): New function.
3924         (main): Call my_unique_function_name.
3925         * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3926         completion of patterns with a single match.
3927         Add missing -re switches to gdb_test_multiple calls.
3928
3929 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
3930
3931         * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3932         return if core file is not recognized.
3933
3934 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
3935
3936         * gdb.base/new-ui.exp (do_test): Test queries behavior on main
3937         and extra UIs.
3938
3939 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
3940
3941         * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
3942         proc_with_prefix.
3943
3944 2017-02-10  Tom Tromey  <tom@tromey.com>
3945
3946         * gdb.python/py-xmethods.exp: Use "p" command, not "P".
3947
3948 2017-02-10  Martin Galvan  <martingalvan@sourceware.org>
3949
3950         PR gdb/21122
3951         * gdb.base/help.exp: Update match pattern for testing 'help commands'.
3952
3953 2017-02-08  Jerome Guitton  <guitton@adacore.com>
3954
3955         * gdb.base/define.exp: Add test for command abbreviations
3956         in define.
3957
3958 2017-02-06  Luis Machado  <lgustavo@codesourcery.com>
3959
3960         * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
3961         * gdb.reverse/insn-reverse-x86.c: New file.
3962
3963 2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>
3964
3965         PR tdep/20936
3966         * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
3967
3968 2017-02-03  Tom Tromey  <tom@tromey.com>
3969
3970         PR rust/21097:
3971         * gdb.rust/simple.exp: Add new tests.
3972
3973 2017-02-02  Pedro Alves  <palves@redhat.com>
3974
3975         * gdb.mi/mi-logging.exp: Add "redirect while already logging"
3976         tests.
3977
3978 2017-02-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3979
3980         * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
3981         taking a 2-byte value out of a 4-byte DWARF implicit value on
3982         big-endian targets.
3983         * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
3984         logic.  Add test cases for DW_OP_implicit.
3985
3986 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3987
3988         * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
3989
3990 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3991
3992         * gdb.btrace/enable.exp: Call gdb_exit before
3993         skip_gdbserver_tests.
3994
3995 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
3996
3997         * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
3998         GDBFLAGS.
3999
4000 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4001
4002         * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
4003         the test is skipped.
4004         * gdb.btrace/data.exp: Likewise.
4005         * gdb.btrace/delta.exp: Likewise.
4006         * gdb.btrace/dlopen.exp: Likewise.
4007         * gdb.btrace/enable-running.exp: Likewise.
4008         * gdb.btrace/enable.exp: Likewise.
4009         * gdb.btrace/exception.exp: Likewise.
4010         * gdb.btrace/function_call_history.exp: Likewise.
4011         * gdb.btrace/gcore.exp: Likewise.
4012         * gdb.btrace/instruction_history.exp: Likewise.
4013         * gdb.btrace/multi-thread-step.exp: Likewise.
4014         * gdb.btrace/nohist.exp: Likewise.
4015         * gdb.btrace/non-stop.exp: Likewise.
4016         * gdb.btrace/reconnect.exp: Likewise.
4017         * gdb.btrace/record_goto-step.exp: Likewise.
4018         * gdb.btrace/record_goto.exp: Likewise.
4019         * gdb.btrace/rn-dl-bind.exp: Likewise.
4020         * gdb.btrace/segv.exp: Likewise.
4021         * gdb.btrace/step.exp: Likewise.
4022         * gdb.btrace/stepi.exp: Likewise.
4023         * gdb.btrace/tailcall-only.exp: Likewise.
4024         * gdb.btrace/tailcall.exp: Likewise.
4025         * gdb.btrace/tsx.exp: Likewise.
4026         * gdb.btrace/unknown_functions.exp: Likewise.
4027         * gdb.btrace/vdso.exp: Likewise.
4028
4029 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4030
4031         * gdb.btrace/enable-running.c: New.
4032         * gdb.btrace/enable-running.exp: New.
4033
4034 2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
4035
4036         * gdb.arch/amd64-gs_base.c: New file.
4037         * gdb.arch/amd64-gs_base.exp: New file.
4038
4039 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4040
4041         * lib/memory.exp: Remove spurious empty newlines.
4042
4043 2017-01-26  Simon Marchi  <simon.marchi@polymtl.ca>
4044
4045         * gdb.python/py-bad-printers.exp: Load python file using "source".
4046         * gdb.python/py-events.exp: Likewise.
4047         * gdb.python/py-evsignal.exp: Likewise.
4048         * gdb.python/py-evthreads.exp: Likewise.
4049         * gdb.python/py-frame-args.exp: Likewise.
4050         * gdb.python/py-framefilter-invalidarg.exp: Likewise.
4051         * gdb.python/py-framefilter-mi.exp: Likewise.
4052         * gdb.python/py-framefilter.exp: Likewise.
4053         * gdb.python/py-mi.exp: Likewise.
4054         * gdb.python/py-pp-maint.exp: Likewise.
4055         * gdb.python/py-pp-registration.exp: Likewise.
4056         * gdb.python/py-prettyprint.exp: Likewise.
4057         (run_lang_tests): Likewise.
4058         * gdb.python/py-typeprint.exp: Likewise.
4059
4060 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4061
4062         * lib/memory.exp: New file.
4063         * lib/gdb.exp: Load memory.exp.
4064         * gdb.base/memattr.exp (delete_memory): Move proc to
4065         lib/memory.exp and rename to delete_memory_regions.
4066         Replace delete_memory with delete_memory_regions.
4067         Cleanup memory regions before tests.
4068         * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
4069         before tests.
4070
4071 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4072
4073         * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4074         files.
4075         (initialize): New function conditionally defined.
4076         (testcases): Move within conditional block.
4077         (main): Call initialize.
4078         * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4079         of gdb.reverse/insn-reverse.c.
4080         * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4081         gdb.reverse/insn-reverse.c.
4082
4083 2017-01-26  Yao Qi  <yao.qi@linaro.org>
4084
4085         * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4086         disassemble on address 0.
4087
4088 2017-01-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4089             Yao Qi  <yao.qi@linaro.org>
4090
4091         * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4092         * gdb.dwarf2/implptr-64bit.S: Remove.
4093         * lib/dwarf.exp (Dwarf): Handle character "%".  Evaluate some
4094         variables in caller's context.  Add DW_OP_implicit_value.
4095
4096 2017-01-25  Yao Qi  <yao.qi@linaro.org>
4097
4098         * lib/dwarf.exp (Dwarf::_location): Handle
4099         DW_OP_GNU_implicit_pointer with proper size.
4100
4101 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4102
4103         * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
4104         and add untested calls.
4105
4106 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4107
4108         * gdb.python/python.exp: Check line number against what GDB thinks
4109         the line number is for func1.
4110
4111 2017-01-08  Iain Buclaw  <ibuclaw@gdcproject.org>
4112
4113         * gdb.dlang/debug-expr.exp: New file.
4114
4115 2016-12-23  Luis Machado  <lgustavo@codesourcery.com>
4116
4117         Fix test names for the following files:
4118
4119         * gdb.ada/exec_changed.exp
4120         * gdb.ada/info_types.exp
4121         * gdb.arch/aarch64-atomic-inst.exp
4122         * gdb.arch/aarch64-fp.exp
4123         * gdb.arch/altivec-abi.exp
4124         * gdb.arch/altivec-regs.exp
4125         * gdb.arch/amd64-byte.exp
4126         * gdb.arch/amd64-disp-step.exp
4127         * gdb.arch/amd64-dword.exp
4128         * gdb.arch/amd64-entry-value-inline.exp
4129         * gdb.arch/amd64-entry-value-param.exp
4130         * gdb.arch/amd64-entry-value-paramref.exp
4131         * gdb.arch/amd64-entry-value.exp
4132         * gdb.arch/amd64-i386-address.exp
4133         * gdb.arch/amd64-invalid-stack-middle.exp
4134         * gdb.arch/amd64-invalid-stack-top.exp
4135         * gdb.arch/amd64-optimout-repeat.exp
4136         * gdb.arch/amd64-prologue-skip.exp
4137         * gdb.arch/amd64-prologue-xmm.exp
4138         * gdb.arch/amd64-stap-special-operands.exp
4139         * gdb.arch/amd64-stap-wrong-subexp.exp
4140         * gdb.arch/amd64-tailcall-cxx.exp
4141         * gdb.arch/amd64-tailcall-noret.exp
4142         * gdb.arch/amd64-tailcall-ret.exp
4143         * gdb.arch/amd64-tailcall-self.exp
4144         * gdb.arch/amd64-word.exp
4145         * gdb.arch/arm-bl-branch-dest.exp
4146         * gdb.arch/arm-disp-step.exp
4147         * gdb.arch/arm-neon.exp
4148         * gdb.arch/arm-single-step-kernel-helper.exp
4149         * gdb.arch/avr-flash-qualifier.exp
4150         * gdb.arch/disp-step-insn-reloc.exp
4151         * gdb.arch/e500-abi.exp
4152         * gdb.arch/e500-regs.exp
4153         * gdb.arch/ftrace-insn-reloc.exp
4154         * gdb.arch/i386-avx512.exp
4155         * gdb.arch/i386-bp_permanent.exp
4156         * gdb.arch/i386-byte.exp
4157         * gdb.arch/i386-cfi-notcurrent.exp
4158         * gdb.arch/i386-disp-step.exp
4159         * gdb.arch/i386-dr3-watch.exp
4160         * gdb.arch/i386-float.exp
4161         * gdb.arch/i386-gnu-cfi.exp
4162         * gdb.arch/i386-mpx-map.exp
4163         * gdb.arch/i386-mpx-sigsegv.exp
4164         * gdb.arch/i386-mpx-simple_segv.exp
4165         * gdb.arch/i386-mpx.exp
4166         * gdb.arch/i386-permbkpt.exp
4167         * gdb.arch/i386-prologue.exp
4168         * gdb.arch/i386-signal.exp
4169         * gdb.arch/i386-size-overlap.exp
4170         * gdb.arch/i386-unwind.exp
4171         * gdb.arch/i386-word.exp
4172         * gdb.arch/mips-fcr.exp
4173         * gdb.arch/powerpc-d128-regs.exp
4174         * gdb.arch/powerpc-stackless.exp
4175         * gdb.arch/ppc64-atomic-inst.exp
4176         * gdb.arch/s390-stackless.exp
4177         * gdb.arch/s390-tdbregs.exp
4178         * gdb.arch/s390-vregs.exp
4179         * gdb.arch/sparc-sysstep.exp
4180         * gdb.arch/thumb-bx-pc.exp
4181         * gdb.arch/thumb-singlestep.exp
4182         * gdb.arch/thumb2-it.exp
4183         * gdb.arch/vsx-regs.exp
4184         * gdb.asm/asm-source.exp
4185         * gdb.base/a2-run.exp
4186         * gdb.base/advance.exp
4187         * gdb.base/all-bin.exp
4188         * gdb.base/anon.exp
4189         * gdb.base/args.exp
4190         * gdb.base/arithmet.exp
4191         * gdb.base/async-shell.exp
4192         * gdb.base/async.exp
4193         * gdb.base/attach-pie-noexec.exp
4194         * gdb.base/attach-twice.exp
4195         * gdb.base/auto-load.exp
4196         * gdb.base/bang.exp
4197         * gdb.base/bitfields.exp
4198         * gdb.base/break-always.exp
4199         * gdb.base/break-caller-line.exp
4200         * gdb.base/break-entry.exp
4201         * gdb.base/break-inline.exp
4202         * gdb.base/break-on-linker-gcd-function.exp
4203         * gdb.base/break-probes.exp
4204         * gdb.base/break.exp
4205         * gdb.base/breakpoint-shadow.exp
4206         * gdb.base/call-ar-st.exp
4207         * gdb.base/call-sc.exp
4208         * gdb.base/call-signal-resume.exp
4209         * gdb.base/call-strs.exp
4210         * gdb.base/callfuncs.exp
4211         * gdb.base/catch-fork-static.exp
4212         * gdb.base/catch-gdb-caused-signals.exp
4213         * gdb.base/catch-load.exp
4214         * gdb.base/catch-signal-fork.exp
4215         * gdb.base/catch-signal.exp
4216         * gdb.base/catch-syscall.exp
4217         * gdb.base/charset.exp
4218         * gdb.base/checkpoint.exp
4219         * gdb.base/chng-syms.exp
4220         * gdb.base/code-expr.exp
4221         * gdb.base/code_elim.exp
4222         * gdb.base/commands.exp
4223         * gdb.base/completion.exp
4224         * gdb.base/complex.exp
4225         * gdb.base/cond-expr.exp
4226         * gdb.base/condbreak.exp
4227         * gdb.base/consecutive.exp
4228         * gdb.base/continue-all-already-running.exp
4229         * gdb.base/coredump-filter.exp
4230         * gdb.base/corefile.exp
4231         * gdb.base/dbx.exp
4232         * gdb.base/debug-expr.exp
4233         * gdb.base/define.exp
4234         * gdb.base/del.exp
4235         * gdb.base/disabled-location.exp
4236         * gdb.base/disasm-end-cu.exp
4237         * gdb.base/disasm-optim.exp
4238         * gdb.base/display.exp
4239         * gdb.base/duplicate-bp.exp
4240         * gdb.base/ena-dis-br.exp
4241         * gdb.base/ending-run.exp
4242         * gdb.base/enumval.exp
4243         * gdb.base/environ.exp
4244         * gdb.base/eu-strip-infcall.exp
4245         * gdb.base/eval-avoid-side-effects.exp
4246         * gdb.base/eval-skip.exp
4247         * gdb.base/exitsignal.exp
4248         * gdb.base/expand-psymtabs.exp
4249         * gdb.base/filesym.exp
4250         * gdb.base/find-unmapped.exp
4251         * gdb.base/finish.exp
4252         * gdb.base/float.exp
4253         * gdb.base/foll-exec-mode.exp
4254         * gdb.base/foll-exec.exp
4255         * gdb.base/foll-fork.exp
4256         * gdb.base/fortran-sym-case.exp
4257         * gdb.base/freebpcmd.exp
4258         * gdb.base/func-ptr.exp
4259         * gdb.base/func-ptrs.exp
4260         * gdb.base/funcargs.exp
4261         * gdb.base/gcore-buffer-overflow.exp
4262         * gdb.base/gcore-relro-pie.exp
4263         * gdb.base/gcore-relro.exp
4264         * gdb.base/gcore.exp
4265         * gdb.base/gdb1090.exp
4266         * gdb.base/gdb11530.exp
4267         * gdb.base/gdb11531.exp
4268         * gdb.base/gdb1821.exp
4269         * gdb.base/gdbindex-stabs.exp
4270         * gdb.base/gdbvars.exp
4271         * gdb.base/hbreak.exp
4272         * gdb.base/hbreak2.exp
4273         * gdb.base/included.exp
4274         * gdb.base/infcall-input.exp
4275         * gdb.base/inferior-died.exp
4276         * gdb.base/infnan.exp
4277         * gdb.base/info-macros.exp
4278         * gdb.base/info-os.exp
4279         * gdb.base/info-proc.exp
4280         * gdb.base/info-shared.exp
4281         * gdb.base/info-target.exp
4282         * gdb.base/infoline.exp
4283         * gdb.base/interp.exp
4284         * gdb.base/interrupt.exp
4285         * gdb.base/jit-reader.exp
4286         * gdb.base/jit-simple.exp
4287         * gdb.base/kill-after-signal.exp
4288         * gdb.base/kill-detach-inferiors-cmd.exp
4289         * gdb.base/label.exp
4290         * gdb.base/langs.exp
4291         * gdb.base/ldbl_e308.exp
4292         * gdb.base/line-symtabs.exp
4293         * gdb.base/linespecs.exp
4294         * gdb.base/list.exp
4295         * gdb.base/long_long.exp
4296         * gdb.base/longest-types.exp
4297         * gdb.base/maint.exp
4298         * gdb.base/max-value-size.exp
4299         * gdb.base/memattr.exp
4300         * gdb.base/mips_pro.exp
4301         * gdb.base/morestack.exp
4302         * gdb.base/moribund-step.exp
4303         * gdb.base/multi-forks.exp
4304         * gdb.base/nested-addr.exp
4305         * gdb.base/nextoverexit.exp
4306         * gdb.base/noreturn-finish.exp
4307         * gdb.base/noreturn-return.exp
4308         * gdb.base/nostdlib.exp
4309         * gdb.base/offsets.exp
4310         * gdb.base/opaque.exp
4311         * gdb.base/pc-fp.exp
4312         * gdb.base/permissions.exp
4313         * gdb.base/print-symbol-loading.exp
4314         * gdb.base/prologue-include.exp
4315         * gdb.base/psymtab.exp
4316         * gdb.base/ptype.exp
4317         * gdb.base/random-signal.exp
4318         * gdb.base/randomize.exp
4319         * gdb.base/range-stepping.exp
4320         * gdb.base/readline-ask.exp
4321         * gdb.base/recpar.exp
4322         * gdb.base/recurse.exp
4323         * gdb.base/relational.exp
4324         * gdb.base/restore.exp
4325         * gdb.base/return-nodebug.exp
4326         * gdb.base/return.exp
4327         * gdb.base/run-after-attach.exp
4328         * gdb.base/save-bp.exp
4329         * gdb.base/scope.exp
4330         * gdb.base/sect-cmd.exp
4331         * gdb.base/set-lang-auto.exp
4332         * gdb.base/set-noassign.exp
4333         * gdb.base/setvar.exp
4334         * gdb.base/sigall.exp
4335         * gdb.base/sigbpt.exp
4336         * gdb.base/siginfo-addr.exp
4337         * gdb.base/siginfo-infcall.exp
4338         * gdb.base/siginfo-obj.exp
4339         * gdb.base/siginfo.exp
4340         * gdb.base/signals-state-child.exp
4341         * gdb.base/signest.exp
4342         * gdb.base/sigstep.exp
4343         * gdb.base/sizeof.exp
4344         * gdb.base/skip.exp
4345         * gdb.base/solib-corrupted.exp
4346         * gdb.base/solib-nodir.exp
4347         * gdb.base/solib-search.exp
4348         * gdb.base/stack-checking.exp
4349         * gdb.base/stale-infcall.exp
4350         * gdb.base/stap-probe.exp
4351         * gdb.base/start.exp
4352         * gdb.base/step-break.exp
4353         * gdb.base/step-bt.exp
4354         * gdb.base/step-line.exp
4355         * gdb.base/step-over-exit.exp
4356         * gdb.base/step-over-syscall.exp
4357         * gdb.base/step-resume-infcall.exp
4358         * gdb.base/step-test.exp
4359         * gdb.base/store.exp
4360         * gdb.base/structs3.exp
4361         * gdb.base/sym-file.exp
4362         * gdb.base/symbol-without-target_section.exp
4363         * gdb.base/term.exp
4364         * gdb.base/testenv.exp
4365         * gdb.base/ui-redirect.exp
4366         * gdb.base/until.exp
4367         * gdb.base/unwindonsignal.exp
4368         * gdb.base/value-double-free.exp
4369         * gdb.base/vla-datatypes.exp
4370         * gdb.base/vla-ptr.exp
4371         * gdb.base/vla-sideeffect.exp
4372         * gdb.base/volatile.exp
4373         * gdb.base/watch-cond-infcall.exp
4374         * gdb.base/watch-cond.exp
4375         * gdb.base/watch-non-mem.exp
4376         * gdb.base/watch-read.exp
4377         * gdb.base/watch-vfork.exp
4378         * gdb.base/watchpoint-cond-gone.exp
4379         * gdb.base/watchpoint-delete.exp
4380         * gdb.base/watchpoint-hw-hit-once.exp
4381         * gdb.base/watchpoint-hw.exp
4382         * gdb.base/watchpoint-stops-at-right-insn.exp
4383         * gdb.base/watchpoints.exp
4384         * gdb.base/wchar.exp
4385         * gdb.base/whatis-exp.exp
4386         * gdb.btrace/buffer-size.exp
4387         * gdb.btrace/data.exp
4388         * gdb.btrace/delta.exp
4389         * gdb.btrace/dlopen.exp
4390         * gdb.btrace/enable.exp
4391         * gdb.btrace/exception.exp
4392         * gdb.btrace/function_call_history.exp
4393         * gdb.btrace/gcore.exp
4394         * gdb.btrace/instruction_history.exp
4395         * gdb.btrace/nohist.exp
4396         * gdb.btrace/reconnect.exp
4397         * gdb.btrace/record_goto-step.exp
4398         * gdb.btrace/record_goto.exp
4399         * gdb.btrace/rn-dl-bind.exp
4400         * gdb.btrace/segv.exp
4401         * gdb.btrace/step.exp
4402         * gdb.btrace/stepi.exp
4403         * gdb.btrace/tailcall-only.exp
4404         * gdb.btrace/tailcall.exp
4405         * gdb.btrace/tsx.exp
4406         * gdb.btrace/unknown_functions.exp
4407         * gdb.btrace/vdso.exp
4408         * gdb.compile/compile-ifunc.exp
4409         * gdb.compile/compile-ops.exp
4410         * gdb.compile/compile-print.exp
4411         * gdb.compile/compile-setjmp.exp
4412         * gdb.cp/abstract-origin.exp
4413         * gdb.cp/ambiguous.exp
4414         * gdb.cp/annota2.exp
4415         * gdb.cp/annota3.exp
4416         * gdb.cp/anon-ns.exp
4417         * gdb.cp/anon-struct.exp
4418         * gdb.cp/anon-union.exp
4419         * gdb.cp/arg-reference.exp
4420         * gdb.cp/baseenum.exp
4421         * gdb.cp/bool.exp
4422         * gdb.cp/breakpoint.exp
4423         * gdb.cp/bs15503.exp
4424         * gdb.cp/call-c.exp
4425         * gdb.cp/casts.exp
4426         * gdb.cp/chained-calls.exp
4427         * gdb.cp/class2.exp
4428         * gdb.cp/classes.exp
4429         * gdb.cp/cmpd-minsyms.exp
4430         * gdb.cp/converts.exp
4431         * gdb.cp/cp-relocate.exp
4432         * gdb.cp/cpcompletion.exp
4433         * gdb.cp/cpexprs.exp
4434         * gdb.cp/cplabel.exp
4435         * gdb.cp/cplusfuncs.exp
4436         * gdb.cp/cpsizeof.exp
4437         * gdb.cp/ctti.exp
4438         * gdb.cp/derivation.exp
4439         * gdb.cp/destrprint.exp
4440         * gdb.cp/dispcxx.exp
4441         * gdb.cp/enum-class.exp
4442         * gdb.cp/exception.exp
4443         * gdb.cp/exceptprint.exp
4444         * gdb.cp/expand-psymtabs-cxx.exp
4445         * gdb.cp/expand-sals.exp
4446         * gdb.cp/extern-c.exp
4447         * gdb.cp/filename.exp
4448         * gdb.cp/formatted-ref.exp
4449         * gdb.cp/fpointer.exp
4450         * gdb.cp/gdb1355.exp
4451         * gdb.cp/gdb2495.exp
4452         * gdb.cp/hang.exp
4453         * gdb.cp/impl-this.exp
4454         * gdb.cp/infcall-dlopen.exp
4455         * gdb.cp/inherit.exp
4456         * gdb.cp/iostream.exp
4457         * gdb.cp/koenig.exp
4458         * gdb.cp/local.exp
4459         * gdb.cp/m-data.exp
4460         * gdb.cp/m-static.exp
4461         * gdb.cp/mb-ctor.exp
4462         * gdb.cp/mb-inline.exp
4463         * gdb.cp/mb-templates.exp
4464         * gdb.cp/member-name.exp
4465         * gdb.cp/member-ptr.exp
4466         * gdb.cp/meth-typedefs.exp
4467         * gdb.cp/method.exp
4468         * gdb.cp/method2.exp
4469         * gdb.cp/minsym-fallback.exp
4470         * gdb.cp/misc.exp
4471         * gdb.cp/namelessclass.exp
4472         * gdb.cp/namespace-enum.exp
4473         * gdb.cp/namespace-nested-import.exp
4474         * gdb.cp/namespace.exp
4475         * gdb.cp/nextoverthrow.exp
4476         * gdb.cp/no-dmgl-verbose.exp
4477         * gdb.cp/non-trivial-retval.exp
4478         * gdb.cp/noparam.exp
4479         * gdb.cp/nsdecl.exp
4480         * gdb.cp/nsimport.exp
4481         * gdb.cp/nsnested.exp
4482         * gdb.cp/nsnoimports.exp
4483         * gdb.cp/nsrecurs.exp
4484         * gdb.cp/nsstress.exp
4485         * gdb.cp/nsusing.exp
4486         * gdb.cp/operator.exp
4487         * gdb.cp/oranking.exp
4488         * gdb.cp/overload-const.exp
4489         * gdb.cp/overload.exp
4490         * gdb.cp/ovldbreak.exp
4491         * gdb.cp/ovsrch.exp
4492         * gdb.cp/paren-type.exp
4493         * gdb.cp/parse-lang.exp
4494         * gdb.cp/pass-by-ref.exp
4495         * gdb.cp/pr-1023.exp
4496         * gdb.cp/pr-1210.exp
4497         * gdb.cp/pr-574.exp
4498         * gdb.cp/pr10687.exp
4499         * gdb.cp/pr12028.exp
4500         * gdb.cp/pr17132.exp
4501         * gdb.cp/pr17494.exp
4502         * gdb.cp/pr9067.exp
4503         * gdb.cp/pr9167.exp
4504         * gdb.cp/pr9631.exp
4505         * gdb.cp/printmethod.exp
4506         * gdb.cp/psmang.exp
4507         * gdb.cp/psymtab-parameter.exp
4508         * gdb.cp/ptype-cv-cp.exp
4509         * gdb.cp/ptype-flags.exp
4510         * gdb.cp/re-set-overloaded.exp
4511         * gdb.cp/ref-types.exp
4512         * gdb.cp/rtti.exp
4513         * gdb.cp/scope-err.exp
4514         * gdb.cp/shadow.exp
4515         * gdb.cp/smartp.exp
4516         * gdb.cp/static-method.exp
4517         * gdb.cp/static-print-quit.exp
4518         * gdb.cp/temargs.exp
4519         * gdb.cp/templates.exp
4520         * gdb.cp/try_catch.exp
4521         * gdb.cp/typedef-operator.exp
4522         * gdb.cp/typeid.exp
4523         * gdb.cp/userdef.exp
4524         * gdb.cp/using-crash.exp
4525         * gdb.cp/var-tag.exp
4526         * gdb.cp/virtbase.exp
4527         * gdb.cp/virtfunc.exp
4528         * gdb.cp/virtfunc2.exp
4529         * gdb.cp/vla-cxx.exp
4530         * gdb.disasm/t01_mov.exp
4531         * gdb.disasm/t02_mova.exp
4532         * gdb.disasm/t03_add.exp
4533         * gdb.disasm/t04_sub.exp
4534         * gdb.disasm/t05_cmp.exp
4535         * gdb.disasm/t06_ari2.exp
4536         * gdb.disasm/t07_ari3.exp
4537         * gdb.disasm/t08_or.exp
4538         * gdb.disasm/t09_xor.exp
4539         * gdb.disasm/t10_and.exp
4540         * gdb.disasm/t11_logs.exp
4541         * gdb.disasm/t12_bit.exp
4542         * gdb.disasm/t13_otr.exp
4543         * gdb.dlang/circular.exp
4544         * gdb.dwarf2/arr-stride.exp
4545         * gdb.dwarf2/arr-subrange.exp
4546         * gdb.dwarf2/atomic-type.exp
4547         * gdb.dwarf2/bad-regnum.exp
4548         * gdb.dwarf2/bitfield-parent-optimized-out.exp
4549         * gdb.dwarf2/callframecfa.exp
4550         * gdb.dwarf2/clztest.exp
4551         * gdb.dwarf2/corrupt.exp
4552         * gdb.dwarf2/data-loc.exp
4553         * gdb.dwarf2/dup-psym.exp
4554         * gdb.dwarf2/dw2-anon-mptr.exp
4555         * gdb.dwarf2/dw2-anonymous-func.exp
4556         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4557         * gdb.dwarf2/dw2-bad-unresolved.exp
4558         * gdb.dwarf2/dw2-basic.exp
4559         * gdb.dwarf2/dw2-canonicalize-type.exp
4560         * gdb.dwarf2/dw2-case-insensitive.exp
4561         * gdb.dwarf2/dw2-common-block.exp
4562         * gdb.dwarf2/dw2-compdir-oldgcc.exp
4563         * gdb.dwarf2/dw2-compressed.exp
4564         * gdb.dwarf2/dw2-const.exp
4565         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4566         * gdb.dwarf2/dw2-cu-size.exp
4567         * gdb.dwarf2/dw2-dup-frame.exp
4568         * gdb.dwarf2/dw2-entry-value.exp
4569         * gdb.dwarf2/dw2-icycle.exp
4570         * gdb.dwarf2/dw2-ifort-parameter.exp
4571         * gdb.dwarf2/dw2-inline-break.exp
4572         * gdb.dwarf2/dw2-inline-param.exp
4573         * gdb.dwarf2/dw2-intercu.exp
4574         * gdb.dwarf2/dw2-intermix.exp
4575         * gdb.dwarf2/dw2-lexical-block-bare.exp
4576         * gdb.dwarf2/dw2-linkage-name-trust.exp
4577         * gdb.dwarf2/dw2-minsym-in-cu.exp
4578         * gdb.dwarf2/dw2-noloc.exp
4579         * gdb.dwarf2/dw2-op-call.exp
4580         * gdb.dwarf2/dw2-op-out-param.exp
4581         * gdb.dwarf2/dw2-opt-structptr.exp
4582         * gdb.dwarf2/dw2-param-error.exp
4583         * gdb.dwarf2/dw2-producer.exp
4584         * gdb.dwarf2/dw2-ranges-base.exp
4585         * gdb.dwarf2/dw2-ref-missing-frame.exp
4586         * gdb.dwarf2/dw2-reg-undefined.exp
4587         * gdb.dwarf2/dw2-regno-invalid.exp
4588         * gdb.dwarf2/dw2-restore.exp
4589         * gdb.dwarf2/dw2-restrict.exp
4590         * gdb.dwarf2/dw2-single-line-discriminators.exp
4591         * gdb.dwarf2/dw2-strp.exp
4592         * gdb.dwarf2/dw2-undefined-ret-addr.exp
4593         * gdb.dwarf2/dw2-unresolved.exp
4594         * gdb.dwarf2/dw2-var-zero-addr.exp
4595         * gdb.dwarf2/dw4-sig-types.exp
4596         * gdb.dwarf2/dwz.exp
4597         * gdb.dwarf2/dynarr-ptr.exp
4598         * gdb.dwarf2/enum-type.exp
4599         * gdb.dwarf2/gdb-index.exp
4600         * gdb.dwarf2/implptr-64bit.exp
4601         * gdb.dwarf2/implptr-optimized-out.exp
4602         * gdb.dwarf2/implptr.exp
4603         * gdb.dwarf2/implref-array.exp
4604         * gdb.dwarf2/implref-const.exp
4605         * gdb.dwarf2/implref-global.exp
4606         * gdb.dwarf2/implref-struct.exp
4607         * gdb.dwarf2/mac-fileno.exp
4608         * gdb.dwarf2/main-subprogram.exp
4609         * gdb.dwarf2/member-ptr-forwardref.exp
4610         * gdb.dwarf2/method-ptr.exp
4611         * gdb.dwarf2/missing-sig-type.exp
4612         * gdb.dwarf2/nonvar-access.exp
4613         * gdb.dwarf2/opaque-type-lookup.exp
4614         * gdb.dwarf2/pieces-optimized-out.exp
4615         * gdb.dwarf2/pieces.exp
4616         * gdb.dwarf2/pr10770.exp
4617         * gdb.dwarf2/pr13961.exp
4618         * gdb.dwarf2/staticvirtual.exp
4619         * gdb.dwarf2/subrange.exp
4620         * gdb.dwarf2/symtab-producer.exp
4621         * gdb.dwarf2/trace-crash.exp
4622         * gdb.dwarf2/typeddwarf.exp
4623         * gdb.dwarf2/valop.exp
4624         * gdb.dwarf2/watch-notconst.exp
4625         * gdb.fortran/array-element.exp
4626         * gdb.fortran/charset.exp
4627         * gdb.fortran/common-block.exp
4628         * gdb.fortran/complex.exp
4629         * gdb.fortran/derived-type-function.exp
4630         * gdb.fortran/derived-type.exp
4631         * gdb.fortran/logical.exp
4632         * gdb.fortran/module.exp
4633         * gdb.fortran/multi-dim.exp
4634         * gdb.fortran/nested-funcs.exp
4635         * gdb.fortran/print-formatted.exp
4636         * gdb.fortran/subarray.exp
4637         * gdb.fortran/vla-alloc-assoc.exp
4638         * gdb.fortran/vla-datatypes.exp
4639         * gdb.fortran/vla-history.exp
4640         * gdb.fortran/vla-ptr-info.exp
4641         * gdb.fortran/vla-ptype-sub.exp
4642         * gdb.fortran/vla-ptype.exp
4643         * gdb.fortran/vla-sizeof.exp
4644         * gdb.fortran/vla-type.exp
4645         * gdb.fortran/vla-value-sub-arbitrary.exp
4646         * gdb.fortran/vla-value-sub-finish.exp
4647         * gdb.fortran/vla-value-sub.exp
4648         * gdb.fortran/vla-value.exp
4649         * gdb.fortran/whatis_type.exp
4650         * gdb.go/chan.exp
4651         * gdb.go/handcall.exp
4652         * gdb.go/hello.exp
4653         * gdb.go/integers.exp
4654         * gdb.go/methods.exp
4655         * gdb.go/package.exp
4656         * gdb.go/strings.exp
4657         * gdb.go/types.exp
4658         * gdb.go/unsafe.exp
4659         * gdb.guile/scm-arch.exp
4660         * gdb.guile/scm-block.exp
4661         * gdb.guile/scm-breakpoint.exp
4662         * gdb.guile/scm-cmd.exp
4663         * gdb.guile/scm-disasm.exp
4664         * gdb.guile/scm-equal.exp
4665         * gdb.guile/scm-frame-args.exp
4666         * gdb.guile/scm-frame-inline.exp
4667         * gdb.guile/scm-frame.exp
4668         * gdb.guile/scm-iterator.exp
4669         * gdb.guile/scm-math.exp
4670         * gdb.guile/scm-objfile.exp
4671         * gdb.guile/scm-ports.exp
4672         * gdb.guile/scm-symbol.exp
4673         * gdb.guile/scm-symtab.exp
4674         * gdb.guile/scm-value-cc.exp
4675         * gdb.guile/types-module.exp
4676         * gdb.linespec/break-ask.exp
4677         * gdb.linespec/cpexplicit.exp
4678         * gdb.linespec/explicit.exp
4679         * gdb.linespec/keywords.exp
4680         * gdb.linespec/linespec.exp
4681         * gdb.linespec/ls-dollar.exp
4682         * gdb.linespec/ls-errs.exp
4683         * gdb.linespec/skip-two.exp
4684         * gdb.linespec/thread.exp
4685         * gdb.mi/mi-async.exp
4686         * gdb.mi/mi-basics.exp
4687         * gdb.mi/mi-break.exp
4688         * gdb.mi/mi-catch-load.exp
4689         * gdb.mi/mi-cli.exp
4690         * gdb.mi/mi-cmd-param-changed.exp
4691         * gdb.mi/mi-console.exp
4692         * gdb.mi/mi-detach.exp
4693         * gdb.mi/mi-disassemble.exp
4694         * gdb.mi/mi-eval.exp
4695         * gdb.mi/mi-file-transfer.exp
4696         * gdb.mi/mi-file.exp
4697         * gdb.mi/mi-fill-memory.exp
4698         * gdb.mi/mi-inheritance-syntax-error.exp
4699         * gdb.mi/mi-linespec-err-cp.exp
4700         * gdb.mi/mi-logging.exp
4701         * gdb.mi/mi-memory-changed.exp
4702         * gdb.mi/mi-read-memory.exp
4703         * gdb.mi/mi-record-changed.exp
4704         * gdb.mi/mi-reg-undefined.exp
4705         * gdb.mi/mi-regs.exp
4706         * gdb.mi/mi-return.exp
4707         * gdb.mi/mi-reverse.exp
4708         * gdb.mi/mi-simplerun.exp
4709         * gdb.mi/mi-solib.exp
4710         * gdb.mi/mi-stack.exp
4711         * gdb.mi/mi-stepi.exp
4712         * gdb.mi/mi-syn-frame.exp
4713         * gdb.mi/mi-until.exp
4714         * gdb.mi/mi-var-block.exp
4715         * gdb.mi/mi-var-child.exp
4716         * gdb.mi/mi-var-cmd.exp
4717         * gdb.mi/mi-var-cp.exp
4718         * gdb.mi/mi-var-display.exp
4719         * gdb.mi/mi-var-invalidate.exp
4720         * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4721         * gdb.mi/mi-vla-fortran.exp
4722         * gdb.mi/mi-watch.exp
4723         * gdb.mi/mi2-var-child.exp
4724         * gdb.mi/user-selected-context-sync.exp
4725         * gdb.modula2/unbounded-array.exp
4726         * gdb.multi/dummy-frame-restore.exp
4727         * gdb.multi/multi-arch-exec.exp
4728         * gdb.multi/multi-arch.exp
4729         * gdb.multi/tids.exp
4730         * gdb.multi/watchpoint-multi.exp
4731         * gdb.opencl/callfuncs.exp
4732         * gdb.opencl/convs_casts.exp
4733         * gdb.opencl/datatypes.exp
4734         * gdb.opencl/operators.exp
4735         * gdb.opencl/vec_comps.exp
4736         * gdb.opt/clobbered-registers-O2.exp
4737         * gdb.opt/inline-break.exp
4738         * gdb.opt/inline-bt.exp
4739         * gdb.opt/inline-cmds.exp
4740         * gdb.opt/inline-locals.exp
4741         * gdb.pascal/case-insensitive-symbols.exp
4742         * gdb.pascal/floats.exp
4743         * gdb.pascal/gdb11492.exp
4744         * gdb.python/lib-types.exp
4745         * gdb.python/py-arch.exp
4746         * gdb.python/py-as-string.exp
4747         * gdb.python/py-bad-printers.exp
4748         * gdb.python/py-block.exp
4749         * gdb.python/py-breakpoint-create-fail.exp
4750         * gdb.python/py-breakpoint.exp
4751         * gdb.python/py-caller-is.exp
4752         * gdb.python/py-cmd.exp
4753         * gdb.python/py-explore-cc.exp
4754         * gdb.python/py-explore.exp
4755         * gdb.python/py-finish-breakpoint.exp
4756         * gdb.python/py-finish-breakpoint2.exp
4757         * gdb.python/py-frame-args.exp
4758         * gdb.python/py-frame-inline.exp
4759         * gdb.python/py-frame.exp
4760         * gdb.python/py-framefilter-mi.exp
4761         * gdb.python/py-infthread.exp
4762         * gdb.python/py-lazy-string.exp
4763         * gdb.python/py-linetable.exp
4764         * gdb.python/py-mi-events.exp
4765         * gdb.python/py-mi-objfile.exp
4766         * gdb.python/py-mi.exp
4767         * gdb.python/py-objfile.exp
4768         * gdb.python/py-pp-integral.exp
4769         * gdb.python/py-pp-maint.exp
4770         * gdb.python/py-pp-re-notag.exp
4771         * gdb.python/py-pp-registration.exp
4772         * gdb.python/py-recurse-unwind.exp
4773         * gdb.python/py-strfns.exp
4774         * gdb.python/py-symbol.exp
4775         * gdb.python/py-symtab.exp
4776         * gdb.python/py-sync-interp.exp
4777         * gdb.python/py-typeprint.exp
4778         * gdb.python/py-unwind-maint.exp
4779         * gdb.python/py-unwind.exp
4780         * gdb.python/py-value-cc.exp
4781         * gdb.python/py-xmethods.exp
4782         * gdb.reverse/amd64-tailcall-reverse.exp
4783         * gdb.reverse/break-precsave.exp
4784         * gdb.reverse/break-reverse.exp
4785         * gdb.reverse/consecutive-precsave.exp
4786         * gdb.reverse/consecutive-reverse.exp
4787         * gdb.reverse/finish-precsave.exp
4788         * gdb.reverse/finish-reverse-bkpt.exp
4789         * gdb.reverse/finish-reverse.exp
4790         * gdb.reverse/fstatat-reverse.exp
4791         * gdb.reverse/getresuid-reverse.exp
4792         * gdb.reverse/i386-precsave.exp
4793         * gdb.reverse/i386-reverse.exp
4794         * gdb.reverse/i386-sse-reverse.exp
4795         * gdb.reverse/i387-env-reverse.exp
4796         * gdb.reverse/i387-stack-reverse.exp
4797         * gdb.reverse/insn-reverse.exp
4798         * gdb.reverse/machinestate-precsave.exp
4799         * gdb.reverse/machinestate.exp
4800         * gdb.reverse/next-reverse-bkpt-over-sr.exp
4801         * gdb.reverse/pipe-reverse.exp
4802         * gdb.reverse/readv-reverse.exp
4803         * gdb.reverse/recvmsg-reverse.exp
4804         * gdb.reverse/rerun-prec.exp
4805         * gdb.reverse/s390-mvcle.exp
4806         * gdb.reverse/step-precsave.exp
4807         * gdb.reverse/step-reverse.exp
4808         * gdb.reverse/time-reverse.exp
4809         * gdb.reverse/until-precsave.exp
4810         * gdb.reverse/until-reverse.exp
4811         * gdb.reverse/waitpid-reverse.exp
4812         * gdb.reverse/watch-precsave.exp
4813         * gdb.reverse/watch-reverse.exp
4814         * gdb.rust/generics.exp
4815         * gdb.rust/methods.exp
4816         * gdb.rust/modules.exp
4817         * gdb.rust/simple.exp
4818         * gdb.server/connect-with-no-symbol-file.exp
4819         * gdb.server/ext-attach.exp
4820         * gdb.server/ext-restart.exp
4821         * gdb.server/ext-wrapper.exp
4822         * gdb.server/file-transfer.exp
4823         * gdb.server/server-exec-info.exp
4824         * gdb.server/server-kill.exp
4825         * gdb.server/server-mon.exp
4826         * gdb.server/wrapper.exp
4827         * gdb.stabs/exclfwd.exp
4828         * gdb.stabs/gdb11479.exp
4829         * gdb.threads/clone-new-thread-event.exp
4830         * gdb.threads/corethreads.exp
4831         * gdb.threads/current-lwp-dead.exp
4832         * gdb.threads/dlopen-libpthread.exp
4833         * gdb.threads/gcore-thread.exp
4834         * gdb.threads/sigstep-threads.exp
4835         * gdb.threads/watchpoint-fork.exp
4836         * gdb.trace/actions-changed.exp
4837         * gdb.trace/backtrace.exp
4838         * gdb.trace/change-loc.exp
4839         * gdb.trace/circ.exp
4840         * gdb.trace/collection.exp
4841         * gdb.trace/disconnected-tracing.exp
4842         * gdb.trace/ftrace.exp
4843         * gdb.trace/mi-trace-frame-collected.exp
4844         * gdb.trace/mi-trace-unavailable.exp
4845         * gdb.trace/mi-traceframe-changed.exp
4846         * gdb.trace/mi-tsv-changed.exp
4847         * gdb.trace/no-attach-trace.exp
4848         * gdb.trace/passc-dyn.exp
4849         * gdb.trace/qtro.exp
4850         * gdb.trace/range-stepping.exp
4851         * gdb.trace/read-memory.exp
4852         * gdb.trace/save-trace.exp
4853         * gdb.trace/signal.exp
4854         * gdb.trace/status-stop.exp
4855         * gdb.trace/tfile.exp
4856         * gdb.trace/trace-break.exp
4857         * gdb.trace/trace-buffer-size.exp
4858         * gdb.trace/trace-condition.exp
4859         * gdb.trace/tracefile-pseudo-reg.exp
4860         * gdb.trace/tstatus.exp
4861         * gdb.trace/unavailable.exp
4862         * gdb.trace/while-dyn.exp
4863         * gdb.trace/while-stepping.exp
4864
4865 2016-12-22  Doug Evans  <xdje42@gmail.com>
4866
4867         * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4868         and msymbols.
4869
4870 2016-12-19  Yao Qi  <yao.qi@linaro.org>
4871
4872         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4873         (test_with_self): Don't call do_steps_and_nexts, and remove
4874         code about stepping into xmalloc.
4875
4876 2016-12-09  Yao Qi  <yao.qi@linaro.org>
4877
4878         * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4879
4880 2016-12-09  Yao Qi  <yao.qi@linaro.org>
4881
4882         * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4883
4884 2016-12-09  Pedro Alves  <palves@redhat.com>
4885
4886         * gdb.base/all-architectures-0.exp: New file.
4887         * gdb.base/all-architectures-1.exp: New file.
4888         * gdb.base/all-architectures-2.exp: New file.
4889         * gdb.base/all-architectures-3.exp: New file.
4890         * gdb.base/all-architectures-4.exp: New file.
4891         * gdb.base/all-architectures-5.exp: New file.
4892         * gdb.base/all-architectures-6.exp: New file.
4893         * gdb.base/all-architectures-7.exp: New file.
4894         * gdb.base/all-architectures.exp.in: New file.
4895
4896 2016-12-09  Yao Qi  <yao.qi@linaro.org>
4897
4898         * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4899
4900 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
4901
4902         * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4903         possible.
4904         Remove useless pattern-matching code.
4905
4906 2016-12-02  Pedro Alves  <palves@redhat.com>
4907
4908         * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4909         procedure.
4910         (top level): Call it.
4911
4912 2016-12-02  Pedro Alves  <palves@redhat.com>
4913
4914         * gdb.base/commands.exp (user_defined_command_args_stack_test):
4915         New procedure.
4916         (top level): Call it.
4917
4918 2016-12-02  Pedro Alves  <palves@redhat.com>
4919
4920         PR cli/20559
4921         * gdb.base/commands.exp (user_defined_command_args_eval): New
4922         procedure.
4923         (top level): Call it.
4924
4925 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
4926
4927         * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4928         timeout handling.
4929
4930 2016-12-02  Tom Tromey  <tom@tromey.com>
4931
4932         * gdb.dwarf2/main-subprogram.c: New file.
4933         * gdb.dwarf2/main-subprogram.exp: New file.
4934
4935 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
4936
4937         * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4938         * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
4939         gdb_test_no_output for a couple of cases.
4940         * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
4941
4942 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
4943
4944         Fix test names and standardize compilation error messages throughout
4945         the following files:
4946
4947         * gdb.ada/start.exp
4948         * gdb.arch/alpha-step.exp
4949         * gdb.arch/e500-prologue.exp
4950         * gdb.arch/ftrace-insn-reloc.exp
4951         * gdb.arch/gdb1291.exp
4952         * gdb.arch/gdb1431.exp
4953         * gdb.arch/gdb1558.exp
4954         * gdb.arch/i386-dr3-watch.exp
4955         * gdb.arch/i386-sse-stack-align.exp
4956         * gdb.arch/ia64-breakpoint-shadow.exp
4957         * gdb.arch/pa-nullify.exp
4958         * gdb.arch/powerpc-aix-prologue.exp
4959         * gdb.arch/thumb-bx-pc.exp
4960         * gdb.base/annota1.exp
4961         * gdb.base/annota3.exp
4962         * gdb.base/arrayidx.exp
4963         * gdb.base/assign.exp
4964         * gdb.base/attach.exp
4965         * gdb.base/auxv.exp
4966         * gdb.base/bang.exp
4967         * gdb.base/bfp-test.exp
4968         * gdb.base/bigcore.exp
4969         * gdb.base/bitfields2.exp
4970         * gdb.base/break-fun-addr.exp
4971         * gdb.base/break-probes.exp
4972         * gdb.base/call-rt-st.exp
4973         * gdb.base/callexit.exp
4974         * gdb.base/catch-fork-kill.exp
4975         * gdb.base/charset.exp
4976         * gdb.base/checkpoint.exp
4977         * gdb.base/comprdebug.exp
4978         * gdb.base/constvars.exp
4979         * gdb.base/coredump-filter.exp
4980         * gdb.base/cursal.exp
4981         * gdb.base/cvexpr.exp
4982         * gdb.base/detach.exp
4983         * gdb.base/display.exp
4984         * gdb.base/dmsym.exp
4985         * gdb.base/dprintf-pending.exp
4986         * gdb.base/dso2dso.exp
4987         * gdb.base/dtrace-probe.exp
4988         * gdb.base/dump.exp
4989         * gdb.base/enum_cond.exp
4990         * gdb.base/exe-lock.exp
4991         * gdb.base/exec-invalid-sysroot.exp
4992         * gdb.base/execl-update-breakpoints.exp
4993         * gdb.base/exprs.exp
4994         * gdb.base/fileio.exp
4995         * gdb.base/find.exp
4996         * gdb.base/finish.exp
4997         * gdb.base/fixsection.exp
4998         * gdb.base/foll-vfork.exp
4999         * gdb.base/frame-args.exp
5000         * gdb.base/gcore.exp
5001         * gdb.base/gdb1250.exp
5002         * gdb.base/global-var-nested-by-dso.exp
5003         * gdb.base/gnu-ifunc.exp
5004         * gdb.base/hashline1.exp
5005         * gdb.base/hashline2.exp
5006         * gdb.base/hashline3.exp
5007         * gdb.base/hbreak-in-shr-unsupported.exp
5008         * gdb.base/huge.exp
5009         * gdb.base/infcall-input.exp
5010         * gdb.base/info-fun.exp
5011         * gdb.base/info-shared.exp
5012         * gdb.base/jit-simple.exp
5013         * gdb.base/jit-so.exp
5014         * gdb.base/jit.exp
5015         * gdb.base/jump.exp
5016         * gdb.base/label.exp
5017         * gdb.base/lineinc.exp
5018         * gdb.base/logical.exp
5019         * gdb.base/longjmp.exp
5020         * gdb.base/macscp.exp
5021         * gdb.base/miscexprs.exp
5022         * gdb.base/new-ui-echo.exp
5023         * gdb.base/new-ui-pending-input.exp
5024         * gdb.base/new-ui.exp
5025         * gdb.base/nodebug.exp
5026         * gdb.base/nofield.exp
5027         * gdb.base/offsets.exp
5028         * gdb.base/overlays.exp
5029         * gdb.base/pending.exp
5030         * gdb.base/pointers.exp
5031         * gdb.base/pr11022.exp
5032         * gdb.base/printcmds.exp
5033         * gdb.base/prologue.exp
5034         * gdb.base/ptr-typedef.exp
5035         * gdb.base/realname-expand.exp
5036         * gdb.base/relativedebug.exp
5037         * gdb.base/relocate.exp
5038         * gdb.base/remote.exp
5039         * gdb.base/reread.exp
5040         * gdb.base/return2.exp
5041         * gdb.base/savedregs.exp
5042         * gdb.base/sep.exp
5043         * gdb.base/sepdebug.exp
5044         * gdb.base/sepsymtab.exp
5045         * gdb.base/set-inferior-tty.exp
5046         * gdb.base/setshow.exp
5047         * gdb.base/shlib-call.exp
5048         * gdb.base/sigaltstack.exp
5049         * gdb.base/siginfo-addr.exp
5050         * gdb.base/signals.exp
5051         * gdb.base/signull.exp
5052         * gdb.base/sigrepeat.exp
5053         * gdb.base/so-impl-ld.exp
5054         * gdb.base/solib-display.exp
5055         * gdb.base/solib-overlap.exp
5056         * gdb.base/solib-search.exp
5057         * gdb.base/solib-symbol.exp
5058         * gdb.base/structs.exp
5059         * gdb.base/structs2.exp
5060         * gdb.base/symtab-search-order.exp
5061         * gdb.base/twice.exp
5062         * gdb.base/unload.exp
5063         * gdb.base/varargs.exp
5064         * gdb.base/watchpoint-solib.exp
5065         * gdb.base/watchpoint.exp
5066         * gdb.base/whatis.exp
5067         * gdb.base/wrong_frame_bt_full.exp
5068         * gdb.btrace/dlopen.exp
5069         * gdb.cell/ea-standalone.exp
5070         * gdb.cell/ea-test.exp
5071         * gdb.cp/dispcxx.exp
5072         * gdb.cp/gdb2384.exp
5073         * gdb.cp/method2.exp
5074         * gdb.cp/nextoverthrow.exp
5075         * gdb.cp/pr10728.exp
5076         * gdb.disasm/am33.exp
5077         * gdb.disasm/h8300s.exp
5078         * gdb.disasm/mn10300.exp
5079         * gdb.disasm/sh3.exp
5080         * gdb.dwarf2/dw2-dir-file-name.exp
5081         * gdb.fortran/complex.exp
5082         * gdb.fortran/library-module.exp
5083         * gdb.guile/scm-pretty-print.exp
5084         * gdb.guile/scm-symbol.exp
5085         * gdb.guile/scm-type.exp
5086         * gdb.guile/scm-value.exp
5087         * gdb.linespec/linespec.exp
5088         * gdb.mi/gdb701.exp
5089         * gdb.mi/gdb792.exp
5090         * gdb.mi/mi-breakpoint-changed.exp
5091         * gdb.mi/mi-dprintf-pending.exp
5092         * gdb.mi/mi-dprintf.exp
5093         * gdb.mi/mi-exit-code.exp
5094         * gdb.mi/mi-pending.exp
5095         * gdb.mi/mi-solib.exp
5096         * gdb.mi/new-ui-mi-sync.exp
5097         * gdb.mi/pr11022.exp
5098         * gdb.mi/user-selected-context-sync.exp
5099         * gdb.opt/solib-intra-step.exp
5100         * gdb.python/py-events.exp
5101         * gdb.python/py-finish-breakpoint.exp
5102         * gdb.python/py-mi.exp
5103         * gdb.python/py-prettyprint.exp
5104         * gdb.python/py-shared.exp
5105         * gdb.python/py-symbol.exp
5106         * gdb.python/py-template.exp
5107         * gdb.python/py-type.exp
5108         * gdb.python/py-value.exp
5109         * gdb.reverse/solib-precsave.exp
5110         * gdb.reverse/solib-reverse.exp
5111         * gdb.server/solib-list.exp
5112         * gdb.stabs/weird.exp
5113         * gdb.threads/reconnect-signal.exp
5114         * gdb.threads/stepi-random-signal.exp
5115         * gdb.trace/actions.exp
5116         * gdb.trace/ax.exp
5117         * gdb.trace/backtrace.exp
5118         * gdb.trace/change-loc.exp
5119         * gdb.trace/deltrace.exp
5120         * gdb.trace/ftrace-lock.exp
5121         * gdb.trace/ftrace.exp
5122         * gdb.trace/infotrace.exp
5123         * gdb.trace/mi-tracepoint-changed.exp
5124         * gdb.trace/packetlen.exp
5125         * gdb.trace/passcount.exp
5126         * gdb.trace/pending.exp
5127         * gdb.trace/range-stepping.exp
5128         * gdb.trace/report.exp
5129         * gdb.trace/stap-trace.exp
5130         * gdb.trace/tfind.exp
5131         * gdb.trace/trace-break.exp
5132         * gdb.trace/trace-condition.exp
5133         * gdb.trace/trace-enable-disable.exp
5134         * gdb.trace/trace-mt.exp
5135         * gdb.trace/tracecmd.exp
5136         * gdb.trace/tspeed.exp
5137         * gdb.trace/tsv.exp
5138         * lib/perftest.exp
5139
5140 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5141
5142         * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
5143         with gdb_test_no_output.
5144         Use command as test name.
5145
5146 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5147
5148         Fix test names starting with uppercase throughout the files.
5149
5150         * gdb.ada/assign_1.exp
5151         * gdb.ada/boolean_expr.exp
5152         * gdb.base/arrayidx.exp
5153         * gdb.base/del.exp
5154         * gdb.base/gcore-buffer-overflow.exp
5155         * gdb.base/testenv.exp
5156         * gdb.compile/compile.exp
5157         * gdb.python/py-framefilter-invalidarg.exp
5158         * gdb.python/py-framefilter.exp
5159
5160 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5161
5162         Fix test names starting with uppercase throughout the files.
5163
5164         * gdb.ada/array_return.exp
5165         * gdb.ada/expr_delims.exp
5166         * gdb.ada/mi_dyn_arr.exp
5167         * gdb.ada/mi_interface.exp
5168         * gdb.ada/mi_var_array.exp
5169         * gdb.ada/watch_arg.exp
5170         * gdb.arch/alpha-step.exp
5171         * gdb.arch/altivec-regs.exp
5172         * gdb.arch/e500-regs.exp
5173         * gdb.arch/powerpc-d128-regs.exp
5174         * gdb.base/arrayidx.exp
5175         * gdb.base/break.exp
5176         * gdb.base/checkpoint.exp
5177         * gdb.base/debug-expr.exp
5178         * gdb.base/dmsym.exp
5179         * gdb.base/radix.exp
5180         * gdb.base/sepdebug.exp
5181         * gdb.base/testenv.exp
5182         * gdb.base/watch_thread_num.exp
5183         * gdb.base/watchpoint-cond-gone.exp
5184         * gdb.cell/break.exp
5185         * gdb.cell/ea-cache.exp
5186         * gdb.compile/compile.exp
5187         * gdb.cp/gdb2495.exp
5188         * gdb.gdb/selftest.exp
5189         * gdb.gdb/xfullpath.exp
5190         * gdb.go/hello.exp
5191         * gdb.go/integers.exp
5192         * gdb.objc/basicclass.exp
5193         * gdb.pascal/hello.exp
5194         * gdb.pascal/integers.exp
5195         * gdb.python/py-breakpoint.exp
5196         * gdb.python/py-cmd.exp
5197         * gdb.python/py-linetable.exp
5198         * gdb.python/py-xmethods.exp
5199         * gdb.python/python.exp
5200         * gdb.reverse/consecutive-precsave.exp
5201         * gdb.reverse/finish-precsave.exp
5202         * gdb.reverse/i386-precsave.exp
5203         * gdb.reverse/machinestate-precsave.exp
5204         * gdb.reverse/sigall-precsave.exp
5205         * gdb.reverse/solib-precsave.exp
5206         * gdb.reverse/step-precsave.exp
5207         * gdb.reverse/until-precsave.exp
5208         * gdb.reverse/watch-precsave.exp
5209         * gdb.threads/leader-exit.exp
5210         * gdb.threads/pthreads.exp
5211         * gdb.threads/wp-replication.exp
5212         * gdb.trace/actions.exp
5213         * gdb.trace/mi-tsv-changed.exp
5214         * gdb.trace/tsv.exp
5215
5216 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5217
5218         Fix test names starting with uppercase throughout the files.
5219
5220         * gdb.arch/i386-bp_permanent.exp
5221         * gdb.arch/i386-gnu-cfi.exp
5222         * gdb.base/disasm-end-cu.exp
5223         * gdb.base/macscp.exp
5224         * gdb.base/pending.exp
5225         * gdb.base/watch_thread_num.exp
5226         * gdb.cp/exception.exp
5227         * gdb.cp/gdb2495.exp
5228         * gdb.cp/local.exp
5229         * gdb.python/py-evsignal.exp
5230         * gdb.python/python.exp
5231         * gdb.trace/tracecmd.exp
5232
5233 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5234
5235         Fix test names starting with uppercase throughout the files.
5236
5237         * gdb.base/charset.exp
5238         * gdb.base/eval.exp
5239         * gdb.base/multi-forks.exp
5240         * gdb.guile/scm-progspace.exp
5241         * gdb.opencl/datatypes.exp
5242         * gdb.python/py-block.exp
5243         * gdb.python/py-function.exp
5244         * gdb.python/py-symbol.exp
5245         * gdb.python/py-symtab.exp
5246         * gdb.python/py-xmethods.exp
5247         * gdb.reverse/break-precsave.exp
5248         * gdb.reverse/break-reverse.exp
5249         * gdb.reverse/consecutive-precsave.exp
5250         * gdb.reverse/consecutive-reverse.exp
5251         * gdb.reverse/finish-precsave.exp
5252         * gdb.reverse/finish-reverse-bkpt.exp
5253         * gdb.reverse/finish-reverse.exp
5254         * gdb.reverse/fstatat-reverse.exp
5255         * gdb.reverse/getresuid-reverse.exp
5256         * gdb.reverse/i386-precsave.exp
5257         * gdb.reverse/i386-reverse.exp
5258         * gdb.reverse/i386-sse-reverse.exp
5259         * gdb.reverse/i387-stack-reverse.exp
5260         * gdb.reverse/insn-reverse.exp
5261         * gdb.reverse/machinestate-precsave.exp
5262         * gdb.reverse/machinestate.exp
5263         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5264         * gdb.reverse/pipe-reverse.exp
5265         * gdb.reverse/readv-reverse.exp
5266         * gdb.reverse/recvmsg-reverse.exp
5267         * gdb.reverse/rerun-prec.exp
5268         * gdb.reverse/s390-mvcle.exp
5269         * gdb.reverse/sigall-precsave.exp
5270         * gdb.reverse/sigall-reverse.exp
5271         * gdb.reverse/solib-precsave.exp
5272         * gdb.reverse/solib-reverse.exp
5273         * gdb.reverse/step-precsave.exp
5274         * gdb.reverse/step-reverse.exp
5275         * gdb.reverse/time-reverse.exp
5276         * gdb.reverse/until-precsave.exp
5277         * gdb.reverse/until-reverse.exp
5278         * gdb.reverse/waitpid-reverse.exp
5279         * gdb.reverse/watch-precsave.exp
5280         * gdb.reverse/watch-reverse.exp
5281
5282 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5283
5284         Fix test names starting with uppercase throughout the files.
5285
5286         * gdb.arch/i386-mpx-simple_segv.exp
5287         * gdb.arch/i386-mpx.exp
5288         * gdb.arch/i386-permbkpt.exp
5289         * gdb.arch/pa-nullify.exp
5290         * gdb.arch/powerpc-d128-regs.exp
5291         * gdb.arch/vsx-regs.exp
5292         * gdb.base/bfp-test.exp
5293         * gdb.base/break.exp
5294         * gdb.base/breakpoint-shadow.exp
5295         * gdb.base/callfuncs.exp
5296         * gdb.base/charset.exp
5297         * gdb.base/commands.exp
5298         * gdb.base/completion.exp
5299         * gdb.base/dfp-test.exp
5300         * gdb.base/echo.exp
5301         * gdb.base/ending-run.exp
5302         * gdb.base/eval.exp
5303         * gdb.base/expand-psymtabs.exp
5304         * gdb.base/float128.exp
5305         * gdb.base/floatn.exp
5306         * gdb.base/foll-exec-mode.exp
5307         * gdb.base/gdb1056.exp
5308         * gdb.base/gdb11531.exp
5309         * gdb.base/kill-after-signal.exp
5310         * gdb.base/multi-forks.exp
5311         * gdb.base/overlays.exp
5312         * gdb.base/pending.exp
5313         * gdb.base/sepdebug.exp
5314         * gdb.base/testenv.exp
5315         * gdb.base/valgrind-db-attach.exp
5316         * gdb.base/watch_thread_num.exp
5317         * gdb.base/watchpoint-cond-gone.exp
5318         * gdb.base/watchpoint.exp
5319         * gdb.base/watchpoints.exp
5320         * gdb.cp/arg-reference.exp
5321         * gdb.cp/baseenum.exp
5322         * gdb.cp/operator.exp
5323         * gdb.cp/shadow.exp
5324         * gdb.dwarf2/dw2-op-out-param.exp
5325         * gdb.dwarf2/dw2-reg-undefined.exp
5326         * gdb.go/chan.exp
5327         * gdb.go/hello.exp
5328         * gdb.go/integers.exp
5329         * gdb.go/methods.exp
5330         * gdb.go/package.exp
5331         * gdb.guile/scm-parameter.exp
5332         * gdb.guile/scm-progspace.exp
5333         * gdb.guile/scm-value.exp
5334         * gdb.mi/mi-pending.exp
5335         * gdb.mi/user-selected-context-sync.exp
5336         * gdb.multi/multi-attach.exp
5337         * gdb.multi/tids.exp
5338         * gdb.opt/clobbered-registers-O2.exp
5339         * gdb.pascal/floats.exp
5340         * gdb.pascal/integers.exp
5341         * gdb.python/py-block.exp
5342         * gdb.python/py-events.exp
5343         * gdb.python/py-parameter.exp
5344         * gdb.python/py-symbol.exp
5345         * gdb.python/py-symtab.exp
5346         * gdb.python/py-type.exp
5347         * gdb.python/py-value.exp
5348         * gdb.python/py-xmethods.exp
5349         * gdb.python/python.exp
5350         * gdb.reverse/break-precsave.exp
5351         * gdb.reverse/consecutive-precsave.exp
5352         * gdb.reverse/finish-precsave.exp
5353         * gdb.reverse/i386-precsave.exp
5354         * gdb.reverse/machinestate-precsave.exp
5355         * gdb.reverse/sigall-precsave.exp
5356         * gdb.reverse/solib-precsave.exp
5357         * gdb.reverse/step-precsave.exp
5358         * gdb.reverse/until-precsave.exp
5359         * gdb.reverse/watch-precsave.exp
5360         * gdb.server/ext-attach.exp
5361         * gdb.server/ext-restart.exp
5362         * gdb.server/ext-run.exp
5363         * gdb.server/ext-wrapper.exp
5364         * gdb.stabs/gdb11479.exp
5365         * gdb.stabs/weird.exp
5366         * gdb.threads/attach-many-short-lived-threads.exp
5367         * gdb.threads/kill.exp
5368         * gdb.threads/watchpoint-fork.exp
5369
5370 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5371
5372         Fix test names starting with uppercase throughout all the files below.
5373
5374         * gdb.ada/array_return.exp
5375         * gdb.ada/catch_ex.exp
5376         * gdb.ada/info_exc.exp
5377         * gdb.ada/mi_catch_ex.exp
5378         * gdb.ada/mi_dyn_arr.exp
5379         * gdb.ada/mi_ex_cond.exp
5380         * gdb.ada/mi_exc_info.exp
5381         * gdb.ada/mi_interface.exp
5382         * gdb.ada/mi_task_arg.exp
5383         * gdb.ada/mi_task_info.exp
5384         * gdb.ada/mi_var_array.exp
5385         * gdb.arch/alpha-step.exp
5386         * gdb.arch/amd64-disp-step.exp
5387         * gdb.arch/arm-disp-step.exp
5388         * gdb.arch/disp-step-insn-reloc.exp
5389         * gdb.arch/e500-prologue.exp
5390         * gdb.arch/ftrace-insn-reloc.exp
5391         * gdb.arch/gdb1558.exp
5392         * gdb.arch/i386-bp_permanent.exp
5393         * gdb.arch/i386-disp-step.exp
5394         * gdb.arch/i386-float.exp
5395         * gdb.arch/i386-gnu-cfi.exp
5396         * gdb.arch/ia64-breakpoint-shadow.exp
5397         * gdb.arch/mips16-thunks.exp
5398         * gdb.arch/pa-nullify.exp
5399         * gdb.arch/powerpc-aix-prologue.exp
5400         * gdb.arch/powerpc-power.exp
5401         * gdb.arch/ppc-dfp.exp
5402         * gdb.arch/s390-tdbregs.exp
5403         * gdb.arch/spu-info.exp
5404         * gdb.arch/spu-ls.exp
5405         * gdb.arch/thumb-bx-pc.exp
5406         * gdb.base/advance.exp
5407         * gdb.base/annota-input-while-running.exp
5408         * gdb.base/arrayidx.exp
5409         * gdb.base/asmlabel.exp
5410         * gdb.base/async.exp
5411         * gdb.base/attach-wait-input.exp
5412         * gdb.base/auto-connect-native-target.exp
5413         * gdb.base/batch-preserve-term-settings.exp
5414         * gdb.base/bfp-test.exp
5415         * gdb.base/bigcore.exp
5416         * gdb.base/bp-permanent.exp
5417         * gdb.base/break-always.exp
5418         * gdb.base/break-fun-addr.exp
5419         * gdb.base/break-idempotent.exp
5420         * gdb.base/break-main-file-remove-fail.exp
5421         * gdb.base/break-probes.exp
5422         * gdb.base/break-unload-file.exp
5423         * gdb.base/break.exp
5424         * gdb.base/call-ar-st.exp
5425         * gdb.base/call-rt-st.exp
5426         * gdb.base/call-sc.exp
5427         * gdb.base/call-signal-resume.exp
5428         * gdb.base/call-strs.exp
5429         * gdb.base/callexit.exp
5430         * gdb.base/callfuncs.exp
5431         * gdb.base/catch-gdb-caused-signals.exp
5432         * gdb.base/catch-signal-siginfo-cond.exp
5433         * gdb.base/catch-syscall.exp
5434         * gdb.base/compare-sections.exp
5435         * gdb.base/cond-eval-mode.exp
5436         * gdb.base/condbreak-call-false.exp
5437         * gdb.base/consecutive-step-over.exp
5438         * gdb.base/cursal.exp
5439         * gdb.base/disabled-location.exp
5440         * gdb.base/disasm-end-cu.exp
5441         * gdb.base/display.exp
5442         * gdb.base/double-prompt-target-event-error.exp
5443         * gdb.base/dprintf-bp-same-addr.exp
5444         * gdb.base/dprintf-detach.exp
5445         * gdb.base/dprintf-next.exp
5446         * gdb.base/dprintf-non-stop.exp
5447         * gdb.base/dprintf-pending.exp
5448         * gdb.base/dso2dso.exp
5449         * gdb.base/ending-run.exp
5450         * gdb.base/enum_cond.exp
5451         * gdb.base/examine-backward.exp
5452         * gdb.base/exe-lock.exp
5453         * gdb.base/exec-invalid-sysroot.exp
5454         * gdb.base/execl-update-breakpoints.exp
5455         * gdb.base/execution-termios.exp
5456         * gdb.base/fileio.exp
5457         * gdb.base/fixsection.exp
5458         * gdb.base/foll-exec-mode.exp
5459         * gdb.base/foll-exec.exp
5460         * gdb.base/fork-running-state.exp
5461         * gdb.base/frame-args.exp
5462         * gdb.base/fullpath-expand.exp
5463         * gdb.base/func-ptr.exp
5464         * gdb.base/gcore-relro-pie.exp
5465         * gdb.base/gdb1090.exp
5466         * gdb.base/gdb1555.exp
5467         * gdb.base/global-var-nested-by-dso.exp
5468         * gdb.base/gnu-ifunc.exp
5469         * gdb.base/hbreak-in-shr-unsupported.exp
5470         * gdb.base/hbreak-unmapped.exp
5471         * gdb.base/hook-stop.exp
5472         * gdb.base/infcall-input.exp
5473         * gdb.base/info-fun.exp
5474         * gdb.base/info-shared.exp
5475         * gdb.base/interrupt-noterm.exp
5476         * gdb.base/jit-so.exp
5477         * gdb.base/jit.exp
5478         * gdb.base/line-symtabs.exp
5479         * gdb.base/list.exp
5480         * gdb.base/longjmp.exp
5481         * gdb.base/macscp.exp
5482         * gdb.base/max-value-size.exp
5483         * gdb.base/nodebug.exp
5484         * gdb.base/nofield.exp
5485         * gdb.base/overlays.exp
5486         * gdb.base/paginate-after-ctrl-c-running.exp
5487         * gdb.base/paginate-bg-execution.exp
5488         * gdb.base/paginate-inferior-exit.exp
5489         * gdb.base/pending.exp
5490         * gdb.base/pr11022.exp
5491         * gdb.base/printcmds.exp
5492         * gdb.base/ptr-typedef.exp
5493         * gdb.base/ptype.exp
5494         * gdb.base/randomize.exp
5495         * gdb.base/range-stepping.exp
5496         * gdb.base/realname-expand.exp
5497         * gdb.base/relativedebug.exp
5498         * gdb.base/remote.exp
5499         * gdb.base/savedregs.exp
5500         * gdb.base/sepdebug.exp
5501         * gdb.base/set-noassign.exp
5502         * gdb.base/shlib-call.exp
5503         * gdb.base/shreloc.exp
5504         * gdb.base/sigaltstack.exp
5505         * gdb.base/sigbpt.exp
5506         * gdb.base/siginfo-addr.exp
5507         * gdb.base/siginfo-obj.exp
5508         * gdb.base/siginfo-thread.exp
5509         * gdb.base/signest.exp
5510         * gdb.base/signull.exp
5511         * gdb.base/sigrepeat.exp
5512         * gdb.base/skip.exp
5513         * gdb.base/so-impl-ld.exp
5514         * gdb.base/solib-corrupted.exp
5515         * gdb.base/solib-disc.exp
5516         * gdb.base/solib-display.exp
5517         * gdb.base/solib-overlap.exp
5518         * gdb.base/solib-search.exp
5519         * gdb.base/solib-symbol.exp
5520         * gdb.base/source-execution.exp
5521         * gdb.base/sss-bp-on-user-bp-2.exp
5522         * gdb.base/sss-bp-on-user-bp.exp
5523         * gdb.base/stack-checking.exp
5524         * gdb.base/stale-infcall.exp
5525         * gdb.base/step-break.exp
5526         * gdb.base/step-line.exp
5527         * gdb.base/step-over-exit.exp
5528         * gdb.base/step-test.exp
5529         * gdb.base/structs.exp
5530         * gdb.base/sym-file.exp
5531         * gdb.base/symtab-search-order.exp
5532         * gdb.base/term.exp
5533         * gdb.base/type-opaque.exp
5534         * gdb.base/unload.exp
5535         * gdb.base/until-nodebug.exp
5536         * gdb.base/until.exp
5537         * gdb.base/unwindonsignal.exp
5538         * gdb.base/watch-cond.exp
5539         * gdb.base/watch-non-mem.exp
5540         * gdb.base/watch_thread_num.exp
5541         * gdb.base/watchpoint-reuse-slot.exp
5542         * gdb.base/watchpoint-solib.exp
5543         * gdb.base/watchpoint.exp
5544         * gdb.btrace/dlopen.exp
5545         * gdb.cell/arch.exp
5546         * gdb.cell/break.exp
5547         * gdb.cell/bt.exp
5548         * gdb.cell/core.exp
5549         * gdb.cell/data.exp
5550         * gdb.cell/dwarfaddr.exp
5551         * gdb.cell/ea-cache.exp
5552         * gdb.cell/ea-standalone.exp
5553         * gdb.cell/ea-test.exp
5554         * gdb.cell/f-regs.exp
5555         * gdb.cell/fork.exp
5556         * gdb.cell/gcore.exp
5557         * gdb.cell/mem-access.exp
5558         * gdb.cell/ptype.exp
5559         * gdb.cell/registers.exp
5560         * gdb.cell/sizeof.exp
5561         * gdb.cell/solib-symbol.exp
5562         * gdb.cell/solib.exp
5563         * gdb.compile/compile-tls.exp
5564         * gdb.cp/exception.exp
5565         * gdb.cp/gdb2495.exp
5566         * gdb.cp/local.exp
5567         * gdb.cp/mb-inline.exp
5568         * gdb.cp/mb-templates.exp
5569         * gdb.cp/pr10687.exp
5570         * gdb.cp/pr9167.exp
5571         * gdb.cp/scope-err.exp
5572         * gdb.cp/templates.exp
5573         * gdb.cp/virtfunc.exp
5574         * gdb.dwarf2/dw2-dir-file-name.exp
5575         * gdb.dwarf2/dw2-single-line-discriminators.exp
5576         * gdb.fortran/complex.exp
5577         * gdb.fortran/library-module.exp
5578         * gdb.guile/guile.exp
5579         * gdb.guile/scm-cmd.exp
5580         * gdb.guile/scm-frame-inline.exp
5581         * gdb.guile/scm-objfile.exp
5582         * gdb.guile/scm-pretty-print.exp
5583         * gdb.guile/scm-symbol.exp
5584         * gdb.guile/scm-type.exp
5585         * gdb.guile/scm-value.exp
5586         * gdb.linespec/keywords.exp
5587         * gdb.linespec/ls-errs.exp
5588         * gdb.linespec/macro-relative.exp
5589         * gdb.linespec/thread.exp
5590         * gdb.mi/mi-breakpoint-changed.exp
5591         * gdb.mi/mi-dprintf-pending.exp
5592         * gdb.mi/mi-fullname-deleted.exp
5593         * gdb.mi/mi-logging.exp
5594         * gdb.mi/mi-pending.exp
5595         * gdb.mi/mi-solib.exp
5596         * gdb.mi/new-ui-mi-sync.exp
5597         * gdb.mi/user-selected-context-sync.exp
5598         * gdb.multi/dummy-frame-restore.exp
5599         * gdb.multi/multi-arch-exec.exp
5600         * gdb.multi/remove-inferiors.exp
5601         * gdb.multi/watchpoint-multi-exit.exp
5602         * gdb.opt/solib-intra-step.exp
5603         * gdb.perf/backtrace.exp
5604         * gdb.perf/single-step.exp
5605         * gdb.perf/skip-command.exp
5606         * gdb.perf/skip-prologue.exp
5607         * gdb.perf/solib.exp
5608         * gdb.python/lib-types.exp
5609         * gdb.python/py-as-string.exp
5610         * gdb.python/py-bad-printers.exp
5611         * gdb.python/py-block.exp
5612         * gdb.python/py-breakpoint.exp
5613         * gdb.python/py-cmd.exp
5614         * gdb.python/py-events.exp
5615         * gdb.python/py-evthreads.exp
5616         * gdb.python/py-finish-breakpoint.exp
5617         * gdb.python/py-finish-breakpoint2.exp
5618         * gdb.python/py-frame-inline.exp
5619         * gdb.python/py-frame.exp
5620         * gdb.python/py-inferior.exp
5621         * gdb.python/py-infthread.exp
5622         * gdb.python/py-mi.exp
5623         * gdb.python/py-objfile.exp
5624         * gdb.python/py-pp-maint.exp
5625         * gdb.python/py-pp-registration.exp
5626         * gdb.python/py-prettyprint.exp
5627         * gdb.python/py-recurse-unwind.exp
5628         * gdb.python/py-shared.exp
5629         * gdb.python/py-symbol.exp
5630         * gdb.python/py-symtab.exp
5631         * gdb.python/py-template.exp
5632         * gdb.python/py-type.exp
5633         * gdb.python/py-unwind-maint.exp
5634         * gdb.python/py-unwind.exp
5635         * gdb.python/py-value.exp
5636         * gdb.python/python.exp
5637         * gdb.reverse/finish-reverse-bkpt.exp
5638         * gdb.reverse/insn-reverse.exp
5639         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5640         * gdb.reverse/solib-precsave.exp
5641         * gdb.reverse/solib-reverse.exp
5642         * gdb.stabs/gdb11479.exp
5643         * gdb.stabs/weird.exp
5644         * gdb.threads/fork-child-threads.exp
5645         * gdb.threads/fork-plus-threads.exp
5646         * gdb.threads/fork-thread-pending.exp
5647         * gdb.threads/forking-threads-plus-breakpoint.exp
5648         * gdb.threads/hand-call-in-threads.exp
5649         * gdb.threads/interrupted-hand-call.exp
5650         * gdb.threads/linux-dp.exp
5651         * gdb.threads/local-watch-wrong-thread.exp
5652         * gdb.threads/next-while-other-thread-longjmps.exp
5653         * gdb.threads/non-ldr-exit.exp
5654         * gdb.threads/pending-step.exp
5655         * gdb.threads/print-threads.exp
5656         * gdb.threads/process-dies-while-detaching.exp
5657         * gdb.threads/process-dies-while-handling-bp.exp
5658         * gdb.threads/pthreads.exp
5659         * gdb.threads/queue-signal.exp
5660         * gdb.threads/reconnect-signal.exp
5661         * gdb.threads/signal-command-handle-nopass.exp
5662         * gdb.threads/signal-command-multiple-signals-pending.exp
5663         * gdb.threads/signal-delivered-right-thread.exp
5664         * gdb.threads/signal-sigtrap.exp
5665         * gdb.threads/sigthread.exp
5666         * gdb.threads/staticthreads.exp
5667         * gdb.threads/stepi-random-signal.exp
5668         * gdb.threads/thread-unwindonsignal.exp
5669         * gdb.threads/thread_check.exp
5670         * gdb.threads/thread_events.exp
5671         * gdb.threads/tid-reuse.exp
5672         * gdb.threads/tls-nodebug.exp
5673         * gdb.threads/tls-shared.exp
5674         * gdb.threads/tls-so_extern.exp
5675         * gdb.threads/tls.exp
5676         * gdb.threads/wp-replication.exp
5677         * gdb.trace/actions-changed.exp
5678         * gdb.trace/actions.exp
5679         * gdb.trace/backtrace.exp
5680         * gdb.trace/change-loc.exp
5681         * gdb.trace/collection.exp
5682         * gdb.trace/deltrace.exp
5683         * gdb.trace/disconnected-tracing.exp
5684         * gdb.trace/entry-values.exp
5685         * gdb.trace/ftrace-lock.exp
5686         * gdb.trace/ftrace.exp
5687         * gdb.trace/infotrace.exp
5688         * gdb.trace/mi-trace-frame-collected.exp
5689         * gdb.trace/mi-trace-unavailable.exp
5690         * gdb.trace/mi-traceframe-changed.exp
5691         * gdb.trace/mi-tracepoint-changed.exp
5692         * gdb.trace/mi-tsv-changed.exp
5693         * gdb.trace/no-attach-trace.exp
5694         * gdb.trace/packetlen.exp
5695         * gdb.trace/passc-dyn.exp
5696         * gdb.trace/passcount.exp
5697         * gdb.trace/pending.exp
5698         * gdb.trace/pr16508.exp
5699         * gdb.trace/qtro.exp
5700         * gdb.trace/range-stepping.exp
5701         * gdb.trace/read-memory.exp
5702         * gdb.trace/report.exp
5703         * gdb.trace/save-trace.exp
5704         * gdb.trace/signal.exp
5705         * gdb.trace/stap-trace.exp
5706         * gdb.trace/status-stop.exp
5707         * gdb.trace/strace.exp
5708         * gdb.trace/tfile.exp
5709         * gdb.trace/tfind.exp
5710         * gdb.trace/trace-break.exp
5711         * gdb.trace/trace-condition.exp
5712         * gdb.trace/trace-enable-disable.exp
5713         * gdb.trace/trace-mt.exp
5714         * gdb.trace/tracecmd.exp
5715         * gdb.trace/tracefile-pseudo-reg.exp
5716         * gdb.trace/tspeed.exp
5717         * gdb.trace/tstatus.exp
5718         * gdb.trace/tsv.exp
5719         * gdb.trace/unavailable.exp
5720         * gdb.trace/while-dyn.exp
5721         * gdb.trace/while-stepping.exp
5722         * lib/gdb-guile.exp
5723         * lib/gdb.exp
5724         * lib/mi-support.exp
5725         * lib/pascal.exp
5726         * lib/perftest.exp
5727         * lib/prelink-support.exp
5728         * lib/selftest-support.exp
5729
5730 2016-11-30  Simon Marchi  <simon.marchi@polymtl.ca>
5731
5732         * Makefile.in: Include disable-implicit-rules.mk.
5733
5734 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5735
5736         * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5737         non-byte-aligned bit fields.
5738
5739 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5740
5741         PR gdb/12616
5742         * gdb.dwarf2/nonvar-access.exp: New testcase.  Check that GDB
5743         respects the DW_AT_data_bit_offset attribute.
5744
5745 2016-11-22  Simon Marchi  <simon.marchi@polymtl.ca>
5746
5747         * gdb.base/default.exp: Fix output of "set language".
5748
5749 2016-11-17  Simon Marchi  <simon.marchi@polymtl.ca>
5750
5751         * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5752         prefixed with @GMAKE_FALSE@.  Update comment related to non-GNU
5753         make.
5754         * configure.ac: Remove checks for the make program.
5755         * configure: Re-generate.
5756
5757 2016-11-16  Kevin Buettner  <kevinb@redhat.com>
5758
5759         * gdb.python/py-recurse-unwind.c (main): Add loop.
5760         * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5761         to read_register() and gdb.parse_and_eval().  Make each code
5762         call a separate case that can be individually tested.
5763         * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5764         proc. Call cont_and_backtrace for each of the code paths that
5765         we want to test in the unwinder.
5766
5767 2016-11-15  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5768
5769         * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5770         the definition of struct S.
5771
5772 2016-11-11  Catherine Moore  <clm@codesourcery.com>
5773
5774         * gdb.base/dump.exp: Identify verilog format dump tests as such.
5775
5776 2016-11-09  Pedro Alves  <palves@redhat.com>
5777
5778         * gdb.base/commands.exp (runto_or_return): New procedure.
5779         (gdbvar_simple_if_test, gdbvar_simple_while_test)
5780         (gdbvar_complex_if_while_test, progvar_simple_if_test)
5781         (progvar_simple_while_test, progvar_complex_if_while_test)
5782         (if_while_breakpoint_command_test)
5783         (infrun_breakpoint_command_test, breakpoint_command_test)
5784         (user_defined_command_test, watchpoint_command_test)
5785         (test_command_prompt_position, redefine_hook_test)
5786         (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5787         (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5788         multi_line_input and multi_line.  Remove gdb_expect and
5789         gdb_stop_suppressing_tests uses.
5790         * lib/gdb.exp (valnum_re): New global.
5791         (multi_line_input): New procedure.
5792
5793 2016-11-09  Simon Marchi  <simon.marchi@polymtl.ca>
5794
5795         * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5796         Remove.
5797         (test_setup): Define with proc_with_prefix.
5798         (test_cli_inferior): Likewise.
5799         (test_cli_thread): Likewise.
5800         (test_cli_frame): Likewise.
5801         (test_cli_select_frame): Likewise.
5802         (test_cli_up_down): Likewise.
5803         (test_mi_thread_select): Likewise.
5804         (test_mi_stack_select_frame): Likewise.
5805         (test_cli_in_mi_inferior): Likewise.
5806         (test_cli_in_mi_thread): Likewise.
5807         (test_cli_in_mi_frame): Likewise.
5808         (top level): Do not use with_test_prefix_procname.
5809
5810 2016-11-09  Pedro Alves  <palves@redhat.com>
5811
5812         * gdb.base/commands.exp (gdbvar_simple_if_test)
5813         (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5814         (progvar_simple_if_test, progvar_simple_while_test)
5815         (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5816         (infrun_breakpoint_command_test, breakpoint_command_test)
5817         (user_defined_command_test, watchpoint_command_test)
5818         (test_command_prompt_position, deprecated_command_test)
5819         (bp_deleted_in_command, temporary_breakpoint_commands)
5820         (stray_arg0_test, source_file_with_indented_comment)
5821         (recursive_source_test, if_commands_test)
5822         (error_clears_commands_left, redefine_hook_test)
5823         (redefine_backtrace_test): Use proc_with_prefix.
5824         * lib/gdb.exp (proc_with_prefix): New proc.
5825
5826 2016-11-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5827
5828         * gdb.base/tui-layout.c: New file.
5829         * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5830         disassembly window contains very long lines.
5831
5832 2016-11-08  Tom Tromey  <tom@tromey.com>
5833
5834         * gdb.python/py-value.exp (test_value_creation): Make "long" test
5835         depend on Python 2.
5836
5837 2016-11-08  Tom Tromey  <tom@tromey.com>
5838
5839         * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5840         New method.
5841
5842 2016-10-29  Manish Goregaokar  <manish@mozilla.com>
5843
5844         * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
5845
5846 2016-10-27  Manish Goregaokar  <manish@mozilla.com>
5847
5848         * gdb.rust/simple.rs: Add test for univariant enums without
5849         discriminants and for encoded struct-like enums.
5850
5851 2016-10-28  Pedro Alves  <palves@redhat.com>
5852
5853         * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5854         gdb_test_multiple, tighten regexps and match symtabs and line
5855         tables incrementally.
5856
5857 2016-10-28  Luis Machado  <lgustavo@codesourcery.com>
5858
5859         * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5860         general.
5861
5862 2016-10-25  Luis Machado  <lgustavo@codesourcery.com>
5863
5864         * gdb.base/exec-invalid-sysroot.exp: New file.
5865
5866 2016-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
5867
5868         * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5869
5870 2016-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
5871
5872         * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5873
5874 2016-10-19  Maciej W. Rozycki  <macro@imgtec.com>
5875
5876         * gdb.base/killed-outside.exp: Remove $options from a call to
5877         `prepare_for_testing'.
5878
5879 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
5880
5881         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5882         Change test message.
5883
5884 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
5885
5886         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5887         Update comment.
5888
5889 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
5890
5891         * gdb.trace/mi-trace-save.exp: New file.
5892
5893 2016-10-13  Yao Qi  <yao.qi@linaro.org>
5894
5895         * gdb.base/code_elim.exp (get_var_address): Remove.
5896         * gdb.base/relocate.exp: Likewise.
5897         * gdb.base/shreloc.exp: Likewise.
5898         * lib/gdb.exp (get_var_address): New.
5899
5900 2016-10-13  Yao Qi  <yao.qi@linaro.org>
5901
5902         * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5903         floating point tests if $skip_float_test is false.
5904
5905 2016-10-12  Luis Machado  <lgustavo@codesourcery.com>
5906
5907         * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5908         * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5909         argc values.
5910         Add 1 to argc so we guarantee distinct initial/modified argc values.
5911
5912 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5913
5914         * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5915
5916 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5917
5918         * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5919         * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5920         * gdb.arch/vsx-regs.exp: Likewise.
5921
5922 2016-10-07  Yao Qi  <yao.qi@linaro.org>
5923
5924         * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5925
5926 2016-10-07  Markus Metzger  <markus.t.metzger@intel.com>
5927
5928         * gdb.python/python.exp: Test decode_line("*0").
5929
5930 2016-10-06  Doug Evans  <dje@google.com>
5931
5932         * gdb.python/py-value.exp (test_value_creation): Add test for large
5933         unsigned 64-bit value.
5934
5935 2016-10-06  Tom Tromey  <tom@tromey.com>
5936
5937         * gdb.compile/compile.exp: Change java tests to rust.
5938         * gdb.base/setshow.exp: Change java tests to rust.
5939         * gdb.base/default.exp: Remove java from language list.
5940         * README (Examples): Update language example.
5941         * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
5942         test.
5943         * lib/gdb.exp (skip_java_tests): Remove.
5944         * lib/java.exp: Remove.
5945         * gdb.java: Remove.
5946
5947 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
5948
5949         * gdb.arch/mips-fcr.exp: New test.
5950         * gdb.arch/mips-fcr.c: Source for the new test.
5951
5952 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
5953
5954         * gdb.base/solib-disc.exp: Use `standard_output_file'
5955         throughout.
5956
5957 2016-10-06  Pedro Alves  <palves@redhat.com>
5958
5959         * gdb.base/jit-simple-dl.c: New file.
5960         * gdb.base/jit-simple-jit.c: New file, factored out from ...
5961         * gdb.base/jit-simple.c: ... this.
5962         * gdb.base/jit-simple.exp (jit_run): Delete.
5963         (build_jit): New proc.
5964         (jit_test_reread): Recompile either the main program or the shared
5965         library, depending on what is being tested.  Skip changing address
5966         if caller wants to.  Compare before/after addresses.  If testing
5967         standalone, explicitly load the binary.  Test "maint info
5968         breakpoints".
5969         (top level): Add "standalone vs shared lib" and "change address"
5970         vs "same address" axes.
5971
5972 2016-10-06  Pedro Alves  <palves@redhat.com>
5973
5974         * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
5975         call.
5976         (jit_run): Delete.
5977         (jit_test_reread): Use with_test_prefix.  Reload the main binary
5978         explicitly.  Compare the before/after addresses of the JIT
5979         descriptor.
5980
5981 2016-08-15  Doug Evans  <dje@google.com>
5982
5983         * gdb.xml/extra-regs.xml: Update, end field now required, default type
5984         for single bitfields is bool.
5985         * gdb.xml/tdesc-regs.exp: Ditto.
5986
5987 2016-10-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
5988
5989         * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
5990
5991 2016-10-05  Yao Qi  <yao.qi@linaro.org>
5992
5993         * lib/gdb.exp (support_complex_tests): Return zero if
5994         gdb_skip_float_test return true.
5995
5996 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
5997             Simon Marchi  <simon.marchi@ericsson.com>
5998
5999         PR gdb/20487
6000         * gdb.mi/user-selected-context-sync.exp: New file.
6001         * gdb.mi/user-selected-context-sync.c: New file.
6002
6003 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6004             Simon Marchi  <simon.marchi@ericsson.com>
6005
6006         PR gdb/20487
6007         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
6008         =thread-select-event check.
6009
6010 2016-09-29  Peter Bergner  <bergner@vnet.ibm.com>
6011
6012         * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
6013         the compulsory L operand changes.
6014         * gdb.arch/powerpc-power.s: Likewise.
6015
6016 2016-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6017
6018         PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
6019         * gdb.base/jit-attach-pie.c: New file.
6020         * gdb.base/jit-attach-pie.exp: New file.
6021
6022 2016-09-28  Pedro Alves  <palves@redhat.com>
6023
6024         * gdb.base/infcall-input.c: New file.
6025         * gdb.base/infcall-input.exp: New file.
6026
6027 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6028
6029         * lib/gdbserver-support.exp: Rename mi_gdb_exit.
6030         (gdb_exit): Rename it to ...
6031         (gdbserver_gdb_exit): ...  Close GDBserver.
6032         (gdb_exit): New proc, call gdbserver_gdb_exit.
6033         (mi_gdb_exit): Likewise.
6034
6035 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6036
6037         * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
6038         path.
6039         * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
6040         Remove duplication.
6041
6042 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6043
6044         * lib/gdbserver-support.exp: Check the existence of
6045         gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
6046
6047 2016-09-21  Anton Kolesov  <anton.kolesov@synopsys.com>
6048
6049         * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
6050
6051 2016-09-21  Tom Tromey  <tom@tromey.com>
6052
6053         PR gdb/20604:
6054         * gdb.base/quit.exp: New file.
6055
6056 2016-09-21  Simon Marchi  <simon.marchi@ericsson.com>
6057
6058         * .gitignore: New file.
6059
6060 2016-09-21  Maciej W. Rozycki  <macro@imgtec.com>
6061
6062         * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
6063         throughout.
6064
6065 2016-09-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6066
6067         * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
6068
6069 2016-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6070
6071         * gdb.cp/casts.cc (decltype): Move it ...
6072         (main): ... with its call to ...
6073         * gdb.cp/casts03.cc: ... a new file.
6074         * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6075
6076 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6077
6078         * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6079
6080 2016-09-15  Peter Bergner  <bergner@vnet.ibm.com>
6081
6082         * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6083         and sync up the test with tests in gas/testsuite/gas/ppc.
6084         * gdb.arch/powerpc-power.exp: Likewise.
6085
6086 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6087
6088         * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6089
6090 2016-09-11  Sergio Durigan Junior  <sergiodj@redhat.com>
6091             Jan Kratochvil  <jan.kratochvil@redhat.com>
6092
6093         * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
6094         make m1's definition to be different from m2's.  Use 'dummy' as an
6095         argument for probe 'two'.
6096
6097 2016-09-10  Jon Beniston  <jon@beniston.com>
6098
6099         * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
6100         for sim target.
6101
6102 2016-09-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6103
6104         * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
6105         variable declaration.
6106         (gnu_ifunc): Add parameter hwcap.  Store it in resolver_hwcap.
6107         * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6108         * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6109         received HWCAP as its argument.
6110
6111 2016-09-06  Pedro Alves  <palves@redhat.com>
6112
6113         * gdb.base/new-ui-pending-input.c: New file.
6114         * gdb.base/new-ui-pending-input.exp: New file.
6115         * gdb.exp (clear_gdb_spawn_id): New procedure.
6116         (with_spawn_id): Check whether gdb_spawn_id exists before
6117         referencing it.  If gdb_spawn_id didn't exist on entry, clear it
6118         on exit.
6119
6120 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6121
6122         * gdb.base/float128.c: New file.
6123         * gdb.base/float128.exp: Likewise.
6124         * gdb.base/floatn.c: Likewise.
6125         * gdb.base/floatn.exp: Likewise.
6126
6127 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6128
6129         * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
6130
6131 2016-09-05  Pedro Alves  <palves@redhat.com>
6132
6133         PR backtrace/19927
6134         * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
6135         unwinders are immediately called as side effect of "source" or
6136         "disable unwinder" commands.
6137         * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
6138
6139 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6140
6141         * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
6142         is true and $type is "float" or "double".
6143
6144 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6145
6146         * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
6147         true.
6148         * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
6149         * gdb.base/call-rt-st.exp: Likewise.
6150         * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
6151         return value instead of gdb,skip_float_test.
6152         * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
6153         (do_function_calls): Use its return value instead of
6154         gdb,skip_float_test.
6155         * gdb.base/finish.exp: Likewise.
6156         * gdb.base/funcargs.exp: Likewise.
6157         * gdb.base/return.exp: Likewise.
6158         * gdb.base/return2.exp: Likewise.
6159         * gdb.base/varargs.exp: Likewise.
6160         * lib/gdb.exp (gdb_skip_float_test): Change it to
6161         gdb_caching_proc.  Detect the broken ptrace on arm-linux.
6162
6163 2016-08-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6164
6165         * gdb.multi/tids.exp: Test "thread apply all".
6166
6167 2016-08-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6168
6169         * gdb.base/default.exp (tty): Remove.
6170
6171 2016-08-24  Kevin Buettner  <kevinb@redhat.com>
6172
6173         * gdb.python/py-recurse-unwind.c: New file.
6174         * gdb.python/py-recurse-unwind.py: New file.
6175         * gdb.python/py-recurse-unwind.exp: New file.
6176
6177 2016-08-24  Simon Marchi  <simon.marchi@ericsson.com>
6178
6179         * gdb.base/set-inferior-tty.exp: New file.
6180         * gdb.base/set-inferior-tty.c: New file.
6181
6182 2016-08-23  Pedro Alves  <palves@redhat.com>
6183
6184         PR gdb/20494
6185         * gdb.base/new-ui-echo.c: New file.
6186         * gdb.base/new-ui-echo.exp: New file.
6187
6188 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6189
6190         * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
6191         gdbserver_spawn.
6192         * gdb.server/connect-without-multi-process.exp (do_test):
6193         Likewise.
6194
6195 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6196
6197         * gdb.base/signals-state-child.exp: Set variables gdb_txt and
6198         standalone_txt.  Delete gdb_txt and standalone_txt on host
6199         and target.  Spawn the binary on target.  Copy files from
6200         target to host.
6201
6202 2016-08-22  Pedro Alves  <palves@redhat.com>
6203
6204         PR gdb/20505
6205         * gdb.base/vdso-warning.exp: Test core dumps too.  Use
6206         with_test_prefix.  Factor out bits to ...
6207         (test_no_vdso): ... this new procedure.
6208
6209 2016-08-19  Carl Love  <cel@us.ibm.com>
6210
6211         * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
6212         maintaining separate logic for constructing the output path.
6213         * gdb.arch/powerpc-d128-regs.exp: Likewise.
6214         * gdb.arch/ppc-dfp.exp: Likewise.
6215         * gdb.arch/ppc-fp.exp: Likewise.
6216         * gdb.arch/vsx-regs.exp: Likewise.
6217         * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
6218         binprefix for generating the additional binary files.
6219
6220 2016-08-19  Pedro Alves  <palves@redhat.com>
6221
6222         * gdb.trace/mi-trace-frame-collected.exp
6223         (test_trace_frame_collected): On x32, expect two registers.
6224
6225 2016-08-18  Carl Love  <cel@us.ibm.com>
6226
6227         * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
6228         and sync up the test with tests in gas/testsuite/gas/ppc.
6229         * gdb.arch/powerpc-power.exp: Likewise.
6230
6231 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6232
6233         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
6234         expected error message.
6235
6236 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6237
6238         * gdb.multi/remove-inferiors.exp: New file.
6239         * gdb.multi/remove-inferiors.c: New file.
6240
6241 2016-08-12  Yao Qi  <yao.qi@linaro.org>
6242
6243         * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
6244         argument list.
6245
6246 2016-08-10  Pedro Alves  <palves@redhat.com>
6247
6248         PR gdb/19187
6249         * gdb.reverse/waitpid-reverse.exp: Add comment and remove
6250         setup_kfails.
6251
6252 2016-08-09  Pedro Alves  <palves@redhat.com>
6253             Simon Marchi  <simon.marchi@ericsson.com>
6254
6255         PR gdb/20418
6256         * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
6257         * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
6258
6259 2016-08-09  Pedro Alves  <palves@redhat.com>
6260
6261         PR mi/20431
6262         * gdb.mi/mi-cmd-error.exp: New file.
6263
6264 2016-08-09  Pedro Alves  <palves@redhat.com>
6265
6266         PR gdb/18653
6267         * gdb.base/signals-state-child.c: New file.
6268         * gdb.base/signals-state-child.exp: New file.
6269         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
6270
6271 2016-08-09  Pedro Alves  <palves@redhat.com>
6272
6273         * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
6274
6275 2016-08-03  Tom Tromey  <tom@tromey.com>
6276
6277         PR python/18565:
6278         * gdb.python/py-frame-inline.exp: Add Frame.function test.
6279
6280 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6281
6282         * gdb.threads/process-dies-while-detaching.exp (do_test): Set
6283         variable mode to "multi-process" if $multi_process is 1, otherwise
6284         set it to "single-process".
6285
6286 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6287
6288         * gdb.cp/anon-struct.exp: Check is_aarch32_target.
6289         * gdb.cp/cpexprs.exp: Likewise.
6290         * gdb.cp/m-static.exp: Likewise.
6291
6292 2016-07-26  Tom Tromey  <tom@tromey.com>
6293
6294         PR python/20190:
6295         * gdb.threads/tls.exp (check_thread_local): Add python symbol
6296         test.
6297
6298 2016-07-26  Markus Metzger  <markus.t.metzger@intel.com>
6299
6300         * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
6301         selecting assembly source files.
6302         * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
6303         assembly source files.
6304         * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
6305         assembly source files.
6306         * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
6307         selecting assembly source files.
6308
6309 2016-07-25  Simon Marchi  <simon.marchi@ericsson.com>
6310
6311         * gdb.base/new-ui.exp (do_test_invalid_args): New
6312         procedure.
6313
6314 2016-07-25  Tim Wiederhake  <tim.wiederhake@intel.com>
6315
6316         * gdb.btrace/reconnect.c: New file.
6317         * gdb.btrace/reconnect.exp: New file.
6318
6319 2016-07-23  Gabriel Krisman Bertazi  <gabriel@krisman.be>
6320
6321         * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
6322         to test_catch_syscall_group.
6323         (test_catch_syscall_group): New.
6324
6325 2016-07-21  Tom Tromey  <tom@tromey.com>
6326
6327         * gdb.rust/simple.rs (main): Use empty struct expression.
6328         * gdb.rust/simple.exp: Add tests for empty struct expression.
6329
6330 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6331
6332         * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
6333         if gdb_skip_xml_test is true on some targets.
6334
6335 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6336
6337         * gdb.server/solib-list.exp: Unset last_loaded_file.
6338
6339 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6340
6341         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
6342         "step into captured_main (args)".
6343
6344 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6345
6346         * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
6347
6348 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6349
6350         * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
6351
6352 2016-07-19  Pedro Alves  <palves@redhat.com>
6353
6354         * gdb.opt/inline-break.exp: Remove optimize=-O2.
6355         * gdb.opt/inline-bt.exp: Likewise.
6356         * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
6357         additional_flags=-Winline.
6358         * gdb.opt/inline-locals.exp: Likewise.
6359         * gdb.opt/inline-markers.c (ATTR): Define.
6360         (inlined_fn): Use it.
6361
6362 2016-07-19  Yao Qi  <yao.qi@linaro.org>
6363
6364         * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
6365         (test_with_self): Remove some code.  Remove argument executable.
6366         (top-level): Use do_self_tests.
6367
6368 2016-07-15  Zachary Welch  <zwelch@codesourcery.com>
6369             Don Breazeal <donb@codesourcery.com>
6370
6371         * gdb.base/maint.exp: Escape paths used in regular expressions.
6372         * gdb.stabs/weird.exp: Likewise.
6373
6374 2016-07-13  Tom Tromey  <tom@tromey.com>
6375
6376         PR python/15620, PR python/18620:
6377         * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
6378         (test_bkpt_events): New procs.
6379
6380 2016-07-13  Tom Tromey  <tom@tromey.com>
6381
6382         PR python/17698:
6383         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6384         test.
6385         (test_watchpoints): Likewise.
6386         (test_bkpt_pending): New proc.
6387
6388 2016-07-13  Tom Tromey  <tom@tromey.com>
6389
6390         PR cli/18053:
6391         * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6392         completion test.
6393
6394 2016-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6395
6396         * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6397         * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6398         * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6399         f_label.
6400         (g): Rename g_end_lbl to g_label.
6401         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6402         low_pc and high_pc.
6403         * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6404
6405 2016-07-12  Tom Tromey  <tom@tromey.com>
6406
6407         PR python/19293:
6408         * gdb.python/py-unwind-maint.exp: Update tests.
6409
6410 2016-07-12  Yao Qi  <yao.qi@linaro.org>
6411
6412         * lib/selftest-support.exp (selftest_setup): Match the output
6413         when captured_main is inlined.
6414
6415 2016-07-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6416
6417         * gdb.fortran/derived-types.exp (result_line, result_line_2):
6418         New variables.
6419         (print this%a, print this%b, print this): New tests.
6420         * gdb.fortran/derived-types.f90 (this): New object and
6421         initialization.
6422
6423 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6424
6425         * gdb.ada/arraydim.exp: Remove extra directory level in build
6426         directory.
6427
6428 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6429
6430         * lib/ada.exp: Remove extra directory level in build directory.
6431         * gdb.ada/cond_lang.exp: Likewise.
6432         * gdb.ada/exec_changed.exp: Likewise.
6433         * gdb.ada/lang_switch.exp: Likewise.
6434
6435 2016-07-06  Manish Goregaokar  <manish@mozilla.com>
6436
6437         * simple.rs: Add test for raw pointer subscripting.
6438         * simple.exp: Add test expectations.
6439
6440 2016-07-05  Yao Qi  <yao.qi@linaro.org>
6441
6442         * gdb.mi/mi-reverse.exp: Match =record-started output.
6443
6444 2016-07-01  Pedro Alves  <palves@redhat.com>
6445
6446         * gdb.base/jit-reader.exp (info_registers_current_frame): New
6447         procedure.
6448         (jit_reader_test): Test the jit reader's unwinder.
6449         * gdb.base/jithost.c (jit_function_00_code): New global.
6450         (main): Use memcpy to fill in the mmapped code, instead of poking
6451         bytes manually here.
6452         * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6453         value.
6454         (read_debug_info): Save the function's range.
6455         (read_sp): New function.
6456         (unwind_frame): Use it.  Also unwind RBP.
6457         (get_frame_id): Use read_sp.
6458         (gdb_init_reader): Use calloc instead of malloc.
6459         * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6460         parameter.  Use gdb_test_multiple.
6461
6462 2016-07-01  Pedro Alves  <palves@redhat.com>
6463             Antoine Tremblay  <antoine.tremblay@ericsson.com>
6464
6465         * gdb.threads/process-dies-while-detaching.c: New file.
6466         * gdb.threads/process-dies-while-detaching.exp: New file.
6467
6468 2016-07-01  Pedro Alves  <palves@redhat.com>
6469
6470         * gdb.multi/watchpoint-multi-exit.c: New file.
6471         * gdb.multi/watchpoint-multi-exit.exp: New file.
6472
6473 2016-06-30  Pedro Alves  <palves@redhat.com>
6474
6475         * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6476         unset inferior_spawn_id.
6477
6478 2016-06-30  Pedro Alves  <palves@redhat.com>
6479
6480         * lib/mi-support.exp (default_mi_gdb_start): Declare global
6481         FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
6482
6483 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6484
6485         * gdb.base/return.c: Add copyright header.
6486
6487 2016-06-29  Tom Tromey  <tom@tromey.com>
6488
6489         PR python/20129:
6490         * gdb.python/py-framefilter.exp: Add tests for setting priority
6491         and disabling of non-existent frame filter.
6492
6493 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6494
6495         * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6496         0x0f07ff.
6497
6498 2016-06-28  Yao Qi  <yao.qi@linaro.org>
6499
6500         * gdb.base/catch-syscall.exp: Remove check on isnative and target
6501         triplets.  Start gdb, execute catch syscall, and continue.  Check
6502         gdb's output to determine catch syscall is supported.
6503
6504 2016-06-27  Manish Goregaokar  <manish@mozilla.com>
6505
6506         * gdb.rust/simple.rs: Add test for returning unit in a function.
6507         * gdb.rust/simple.exp: Add expectation for functions returning
6508         unit.
6509
6510 2016-06-27  Pierre-Marie de Rodat  <derodat@adacore.com>
6511
6512         * gdb.python/py-breakpoint-create-fail.c,
6513         gdb.python/py-breakpoint-create-fail.exp,
6514         gdb.python/py-breakpoint-create-fail.py: New testcase.
6515
6516 2016-06-25  Manish Goregaokar  <manish@mozilla.com>
6517
6518         PR gdb/20239
6519         * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6520         * gdb.rust/simple.exp: Add test expectations for new NonZero
6521         tests.
6522
6523 2016-06-24  David Taylor  <dtaylor@emc.com>
6524
6525         * gdb.base/offsets.exp: New file.
6526         * gdb.base/offsets.c: New file.
6527
6528 2016-06-23  Tom Tromey  <tom@tromey.com>
6529
6530         PR gdb/16483:
6531         * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6532         before any filters are loaded.
6533
6534 2016-06-21  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6535
6536         * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6537         * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6538         structs.
6539         * gdb.fortran/derived-type-function.exp: New file.
6540         * gdb.fortran/derived-type-function.f90: New file.
6541
6542
6543 2016-06-21  Pedro Alves  <palves@redhat.com>
6544
6545         * gdb.base/new-ui.exp: New file.
6546         * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6547         * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6548         (with_spawn_id): New procedure.
6549
6550 2016-06-21  Pedro Alves  <palves@redhat.com>
6551
6552         * gdb.mi/mi-exec-run.exp: New file.
6553
6554 2016-06-21  Pedro Alves  <palves@redhat.com>
6555
6556         * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6557         breakpoint command's output on the main UI.
6558         (test_break): New procedure, factored out from calls in the top
6559         level.
6560         (top level): Use foreach_with_prefix to test MI as main UI and as
6561         separate UI.
6562
6563 2016-06-21  Pedro Alves  <palves@redhat.com>
6564
6565         * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6566         (test_awatch_creation_and_listing)
6567         (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6568         Remove 'type' parameter.
6569         (test_watchpoint_all): New parameter mi_mode.  Remove
6570         with_test_prefix.
6571         (top level): Use foreach_with_prefix, and add main/separate UI MI
6572         testing axis.
6573
6574 2016-06-21  Pedro Alves  <palves@redhat.com>
6575
6576         * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6577         * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6578         * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6579         gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6580         (gdb_main_spawn_id, mi_spawn_id): Declare and
6581         comment.
6582         (mi_create_inferior_pty): New procedure,
6583         factored out from default_mi_gdb_start.
6584         (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6585         procedures.
6586         (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6587         separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6588         Use mi_create_inferior_pty.
6589         (mi_gdb_start): Use eval to pass down args list.
6590
6591 2016-06-21  Pedro Alves  <palves@redhat.com>
6592
6593         * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6594         * gdb.opt/inline-cmds.exp: Add MI tests.
6595
6596 2016-06-21  Pedro Alves  <palves@redhat.com>
6597
6598         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6599
6600 2016-06-21  Pedro Alves  <palves@redhat.com>
6601
6602         * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6603         (top level): Use it instead of mi_execute_to.
6604
6605 2016-06-21  Pedro Alves  <palves@redhat.com>
6606
6607         * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6608         (cont_handler_str): New.
6609         (signal_stop_handler): Set stop_handler_str instead of printing to
6610         stdout.
6611         (continue_handler): Set cont_handler_str instead of printing to
6612         stdout.
6613         * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6614         mi_send_resuming_command.  Print stop_handler_str and
6615         cont_handler_str instead of expecting the python events print
6616         directly.
6617
6618 2016-06-17  Sanjoy Das  <sanjoy@playingwithpointers.com>
6619
6620         * gdb.base/jit-reader.exp: New file.
6621         * gdb.base/jithost.c: New file.
6622         * gdb.base/jithost.h: New file.
6623         * gdb.base/jitreader.c : New file.
6624         * gdb.base/jit-protocol.h: New file.
6625
6626 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6627
6628         * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6629         parameters follow_fork and detach_on_fork.  Set follow-fork-mode
6630         and detach-on-fork.  Adjust tests.
6631         (top level): Invoke break_cond_on_syscall with combinations of
6632         syscall, follow-fork-mode and detach-on-fork.
6633
6634 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6635
6636         * gdb.base/step-over-exit.c: New.
6637         * gdb.base/step-over-exit.exp: New.
6638
6639 2016-06-17  Yan-Ting Lin  <currygt52@gmail.com>
6640
6641         * gdb.base/float.exp: Add target check for nds32*-*-*.
6642         * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6643
6644 2016-06-13  Andrew Burgess  <andrew.burgess@embecosm.com>
6645
6646         * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6647         for unsupported target features.
6648         * gdb.base/call-rt-st.exp: Likewise.
6649         * gdb.base/call-sc.exp: Likewise.
6650         * gdb.base/call-signal-resume.exp: Likewise.
6651         * gdb.base/call-strs.exp: Likewise.
6652         * gdb.base/callexit.exp: Likewise.
6653         * gdb.base/callfuncs.exp: Likewise.
6654         * gdb.base/nodebug.exp: Likewise.
6655         * gdb.base/printcmds.exp: Likewise.
6656         * gdb.base/ptype.exp: Likewise.
6657         * gdb.base/structs.exp: Likewise.
6658         * gdb.base/unwindonsignal.exp: Likewise.
6659         * gdb.cp/gdb2495.exp: Likewise.
6660         * gdb.cp/templates.exp: Likewise.
6661         * gdb.cp/virtfunc.exp: Likewise.
6662         * gdb.threads/hand-call-in-threads.exp: Likewise.
6663         * gdb.threads/interrupted-hand-call.exp: Likewise.
6664         * gdb.threads/thread-unwindonsignal.exp: Likewise.
6665
6666 2016-06-10  Tom Tromey  <tom@tromey.com>
6667
6668         PR rust/20110:
6669         * gdb.rust/expr.exp: Add test for integer constant larger than
6670         i32.
6671
6672 2016-06-10  Bernhard Heckel  <bernhard.heckel@intel.com>
6673
6674         * gdb.fortran/nested-funcs.exp: New.
6675         * gdb.fortran/nested-funcs.f90: New.
6676
6677 2016-06-09  Toshihito Kikuchi  <k.toshihito@yahoo.de>
6678
6679         * gdb.base/examine-backward.c: New file.
6680         * gdb.base/examine-backward.exp: New file.
6681
6682 2016-06-06  Simon Marchi  <simon.marchi@ericsson.com>
6683
6684         * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6685         matching.
6686
6687 2016-06-02  Tom Tromey  <tom@tromey.com>
6688
6689         PR python/18984:
6690         * gdb.python/py-shared.exp: Add solib_name test.
6691
6692 2016-06-02  Simon Marchi  <simon.marchi@ericsson.com>
6693
6694         * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6695
6696 2016-05-31  Martin Galvan  <martin.galvan@tallertechnologies.com>
6697
6698         PR c++/19893
6699         * gdb.dwarf2/implref.exp: Rename to...
6700         * gdb.dwarf2/implref-const.exp: ...this.  Also add more test statements.
6701         * gdb.dwarf2/implref-array.c: New file.
6702         * gdb.dwarf2/implref-array.exp: Likewise.
6703         * gdb.dwarf2/implref-global.c: Likewise.
6704         * gdb.dwarf2/implref-global.exp: Likewise.
6705         * gdb.dwarf2/implref-struct.c: Likewise.
6706         * gdb.dwarf2/implref-struct.exp: Likewise.
6707
6708 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6709
6710         * gdb.trace/trace-condition.exp: Add 64bit tests.
6711
6712 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6713
6714         * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6715         bits types.
6716         (main): Adapt to 8 to 64 bits types.
6717         * gdb.trace/trace-condition.exp: Add new tests.
6718
6719 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6720
6721         * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6722
6723 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6724
6725         * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6726         Move condition tests...
6727         * gdb.trace/trace-condition.exp: Here.
6728
6729 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6730
6731         * gdb.trace/trace-condition.exp: Add counter-case tests.
6732
6733 2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
6734
6735         PR c++/15231
6736         * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6737         * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6738
6739 2016-05-27  Pedro Alves  <palves@redhat.com>
6740
6741         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6742         New procedure.
6743         (top level): Call it, and bail out of DejaGnu is known to be bad.
6744
6745 2016-05-27  Andrew Burgess  <andrew.burgess@embecosm.com>
6746
6747         * gdb.base/whatis.c: Extend the test case.
6748         * gdb.base/whatis.exp: Add additional tests.
6749
6750 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6751
6752 * gdb.fortran/type.f90: Add pointer variable.
6753 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6754
6755 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6756
6757         * gdb.fortran/vla-type.exp: Fix testcase name.
6758
6759 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6760
6761         * gdb.fortran/vla-type.exp: Access elements in nested structs.
6762
6763 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6764
6765         * gdb.fortran/type.f90: Add nested structures.
6766         * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6767         * gdb.fortran/derived-type.exp: Adapt expected output.
6768         * gdb.fortran/vla-type.exp: Adapt expected output.
6769
6770 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6771
6772         * gdb.fortran/whatis_type.exp: Adapt expected output.
6773
6774 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6775
6776         * gdb.fortran/print_type.exp: Fix expected output.
6777         * gdb.fortran/whatis_type.exp: Fix expected output.
6778
6779 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6780
6781         * gdb.fortran/whatis_type.exp: Use multi_line.
6782
6783 2016-05-24  Tom Tromey  <tom@tromey.com>
6784
6785         PR python/17386:
6786         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6787         use value as an index.
6788
6789 2016-05-23  Tom Tromey  <tom@tromey.com>
6790
6791         PR python/17981:
6792         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6793         no-breakpoint case.
6794
6795 2016-05-24  Pedro Alves  <palves@redhat.com>
6796
6797         PR gdb/19828
6798         * gdb.threads/clone-attach-detach.c: New file.
6799         * gdb.threads/clone-attach-detach.exp: New file.
6800
6801 2016-05-24  Francis Ricci  <francisjricci@gmail.com>  (tiny patch)
6802
6803         * gdb.base/annota-input-while-running.exp: Fix syntax error.
6804
6805 2016-05-23  Tom Tromey  <tom@tromey.com>
6806
6807         PR python/19438, PR python/18393:
6808         * gdb.python/py-progspace.exp: Add "dir" test.
6809         * gdb.python/py-objfile.exp: Add "dir" test.
6810
6811 2016-05-23  Yao Qi  <yao.qi@linaro.org>
6812
6813         * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6814         * gdb.arch/thumb2-it.exp: Likewise.
6815
6816 2016-05-18  Simon Marchi  <simon.marchi@ericsson.com>
6817
6818         * gdb.mi/mi-threads-interrupt.c: New file.
6819         * gdb.mi/mi-threads-interrupt.exp: New file.
6820
6821 2016-05-17  Simon Marchi  <simon.marchi@ericsson.com>
6822
6823         PR gdb/18077
6824         * gdb.mi/mi-async-run.exp: New file.
6825         * gdb.mi/mi-async-run.c: New file.
6826
6827 2016-05-17  Tom Tromey  <tom@tromey.com>
6828             Manish Goregaokar <manishsmail@gmail.com>
6829
6830         * lib/rust-support.exp: New file.
6831         * lib/gdb.exp (skip_rust_tests): New proc.
6832         (build_executable_from_specs): Handle rust.
6833         * lib/future.exp (gdb_find_rustc): New proc.
6834         (gdb_default_target_compile): Handle rust.
6835         * gdb.rust/expr.exp: New file.
6836         * gdb.rust/generics.exp: New file.
6837         * gdb.rust/generics.rs: New file.
6838         * gdb.rust/methods.exp: New file.
6839         * gdb.rust/methods.rs: New file.
6840         * gdb.rust/modules.exp: New file.
6841         * gdb.rust/modules.rs: New file.
6842         * gdb.rust/simple.exp: New file.
6843         * gdb.rust/simple.rs: New file.
6844
6845 2016-05-17  Tom Tromey  <tom@tromey.com>
6846
6847         * gdb.base/default.exp (set language): Add rust.
6848
6849 2016-05-17  Tom Tromey  <tom@tromey.com>
6850
6851         * gdb.gdb/unittest.exp: New file.
6852
6853 2016-05-16  Yao Qi  <yao.qi@linaro.org>
6854
6855         * gdb.base/batch-preserve-term-settings.exp: Remove variable
6856         shell_prompt.  Update shell_prompt_re.
6857
6858 2016-05-12  Doug Evans  <dje@google.com>
6859
6860         PR symtab/19999
6861         * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6862         $options when building executable.
6863         * gdb.dwarf2/fission-loclists-pie.S: New file.
6864         * gdb.dwarf2/fission-loclists-pie.exp: New file.
6865
6866 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
6867
6868         * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
6869         of [is_remote target],
6870
6871 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
6872
6873         * lib/gdb.exp (use_gdb_stub): New procedure.
6874
6875 2016-05-03  Yunlian Jiang <yunlian@google.com>
6876             Doug Evans  <dje@google.com>
6877
6878         PR symtab/19914
6879         * gdb.dwarf2/dwp-sepdebug.c: New file.
6880         * gdb.dwarf2/dwp-sepdebug.exp: New file.
6881
6882 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
6883
6884         * gdb.base/detach.exp: Remove is_remote check.
6885
6886 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
6887
6888         * gdb.base/annota-input-while-running.exp: Don't check for
6889         [is_remote target].  Enable annotations after running to main.
6890         Remove unused "set test..." line.
6891
6892 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
6893
6894         * gdb.trace/trace-enable-disable.exp: New file.
6895         * gdb.trace/trace-enable-disable.c: New file.
6896
6897 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
6898
6899         * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6900         use it in info sharedlibrary test.
6901         * gdb.trace/ftrace-lock.exp: Likewise.
6902         * gdb.trace/ftrace.exp: Likewise.
6903         * gdb.trace/range-stepping.exp: Likewise.
6904         * gdb.trace/trace-break.exp: Likewise.
6905         * gdb.trace/trace-condition.exp: Likewise.
6906         * gdb.trace/trace-mt.exp: Likewise.
6907
6908 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
6909
6910         * lib/gdb.exp (gdb_load_shlibs): Rename to...
6911         (gdb_load_shlib): ... this.
6912         * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6913         gdb_load_shlib.
6914         * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6915         * gdb.base/ctxobj.exp: Likewise.
6916         * gdb.base/dprintf-pending.exp: Likewise.
6917         * gdb.base/dso2dso.exp: Likewise.
6918         * gdb.base/fixsection.exp: Likewise.
6919         * gdb.base/gcore-relro.exp: Likewise.
6920         * gdb.base/gdb1555.exp: Likewise.
6921         * gdb.base/global-var-nested-by-dso.exp: Likewise.
6922         * gdb.base/gnu-ifunc.exp: Likewise.
6923         * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6924         * gdb.base/jit-so.exp (one_jit_test): Likewise.
6925         * gdb.base/pending.exp: Likewise.
6926         * gdb.base/print-file-var.exp: Likewise.
6927         * gdb.base/print-symbol-loading.exp: Likewise.
6928         * gdb.base/shlib-call.exp: Likewise.
6929         * gdb.base/shreloc.exp: Likewise.
6930         * gdb.base/so-impl-ld.exp: Likewise.
6931         * gdb.base/solib-disc.exp: Likewise.
6932         * gdb.base/solib-nodir.exp: Likewise.
6933         * gdb.base/solib-overlap.exp: Likewise.
6934         * gdb.base/solib-symbol.exp: Likewise.
6935         * gdb.base/solib-weak.exp (do_test): Likewise.
6936         * gdb.base/sym-file.exp: Likewise.
6937         * gdb.base/symtab-search-order.exp: Likewise.
6938         * gdb.base/type-opaque.exp: Likewise.
6939         * gdb.base/unload.exp: Likewise.
6940         * gdb.base/watchpoint-solib.exp: Likewise.
6941         * gdb.compile/compile.exp: Likewise.
6942         * gdb.cp/gdb2384.exp: Likewise.
6943         * gdb.cp/infcall-dlopen.exp: Likewise.
6944         * gdb.cp/re-set-overloaded.exp: Likewise.
6945         * gdb.fortran/library-module.exp: Likewise.
6946         * gdb.opt/solib-intra-step.exp: Likewise.
6947         * gdb.python/py-finish-breakpoint.exp: Likewise.
6948         * gdb.python/py-shared.exp: Likewise.
6949         * gdb.reverse/solib-precsave.exp: Likewise.
6950         * gdb.reverse/solib-reverse.exp: Likewise.
6951         * gdb.server/solib-list.exp: Likewise.
6952         * gdb.threads/dlopen-libpthread.exp: Likewise.
6953         * gdb.threads/tls-shared.exp: Likewise.
6954         * gdb.threads/tls-so_extern.exp: Likewise.
6955         * gdb.trace/change-loc.exp: Likewise.
6956         * gdb.trace/ftrace-lock.exp: Likewise.
6957         * gdb.trace/ftrace.exp: Likewise.
6958         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
6959         * gdb.trace/pending.exp: Likewise.
6960         * gdb.trace/range-stepping.exp: Likewise.
6961         * gdb.trace/strace.exp (strace_remove_socket): Likewise.
6962         (strace_info_marker): Likewise.
6963         (strace_probe_marker): Likewise.
6964         (strace_trace_on_same_addr): Likewise.
6965         (strace_trace_on_diff_addr): Likewise.
6966         * gdb.trace/trace-break.exp: Likewise.
6967         * gdb.trace/trace-condition.exp: Likewise.
6968         * gdb.trace/trace-mt.exp: Likewise.
6969
6970 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
6971
6972         * lib/gdb.exp (gdb_load_shlibs):  Accept a single argument.  Return
6973         result of gdb_remote_download.
6974         * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
6975         * gdb.base/dso2dso.exp: Likewise.
6976         * gdb.base/global-var-nested-by-dso.exp: Likewise.
6977         * gdb.base/print-file-var.exp: Likewise.
6978         * gdb.base/shlib-call.exp: Likewise.
6979         * gdb.base/shreloc.exp: Likewise.
6980         * gdb.base/solib-overlap.exp: Likewise.
6981         * gdb.base/solib-weak.exp (do_test): Likewise.
6982         * gdb.base/unload.exp: Likewise.
6983
6984 2016-04-27  Yao Qi  <yao.qi@linaro.org>
6985
6986         * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
6987         exists.
6988
6989 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
6990
6991         * vla-type.exp: Print structure from toplevel.
6992
6993 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
6994
6995         * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
6996         of dynamic types.
6997         * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
6998         of dynamic types.
6999
7000 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7001
7002         * gdb.fortran/vla-type.f90: New file.
7003         * gdb.fortran/vla-type.exp: New file.
7004
7005 2016-04-25  Yao Qi  <yao.qi@linaro.org>
7006
7007         * gdb.base/branch-to-self.c: New file.
7008         * gdb.base/branch-to-self.exp: New file.
7009
7010 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7011
7012         * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
7013         more after $hex.
7014
7015 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7016
7017         * gdb.base/annota1.exp: Set breakpoint on line $main_line.
7018         * gdb.base/annota3.exp: Likewise.
7019
7020 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7021
7022         * gdb.reverse/step-precsave.exp: Do one step and test program
7023         stops in "callee" and do multiple steps until program goes out
7024         of "callee".
7025         * gdb.reverse/step-reverse.exp: Likewise.
7026
7027 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7028
7029         * gdb.trace/signal.exp: Also pass if
7030         $tracepoint_hits($i) > $iterations.
7031
7032 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7033
7034         * gdb.trace/signal.c: New file.
7035         * gdb.trace/signal.exp: New file.
7036
7037 2016-04-19  Doug Evans  <xdje42@gmail.com>
7038
7039         * gdb.base/bad-file.exp: New file.
7040
7041 2016-04-18  Martin Galvan  <martin.galvan@tallertechnologies.com>
7042
7043         * gdb.dwarf2/implref.exp: New file.
7044
7045 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
7046
7047         * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
7048         * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
7049         * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
7050         * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
7051         * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
7052         * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
7053         * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
7054         * lib/fortran.exp (fortran_int4): New procedure.
7055         (fortran_real4, fortran_real8, fortran_complex4): Likewise.
7056         (fortran_logical4): Likewise.
7057
7058 2016-04-18  Benrhard Heckel <bernhard.heckel@intel.com>
7059
7060         * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
7061
7062 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
7063
7064         * lib/compiler.c: Add Intel specific preprocessor macros.
7065         * lib/compiler.cc: Likewise.
7066
7067 2016-04-13  Luis Machado  <lgustavo@codesourcery.com>
7068
7069         * gdb.server/connect-with-no-symbol-file.c: New file.
7070         * gdb.server/connect-with-no-symbol-file.exp: New file.
7071
7072 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
7073
7074         * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7075
7076 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
7077
7078         * boards/gdbserver-base.exp (${board}_download): Copy source file to
7079         standard output directory.
7080
7081 2016-04-13  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7082
7083         * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7084
7085 2016-04-13  Markus Metzger  <markus.t.metzger@intel.com>
7086
7087         * gdb.btrace/instruction_history.c (loop): Add declaration.
7088
7089 2016-04-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7090
7091         * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7092
7093 2016-04-09  Simon Marchi  <simon.marchi@polymtl.ca>
7094
7095         * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
7096         parentheses to print.
7097         (continue_handler): Likewise.
7098
7099 2016-04-08  Simon Marchi  <simon.marchi@ericsson.com>
7100
7101         * gdb.server/solib-list.exp: Remove is_remote check.
7102         Pass shlib= to gdb_compile.  Don't link shared library with
7103         -soname.  Call gdb_remote_download instead of gdb_load_shlibs.
7104         Run binary filename through "readlink -f" on the target.
7105
7106 2016-04-08  Pedro Alves  <palves@redhat.com>
7107
7108         * gdb.server/solib-list.exp: Don't use gdb_load.  Instead pass the
7109         interpreter filename as argument to gdbserver_spawn.
7110         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7111         Return empty if $last_loaded_file does not exist.
7112
7113 2016-04-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7114
7115         Fix compatibility with gcc-4.8.5-4.el7.x86_64.
7116         * gdb.base/jit-main.c: Use exit after usage.
7117
7118 2016-04-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7119
7120         * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
7121         GDBHISTSIZE prior to the tests.
7122         * gdb.base/gdbinit-history.exp: Likewise.
7123
7124 2016-04-07  Pedro Alves  <palves@redhat.com>
7125
7126         * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
7127         instead of build_executable.  Use gdb_load_shlibs.
7128
7129 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7130
7131         * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
7132         Execute "si" command.
7133
7134 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7135
7136         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
7137         number instead of the comments on some line.
7138
7139 2016-04-06  Don Breazeal  <donb@codesourcery.com>
7140
7141         * gdb.dwarf2/dw2-opt-structptr.c: New test program.
7142         * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
7143
7144 2016-04-06  Simon Marchi  <simon.marchi@ericsson.com>
7145
7146         * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
7147         standard_output_file.  Remove unused binfile variable.
7148
7149 2016-04-05  Catalin Udma  <catalin.udma@freescale.com>
7150
7151         * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
7152         * gdb.python/py-mi-objfile.exp: Match "list main" output
7153         in console format.
7154
7155 2016-04-05  Simon Marchi  <simon.marchi@polymtl.ca>
7156
7157         * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
7158         absolute.
7159
7160 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7161
7162         * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
7163         absolute.
7164         * gdb.trace/ftrace.exp: Likewise.
7165         * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
7166         targets as well.
7167         (gdb_compile_shlib): Set SONAME for non-remote targets as well.
7168         (gdb_load_shlibs): Copy libraries to test directory when testing
7169         natively.  Only set solib-search-path if testing remotely.
7170         * lib/mi-support.exp (mi_load_shlibs): Likewise.
7171
7172 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7173
7174         * gdb.base/jit-so.exp: Use gdb_remote_download instead of
7175         gdb_download.  Use it even if the target is not remote.
7176         * gdb.base/jit.exp (compile_jit_test): Likewise.
7177         * lib/gdb.exp (gdb_remote_download): Copy files to the standard
7178         output directory if the destination board is local, otherwise use
7179         the standard remote_download from DejaGnu.
7180         (gdb_download): Remove.
7181         (gdb_load_shlibs): Use gdb_remote_download instead of
7182         gdb_download.
7183         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7184         Use gdb_remote_download instead of gdb_download.  Use it even if
7185         the target is not remote.
7186         * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
7187         instead of gdb_download.
7188
7189 2016-04-04  Simon Marchi  <simon.marchi@polymtl.ca>
7190
7191         * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
7192         (test_insert_delete_modify): Call mi_load_shlibs before trying to
7193         run.
7194
7195 2016-04-01  Artemiy Volkov  <artemiyv@acm.org>
7196
7197         PR gdb/19820
7198         * gdb.base/printcmds.exp: Add artificial arrays tests.
7199
7200 2016-03-31  Pedro Alves  <palves@redhat.com>
7201
7202         PR gdb/19858
7203         * gdb.base/jit-main.c: Include unistd.h.
7204         (ATTACH): Define to 0 if not already defined.
7205         (wait_for_gdb, mypid): New globals.
7206         (WAIT_FOR_GDB): New macro.
7207         (MAIN): Set an alarm.  Store the process's pid.  Wait for GDB at
7208         some breakpoint locations.
7209         * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
7210         New procedures.
7211         (one_jit_test): Add REATTACH parameter, and handle it.  Use
7212         continue_to_test_location.
7213         (top level): Test attach, and adjusts calls to one_jit_test.
7214
7215 2016-03-31  Pedro Alves  <palves@redhat.com>
7216
7217         PR gdb/19858
7218         * gdb.base/jit.exp (compile_jit_test): Add intro comment.  Add
7219         BINSUFFIX parameter, and handle it.
7220         (top level): Adjust calls compile_jit_test.
7221
7222 2016-03-31  Catalin Udma  <catalin.udma@freescale.com>
7223
7224         PR python/19743
7225         * gdb.python/py-mi-events-gdb.py: New file.
7226         * gdb.python/py-mi-events.c: New file.
7227         * gdb.python/py-mi-events.exp: New file.
7228
7229 2016-03-30  Yao Qi  <yao.qi@linaro.org>
7230
7231         * gdb.reverse/until-precsave.exp: Match function name only.
7232         * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
7233         Move malloc to a condition block.
7234         * gdb.reverse/until-reverse.exp: Match function name only.
7235
7236 2016-03-29  Marcin Kościelnicki  <koriakin@0x04.net>
7237
7238         * gdb.trace/ftrace.exp: Set arg0exp for s390.
7239         * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
7240         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
7241         variable for GPR 0 instead of assuming it is register 0.
7242         * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
7243         * lib/trace-support.exp: Add s390 registers.
7244
7245 2016-03-29  Yao Qi  <yao.qi@linaro.org>
7246
7247         * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
7248
7249 2016-03-24  Yao Qi  <yao.qi@linaro.org>
7250
7251         * gdb.reverse/break-reverse.exp: Add quotation mark in the
7252         test message.
7253
7254 2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7255
7256         * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
7257         maintaining separate logic for constructing the output path.
7258
7259 2016-03-16  Don Breazeal  <donb@codesourcery.com>
7260
7261         * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
7262         Retry fork and waitpid on interrupted system call errors.
7263         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7264         Use with_timeout_factor to increase timeout by factor of 10.
7265
7266 2016-03-15  Don Breazeal  <donb@codesourcery.com>
7267
7268         * gdb.cp/scope-err.cc: New test program.
7269         * gdb.cp/scope-err.exp: New test script.
7270         * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
7271         lines and "set breakpoint here" comment.
7272         * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
7273         Fixed some whitespace and format issues.
7274         * gdb.mi/mi-linespec-err-cp.cc: New test program.
7275         * gdb.mi/mi-linespec-err-cp.exp: New test script.
7276
7277 2016-03-15  Doug Evans  <dje@google.com>
7278
7279         * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
7280         * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
7281         All callers updated.  Add tests for enums, mixed flags register.
7282
7283 2016-03-15  Doug Evans  <dje@google.com>
7284
7285         * gdb.base/skip.c (main): Call test_skip_file_and_function.
7286         * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
7287
7288 2016-03-14  Simon Marchi  <simon.marchi@ericsson.com>
7289
7290         * gdb.base/default.exp: Add $_as_string to the list of expected
7291         convenience functions.
7292
7293 2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
7294
7295         * gdb.base/maint.exp: New tests for 'maint info line-table'.
7296
7297 2016-03-10  Simon Marchi  <simon.marchi@polymtl.ca>
7298
7299         * gdb.python/py-as-string.exp: New file.
7300         * gdb.python/py-as-string.c: New file.
7301
7302 2016-03-09  Pedro Alves  <palves@redhat.com>
7303
7304         * gdb.threads/attach-into-signal.exp: Adjust to "Program received
7305         signal" -> "Thread NN received signal" output change.
7306         * gdb.threads/ia64-sigill.exp: Likewise.
7307         * gdb.threads/linux-dp.exp: Likewise.
7308         * gdb.threads/manythreads.exp: Likewise.
7309         * gdb.threads/pending-step.exp: Likewise.
7310         * gdb.threads/print-threads.exp: Likewise.
7311         * gdb.threads/sigstep-threads.exp: Likewise.
7312         * gdb.threads/staticthreads.exp: Likewise.
7313         * gdb.threads/tls.exp: Likewise.
7314
7315 2016-03-09  Pedro Alves  <palves@redhat.com>
7316
7317         * gdb.base/command-line-input.exp: New file.
7318
7319 2016-03-09  Marcin Kościelnicki  <koriakin@0x04.net>
7320
7321         * gdb.trace/ftrace.exp: Set arg0exp for ppc.
7322         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
7323         * gdb.trace/pending.exp: Accept leading dot before function name.
7324         * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
7325         * lib/trace-support.exp: Set registers for ppc.
7326
7327 2016-03-09  Marcin Kościelnicki  <koriakin@0x04.net>
7328
7329         * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
7330         use it for disassembly; accept .main in addition to main in backtrace.
7331
7332 2016-03-09  Wei-cheng Wang  <cole945@gmail.com>
7333             Marcin Kościelnicki  <koriakin@0x04.net>
7334
7335         * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
7336         (gdb_recursion_test_ptr): New global variable.
7337         (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
7338         gdb_recursion_test.
7339         (gdb_c_test): Ditto.
7340
7341 2016-03-09  Marcin Kościelnicki  <koriakin@0x04.net>
7342
7343         * gdb.trace/change-loc.exp: Don't depend on tracepoint location
7344         ordering.
7345
7346 2016-03-09  Marcin Kościelnicki  <koriakin@0x04.net>
7347
7348         * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
7349         (bar): Add bar_start_lbl label.
7350         * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
7351         of foo/bar for emitting DWARF and tracing.
7352
7353 2016-03-06  Sergio Durigan Junior  <sergiodj@redhat.com>
7354
7355         * analyze-racy-logs.py: Set executable bit.
7356
7357 2016-03-05  Sergio Durigan Junior  <sergiodj@redhat.com>
7358
7359         * Makefile.in (DEFAULT_RACY_ITER): New variable.
7360         (CHECK_TARGET_TMP): Likewise.
7361         (check-single-racy): New rule.
7362         (check-parallel-racy): Likewise.
7363         (TEST_TARGETS): Adjust rule to account for RACY_ITER.
7364         (do-check-parallel-racy): New rule.
7365         (check-racy/%.exp): Likewise.
7366         * README (Racy testcases): New section.
7367         * analyze-racy-logs.py: New file.
7368
7369 2016-03-03  Doug Evans  <dje@google.com>
7370
7371         * gdb.base/skip.exp: Use with_test_prefix.
7372
7373 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7374
7375         * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
7376         Invoke step_over_syscall "clone" and break_cond_on_syscall
7377         "clone".
7378         * gdb.base/step-over-clone.c: New file.
7379
7380 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7381
7382         * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
7383         code format.
7384
7385 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7386
7387         * gdb.base/disp-step-fork.c: Rename to ...
7388         * gdb.base/step-over-fork.c: ... it.  New file.
7389         * gdb.base/disp-step-vfork.c: Rename to ...
7390         * gdb.base/step-over-vfork.c: ... it.  New file.
7391         * gdb.base/disp-step-syscall.exp: Rename to ...
7392         * gdb.base/step-over-syscall.exp: ... it.  New file.
7393         (disp_step_cross_syscall): Rename to ...
7394         (step_over_syscall): ... it.
7395
7396 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7397
7398         * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7399         If target supports condition evaluation on target, invoke
7400         break_cond_on_syscall for fork and vfork.
7401
7402 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7403
7404         * gdb.base/disp-step-syscall.exp: Don't invoke
7405         support_displaced_stepping.
7406         (disp_step_cross_syscall): Test with displaced stepping off and
7407         on if supported.
7408
7409 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7410
7411         * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7412         proc.
7413         (setup): New proc.
7414         (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7415         and setup.
7416
7417 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7418
7419         * gdb.fortran/vla-history.exp: Remove breakpoint.
7420
7421 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7422
7423         * gdb.fortran/vla-history.exp: Lookup array elements and printing
7424         exceeds timeout.
7425
7426 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7427
7428         * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7429         breakpoint.
7430
7431 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7432
7433         * gdb.mi/vla.f90: Nullify pointer after declaration.
7434
7435 2016-03-01  Pedro Alves  <palves@redhat.com>
7436
7437         * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7438
7439 2016-03-01  Pedro Alves  <palves@redhat.com>
7440
7441         * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7442         before anything else.
7443         * gdb.threads/watchpoint-fork-mt.c: Likewise.  Don't define
7444         _GNU_SOURCE here.
7445         * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7446         before anything else.
7447         * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7448
7449 2016-03-01  Pedro Alves  <palves@redhat.com>
7450
7451         * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7452
7453 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7454
7455         * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7456         prepare_for_testing.
7457
7458 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7459
7460         * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7461
7462 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7463
7464         * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7465         manually constructing the output path.
7466
7467 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7468
7469         * gdb.arch/s390-stackless.S: New.
7470         * gdb.arch/s390-stackless.exp: New.
7471
7472 2016-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
7473
7474         * gdb.dlang/circular.c: New file.
7475         * gdb.dlang/circular.exp: New file.
7476
7477 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7478
7479         * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
7480         [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
7481         (testcases): Update.
7482
7483 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7484
7485         * gdb.reverse/aarch64.c: Rename to ...
7486         * gdb.reverse/insn-reverse.c: ... it.
7487         * gdb.reverse/aarch64.exp: Rename to ...
7488         * gdb.reverse/insn-reverse.exp: ... it.
7489
7490 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7491
7492         * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7493         (testcase_ftype): New.
7494         (testcases): New array.
7495         (n_testcases): New.
7496         (main): Call each element in testcases.
7497         * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7498         (read_testcase): New.
7499         Do the tests in a loop.
7500
7501 2016-02-25  Yao Qi  <yao.qi@linaro.org>
7502
7503         * gdb.base/branches.c: Remove.
7504
7505 2016-02-25  Marcin Kościelnicki  <koriakin@0x04.net>
7506
7507         PR gdb/13808
7508         * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7509
7510 2016-02-25  Marcin Kościelnicki  <koriakin@0x04.net>
7511
7512         * gdb.trace/ftrace.exp: Remove unnecessary target check.
7513
7514 2016-02-25  Marcin Kościelnicki  <koriakin@0x04.net>
7515
7516         * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7517         change x86_64 call_insn to 'callq'.
7518
7519 2016-02-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7520
7521         * gdb.trace/tfile-avx.c: Move to...
7522         * gdb.trace/tracefile-pseudo-reg.c: Here.
7523         * gdb.trace/tfile-avx.exp: Move to...
7524         * gdb.trace/tracefile-pseudo-reg.exp: Here.
7525
7526 2016-02-24  Gary Benson <gbenson@redhat.com>
7527
7528         * gdb.base/attach-pie-noexec.exp: Do not expect an error
7529         message on attach.
7530
7531 2016-02-23  Doug Evans  <dje@google.com>
7532
7533         * gdb.base/skip.c (test_skip): New function.
7534         (end_test_skip_file_and_function): New function.
7535         (test_skip_file_and_function): New function.
7536         * gdb.base/skip1.c (test_skip): New function.
7537         (skip1_test_skip_file_and_function): New function.
7538         * gdb.base/skip.exp: Add tests for new skip options.
7539         * gdb.base/skip-solib.exp: Update expected output.
7540         * gdb.perf/skip-command.cc: New file.
7541         * gdb.perf/skip-command.exp: New file.
7542         * gdb.perf/skip-command.py: New file.
7543
7544 2016-02-22  Marcin Kościelnicki  <koriakin@0x04.net>
7545
7546         * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7547         info registers pattern.
7548
7549 2016-02-18  Iain Buclaw  <ibuclaw@gdcproject.org>
7550
7551         * lib/future.exp: Add D support.
7552         (gdb_find_gdc): New proc.
7553         (gdb_default_target_compile): Add D support.
7554
7555 2016-02-18  Wei-cheng Wang  <cole945@gmail.com>
7556
7557         * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7558         user+system time.
7559         (trace_speed_test): Determine the iteration count for a time
7560         between 15..30 seconds.
7561
7562 2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>
7563
7564         * gdb.arch/i386-mpx-sigsegv.c: New file.
7565         * gdb.arch/i386-mpx-sigsegv.exp: New file.
7566         * gdb.arch/i386-mpx-simple_segv.c: New file.
7567         * gdb.arch/i386-mpx-simple_segv.exp: New file.
7568
7569 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7570
7571         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7572         Don't call setup_kfail.
7573
7574 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7575
7576         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7577         Set "set breakpoint condition-evaluation" per $cond_bp_target.
7578
7579 2016-02-16  Doug Evans  <dje@google.com>
7580
7581         * gdb.base/skip.c: Add copyright.  Whitespace cleanup.
7582         * gdb.base/skip1.c: Ditto.
7583         * gdb.base/skip.exp: Whitespace cleanup.
7584
7585 2016-02-16  Don Breazeal  <donb@codesourcery.com>
7586
7587         PR remote/19496
7588         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7589         Remove kfail for PR remote/19496.
7590
7591 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7592
7593         * lib/gdb.exp (standard_temp_file): Return a path specific to
7594         the runtest invocation.
7595
7596 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7597
7598         * gdb.trace/save-trace.exp: Change relative path to be in the
7599         standard output directory.
7600
7601 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7602
7603         * gdb.arch/i386-prologue.c: Add missing prototypes.
7604
7605 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7606
7607         * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7608         * gdb.arch/i386-prologue.exp: Likewise.
7609         * gdb.arch/i386-size.exp: Likewise.
7610
7611 2016-02-15  Simon Marchi  <simon.marchi@ericsson.com>
7612
7613         * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7614         define object file path.
7615         * gdb.btrace/gcore.exp: Use standard_output_file to define core
7616         file path.
7617         * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7618         standard_output_file to define binfile.
7619
7620 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7621
7622         Fix compatibility with recent gfortran-5.3.1.
7623         * gdb.fortran/vla-history.exp (print vla1 allocated)
7624         (print vla2 allocated, print $2, print $3): Remove
7625         (print $4): Rename to ...
7626         (print $2): ... here.
7627         (print $9): Rename to ...
7628         (print $5): ... here.
7629         (print $10): Rename to ...
7630         (print $6): ... here.
7631         * gdb.fortran/vla.f90: Add pvla initialization.
7632
7633 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7634
7635         * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7636         New test.
7637         * gdb.fortran/vla-value-sub.exp: Likewise.
7638
7639 2016-02-12  Marcin Kościelnicki  <koriakin@0x04.net>
7640
7641         * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7642
7643 2016-02-12  Simon Marchi  <simon.marchi@ericsson.com>
7644
7645         * i386-biarch-core.exp: Define corefile using
7646         standard_output_file.
7647
7648 2016-02-12  Yao Qi  <yao.qi@linaro.org>
7649
7650         * gdb.arch/arm-single-step-kernel-helper.c: New.
7651         * gdb.arch/arm-single-step-kernel-helper.exp: New.
7652
7653 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
7654
7655         * gdb.btrace/tailcall-only.exp: New.
7656         * gdb.btrace/tailcall-only.c: New.
7657         * gdb.btrace/x86_64-tailcall-only.S: New.
7658         * gdb.btrace/i686-tailcall-only.S: New.
7659
7660 2016-02-11  Pedro Alves  <palves@redhat.com>
7661
7662         * README (Parallel testing): Add missing double quotes.
7663
7664 2016-02-11  Pedro Alves  <palves@redhat.com>
7665
7666         * README (Parallel testing): New section.
7667         (GDB_PARALLEL): Rewrite.
7668         (FORCE_PARALLEL): Document.
7669
7670 2016-02-11  Marcin Kościelnicki  <koriakin@0x04.net>
7671
7672         * gdb.trace/tfile-avx.c: New test.
7673         * gdb.trace/tfile-avx.exp: New test.
7674
7675 2016-02-09  Keith Seitz  <keiths@redhat.com>
7676
7677         PR breakpoints/19546
7678         * gdb.base/infcall-exec.c: New file.
7679         * gdb.base/infcall-exec2.c: New file.
7680         * gdb.base/infcall-exec.exp: New file.
7681
7682 2016-02-09  Keith Seitz  <keiths@redhat.com>
7683
7684         * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7685         (toplevel): Call test_bkpt_address.
7686
7687 2016-02-09  Keith Seitz  <keiths@redhat.com>
7688
7689         PR python/19506
7690         * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7691         (toplevel): Call test_bkpt_address.
7692
7693 2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
7694
7695         * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7696         to AC_OUTPUT.
7697         * configure: Regenerate.
7698
7699 2016-02-09  Pedro Alves  <palves@redhat.com>
7700
7701         PR breakpoints/19548
7702         * gdb.base/execl-update-breakpoints.c (some_function): New
7703         function.
7704         (main): Call it.
7705         * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7706         Tighten expected GDB output.
7707
7708 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
7709
7710         * Makefile.in (ALL_SUBDIRS): Remove.
7711         (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7712         (distclean maintainer-clean realclean): Likewise.
7713         * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7714         * configure: Regenerate.
7715         * gdb.ada/Makefile.in: Delete.
7716         * gdb.arch/Makefile.in: Likewise.
7717         * gdb.asm/Makefile.in: Likewise.
7718         * gdb.base/Makefile.in: Likewise.
7719         * gdb.btrace/Makefile.in: Likewise.
7720         * gdb.cell/Makefile.in: Likewise.
7721         * gdb.compile/Makefile.in: Likewise.
7722         * gdb.cp/Makefile.in: Likewise.
7723         * gdb.disasm/Makefile.in: Likewise.
7724         * gdb.dlang/Makefile.in: Likewise.
7725         * gdb.dwarf2/Makefile.in: Likewise.
7726         * gdb.fortran/Makefile.in: Likewise.
7727         * gdb.gdb/Makefile.in: Likewise.
7728         * gdb.go/Makefile.in: Likewise.
7729         * gdb.guile/Makefile.in: Likewise.
7730         * gdb.java/Makefile.in: Likewise.
7731         * gdb.linespec/Makefile.in: Likewise.
7732         * gdb.mi/Makefile.in: Likewise.
7733         * gdb.modula2/Makefile.in: Likewise.
7734         * gdb.multi/Makefile.in: Likewise.
7735         * gdb.objc/Makefile.in: Likewise.
7736         * gdb.opencl/Makefile.in: Likewise.
7737         * gdb.opt/Makefile.in: Likewise.
7738         * gdb.pascal/Makefile.in: Likewise.
7739         * gdb.perf/Makefile.in: Likewise.
7740         * gdb.python/Makefile.in: Likewise.
7741         * gdb.reverse/Makefile.in: Likewise.
7742         * gdb.server/Makefile.in: Likewise.
7743         * gdb.stabs/Makefile.in: Likewise.
7744         * gdb.threads/Makefile.in: Likewise.
7745         * gdb.trace/Makefile.in: Likewise.
7746         * gdb.xml/Makefile.in: Likewise.
7747         * lib/gdb.exp (make_gdb_parallel_path): Add check for
7748         GDB_PARALLEL.
7749         (standard_output_file): Remove check for GDB_PARALLEL, always
7750         return path in outputs/$subdir/$testname.
7751
7752 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
7753
7754         * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7755         (site.exp): Assign abs_srcdir to tcl's srcdir.
7756
7757 2016-02-04  Yao Qi  <yao.qi@linaro.org>
7758
7759         * gdb.base/foll-exec-mode.c: Include limits.h.
7760         (main): Add parameters argc and argv.  Get directory from
7761         argv[0].
7762         * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7763         compilation.
7764         * gdb.base/foll-exec.c: Include limits.h.
7765         (main): Add parameters argc and argv.
7766         Get directory from argv[0].
7767         * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7768         Adjust tests on the number of lines as source code changed.
7769         * gdb.base/foll-vfork-exit.c: Include limits.h.
7770         (main): Add one line of statement before vfork.
7771         * gdb.base/foll-vfork.c: Include limits.h and string.h.
7772         (main): Add parameters argc and argv.  Get directory from
7773         argv[0].
7774         * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7775         (setup_gdb): Set tbreak to skip some source lines.
7776         * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7777         (main): Add parameters argc and argv.  Get directory from
7778         argv[0].
7779         * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7780         compilation.
7781         * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7782         (main): Add parameters argc and argv.  Get directory from
7783         argv[0].
7784         * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7785         compilation.
7786
7787 2016-02-01  Doug Evans  <dje@google.com>
7788
7789         * gdb.base/skip.exp: Clean up multiple references to same test name.
7790
7791 2016-02-01  Pedro Alves  <palves@redhat.com>
7792
7793         PR remote/19496
7794         * gdb.threads/forking-threads-plus-breakpoint.exp
7795         (displaced_stepping_supported): New global.
7796         (probe_displaced_stepping_support): New procedure.
7797         (do_test): Add 'displaced' parameter, and use it.
7798         (top level): Check for displaced stepping support.  Add displaced
7799         stepping on/off testing axis.
7800
7801 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
7802
7803         * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7804         pointer.  Don't perform further tests on the unassociated pointer
7805         if the first test fails.
7806
7807 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
7808
7809         * gdb.base/max-value-size.c: New file.
7810         * gdb.base/max-value-size.exp: New file.
7811         * gdb.base/huge.exp: Disable max-value-size for this test.
7812
7813 2016-01-28  Iain Buclaw  <ibuclaw@gdcproject.org>
7814
7815         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7816
7817 2016-01-28  Yao Qi  <yao.qi@linaro.org>
7818
7819         * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7820
7821 2016-01-25  Pedro Alves  <palves@redhat.com>
7822
7823         PR threads/19461
7824         * gdb.base/fork-running-state.c: New file.
7825         * gdb.base/fork-running-state.exp: New file.
7826
7827 2016-01-25  Pedro Alves  <palves@redhat.com>
7828
7829         PR gdb/19494
7830         * gdb.base/catch-fork-kill.c: New file.
7831         * gdb.base/catch-fork-kill.exp: New file.
7832
7833 2016-01-25  Pedro Alves  <palves@redhat.com>
7834
7835         * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7836         Delete, moved to lib/gdb.exp.
7837         * gdb.threads/forking-threads-plus-breakpoint.exp
7838         (foreach_with_prefix): Likewise.
7839         * gdb.threads/process-dies-while-handling-bp.exp
7840         (foreach_with_prefix): Likewise.
7841         * lib/gdb.exp (foreach_with_prefix): New procedure.
7842
7843 2016-01-25  Marcin Kościelnicki  <koriakin@0x04.net>
7844
7845         * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7846         * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7847
7848 2016-01-23  Marcin Kościelnicki  <koriakin@0x04.net>
7849
7850         * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7851         endian targets.
7852
7853 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
7854             Pedro Alves  <palves@redhat.com>
7855
7856         Fix testsuite compatibility with Guile.
7857         * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7858         number.
7859
7860 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
7861
7862         Fix testsuite compatibility with Guile.
7863         * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7864         (thread 1): New test for backtrace through signal handler.
7865
7866 2016-01-22  Yao Qi  <yao.qi@linaro.org>
7867
7868         PR testsuite/19491
7869         * gdb.base/multi-forks.c: Include
7870         ../lib/unbuffer_output.c
7871         (main): Call gdb_unbuffer_output.
7872
7873 2016-01-21  Doug Evans  <dje@google.com>
7874
7875         * lib/ada.exp (gdb_compile_ada): Fix typo.
7876
7877 2016-01-21  Joel Brobecker  <brobecker@adacore.com>
7878
7879         * gdb.base/break-fun-addr.exp: New file.
7880         * gdb.base/break-fun-addr1.c: New file.
7881         * gdb.base/break-fun-addr2.c: New file.
7882
7883 2016-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
7884
7885         * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7886         * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7887         enum flag values.
7888
7889 2016-01-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7890
7891         * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7892         when GDB can not set the vector return value.  Add more comments
7893         for clarification.
7894
7895 2016-01-20  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7896
7897         * gdb.trace/tspeed.exp:  Use shlib instead of libs in gdb_compile
7898         command.
7899
7900 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
7901
7902         * Makefile.in (DO_RUNTEST): Add --status and update usages.
7903
7904 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
7905
7906         * Makefile.in (check-single): Pass --status to runtest.
7907         (check/%.exp): Likewise.
7908
7909 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
7910
7911         * Makefile.in (check-parallel): Propagate return code from make
7912         do-check-parallel.
7913
7914 2016-01-19  Marcin Kościelnicki  <koriakin@0x04.net>
7915
7916         * gdb.trace/ftrace.exp: Fix expected message on continue.
7917         * gdb.trace/pending.exp: Fix expected message on continue.
7918         * gdb.trace/trace-break.exp: Fix expected message on continue.
7919
7920 2016-01-18  Simon Marchi  <simon.marchi@ericsson.com>
7921
7922         * lib/gdb.exp (gdb_test): Remove unused global references.
7923
7924 2016-01-18  Pedro Alves  <palves@redhat.com>
7925
7926         * gdb.base/async-shell.exp: Adjust expected output.
7927         * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7928         * gdb.base/siginfo-thread.exp: Adjust expected output.
7929         * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7930         * gdb.java/jnpe.exp: Adjust expected output.
7931         * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7932         * gdb.threads/continue-pending-status.exp: Adjust expected output.
7933         * gdb.threads/leader-exit.exp: Adjust expected output.
7934         * gdb.threads/manythreads.exp: Adjust expected output.
7935         * gdb.threads/pthreads.exp: Adjust expected output.
7936         * gdb.threads/schedlock.exp: Adjust expected output.
7937         * gdb.threads/siginfo-threads.exp: Adjust expected output.
7938         * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
7939         expected output.
7940         * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
7941         output.
7942         * gdb.threads/sigthread.exp: Adjust expected output.
7943         * gdb.threads/watchpoint-fork.exp: Adjust expected output.
7944
7945 2016-01-18  Yao Qi  <yao.qi@linaro.org>
7946
7947         * gdb.guile/scm-section-script.c: Replace @progbits with
7948         %progbits.
7949         * gdb.python/py-section-script.c: Likewise.
7950
7951 2016-01-15  Pedro Alves  <palves@redhat.com>
7952
7953         * gdb.multi/tids.exp: Test star wildcard ranges.
7954
7955 2016-01-15  Pedro Alves  <palves@redhat.com>
7956
7957         * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
7958         command from "thread apply" invocation.
7959         (thr_apply_info_thr_invalid): Default the expected output to the
7960         input tid list.
7961         (top level): Add tests that use convenience variables.  Add tests
7962         for "thread apply" with a valid TID list, but missing the command.
7963
7964 2016-01-13  Pedro Alves  <palves@redhat.com>
7965
7966         * gdb.base/default.exp: Expect $_gthread as well.
7967         * gdb.multi/tids.exp: Test $_gthread.
7968         * gdb.threads/thread-specific.exp: Test $_gthread.
7969
7970 2016-01-13  Pedro Alves  <palves@redhat.com>
7971
7972         * gdb.multi/tids.exp: Test "info threads -gid".
7973
7974 2016-01-13  Pedro Alves  <palves@redhat.com>
7975
7976         * gdb.multi/tids.exp: Test InferiorThread.global_num and
7977         Breakpoint.thread.
7978         * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
7979
7980 2016-01-07  Pedro Alves  <palves@redhat.com>
7981
7982         * gdb.base/break.exp: Adjust to output changes.
7983         * gdb.base/hbreak2.exp: Likewise.
7984         * gdb.base/sepdebug.exp: Likewise.
7985         * gdb.base/watch_thread_num.exp: Likewise.
7986         * gdb.linespec/keywords.exp: Likewise.
7987         * gdb.multi/info-threads.exp: Likewise.
7988         * gdb.threads/thread-find.exp: Likewise.
7989         * gdb.multi/tids.c: New file.
7990         * gdb.multi/tids.exp: New file.
7991
7992 2016-01-13  Pedro Alves  <palves@redhat.com>
7993
7994         * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
7995
7996 2016-01-13  Pedro Alves  <palves@redhat.com>
7997
7998         * gdb.base/default.exp: Expect $_inferior as well.
7999         * gdb.multi/base.exp: Test $_inferior.
8000
8001 2016-01-13  Pedro Alves  <palves@redhat.com>
8002
8003         PR breakpoints/19388
8004         * gdb.base/catch-signal-siginfo-cond.c: New file.
8005         * gdb.base/catch-signal-siginfo-cond.exp: New file.
8006
8007 2016-01-12  Josh Stone  <jistone@redhat.com>
8008             Philippe Waroquiers  <philippe.waroquiers@skynet.be>
8009
8010         * gdb.base/catch-syscall.c (do_execve): New variable.
8011         (main): Conditionally trigger an execve.
8012         * gdb.base/catch-syscall.exp: Enable testing for remote targets.
8013         (test_catch_syscall_execve): New, check entry/return across execve.
8014         (do_syscall_tests): Call test_catch_syscall_execve.
8015
8016 2016-01-12  Pedro Alves  <palves@redhat.com>
8017
8018         * gdb.base/random-signal.exp (do_test): New procedure, with body
8019         of testcase moved in.
8020
8021 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8022             Pedro Alves  <palves@redhat.com>
8023
8024         * gdb.base/funcargs.exp (finish from indirectly called function):
8025         Reintroduce the case for 'First'.
8026
8027 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8028             Pedro Alves  <palves@redhat.com>
8029
8030         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8031         (tcatch_vfork_then_child_follow_exec)
8032         (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
8033         identification.
8034
8035 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8036
8037         * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
8038         and repeats to unlimited.
8039         * gdb.python/py-value.exp: Likewise.
8040         * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
8041         and repeats to unlimited.
8042
8043 2016-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
8044
8045         * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
8046         and reordering the functions.
8047         * gdb.multi/hangout.c: Likewise.
8048         * gdb.multi/hello.c: Likewise.
8049
8050 2016-01-08  Simon Marchi  <simon.marchi@ericsson.com>
8051
8052         * gdb.perf/lib/perftest/perftest.py: Change relative imports to
8053         absolute.
8054         (SingleStatisticTestResult.report): Use dict.keys instead of
8055         dict.iterkeys.
8056
8057 2016-01-06  Pedro Alves  <palves@redhat.com>
8058
8059         * gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
8060
8061 2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
8062
8063         * gdb.btrace/dlopen.exp: New.
8064         * gdb.btrace/dlopen.c: New.
8065         * gdb.btrace/dlopen-dso.c: New.
8066
8067 2015-12-25  Sandra Loosemore  <sandra@codesourcery.com>
8068
8069         * lib/gdb.exp (gdb_test): Update comments to clarify that the
8070         PATTERN argument is optional.
8071
8072 2015-12-24  Joel Brobecker  <brobecker@adacore.com>
8073
8074         * lib/ada.exp (target_compile_ada_from_dir): New function.
8075         (gdb_compile_ada): Reimplement avoiding the use of project files.
8076         * gdb.ada/gnat_ada.gpr: Delete.
8077         * gdb.ada/cond_lang.exp: Adjust test to make path before
8078         filename optional.
8079         * gdb.ada/small_reg_param.exp: Likewise.
8080
8081 2015-12-22  Simon Marchi  <simon.marchi@ericsson.com>
8082
8083         * gdb.base/foll-vork.exp: Remove HP-UX special case.
8084
8085 2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>
8086
8087         * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8088         case.
8089
8090 2015-12-21  Simon Marchi  <simon.marchi@ericsson.com>
8091
8092         * gdb.base/break.exp: Remove dead code.
8093         * gdb.base/sepdebug.exp: Likewise.
8094
8095 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8096
8097         * gdb.asm/asm-source.exp: Remove HP-UX references.
8098         * gdb.base/annota1.exp: Likewise.
8099         * gdb.base/annota3.exp: Likewise.
8100         * gdb.base/attach.exp: Likewise.
8101         * gdb.base/bigcore.exp: Likewise.
8102         * gdb.base/break.exp: Likewise.
8103         * gdb.base/call-ar-st.exp: Likewise.
8104         * gdb.base/callfuncs.exp: Likewise.
8105         * gdb.base/catch-fork-static.exp: Likewise.
8106         * gdb.base/display.exp: Likewise.
8107         * gdb.base/foll-exec-mode.exp: Likewise.
8108         * gdb.base/foll-exec.exp: Likewise.
8109         * gdb.base/foll-fork.exp: Likewise.
8110         * gdb.base/foll-vfork.exp: Likewise.
8111         * gdb.base/funcargs.exp: Likewise.
8112         * gdb.base/hbreak2.exp: Likewise.
8113         * gdb.base/inferior-died.exp: Likewise.
8114         * gdb.base/interrupt.exp: Likewise.
8115         * gdb.base/multi-forks.exp: Likewise.
8116         * gdb.base/nodebug.exp: Likewise.
8117         * gdb.base/sepdebug.exp: Likewise.
8118         * gdb.base/solib1.c: Likewise.
8119         * gdb.base/step-test.exp: Likewise.
8120         * gdb.mi/non-stop.c: Likewise.
8121         * gdb.mi/pthreads.c: Likewise.
8122         * gdb.multi/bkpt-multi-exec.ex: Likewise.
8123         * gdb.threads/pthreads.c: Likewise.
8124         * gdb.threads/staticthreads.exp: Likewise.
8125         * lib/future.exp: Likewise.
8126         * lib/gdb.exp: Likewise.
8127         * gdb.base/so-indr-cl.c: Remove.
8128         * gdb.base/so-indr-cl.exp: Likewise.
8129         * gdb.base/solib.c: Likewise.
8130         * gdb.base/solib.exp: Likewise.
8131         * gdb.base/solib2.c: Likewise.
8132
8133 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8134
8135         * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
8136         * gdb.base/call-ar-st.exp: Likewise.
8137         * gdb.base/callfuncs.exp: Likewise.
8138         * gdb.base/condbreak.exp: Likewise.
8139         * gdb.base/constvars.exp: Likewise.
8140         * gdb.base/hbreak2.exp: Likewise.
8141         * gdb.base/langs.exp: Likewise.
8142         * gdb.base/list.exp: Likewise.
8143         * gdb.base/long_long.exp: Likewise.
8144         * gdb.base/ptype.exp: Likewise.
8145         * gdb.base/scope.exp: Likewise.
8146         * gdb.base/signals.exp: Likewise.
8147         * gdb.base/so-impl-ld.exp: Likewise.
8148         * gdb.base/varargs.exp: Likewise.
8149         * gdb.base/volatile.exp: Likewise.
8150         * gdb.base/whatis.exp: Likewise.
8151         * gdb.cp/cplusfuncs.exp: Likewise.
8152         * gdb.cp/inherit.exp: Likewise.
8153         * gdb.cp/local.exp: Likewise.
8154         * gdb.cp/member-ptr.exp: Likewise.
8155         * gdb.cp/method.exp: Likewise.
8156         * gdb.cp/overload.exp: Likewise.
8157         * gdb.cp/templates.exp: Likewise.
8158         * gdb.stabs/weird.exp: Likewise.
8159         * lib/compiler.c: Likewise.
8160         * lib/compiler.cc: Likewise.
8161         * lib/cp-support.exp: Likewise.
8162         * lib/gdb.exp: Likewise.
8163
8164 2015-12-20  Simon Marchi  <simon.marchi@polymtl.ca>
8165
8166         * configure.ac: Remove HP-UX case.
8167         * configure: Regenerate.
8168
8169 2015-12-18  Simon Marchi  <simon.marchi@ericsson.com>
8170
8171         * lib/gdb.exp (gdb_compile): Add function doc.
8172
8173 2015-12-17  Pedro Alves  <palves@redhat.com>
8174
8175         PR threads/19354
8176         * gdb.multi/info-threads.exp: New file.
8177
8178 2015-12-15  Yao Qi  <yao.qi@linaro.org>
8179
8180         * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
8181         is aarch64*-*-*.
8182
8183 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8184
8185         * gdb.base/history-duplicates.exp: Skip if no readline support.
8186
8187 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8188
8189         * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
8190
8191 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8192
8193         * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
8194
8195 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8196
8197         * gdb.base/completion.exp: Skip tests that interrupt GDB with
8198         ctrl-C if nointerrupts target property is set.
8199         * gdb.base/double-prompt-target-event-error.exp: Likewise.
8200         * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
8201         * gdb.base/paginate-bg-execution.exp: Likewise.
8202         * gdb.base/paginate-execution-startup.exp: Likewise.
8203         * gdb.base/random-signal.exp: Likewise.
8204         * gdb.base/range-stepping.exp: Likewise.
8205         * gdb.cp/annota2.exp: Likewise.
8206         * gdb.cp/annota3.exp: Likewise.
8207         * gdb.gdb/selftest.exp: Likewise.
8208         * gdb.threads/continue-pending-status.exp: Likewise.
8209         * gdb.threads/leader-exit.exp: Likewise.
8210         * gdb.threads/manythreads.exp: Likewise.
8211         * gdb.threads/pthreads.exp: Likewise.
8212         * gdb.threads/schedlock.exp: Likewise.
8213         * gdb.threads/sigthread.exp: Likewise.
8214
8215 2015-12-11  Don Breazeal  <donb@codesourcery.com>
8216
8217         * gdb.base/execl-update-breakpoints.exp (main): Enable for target
8218         remote.
8219         * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
8220         * gdb.base/foll-exec.exp (main): Enable for target remote.
8221         * gdb.base/foll-fork.exp (main): Likewise.
8222         * gdb.base/foll-vfork.exp (main): Likewise.
8223         * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
8224         (proc continue_to_exit_bp_loc): Use clean_restart.
8225         * gdb.base/pie-execl.exp (main): Disable for target remote.
8226         * gdb.base/watch-vfork.exp (main): Enable for target remote.
8227         * gdb.mi/mi-nsthrexec.exp (main): Likewise.
8228         * gdb.threads/execl.exp (main): Likewise.
8229         * gdb.threads/fork-child-threads.exp (main): Likewise.
8230         * gdb.threads/fork-plus-threads.exp (main): Disable for target
8231         remote.
8232         * gdb.threads/fork-thread-pending.exp (main): Enable for target
8233         remote.
8234         * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
8235         pid.tid style ptids, instead of just tid.
8236         * gdb.threads/thread-execl.exp (main): Enable for target remote.
8237         * gdb.threads/watchpoint-fork.exp (main): Likewise.
8238         * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
8239         ptids, instead of just tid.
8240
8241 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8242
8243         * gdb.base/list.exp (test_list_forward): Add end of file error
8244         test.
8245         (test_repeat_list_command): Add end of file error test.
8246         (test_list_backwards): Add beginning of file error test.
8247
8248 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8249
8250         * gdb.base/list.exp (test_list_invalid_args): New function,
8251         defined, and called.
8252
8253 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8254
8255         * gdb.base/list.exp (test_list): Make test names unique.
8256
8257 2015-12-11  Yao Qi  <yao.qi@linaro.org>
8258
8259         * gdb.base/coremaker2.c: Remove.
8260
8261 2015-12-10  Pedro Alves  <palves@redhat.com>
8262
8263         * gdb.multi/base.exp: Remove stale "spaces" references.
8264
8265 2015-12-10  Pedro Alves  <palves@redhat.com>
8266
8267         * gdb.multi/base.exp: Don't use nowarnings.
8268         * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
8269         * gdb.multi/hangout.c: Include stdio.h.
8270         * gdb.multi/hello.c: Include stdlib.h.
8271         * gdb.multi/multi-arch-exec.c: Include stdlib.h.
8272         * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
8273         * gdb.multi/multi-arch.exp: Don't use nowarnings.
8274
8275 2015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
8276
8277         * gdb.dwarf2/dw2-ranges-base.c: New file.
8278         * gdb.dwarf2/dw2-ranges-base.exp: New file.
8279         * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
8280         support additional line table, and debug ranges generation.
8281         (Dwarf::ranges): New function, generate .debug_ranges.
8282         (Dwarf::lines): Support generating simple line table programs.
8283         (Dwarf::assemble): Initialise new namespace variables.
8284
8285 2015-12-09  Kevin Buettner  <kevinb@redhat.com>
8286
8287         * gdb.base/async.exp (proc test_background): Add case for
8288         asynchronous execution not supported.
8289
8290 2015-12-09  Luis Machado  <lgustavo@codesourcery.com>
8291
8292         * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
8293           format and change test names to make them unique.
8294
8295 2015-12-09  Ruslan Kabatsayev  <b7.10110111@gmail.com>
8296             Pedro Alves  <pedro@redhat.com>
8297
8298         PR gdb/18702
8299         Add checking of floatformats setup on x86_64 hosts.
8300         * gdb.arch/i386-float.S (main): Load bigval and smallval.
8301         (smallval, bigval): New labels/constants.
8302         * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
8303         float" after loading bigval and smallval.
8304
8305 2015-12-07  Pierre-Marie de Rodat  <derodat@adacore.com>
8306
8307         * gdb.ada/fun_overload_menu.exp: New testcase.
8308         * gdb.ada/fun_overload_menu/foo.adb: New testcase.
8309
8310 2015-12-04  Josh Stone  <jistone@redhat.com>
8311
8312         * gdb.base/catch-fork-static.exp: New.
8313
8314 2015-12-03  Yao Qi  <yao.qi@linaro.org>
8315
8316         * gdb.base/sizeof.c: Don't include stdio.h and
8317         ../lib/unbuffer_output.c.
8318         (main): New variable 'size' and 'value'.  Remove printf and
8319         gdb_unbuffer_output.  Assign return value to size and value.
8320         * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
8321         at the beginning.
8322         (check_sizeof): Check the result by printing variable 'size'.
8323         (check_valueof): Check the result by printing variable 'value'.
8324
8325 2015-12-01  Yao Qi  <yao.qi@linaro.org>
8326
8327         * gdb.base/disp-step-syscall.exp: Define syscall instruction
8328         for aarch64*-*-linux* target.
8329
8330 2015-11-30  Pedro Alves  <palves@redhat.com>
8331
8332         * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
8333
8334 2015-11-30  Pedro Alves  <palves@redhat.com>
8335
8336         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
8337         Handle non-stop mode vCont replies.
8338
8339 2015-11-30  Pedro Alves  <palves@redhat.com>
8340
8341         * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
8342         prepare_for_testing.  Start gdb with "set non-stop on" appended to
8343         GDBFLAGS.  Lax expected stop output.
8344
8345 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8346
8347         * gdb.arch/arm-neon.exp: New.
8348         * gdb.arch/arm-neon.c: New.
8349
8350 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8351
8352         * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
8353
8354 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8355
8356         * gdb.cp/annota2.exp: Allow multiple occurrences of the
8357         frames-invalid annotation.
8358
8359 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8360
8361         * gdb.cp/annota2.exp: Use ${frames_invalid}.
8362
8363 2015-11-26  Simon Marchi  <simon.marchi@ericsson.com>
8364
8365         * gdb.threads/names.exp: New file.
8366         * gdb.threads/names.c: New file.
8367         * README: Mention gdb,no_thread_names.
8368
8369 2015-11-26  Markus Metzger  <markus.t.metzger@intel.com>
8370
8371         PR 19297
8372         * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
8373         support" error.
8374
8375 2015-11-24  Pedro Alves  <palves@redhat.com>
8376
8377         PR 17539
8378         * gdb.base/display.exp: Expect displays to be sorted in ascending
8379         order.  Use multi_line.
8380         * gdb.base/solib-display.exp: Likewise.
8381
8382 2015-11-24  Pedro Alves  <palves@redhat.com>
8383
8384         PR 17539
8385         * gdb.base/display.exp: Expect displays to be sorted in ascending
8386         order.  Use multi_line.
8387         * gdb.base/solib-display.exp: Likewise.
8388
8389 2015-11-24  Pedro Alves  <palves@redhat.com>
8390
8391         PR 17539
8392         * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8393         threads in ascending order.
8394         * gdb.base/foll-fork.exp: Likewise.
8395         * gdb.base/foll-vfork.exp: Likewise.
8396         * gdb.base/multi-forks.exp: Likewise.
8397         * gdb.mi/mi-nonstop.exp: Likewise.
8398         * gdb.mi/mi-nsintrall.exp: Likewise.
8399         * gdb.multi/base.exp: Likewise.
8400         * gdb.multi/multi-arch.exp: Likewise.
8401         * gdb.python/py-inferior.exp: Likewise.
8402         * gdb.threads/break-while-running.exp: Likewise.
8403         * gdb.threads/execl.exp: Likewise.
8404         * gdb.threads/gcore-thread.exp: Likewise.
8405         * gdb.threads/info-threads-cur-sal.exp: Likewise.
8406         * gdb.threads/kill.exp: Likewise.
8407         * gdb.threads/linux-dp.exp: Likewise.
8408         * gdb.threads/multiple-step-overs.exp: Likewise.
8409         * gdb.threads/next-bp-other-thread.exp: Likewise.
8410         * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8411         * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8412         * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8413         * gdb.threads/thread-find.exp: Likewise.
8414         * gdb.threads/tls.exp: Likewise.
8415         * lib/mi-support.exp (mi_reverse_list): Delete.
8416         (mi_check_thread_states): No longer reverse list.
8417
8418 2015-11-24  Pedro Alves  <palves@redhat.com>
8419
8420         * gdb.python/py-inferior.exp: Use with_test_prefix.  Consistently
8421         use lowercase.
8422
8423 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8424
8425         * gdb.trace/actions.c: Include trace-common.h.
8426         (main): Add a location for a fast tracepoint.
8427         * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8428         the normal tracepoints.
8429         (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8430
8431 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8432
8433         * save-trace.exp: Factor out code to these...
8434         (gdb_save_tracepoints): New.
8435         (gdb_load_tracepoints): New.
8436         (do_save_load_test): New.
8437
8438 2015-11-23  Kevin Buettner  <kevinb@redhat.com>
8439
8440         * gdb.base/asmlabel.exp: New test.
8441         * gdb.base/asmlabel.c: New test case.
8442
8443 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8444
8445         * gdb.base/wrong_frame_bt_full-main.c: New file.
8446         * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8447         * gdb.base/wrong_frame_bt_full.exp: New file.
8448
8449 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8450
8451         * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8452
8453 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8454
8455         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8456         pstate register when comparing registers values in
8457         sparc64-*-linux-gnu targets to avoid spurious differences.
8458
8459 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8460
8461         * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8462
8463 2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>
8464
8465         * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8466         as type argument to gdb_compile.
8467         * gdb.base/nested-subp2.exp: Likewise.
8468         * gdb.base/nested-subp3.exp: Likewise.
8469
8470 2015-11-17  Dominik Vogt  <vogt@linux.vnet.ibm.com>
8471
8472         * lib/dwarf.exp (_note): Fix left shift of negative value.
8473         * gdb.trace/trace-condition.exp: Likewise.
8474
8475 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8476
8477         * gdb.base/call-sc.exp (test_scalar_returns): Remove the
8478         comments about d10v.
8479         (test_scalar_returns): Likewise.
8480         * gdb.base/d10v.ld: Remove.
8481         * gdb.base/overlays.exp: Remove the target triplet checking for
8482         d10v-*-*.
8483         * gdb.base/structs.exp (test_struct_returns): Remove the
8484         comments about d10v.
8485         (test_struct_calls): Likewise.
8486
8487 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8488
8489         * gdb.base/gnu_vector.exp: Check the return value by "p res".
8490         * gdb.base/gnu_vector.c: Don't include stdio.h.
8491         (main): Don't print res and call add_some_intvecs.
8492
8493 2015-11-11  Marcin Kościelnicki  <koriakin@0x04.net>
8494
8495         * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8496         macro.
8497         (func5): Removed.
8498         (func4): Use FAST_TRACEPOINT_LABEL.
8499         * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8500         macro.
8501         (func): Removed.
8502         (thread_function): Use FAST_TRACEPOINT_LABEL.
8503         * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8504         (func): Remove.
8505         (marker): Use FAST_TRACEPOINT_LABEL.
8506         * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8507         (pendfunc1): Remove.
8508         (pendfunc): Use FAST_TRACEPOINT_LABEL.
8509         * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8510         (foo): Remove.
8511         (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8512         * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8513         macro.
8514         (func): Remove.
8515         (marker): Use FAST_TRACEPOINT_LABEL.
8516         * gdb.trace/trace-common.h: New header.
8517         * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8518         macro.
8519         (func): Remove.
8520         (marker): Use FAST_TRACEPOINT_LABEL.
8521         * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8522         (func): Remove.
8523         (thread_function): Use FAST_TRACEPOINT_LABEL.
8524
8525 2015-11-10  Marcin Kościelnicki  <koriakin@0x04.net>
8526
8527         * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8528         in front.
8529         * gdb.trace/change-loc.exp: Use global pcreg definition.
8530         * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8531         * gdb.trace/entry-values.exp: Use global spreg definition, add $
8532         in front.
8533         * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8534         * gdb.trace/pending.exp: Likewise.
8535         * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8536         * gdb.trace/trace-break.exp: Likewise.
8537         * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8538         in front.
8539         * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8540         * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8541         in front.
8542         * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8543
8544 2015-11-09  Joel Brobecker  <brobecker@adacore.com>
8545
8546         * gdb.ada/fin_fun_out: New testcase.
8547
8548 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8549
8550         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8551         value associated with DW_AT_byte_size.
8552         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8553         constants for DW_AT_byte_size, DW_AT_lower_bound, and
8554         DW_AT_upper_bound.
8555
8556 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8557
8558         * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8559         (gdb_target_symbol_prefix_flags): Define in terms of _asm
8560         version.
8561         * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8562         gdb.dwarf2/dw2-canonicalize-type.exp,
8563         gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8564         gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8565         gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8566         provided by gdb_target_symbol_prefix_flags_asm.
8567         * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8568         testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8569         testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8570         testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8571         gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8572         macros where needed).  Use this macro for symbols which require
8573         the prefix provided by SYMBOL_PREFIX.
8574
8575 2015-11-05  Kevin Buettner  <kevinb@redhat.com>
8576
8577         * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8578         New procs.
8579         * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8580         representing expressions, of more than one list element.
8581         * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8582         to prepend linker symbol prefix to f.
8583         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8584         table_1 and table_2.
8585         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8586         Likewise, for f and g.
8587         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8588         for ptr.
8589         * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8590         for main.
8591         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8592         table_1_ptr and table_2_ptr.
8593
8594 2015-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
8595             Joel Brobecker  <brobecker@adacore.com>
8596
8597         * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8598
8599 2015-11-04  Marcin Kościelnicki  <koriakin@0x04.net>
8600
8601         * gdb.reverse/s390-mvcle.c: New test.
8602         * gdb.reverse/s390-mvcle.exp: New file.
8603         * lib/gdb.exp: Enable reverse tests on s390*-linux.
8604
8605 2015-11-02  Marcin Kościelnicki  <koriakin@0x04.net>
8606
8607         * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8608
8609 2015-11-02  Marcin Kościelnicki  <koriakin@0x04.net>
8610
8611         * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8612         reaching marker2.
8613         * gdb.reverse/getresuid-reverse.exp: Likewise.
8614         * gdb.reverse/pipe-reverse.exp: Likewise.
8615         * gdb.reverse/readv-reverse.exp: Likewise.
8616         * gdb.reverse/recvmsg-reverse.exp: Likewise.
8617         * gdb.reverse/time-reverse.exp: Likewise.
8618         * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8619
8620 2015-10-30  Yao Qi  <yao.qi@linaro.org>
8621
8622         * gdb.threads/wp-replication.c (watch_count_done): Remove.
8623         (empty_cycle): Remove.
8624         (main): Don't call empty_cycle.  Don't use watch_count_done.
8625         * gdb.threads/wp-replication.exp: Don't set breakpoint on
8626         empty_cycle.  Rewrite the code counting HW watchpoints.
8627
8628 2015-10-30  Marcin Kościelnicki  <koriakin@0x04.net>
8629
8630         * gdb.reverse/fstatat-reverse.c: New test.
8631         * gdb.reverse/fstatat-reverse.exp: New file.
8632         * gdb.reverse/getresuid-reverse.c: New test.
8633         * gdb.reverse/getresuid-reverse.exp: New file.
8634         * gdb.reverse/pipe-reverse.c: New test.
8635         * gdb.reverse/pipe-reverse.exp: New file.
8636         * gdb.reverse/readv-reverse.c: New test.
8637         * gdb.reverse/readv-reverse.exp: New file.
8638         * gdb.reverse/recvmsg-reverse.c: New test.
8639         * gdb.reverse/recvmsg-reverse.exp: New file.
8640         * gdb.reverse/time-reverse.c: New test.
8641         * gdb.reverse/time-reverse.exp: New file.
8642         * gdb.reverse/waitpid-reverse.c: New test.
8643         * gdb.reverse/waitpid-reverse.exp: New file.
8644
8645 2015-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8646
8647         * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8648
8649 2015-10-26  Doug Evans  <dje@google.com>
8650
8651         PR symtab/17391
8652         * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8653         * gdb.dwarf2/bad-regnum.c: New file.
8654         * gdb.dwarf2/bad-regnum.exp: New file.
8655
8656 2015-10-26  Doug Evans  <dje@google.com>
8657
8658         PR python/18938
8659         * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8660         file.
8661
8662 2015-10-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8663
8664         * gdb.compile/compile.exp (compile code globalvar): Update expectation
8665         for a change by "Mention language in compile error message".
8666
8667 2015-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
8668
8669         PR python/18073
8670         * gdb.python/py-type.c (C::a_method): New.
8671         (C::a_const_method): New.
8672         (C::a_static_method): New.
8673         (a_function): New.
8674         * gdb.python/py-type.exp (test_fields): Test getting fields
8675         from function and method.
8676
8677 2015-10-21  Keven Boell  <keven.boell@intel.com>
8678
8679         * gdb.fortran/vla-alloc-assoc.exp: New file.
8680         * gdb.fortran/vla-datatypes.exp: New file.
8681         * gdb.fortran/vla-datatypes.f90: New file.
8682         * gdb.fortran/vla-history.exp: New file.
8683         * gdb.fortran/vla-ptype-sub.exp: New file.
8684         * gdb.fortran/vla-ptype.exp: New file.
8685         * gdb.fortran/vla-sizeof.exp: New file.
8686         * gdb.fortran/vla-sub.f90: New file.
8687         * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8688         * gdb.fortran/vla-value-sub-finish.exp: New file.
8689         * gdb.fortran/vla-value-sub.exp: New file.
8690         * gdb.fortran/vla-value.exp: New file.
8691         * gdb.fortran/vla-ptr-info.exp: New file.
8692         * gdb.mi/mi-vla-fortran.exp: New file.
8693         * gdb.mi/vla.f90: New file.
8694
8695 2015-10-21  Sandra Loosemore  <sandra@codesourcery.com>
8696
8697         * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8698         of hardwired timeout value.
8699
8700 2015-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
8701             Pedro Alves  <palves@redhat.com>
8702
8703         * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8704         * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8705
8706 2015-10-19  Josh Stone  <jistone@redhat.com>
8707
8708         * gdb.base/catch-syscall.c: Include <sched.h>.
8709         (unknown_syscall): New variable.
8710         (main): Trigger a vfork and an unknown syscall.
8711         * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8712         (unknown_syscall_number): Likewise.
8713         (check_call_to_syscall): Accept an optional syscall pattern.
8714         (check_return_from_syscall): Likewise.
8715         (check_continue): Likewise.
8716         (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8717         (test_catch_syscall_skipping_return): New test toggling off 'catch
8718         syscall' to step over the syscall return, then toggling back on.
8719         (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8720         during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8721         (do_syscall_tests): Call test_catch_syscall_without_args and
8722         test_catch_syscall_mid_vfork.
8723         (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8724         (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8725
8726 2015-10-19  Andrew Stubbs  <ams@codesourcery.com>
8727
8728         * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8729         print g_vE): Add new pass patterns.
8730         * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8731         print various symbol names for vptr fields.
8732
8733 2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
8734
8735         * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8736         results.
8737
8738 2015-10-12  Yao Qi  <yao.qi@linaro.org>
8739
8740         * gdb.arch/disp-step-insn-reloc.exp: New test case.
8741
8742 2015-10-12  Yao Qi  <yao.qi@linaro.org>
8743
8744         * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8745         is aarch64*-*-linux*.
8746
8747 2015-10-12  Yao Qi  <yao.qi@linaro.org>
8748
8749         * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8750         (can_relocate_bcond_true): ... it.
8751         (can_relocate_bcond_false): New function.
8752         (foo): Likewise.
8753         (can_relocate_bl): Likewise.
8754         (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8755         can_relocate_bl.
8756
8757 2015-10-12  Pierre-Marie de Rodat  <derodat@adacore.com>
8758
8759         * gdb.base/nested-addr.c: New file.
8760         * gdb.base/nested-addr.exp: New testcase.
8761
8762 2015-10-09  Markus Metzger  <markus.t.metzger@intel.com>
8763
8764         * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8765         * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8766         its output.  Ignore the output of "record goto begin" and instead
8767         check that GDB is replaying.
8768
8769 2015-10-09  Pedro Alves  <palves@redhat.com>
8770
8771         * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8772         (top level): Use it in the run with no args test.
8773
8774 2015-10-08  Iain Buclaw  <ibuclaw@gdcproject.org>
8775
8776         * gdb.dlang/properties.exp: New file.
8777
8778 2015-10-02  Sandra Loosemore  <sandra@codesourcery.com>
8779
8780         * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8781         whether or not address 0x1000 is mapped on the target.
8782
8783 2015-09-30  Simon Marchi  <simon.marchi@ericsson.com>
8784
8785         * gdb.python/py-type.exp: Do not run tests if binaries fail to
8786         build.
8787
8788 2015-09-30  Markus Metzger  <markus.t.metzger@intel.com>
8789
8790         * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8791         instruction-history test.
8792
8793 2015-09-28  Doug Evans  <dje@google.com>
8794
8795         * gdb.base/gcore.c (array_func): Add reference to static_array.
8796
8797 2015-09-25  Simon Marchi  <simon.marchi@ericsson.com>
8798
8799         * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8800         source line.
8801
8802 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8803
8804         * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8805         short or char as base type.
8806
8807 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8808
8809         * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8810         to allow any size enum.
8811
8812 2015-09-23  Pierre-Marie de Rodat  <derodat@adacore.com>
8813
8814         * gdb.ada/array_ptr_renaming.exp: New testcase.
8815         * gdb.ada/array_ptr_renaming/foo.adb: New file.
8816         * gdb.ada/array_ptr_renaming/pack.ads: New file.
8817
8818 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
8819
8820         * gdb.trace/ftrace-lock.c: New file.
8821         * gdb.trace/ftrace-lock.exp: New file.
8822
8823 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
8824
8825         * gdb.arch/insn-reloc.c: New file.
8826         * gdb.arch/ftrace-insn-reloc.exp: New file.
8827
8828 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
8829
8830         * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8831         instruction.
8832         * gdb.trace/pendshr1.c (pendfunc): Likewise.
8833         * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8834         * gdb.trace/range-stepping.c: Likewise.
8835         * gdb.trace/trace-break.c: Likewise.
8836         * gdb.trace/trace-mt.c (thread_function): Likewise.
8837         * gdb.trace/ftrace.c (marker): Likewise.
8838         * gdb.trace/trace-condition.c (marker): Likewise.
8839         * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8840         * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8841         is_aarch64_target.
8842
8843 2015-09-18  Doug Evans  <xdje42@gmail.com>
8844
8845         * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8846         * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8847
8848 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8849
8850         * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8851         the breakpoint.
8852
8853 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8854
8855         * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8856         the pending breakpoint.  Remove timeout override for "Run till
8857         MI pending breakpoint on pendfunc3 on thread 2" test.
8858
8859 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8860
8861         * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8862         filename pattern.
8863
8864 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8865
8866         * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8867         in breakpoint filename pattern.
8868
8869 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8870
8871         * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8872
8873 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8874
8875         * gdb.linespec/explicit.exp: Check for readline support for
8876         tab-completion tests.  Fix obvious typo.
8877
8878 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
8879
8880         * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8881         and replay.
8882
8883 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
8884
8885         * gdb.btrace/non-stop.c: New.
8886         * gdb.btrace/non-stop.exp: New.
8887
8888 2015-09-17  Pierre Langlois  <pierre.langlois@arm.com>
8889             Yao Qi  <yao.qi@linaro.org>
8890
8891         * gdb.trace/trace-condition.c: New file.
8892         * gdb.trace/trace-condition.exp: New file.
8893
8894 2015-09-16  Wei-cheng Wang  <cole945@gmail.com>
8895
8896         * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8897         for testing bytecode compilation.
8898
8899 2015-09-16  Pedro Alves  <palves@redhat.com>
8900             Sandra Loosemore <sandra@codesourcery.com>
8901
8902         * gdb.threads/non-stop-fair-events.c (timeout): New global.
8903         (SECONDS): Redefine.
8904         (main): Call pthread_kill and alarm early.
8905         * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8906         support.
8907         (test): If the target can't hardware step and doesn't support
8908         displaced stepping, increase the timeout.
8909
8910 2015-09-16  Pedro Alves  <palves@redhat.com>
8911
8912         * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8913         (enable_debug): New procedures.
8914         (test): Use them.  Bail out if waiting for threads fails.
8915         (top level): Bail out if a test fails.
8916
8917 2015-09-16  Yao Qi  <yao.qi@linaro.org>
8918
8919         * gdb.asm/asm-source.exp: Set asm-arch for
8920         aarch64*-*-* target.
8921         * gdb.asm/aarch64.inc: New file.
8922
8923 2015-09-15  Pierre-Marie de Rodat  <derodat@adacore.com>
8924
8925         * gdb.ada/array_of_variable_length.exp: New testcase.
8926         * gdb.ada/array_of_variable_length/foo.adb: New file.
8927         * gdb.ada/array_of_variable_length/pck.adb: New file.
8928         * gdb.ada/array_of_variable_length/pck.ads: New file.
8929
8930 2015-09-15  Doug Evans  <dje@google.com>
8931
8932         * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
8933         of function static local variable.
8934
8935 2015-09-15  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
8936
8937         * gdb.threads/tls-so_extern.exp: New test file.
8938         * gdb.threads/tls-so_extern.c: New test file.
8939         * gdb.threads/tls-so_extern_main.c: New test file.
8940
8941 2015-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
8942
8943         * gdb.opt/solib-intra-step-lib.c: New file.
8944         * gdb.opt/solib-intra-step-main.c: New file.
8945         * gdb.opt/solib-intra-step.exp: New file.
8946
8947 2015-09-15  Pedro Alves  <palves@redhat.com>
8948
8949         * gdb.threads/non-ldr-exc-3.exp (do_test): Use
8950         gdb_continue_to_breakpoint instead of gdb_test_multiple.
8951
8952 2015-09-14  Pedro Alves  <palves@redhat.com>
8953
8954         * gdb.base/hook-stop-continue.c: Delete.
8955         * gdb.base/hook-stop-continue.exp: Delete.
8956         * gdb.base/hook-stop-frame.c: Delete.
8957         * gdb.base/hook-stop-frame.exp: Delete.
8958         * gdb.base/hook-stop.c: New file.
8959         * gdb.base/hook-stop.exp: New file.
8960
8961 2015-09-14  Pierre-Marie de Rodat  <derodat@adacore.com>
8962
8963         * gdb.ada/access_to_packed_array.exp: New testcase.
8964         * gdb.ada/access_to_packed_array/foo.adb: New file.
8965         * gdb.ada/access_to_packed_array/pack.adb: New file.
8966         * gdb.ada/access_to_packed_array/pack.ads: New file.
8967
8968 2015-09-14  Markus Metzger  <markus.t.metzger@intel.com>
8969
8970         * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
8971         buffer size test.
8972
8973 2015-09-11  Don Breazeal  <donb@codesourcery.com>
8974
8975         * gdb.base/foll-exec.c: Add copyright header.  Fix
8976         formatting issues.
8977         * gdb.base/foll-exec.exp (zap_session): Delete proc.
8978         (do_exec_tests): Use clean_restart in place of zap_session,
8979         and for test initialization.  Fix formatting issues.  Use
8980         fail in place of perror.
8981         * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
8982         an expect statement to match an expression with output from
8983         the program under debug.
8984         * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
8985         non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
8986         * gdb.threads/non-ldr-exc-2.exp: Likewise.
8987         * gdb.threads/non-ldr-exc-3.exp: Likewise.
8988         * gdb.threads/non-ldr-exc-4.exp: Likewise.
8989
8990 2015-09-09  Doug Evans  <dje@google.com>
8991
8992         * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
8993
8994 2015-09-09  Doug Evans  <dje@google.com>
8995
8996         * gdb.base/pie-execl.exp: Fix result test of build_executable.
8997
8998 2015-09-09  Doug Evans  <dje@google.com>
8999
9000         * gdb.base/savedregs.exp: Fix typo.
9001
9002 2015-09-09  Pedro Alves  <palves@redhat.com>
9003
9004         * gdb.mi/mi-cli.exp: Add CLI finish tests.
9005
9006 2015-09-08  Sandra Loosemore  <sandra@codesourcery.com>
9007
9008         * gdb.threads/hand-call-in-threads.exp: Make sure the thread
9009         command actually switches threads.  Give up on remaining
9010         tests if target fails to stop at breakpoint.
9011
9012 2015-09-03  Pierre-Marie de Rodat  <derodat@adacore.com>
9013
9014         * gdb.ada/funcall_char.exp: New testcase.
9015         * gdb.ada/funcall_char/foo.adb: New file.
9016
9017 2015-09-01  Pierre-Marie de Rodat  <derodat@adacore.com>
9018
9019         * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
9020         expected outputs.  Add two testcases for completing ambiguous
9021         functions.
9022         * gdb.ada/complete/aux_pck.adb: New file.
9023         * gdb.ada/complete/aux_pck.ads: New file.
9024         * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
9025         Ambiguous_Func functions.
9026         * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
9027         * gdb.ada/complete/pck.adb: Likewise.
9028
9029 2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
9030
9031         * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
9032         failures to run the test program under GDB.
9033
9034 2015-08-26  Luis Machado  <lgustavo@codesourcery.com>
9035
9036         * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
9037         to C.
9038
9039 2015-08-26  Patrick Palka  <patrick@parcs.ath.cx>
9040
9041         * gdb.base/run-after-attach.exp: New test file.
9042         * gdb.base/run-after-attach.c: New test file.
9043
9044 2015-08-26  Don Breazeal  <donb@codesourcery.com>
9045
9046         * gdb.base/foll-exec-2.c: New test program.
9047         * gdb.base/foll-exec-2.exp: New test.
9048
9049 2015-08-25  Pierre-Marie de Rodat  <derodat@adacore.com>
9050
9051         * gdb.base/nested-subp1.exp: New file.
9052         * gdb.base/nested-subp1.c: New file.
9053         * gdb.base/nested-subp2.exp: New file.
9054         * gdb.base/nested-subp2.c: New file.
9055         * gdb.base/nested-subp3.exp: New file.
9056         * gdb.base/nested-subp3.c: New file.
9057
9058 2015-08-24  Pedro Alves  <palves@redhat.com>
9059
9060         * gdb.server/connect-without-multi-process.c: New file.
9061         * gdb.server/connect-without-multi-process.exp: New file.
9062
9063 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9064
9065         * gdb.opt/inline-markers.c: Make z int.
9066
9067 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9068
9069         * gdb.opt/inline-markers.c: Make z volatile.
9070
9071 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9072
9073         * gdb.opt/inline-bt.c: New volatile global z.
9074         * gdb.opt/inline-cmds.c: Likewise.
9075         * gdb.opt/inline-locals.c: Likewise.
9076         * gdb.opt/inline-markers.c: New extern global z.
9077         (marker): Use z.
9078         (inline_fn): Likewise.
9079
9080 2015-08-24  Pedro Alves  <palves@redhat.com>
9081
9082         * config/m32r-stub.exp: Remove file.
9083         * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9084         * gdb.base/call-rt-st.exp: Likewise.
9085         * gdb.base/call-strs.exp: Likewise.
9086         * gdb.base/default.exp: Remove references to h8300-*-hms and
9087         *-*-udi*.
9088         * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9089
9090 2015-08-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9091
9092         * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9093         -Wno-psabi" if "-mcpu=native" fails.  For the tests with "finish"
9094         and "return" use KFAIL when GDB can not read/write the vector
9095         return value.
9096
9097 2015-08-21  Gary Benson <gbenson@redhat.com>
9098
9099         * gdb.trace/pending.exp: Cope with remote transfer warnings.
9100
9101 2015-08-20  Pedro Alves  <palves@redhat.com>
9102
9103         * gdb.server/solib-list.exp: No longer expect an interior stop in
9104         non-stop mode.
9105
9106 2015-08-20  Pedro Alves  <palves@redhat.com>
9107
9108         * gdb.server/connect-stopped-target.c: New file.
9109         * gdb.server/connect-stopped-target.exp: New file.
9110
9111 2015-08-20  Pedro Alves  <palves@redhat.com>
9112
9113         * gdb.dwarf2/comp-unit-lang.exp: New file.
9114         * gdb.dwarf2/comp-unit-lang.c: New file.
9115
9116 2015-08-20  Pierre-Marie de Rodat  <derodat@adacore.com>
9117
9118         * gdb.ada/attr_ref_and_charlit.exp: New testcase.
9119         * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
9120
9121 2015-08-19  Kevin Buettner  <kevinb@redhat.com>
9122
9123         * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
9124         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
9125
9126 2015-08-18  Doug Evans  <dje@google.com>
9127             Adrian Sendroiu <adrian.sendroiu@freescale.com>
9128
9129         * lib/gdb.exp (skip_python_tests_prompt): Renamed from
9130         skip_python_tests.  New arg prompt_regexp.
9131         (skip_python_tests): New function.
9132         * lib/mi-support.exp (mi_skip_python_tests): New function.
9133         * gdb.python/py-mi-objfile-gdb.py: New file.
9134         * gdb.python/py-mi-objfile.c: New file.
9135         * gdb.python/py-mi-objfile.exp: New file.
9136
9137 2015-08-17  Keith Seitz  <keiths@redhat.com>
9138
9139         * gdb.linespec/explicit.exp: Move strace test from here ...
9140         * gdb.trace/strace.exp: ... to here.
9141
9142 2015-08-15  Patrick Palka  <patrick@parcs.ath.cx>
9143
9144         * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
9145         * gdb.base/kill-detach-inferiors-cmd.c: New test file.
9146
9147 2015-08-14  Doug Evans  <xdje42@gmail.com>
9148
9149         * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
9150         inferior before selecting a new file.
9151
9152 2015-08-14  Doug Evans  <xdje42@gmail.com>
9153
9154         * gdb.mi/mi-disassemble.exp: Update.
9155         * gdb.base/disasm-optim.S: New file.
9156         * gdb.base/disasm-optim.c: New file.
9157         * gdb.base/disasm-optim.h: New file.
9158         * gdb.base/disasm-optim.exp: New file.
9159
9160 2015-08-14  Keith Seitz  <keiths@redhat.com>
9161
9162         * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
9163         "evaluated-by".
9164
9165 2015-08-13  Joel Brobecker  <brobecker@adacore.com>
9166
9167         * gdb.base/dso2dso.exp: Improve the testcase's documentation.
9168
9169 2015-08-13  Pierre-Marie de Rodat  <derodat@adacore.com>
9170
9171         * gdb.ada/fun_renaming.exp: New testcase.
9172         * gdb.ada/fun_renaming/fun_renaming.adb: New file.
9173         * gdb.ada/fun_renaming/pack.adb: New file.
9174         * gdb.ada/fun_renaming/pack.ads: New file.
9175
9176 2015-08-12  Keith Seitz  <keiths@redhat.com>
9177
9178         * gdb.base/dso2dso.exp: Pass basename of source file in call to
9179         gdb_get_line_number.
9180
9181 2015-08-12  Joel Brobecker  <brobecker@adacore.com>
9182
9183         * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
9184         gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
9185         gdb.base/dso2dso.exp: New files.
9186
9187 2015-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
9188             Pedro Alves  <palves@redhat.com>
9189             Keith Seitz  <keiths@redhat.com>
9190
9191         * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
9192         GDBFLAGS.
9193
9194 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9195
9196         * gdb.base/gdbhistsize-history.exp
9197         (test_histsize_history_setting): Use save_vars.
9198         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9199         Use save_vars.
9200         (test_no_truncation_of_unlimited_history_file): Use save_vars.
9201         * gdb.base/readline.exp: Use save_vars.
9202
9203 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9204
9205         * lib/gdb.exp (save_vars): New proc.
9206
9207 2015-08-11  Keith Seitz  <keiths@redhat.com>
9208
9209         * gdb.base/help.exp: Update help_breakpoint_text.
9210
9211 2015-08-11  Keith Seitz  <keiths@redhat.com>
9212
9213         * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
9214         (at toplevel): Call test_explicit_breakpoints.
9215         * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
9216         breakpoints.
9217         * lib/mi-support.exp (mi_make_breakpoint): Add support for
9218         breakpoint conditions, "-cond".
9219
9220 2015-08-11  Keith Seitz  <keiths@redhat.com>
9221
9222         * gdb.linespec/3explicit.c: New file.
9223         * gdb.linespec/cpexplicit.cc: New file.
9224         * gdb.linespec/cpexplicit.exp: New file.
9225         * gdb.linespec/explicit.c: New file.
9226         * gdb.linespec/explicit.exp: New file.
9227         * gdb.linespec/explicit2.c: New file.
9228         * gdb.linespec/ls-errs.exp: Add explicit location tests.
9229         * lib/gdb.exp (capture_command_output): Regexp-escape `command'
9230         before using in the matching pattern.
9231         Clarify that `prefix' is a regular expression.
9232
9233 2015-08-11  Keith Seitz  <keiths@redhat.com>
9234
9235         * gdb.base/dprintf-pending.exp: Update dprintf "without format"
9236         test.
9237         Add tests for missing ",FMT" and ",".
9238
9239 2015-08-10  Doug Evans  <dje@google.com>
9240             Keith Seitz  <keiths@redhat.com>
9241
9242         PR gdb/17960
9243         * gdb.base/completion.exp: Add location completer tests.
9244
9245 2015-08-07  Pedro Alves  <palves@redhat.com>
9246
9247         * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
9248         tests here.
9249         (top level): Run do_test with and without displaced stepping.
9250
9251 2015-08-07  Pedro Alves  <palves@redhat.com>
9252
9253         * gdb.base/valgrind-disp-step.c: New file.
9254         * gdb.base/valgrind-disp-step.exp: New file.
9255
9256 2015-08-07  Pedro Alves  <palves@redhat.com>
9257
9258         * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
9259         Delete function.
9260         (main): Add alarm.  Run an infinite loop instead of calling
9261         wait_threads.
9262         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
9263         comment.
9264         * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
9265         Delete function.
9266         (main): Add alarm.  Run an infinite loop instead of calling
9267         wait_threads.
9268         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
9269         comment.
9270
9271 2015-08-07  Pedro Alves  <palves@redhat.com>
9272
9273         * gdb.base/checkpoint-ns.exp: New file.
9274         * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
9275         standard_testfile.
9276
9277 2015-08-07  Markus Metzger  <markus.t.metzger@intel.com>
9278
9279         * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
9280         * gdb.btrace/instruction_history.exp: Update.
9281         * gdb.btrace/tsx.exp: New.
9282         * gdb.btrace/tsx.c: New.
9283
9284 2015-08-06  Pedro Alves <palves@redhat.com>
9285
9286         * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
9287         increase timeout.
9288         * gdb.reverse/until-precsave.exp: Bump timeouts.
9289
9290 2015-08-06  Pedro Alves  <palves@redhat.com>
9291
9292         * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
9293
9294 2015-08-06  Pedro Alves  <palves@redhat.com>
9295
9296         PR gdb/18749
9297         * gdb.threads/process-dies-while-handling-bp.c: New file.
9298         * gdb.threads/process-dies-while-handling-bp.exp: New file.
9299
9300 2015-08-06  Pedro Alves  <palves@redhat.com>
9301
9302         * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
9303         * gdb.threads/forking-threads-plus-breakpoint.c: New file.
9304
9305 2015-08-05  Pedro Alves  <palves@redhat.com>
9306
9307         * gdb.threads/next-while-other-thread-longjmps.c: New file.
9308         * gdb.threads/next-while-other-thread-longjmps.exp: New file.
9309
9310 2015-08-03  Sandra Loosemore  <sandra@codesourcery.com>
9311
9312         * gdb.base/bp-permanent.exp: Report test as unsupported if
9313         the target cannot stop at the permanent breakpoint.
9314
9315 2015-08-03  Doug Evans  <dje@google.com>
9316
9317         * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
9318         10000.
9319
9320 2015-08-03  Doug Evans  <dje@google.com>
9321
9322         * Makefile.in (workers/%.worker, build-perf): New rule.
9323         (GDB_PERFTEST_MODE): New variable.
9324         (check-perf): Use it.
9325         (clean): Clean up gdb.perf parallel build subdirs.
9326         * lib/build-piece.exp: New file.
9327         * lib/gdb.exp (make_gdb_parallel_path): New function
9328         (standard_output_file, standard_temp_file): Call it.
9329         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9330         of $GDB_PARALLEL.
9331         * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
9332
9333 2015-08-03  Doug Evans  <dje@google.com>
9334
9335         * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
9336         (LOG_FILE_NAME): New global.
9337         (TextReporter.__init__): Initialize self.txt_sum.
9338         (TextReporter.report): Add support for multiple data-points.
9339         Move report to perftest.sum, put raw data in perftest.log.
9340         (TextReporter.start): Open sum and log files.
9341         (TextReporter.end): Close sum and log files.
9342         * gdb.perf/lib/perftest/testresult.py
9343         (SingleStatisticTestResult.record): Handle multiple data-points.
9344
9345 2015-07-31  Pedro Alves  <palves@redhat.com>
9346
9347         * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
9348         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9349         kill_wait_spawned_process instead of explicit "kill -9".
9350         * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
9351         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9352         kill_wait_spawned_process.
9353         * gdb.base/attach-twice.exp: Likewise.
9354         * gdb.base/attach.exp: Likewise.
9355         (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
9356         gdb_test_multiple.
9357         * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
9358         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9359         kill_wait_spawned_process.
9360         * gdb.base/valgrind-infcall.exp: Likewise.
9361         * gdb.multi/multi-attach.exp: Likewise.
9362         * gdb.python/py-prompt.exp: Likewise.
9363         * gdb.python/py-sync-interp.exp: Likewise.
9364         * gdb.server/ext-attach.exp: Likewise.
9365         * gdb.threads/attach-into-signal.exp (corefunc): Use
9366         spawn_wait_for_attach, spawn_id_get_pid and
9367         kill_wait_spawned_process.
9368         * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
9369         spawn_wait_for_attach returning a spawn id instead of a pid.  Use
9370         spawn_id_get_pid and kill_wait_spawned_process.
9371         * gdb.threads/attach-stopped.exp (corefunc): Use
9372         spawn_wait_for_attach, spawn_id_get_pid and
9373         kill_wait_spawned_process.
9374         * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
9375         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9376         kill_wait_spawned_process instead of explicit "kill -9".
9377         * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
9378         (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
9379         (spawn_wait_for_attach): Use spawn instead of exec to spawn
9380         processes.  Don't map cygwin/windows pids here.  Now returns a
9381         spawn id list.
9382
9383 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9384
9385         * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
9386         4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
9387         correct patch.
9388
9389 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9390
9391         * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9392
9393 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9394
9395         Reapply:
9396         2014-05-21  Mark Wielaard  <mjw@redhat.com>
9397
9398         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9399
9400 2015-07-30  Pedro Alves  <palves@redhat.com>
9401
9402         * linux-low.c (handle_extended_wait): Set the child's last
9403         reported status to TARGET_WAITKIND_STOPPED.
9404
9405 2015-07-30  Pedro Alves  <palves@redhat.com>
9406
9407         PR threads/18600
9408         * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9409         only shows inferior 1.
9410
9411 2015-07-30  Simon Marchi  <simon.marchi@ericsson.com>
9412             Pedro Alves  <palves@redhat.com>
9413
9414         PR threads/18600
9415         * gdb.threads/fork-plus-threads.c: New file.
9416         * gdb.threads/fork-plus-threads.exp: New file.
9417
9418 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9419
9420         * gdb.base/batch-preserve-term-settings.exp
9421         (test_terminal_settings_preserved_after_cli_exit): Use
9422         send_quit_command.
9423
9424 2015-07-29  Pedro Alves  <palves@redhat.com>
9425             Don Breazeal  <donb@codesourcery.com>
9426
9427         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9428         output from both inferior_spawn_id and gdb_spawn_id.
9429
9430 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9431
9432         * gdb.threads/attach-into-signal.exp (corefunc): Use
9433         with_test_prefix on nested loops, uniquefying the test messages.
9434
9435 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9436
9437         * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9438         commit.
9439
9440 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9441
9442         * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9443         New proc.
9444         (test_terminal_settings_preserved_after_sigterm): New test.
9445
9446 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9447
9448         * gdb.base/batch-preserve-term-settings.exp
9449         (test_terminal_settings_preserved_after_cli_exit): New test.
9450
9451 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9452
9453         * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9454         manipulation of saved_gdbflags.
9455         (test_terminal_settings_preserved): Remove global declaration of
9456         the unused variable pagination_prompt.  Remove manipulation of
9457         saved_gdbflags.  Use a local variable EXTRA_GDBFLAGS instead of
9458         GDBFLAGS.
9459
9460 2015-07-29  Pedro Alves  <palves@redhat.com>
9461
9462         * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9463
9464 2015-07-29  Pedro Alves  <palves@redhat.com>
9465
9466         * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9467         at the top.
9468
9469 2015-07-29  Pedro Alves  <palves@redhat.com>
9470
9471         * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9472         (main): Call gdb_unbuffer_output.
9473         * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9474         (main): Call gdb_unbuffer_output.
9475         * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9476         (main): Call gdb_unbuffer_output.
9477         * gdb.base/call-strs.exp: Adjust to step over the
9478         gdb_unbuffer_output call.
9479         * gdb.base/catch-gdb-caused-signals.c: Include
9480         "../lib/unbuffer_output.c".
9481         (main): Call gdb_unbuffer_output.
9482         * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
9483         (main): Call gdb_unbuffer_output.
9484         * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
9485         (main): Call gdb_unbuffer_output.
9486         * gdb.base/run.c: Include "../lib/unbuffer_output.c".
9487         (main): Call gdb_unbuffer_output.
9488         * gdb.base/shlib-call.exp: Adjust to step over the
9489         gdb_unbuffer_output call.
9490         * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9491         (main): Call gdb_unbuffer_output.
9492         * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9493         (main): Call gdb_unbuffer_output.
9494         * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9495         (main): Rename to ...
9496         (test): ... this.
9497         (main): Reimplement.
9498         * gdb.base/varargs.exp: Run to test instead of to main.
9499         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9500         (main): Call gdb_unbuffer_output.
9501
9502 2015-07-29  Pedro Alves  <palves@redhat.com>
9503
9504         * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9505         factore out from mi_continue_dprintf.  For call-style dprintfs,
9506         expect dprintf output out of $inferior_spawn_id.
9507         (mi_continue_dprintf): Use mi_expect_dprintf.
9508         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9509         (main): Call gdb_unbuffer_output.
9510
9511 2015-07-29  Pedro Alves  <palves@redhat.com>
9512
9513         * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9514         (default_mi_gdb_start): Set inferior_spawn_id instead of
9515         mi_inferior_spawn_id.  If $inferior_spawn_id is not set, set it to
9516         gdb_spawn_id.
9517         (mi_gdb_test): Always expect inferior output from both
9518         $inferior_spawn_id and $gdb_spawn_id.
9519
9520 2015-07-29  Pedro Alves  <palves@redhat.com>
9521
9522         * gdb.gdb/selftest.exp (test_with_self): Update comment.  Use
9523         send_inferior and $inferior_spawn_id.
9524
9525 2015-07-29  Pedro Alves  <palves@redhat.com>
9526
9527         * gdb.gdb/complaints.exp (test_initial_complaints)
9528         (test_serial_complaints, test_short_complaints): Use
9529         gdb_test_stdio.
9530         (test_empty_complaint): Handle $inferior_spawn_id !=
9531         $gdb_spawn_id.
9532
9533 2015-07-29  Pedro Alves  <palves@redhat.com>
9534
9535         * gdb.base/varargs.exp: Use gdb_test_stdio.
9536
9537 2015-07-29  Pedro Alves  <palves@redhat.com>
9538
9539         * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9540
9541 2015-07-29  Pedro Alves  <palves@redhat.com>
9542
9543         * gdb.base/ending-run.exp: Use gdb_test_stdio.
9544
9545 2015-07-29  Pedro Alves  <palves@redhat.com>
9546
9547         * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9548         parameter into two new parameters, "inf_result" and "gdb_result".
9549         Expect inferior output and gdb output from $inferior_spawn_id and
9550         $gdb_spawn_id, respectively.  Adjust all callers.
9551
9552 2015-07-29  Pedro Alves  <palves@redhat.com>
9553
9554         * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9555         of gdb_test_sequence.
9556
9557 2015-07-29  Pedro Alves  <palves@redhat.com>
9558
9559         * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9560         (saw_spurious_output): Expect inferior output from
9561         $inferior_spawn_id.  Use gdb_test_stdio.
9562
9563 2015-07-29  Pedro Alves  <palves@redhat.com>
9564
9565         * gdb.base/dprintf.exp: Use standard_testfile.  Change
9566         prepare_for_testing call.
9567         (srcfile): Don't set.
9568         (restart): New procedure.
9569         (test_dprintf): New procecure, use to continue over dprintfs.
9570         (test_call, test_agent): New procedures, tests moved here.
9571         Restart gdb and recreate dprintfs.  Adjust expected output.
9572
9573 2015-07-29  Pedro Alves  <palves@redhat.com>
9574
9575         * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9576
9577 2015-07-29  Pedro Alves  <palves@redhat.com>
9578
9579         * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9580
9581 2015-07-29  Pedro Alves  <palves@redhat.com>
9582
9583         * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9584         gdb_test_stdio.
9585
9586 2015-07-29  Pedro Alves  <palves@redhat.com>
9587
9588         * lib/gdb.exp (gdb_test_stdio): New procedure.
9589
9590 2015-07-29  Pedro Alves  <palves@redhat.com>
9591
9592         * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9593
9594 2015-07-29  Pedro Alves  <palves@redhat.com>
9595
9596         * gdb.base/call-signal-resume.exp: Remove check for
9597         gdb,noinferiorio.  Don't expect "no signal".  Use gdb_test.
9598         * gdb.base/unwindonsignal.exp: Likewise.
9599         * gdb.base/call-signals.c (gen_signal): Remove printf call.
9600         * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9601
9602 2015-07-29  Pedro Alves  <palves@redhat.com>
9603
9604         * gdb.base/siginfo-addr.c (pass): New function.
9605         (handler): Call it iff si_addr is correct.
9606         * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9607         Set a breakpoint at "pass" and continue to it.
9608
9609 2015-07-28  Sergio Durigan Junior  <sergiodj@redhat.com>
9610
9611         * gdb.python/py-objfile.exp: Make some tests have unique names.
9612         * gdb.python/py-pp-registration.exp: Likewise.
9613
9614 2015-07-28  Pedro Alves  <palves@redhat.com>
9615
9616         * gdb.server/server-exec-info.exp: Issue a "disconnect".
9617
9618 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9619
9620         * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9621
9622 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9623
9624         * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9625
9626 2015-07-27  Patrick Palka  <patrick@parcs.ath.cx>
9627
9628         * gdb.base/gdb-sigterm-2.exp: New test.
9629
9630 2015-07-25  Doug Evans  <xdje42@gmail.com>
9631
9632         Revert:
9633         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9634         (workers/%.worker, build-perf): New rule.
9635         (GDB_PERFTEST_MODE): New variable.
9636         (check-perf): Use it.
9637         (clean): Clean up gdb.perf parallel build subdirs.
9638         * lib/build-piece.exp: New file.
9639         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9640         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9641         name.
9642         (standard_temp_file): Ditto.
9643         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9644         of $GDB_PARALLEL.
9645
9646 2015-07-24  Doug Evans  <dje@google.com>
9647
9648         * gdb.perf/lib/perftest/utils.py: New file.
9649         * gdb.perf/gm-hello.cc: New file.
9650         * gdb.perf/gm-pervasive-typedef.cc: New file.
9651         * gdb.perf/gm-pervasive-typedef.h: New file.
9652         * gdb.perf/gm-std.cc: New file.
9653         * gdb.perf/gm-std.h: New file.
9654         * gdb.perf/gm-use-cerr.cc: New file.
9655         * gdb.perf/gm-utils.h: New file.
9656         * gdb.perf/gmonster-null-lookup.py: New file.
9657         * gdb.perf/gmonster-pervasive-typedef.py: New file.
9658         * gdb.perf/gmonster-print-cerr.py: New file.
9659         * gdb.perf/gmonster-ptype-string.py: New file.
9660         * gdb.perf/gmonster-runto-main.py: New file.
9661         * gdb.perf/gmonster-select-file.py: New file.
9662         * gdb.perf/gmonster1-null-lookup.exp: New file.
9663         * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9664         * gdb.perf/gmonster1-print-cerr.exp: New file.
9665         * gdb.perf/gmonster1-ptype-string.exp: New file.
9666         * gdb.perf/gmonster1-runto-main.exp: New file.
9667         * gdb.perf/gmonster1-select-file.exp: New file.
9668         * gdb.perf/gmonster1.cc: New file.
9669         * gdb.perf/gmonster1.exp: New file.
9670         * gdb.perf/gmonster2-null-lookup.exp: New file.
9671         * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9672         * gdb.perf/gmonster2-print-cerr.exp: New file.
9673         * gdb.perf/gmonster2-ptype-string.exp: New file.
9674         * gdb.perf/gmonster2-runto-main.exp: New file.
9675         * gdb.perf/gmonster2-select-file.exp: New file.
9676         * gdb.perf/gmonster2.cc: New file.
9677         * gdb.perf/gmonster2.exp: New file.
9678
9679 2015-07-24  Doug Evans  <dje@google.com>
9680
9681         * gdb.perf/README: New file.
9682         * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9683         * lib/gen-perf-test.exp: New file.
9684
9685 2015-07-24  Doug Evans  <dje@google.com>
9686
9687         * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9688         (PerfTest::startup): New function.
9689         (PerfTest::run): Return result of calling body.
9690         (PerfTest::assemble): Rewrite.
9691         * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9692         * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9693         * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9694         * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9695         * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9696
9697 2015-07-24  Doug Evans  <dje@google.com>
9698
9699         * lib/gdb.exp (clean_restart): Make executable optional.
9700
9701 2015-07-24  Doug Evans  <dje@google.com>
9702
9703         * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9704         compiler_info references.
9705         * gdb.cp/temargs.exp: Ditto.
9706         * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9707         (get_compiler_info): Early exit if already computed.  Set compiler_info
9708         to "unknown" if there was a problem.
9709         (test_compiler_info): Add function comment.  Call get_compiler_info.
9710
9711 2015-07-24  Doug Evans  <dje@google.com>
9712
9713         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9714         (workers/%.worker, build-perf): New rule.
9715         (GDB_PERFTEST_MODE): New variable.
9716         (check-perf): Use it.
9717         (clean): Clean up gdb.perf parallel build subdirs.
9718         * lib/build-piece.exp: New file.
9719         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9720         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9721         name.
9722         (standard_temp_file): Ditto.
9723         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9724         of $GDB_PARALLEL.
9725
9726 2015-07-24  Doug Evans  <dje@google.com>
9727
9728         * lib/future.exp (gdb_default_target_compile): New option
9729         "early_flags".
9730         * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9731         --as-needed.
9732
9733 2015-07-24  Sergio Durigan Junior  <sergiodj@redhat.com>
9734
9735         * gdb.base/catch-syscall.exp: Call gdb_exit before
9736         gdb_skip_xml_test.
9737
9738 2015-07-24  Pedro Alves  <palves@redhat.com>
9739
9740         * gdb.python/py-events.exp: Accept output between the stop event
9741         and the prompt.
9742         * gdb.python/py-evsignal.exp: Likewise.
9743         * gdb.python/py-evthreads.exp: Likewise.
9744
9745 2015-07-24  Pedro Alves  <palves@redhat.com>
9746
9747         PR gdb/18717
9748         * gdb.threads/non-ldr-exit.c: New file.
9749         * gdb.threads/non-ldr-exit.exp: New file.
9750
9751 2015-07-24  Yao Qi  <yao.qi@linaro.org>
9752
9753         * gdb.server/ext-wrapper.exp: Test --wrapper option when
9754         restarting process.
9755
9756 2015-07-24  Yao Qi  <yao.qi@linaro.org>
9757
9758         * gdb.server/ext-restart.exp: New file.
9759
9760 2015-07-24  Yao Qi  <yao.qi@linaro.org>
9761
9762         * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9763         argument options.
9764         * gdb.server/ext-wrapper.exp: New file.
9765
9766 2015-07-23  Doug Evans  <dje@google.com>
9767
9768         * gdb.dwarf2/dw2-dummy-cu.S: New file.
9769         * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9770
9771 2015-07-23  Pierre-Marie de Rodat  <derodat@adacore.com>
9772
9773         * gdb.ada/var_arr_typedef.exp: New testcase.
9774         * gdb.ada/var_arr_typedef/pack.adb: New file.
9775         * gdb.ada/var_arr_typedef/pack.ads: New file.
9776         * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9777
9778 2015-07-20  Joel Brobecker  <brobecker@adacore.com>
9779
9780         * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9781
9782 2015-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
9783
9784         * gdb.arch/i386-biarch-core.exp: Replace istarget
9785         by "complete set gnutarget". Remove expectation for the "core-file"
9786         command.
9787
9788 2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9789
9790         Revert the previous commit:
9791         Tests for validate symbol file using build-id.
9792
9793 2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
9794
9795         Tests for validate symbol file using build-id.
9796         * gdb.base/solib-mismatch-lib.c: New file.
9797         * gdb.base/solib-mismatch-libmod.c: New file.
9798         * gdb.base/solib-mismatch.c: New file.
9799         * gdb.base/solib-mismatch.exp: New file.
9800
9801 2015-07-15  Sandra Loosemore  <sandra@codesourcery.com>
9802
9803         * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9804         nios2-*-linux*.
9805         * gdb.base/sigbpt.exp (stepi_out): Likewise.
9806         * gdb.base/siginfo.exp: Likewise.
9807         * gdb.base/sigstep.exp (advance, advancei): Likewise.
9808
9809 2015-07-15  Pierre Langlois  <pierre.langlois@arm.com>
9810
9811         * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9812         Move it to ...
9813         * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9814         ... here.
9815         * gdb.trace/range-stepping.exp: Check that the target supports
9816         range stepping.
9817
9818 2015-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
9819
9820         * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9821
9822 2015-07-14  Pedro Alves  <palves@redhat.com>
9823
9824         * gdb.base/killed-outside.exp: New file.
9825         * gdb.base/killed-outside.c: New file.
9826
9827 2015-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
9828
9829         * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9830         (n at main): New.
9831         * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9832
9833 2015-07-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9834
9835         * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9836         infcall tests instead of setting up for KFAIL.
9837
9838 2015-07-10  Markus Metzger  <markus.t.metzger@intel.com>
9839
9840         * gdb.btrace/record_goto-step.exp: New.
9841
9842 2015-07-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
9843
9844         PR compile/18484
9845         * gdb.compile/compile.c (struct struct_type): Add volatile to
9846         selffield's type.
9847         * gdb.compile/compile.exp
9848         (compile code struct_object.selffield = &struct_object): Skip further
9849         struct_object tests if this one xfails.
9850
9851 2015-07-08  Robert O'Callahan  <robert@ocallahan.org>
9852
9853         PR exp/18617
9854         * gdb.trace/ax.exp: Add test.
9855
9856 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9857
9858         * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9859         instead of istarget "aarch64*-*-*".
9860         * gdb.arch/aarch64-fp.exp: Likewise.
9861         * gdb.base/float.exp: Likewise.
9862         * gdb.reverse/aarch64.exp: Likewise.
9863         * lib/gdb.exp (is_aarch64_target): New proc.
9864
9865 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9866
9867         * lib/gdb.exp (is_aarch32_target): New proc.
9868         * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9869         instead of "istarget "arm*-*-*"".
9870         * gdb.arch/arm-disp-step.exp: Likewise.
9871         * gdb.arch/thumb-bx-pc.exp: Likewise.
9872         * gdb.arch/thumb-prologue.exp: Likewise.
9873         * gdb.arch/thumb-singlestep.exp: Likewise.
9874         * gdb.base/disp-step-syscall.exp: Likewise.
9875         * gdb.base/float.exp: Likewise.
9876
9877 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9878
9879         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9880         Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9881
9882 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9883
9884         * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9885         is aarch64.  If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9886         if it exists.
9887         * gdb.multi/multi-arch.exp: Likewise.
9888
9889 2015-07-07  Simon Marchi  <simon.marchi@ericsson.com>
9890
9891         * gdb.python/py-lazy-string.exp: Add missing parentheses to
9892         print.
9893
9894 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9895
9896         * gdb.arch/thumb-singlestep.exp: Do one more single step.
9897
9898 2015-06-30  Martin Galvan  <martin.galvan@tallertechnologies.com>
9899
9900         * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9901         '[' and ']' characters.
9902
9903 2015-06-30  Iain Buclaw  <ibuclaw@gdcproject.org>
9904
9905         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9906
9907 2015-06-29  Pedro Alves  <palves@redhat.com>
9908
9909         PR threads/18127
9910         * gdb.threads/hand-call-new-thread.c: New file.
9911         * gdb.threads/hand-call-new-thread.c: New file.
9912
9913 2015-06-26  Keith Seitz  <keiths@redhat.com>
9914             Doug Evans  <dje@google.com>
9915
9916         PR 16253
9917         * gdb.cp/var-tag-2.cc: New file.
9918         * gdb.cp/var-tag-3.cc: New file.
9919         * gdb.cp/var-tag-4.cc: New file.
9920         * gdb.cp/var-tag.cc: New file.
9921         * gdb.cp/var-tag.exp: New file.
9922
9923 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
9924
9925         * gdb.base/history-duplicates.exp: New test.
9926
9927 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
9928
9929         * gdb.base/completion.exp: Test the completion of the "focus"
9930         command.
9931
9932 2015-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
9933
9934         * gdb.arch/amd64-prologue-skip.S: New file.
9935         * gdb.arch/amd64-prologue-skip.exp: New file.
9936
9937 2015-06-25  Simon Marchi  <simon.marchi@ericsson.com>
9938
9939         * gdb.python/py-prettyprint.exp (run_lang_tests): Add
9940         is_address_zero_readable check.
9941
9942 2015-06-24  Peter Bergner  <bergner@vnet.ibm.com>
9943
9944         * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
9945         * gdb.arch/powerpc-power.s <rfebb>: Likewise.
9946
9947 2015-06-24  Yao Qi  <yao.qi@linaro.org>
9948
9949         * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
9950         linux targets.
9951
9952 2015-06-24  Yao Qi  <yao.qi@linaro.org>
9953
9954         * lib/gdb.exp (supports_get_siginfo_type): New proc.
9955         * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
9956         * gdb.base/siginfo-thread.exp: Likewise.
9957
9958 2015-06-22  Yao Qi  <yao.qi@linaro.org>
9959
9960         * boards/remote-gdbserver-on-localhost.exp: Add comments.
9961
9962 2015-06-22  Yao Qi  <yao.qi@linaro.org>
9963
9964         * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
9965         aarch64*-*-*.
9966         (skip_hw_watchpoint_tests): Likewise.
9967
9968 2015-06-18  Patrick Palka  <patrick@parcs.ath.cx>
9969
9970         * gdb.base/gdbinit-history.exp: Test the interaction between
9971         setting GDBHISTSIZE and setting the history size via .gdbinit.
9972
9973 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
9974
9975         PR gdb/16999
9976         * gdb.base/gdbhistsize-history.exp: New test.
9977
9978 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
9979
9980         * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9981         with GDBHISTSIZE.
9982         * gdb.base/readline.exp: Likewise.
9983
9984 2015-06-17  Yao Qi  <yao.qi@linaro.org>
9985
9986         * lib/gdb.exp (get_build_id): Move braces and "else" to the same
9987         line.
9988
9989 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
9990
9991         * gdb.base/gdbinit-history.exp: Add test case to check that
9992         an unlimited history file does not get truncated on exit.
9993
9994 2015-06-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9995
9996         * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
9997         (VECTOR): New macro.  Use it...
9998         (int4, uint4, char4, float4, int2, longlong2, float2, double2):
9999         ...for these typedefs.
10000         (int8, char1, int1, double1): New typedefs.
10001         (struct just_int2, struct two_int2): New structures.
10002         (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
10003         (add_structvecs, add_singlevecs): New functions.
10004         (main): Call add_some_intvecs twice.
10005         * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
10006         the compile and exit upon failure.  Try compiling for the "native"
10007         architecture.  Test inferior function calls with vector arguments
10008         and vector return value handling with "finish" and "return".
10009
10010 2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
10011
10012         * gdb.base/sepdebug.exp: Add EXEEXT where needed.
10013         * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
10014         PE file.
10015         * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
10016
10017 2015-06-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10018
10019         PR breakpoints/16465
10020         * gdb.mi/mi-dprintf-pending.c: New file.
10021         * gdb.mi/mi-dprintf-pending.exp: New test.
10022         * gdb.mi/mi-dprintf-pendshr.c: New file.
10023
10024 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10025             Mircea Gherzan  <mircea.gherzan@intel.com>
10026
10027         * gdb.arch/i386-mpx-map.c: New file.
10028         * gdb.arch/i386-mpx-map.exp: New File.
10029
10030 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10031
10032         * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
10033         * gdb.arch/i386-mpx.exp: Indentation fixed.
10034
10035 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10036
10037         * gdb.arch/i386-mpx.c: Added final return to the have_mpx
10038         function and improved indentation.
10039         * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
10040         gdb_test_multiple. Added additional tests to skip the test.
10041
10042 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10043
10044         * gdb.arch/i386-avx512.c: Change path in include file.
10045         * gdb.arch/i386-avx512.exp: Change include dir path
10046         compilation flag.
10047         * gdb.arch/i386-mpx.c: Change path in include file.
10048         * gdb.arch/i386-mpx.exp: Change include dir path compilation
10049         flag.
10050
10051 2015-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
10052
10053         * gdb.compile/compile-print.exp (compile print *vararray@3)
10054         (compile print *vararrayp@3): Change xfail to kfail compile/18489.
10055
10056 2015-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
10057
10058         * gdb.compile/compile.exp (keep jit in memory): Rename to ...
10059         (do not keep jit in memory): ... this.
10060         (expect 5): Change it to ...
10061         (expect no 5): ... this.
10062
10063 2015-06-02  Simon Marchi  <simon.marchi@ericsson.com>
10064
10065         PR gdb/15564
10066         * gdb.mi/mi-detach.exp: New file.
10067
10068 2015-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10069
10070         PR symtab/18392
10071         * gdb.arch/amd64-tailcall-self.S: New file.
10072         * gdb.arch/amd64-tailcall-self.c: New file.
10073         * gdb.arch/amd64-tailcall-self.exp: New file.
10074
10075 2015-05-28  Don Breazeal  <donb@codesourcery.com>
10076
10077         * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10078         tests for remote targets by checking is_target_gdbserver.
10079
10080 2015-05-27  Doug Evans  <dje@google.com>
10081
10082         * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10083         * gdb.dwarf2/opaque-type-lookup.c: New file.
10084         * gdb.dwarf2/opaque-type-lookup.exp: New file.
10085
10086 2015-05-26  Doug Evans  <dje@google.com>
10087
10088         * gdb.cp/iostream.cc: New file.
10089         * gdb.cp/iostream.exp: New file.
10090
10091 2015-05-26  Doug Evans  <dje@google.com>
10092
10093         * gdb.dwarf2/dw2-op-call.exp: Update.
10094         * gdb.dwarf2/dw4-sig-types.exp: Update.
10095         * gdb.dwarf2/implptr.exp: Update.
10096         * gdb.mi/mi-cmd-param-changed.exp: Update.
10097
10098 2015-05-26  Doug Evans  <dje@google.com>
10099
10100         * gdb.python/py-lazy-string.c: New file.
10101         * gdb.python/py-lazy-string.exp: New file.
10102         * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
10103         (main): Update.  Add estring3.
10104         * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
10105         * gdb.python/py-prettyprint.py (pp_ls): Handle length.
10106
10107 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10108             Yao Qi  <yao.qi@linaro.org>
10109
10110         * gdb.reverse/aarch64.c: New.
10111         * gdb.reverse/aarch64.exp: New.
10112
10113 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10114
10115         * lib/gdb.exp (supports_process_record): Return true for
10116         aarch64*-linux*.
10117         (supports_reverse): Likewise.
10118
10119 2015-05-22  Patrick Palka  <patrick@parcs.ath.cx>
10120
10121         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10122         Use with_test_prefix.
10123
10124 2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
10125
10126         * gdb.base/completion.exp: Add test for completion of layout
10127         names.
10128
10129 2015-05-20  Andrew Burgess  <andrew.burgess@embecosm.com>
10130
10131         * lib/gdb.exp (skip_tui_tests): New proc.
10132         * gdb.base/tui-layout.exp: Check skip_tui_tests.
10133
10134 2015-05-19  Pedro Alves  <palves@redhat.com>
10135
10136         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10137         Save the whole env array instead of just HOME.  Unset HISTSIZE in
10138         the environment while testing.  Restore whole environment
10139         afterwards.
10140
10141 2015-05-16  Doug Evans  <xdje42@gmail.com>
10142
10143         * gdb.guile/scm-ports.c: New file.
10144         * gdb.guile/scm-ports.exp: Add memory port tests.
10145
10146 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10147
10148         * gdb.compile/compile-print.c: New file.
10149         * gdb.compile/compile-print.exp: New file.
10150
10151 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10152
10153         * gdb.compile/compile-ops.exp: Cast param to void.
10154         * gdb.compile/compile.exp: Complete type for _gdb_expr.
10155         (compile code struct_object.selffield = &struct_object): Add xfail.
10156
10157 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10158
10159         * gdb.ada/arr_enum_with_gap: New testcase.
10160
10161 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10162
10163         * gdb.ada/byte_packed_arr: New testcase.
10164
10165 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10166
10167         * gdb.ada/pckd_neg: New testcase.
10168
10169 2015-05-13  Patrick Palka  <patrick@parcs.ath.cx>
10170
10171         PR gdb/17820
10172         * gdb.base/gdbinit-history.exp: New test.
10173         * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
10174         * gdb.base/gdbinit-history/zero/.gdbinit: New file.
10175
10176 2015-05-09  Siva Chandra Reddy  <sivachandra@google.com>
10177
10178         * gdb.python/py-xmethods.cc: Enhance test case.
10179         * gdb.python/py-xmethods.exp: New tests.
10180         * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
10181         function.
10182         (B_indexoper): Likewise.
10183         (global_dm_list) : Add new xmethod worker functions.
10184
10185 2015-05-08  Sergio Durigan Junior  <sergiodj@redhat.com>
10186
10187         * gdb.base/coredump-filter.exp: Correctly unset
10188         "coredump_var_addr" array.
10189
10190 2015-05-08  Pedro Alves  <palves@redhat.com>
10191
10192         * gdb.server/non-existing-program.exp: Unset spawn_id.
10193
10194 2015-05-08  Siva Chandra Reddy  <sivachandra@google.com>
10195
10196         PR python/18291
10197         * gdb.python/py-xmethods.exp: Add tests.
10198
10199 2015-05-08  Yao Qi  <yao.qi@linaro.org>
10200
10201         PR gdb/18208
10202         * gdb.base/coredump-filter.c (set_coredump_filter): New function.
10203         * gdb.base/coredump-filter.exp (do_save_core): Call inferior
10204         function set_coredump_filter, and remove remote_exec call.
10205         Remove argument ipid.  Callers update.
10206         (top level): Don't get inferior's PID.
10207
10208 2015-05-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10209
10210         * gdb.base/watch_thread_num.exp: Skip test on targets without
10211         access watchpoints.
10212
10213 2015-05-06  Pedro Alves  <palves@redhat.com>
10214
10215         PR server/18081
10216         * gdb.server/non-existing-program.exp: New file.
10217
10218 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10219
10220         * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
10221
10222 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10223
10224         * gdb.ada/out_of_line_in_inlined: New testcase.
10225
10226 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10227
10228         * gdb.ada/var_rec_arr: New testcase.
10229
10230 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10231
10232         * gdb.base/break-idempotent.exp: If
10233         skip_hw_watchpoint_multi_tests returns true, skip the tests
10234         on "rwatch" and "awatch".
10235
10236 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10237
10238         * gdb.base/relativedebug.exp: Invoke gdb command
10239         "info sharedlibrary", and if libc.so doesn't have debug info,
10240         skip the test.
10241
10242 2015-04-29  Doug Evans  <dje@google.com>
10243
10244         * gdb.python/py-xmethods.exp: Add ptype tests.
10245         * gdb.python/py-xmethods.py (E_method_char_worker): Add
10246         get_result_type method.
10247
10248 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10249
10250         * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
10251         the target does not support hardware watchpoints.
10252
10253 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10254
10255         * gdb.base/break-always.exp: Abort testing if writing to memory
10256         causes an error.
10257
10258 2015-04-28  Doug Evans  <dje@google.com>
10259
10260         * gdb.python/py-pp-maint.py: Move "replace" testing to ...
10261         * gdb.python/py-pp-registration.exp: ... here.  New file.
10262         * gdb.python/py-pp-registration.c: New file.
10263         * gdb.python/py-pp-registration.py: New file.
10264
10265 2015-04-28  Doug Evans  <dje@google.com>
10266
10267         * gdb.python/py-bad-printers.c: New file.
10268         * gdb.python/py-bad-printers.py: New file.
10269         * gdb.python/py-bad-printers.exp: New file.
10270
10271 2015-04-28  Sasha Smundak  <asmundak@google.com>
10272
10273         * gdb.python/py-type.exp: New test.
10274
10275 2015-04-28  Andy Wingo  <wingo@igalia.com>
10276
10277         * gdb.python/py-parameter.exp:
10278         * gdb.guile/scm-parameter.exp: Escape the path that we are
10279         matching against, as it might contain characters that are special
10280         to regular expressions.
10281
10282 2015-04-27  Joel Brobecker  <brobecker@adacore.com>
10283
10284         * gdb.ada/rec_comp: New testcase.
10285
10286 2015-04-26  Sergio Durigan Junior  <sergiodj@redhat.com>
10287
10288         * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
10289         before using it.
10290
10291 2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
10292
10293         * gdb.base/dump.exp: Add *.verilog files to all_files list.  Add
10294         new tests for verilog output.
10295
10296 2015-04-24  Yao Qi  <yao.qi@linaro.org>
10297
10298         * boards/remote-gdbserver-on-localhost.exp: New file.
10299
10300 2015-04-23  Pedro Alves  <palves@redhat.com>
10301
10302         * gdb.base/interrupt.exp: Use an indirect spawn id list holding
10303         $inferior_spawn_id instead of $inferior_spawn_id directly.  On
10304         "end of file", remove $inferior_spawn_id from the indirect list.
10305
10306 2015-04-23  Pedro Alves  <palves@redhat.com>
10307
10308         * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
10309
10310 2015-04-23  Pedro Alves  <palves@redhat.com>
10311
10312         * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
10313         on $any_spawn_id instead of only on $gdb_spawn_id.
10314
10315 2015-04-21  Pierre Muller  <muller@sourceware.org>
10316
10317         PR pascal/17815
10318         * lib/pascal.exp (gpc_compile): Add new option "class".
10319         (fpc_compile): Likewise.
10320         * gdb.pascal/case-insensitive-symbols.pas: New file.
10321         * gdb.pascal/case-insensitive-symbols.exp: New file.
10322
10323 2015-04-20  Gary Benson <gbenson@redhat.com>
10324
10325         * gdb.base/attach.exp: Fix three extended remote failures.
10326
10327 2015-04-17  Gary Benson <gbenson@redhat.com>
10328
10329         * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
10330         the main executable over the remote protocol.
10331
10332 2015-04-16  Pedro Alves  <palves@redhat.com>
10333
10334         * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
10335         a new gdbserver if gdbserver_reconnect_p is set.
10336
10337 2015-04-16  Pedro Alves  <palves@redhat.com>
10338
10339         * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
10340         is set, don't exit gdbserver.
10341
10342 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10343
10344         * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
10345         appropriate .insn, such that an older assembler can be used.
10346         * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
10347         the z/Architecture instruction set on 31-bit targets as well.
10348
10349 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10350
10351         * gdb.go/handcall.exp: Remove all logic related to the first
10352         breakpoint and rely on go_runto_main instead.
10353         * gdb.go/strings.exp: Likewise.
10354         * gdb.go/unsafe.exp: Likewise.
10355         * gdb.go/hello.exp: Likewise.  Also rename the remaining
10356         breakpoint marker to "breakpoint 1".
10357         * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
10358         * gdb.go/strings.go: Likewise.
10359         * gdb.go/unsafe.go: Likewise.
10360         * gdb.go/hello.go: Likewise.  Also remove the second occurrence of
10361         "set breakpoint 2 here" and rename the remaining breakpoint marker
10362         to "breakpoint 1".
10363
10364 2015-04-15  Simon Marchi  <simon.marchi@ericsson.com>
10365
10366         * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
10367         if itertools.imap is not present.
10368         * gdb.python/py-objfile.exp: Add parentheses.
10369         * gdb.python/py-type.exp: Same.
10370         * gdb.python/py-unwind-maint.py: Same.
10371
10372 2015-04-15  Yao Qi  <yao.qi@linaro.org>
10373
10374         * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
10375         of ":$ptr_size" and set its form explicitly.
10376
10377 2015-04-15  Pedro Alves  <palves@redhat.com>
10378             Yao Qi  <yao.qi@linaro.org>
10379
10380         * gdb.base/watch-bitfields.exp (test_watch_location): Increase
10381         timeout by factor of 4.
10382         (test_regular_watch): Likewise.
10383         * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
10384         * gdb.reverse/sigall-reverse.exp: Likewise.
10385         * gdb.reverse/until-precsave.exp: Likewise.
10386         * lib/gdb.exp (with_timeout_factor): New proc.
10387         (gdb_expect): Move some code to ...
10388         (get_largest_timeout): ... here.  New procedure.
10389
10390 2015-04-14  Luis Machado  <lgustavo@codesourcery.com>
10391
10392         * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10393
10394 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10395
10396         * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10397         to write to the .text section.
10398
10399 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10400
10401         * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10402         Handle the case of targets that do not provide PID information.
10403
10404 2015-04-13  Yao Qi  <yao.qi@linaro.org>
10405
10406         * lib/gdbserver-support.exp (gdb_exit): Catch exception
10407         and use expect instead of gdb_expect.
10408
10409 2015-04-13  Sergio Durigan Junior  <sergiodj@redhat.com>
10410
10411         * gdb.base/coredump-filter.exp: Rename variable "addr" to
10412         "coredump_var_addr" to avoid naming conflict with other testcases.
10413
10414 2015-04-10  Pedro Alves  <palves@redhat.com>
10415
10416         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10417         gdb_test_sequence and gdb_assert.
10418
10419 2015-04-10  Pedro Alves  <palves@redhat.com>
10420
10421         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10422         test messages that don't include the breakpoint address.
10423
10424 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10425
10426         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10427         false for some offset and width combinations which aren't
10428         supported by linux kernel.
10429
10430 2015-04-10  Pedro Alves  <palves@redhat.com>
10431
10432         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10433         procedure, factored out from ...
10434         (top level): ... here.  Add "set displaced-stepping" testing axis.
10435         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10436         parameter "displaced".  Use it.
10437         (top level): Use foreach and add "set displaced-stepping" testing
10438         axis.
10439
10440 2015-04-10  Pedro Alves  <palves@redhat.com>
10441
10442         * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10443         Remove comment.
10444         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10445         both the address of the instruction that triggers the watchpoint
10446         and the address of the instruction immediately after, and use
10447         those addresses for the test.  Fix comment.
10448
10449 2015-04-10  Pedro Alves  <palves@redhat.com>
10450
10451         * gdb.base/sigstep.exp (breakpoint_to_handler)
10452         (breakpoint_to_handler_entry): New parameter 'displaced'.  Use it.
10453         Test "backtrace" in handler.
10454         (breakpoint_over_handler): New parameter 'displaced'.  Use it.
10455         (top level): Add new "displaced" test axis to
10456         breakpoint_to_handler, breakpoint_to_handler_entry and
10457         breakpoint_over_handler.
10458
10459 2015-04-10  Pedro Alves  <palves@redhat.com>
10460
10461         PR gdb/18216
10462         * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10463
10464 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10465
10466         * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10467         (test_add_rn_pc): New function.
10468         * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10469         (top level): Invoke test_add_rn_pc.
10470
10471 2015-04-10  Pedro Alves  <palves@redhat.com>
10472
10473         PR gdb/13858
10474         * gdb.base/step-over-no-symbols.exp: New file.
10475
10476 2015-04-09  Andy Wingo  <wingo@igalia.com>
10477
10478         * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
10479         after the Python tests.
10480
10481 2015-04-08  Keith Seitz  <keiths@redhat.com>
10482
10483         PR python/16699
10484         * gdb.python/py-completion.exp: New tests for completion.
10485         * gdb.python/py-completion.py (CompleteLimit1): New class.
10486         (CompleteLimit2): Likewise.
10487         (CompleteLimit3): Likewise.
10488         (CompleteLimit4): Likewise.
10489         (CompleteLimit5): Likewise.
10490         (CompleteLimit6): Likewise.
10491         (CompleteLimit7): Likewise.
10492
10493 2015-04-08  Pedro Alves  <palves@redhat.com>
10494
10495         PR gdb/18214
10496         PR gdb/18216
10497         * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10498         function.
10499         (main): Install it as SIGUSR1 handler.
10500         * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10501         parameter.  Always use "setup" as prefix.  Toggle "set
10502         displaced-stepping" off/on depending on global.  Don't switch to
10503         thread 1 here.
10504         (top level): Add displaced stepping "off/on" test axis.  Update
10505         "setup" calls.  Wrap each subtest with with_test_prefix.  Test
10506         continuing with a queued signal in each thread.
10507
10508 2015-04-08  Pedro Alves  <palves@redhat.com>
10509
10510         * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10511         * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd.  Use
10512         gdb_breakpoint instead of gdb_test that doesn't expect anything.
10513         Return early if running to main fails.
10514         * gdb.trace/while-stepping.exp: Likewise.
10515
10516 2015-04-07  Pedro Alves  <palves@redhat.com>
10517
10518         * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10519         $gdb_spawn_id.  Use send_inferior and $inferior_spawn_id to
10520         interact with inferior program.
10521
10522 2015-04-07  Pedro Alves  <palves@redhat.com>
10523
10524         * lib/gdb.exp (inferior_spawn_id): New global.
10525         (gdb_test_multiple): Handle "-i".  Reset the spawn id to GDB's
10526         spawn id after processing the user code.
10527         (default_gdb_start): Set inferior_spawn_id.
10528         (send_inferior): New procedure.
10529         * lib/gdbserver-support.exp (gdbserver_start): Set
10530         inferior_spawn_id.
10531         (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10532
10533 2015-04-07  Pedro Alves  <palves@redhat.com>
10534
10535         * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10536         * lib/gdbserver-support.exp (gdbserver_start): Make
10537         $server_spawn_id global.
10538         (gdbserver_start): Don't wait for gdbserver's spawn id with
10539         expect_background.
10540         (close_gdbserver): New procedure.
10541         (gdb_exit): Rename the default version and reimplement.
10542
10543 2015-04-07  Pedro Alves  <palves@redhat.com>
10544
10545         * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10546         append the substituted item, not the original item.
10547
10548 2015-04-07  Pedro Alves  <palves@redhat.com>
10549
10550         * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10551         gdb_expect.
10552
10553 2015-04-07  Pedro Alves  <palves@redhat.com>
10554
10555         * gdb.base/interrupt.exp: Don't handle the case of the inferior
10556         output appearing once only.
10557
10558 2015-04-07  Pedro Alves  <palves@redhat.com>
10559
10560         * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10561         that doesn't expect anything.  Return early if running to main
10562         fails.
10563
10564 2015-04-07  Yao Qi  <yao.qi@linaro.org>
10565
10566         * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10567         (child_function): Call alarm.
10568         (main): Move call to alarm into the loop.
10569         * gdb.threads/non-stop-fair-events.exp: Build program with
10570         -DTIMEOUT=$timeout.
10571
10572 2015-04-06  Doug Evans  <xdje42@gmail.com>
10573
10574         * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10575         Fix dest parameter to board_info.
10576         (fpc_compile): Ditto.
10577         (gdb_compile_pascal): Rename dest arg to destfile.
10578
10579 2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
10580
10581         * gdb.ada/funcall_ref.exp: New file.
10582         * gdb.ada/funcall_ref/foo.adb: New file.
10583
10584 2015-04-02  Yao Qi  <yao.qi@linaro.org>
10585
10586         * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10587         is remote.
10588
10589 2015-04-02  Gary Benson <gbenson@redhat.com>
10590
10591         * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10592
10593 2015-04-01  Sasha Smundak  <asmundak@google.com>
10594
10595         * gdb.python/py-unwind-maint.c: New file.
10596         * gdb.python/py-unwind-maint.exp: New test.
10597         * gdb.python/py-unwind-maint.py: New file.
10598         * gdb.python/py-unwind.c: New file.
10599         * gdb.python/py-unwind.exp: New test.
10600         * gdb.python/py-unwind.py: New test.
10601
10602 2015-04-01  Pedro Alves  <palves@redhat.com>
10603
10604         * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10605         to fail instead of non-existent $test.
10606
10607 2015-04-01  Pedro Alves  <palves@redhat.com>
10608
10609         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10610         GDBFLAGS if not empty.
10611
10612 2015-04-01  Pierre-Marie de Rodat  <derodat@adacore.com>
10613
10614         * gdb.ada/complete.exp: Remove "multi_line".
10615         * gdb.ada/info_exc.exp: Remove "multi_line".
10616         * gdb.ada/packed_tagged.exp: Remove "multi_line".
10617         * gdb.ada/ptype_field.exp: Remove "multi_line".
10618         * gdb.ada/sym_print_name.exp: Remove "multi_line".
10619         * gdb.ada/tagged.exp: Remove "multi_line".
10620         * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10621         [multi_line ...]
10622         * gdb.btrace/delta.exp: Likewise.
10623         * gdb.btrace/exception.exp: Likewise.
10624         * gdb.btrace/function_call_history.exp: Likewise.
10625         * gdb.btrace/instruction_history.exp: Likewise.
10626         * gdb.btrace/nohist.exp: Likewise.
10627         * gdb.btrace/record_goto.exp: Likewise.
10628         * gdb.btrace/segv.exp: Likewise.
10629         * gdb.btrace/stepi.exp: Likewise.
10630         * gdb.btrace/tailcall.exp: Likewise.
10631         * gdb.btrace/unknown_functions.exp: Likewise.
10632         * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10633         * lib/gdb.exp: Add the "multi_line" helper.
10634
10635 2015-04-01  Pedro Alves  <palves@redhat.com>
10636
10637         * gdb.threads/tid-reuse.c: New file.
10638         * gdb.threads/tid-reuse.exp: New file.
10639
10640 2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
10641
10642         PR corefiles/16092
10643         * gdb.base/coredump-filter.c: New file.
10644         * gdb.base/coredump-filter.exp: Likewise.
10645
10646 2015-03-27  Petr Machata  <pmachata@redhat.com>
10647
10648         * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10649         (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10650         (Dwarf::assemble): Initialize them.
10651         (Dwarf::lines): New function.
10652
10653 2015-03-26  Jon Turney  <jon.turney@dronecode.org.uk>
10654
10655         * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10656         SYMBOL_PREFIX for x86_64-*-cygwin.
10657
10658 2015-03-26  Andy Wingo  <wingo@igalia.com>
10659
10660         PR symtab/18148
10661         * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10662         const_value but not a location.
10663         * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10664         location defined in non-main CUs are visible.
10665
10666 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10667
10668         PR testsuite/18139
10669         * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10670         Add a line number entry for the same line.
10671         * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10672         Add a line number entry for the same line.
10673
10674 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10675
10676         * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10677         .int 0.
10678         (func): Likewise.  Add .Lfunc_1 label.
10679         Use .Lfunc_1 label.
10680         * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10681         .int 0.
10682         (func): Likewise.
10683         Use .Lfunc_1 label.
10684
10685 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10686
10687         * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10688         Call gdb_compile instead to compile each .s files without debug
10689         information.
10690
10691 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10692
10693         * gdb.base/savedregs.exp (process_saved_regs): Make
10694         "Saved registers:" optional in the pattern.
10695
10696 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
10697
10698         * gdb.btrace/next.exp: Merged into step.exp.
10699         * gdb.btrace/finish.exp: Merged into step.exp.
10700         * gdb.btrace/nexti.exp: Merged into stepi.exp.
10701         * gdb.btrace/step.exp: Use record_goto.c as test file.  Avoid using
10702         "record goto" and checking the exact replay position.
10703         * gdb.btrace/stepi.exp: Choose test file based on target.  Do not
10704         check for "Recording format" in "info record" output.
10705         * gdb.btrace/record_goto.exp: Choose test file based on target.
10706         * gdb.btrace/x86-record_goto.S: Renamed into ...
10707         * gdb.btrace/x86_64-record_goto.S: ... this.
10708         * gdb.btrace/i686-record_goto.S: New.
10709         * gdb.btrace/x86-tailcall.S: Renamed into ...
10710         * gdb.btrace/x86_64-tailcall.S: ... this.
10711         * gdb.btrace/i686-tailcall.S: New.
10712         * gdb.btrace/x86-tailcall.c: Renamed into ...
10713         * gdb.btrace/tailcall.c: ... this.  Split "return ++answer" into two
10714         separate statements.  Update test.
10715         * gdb.btrace/delta.exp: Use record_goto.c as test file.
10716         * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10717         * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10718         * gdb.btrace/tailcall.exp: Choose test file based on target.
10719         * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10720
10721 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
10722
10723         * gdb.btrace/exception.exp: Increase BTS buffer size.
10724
10725 2015-03-24  Pedro Alves  <palves@redhat.com>
10726
10727         * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10728
10729 2015-03-24  Pedro Alves  <palves@redhat.com>
10730
10731         * gdb.threads/schedlock.exp (test_step): No longer expect that
10732         "set scheduler-locking step" with "next" over a function call runs
10733         threads unlocked.
10734
10735 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10736
10737         * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10738
10739 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10740
10741         PR breakpoints/16466
10742         * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10743         * gdb.mi/mi-pending.c (thread_func): New function.
10744         (int main): Add threading support required.
10745         * gdb.mi/mi-pending.exp: Add tests for this issue.
10746         * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10747         (pendfunc2): Remove stdio dependency.
10748         * gdb.mi/mi-pendshr2.c: New file.
10749
10750 2015-03-23  Keith Seitz  <keiths@redhat.com>
10751
10752         * gdb.linespec/keywords.c: New file.
10753         * gdb.linespec/keywords.exp: New file.
10754
10755 2015-03-23  Keith Seitz  <keiths@redhat.com>
10756
10757         PR gdb/18021
10758         * gdb.dwarf2/staticvirtual.exp: New test.
10759
10760 2015-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
10761
10762         * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10763         * README: Remove HP-UX and gdb.hp.
10764         (configuration):
10765         * configure: Regenerate.
10766         * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10767         gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10768         gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10769         gdb.hp/gdb.defects/Makefile.
10770         * gdb.hp/Makefile.in: File deleted.
10771         * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10772         * gdb.hp/gdb.aCC/optimize.c: File deleted.
10773         * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10774         * gdb.hp/gdb.aCC/run.c: File deleted.
10775         * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10776         * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10777         * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10778         * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10779         * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10780         * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10781         * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10782         * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10783         * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10784         * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10785         * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10786         * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10787         * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10788         * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10789         * gdb.hp/gdb.base-hp/reg.s: File deleted.
10790         * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10791         * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10792         * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10793         * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10794         * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10795         * gdb.hp/gdb.compat/Makefile.in: File deleted.
10796         * gdb.hp/gdb.compat/average.c: File deleted.
10797         * gdb.hp/gdb.compat/sum.c: File deleted.
10798         * gdb.hp/gdb.compat/xdb.c: File deleted.
10799         * gdb.hp/gdb.compat/xdb0.c: File deleted.
10800         * gdb.hp/gdb.compat/xdb0.h: File deleted.
10801         * gdb.hp/gdb.compat/xdb1.c: File deleted.
10802         * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10803         * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10804         * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10805         * gdb.hp/gdb.defects/Makefile.in: File deleted.
10806         * gdb.hp/gdb.defects/bs14602.c: File deleted.
10807         * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10808         * gdb.hp/gdb.defects/solib-d.c: File deleted.
10809         * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10810         * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10811         * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10812         * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10813         * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10814         * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10815         * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10816         * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10817         * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10818         * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10819         * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10820         * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10821         * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10822         * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10823         * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10824         * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10825         * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10826         * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10827         * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10828         * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10829         * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10830         * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10831         * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10832         * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10833         * gdb.hp/tools/odump: File deleted.
10834
10835 2015-03-19  Pedro Alves  <palves@redhat.com>
10836
10837         * gdb.threads/continue-pending-status.exp (saw_thread_2)
10838         (saw_thread_3): New globals.
10839         (top level): Increment them when an event for the corresponding
10840         thread is seen.
10841         (no thread starvation): New test.
10842
10843 2015-03-19  Pedro Alves  <palves@redhat.com>
10844
10845         * gdb.threads/continue-pending-status.c: New file.
10846         * gdb.threads/continue-pending-status.exp: New file.
10847
10848 2015-03-18  Pedro Alves  <palves@redhat.com>
10849
10850         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10851         Use gdb_is_target_remote instead of is_remote.  Use
10852         gdb_test_multiple instead of gdb_expect.  Exit early if
10853         gdb_test_multiple hits its internal matches.  Tighten stepi tests
10854         expected output.  Fail on exit with any signal, instead of just
10855         SIGILL.
10856
10857 2015-03-18  Yao Qi  <yao.qi@linaro.org>
10858
10859         PR tdep/18107
10860         * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10861         variable.
10862         * gdb.base/catch-syscall.exp: Don't skip it on
10863         aarch64*-*-linux* target.  Remove elements in all_syscalls.
10864         (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10865         target.
10866         (setup_all_syscalls): New proc.
10867
10868 2015-03-16  Yao Qi  <yao.qi@linaro.org>
10869
10870         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10871         (top level): Skip tests if valid_addr_p returns false for
10872         $cmd1 or $cmd2.
10873
10874 2015-03-11  Andy Wingo  <wingo@igalia.com>
10875
10876         * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10877
10878 2015-03-11  Yao Qi  <yao.qi@linaro.org>
10879
10880         * gdb.base/catch-syscall.exp: Fix typo in comments.
10881
10882 2015-03-11  Yao Qi  <yao.qi@linaro.org>
10883
10884         * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10885
10886 2015-03-09  Pedro Alves  <palves@redhat.com>
10887
10888         * dg-extract-results.py: Delete.
10889
10890 2015-03-09  Pedro Alves  <palves@redhat.com>
10891
10892         Merge dg-extract-results.sh from GCC upstream (r218843).
10893
10894         2014-12-17  Sergio Durigan Junior  <sergiodj@redhat.com>
10895                 * dg-extract-results.sh: Use --text with grep to avoid issues with
10896                 binary files.  Fall back to cat -v, if that doesn't work.
10897
10898 2015-03-05  Pedro Alves  <palves@redhat.com>
10899
10900         * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10901
10902 2015-03-04  Simon Marchi  <simon.marchi@ericsson.com>
10903
10904         * lib/mi-support.exp (mi_expect_interrupt): Accept
10905         alternative event for when in all-stop mode.
10906
10907 2015-03-04  Pedro Alves  <palves@redhat.com>
10908
10909         * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10910
10911 2015-03-04  Mark Kettenis  <kettenis@gnu.org>
10912
10913         * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10914
10915 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10916
10917         * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10918         regexps for GDB's current line display, accept a hex address
10919         preceding the line number.
10920
10921 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10922
10923         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10924         the 'arch1' variable for "s390*-linux*" targets.
10925
10926 2015-03-04  Pedro Alves  <palves@redhat.com>
10927
10928         * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10929         (main): Pass missing retval argument to pthread_join call.
10930
10931 2015-03-02  Pedro Alves  <palves@redhat.com>
10932
10933         * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
10934         (top level): Call do_test with non-stop as well.
10935
10936 2015-03-02  Pedro Alves  <palves@redhat.com>
10937
10938         * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
10939         -1.
10940
10941 2015-03-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10942
10943         * gdb.arch/s390-vregs.exp: New test.
10944         * gdb.arch/s390-vregs.S: New file.
10945
10946 2015-02-27  Pedro Alves  <palves@redhat.com>
10947
10948         * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
10949         call to catch_command_errors.
10950         * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
10951         catch_command_errors.
10952
10953 2015-02-27  Pedro Alves  <palves@redhat.com>
10954
10955         * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
10956         "true" for boolean result.
10957         * gdb.gdb/selftest.exp (test_with_self): Also accept full
10958         prototype of main.
10959
10960 2015-02-27  Pedro Alves  <palves@redhat.com>
10961
10962         * lib/unbuffer_output.c: New file.
10963         * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
10964         (main): Call gdb_unbuffer_output.
10965
10966 2015-02-27  Yao Qi  <yao.qi@linaro.org>
10967
10968         * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
10969         target.
10970
10971 2015-02-26  Doug Evans  <dje@google.com>
10972
10973         * gdb.cp/class2.cc (Dbase, D): New classes.
10974         (main): New local delta.
10975         * gdb.cp/class2.exp: Test printing delta.
10976         * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
10977         (dynbar): New global.
10978         * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
10979
10980 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
10981
10982         * gdb.compile/compile-ifunc.c: New file.
10983         * gdb.compile/compile-ifunc.exp: New file.
10984
10985 2015-02-26  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10986
10987         * gdb.base/structs.exp: Check for correct struct on finish.
10988
10989 2015-02-26  Yao Qi  <yao.qi@linaro.org>
10990
10991         * lib/dwarf.exp (function_range): Adjust pattern when $func_length
10992         is zero.
10993
10994 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
10995
10996         * gdb.arch/cordic.ko.bz2: New file.
10997         * gdb.arch/cordic.ko.debug.bz2: New file.
10998         * gdb.arch/ppc64-symtab-cordic.exp: New file.
10999
11000 2015-02-25  Yao Qi  <yao.qi@linaro.org>
11001
11002         * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
11003         aarch64*-*-* target.
11004
11005 2015-02-23  Pedro Alves  <palves@redhat.com>
11006
11007         * lib/gdb.exp (delete_breakpoints): Rewrite using
11008         gdb_test_multiple.
11009
11010 2015-02-23  Pedro Alves  <palves@redhat.com>
11011
11012         * gdb.base/info-os.c: Include stdlib.h.
11013
11014 2015-02-22  Doug Evans  <xdje42@gmail.com>
11015
11016         PR symtab/17855
11017         * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
11018         is read after symbols have been re-read.
11019         * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
11020         * gdb.ada/exec_changed/second.adb (Second): Ditto.
11021
11022 2015-02-21  Doug Evans  <dje@google.com>
11023
11024         * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
11025
11026 2015-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
11027
11028         PR corefiles/17808
11029         * gdb.arch/i386-biarch-core.core.bz2: New file.
11030         * gdb.arch/i386-biarch-core.exp: New file.
11031
11032 2015-02-21  Pedro Alves  <palves@redhat.com>
11033
11034         * gdb.threads/multi-create-ns-info-thr.exp: Return early if
11035         runto_main fails.
11036
11037 2015-02-20  Pedro Alves  <palves@redhat.com>
11038
11039         * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
11040         info probes.
11041
11042 2015-02-20  Pedro Alves  <palves@redhat.com>
11043
11044         * gdb.threads/multi-create-ns-info-thr.exp: New file.
11045
11046 2015-02-20  Pedro Alves  <palves@redhat.com>
11047
11048         * gdb.trace/no-attach-trace.exp: Don't run to main.  Do
11049         clean_restart before gdb_target_supports_trace.
11050
11051 2015-02-20  Pedro Alves  <palves@redhat.com>
11052
11053         PR threads/18006
11054         * gdb.threads/clone-thread_db.c: New file.
11055         * gdb.threads/clone-thread_db.exp: New file.
11056
11057 2015-02-19  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11058
11059         PR breakpoints/16812
11060         * gdb.base/catch-gdb-caused-signals.c: New file.
11061         * gdb.base/catch-gdb-caused-signals.exp: New file.
11062
11063 2015-02-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
11064
11065         * configure: Regenerated.
11066         * configure.ac: Use GDB_AC_TRANSFORM.
11067         * aclocal.m4: sinclude ../transform.m4.
11068
11069 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11070
11071         * lib/dtrace.exp: New file.
11072         * gdb.base/dtrace-probe.exp: Likewise.
11073         * gdb.base/dtrace-probe.d: Likewise.
11074         * gdb.base/dtrace-probe.c: Likewise.
11075         * lib/pdtrace.in: Likewise.
11076         * configure.ac: Output variables with the transformed names of
11077         the strip, readelf, as and nm tools.  AC_SUBST lib/pdtrace.in.
11078         * configure: Regenerated.
11079
11080 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11081
11082         * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11083         expected message when trying to access $_probe_* convenience
11084         variables while not on a probe.
11085
11086 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11087
11088         * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11089
11090 2015-02-11  Pedro Alves  <pedro@codesourcery.com>
11091
11092         * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11093         * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
11094
11095 2015-02-10  Doug Evans  <xdje42@gmail.com>
11096
11097         * lib/gdb.exp (gdb_load): Always return a result.
11098
11099 2015-02-10  Pedro Alves  <palves@redhat.com>
11100
11101         * gdb.threads/signal-sigtrap.c: New file.
11102         * gdb.threads/signal-sigtrap.exp: New file.
11103
11104 2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
11105
11106         * gdb.trace/no-attach-trace.c: New file.
11107         * gdb.trace/no-attach-trace.exp: New file.
11108
11109 2015-02-09  Mark Wielaard  <mjw@redhat.com>
11110
11111         * gdb.dwarf2/atomic.c: New file.
11112         * gdb.dwarf2/atomic-type.exp: Likewise.
11113
11114 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11115
11116         * gdb.btrace/buffer-size.exp: Update "info record" output.
11117         * gdb.btrace/delta.exp: Update "info record" output.
11118         * gdb.btrace/enable.exp: Update "info record" output.
11119         * gdb.btrace/finish.exp: Update "info record" output.
11120         * gdb.btrace/instruction_history.exp: Update "info record" output.
11121         * gdb.btrace/next.exp: Update "info record" output.
11122         * gdb.btrace/nexti.exp: Update "info record" output.
11123         * gdb.btrace/step.exp: Update "info record" output.
11124         * gdb.btrace/stepi.exp: Update "info record" output.
11125         * gdb.btrace/nohist.exp: Update "info record" output.
11126
11127 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11128
11129         * gdb.btrace/buffer-size: New.
11130
11131 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11132
11133         * gdb.btrace/delta.exp: Update "info record" output.
11134         * gdb.btrace/enable.exp: Update "info record" output.
11135         * gdb.btrace/finish.exp: Update "info record" output.
11136         * gdb.btrace/instruction_history.exp: Update "info record" output.
11137         * gdb.btrace/next.exp: Update "info record" output.
11138         * gdb.btrace/nexti.exp: Update "info record" output.
11139         * gdb.btrace/step.exp: Update "info record" output.
11140         * gdb.btrace/stepi.exp: Update "info record" output.
11141         * gdb.btrace/nohist.exp: Update "info record" output.
11142
11143 2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
11144
11145         PR gdb/15678
11146         * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
11147
11148 2015-02-06  Pedro Alves  <palves@redhat.com>
11149
11150         * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
11151         macro.
11152         (seconds_left, again): New globals.
11153         (main): Wait seconds_left in a 1-second sleep loop instead of
11154         sleeping 180 seconds.  If 'again' is set, reset the seconds
11155         counter.
11156         * gdb.threads/attach-many-short-lived-threads.exp (test): Set
11157         'again' in the inferior before detaching.  Print the seconds left.
11158         (options): New global.
11159         (top level): Build program with -DTIMEOUT=$timeout.
11160
11161 2015-02-06  Pedro Alves  <palves@redhat.com>
11162
11163         * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
11164         determine how many seconds to pass to 'alarm'.
11165         * gdb.base/gdb-sigterm.exp (top level): Build program with
11166         -DTIMEOUT=$timeout.
11167         (do_test): Return success/failure indication.  Add more verbose
11168         logging.  Don't fail if 200 single steps are seen.  Instead, fail
11169         when the test times out.
11170         (passes): New global.
11171         (top level): Break the testing loop if testing fails on any
11172         iteration.  Use gdb_assert.
11173
11174 2015-02-04  Don Breazeal  <donb@codesourcery.com>
11175
11176         * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
11177         and initialize them.
11178         (ipc_cleanup): New function.
11179         (main): Don't declare shmid, semid, and msqid.  Add a call to
11180         atexit so that we call ipc_cleanup on exit.
11181
11182 2015-02-04  Pedro Alves  <palves@redhat.com>
11183
11184         * boards/native-extended-gdbserver.exp: Remove any target variant
11185         specifications from the board name before clearing the isremote
11186         flag from board_info.
11187
11188 2015-01-31  Doug Evans  <xdje42@gmail.com>
11189
11190         * gdb.base/maint.exp <maint print type argc>: Update expected output.
11191
11192 2015-01-31  Gary Benson <gbenson@redhat.com>
11193
11194         * gdb.base/completion.exp: Disable completion limiting for
11195         existing tests.  Add new tests to check completion limiting.
11196         * gdb.linespec/ls-errs.exp: Disable completion limiting.
11197
11198 2015-01-31  Doug Evans  <xdje42@gmail.com>
11199
11200         * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
11201
11202 2015-01-31  Doug Evans  <xdje42@gmail.com>
11203
11204         * gdb.guile/scm-section-script.c: Add duplicate inlined section script
11205         entries.  Duplicate file section script entries.
11206         * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
11207         inlined entries.  Add test for safe-path rejection.
11208         * gdb.python/py-section-script.c: Add duplicate inlined section script
11209         entries.  Duplicate file section script entries.
11210         * gdb.python/py-section-script.exp: Add tests for duplicate entries,
11211         inlined entries.  Add test for safe-path rejection.
11212
11213 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11214
11215         * gdb.ada/disc_arr_bound: New testcase.
11216
11217 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11218
11219         * gdb.ada/mi_var_array: New testcase.
11220
11221 2015-01-27  Doug Evans  <dje@google.com>
11222
11223         * gdb.python/py-objfile.exp: Add tests for objfile.username.
11224         Add test for objfile.filename, objfile.username after objfile
11225         has been unloaded.
11226
11227 2015-01-26  Joel Brobecker  <brobecker@adacore.com>
11228
11229         * gdb.python/py-lookup-type.exp (test_lookup_type): Change
11230         the second test to print the name attribute of value
11231         returned by the call to gdb.lookup_type, and adjust
11232         the expected output accordingly.
11233
11234 2015-01-25  Mark Wielaard  <mjw@redhat.com>
11235
11236         * gdb.arch/i386-bp_permanent.c (standard): New declaration.
11237         * gdb.base/disp-step-fork.c: Include unistd.h.
11238         * gdb.base/siginfo-obj.c: Include stdio.h.
11239         * gdb.base/siginfo-thread.c: Likewise.
11240         * gdb.mi/non-stop.c: Include unistd.h.
11241         * gdb.mi/nsthrexec.c: Include stdio.h.
11242         * gdb.mi/pthreads.c: Include unistd.h.
11243         * gdb.modula2/unbounded1.c (main): Declare returns int.
11244         * gdb.reverse/consecutive-reverse.c: Likewise.
11245         * gdb.threads/create-fail.c: Include unistd.h.
11246         * gdb.threads/killed.c: Likewise.
11247         * gdb.threads/linux-dp.c: Likewise.
11248         * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
11249         * gdb.threads/non-ldr-exc-2.c: Likewise.
11250         * gdb.threads/non-ldr-exc-3.c: Likewise.
11251         * gdb.threads/non-ldr-exc-4.c: Likewise.
11252         * gdb.threads/pthreads.c: Include unistd.h.
11253         (main): Declare returns int.
11254         * gdb.threads/tls-main.c (foo): New declaration.
11255         * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
11256
11257 2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
11258
11259         * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
11260         * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
11261
11262 2015-01-15  Mark Wielaard  <mjw@redhat.com>
11263
11264         * gdb.base/noreturn-return.c: New file.
11265         * gdb.base/noreturn-return.exp: New file.
11266         * gdb.base/noreturn-finish.c: New file.
11267         * gdb.base/noreturn-finish.exp: New file.
11268
11269 2015-01-23  Pedro Alves  <palves@redhat.com>
11270
11271         * gdb.threads/continue-pending-after-query.c: New file.
11272         * gdb.threads/continue-pending-after-query.exp: New file.
11273
11274 2015-01-22  Anders Granlund  <anders.granlund@ericsson.com>
11275             Simon Marchi  <simon.marchi@ericsson.com>
11276
11277         * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
11278         * gdb.base/valgrind-db-attach.exp: Same.
11279         * gdb.base/valgrind-infcall.exp: Same.
11280         * lib/mi-support.exp (default_mi_gdb_start): Same.
11281         * lib/prompt.exp (default_prompt_gdb_start): Same.
11282         * lib/gdb.exp (default_gdb_spawn): Same.
11283         (gdb_interact): New.
11284
11285
11286 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
11287
11288         * gdb.compile/compile.exp (pointer to jit function): New test.
11289
11290 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
11291
11292         * lib/gdb.exp (supports_process_record): Return true for
11293         powerpc*-*-linux*.
11294         (supports_reverse): Likewise.
11295
11296 2015-01-15  Don Breazeal  <donb@codesourcery.com>
11297
11298         * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
11299         instead of checking whether the target board is remote and
11300         use spawn_wait_for_attach instead of exec/sleep.
11301         * gdb.base/attach-twice.exp: Likewise.
11302
11303 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
11304
11305         * gdb.ada/var_arr_attrs: New testcase.
11306
11307 2015-01-14  Pedro Alves  <palves@redhat.com>
11308             Joel Brobecker  <brobecker@adacore.com>
11309
11310         PR gdb/17525
11311         * gdb.base/bp-cmds-execution-x-script.c: New file.
11312         * gdb.base/bp-cmds-execution-x-script.exp: New file.
11313         * gdb.base/bp-cmds-execution-x-script.gdb: New file.
11314
11315 2015-01-14  Pedro Alves  <palves@redhat.com>
11316
11317         PR cli/17828
11318         * gdb.base/batch-preserve-term-settings.c: New file.
11319         * gdb.base/batch-preserve-term-settings.exp: New file.
11320
11321 2015-01-13  Doug Evans  <dje@google.com>
11322
11323         * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
11324         binary.
11325
11326 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11327
11328         * Makefile.in (clean mostlyclean): Do not delete *.py.
11329
11330 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11331
11332         * gdb.python/py-lookup-type.exp: New file.
11333
11334 2015-01-12  Pedro Alves  <palves@redhat.com>
11335
11336         * gdb.python/py-prompt.exp: When the board can't spawn for attach,
11337         restore GDBFLAGS before returning.
11338
11339 2015-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
11340
11341         * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
11342         is_amd64_regs_target and is_x86_like_target.
11343
11344 2015-01-11  Doug Evans  <xdje42@gmail.com>
11345
11346         * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
11347         is given without an explicit form.
11348         * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
11349         attributes.
11350         * gdb.dwarf/corrupt.exp: Ditto.
11351         * gdb.dwarf2/enum-type.exp: Ditto.
11352         * gdb.trace/entry-values.exp: Ditto.
11353         * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
11354
11355 2015-01-11  Doug Evans  <xdje42@gmail.com>
11356
11357         PR gdb/15830
11358         * gdb.base/maint.exp: Remove references to "maint demangle".
11359         * gdb.cp/demangle.exp: Update.  "maint demangle" -> "demangle".
11360         Add tests for explicitly specifying language to demangle.
11361         * gdb.dlang/demangle.exp: Ditto.
11362
11363 2015-01-09  Pedro Alves  <palves@redhat.com>
11364
11365         * gdb.threads/non-stop-fair-events.c: New file.
11366         * gdb.threads/non-stop-fair-events.exp: New file.
11367
11368 2015-01-09  Pedro Alves  <palves@redhat.com>
11369
11370         * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
11371         the global scope.  Set a breakpoint after all threads are started
11372         rather than stepping over two source lines.  Expect the prompt.
11373         * gdb.base/watch_thread_num.c (threads_started_barrier): New
11374         global.
11375         (NUM): Now 15.
11376         (main): Use threads_started_barrier to wait for all threads to
11377         start.  Main thread no longer calls thread_function.  Exit after
11378         180 seconds.
11379         (loop): New function.
11380         (thread_function): Wait on threads_started_barrier barrier.  Call
11381         'loop' at each iteration.
11382         * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
11383         threads have started, instead of hardcoding number of "next"
11384         steps.  Use an access watchpoint instead of a write watchpoint.
11385
11386 2015-01-09  Pedro Alves  <palves@redhat.com>
11387
11388         * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
11389         (thread_func): Wait on barrier.
11390         (main): Wait for all threads to start before stopping GDB.
11391         * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11392         global.
11393         (thread1_func, thread2_func): Wait on barrier.
11394         (main): Wait for all threads to start before stopping GDB.
11395         * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11396         New global.
11397         (thread1_func, thread2_func): Wait on barrier.
11398         (main): Wait for all threads to start before stopping GDB.
11399
11400 2015-01-09  Pedro Alves  <palves@redhat.com>
11401
11402         * gdb.threads/attach-many-short-lived-threads.c: New file.
11403         * gdb.threads/attach-many-short-lived-threads.exp: New file.
11404
11405 2014-01-09  Pedro Alves  <palves@redhat.com>
11406
11407         * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11408         instead of to thread 2.
11409         * gdb.threads/signal-command-multiple-signals-pending.c (main):
11410         Add barrier around each pthread_create call instead of around all
11411         calls.
11412         * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11413         Set a break on thread_function and have the child threads hit it
11414         one at at a time.
11415
11416 2015-01-09  Pedro Alves  <palves@redhat.com>
11417
11418         * lib/gdb.exp (can_spawn_for_attach): New procedure.
11419         (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11420         false.
11421         * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11422         checking whether the target board is remote.
11423         * gdb.multi/multi-attach.exp: Likewise.
11424         * gdb.python/py-sync-interp.exp: Likewise.
11425         * gdb.server/ext-attach.exp: Likewise.
11426         * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11427         tests that need to attach, instead of checking whether the target
11428         board is remote at the top of the file.
11429
11430 2015-01-08  Yao Qi  <yao@codesourcery.com>
11431
11432         * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11433
11434 2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
11435
11436         Fix testcase compilation.
11437         * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11438
11439 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
11440
11441         * gdb.python/py-type.exp: Add a couple test about empty
11442         array creation, and negative-length array creation.
11443
11444 2015-01-02  Doug Evans  <xdje42@gmail.com>
11445
11446         * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11447
11448 2015-01-02  Doug Evans  <dje@google.com>
11449
11450         * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11451
11452 2014-12-29  Yao Qi  <yao@codesourcery.com>
11453
11454         * gdb.trace/entry-values.exp: Update comments.  Rename variable
11455         bar_call_foo to returned_from_foo.
11456
11457 2014-12-20  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
11458
11459         PR gdb/17394
11460         * gdb.linespec/break-asm-file.c: New file.
11461         * gdb.linespec/break-asm-file.exp: New file.
11462         * gdb.linespec/break-asm-file0.s: New file.
11463         * gdb.linespec/break-asm-file1.s: New file.
11464
11465 2014-12-18  Nigel Stephens  <nigel@mips.com>
11466             Maciej W. Rozycki  <macro@codesourcery.com>
11467
11468         * gdb.base/float.exp: Handle the new output from "info float" on
11469         MIPS targets.
11470
11471 2014-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
11472
11473         Fix MinGW compilation.
11474         * gdb.compile/compile-ops.exp: Update untested message if
11475         !skip_compile_feature_tests.
11476         * gdb.compile/compile-setjmp.exp: Likewise.
11477         * gdb.compile/compile-tls.exp: Likewise.
11478         * gdb.compile/compile.exp: Likewise.
11479         * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
11480         supported on this host".
11481
11482 2014-12-16  Doug Evans  <xdje42@gmail.com>
11483
11484         * boards/stabs.exp: New file.
11485
11486 2014-12-16  Andreas Arnez  <arnez@vnet.linux.ibm.com>
11487
11488         * gdb.base/completion.exp: Adjust to format changes of "maint
11489         print user-registers".
11490
11491 2014-12-16  Catalin Udma  <catalin.udma@freescale.com>
11492
11493         PR server/17457
11494         * gdb.arch/aarch64-fp.c: New file.
11495         * gdb.arch/aarch64-fp.exp: New file.
11496
11497 2014-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
11498
11499         Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11500         r210637, r210913, r211666, r215400, r215817).
11501
11502         2014-05-08  Richard Sandiford  <rdsandiford@googlemail.com>
11503                 * dg-extract-results.py: New file.
11504                 * dg-extract-results.sh: Use it if the environment seems
11505                 suitable.
11506
11507         2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
11508
11509                 * dg-extract-results.py (parse_run): Handle warnings that
11510                 are printed before a test harness is run.
11511
11512         2014-05-25  Richard Sandiford  <rdsandiford@googlemail.com>
11513
11514                 * dg-extract-results.py (Named): Remove __cmp__ method.
11515                 (output_variation): Use a key to sort variation.harnesses.
11516
11517         2014-06-14  Richard Sandiford  <rdsandiford@googlemail.com>
11518
11519                 * dg-extract-results.py: For Python 3, force sys.stdout to
11520                 handle surrogate escape sequences.
11521                 (safe_open): New function.
11522                 (output_segment, main): Use it.
11523
11524         2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>
11525
11526                 * dg-extract-results.py (Prog.result_re): Include options
11527                 in test name.
11528
11529         2014-10-02  Segher Boessenkool  <segher@kernel.crashing.org>
11530
11531                 * dg-extract-results.py (output_variation): Always sort if
11532                 do_sum.
11533
11534 2014-12-15  Simon Marchi  <simon.marchi@ericsson.com>
11535
11536         * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11537         as long as we get pagination notifications.
11538
11539 2014-12-15  Jason Merrill  <jason@redhat.com>
11540
11541         * Makefile.in (check-gdb.%): Restore.
11542         * README: Mention it.
11543
11544 2014-12-13  Joel Brobecker  <brobecker@adacore.com>
11545
11546         * gdb.ada/str_uninit: New testcase.
11547
11548 2014-12-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
11549
11550         PR symtab/17642
11551         * gdb.base/vla-stub-define.c: New file.
11552         * gdb.base/vla-stub.c: New file.
11553         * gdb.base/vla-stub.exp: New file.
11554
11555 2014-12-12  Phil Muldoon  <pmuldoon@redhat.com>
11556             Jan Kratochvil  <jan.kratochvil@redhat.com>
11557             Tom Tromey  <tromey@redhat.com>
11558
11559         * configure.ac: Add gdb.compile/.
11560         * configure: Regenerate.
11561         * gdb.compile/Makefile.in: New file.
11562         * gdb.compile/compile-ops.exp: New file.
11563         * gdb.compile/compile-ops.c: New file.
11564         * gdb.compile/compile-tls.c: New file.
11565         * gdb.compile/compile-tls.exp: New file.
11566         * gdb.compile/compile-constvar.S: New file.
11567         * gdb.compile/compile-constvar.c: New file.
11568         * gdb.compile/compile-mod.c: New file.
11569         * gdb.compile/compile-nodebug.c: New file.
11570         * gdb.compile/compile-setjmp-mod.c: New file.
11571         * gdb.compile/compile-setjmp.c: New file.
11572         * gdb.compile/compile-setjmp.exp: New file.
11573         * gdb.compile/compile-shlib.c: New file.
11574         * gdb.compile/compile.c: New file.
11575         * gdb.compile/compile.exp: New file.
11576         * lib/gdb.exp (skip_compile_feature_tests): New proc.
11577
11578 2014-12-12  Tom Tromey  <tromey@redhat.com>
11579
11580         * lib/dwarf.exp (_location): Ignore blank lines.  Allow comments.
11581         Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11582
11583 2014-12-12  Doug Evans  <dje@google.com>
11584
11585         * lib/gdb-python.exp (get_python_valueof): New function.
11586         * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11587
11588 2014-12-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11589
11590         * gdb.base/completion.exp: Add test for completion of "info
11591         registers ".
11592
11593 2014-12-12  Maciej W. Rozycki  <macro@codesourcery.com>
11594
11595         * gdb.base/func-ptrs.c: New file.
11596         * gdb.base/func-ptrs.exp: New file.
11597
11598 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11599
11600         PR breakpoints/17012
11601         * gdb.base/dprintf-detach.c: New file.
11602         * gdb.base/dprintf-detach.exp: New file.
11603
11604 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11605
11606         * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11607         * lib/gdb.exp (target_is_gdbserver): New procedure.
11608
11609 2014-12-08  Doug Evans  <dje@google.com>
11610
11611         * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11612
11613 2014-12-05  Yao Qi  <yao@codesourcery.com>
11614
11615         * gdb.guile/scm-error.exp: Remove the third argument to
11616         gdb_remote_download.
11617         * gdb.guile/scm-frame-args.exp: Likewise.
11618         * gdb.guile/scm-section-script.exp: Likewise.
11619
11620 2014-12-05  Yao Qi  <yao@codesourcery.com>
11621
11622         * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11623
11624 2014-12-04  Doug Evans  <dje@google.com>
11625
11626         * gdb.python/py-objfile.exp: Add tests for
11627         objfile.add_separate_debug_file.
11628
11629 2014-12-04  Doug Evans  <dje@google.com>
11630
11631         * lib/gdb.exp (get_build_id): New function.
11632         (build_id_debug_filename_get): Rewrite to use it.
11633         * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11634
11635 2014-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
11636
11637         * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11638         `method(long)', not just 0x0.
11639         * gdb.cp/nsalias.exp: Align code labels to 4.
11640         * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11641         * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11642         * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11643         * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11644         (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11645         * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11646
11647 2014-12-02  Doug Evans  <dje@google.com>
11648
11649         PR symtab/17602
11650         * gdb.cp/anon-ns.cc: Move guts of this file to ...
11651         * gdb.cp/anon-ns2.cc: ... here.  New file.
11652         * gdb.cp/anon-ns.exp: Update.
11653
11654 2014-12-02  Nick Bull  <nicholaspbull@gmail.com>
11655
11656         * gdb.python/py-events.py (inferior_call_handler): New.
11657         (register_changed_handler, memory_changed_handler): New.
11658         (test_events.invoke): Register new handlers.
11659         * gdb.python/py-events.exp: Add tests for inferior call,
11660         memory_changed and register_changed events.
11661
11662 2014-12-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11663
11664         * gdb.base/execl-update-breakpoints.exp: Specify the link address
11665         with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
11666         if the linker doesn't understand this.
11667
11668 2014-12-01  Simon Marchi  <simon.marchi@ericsson.com>
11669
11670         * gdb.python/python.exp: Change expected reply to help().
11671
11672 2014-12-01  Yao Qi  <yao@codesourcery.com>
11673
11674         * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
11675         AC_CONFIG_SUBDIRS(gdb.gdbtk).
11676         * configure: Re-generated.
11677
11678 2014-11-28  Siva Chandra Reddy  <sivachandra@google.com>
11679
11680         * gdb.cp/chained-calls.cc: New file.
11681         * gdb.cp/chained-calls.exp: New file.
11682         * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11683
11684 2014-11-28  Simon Marchi  <simon.marchi@ericsson.com>
11685
11686         * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11687         * gdb.dwarf2/symtab-producer.exp: Same.
11688         * gdb.gdb/python-interrupts.exp: Same.
11689         * gdb.gdb/python-selftest.exp: Same.
11690         * gdb.python/py-linetable.exp: Same.
11691         * gdb.python/py-type.exp: Same.
11692         * gdb.python/py-value-cc.exp: Same.
11693         * gdb.python/py-value.exp: Same.
11694
11695 2014-11-28  Yao Qi  <yao@codesourcery.com>
11696
11697         * gdb.base/break-probes.exp: Match library name prefixed with
11698         sysroot.
11699
11700 2014-11-27  Simon Marchi  <simon.marchi@ericsson.com>
11701
11702         * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11703         test expected output.  Add parentheses for the call to print.
11704         Remove L suffix from integers.
11705
11706 2014-11-26  Doug Evans  <dje@google.com>
11707
11708         * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11709
11710 2014-11-22  Yao Qi  <yao@codesourcery.com>
11711
11712         * gdb.trace/entry-values.c: Remove asms.
11713         (foo): Add foo_label.
11714         (bar): Add bar_label.
11715         * gdb.trace/entry-values.exp: Remove code computing  foo's
11716         length and bar's length.
11717         (Dwarf::assemble): Invoke function_range for bar and use
11718         MACRO_AT_func for foo.
11719
11720 2014-11-22  Yao Qi  <yao@codesourcery.com>
11721
11722         * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11723         and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
11724         Use .Lgcc43_procstart instead of gcc43.
11725
11726 2014-11-21  Joel Brobecker  <brobecker@adacore.com>
11727
11728         * gdb.ada/n_arr_bound: New testcase.
11729
11730 2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
11731
11732         PR breakpoints/10737
11733         * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11734         test_catch_syscall_multi_arch.
11735         (test_catch_syscall_multi_arch): New function.
11736
11737 2014-11-20  Doug Evans  <xdje42@gmail.com>
11738
11739         * gdb.base/maint.exp: Update expected output.
11740
11741 2014-11-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11742
11743         * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11744         4-byte instruction on S390.
11745
11746 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
11747
11748         * gdb.ada/arr_arr: New testcase.
11749
11750 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
11751
11752         * gdb.ada/pkd_arr_elem: New Testcase.
11753
11754 2014-11-18  Luis Machado  <lgustavo@codesourcery.com>
11755
11756         * gdb.reverse/break-precsave: Expect completion message for
11757         core file reads.
11758         * gdb.reverse/consecutive-precsave.exp: Likewise.
11759         * gdb.reverse/finish-precsave.exp: Likewise.
11760         * gdb.reverse/i386-precsave.exp: Likewise.
11761         * gdb.reverse/machinestate-precsave.exp: Likewise.
11762         * gdb.reverse/sigall-precsave.exp: Likewise.
11763         * gdb.reverse/solib-precsave.exp: Likewise.
11764         * gdb.reverse/step-precsave.exp: Likewise.
11765         * gdb.reverse/until-precsave.exp: Likewise.
11766         * gdb.reverse/watch-precsave.exp: Likewise.
11767
11768 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11769
11770         * gdb.base/bp-permanent.c: Include unistd.h.
11771         * gdb.python/py-framefilter-mi.c (main): Add return type.
11772         * gdb.python/py-framefilter.c (main): Likewise.
11773         * gdb.trace/actions-changed.c (main): Likewise.
11774
11775 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11776
11777         * gdb.mi/until.c: Add eye-catchers.
11778         * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11779         line numbers.
11780
11781 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11782
11783         * gdb.base/condbreak.exp: Drop references to removed non-prototype
11784         function header variants in break1.c.
11785         * gdb.base/ena-dis-br.exp: Likewise.
11786         * gdb.base/hbreak2.exp: Likewise.
11787         * gdb.reverse/until-precsave.exp: Drop references to removed
11788         non-prototype function header variants in ur1.c.
11789         * gdb.reverse/until-reverse.exp: Likewise.
11790
11791 2014-11-17  Petr Machata  <pmachata@redhat.com>
11792
11793         * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
11794         ${_cu_offset_size} bytes abbrev offset.
11795
11796 2014-11-15  Doug Evans  <xdje42@gmail.com>
11797
11798         PR symtab/17559
11799         * gdb.base/line-symtabs.exp: New file.
11800         * gdb.base/line-symtabs.c: New file.
11801         * gdb.base/line-symtabs.h: New file.
11802
11803 2014-11-14  Yao Qi  <yao@codesourcery.com>
11804
11805         * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11806         (func): Add label func_label.
11807         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11808         Replace low_pc and high_pc with MACRO_AT_range.
11809         Replace name, low_pc and high_pc with MACRO_AT_func.
11810
11811 2014-11-14  Yao Qi  <yao@codesourcery.com>
11812
11813         * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
11814         Replace name, low_pc and high_pc with MACRO_AT_func.
11815
11816 2014-11-14  Yao Qi  <yao@codesourcery.com>
11817
11818         * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
11819         produce debug information.
11820         * gdb.dwarf2/implptr-optimized-out.S: Removed.
11821
11822 2014-11-14  Yao Qi  <yao@codesourcery.com>
11823
11824         * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11825         object and get function length.
11826         (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11827         with MACRO_AT_func.
11828         (top-level): Replace gdb_compile and clean_restart with
11829         prepare_for_testing.
11830         * gdb.dwarf2/main.c (main): Add label main_label.
11831
11832 2014-11-14  Yao Qi  <yao@codesourcery.com>
11833
11834         * lib/dwarf.exp (function_range): New procedure.
11835         (Dwarf::_handle_macro_at_func): New procedure.
11836         (Dwarf::_handle_macro_at_range): New procedure.
11837         (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11838
11839 2014-11-14  Yao Qi  <yao@codesourcery.com>
11840
11841         * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11842         (_handle_attribute): New procedure.
11843
11844 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11845
11846         * gdb.ada/cond_lang/foo.c (callme): Add return type.
11847         * gdb.base/call-sc.c (zed): Likewise.
11848         * gdb.base/checkpoint.c (main): Likewise.
11849         * gdb.base/dump.c (main): Likewise.
11850         * gdb.base/gcore.c (main): Likewise.
11851         * gdb.base/huge.c (main): Likewise.
11852         * gdb.base/multi-forks.c (main): Likewise.
11853         * gdb.base/pr10179-a.c (main): Likewise.
11854         * gdb.base/savedregs.c (main): Likewise.
11855         * gdb.base/sigaltstack.c (main): Likewise.
11856         * gdb.base/siginfo.c (main): Likewise.
11857         * gdb.base/structs.c (zed): Likewise.
11858         * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11859         * gdb.mi/mi-syn-frame.c (main): Likewise.
11860         * gdb.mi/until.c (foo, main): Likewise.
11861         * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11862         * gdb.base/solib-weak.c (foo): Declare.
11863         * gdb.base/attach-twice.c: Include stdio.h.
11864         * gdb.base/weaklib1.c: Likewise.
11865         * gdb.base/weaklib2.c: Likewise.
11866         * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11867         * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11868         unistd.h.
11869         * gdb.base/attach-pie-misread.c: Include stdlib.h.
11870         * gdb.mi/mi-exit-code.c: Likewise.
11871         * gdb.base/break-interp-lib.c: Include string.h.
11872         * gdb.base/coremaker.c: Likewise.
11873         * gdb.base/testenv.c: Likewise.
11874         * gdb.python/py-finish-breakpoint.c: Likewise.
11875         * gdb.base/inferior-died.c: Include sys/wait.h.
11876         * gdb.base/fileio.c: Include time.h.
11877         * gdb.base/async-shell.c: Include unistd.h.
11878         * gdb.base/dprintf-non-stop.c: Likewise.
11879         * gdb.base/info-os.c: Likewise.
11880         * gdb.mi/mi-console.c: Likewise.
11881         * gdb.mi/watch-nonstop.c: Likewise.
11882         * gdb.python/py-events.c: Likewise.
11883         * gdb.base/async.c (baz): Move up before its invocation.
11884         * gdb.base/code_elim2.c (my_global_func): Likewise.
11885         * gdb.base/skip-solib-lib.c (multiply): Likewise.
11886         * gdb.base/advance.c (func2): Likewise.
11887
11888 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11889
11890         * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11891         variant.
11892         * gdb.base/annota3.c: Likewise.
11893         * gdb.base/async.c: Likewise.
11894         * gdb.base/average.c: Likewise.
11895         * gdb.base/call-ar-st.c: Likewise.
11896         * gdb.base/call-rt-st.c: Likewise.
11897         * gdb.base/call-sc.c: Likewise.
11898         * gdb.base/call-strs.c: Likewise.
11899         * gdb.base/ending-run.c: Likewise.
11900         * gdb.base/execd-prog.c: Likewise.
11901         * gdb.base/exprs.c: Likewise.
11902         * gdb.base/foll-exec.c: Likewise.
11903         * gdb.base/foll-fork.c: Likewise.
11904         * gdb.base/foll-vfork.c: Likewise.
11905         * gdb.base/funcargs.c: Likewise.
11906         * gdb.base/gcore.c: Likewise.
11907         * gdb.base/jump.c: Likewise.
11908         * gdb.base/langs0.c: Likewise.
11909         * gdb.base/langs1.c: Likewise.
11910         * gdb.base/langs2.c: Likewise.
11911         * gdb.base/mips_pro.c: Likewise.
11912         * gdb.base/nodebug.c: Likewise.
11913         * gdb.base/opaque0.c: Likewise.
11914         * gdb.base/opaque1.c: Likewise.
11915         * gdb.base/recurse.c: Likewise.
11916         * gdb.base/run.c: Likewise.
11917         * gdb.base/scope0.c: Likewise.
11918         * gdb.base/scope1.c: Likewise.
11919         * gdb.base/setshow.c: Likewise.
11920         * gdb.base/setvar.c: Likewise.
11921         * gdb.base/shmain.c: Likewise.
11922         * gdb.base/shr1.c: Likewise.
11923         * gdb.base/shr2.c: Likewise.
11924         * gdb.base/sigall.c: Likewise.
11925         * gdb.base/signals.c: Likewise.
11926         * gdb.base/so-indr-cl.c: Likewise.
11927         * gdb.base/solib2.c: Likewise.
11928         * gdb.base/structs.c: Likewise.
11929         * gdb.base/sum.c: Likewise.
11930         * gdb.base/vforked-prog.c: Likewise.
11931         * gdb.base/watchpoint.c: Likewise.
11932         * gdb.reverse/shr2.c: Likewise.
11933         * gdb.reverse/until-reverse.c: Likewise.
11934         * gdb.reverse/ur1.c: Likewise.
11935         * gdb.reverse/watch-reverse.c: Likewise.
11936
11937 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11938
11939         * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
11940         variant.
11941         * gdb.base/sepdebug.exp: Drop references to removed code.
11942
11943 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11944
11945         * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
11946         variant.  Preserve original line numbering.
11947         * gdb.base/list1.c: Likewise.
11948
11949 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11950
11951         * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11952         variant.
11953         * gdb.base/break1.c: Likewise.
11954         * gdb.base/break.exp: Drop references to removed code.
11955
11956 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11957
11958         * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
11959         variant.
11960
11961 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11962
11963         * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
11964
11965 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11966
11967         * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
11968         logic into perform_all_tests() and invoke it with and without
11969         function header prototypes.
11970         (do_function_calls): Remove conditional XFAIL for PR 5318.
11971         (rerun_and_prepare): Remove duplicate code.
11972         (perform_all_tests): New.  Main logic moved here.
11973
11974 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11975
11976         * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
11977         code guarded by #ifdef NO_PROTOTYPES.
11978         (t_double_many_args): Likewise.
11979         (DEF_FUNC_MANY_ARGS_1): Likewise.
11980         (DEF_FUNC_VALUES_1): Likewise.
11981         (t_structs_ldc): Renamed from t_structs_fc in conditional code
11982         guarded by #ifdef PROTOTYPES.
11983
11984 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11985
11986         * gdb.mi/mi-console.c: Add eye-catcher.
11987         * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
11988         instead of literal line number.
11989
11990 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11991
11992         * gdb.base/shr2.c: Add eye-catcher.
11993         * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
11994         line number.
11995
11996 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11997
11998         * gdb.base/jump.c: Add eye-catchers.
11999         * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
12000         numbers.
12001
12002 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12003
12004         * gdb.base/execd-prog.c: Add eye-catchers.
12005         * gdb.base/foll-exec.c: Likewise.
12006         * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
12007         line numbers.
12008
12009 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12010
12011         * gdb.base/ending-run.c: Add eye-catchers.
12012         * gdb.base/ending-run.exp: Refer to eye-catchers instead of
12013         literal line numbers.
12014
12015 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12016
12017         * gdb.base/call-rt-st.c: Add eye-catchers.
12018         * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
12019         literal line numbers.
12020
12021 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12022
12023         * gdb.base/call-ar-st.c: Add eye-catchers.
12024         * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
12025         literal line numbers.
12026
12027 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12028
12029         * gdb.base/average.c: Add eye-catchers.
12030         * gdb.base/sum.c: Likewise.
12031         * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
12032         regexps dynamically.
12033
12034 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12035
12036         * gdb.base/solib1.c: Add eye-catchers.
12037         * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
12038         literal line numbers.
12039
12040 2014-11-12  Pedro Alves  <palves@redhat.com>
12041
12042         * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
12043         leader has exited.
12044
12045 2014-11-12  Pedro Alves  <palves@redhat.com>
12046
12047         * gdb.arch/i386-bp_permanent.c: New file.
12048         * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
12049         (srcfile): Set to i386-bp_permanent.c.
12050         (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
12051         that stepi does not execute the 'leave' instruction, instead of
12052         testing it does execute.
12053         * gdb.base/bp-permanent.c: New file.
12054         * gdb.base/bp-permanent.exp: New file.
12055
12056 2014-11-10  Doug Evans  <xdje42@gmail.com>
12057
12058         PR symtab/17564
12059         * gdb.base/symtab-search-order.exp: New file.
12060         * gdb.base/symtab-search-order.c: New file.
12061         * gdb.base/symtab-search-order-1.c: New file.
12062         * gdb.base/symtab-search-order-shlib-1.c: New file.
12063
12064 2014-11-07  Pedro Alves  <palves@redhat.com>
12065
12066         PR gdb/17511
12067         * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
12068         i?86-*-linux*.
12069
12070 2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
12071
12072         PR c++/17494
12073         * gdb.cp/pr17494.cc: New file.
12074         * gdb.cp/pr17494.exp: New file.
12075
12076 2014-11-02  Yao Qi  <yao@codesourcery.com>
12077
12078         * gdb.python/python.exp: Get working directory and match the
12079         output of "set extended-prompt \\w " with it.
12080
12081 2014-10-30  Doug Evans  <dje@google.com>
12082
12083         * gdb.python/py-objfile.exp: Add tests for setting random attributes
12084         in objfiles.
12085         * gdb.python/py-progspace.exp: Add tests for setting random attributes
12086         in progspaces.
12087
12088 2014-10-30  Janis Johnson  <janisjo@codesourcery.com>
12089
12090         * gdb.base/fullpath-expand.exp: Skip for a remote host.
12091         * gdb.base/realname-expand.exp: Likewise.
12092         * gdb.linespec/macro-relative.exp: Likewise.
12093
12094 2014-10-29  Pedro Alves  <palves@redhat.com>
12095
12096         PR gdb/17408
12097         * gdb.threads/schedlock.c (some_function): New function.
12098         (call_function): New global.
12099         (MAYBE_CALL_SOME_FUNCTION): New macro.
12100         (thread_function): Call it.
12101         * gdb.threads/schedlock.exp (get_args): Add description parameter,
12102         and use it instead of a global counter.  Adjust all callers.
12103         (get_current_thread): Use "find current thread" for test message
12104         here rather than having all callers pass down the same string.
12105         (goto_loop): New procedure, factored out from ...
12106         (my_continue): ... this.
12107         (step_ten_loops): Change parameter from test message to command to
12108         use.  Adjust.
12109         (list_count): Delete global.
12110         (check_result): New procedure, factored out from duplicate top
12111         level code.
12112         (continue tests): Wrap in with_test_prefix.
12113         (test_step): New procedure, factored out from duplicate top level
12114         code.
12115         (top level): Test "step" in combination with all scheduler-locking
12116         modes.  Test "next" in combination with all scheduler-locking
12117         modes, and in combination with stepping over a function call or
12118         not.
12119         * gdb.threads/next-bp-other-thread.c: New file.
12120         * gdb.threads/next-bp-other-thread.exp: New file.
12121
12122 2014-10-29  Pedro Alves  <palves@redhat.com>
12123
12124         PR python/17372
12125         * gdb.python/python.exp: Test a multi-line command that spawns
12126         interactive Python.
12127         * gdb.base/multi-line-starts-subshell.exp: New file.
12128
12129 2014-10-29  Yao Qi  <yao@codesourcery.com>
12130
12131         * gdb.base/fileio.exp: Make directories on host.
12132
12133 2014-10-29  Yao Qi  <yao@codesourcery.com>
12134
12135         * gdb.base/fileio.c (test_write): Close the file.
12136
12137 2014-10-28  Pedro Alves  <palves@redhat.com>
12138
12139         PR gdb/12623
12140         * gdb.base/sigstep.c (no_handler): New global.
12141         (main): If 'no_handler is true, set the signal handlers to
12142         SIG_IGN.
12143         * gdb.base/sigstep.exp (breakpoint_over_handler): Add
12144         with_sw_watch and no_handler parameters.  Handle them.
12145         (top level) <stepping over handler when stopped at a breakpoint
12146         test>: Add a test axis for testing with a software watchpoint, and
12147         another for testing with the signal handler set to SIG_IGN.
12148         * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
12149         * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
12150
12151 2014-10-28  Pedro Alves  <palves@redhat.com>
12152
12153         PR gdb/17511
12154         * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
12155         * gdb.base/sigstep.exp (other_handler_location): New global.
12156         (advance): Support stepping into the signal handler, and running
12157         commands while in the handler.
12158         (in_handler_map): New global.
12159         (top level): In the advance test, add combinations for getting
12160         into the handler with stepping commands, and for running commands
12161         in the handler.  Add comment descripting the advancei tests.
12162
12163 2014-10-28  Pedro Alves  <palves@redhat.com>
12164
12165         * gdb.base/sigstep.exp: Use build_executable instead of
12166         prepare_for_testing.
12167         (top level): Move code that starts GDB, runs to main and creates a
12168         display to ...
12169         (restart): ... this new procedure.
12170         (top level): Move backtrace from signal handler test to ...
12171         (validate_backtrace): ... this new procedure.
12172         (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
12173         with_test_prefix.  Always restart GDB.
12174         (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
12175         with_test_prefix.  Always restart GDB.  No need to delete
12176         breakpoints after the test.
12177         (test_skip_handler): Remove prefix parameter.
12178         (skip_over_handler, breakpoint_to_handler)
12179         (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
12180         parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
12181         restart GDB.  No need to delete breakpoints after the test.
12182         (top level): Use foreach to call the test procedures with
12183         different commands.
12184
12185 2014-10-28  Pedro Alves  <palves@redhat.com>
12186
12187         * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
12188         instead of GNATS numbers.
12189         * gdb.base/sigbpt.exp: Likewise.
12190         * gdb.base/siginfo.exp: Likewise.
12191         * gdb.base/sigstep.exp: Likewise.
12192
12193 2014-10-27  Pedro Alves  <palves@redhat.com>
12194
12195         * gdb.base/sigstep.c (dummy): New global.
12196         (main): Issue a couple writes to the new global.
12197         * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
12198         procedures.
12199         (skip_over_handler): Use test_skip_handler.
12200         (top level): Call skip_over_handler for stepi and nexti too.
12201         (breakpoint_over_handler): Use test_skip_handler.
12202         (top level): Call breakpoint_over_handler for stepi and nexti too.
12203
12204 2014-10-27  Yao Qi  <yao@codesourcery.com>
12205
12206         * gdb.trace/tfile.c (adjust_function_address)
12207         [__powerpc64__ && _CALL_ELF != 2]: Get function address from
12208         function descriptor.
12209
12210 2014-10-24  Don Breazeal  <donb@codesourcery.com>
12211
12212         * gdb.base/foll-fork.exp (test_follow_fork,
12213         catch_fork_child_follow): Check for updated fork messages emitted
12214         from infrun.c.
12215         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
12216         vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
12217         vfork_and_exec_child_follow_through_step): Check for updated vfork
12218         messages emitted from infrun.c.
12219
12220 2014-10-24  Pedro Alves  <palves@redhat.com>
12221
12222         * gdb.base/corefile.exp: Remove references to ultrix.
12223         * gdb.base/interrupt.exp: Likewise.
12224         * gdb.base/whatis.exp: Likewise.
12225         * gdb.gdb/selftest.exp: Likewise.
12226         * gdb.threads/manythreads.exp: Likewise.
12227         * gdb.threads/print-threads.exp: Likewise.
12228         * gdb.threads/pthreads.exp:: Likewise.
12229         * gdb.threads/schedlock.exp: Likewise.
12230
12231 2014-10-24  Siva Chandra Reddy  <sivachandra@google.com>
12232
12233         * gdb.cp/non-trivial-retval.cc: Add a test case.
12234         * gdb.cp/non-trivial-retval.exp: Add a test.
12235
12236 2014-10-20  Yao Qi  <yao@codesourcery.com>
12237
12238         * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
12239         * gdb.python/py-objfile-script-gdb.py: New file.
12240         * gdb.python/py-objfile-script.exp: Update reference to
12241         py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
12242         of remote_download.  Remove the dest file.
12243
12244 2014-10-20  Yao Qi  <yao@codesourcery.com>
12245
12246         * gdb.base/checkpoint.exp: Don't remove file copied on host.
12247         * gdb.base/step-line.exp: Likewise.
12248         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12249         * gdb.dwarf2/dw2-basic.exp: Likewise.
12250         * gdb.dwarf2/dw2-compressed.exp: Likewise.
12251         * gdb.dwarf2/dw2-filename.exp: Likewise.
12252         * gdb.dwarf2/dw2-intercu.exp: Likewise.
12253         * gdb.dwarf2/dw2-intermix.exp: Likewise.
12254         * gdb.dwarf2/dw2-producer.exp: Likewise.
12255         * gdb.dwarf2/mac-fileno.exp: Likewise.
12256         * gdb.python/py-frame-args.exp: Likewise.
12257         * gdb.python/py-framefilter.exp: Likewise.
12258         * gdb.python/py-mi.exp: Likewise.
12259         * gdb.python/py-objfile-script.exp: Likewise
12260         * gdb.python/py-pp-integral.exp: Likewise.
12261         * gdb.python/py-pp-re-notag.exp: Likewise.
12262         * gdb.python/py-prettyprint.exp: Likewise.
12263         * gdb.python/py-section-script.exp: Likewise.
12264         * gdb.python/py-typeprint.exp: Likewise.
12265         * gdb.python/py-xmethods.exp: Likewise.
12266         * gdb.stabs/weird.exp: Likewise.
12267         * gdb.xml/tdesc-regs.exp: Likewise.
12268
12269 2014-10-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
12270
12271         * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
12272         (out_cu): Use addr_len for the size of addresses.
12273         (out_line): Likewise.  Size DW_LNE_set_address instruction
12274         according to addr_len.
12275         * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
12276         (FUNC): Add START_INSNS to definition.
12277
12278 2014-10-18  Yao Qi  <yao@codesourcery.com>
12279
12280         * gdb.base/argv0-symlink.exp: Check argv[0] value if
12281         gdb_has_argv0 return true.
12282         * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
12283         check [target_info exists noargs], check [gdb_has_argv0]
12284         instead.
12285         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12286         * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
12287         procedures.
12288
12289 2014-10-17  Doug Evans  <dje@google.com>
12290
12291         * gdb.python/py-events.exp: Update expected output for clear_objfiles
12292         event.
12293         * gdb.python/py-events.py: Add clear_objfiles event.
12294
12295 2014-10-17  Doug Evans  <dje@google.com>
12296
12297         * gdb.python/py-objfile.exp: Test progspace attribute.
12298
12299 2014-10-17  Luis Machado  <lgustavo@codesourcery.com>
12300
12301         * gdb.guile/scm-breakpoint.exp: Do not assume any
12302         directory separators when matching source file paths.
12303         * gdb.python/py-breakpoint.exp: Likewise.
12304         * gdb.reverse/break-precsave.exp: Likewise.
12305         * gdb.reverse/break-reverse.exp: Likewise.
12306         * gdb.reverse/consecutive-precsave.exp: Likewise.
12307         * gdb.reverse/finish-precsave.exp: Likewise.
12308         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
12309         * gdb.reverse/finish-reverse.exp: Likewise.
12310         * gdb.reverse/i386-precsave.exp: Likewise.
12311         * gdb.reverse/i387-env-reverse.exp: Likewise.
12312         * gdb.reverse/i387-stack-reverse.exp: Likewise.
12313         * gdb.reverse/machinestate-precsave.exp: Likewise.
12314         * gdb.reverse/machinestate.exp: Likewise.
12315         * gdb.reverse/sigall-precsave.exp: Likewise.
12316         * gdb.reverse/solib-precsave.exp: Likewise.
12317         * gdb.reverse/step-precsave.exp: Likewise.
12318         * gdb.reverse/until-precsave.exp: Likewise.
12319         * gdb.reverse/watch-precsave.exp: Likewise.
12320         * gdb.reverse/watch-reverse.exp: Likewise.
12321
12322 2014-10-17  Yao Qi  <yao@codesourcery.com>
12323
12324         * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
12325         * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
12326
12327 2014-10-17  Pedro Alves  <palves@redhat.com>
12328
12329         PR gdb/17471
12330         * gdb.base/bg-execution-repeat.c: New file.
12331         * gdb.base/bg-execution-repeat.exp: New file.
12332
12333 2014-10-17  Pedro Alves  <palves@redhat.com>
12334
12335         PR gdb/17300
12336         * gdb.base/continue-all-already-running.c: New file.
12337         * gdb.base/continue-all-already-running.exp: New file.
12338
12339 2014-10-17  Pedro Alves  <palves@redhat.com>
12340
12341         PR gdb/17472
12342         * gdb.base/annota-input-while-running.c: New file.
12343         * gdb.base/annota-input-while-running.exp: New file.
12344
12345 2014-10-17  Pedro Alves  <palves@redhat.com>
12346
12347         * gdb.base/callfuncs.exp: emove references to osf.
12348         * gdb.base/sigall.exp: Likewise.
12349         * gdb.gdb/selftest.exp: Likewise.
12350         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12351         * gdb.mi/non-stop.c: Likewise.
12352         * gdb.mi/pthreads.c: Likewise.
12353         * gdb.reverse/sigall-precsave.exp: Likewise.
12354         * gdb.reverse/sigall-reverse.exp: Likewise.
12355         * gdb.threads/pthreads.c: Likewise.
12356         * gdb.threads/pthreads.exp: Likewise.
12357
12358 2014-10-17  Yao Qi  <yao@codesourcery.com>
12359
12360         * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
12361         check 'target_info exists noargs'.
12362         (test_command_prompt_position): Likewise.
12363         (progvar_simple_if_test): Don't check 'target_info exists noargs'.
12364         Remove "set args".
12365         (progvar_simple_while_test): Likewise.
12366         (progvar_complex_if_while_test): Likewise.
12367         (if_while_breakpoint_command_test): Likewise.
12368         (infrun_breakpoint_command_test): Likewise.
12369         (breakpoint_command_test): Likewise.
12370         (watchpoint_command_test): Likewise.
12371         (bp_deleted_in_command_test): Likewise.
12372         (temporary_breakpoint_commands): Likewise.
12373
12374 2014-10-16  Yao Qi  <yao@codesourcery.com>
12375
12376         * gdb.base/remotetimeout.exp: Remove noargs checking.
12377
12378 2014-10-15  Pedro Alves  <palves@redhat.com>
12379
12380         PR breakpoints/9649
12381         * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
12382         * gdb.base/breakpoint-in-ro-region.exp
12383         (probe_target_hardware_step): New procedure.
12384         (top level): Probe hardware stepping and hardware breakpoint
12385         support.  Test stepping through a read-only region, with both
12386         "breakpoint auto-hw" on and off and both "always-inserted" on and
12387         off.
12388
12389 2014-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
12390
12391         * gdb.dlang/demangle.exp: Update for demangling changes.
12392
12393 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12394
12395         * gdb.cp/non-trivial-retval.cc: Add new test cases.
12396         * gdb.cp/non-trivial-retval.exp: Add new tests.
12397
12398 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12399
12400         PR c++/13403
12401         PR c++/15154
12402         * gdb.cp/non-trivial-retval.cc: New file.
12403         * gdb.cp/non-trivial-retval.exp: New file.
12404
12405 2014-10-15  Yao Qi  <yao@codesourcery.com>
12406
12407         * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12408         remote host.
12409
12410 2014-10-15  Yao Qi  <yao@codesourcery.com>
12411
12412         * gdb.python/py-symbol.exp: Match file base name if host is
12413         remote, otherwise match file name with dir name.
12414         * gdb.python/py-symtab.exp: Likewise.
12415         * gdb.python/python.exp: Likewise.
12416
12417 2014-10-15  Yao Qi  <yao@codesourcery.com>
12418
12419         * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12420         pattern.
12421         * gdb.python/py-symtab.exp: Likewise.
12422         * gdb.python/python.exp: Remove trailing ".*".  Fix typo
12423         locationn.
12424
12425 2014-10-14  Joel Brobecker  <brobecker@adacore.com>
12426
12427         * gdb.ada/addr_arith: New testcase.
12428
12429 2014-10-14  Maciej W. Rozycki  <macro@codesourcery.com>
12430
12431         * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12432         * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12433         * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12434         * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12435
12436 2014-10-14  Sergio Durigan Junior  <sergiodj@redhat.com>
12437
12438         * gdb.arch/stap-eval-lang-ada.S: Likewise.
12439         * gdb.arch/stap-eval-lang-ada.c: Likewise.
12440         * gdb.arch/stap-eval-lang-ada.exp: New file.
12441
12442 2014-10-14  Yao Qi  <yao@codesourcery.com>
12443
12444         * gdb.mi/mi-var-child.c (nothing1): New function.
12445         (nothing2): New function.
12446         (do_children_tests): Set function pointers by nothing1 and
12447         nothing2.
12448         * gdb.mi/mi-var-child.exp: Step over new added statements.
12449         Update test to match the new output.
12450         * gdb.mi/var-cmd.c (nothing1): New function.
12451         (nothing2): New function.
12452         (do_children_tests): Set function pointers by  nothing1 and
12453         nothing2.
12454         * gdb.mi/mi-var-display.exp: Update test to match output.
12455         Step to the line specified by $line_dct_nothing.
12456         Increase the number of lines to step.
12457
12458 2014-10-14  Yao Qi  <yao@codesourcery.com>
12459
12460         * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12461         tests.
12462         * gdb.mi/mi2-var-child.exp: Likewise.
12463
12464 2014-10-13  Doug Evans  <dje@google.com>
12465
12466         * gdb.python/py-objfile.exp: Change name of file name test.
12467
12468 2014-10-13  Doug Evans  <dje@google.com>
12469
12470         * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12471         from the start of the CU.
12472
12473 2014-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
12474             Yao Qi  <yao@codesourcery.com>
12475
12476         Fix "save breakpoints" for "catch" command.
12477         * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
12478         Remove -nonewline.  Match also the added "main" line.
12479
12480 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12481
12482         Fix "save breakpoints" for "disable $bpnum" command.
12483         * gdb.base/save-bp.c (main): Add label.
12484         * gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
12485
12486 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12487
12488         * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12489
12490 2014-10-11  Yao Qi  <yao@codesourcery.com>
12491
12492         * gdb.server/server-kill.exp: Execute command
12493         "set remote trace-status-packet on" before "tstatus".
12494
12495 2014-10-11  Yao Qi  <yao@codesourcery.com>
12496
12497         * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12498         (main): Call getppid.
12499         * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12500         and continue to it.  Read variable "server_pid".
12501
12502 2014-10-11  Yao Qi  <yao@codesourcery.com>
12503
12504         * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12505
12506 2014-10-11  Yao Qi  <yao@codesourcery.com>
12507
12508         * gdb.threads/thread-find.exp: Don't execute command
12509         "info threads".
12510         * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12511         * gdb.threads/linux-dp.exp: Don't check the condition
12512         $threads_created equals to zero.
12513
12514 2014-10-10  Pedro Alves  <palves@redhat.com>
12515
12516         * gdb.base/bigcore.exp: Remove references to IRIX.
12517         * gdb.base/funcargs.exp: Likewise.
12518         * gdb.base/interrupt.exp: Likewise.
12519         * gdb.base/mips_pro.exp: Likewise.
12520         * gdb.base/nodebug.exp: Likewise.
12521         * gdb.base/setvar.exp: Likewise.
12522         * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12523
12524 2014-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
12525             Pedro Alves  <palves@redhat.com>
12526
12527         PR symtab/14466
12528         * gdb.base/vdso-warning.c: New file.
12529         * gdb.base/vdso-warning.exp: New file.
12530
12531 2014-10-02  Doug Evans  <dje@google.com>
12532
12533         * gdb.base/structs.c (main): Don't run forever.
12534
12535 2014-10-02  Pedro Alves  <palves@redhat.com>
12536
12537         * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12538         (top level) <stop threads 1, stop threads 2>: Use it.
12539
12540 2014-10-02  Pedro Alves  <palves@redhat.com>
12541
12542         * gdb.threads/break-while-running.exp (test): Add new
12543         'update_thread_list' argument.  Skip "info threads" if false.
12544         (top level): Add new 'update_thread_list' axis.
12545
12546 2014-10-02  Pedro Alves  <palves@redhat.com>
12547
12548         PR breakpoints/17431
12549         * gdb.base/execl-update-breakpoints.c: New file.
12550         * gdb.base/execl-update-breakpoints.exp: New file.
12551
12552 2014-10-01  Pedro Alves  <palves@redhat.com>
12553
12554         * gdb.base/breakpoint-in-ro-region.c: New file.
12555         * gdb.base/breakpoint-in-ro-region.exp: New file.
12556
12557 2014-10-01  Simon Marchi  <simon.marchi@ericsson.com>
12558
12559         * gdb.mi/mi-exit-code.exp: New file.
12560         * gdb.mi/mi-exit-code.c: New file.
12561
12562 2014-09-30  Yao Qi  <yao@codesourcery.com>
12563
12564         * lib/prelink-support.exp (build_executable_own_libs): Error if
12565         the target isn't native.
12566
12567 2014-09-30  Yao Qi  <yao@codesourcery.com>
12568
12569         * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12570         false.
12571
12572 2014-09-22  Pedro Alves  <palves@redhat.com>
12573
12574         * gdb.threads/break-while-running.exp: New file.
12575         * gdb.threads/break-while-running.c: New file.
12576
12577 2014-09-19  Yao Qi  <yao@codesourcery.com>
12578
12579         * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12580         Invoke test.  Restart GDB with --readnow and invoke test again.
12581
12582 2014-09-19  Yao Qi  <yao@codesourcery.com>
12583
12584         * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12585         proc set_breakpoint_on_gcd_function.  Invoke
12586         set_breakpoint_on_gcd_function.  Restart GDB with --readnow and
12587         invoke set_breakpoint_on_gcd_function again.
12588
12589 2014-09-18  Doug Evans  <dje@google.com>
12590
12591         * gdb.dwarf2/symtab-producer.exp: New file.
12592
12593 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12594
12595         * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12596         * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12597         * gdb.base/global-var-nested-by-dso.c: Likewise.
12598         * gdb.base/global-var-nested-by-dso.exp: Likewise.
12599
12600 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12601             Pedro Alves  <palves@redhat.com>
12602
12603         * gdb.base/watch-bitfields.exp: Pass string other than test file
12604         name to prepare_for_testing.
12605         (watch): New procedure.
12606         (expect_watchpoint): Use with_test_prefix.
12607         (top level): Factor out tests to ...
12608         (test_watch_location, test_regular_watch): ... these new
12609         procedures, and use with_test_prefix and gdb_continue_to_end.
12610
12611 2014-09-16  Patrick Palka  <patrick@parcs.ath.cx>
12612
12613         PR breakpoints/12526
12614         * gdb.base/watch-bitfields.exp: New file.
12615         * gdb.base/watch-bitfields.c: New file.
12616
12617 2014-09-16  Pedro Alves  <palves@redhat.com>
12618
12619         * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12620         software and hardware addresses, not software address against
12621         itself.
12622
12623 2014-09-16  Pedro Alves  <palves@redhat.com>
12624
12625         * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12626         * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12627
12628 2014-09-16  Pedro Alves  <palves@redhat.com>
12629
12630         * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12631         files.
12632         * gdb.base/a2-run.exp: Remove all code guarded by istarget
12633         "*-*-vxworks*" throughout.
12634         * gdb.base/break.exp: Likewise.
12635         * gdb.base/default.exp: Likewise.
12636         * gdb.base/scope.exp: Likewise.
12637         * gdb.base/sepdebug.exp: Likewise.
12638         * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12639         throughout.
12640         * gdb.base/run.c: Likewise.
12641         * gdb.base/sepdebug.c: Likewise.
12642         * gdb.hp/gdb.aCC/run.c: Likewise.
12643         * gdb.reverse/until-reverse.c: Likewise.
12644         * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12645
12646 2014-09-16  Yao Qi  <yao@codesourcery.com>
12647
12648         * boards/local-remote-host-native.exp: New file.
12649
12650 2014-09-14  Doug Evans  <xdje42@gmail.com>
12651
12652         * gdb.threads/queue-signal.c (thread_count): New variable.
12653         (thread_count_mutex, thread_count_condvar): New variables.
12654         (incr_thread_count, wait_all_threads_running): New functions.
12655         (main): Wait for all threads to be in their thread functions.
12656
12657 2014-09-13  Doug Evans  <xdje42@gmail.com>
12658
12659         * gdb.threads/queue-signal.c: New file.
12660         * gdb.threads/queue-signal.exp: New file.
12661
12662 2014-09-13  Doug Evans  <xdje42@gmail.com>
12663
12664         * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12665         be consistent with what default_gdb_init uses.
12666         (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12667         the plain text of the prompt.  Add some logging printfs.
12668         * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12669
12670 2014-09-12  Pedro Alves  <palves@redhat.com>
12671
12672         * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12673         gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12674         * gdb.arch/i386-size-overlap.exp: Likewise.
12675         * gdb.arch/i386-size.exp: Likewise.
12676         * gdb.arch/i386-unwind.exp: Likewise.
12677         * gdb.base/a2-run.exp: Likewise.
12678         * gdb.base/break.exp: Likewise.
12679         * gdb.base/charset.exp: Likewise.
12680         * gdb.base/chng-syms.exp: Likewise.
12681         * gdb.base/commands.exp: Likewise.
12682         * gdb.base/dbx.exp: Likewise.
12683         * gdb.base/find.exp: Likewise.
12684         * gdb.base/funcargs.exp: Likewise.
12685         * gdb.base/jit-simple.exp: Likewise.
12686         * gdb.base/reread.exp: Likewise.
12687         * gdb.base/sepdebug.exp: Likewise.
12688         * gdb.base/step-bt.exp: Likewise.
12689         * gdb.cp/mb-inline.exp: Likewise.
12690         * gdb.cp/mb-templates.exp: Likewise.
12691         * gdb.objc/basicclass.exp: Likewise.
12692         * gdb.threads/killed.exp: Likewise.
12693
12694 2014-09-12  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
12695
12696         PR tdep/17379
12697         * gdb.arch/powerpc-stackless.S: New file.
12698         * gdb.arch/powerpc-stackless.exp: New file.
12699
12700 2014-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12701
12702         * gdb.base/attach.c: Include unistd.h.
12703         (main): Call alarm.  Add label postloop.
12704         * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12705         gdb_breakpoint, gdb_continue_to_breakpoint.
12706         (test_command_line_attach_run): Kill ${testpid} in one exit path.
12707
12708 2014-09-11  Pedro Alves  <palves@redhat.com>
12709
12710         PR gdb/17347
12711         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12712         * gdb.base/attach.exp (test_command_line_attach_run): New
12713         procedure.
12714         (top level): Call it.
12715
12716 2014-09-11  Pedro Alves  <palves@redhat.com>
12717
12718         * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12719         * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12720         (do_command_attach_tests): Use spawn_wait_for_attach.
12721         * gdb.base/solib-overlap.exp: Likewise.
12722         * gdb.multi/multi-attach.exp: Likewise.
12723         * gdb.python/py-prompt.exp: Likewise.
12724         * gdb.python/py-sync-interp.exp: Likewise.
12725         * gdb.server/ext-attach.exp: Likewise.
12726
12727 2014-09-11  Gabriel Krisman Bertazi  <gabriel@krisman.be>
12728
12729         * gdb.fortran/array-element.exp: Remove unexpected "continue"
12730         command in testcase.  Simplify testcase.
12731
12732 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12733
12734         * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12735
12736 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12737
12738         * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12739
12740 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12741
12742         * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12743
12744 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12745
12746         * gdb.dwarf2/dynarr-ptr.c: New file.
12747         * gdb.dwarf2/dynarr-ptr.exp: New file.
12748
12749 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12750
12751         * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12752         of 30 rather than hardcoding 120 for a slow test case.  Take the
12753         `gdb,timeout' target setting into account for this calculation.
12754         Don't extend the timeout for the test cases that don't need it.
12755
12756 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12757
12758         * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12759         a factor of 2 for a slow test case.  Take the `gdb,timeout'
12760         target setting into account for this calculation.
12761         * gdb.reverse/until-precsave.exp: Increase the timeout by
12762         a factor of 15 and 3 respectively rather than adding 120
12763         for a pair of slow test cases.  Take the `gdb,timeout'
12764         target setting into account for this calculation.
12765
12766 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12767
12768         * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12769         timeout, don't pass one down to gdb_expect.
12770         (gdb_expect): Rework timeout selection.
12771
12772 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12773
12774         * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12775         exception on timeout.
12776         (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12777         (gdbserver_start_extended): Catch any `gdbserver_start' error
12778         exceptions.
12779         (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12780         * lib/mi-support.exp (mi_gdb_target_load): Catch any
12781         `gdbserver_gdb_load' error exceptions.
12782
12783 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12784
12785         * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12786         120 on waiting for the TCP socket to open.
12787
12788 2014-09-09  Doug Evans  <xdje42@gmail.com>
12789
12790         * gdb.base/default.exp (show_conv_list): Add _caller_is,
12791         _caller_matches, _any_caller_is, _any_caller_matches.
12792
12793 2014-09-09  Doug Evans  <xdje42@gmail.com>
12794
12795         * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12796
12797 2014-09-09  Yao Qi  <yao@codesourcery.com>
12798
12799         * gdb.mi/mi-var-display.exp: Set print symbol off.
12800
12801 2014-09-07  Gabriel Krisman Bertazi  <gabriel@krisman.be>
12802
12803         PR gdb/17035
12804         * gdb.base/commands.exp: Add tests to verify user-defined
12805         commands with empty bodies.
12806         * gdb.python/py-cmd.exp: Test that we don't show user-defined
12807         python commands in `show user command`.
12808         * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12809         scheme commands in `show user command`.
12810
12811 2014-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
12812
12813         PR python/17355
12814         * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12815         * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12816         * gdb.python/py-framefilter-invalidarg.exp: New file.
12817         * gdb.python/py-framefilter-invalidarg.py: New file.
12818
12819 2014-09-06  Doug Evans  <xdje42@gmail.com>
12820
12821         PR 15276
12822         * gdb.python/py-caller-is.c: New file.
12823         * gdb.python/py-caller-is.exp: New file.
12824
12825 2014-09-05  Sergio Durigan Junior  <sergiodj@redhat.com>
12826
12827         PR gdb/17235
12828         * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12829         * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12830
12831 2014-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
12832
12833         PR fortran/17237
12834         * gdb.fortran/print-formatted.exp: New file.
12835         * gdb.fortran/print-formatted.f90: Likewise.
12836
12837 2014-09-03  Sasha Smundak  <asmundak@google.com>
12838
12839         * gdb.python/py-frame.exp: Test Frame.read_register.
12840
12841 2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
12842
12843         PR python/16699
12844         * gdb.python/py-completion.exp: New file.
12845         * gdb.python/py-completion.py: Likewise.
12846
12847 2014-08-28  Doug Evans  <dje@google.com>
12848
12849         * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12850         eax,etc. are live with values set by gdb and thus the compiler can't
12851         use them.
12852         * gdb.arch/i386-pseudo.c (main): Ditto.
12853
12854 2014-08-27  Doug Evans  <dje@google.com>
12855
12856         * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12857
12858 2014-08-25  Doug Evans  <dje@google.com>
12859
12860         * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12861         (main): Ditto.
12862
12863 2014-08-25  Doug Evans  <dje@google.com>
12864
12865         * gdb.threads/thread-execl.exp: #include <stdio.h>.
12866
12867 2014-08-24  Yao Qi  <yao@codesourcery.com>
12868
12869         * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12870         symbol off.
12871         * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12872
12873 2014-08-22  Doug Evans  <dje@google.com>
12874
12875         PR 17276
12876         * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12877         * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12878         * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12879
12880 2014-08-22  Yao Qi  <yao@codesourcery.com>
12881
12882         * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12883         * gdb.python/py-finish-breakpoint2.exp: Likewise.
12884         * gdb.python/python.exp: Likewise.  Use .py file on the host
12885         instead of the build.
12886
12887 2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
12888
12889         * gdb.threads/gcore-stale-thread.c: New file.
12890         * gdb.threads/gcore-stale-thread.exp: New file.
12891
12892 2014-08-21  Pedro Alves  <palves@redhat.com>
12893
12894         * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12895         * gdb.base/gcore-relro-pie.exp: Likewise.
12896         * gdb.base/gcore-relro.exp: Likewise.
12897         * gdb.base/gcore.exp: Likewise.
12898         * gdb.base/print-symbol-loading.exp: Likewise.
12899         * gdb.threads/gcore-thread.exp: Likewise.
12900         * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12901
12902 2014-08-20  Pedro Alves  <palves@redhat.com>
12903             Jan Kratochvil  <jan.kratochvil@redhat.com>
12904
12905         * Makefile.in (EXTRA_RULES, CC): New variables, get from
12906         configure.
12907         (EXPECT): Handle READ1 being set.
12908         (all): Depend on EXTRA_RULES.
12909         (check-read1, expect-read1, read1.so, read1): New rules.
12910         * README (Testsuite Parameters): Document the READ1 make variable.
12911         (Race detection): New section.
12912         * configure: Regenerate.
12913         * configure.ac: If build==host==target, and running under a
12914         GNU/glibc system, add read1 to the extra Makefile rules.
12915         (EXTRA_RULES): AC_SUBST it.
12916         * lib/read1.c: New file.
12917
12918 2014-08-20  Joel Brobecker  <brobecker@adacore.com>
12919
12920         * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12921         the handling of variables declared as a typedef to an array
12922         which a DW_AT_data_location attribute.
12923
12924 2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
12925             Pedro Alves  <palves@redhat.com>
12926
12927         PR symtab/14604
12928         PR symtab/14605
12929         * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12930         gdb_test.
12931
12932 2014-08-19  Pedro Alves  <palves@redhat.com>
12933
12934         * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
12935
12936 2014-08-19  Yao Qi  <yao@codesourcery.com>
12937
12938         * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
12939         right line.
12940
12941 2014-08-18  David Blaikie  <dblaikie@gmail.com>
12942
12943         * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
12944
12945 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
12946
12947         * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
12948         attribute in array range.
12949
12950 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
12951
12952         * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
12953
12954 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
12955
12956         PR c++/17132
12957         * gdb.cp/pr17132.cc: New file.
12958         * gdb.cp/pr17132.exp: New file.
12959
12960 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
12961
12962         * gdb.python/py-xmethods.py (A_getarrayind)
12963         (E_method_char_worker.__call__, E_method_int_worker.__call__):
12964         Use 'print' with function call syntax.
12965         (E_method_matcher.match): Fix tab vs space indentation mixup.
12966
12967 2014-08-15  Yao Qi  <yao@codesourcery.com>
12968
12969         * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
12970         false.
12971
12972 2014-08-15  Yao Qi  <yao@codesourcery.com>
12973
12974         * gdb.cp/casts.exp: Set print symbol off.
12975         * gdb.cp/class2.exp: Likewise.
12976         * gdb.cp/overload.exp: Likewise.
12977         * gdb.cp/templates.exp: Likewise.
12978
12979 2014-08-11  Doug Evans  <dje@google.com>
12980
12981         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
12982         (test_load_shlib): Update.
12983
12984 2014-08-09  Yao Qi  <yao@codesourcery.com>
12985
12986         * gdb.base/display.exp: Invoke is_address_zero_readable.
12987         * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
12988         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12989         * gdb.base/hbreak-unmapped.exp: Return if
12990         is_address_zero_readable returns true.
12991         * gdb.base/signest.exp: Likewise.
12992         * gdb.base/signull.exp: Likewise.
12993         * gdb.base/sigbpt.exp: Likewise.
12994         * gdb.guile/scm-disasm.exp: Do the test if
12995         is_address_zero_readable returns false.
12996         * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
12997         * gdb.python/py-arch.exp: Likewise.
12998         * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
12999         * lib/gdb.exp (is_address_zero_readable): New proc.
13000
13001 2014-08-09  Yao Qi  <yao@codesourcery.com>
13002
13003         PR testsuite/13443
13004         * gdb.mi/mi-var-display.exp: Make test messages unique.
13005
13006 2014-08-04  Tom Tromey  <tromey@redhat.com>
13007
13008         * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
13009         target 0".
13010
13011 2014-08-04  Tom Tromey  <tromey@redhat.com>
13012
13013         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
13014         "target_resume".
13015
13016 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
13017
13018         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
13019         inner_vla_struct_object_size.
13020         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
13021         as xfail.
13022
13023 2014-07-30  Pedro Alves  <palves@redhat.com>
13024
13025         * gdb.threads/signal-command-handle-nopass.exp (test): Add
13026         comment.
13027
13028 2014-07-29  Yao Qi  <yao@codesourcery.com>
13029
13030         PR gdb/17206
13031         * gdb.base/until-nodebug.exp: New.
13032
13033 2014-07-28  Doug Evans  <xdje42@gmail.com>
13034
13035         PR guile/17203
13036         * gdb.guile/scm-parameter.exp: Add tests for trying to create
13037         previously existing parameter, and previously ambiguously spelled
13038         parameter.
13039
13040 2014-07-28  Will Newton  <will.newton@linaro.org>
13041
13042         * gdb.base/varargs.exp: Remove KFAILs for ARM.
13043
13044 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
13045             Doug Evans  <xdje42@gmail.com>
13046
13047         PR guile/17146
13048         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
13049
13050 2014-07-25  Pedro Alves  <palves@redhat.com>
13051
13052         * gdb.threads/signal-command-handle-nopass.c: New file.
13053         * gdb.threads/signal-command-handle-nopass.exp: New file.
13054         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
13055         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
13056         * gdb.threads/signal-delivered-right-thread.c: New file.
13057         * gdb.threads/signal-delivered-right-thread.exp: New file.
13058
13059 2014-07-25  Pedro Alves  <palves@redhat.com>
13060
13061         * gdb.base/double-prompt-target-event-error.exp
13062         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
13063         match.
13064         (cancel_pagination_in_target_event): Rework double prompt
13065         detection.
13066         * gdb.base/paginate-after-ctrl-c-running.exp
13067         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
13068         <return>' match.
13069         * gdb.base/paginate-bg-execution.exp
13070         (test_bg_execution_pagination_return)
13071         (test_bg_execution_pagination_cancel): Remove '-notransfer
13072         <return>' matches.
13073         * gdb.base/paginate-execution-startup.exp
13074         (test_fg_execution_pagination_return)
13075         (test_fg_execution_pagination_cancel): Remove '-notransfer
13076         <return>' matches.
13077         * gdb.base/paginate-inferior-exit.exp
13078         (test_paginate_inferior_exited): Remove '-notransfer <return>'
13079         match.
13080         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13081         * lib/gdb.exp (pagination_prompt): Run text through
13082         string_to_regexp.
13083         (gdb_test_multiple): Match $pagination_prompt instead of
13084         "<return>".
13085         (string_to_regexp): Move to lib/gdb-utils.exp.
13086
13087 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
13088
13089         * gdb.arch/amd64-entry-value-paramref.S: New file.
13090         * gdb.arch/amd64-entry-value-paramref.cc: New file.
13091         * gdb.arch/amd64-entry-value-paramref.exp: New file.
13092         * gdb.arch/amd64-optimout-repeat.S: New file.
13093         * gdb.arch/amd64-optimout-repeat.c: New file.
13094         * gdb.arch/amd64-optimout-repeat.exp: New file.
13095
13096 2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
13097
13098         PR gdb/17170
13099         * gdb.base/statistics.exp: New file.
13100
13101 2014-07-17  Doug Evans  <dje@google.com>
13102
13103         PR gdb/17170
13104         * gdb.base/maint.exp: Update testing of per-command stats.
13105
13106 2014-07-16  Pedro Alves  <palves@redhat.com>
13107
13108         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13109         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13110         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
13111         (tfile_write_buf): New functions.
13112         (add_memory_block): Rewrite using the above.
13113         (adjust_function_address): New function.
13114         (FUNCTION_ADDRESS): New macro.
13115         (write_basic_trace_file): Remove short_x local, and use
13116         tfile_write_16. Change type of func_addr local to unsigned long
13117         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
13118         here.  Cast argument of add_memory_block to char pointer.
13119         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
13120         (main): Remove parameters.
13121         * gdb.trace/tfile.exp: Remove nowarnings.
13122
13123 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
13124
13125         * gdb.base/debug-expr.exp: Test string evaluation with
13126         "debug expression" on.
13127
13128 2014-07-15  Pedro Alves  <palves@redhat.com>
13129
13130         * gdb.base/reread.exp: Use clean_restart.
13131
13132 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
13133
13134         * gdb.arch/avr-flash-qualifer.c: New.
13135         * gdb.arch/avr-flash-qualifer.exp: New.
13136
13137 2014-07-14  Pedro Alves  <palves@redhat.com>
13138
13139         * gdb.base/paginate-after-ctrl-c-running.c: New file.
13140         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
13141
13142 2014-07-14  Pedro Alves  <palves@redhat.com>
13143
13144         * gdb.base/double-prompt-target-event-error.c: New file.
13145         * gdb.base/double-prompt-target-event-error.exp: New file.
13146
13147 2014-07-14  Pedro Alves  <palves@redhat.com>
13148
13149         PR gdb/17072
13150         * gdb.base/paginate-inferior-exit.c: New file.
13151         * gdb.base/paginate-inferior-exit.exp: New file.
13152
13153 2014-07-14  Pedro Alves  <palves@redhat.com>
13154
13155         PR gdb/17072
13156         * gdb.base/paginate-bg-execution.c: New file.
13157         * gdb.base/paginate-bg-execution.exp: New file.
13158
13159 2014-07-14  Pedro Alves  <palves@redhat.com>
13160
13161         PR gdb/17072
13162         * gdb.base/paginate-execution-startup.c: New file.
13163         * gdb.base/paginate-execution-startup.exp: New file.
13164         * lib/gdb.exp (pagination_prompt): New global.
13165         (default_gdb_spawn): New procedure, factored out from
13166         default_gdb_spawn.
13167         (default_gdb_start): Adjust to call default_gdb_spawn.
13168         (gdb_spawn): New procedure.
13169
13170 2014-07-14  Pedro Alves  <palves@redhat.com>
13171
13172         * lib/gdb.exp (gdb_assert): New procedure.
13173         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
13174
13175 2014-07-14  Pedro Alves  <palves@redhat.com>
13176
13177         * gdb.base/execution-termios.c: New file.
13178         * gdb.base/execution-termios.exp: New file.
13179
13180 2014-07-14  Tom Tromey  <tromey@redhat.com>
13181
13182         * gdb.cp/vla-cxx.cc: New file.
13183         * gdb.cp/vla-cxx.exp: New file.
13184
13185 2014-07-14  Tom Tromey  <tromey@redhat.com>
13186
13187         * gdb.reverse/rerun-prec.c: New file.
13188         * gdb.reverse/rerun-prec.exp: New file.
13189
13190 2014-07-12  Maciej W. Rozycki  <macro@mips.com>
13191             Maciej W. Rozycki  <macro@codesourcery.com>
13192
13193         * lib/gdb-utils.exp: New file.
13194         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
13195         inline `gdb_init_command' processing.
13196         (gdb_start_cmd): Likewise.
13197         * lib/mi-support.exp (mi_run_cmd): Likewise.
13198         * README: Document `gdb_init_command' and `gdb_init_commands'.
13199
13200 2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13201
13202         Fix false FAIL running under a very long directory name.
13203         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
13204         and "set print elements 10000".  Twice.
13205
13206 2014-07-11  Yao Qi  <yao@codesourcery.com>
13207
13208         * gdb.base/exprs.exp: "set print symbol off".
13209
13210 2014-07-11  Pedro Alves  <palves@redhat.com>
13211
13212         * gdb.threads/kill.c: New file.
13213         * gdb.threads/kill.exp: New file.
13214
13215 2014-07-10  Yao Qi  <yao@codesourcery.com>
13216
13217         * gdb.trace/tfile.c (write_basic_trace_file)
13218         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
13219         address written to trace file.
13220
13221 2014-07-09  Pedro Alves  <palves@redhat.com>
13222
13223         * gdb.base/attach-wait-input.exp: New file.
13224         * gdb.base/attach-wait-input.c: New file.
13225
13226 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
13227
13228         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
13229         setting up test structures.
13230         (main): Call new test function.
13231         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
13232         test function, continue into test function and walk test
13233         structures.
13234
13235 2014-07-02  Yao Qi  <yao@codesourcery.com>
13236
13237         * gdb.trace/entry-values.c: Define labels 'foo_start' and
13238         'bar_start' at the beginning of functions 'foo' and 'bar'
13239         respectively.
13240         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
13241         instead of 'foo' and 'bar'.
13242
13243 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
13244
13245         * gdb.btrace/segv.exp: New.
13246         * gdb.btrace/segv.c: New.
13247
13248 2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
13249
13250         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
13251         instruction.
13252
13253 2014-06-30  Mark Wielaard  <mjw@redhat.com>
13254
13255         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
13256         vulture, vilify, villar): New volatile array constants.
13257         (vindictive, vegetation): New const volatile array constants.
13258         * gdb.base/volatile.exp: Test volatile and const volatile array
13259         types.
13260
13261 2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13262
13263         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
13264         target lacks support for awatch, rwatch, or hbreak.
13265
13266 2014-06-27  Yao Qi  <yao@codesourcery.com>
13267
13268         * gdb.multi/dummy-frame-restore.exp: New.
13269         * gdb.multi/dummy-frame-restore.c: New.
13270
13271 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
13272
13273         * gdb.btrace/gcore.exp: New.
13274
13275 2014-06-23  Pedro Alves  <palves@redhat.com>
13276
13277         * gdb.base/watchpoint-reuse-slot.c: New file.
13278         * gdb.base/watchpoint-reuse-slot.exp: New file.
13279
13280 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
13281
13282         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
13283         progspace's filename in 'info', 'enable' and 'disable' command
13284         tests.
13285
13286 2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
13287
13288         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
13289         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13290         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
13291
13292 2014-06-20  Gary Benson  <gbenson@redhat.com>
13293
13294         * gdb.arch/i386-avx.exp: Fix include file location.
13295         * gdb.arch/i386-sse.exp: Likewise.
13296
13297 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
13298
13299         * gdb.dlang/expression.exp: New file.
13300
13301 2014-06-19  Pedro Alves  <palves@redhat.com>
13302
13303         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
13304         out from ...
13305         (top level): ... here.  Iterate running tests under different
13306         scheduler-locking settings.
13307
13308 2014-06-18  Luis Machado  <lgustavo@codesourcery.com>
13309
13310         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
13311         to DW_FORM_addr and use non-zero addresses.
13312
13313 2014-06-18  Siva Chandra Reddy  <sivachandra@google.com>
13314
13315         PR gdb/17017
13316         * gdb.python/py-xmethods.cc: Add global function call counters and
13317         increment them in their respective functions.  Remove "cout"
13318         statements.
13319         * gdb.python/py-xmethods.exp: Make tests check the global function
13320         call counters instead of depending on inferior IO.
13321
13322 2014-06-18  Don Breazeal  <donb@codesourcery.com>
13323
13324         * gdb.base/foll-fork.exp (default_fork_parent_follow):
13325         Deleted procedure.
13326         (explicit_fork_parent_follow): Deleted procedure.
13327         (explicit_fork_child_follow): Deleted procedure.
13328         (test_follow_fork): New procedure.
13329         (do_fork_tests): Replace calls to deleted procedures with
13330         calls to test_follow_fork and reset GDB for subsequent
13331         procedure calls.
13332
13333 2014-06-17  Yao Qi  <yao@codesourcery.com>
13334
13335         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
13336         CP1252.
13337
13338 2014-06-17  Luis Machado  <lgustavo@codesourcery.com>
13339
13340         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
13341         Initialize ptr and S explicitly.
13342         (skip_type_update_when_not_use_rtti_test): Likewise.
13343
13344 2014-06-16  Keith Seitz  <keiths@redhat.com>
13345
13346         PR mi/15863
13347         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
13348         the inferior is started.
13349
13350 2014-06-16  Pedro Alves  <palves@redhat.com>
13351
13352         * gdb.base/break-main-file-remove-fail.c: New file.
13353         * gdb.base/break-main-file-remove-fail.exp: New file.
13354         * gdb.base/break-unload-file.exp: Use build_executable instead of
13355         prepare_for_testing.
13356         (test_break): New parameter "initial_load".  Handle it.
13357         (top level): Add initial_load cmdline/file axis.
13358
13359 2014-06-12  Tom Tromey  <tromey@redhat.com>
13360
13361         * gdb.base/completion.exp: Don't use directory name in test.
13362
13363 2014-06-09  Gary Benson  <gbenson@redhat.com>
13364
13365         * gdb.base/sigall.c [Functions to send signals]: Reorder to
13366         separate the always-available ANSI-standard signals from the
13367         signals that require checking.
13368         (main): Likewise.
13369         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
13370         Likewise.
13371         (main): Likewise.
13372
13373 2014-06-07  Keith Seitz  <keiths@redhat.com>
13374
13375         Revert:
13376         PR c++/16253
13377         * gdb.cp/var-tag.cc: New file.
13378         * gdb.cp/var-tag.exp: New file.
13379         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13380         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13381         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13382         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13383
13384 2014-06-06  Doug Evans  <xdje42@gmail.com>
13385
13386         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
13387
13388 2014-06-06  Pedro Alves  <palves@redhat.com>
13389
13390         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
13391         in target debug output instead of looking at RSP packets,
13392         disabling the test on any target that uses hardware stepping.
13393         Update comments.
13394
13395 2014-06-06  Pedro Alves  <palves@redhat.com>
13396
13397         * gdb.base/break-unload-file.exp: Fix typo.
13398
13399 2014-06-06  Yao Qi  <yao@codesourcery.com>
13400
13401         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13402         from "jit_function" to "^jit_function".
13403
13404 2014-06-06  Yao Qi  <yao@codesourcery.com>
13405
13406         * gdb.base/async.c (foo): Add one statement.
13407         * gdb.base/async.exp: Get the next instruction address and
13408         match the output of "nexti" by instruction address.  Match
13409         the hex address in the output of "finish".
13410
13411 2014-06-06  Gary Benson  <gbenson@redhat.com>
13412
13413         * gdb.base/call-signals.c: Remove preprocessor conditionals
13414         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13415         SIGSEGV and SIGTERM.
13416         * gdb.base/sigall.c: Likewise.
13417         * gdb.base/unwindonsignal.c: Likewise.
13418         * gdb.reverse/sigall-reverse.c: Likewise.
13419
13420 2014-06-06  Yao Qi  <yao@codesourcery.com>
13421
13422         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
13423         readable, skip the test.
13424
13425 2014-06-06  Yao Qi  <yao@codesourcery.com>
13426
13427         * gdb.threads/staticthreads.c (thread_function): Move the line
13428         setting breakpoint on forward.
13429         * gdb.threads/staticthreads.exp: Update comments.
13430
13431 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
13432
13433         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13434         "history-append! type error".
13435
13436 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
13437
13438         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13439         erroneous dprintf expected input.
13440
13441 2014-06-04  Doug Evans  <xdje42@gmail.com>
13442
13443         * gdb.guile/scm-generics.exp: Delete.
13444
13445 2014-06-04  Doug Evans  <xdje42@gmail.com>
13446
13447         * gdb.guile/scm-breakpoint.exp: Update.
13448         Add tests for breakpoint registration.
13449
13450 2014-06-04  Tom Tromey  <tromey@redhat.com>
13451
13452         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13453         VLA-in-union.
13454         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13455         inner_vla_struct, vla_union types.  Initialize objects of those
13456         types and compute their sizes.
13457
13458 2014-06-04  Nathan Sidwell  <nathan@codesourcery.com>
13459             Hui Zhu  <hui@codesourcery.com>
13460
13461         * gdb.base/fileio.exp: Add test for shell not available as well as
13462         available.
13463         * gdb.base/fileio.c (test_system): Check for shell twice.
13464
13465 2014-06-04  Yao Qi  <yao@codesourcery.com>
13466
13467         * gdb.base/auto-connect-native-target.exp: Remove redundant
13468         space from the regexp pattern.
13469
13470 2014-06-04  Yao Qi  <yao@codesourcery.com>
13471
13472         * gdb.base/default.exp: Replace "child" with "native" in
13473         regexp pattern.
13474
13475 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
13476
13477         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
13478         * gdb.python/py-xmethods.exp: New tests to test xmethods.
13479         * gdb.python/py-xmethods.py: Python script supporting the
13480         new testcase and tests.
13481
13482 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
13483             Pedro Alves  <palves@redhat.com>
13484
13485         PR breakpoints/17000
13486         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
13487         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
13488
13489 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
13490
13491         * gdb.base/subst.exp: Add tests to verify partial path matching
13492         output.
13493
13494 2014-06-03  Pedro Alves  <palves@redhat.com>
13495
13496         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13497         target that doesn't use software single-stepping.
13498
13499 2014-06-03  Pedro Alves  <palves@redhat.com>
13500
13501         PR breakpoints/17000
13502         * gdb.base/sss-bp-on-user-bp-2.c: New file.
13503         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13504
13505 2014-06-02  Doug Evans  <xdje42@gmail.com>
13506
13507         * gdb.guile/scm-parameter.exp: New file.
13508
13509 2014-06-02  Doug Evans  <xdje42@gmail.com>
13510
13511         * gdb.guile/scm-cmd.c: New file.
13512         * gdb.guile/scm-cmd.exp: New file.
13513
13514 2014-06-02  Doug Evans  <xdje42@gmail.com>
13515
13516         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13517         pretty-printer lookup.
13518         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13519         (make-pp_s-printer): Call it.
13520         (make-pretty-printer-from-dict): New function.
13521         (lookup-pretty-printer-maker-from-dict): New function.
13522         (*pretty-printer*): Simplify.
13523         (make-objfile-pp_s-printer): New function.
13524         (install-objfile-pretty-printers!): New function.
13525         (make-progspace-pp_s-printer): New function.
13526         (install-progspace-pretty-printers!): New function.
13527         * gdb.guile/scm-progspace.c: New file.
13528         * gdb.guile/scm-progspace.exp: New file.
13529
13530 2014-06-02  Pedro Alves  <palves@redhat.com>
13531
13532         * gdb.base/dprintf-bp-same-addr.c: New file.
13533         * gdb.base/dprintf-bp-same-addr.exp: New file.
13534
13535 2014-06-02  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13536
13537         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13538         * gdb.arch/powerpc-power.s: Likewise.
13539
13540 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
13541
13542         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13543
13544 2014-06-01  Yao Qi  <yao@codesourcery.com>
13545
13546         * gdb.base/watchpoint.exp (test_watch_location): Check null
13547         pointer can be dereferenced.  If not, do the test, otherwise
13548         skip it.
13549
13550 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13551
13552         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13553         results.
13554         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13555
13556 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13557
13558         * gdb.arch/amd64-invalid-stack-middle.S: New file.
13559         * gdb.arch/amd64-invalid-stack-middle.c: New file.
13560         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13561         * gdb.arch/amd64-invalid-stack-top.c: New file.
13562         * gdb.arch/amd64-invalid-stack-top.exp: New file.
13563
13564 2014-05-30  Pedro Alves  <palves@redhat.com>
13565
13566         PR breakpoints/17000
13567         * gdb.base/sss-bp-on-user-bp.c: New file.
13568         * gdb.base/sss-bp-on-user-bp.exp: New file.
13569
13570 2014-05-30  David Blaikie  <dblaikie@gmail.com>
13571
13572         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13573         gnu_inline semantics via attribute.
13574         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13575         source explicitly specifies the required semantics.
13576
13577 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
13578
13579         * gdb.reverse/sigall-reverse.exp: Fix a typo.
13580
13581 2014-05-29  Pedro Alves  <palves@redhat.com>
13582             Tom Tromey  <tromey@redhat.com>
13583
13584         * gdb.base/async-shell.exp: Don't enable target-async.
13585         * gdb.base/async.exp
13586         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13587         parameter.  Adjust.
13588         (top level): Don't test with "target-async".
13589         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13590         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13591         * gdb.base/inferior-died.exp: Don't enable target-async.
13592         * gdb.base/interrupt-noterm.exp: Likewise.
13593         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13594         * gdb.mi/mi-nonstop-exit.exp: Likewise.
13595         * gdb.mi/mi-nonstop.exp: Likewise.
13596         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13597         * gdb.mi/mi-nsintrall.exp: Likewise.
13598         * gdb.mi/mi-nsmoribund.exp: Likewise.
13599         * gdb.mi/mi-nsthrexec.exp: Likewise.
13600         * gdb.mi/mi-watch-nonstop.exp: Likewise.
13601         * gdb.multi/watchpoint-multi.exp: Adjust comment.
13602         * gdb.python/py-evsignal.exp: Don't enable target-async.
13603         * gdb.python/py-evthreads.exp: Likewise.
13604         * gdb.python/py-prompt.exp: Likewise.
13605         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13606         * gdb.server/solib-list.exp: Don't enable target-async.
13607         * gdb.threads/thread-specific-bp.exp: Likewise.
13608         * lib/mi-support.exp: Adjust to use mi-async.
13609
13610 2014-05-29  Pedro Alves  <palves@redhat.com>
13611
13612         PR gdb/13860
13613         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13614         reason, even in sync mode.
13615
13616 2014-05-29  Pedro Alves  <palves@redhat.com>
13617             Hui Zhu  <hui@codesourcery.com>
13618
13619         PR PR15693
13620         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13621         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13622         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13623         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13624
13625 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
13626
13627         * config/monitor.exp (gdb_target_monitor): Replace use of
13628         "set remotebaud" by "set serial baud".
13629
13630 2014-05-26  Andy Wingo  <wingo@igalia.com>
13631
13632         * gdb.guile/scm-breakpoint.exp:
13633         * gdb.guile/scm-gsmob.exp: Update to use plain old object
13634         properties instead of gdb-object-properties.
13635
13636 2014-05-26  Yao Qi  <yao@codesourcery.com>
13637
13638         * gdb.server/no-thread-db.exp: Specify source file name
13639         explicitly when setting a breakpoint.
13640
13641 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13642
13643         * gdb.btrace/vdso.c: New.
13644         * gdb.btrace/vdso.exp: New.
13645
13646 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13647
13648         * gdb.base/gcore.exp (capture_command_output): Move ...
13649         * lib/gdb.exp (capture_command_output): ... here.
13650
13651 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13652
13653         * gdb.btrace/data.exp: Test memory access during btrace replay.
13654
13655 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
13656
13657         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13658
13659 2014-05-21  Pedro Alves  <palves@redhat.com>
13660
13661         PR gdb/13860
13662         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13663         (top level): Test that output related to execution commands is
13664         sent to the console with CLI commands, but not with MI commands.
13665         Test that breakpoint events are always mirrored to the console.
13666         Also expect the new source line to be output after a "next" in
13667         async mode too.  Make it a pass/fail test.
13668         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13669         output.
13670         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13671
13672 2014-05-21  Pedro Alves  <palves@redhat.com>
13673
13674         * gdb.base/list.exp (build_pattern, test_list): New procedures.
13675         Use them to test variations of "list" after reaching a breakpoint.
13676         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13677         Test "list" with listsize 10 after reaching a breakpoint.
13678         * gdb.python/python.exp (decode_line current location line
13679         number): Adjust expected line number.
13680
13681 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
13682
13683         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13684         behavior for $args, pass it directly to "run".
13685
13686 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
13687
13688         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13689         30000 to 65536.
13690
13691 2014-05-21  Pedro Alves  <palves@redhat.com>
13692
13693         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13694         auto-connect-native-target off".
13695         * gdb.base/auto-connect-native-target.c: New file.
13696         * gdb.base/auto-connect-native-target.exp: New file.
13697
13698 2014-05-21  Pedro Alves  <palves@redhat.com>
13699
13700         * gdb.base/default.exp: Test "target native" instead of "target
13701         child".
13702
13703 2014-05-21  Mark Wielaard  <mjw@redhat.com>
13704
13705         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13706
13707 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
13708
13709         Fix TLS access for -static -pthread.
13710         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13711         <HAVE_TLS> (thread_function, main): Initialize it.
13712         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13713         Add clean_restart.
13714         <$have_tls != "">: Check TLSVAR.
13715
13716 2014-05-21  Pedro Alves  <palves@redhat.com>
13717
13718         * gdb.base/dcache-line-read-error.c: New.
13719         * gdb.base/dcache-line-read-error.exp: New.
13720
13721 2014-05-20  Pedro Alves  <palves@redhat.com>
13722
13723         * gdb.base/compare-sections.c: New file.
13724         * gdb.base/compare-sections.exp: New file.
13725
13726 2014-05-20  Pedro Alves  <palves@redhat.com>
13727
13728         * gdb.base/break-idempotent.c: New file.
13729         * gdb.base/break-idempotent.exp: New file.
13730
13731 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
13732
13733         * gdb.btrace/nohist.exp: New.
13734
13735 2014-05-20  Yao Qi  <yao@codesourcery.com>
13736
13737         * lib/gdb.exp (gdb_init): Set timeout if test file is under
13738         gdb.reverse directory and gdb_reverse_timeout exists in board
13739         setting.
13740         * README: Document gdb_reverse_timeout.
13741
13742 2014-05-20  Yao Qi  <yao@codesourcery.com>
13743
13744         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13745         'test_file_name'.  Treat args as a string instead of a list.
13746         (gdb_init): Rename argument 'args' by 'test_file_name'.
13747
13748 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
13749
13750         * gdb.arch/powerpc-power.exp: New file.
13751         * gdb.arch/powerpc-power.s: New file.
13752
13753 2014-05-16  Doug Evans  <dje@google.com>
13754
13755         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
13756         * gdb.base/completion.exp: Check that all expected files exist
13757         before doing file completion.
13758
13759 2014-05-16  Doug Evans  <dje@google.com>
13760
13761         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13762         Update.
13763         (do_syscall_tests_without_xml): Update.
13764
13765 2014-05-16  Pedro Alves  <palves@redhat.com>
13766
13767         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13768         instead of "unknown output after running".
13769
13770 2014-05-16  Yao Qi  <yao@codesourcery.com>
13771
13772         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
13773         file1.txt from host at the end.
13774         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13775
13776 2014-05-15  Doug Evans  <dje@google.com>
13777
13778         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13779         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13780         loading file.  Add test for TU lookup.
13781
13782 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
13783
13784         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13785         calling "-exec-arguments" or "set args" before running the
13786         inferior.
13787
13788 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
13789
13790         * lib/mi-support.exp (mi_expect_stop): Expect message for
13791         inferiors that exit with non-zero exit code.
13792
13793 2014-05-14  Yao Qi  <yao@codesourcery.com>
13794
13795         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13796         match absolute path on remote host.
13797         (test_file_list_exec_source_files): Remove "/" from the
13798         pattern.
13799
13800 2014-05-14  Yao Qi  <yao@codesourcery.com>
13801
13802         * boards/local-remote-host-notty.exp (${board}_file): New
13803         proc.
13804
13805 2014-05-07  Kyle McMartin  <kyle@redhat.com>
13806
13807         Pushed by Joel Brobecker  <brobecker@adacore.com>.
13808         * gdb.arch/aarch64-atomic-inst.c: New file.
13809         * gdb.arch/aarch64-atomic-inst.exp: New file.
13810
13811 2014-05-07  Yao Qi  <yao@codesourcery.com>
13812
13813         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13814         in current context" too.
13815
13816 2014-05-05  Keith Seitz  <keiths@redhat.com>
13817
13818         * gdb.linespec/ls-dollar.exp: Add test for linespec
13819         file:convenience_variable.
13820
13821 2014-05-05  Yao Qi  <yao@codesourcery.com>
13822
13823         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13824         traceframes into tfile and ctf trace files.  Read data from
13825         trace file and test collected data.
13826         (gdb_collect_locals_test): Likewise.
13827         (gdb_unavailable_registers_test): Likewise.
13828         (gdb_unavailable_floats): Likewise.
13829         (gdb_collect_globals_test): Likewise.
13830         (top-level): Append "ctf" to trace_file_targets if GDB
13831         supports.
13832
13833 2014-05-05  Yao Qi  <yao@codesourcery.com>
13834
13835         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13836         code to ...
13837         (gdb_collect_args_test_1): ... it.  New proc.
13838         (gdb_collect_locals_test): Move some code to ...
13839         (gdb_collect_locals_test_1): ... it.  New proc.
13840         (gdb_unavailable_registers_test): Move some code to ...
13841         (gdb_unavailable_registers_test_1): ... it.  New proc.
13842         (gdb_unavailable_floats): Move some code to ...
13843         (gdb_unavailable_floats_1): ... it.  New proc.
13844
13845 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
13846
13847         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13848         probes to test for bitness recognition.
13849         * gdb.arch/amd64-stap-optional-prefix.exp
13850         (test_probe_value_without_reg): New procedure.
13851         Add code to test for different kinds of bitness.
13852
13853 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
13854
13855         PR breakpoints/16889
13856         * gdb.arch/amd64-stap-optional-prefix.S: New file.
13857         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13858
13859 2014-05-01  Pedro Alves  <palves@redhat.com>
13860
13861         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
13862         gdb_file_cmd if no file is specified.
13863         * boards/native-extended-gdbserver.exp (gdb_load): Use the
13864         last_loaded_file to set the remote exec-file.
13865
13866 2014-05-01  Pedro Alves  <palves@redhat.com>
13867
13868         * boards/local-remote-host.exp: New file.
13869
13870 2014-05-01  Pedro Alves  <palves@redhat.com>
13871
13872         * boards/local-remote-host.exp: Rename to ...
13873         * boards/local-remote-host-notty.exp: ... this.
13874
13875 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
13876
13877         * gdb.ada/dyn_arrayidx: New testcase.
13878
13879 2014-04-26  Yao Qi  <yao@codesourcery.com>
13880
13881         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
13882         and compute the length of function main.  Save it in
13883         $main_length.
13884         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13885         (top-level): Use gdb_compile to compile objects into
13886         executable and restart GDB.  Remove invocation to
13887         prepare_for_testing.
13888
13889 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
13890             Pedro Alves  <palves@redhat.com>
13891
13892         PR server/16255
13893         * gdb.multi/multi-attach.c: New file.
13894         * gdb.multi/multi-attach.exp: New file.
13895
13896 2014-04-25  Pedro Alves  <palves@redhat.com>
13897
13898         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13899         user.
13900         (top level): Test that "set remote conditional-breakpoints-packet
13901         off" works as intended.
13902         * gdb.base/dprintf.exp: Test that "set remote
13903         breakpoint-commands-packet off" works as intended.
13904         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13905         New function.
13906         (top level): Call it.
13907         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13908         remote fast-tracepoints-packet off" works as intended.
13909         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13910         * lib/gdb.exp (gdb_is_target_remote): ... here.
13911
13912 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13913
13914         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13915         ensure clang would not discard them.
13916         * gdb.base/gdbvars.c: Ditto.
13917         * gdb.base/memattr.c: Ditto.
13918         * gdb.base/whatis.c: Ditto.
13919         * gdb.python/py-prettyprint.c: Ditto.
13920         * gdb.trace/actions.c: Ditto.
13921         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13922         ensure clang would not discard it.
13923
13924 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13925
13926         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13927         clang to emit the full definition of type required by the test
13928         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13929
13930 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13931
13932         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
13933         coax Clang into emitting the definition of the type.
13934         * gdb.cp/pr10728-x.h (y): Ditto.
13935         * gdb.cp/pr10728-y.cc (y): Ditto.
13936
13937 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13938
13939         * gdb.base/label.exp: XFAIL label related tests under Clang.
13940         * gdb.cp/cplabel.exp: Ditto.
13941         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
13942         under Clang those using labels.
13943
13944 2014-04-25  Yao Qi  <yao@codesourcery.com>
13945
13946         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
13947         double_label.
13948         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
13949         partial_label and double_label.
13950
13951 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13952
13953         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
13954
13955 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13956
13957         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
13958         of the function to work across GCC and Clang.
13959         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
13960         pointer types (const void ** const V void **).
13961
13962 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
13963             Walfred Tedeschi  <walfred.tedeschi@intel.com>
13964
13965         * Makefile.in (EXECUTABLES): Added i386-avx512.
13966         * gdb.arch/i386-avx512.c: New file.
13967         * gdb.arch/i386-avx512.exp: Likewise.
13968
13969 2014-04-23  Keith Seitz  <keiths@redhat.com>
13970
13971         * lib/mi-support.exp (mi_list_breakpoints): Delete.
13972         (mi_make_breakpoint_table): New procedure.
13973         (mi_create_breakpoint): Use mi_make_breakpoint
13974         and return the result.
13975         (mi_make_breakpoint): New procedure.
13976         (mi_build_kv_pairs): New procedure.
13977
13978         * gdb.mi/mi-break.exp: Remove unused globals,
13979         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
13980         All callers updated.
13981         * gdb.mi/mi-dprintf.exp: Use variable to track command
13982         number.
13983         Update all callers of mi_create_breakpoint and use
13984         mi_make_breakpoint_table.
13985         Remove any unused global variables.
13986         * gdb.mi/mi-nonstop.exp: Likewise.
13987         * gdb.mi/mi-nsintrall.exp: Likewise.
13988         * gdb.mi/mi-nsmoribund.exp: Likewise.
13989         * gdb.mi/mi-nsthrexec.exp: Likewise.
13990         * gdb.mi/mi-reverse.exp: Likewise.
13991         * gdb.mi/mi-simplerun.exp: Likewise.
13992         * gdb.mi/mi-stepn.exp: Likewise.
13993         * gdb.mi/mi-syn-frame.exp: Likewise.
13994         * gdb.mi/mi-until.exp: Likewise.
13995         * gdb.mi/mi-var-cp.exp: Likewise.
13996         * gdb.mi/mi-var-display.exp: Likewise.
13997         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
13998         * gdb.mi/mi2-var-child.exp: Likewise.
13999         * gdb.mi/mi-vla-c99.exp: Likewise.
14000         * lib/mi-support.exp: Likewise.
14001
14002         From Ian Lance Taylor  <iant@cygnus.com>:
14003         * lib/gdb.exp (parse_args): New procedure.
14004
14005 2014-04-23  Pedro Alves  <palves@redhat.com>
14006
14007         * gdb.base/break-unload-file.c: New file.
14008         * gdb.base/break-unload-file.exp: New file.
14009         * gdb.base/sym-file-lib.c (baz): New function.
14010         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
14011         field.
14012         (load): Store the segment's mapped size.
14013         (unload): New function.
14014         (unload_shlib): New function.
14015         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
14016         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
14017         set a breakpoint at baz, and call it.
14018         * gdb.base/sym-file.exp: New tests for stale breakpoint
14019         instructions.
14020
14021 2014-04-23  Pedro Alves  <palves@redhat.com>
14022
14023         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
14024         * gdb.base/hbreak-in-shr-unsupported.c: New file.
14025         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
14026         * gdb.base/hbreak-unmapped.c: New file.
14027         * gdb.base/hbreak-unmapped.exp: New file.
14028         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
14029         * lib/gdb.exp (gdb_is_target_remote): ... here.
14030
14031 2014-04-22  Pedro Alves  <palves@redhat.com>
14032
14033         * gdb.base/consecutive-step-over.c: New file.
14034         * gdb.base/consecutive-step-over.exp: New file.
14035
14036 2014-04-22  Pedro Alves  <palves@redhat.com>
14037
14038         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
14039         instead of send_gdb/gdb_expect.
14040
14041 2014-04-22  Yao Qi  <yao@codesourcery.com>
14042
14043         * lib/trace-support.exp (generate_tracefile): New procedure.
14044         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
14045         return 0.
14046         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
14047         if generate_tracefile returns 1.
14048
14049 2014-04-18  Tom Tromey  <palves@redhat.com>
14050             Pedro alves  <tromey@redhat.com>
14051
14052         PR backtrace/15558
14053         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
14054         with a backtrace limit.
14055         * gdb.python/py-frame-inline.exp: Test running to an inline
14056         function with a backtrace limit, and printing the newest frame.
14057         * gdb.python/py-frame-inline.c (main): Call f.
14058
14059 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14060
14061         * gdb.java/jnpe.exp: Drop srcdir from untested path.
14062
14063 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14064
14065         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
14066         Drop prefix from unsupported source file path.
14067
14068 2014-04-17  Yao Qi  <yao@codesourcery.com>
14069
14070         * lib/gdb.exp (with_target_charset): New proc.
14071         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
14072         with_target_charset.
14073         (test_print_strings): Likewise.
14074         (test_repeat_bytes): Likewise.
14075         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14076         for some tests.
14077
14078 2014-04-16  Keith Seitz  <keiths@redhat.com>
14079
14080         PR gdb/15827
14081         * gdb.dwarf2/corrupt.c: New file.
14082         * gdb.dwarf2/corrupt.exp: New file.
14083
14084 2014-04-16  Keith Seitz  <keiths@redhat.com>
14085
14086         PR c++/16597
14087         * gdb.cp/namelessclass.cc: New file.
14088         * gdb.cp/namelessclass.exp: New file.
14089         * gdb.cp/namelessclass.S: New file.
14090
14091 2014-04-16  Doug Evans  <dje@google.com>
14092
14093         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
14094         Add comment.
14095         (gdbserver_default_get_comm_port): New function.
14096         (gdbserver_start): Check if board file provided
14097         "gdbserver,get_comm_port" and use it if so.
14098         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
14099         (gdb,socketport): Set to "stdio".
14100         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
14101         (stdio_gdbserver_template): Delete.
14102         (${board}_get_remote_address): Update.
14103         (${board}_build_remote_cmd): Delete.
14104         (${board}_get_comm_port): New function.
14105         (${board}_spawn): Update.
14106         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
14107         Delete.
14108         (${board}_get_remote_address): Update.
14109         (${board}_get_comm_port): New function.
14110
14111 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
14112
14113         * gdb.base/memattr.exp: Improve regexps to handle memory regions
14114         appearing in any order.
14115
14116 2014-04-15  Doug Evans  <dje@google.com>
14117
14118         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
14119         uninitialized value of "description".
14120
14121 2014-04-15  Keith Seitz  <keiths@redhat.com>
14122
14123         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
14124         Remove unused globals.
14125         (test_running_the_program): Likewise.
14126         (test_controlled_execution): Likewise.
14127         (test_controlling_breakpoints): Likewise.
14128         (test_program_termination): Likewise.
14129
14130 2014-04-15  Keith Seitz  <keiths@redhat.com>
14131
14132         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
14133         unused globals.
14134         (test_rbreak_creation_and_listing): Likewise.
14135         (test_ignore_count): Likewise.
14136         (test_error): Likewise.
14137
14138 2014-04-15  Pedro Alves  <palves@redhat.com>
14139
14140         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
14141         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
14142         sym-file-loader.c.
14143         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14144         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14145         to sym-file-loader.c.
14146         (struct library): Forward declare.
14147         (load_shlib, lookup_function): Change prototypes.
14148         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14149         (translate_offset): Remove declarations.
14150         (get_text_addr): New declaration.
14151         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
14152         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
14153         sym-file-loader.h.
14154         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14155         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14156         here from sym-file-loader.h.
14157         (struct library): New structure.
14158         (load_shlib, lookup_function): Change prototypes and adjust to
14159         work with a struct library.
14160         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14161         (translate_offset): Make static.
14162         (get_text_addr): New function.
14163         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
14164
14165 2014-04-15  Pedro Alves  <palves@redhat.com>
14166
14167         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
14168
14169 2014-04-15  Pedro Alves  <palves@redhat.com>
14170
14171         * gdb.base/sym-file-loader.c: Include <limits.h>.
14172         (SELF_LINK): New define.
14173         (get_origin): New function.
14174         (load_shlib): Use it.
14175         * gdb.base/sym-file.exp: Don't early return if the target is
14176         remote.  Use runto_main, and issue fail is that fails.  Use
14177         gdb_load_shlibs.
14178         (shlib_name): Delete.
14179         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
14180
14181 2014-04-15  Pedro Alves <palves@redhat.com>
14182
14183         * gdb.base/sym-file.exp: Remove regex characters from test
14184         message.  Don't refer to breakpoint numbers in test messages.
14185
14186 2014-04-14  Keith Seitz  <keiths@redhat.com>
14187
14188         PR c++/16253
14189         * gdb.cp/var-tag.cc: New file.
14190         * gdb.cp/var-tag.exp: New file.
14191         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14192         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14193         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14194         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14195
14196 2014-04-14  Tom Tromey  <tromey@redhat.com>
14197
14198         * gdb.cp/classes.exp (test_enums): Handle underlying type.
14199         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
14200         type.
14201         * gdb.cp/enum-class.exp: New file.
14202         * gdb.cp/enum-class.cc: New file.
14203
14204 2014-04-14  Tom Tromey  <tromey@redhat.com>
14205
14206         * gdb.dwarf2/enum-type.exp: New file.
14207
14208 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14209
14210         * gdb.mi/mi-vla-c99.exp: New file.
14211         * gdb.mi/vla.c: New file.
14212
14213 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14214
14215         * gdb.base/vla-datatypes.c: New file.
14216         * gdb.base/vla-datatypes.exp: New file.
14217
14218 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14219
14220         * gdb.base/vla-ptr.c: New file.
14221         * gdb.base/vla-ptr.exp: New file.
14222
14223 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14224
14225         * gdb.dwarf2/count.exp: New file.
14226
14227 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14228
14229         * gdb.base/vla-sideeffect.c: New file.
14230         * gdb.base/vla-sideeffect.exp: New file.
14231
14232 2014-04-14  David Blaikie <dblaikie@gmail.com>
14233
14234         * gdb.mi/non-stop.c: Add return value for non-void function return
14235         statement.
14236         * gdb.threads/staticthreads.c: Ditto.
14237
14238 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
14239             Doug Evans  <xdje42@gmail.com>
14240
14241         * gdb.guile/scm-value.c: Improve test case.
14242         * gdb.guile/scm-value.exp: Add new test.
14243
14244 2014-04-11  David Blaikie  <dblaikie@gmail.com>
14245
14246         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
14247         override Clang's default.
14248
14249 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
14250
14251         Revert the following changes (regressions):
14252
14253         * gdb.base/vla-sideeffect.c: New file.
14254         * gdb.base/vla-sideeffect.exp: New file.
14255
14256         * gdb.dwarf2/count.exp: New file.
14257
14258         * gdb.base/vla-multi.c: New file.
14259         * gdb.base/vla-multi.exp: New file.
14260
14261         * gdb.base/vla-ptr.c: New file.
14262         * gdb.base/vla-ptr.exp: New file.
14263
14264         * gdb.base/vla-datatypes.c: New file.
14265         * gdb.base/vla-datatypes.exp: New file.
14266
14267         * gdb.mi/mi-vla-c99.exp: New file.
14268         * gdb.mi/vla.c: New file.
14269
14270 2014-04-11  Keith Seitz  <keiths@redhat.com>
14271
14272         PR c++/16675
14273         * gdb.cp/cpsizeof.exp: New file.
14274         * gdb.cp/cpsizeof.cc: New file.
14275
14276 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14277
14278         * gdb.mi/mi-vla-c99.exp: New file.
14279         * gdb.mi/vla.c: New file.
14280
14281 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14282
14283         * gdb.base/vla-datatypes.c: New file.
14284         * gdb.base/vla-datatypes.exp: New file.
14285
14286 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14287
14288         * gdb.base/vla-ptr.c: New file.
14289         * gdb.base/vla-ptr.exp: New file.
14290
14291 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14292
14293         * gdb.base/vla-multi.c: New file.
14294         * gdb.base/vla-multi.exp: New file.
14295
14296 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14297
14298         * gdb.dwarf2/count.exp: New file.
14299
14300 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14301
14302         * gdb.base/vla-sideeffect.c: New file.
14303         * gdb.base/vla-sideeffect.exp: New file.
14304
14305 2014-04-11  Yao Qi  <yao@codesourcery.com>
14306
14307         * gdb.base/completion.exp: Check file exists before running tests
14308         on file completion.
14309
14310 2014-04-10  Pedro Alves  <palves@redhat.com>
14311
14312         * gdb.base/cond-eval-mode.c: New file.
14313         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
14314         prepare_for_testing to build the new file.  Check result of
14315         runto_main.
14316         (test_break, test_watch): New procedures.
14317         (top level): Use them.
14318
14319 2014-04-08  Pierre Muller  <muller@sourceware.org>
14320
14321         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
14322         Ctrl-V use for mingw hosts.
14323
14324 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
14325
14326         * gdb.python/py-value.c: Improve test case.
14327         * gdb.python/py-value.exp: Add new test.
14328
14329 2014-04-07  David Blaikie  <dblaikie@gmail.com>
14330
14331         * lib/compiler.c: Identify the clang compiler.
14332         * lib/compiler.cc: Ditto.
14333
14334 2014-04-03  Yao Qi  <yao@codesourcery.com>
14335
14336         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
14337
14338 2014-04-01  Anton Blanchard  <anton@samba.org>
14339
14340         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
14341         messages unique.
14342
14343 2014-04-01  Anton Blanchard  <anton@samba.org>
14344
14345         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
14346         prepare_for_testing.
14347
14348 2014-04-01  Anton Blanchard  <anton@samba.org>
14349
14350         * gdb.arch/ppc64-atomic-inst.c: Remove.
14351         * gdb.arch/ppc64-atomic-inst.S: New file.
14352         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
14353
14354 2014-03-31  Doug Evans  <dje@google.com>
14355
14356         * gdb.base/print-symbol-loading-lib.c: New file.
14357         * gdb.base/print-symbol-loading-main.c: New file.
14358         * gdb.base/print-symbol-loading.exp: New file.
14359
14360 2014-03-31  Yao Qi  <yao@codesourcery.com>
14361
14362         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
14363
14364 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
14365
14366         * gdb.ada/mi_dyn_arr: New testcase.
14367
14368 2014-03-27  Doug Evans  <dje@google.com>
14369
14370         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
14371
14372 2014-03-27  Yao Qi  <yao@codesourcery.com>
14373
14374         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
14375         if target is nios2-*-*.
14376
14377 2014-03-26  Yao Qi  <yao@codesourcery.com>
14378
14379         * lib/gdb.exp (readline_is_used): New proc.
14380         * gdb.base/completion.exp: Move tests on command complete up.
14381         Skip the rest of tests if readline is not used.
14382         * gdb.ada/complete.exp: Skp the test if readline is not
14383         used.
14384         * gdb.base/filesym.exp: Likewise.
14385         * gdb.base/macscp.exp: Likewise.
14386         * gdb.base/readline-ask.exp: Likewise.
14387         * gdb.base/readline.exp: Likewise.
14388         * gdb.python/py-cmd.exp: Likewise.
14389         * gdb.trace/tfile.exp: Likewise.
14390
14391 2014-03-26  Yao Qi  <yao@codesourcery.com>
14392
14393         * gdb.base/macscp.exp: Fix code format issues.
14394
14395 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
14396
14397         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14398         * gdb.asm/powerpc64le.inc: New file.
14399
14400 2014-03-25  Pedro Alves  <palves@redhat.com>
14401             Doug Evans  <dje@google.com>
14402
14403         * gdb.base/source-execution.c: New file.
14404         * gdb.base/source-execution.exp: New file.
14405         * gdb.base/source-execution.gdb: New file.
14406
14407 2014-03-24  Doug Evans  <dje@google.com>
14408
14409         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14410         using fission.
14411
14412 2014-03-24  Hui Zhu  <hui@codesourcery.com>
14413             Pedro Alves  <palves@redhat.com>
14414
14415         PR breakpoints/16101
14416         * gdb.base/dprintf.exp: Use unsupported rather than changing the
14417         test pass/fail messages.  Detect missing support for dprintf when
14418         breakpoints are actually inserted.
14419         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14420         breakpoints are actually inserted.
14421         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14422         fails.
14423
14424 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
14425
14426         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14427
14428 2014-03-22  Doug Evans  <xdje42@gmail.com>
14429
14430         * gdb.python/python.exp (python not supported): Verify multi-line
14431         python command issues an error.
14432         * gdb.guile/guile.exp (guile not supported): Verify multi-line
14433         guile command issues an error.
14434
14435 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
14436
14437         * gdb.threads/thread-specific.exp: Handle the lack of usable
14438         $this_breakpoint and $this_thread.
14439
14440 2014-03-21  Hui Zhu  <hui@codesourcery.com>
14441
14442         * gdb.base/attach.exp (do_command_attach_tests): New.
14443
14444 2014-03-20  Tom Tromey  <tromey@redhat.com>
14445             Pedro Alves  <palves@redhat.com>
14446
14447         PR cli/15718
14448         * gdb.base/condbreak-call-false.c: New file.
14449         * gdb.base/condbreak-call-false.exp: New file.
14450
14451 2014-03-20  Pedro Alves  <palves@redhat.com>
14452
14453         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14454         Delete.
14455         (block_signals, unblock_signals): Delete.
14456         (child_function_2, main): Remove references to deleted variable
14457         and functions.
14458
14459 2014-03-20  Pedro Alves  <palves@redhat.com>
14460
14461         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14462         Use pthread_kill to signal thread 2.
14463         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14464         Adjust to make the test send itself a signal rather than using the
14465         host's "kill" command.
14466
14467 2014-03-20  Pedro Alves  <palves@redhat.com>
14468
14469         * gdb.threads/multiple-step-overs.c: New file.
14470         * gdb.threads/multiple-step-overs.exp: New file.
14471         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14472         Adjust expected infrun debug output.
14473
14474 2014-03-20  Pedro Alves  <palves@redhat.com>
14475
14476         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14477         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
14478
14479 2014-03-20  Pedro Alves  <palves@redhat.com>
14480
14481         PR breakpoints/7143
14482         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
14483         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
14484         of gdb_test_multiple.
14485         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
14486         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
14487
14488 2014-03-20  Pedro Alves  <palves@redhat.com>
14489
14490         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14491         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14492
14493 2014-03-19  Pedro Alves  <palves@redhat.com>
14494
14495         * gdb.base/async.exp: Remove early return.
14496
14497 2014-03-19  Pedro Alves  <palves@redhat.com>
14498
14499         * gdb.base/async.exp (step& tests): Pass explicit test messages.
14500
14501 2014-03-19  Pedro Alves  <palves@redhat.com>
14502
14503         * gdb.base/async.exp (test_background): Expect \r\n after
14504         "completed." in the fail pattern.
14505
14506 2014-03-19  Pedro Alves  <palves@redhat.com>
14507
14508         * gdb.base/async.exp (test_background): New procedure.
14509         Use it for all background execution command tests.
14510
14511 2014-03-19  Pedro Alves  <palves@redhat.com>
14512
14513         * gdb.base/async.exp: Use prepare_for_testing.
14514
14515 2014-03-19  Pedro Alves  <palves@redhat.com>
14516
14517         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
14518         the same line.
14519
14520 2014-03-19  Pedro Alves  <palves@redhat.com>
14521
14522         * gdb.base/async.c (main): Add "jump here" and "until here" line
14523         marker comments.
14524         * gdb.base/async.exp (jump_here): New global.
14525         (jump& test): Use it.
14526         (until_here): New global.
14527         (until& test): Use it.
14528
14529 2014-03-19  Pedro Alves  <palves@redhat.com>
14530
14531         * gdb.base/async.exp: Don't frob gdb_protocol.
14532
14533 2014-03-18  Doug Evans  <xdje42@gmail.com>
14534
14535         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
14536         Fix spelling of exec-done-display.
14537
14538 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
14539
14540         PR gdb/15358
14541         * gdb.base/gdb-sigterm.c: New file.
14542         * gdb.base/gdb-sigterm.exp: New file.
14543
14544 2014-03-18  Pedro Alves  <palves@redhat.com>
14545
14546         PR gdb/13860
14547         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14548         * lib/mi-support.exp (mi_expect_stop): Add special handling for
14549         solib-event.
14550
14551 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
14552
14553         * gdb.ada/pckd_arr_ren: New testcase.
14554
14555 2014-03-13  Doug Evans  <xdje42@gmail.com>
14556
14557         PR guile/16612
14558         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14559         collect after discarding symbols.
14560
14561 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
14562             Doug Evans  <xdje42@gmail.com>
14563
14564         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14565         to history survives a gc.
14566
14567 2014-03-13  Pedro Alves  <palves@redhat.com>
14568
14569         * gdb.base/default.exp: Don't test "target procfs".
14570
14571 2014-03-13  Pedro Alves  <palves@redhat.com>
14572
14573         * gdb.base/default.exp: Update "target child" and "target procfs"
14574         tests to not expect "Unix".
14575
14576 2014-03-12  Tom Tromey  <tromey@redhat.com>
14577
14578         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14579         New procs.  Add target-async tests.
14580         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14581         Add target-async tests.
14582
14583 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14584
14585         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14586         'func_start' and 'func_end' for the beginning and end of the
14587         function code, respectively.
14588         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14589         'func_end' instead of 'func' and 'main'.
14590
14591 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14592
14593         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14594         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14595         generate the debug info assembler source.
14596
14597 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14598
14599         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14600         * gdb.dwarf2/arr-subrange.exp: Likewise.
14601         * gdb.dwarf2/dwz.exp: Likewise.
14602         * gdb.dwarf2/method-ptr.exp: Likewise.
14603         * gdb.dwarf2/missing-sig-type.exp: Likewise.
14604         * gdb.dwarf2/subrange.exp: Likewise.
14605         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14606         * gdb.dwarf2/implptrpiece.exp: Likewise.
14607         * gdb.dwarf2/nostaticblock.exp: Likewise.
14608
14609 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14610
14611         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14612         directory to absolute path name arguments.
14613
14614 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
14615
14616         * gdb.ada/tagged_access: New testcase.
14617
14618 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
14619
14620         * gdb.btrace/data.exp: Update expected output.
14621
14622 2014-03-06  Yao Qi  <yao@codesourcery.com>
14623
14624         * gdb.trace/pr16508.exp: New file.
14625
14626 2014-03-05  Pedro Alves  <palves@redhat.com>
14627
14628         PR gdb/16575
14629         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14630         procedure.
14631         (top level): Adjust to use it.  Add tests that exercise breakpoint
14632         interaction with the code-cache.
14633
14634 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
14635
14636         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14637         test for 'history-append!'.
14638
14639 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14640
14641         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14642         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14643         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14644         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14645         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14646         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14647
14648 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14649
14650         * testsuite/gdb.python/py-pp-re-notag.c: New file.
14651         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14652         * testsuite/gdb.python/py-pp-re-notag.p: New file.
14653
14654 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14655
14656         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14657
14658 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14659
14660         * gdb.dwarf2/arr-stride.c: New file.
14661         * gdb.dwarf2/arr-stride.exp: New file.
14662
14663 2014-02-26  Pedro Alves  <palves@redhat.com>
14664
14665         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14666         that won't ever trigger.  Make sure that GDB reports the correct
14667         breakpoint that caused the stop.
14668
14669 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14670
14671         PR gdb/16626
14672         * gdb.base/auto-load-script: New file.
14673         * gdb.base/auto-load.c: New file.
14674         * gdb.base/auto-load.exp: New file.
14675
14676         PR gdb/16626
14677         * gdb.base/auto-load.exp: Fix out-of-srctree run.
14678
14679 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14680
14681         Fix dw2-icycle.exp -fsanitize=address GDB crash.
14682         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14683
14684 2014-02-24  Doug Evans  <dje@google.com>
14685
14686         * lib/gdb.exp (run_on_host): Log error output if program fails.
14687
14688 2014-02-21  Pedro Alves  <palves@redhat.com>
14689
14690         * gdb.threads/step-after-sr-lock.c: Rename to ...
14691         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14692         * gdb.threads/step-after-sr-lock.exp: Rename to ...
14693         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14694         ... this.
14695
14696 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
14697
14698         PR tdep/16397
14699         * gdb.arch/amd64-stap-special-operands.exp: New file.
14700         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14701         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14702         * gdb.arch/amd64-stap-triplet.S: Likewise.
14703         * gdb.arch/amd64-stap-triplet.c: Likewise.
14704
14705 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
14706
14707         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14708         in .section pseudo-op.
14709
14710 2014-02-20  lin zuojian  <manjian2006@gmail.com>
14711             Joel Brobecker  <brobecker@adacore.com>
14712             Doug Evans  <xdje42@gmail.com>
14713
14714         PR symtab/16581
14715         * gdb.dwarf2/dw2-icycle.S: New file.
14716         * gdb.dwarf2/dw2-icycle.c: New file.
14717         * gdb.dwarf2/dw2-icycle.exp: New file.
14718
14719 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
14720
14721         * gdb.python/py-value-cc.cc: Improve test case to enable testing
14722         operations on gdb.Value objects.
14723         * gdb.python/py-value-cc.exp: Add new test to test operations on
14724         gdb.Value objects.
14725
14726 2014-02-18  Doug Evans  <dje@google.com>
14727
14728         * Makefile.in (TESTS): New variable.
14729         (expanded_tests, expanded_tests_or_none): New variables
14730         (check-single): Pass $(expanded_tests_or_none) to runtest.
14731         (check-parallel): Only run tests in $(TESTS) if non-empty.
14732         (check/no-matching-tests-found): New rule.
14733         * README: Document TESTS makefile variable.
14734
14735 2014-02-18  Doug Evans  <dje@google.com>
14736
14737         * Makefile.in (check-parallel): rm -rf outputs temp.
14738
14739 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
14740
14741         Fix "ERROR: no fileid for" in the testsuite.
14742         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14743
14744 2014-02-12  Doug Evans  <dje@google.com>
14745
14746         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14747         (MISCELLANEOUS): New variable.
14748         (clean): rm -rf $(MISCELLANEOUS).
14749         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14750         dwp live in the same directory as symlinks, with each symlink pointed
14751         to a differently named file in a different directory.
14752
14753 2014-02-11  Doug Evans  <dje@google.com>
14754
14755         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14756         of Tcl file commands.
14757
14758 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
14759
14760         * gdb.threads/step-after-sr-lock.exp: Avoid executing
14761         "kill -SIGUSR1 -1".
14762
14763 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
14764
14765         * gdb.ada/tick_length_array_enum_idx: New testcase.
14766
14767 2014-02-10  Doug Evans  <xdje42@gmail.com>
14768
14769         * configure.ac (AC_OUTPUT): Add gdb.guile.
14770         * configure: Regenerate.
14771         * lib/gdb-guile.exp: New file.
14772         * lib/gdb.exp (get_target_charset): New function.
14773         * gdb.base/help.exp: Update expected output from "apropos apropos".
14774         * gdb.guile/Makefile.in: New file.
14775         * gdb.guile/guile.exp: New file.
14776         * gdb.guile/scm-arch.c: New file.
14777         * gdb.guile/scm-arch.exp: New file.
14778         * gdb.guile/scm-block.c: New file.
14779         * gdb.guile/scm-block.exp: New file.
14780         * gdb.guile/scm-breakpoint.c: New file.
14781         * gdb.guile/scm-breakpoint.exp: New file.
14782         * gdb.guile/scm-disasm.c: New file.
14783         * gdb.guile/scm-disasm.exp: New file.
14784         * gdb.guile/scm-equal.c: New file.
14785         * gdb.guile/scm-equal.exp: New file.
14786         * gdb.guile/scm-error.exp: New file.
14787         * gdb.guile/scm-error.scm: New file.
14788         * gdb.guile/scm-frame-args.c: New file.
14789         * gdb.guile/scm-frame-args.exp: New file.
14790         * gdb.guile/scm-frame-args.scm: New file.
14791         * gdb.guile/scm-frame-inline.c: New file.
14792         * gdb.guile/scm-frame-inline.exp: New file.
14793         * gdb.guile/scm-frame.c: New file.
14794         * gdb.guile/scm-frame.exp: New file.
14795         * gdb.guile/scm-generics.exp: New file.
14796         * gdb.guile/scm-gsmob.exp: New file.
14797         * gdb.guile/scm-iterator.c: New file.
14798         * gdb.guile/scm-iterator.exp: New file.
14799         * gdb.guile/scm-math.c: New file.
14800         * gdb.guile/scm-math.exp: New file.
14801         * gdb.guile/scm-objfile-script-gdb.in: New file.
14802         * gdb.guile/scm-objfile-script.c: New file.
14803         * gdb.guile/scm-objfile-script.exp: New file.
14804         * gdb.guile/scm-objfile.c: New file.
14805         * gdb.guile/scm-objfile.exp: New file.
14806         * gdb.guile/scm-ports.exp: New file.
14807         * gdb.guile/scm-pretty-print.c: New file.
14808         * gdb.guile/scm-pretty-print.exp: New file.
14809         * gdb.guile/scm-pretty-print.scm: New file.
14810         * gdb.guile/scm-section-script.c: New file.
14811         * gdb.guile/scm-section-script.exp: New file.
14812         * gdb.guile/scm-section-script.scm: New file.
14813         * gdb.guile/scm-symbol.c: New file.
14814         * gdb.guile/scm-symbol.exp: New file.
14815         * gdb.guile/scm-symtab-2.c: New file.
14816         * gdb.guile/scm-symtab.c: New file.
14817         * gdb.guile/scm-symtab.exp: New file.
14818         * gdb.guile/scm-type.c: New file.
14819         * gdb.guile/scm-type.exp: New file.
14820         * gdb.guile/scm-value-cc.cc: New file.
14821         * gdb.guile/scm-value-cc.exp: New file.
14822         * gdb.guile/scm-value.c: New file.
14823         * gdb.guile/scm-value.exp: New file.
14824         * gdb.guile/source2.scm: New file.
14825         * gdb.guile/types-module.cc: New file.
14826         * gdb.guile/types-module.exp: New file.
14827
14828 2014-02-10  Yao Qi  <yao@codesourcery.com>
14829
14830         PR testsuite/16543
14831         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14832         * configure: Regenerated.
14833         * Makefile.in: New file.
14834
14835 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
14836
14837         * gdb.python/py-framefilter.exp: Fix typo.
14838
14839 2014-02-08  Yao Qi  <yao@codesourcery.com>
14840
14841         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14842         that no =breakpoint-modified is emitted when breakpoints are
14843         modified through MI commands.
14844
14845 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
14846             Pedro Alves  <palves@redhat.com>
14847
14848         * gdb.threads/step-after-sr-lock.c: New file.
14849         * gdb.threads/step-after-sr-lock.exp: New file.
14850
14851 2014-02-07  Pedro Alves  <palves@redhat.com>
14852
14853         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14854
14855 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
14856
14857         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14858         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14859
14860 2014-02-06  Doug Evans  <xdje42@gmail.com>
14861
14862         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14863         output.
14864
14865         * gdb.gdb/python-interrupts.exp: New file.
14866
14867 2014-02-05  Yao Qi  <yao@codesourcery.com>
14868
14869         * gdb.trace/report.exp (use_collected_data): Test the output
14870         of "info threads" and "info inferiors".
14871
14872 2014-02-05  Yao Qi  <yao@codesourcery.com>
14873
14874         Revert this patch:
14875
14876         2013-05-24  Yao Qi  <yao@codesourcery.com>
14877
14878         * gdb.trace/tfile.exp: Test inferior and thread.
14879
14880 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14881
14882         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14883         on a function.
14884         * gdb.base/step-bt.c: Call hello via function pointer to make
14885         sure its first instruction is executed on powerpc64le-linux.
14886
14887 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14888
14889         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14890
14891 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14892
14893         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
14894         of the test patterns for use on little-endian systems.
14895
14896 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14897
14898         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14899         (decimal_vector): Fix for little-endian.
14900
14901 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
14902
14903         * gdb.arch/sparc-sysstep.exp: New file.
14904         * gdb.arch/sparc-sysstep.c: Likewise.
14905
14906         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14907
14908 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
14909
14910         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14911
14912 2014-01-23  Tom Tromey  <tromey@redhat.com>
14913
14914         * gdb.ada/array_char_idx: New testcase.
14915
14916 2014-01-23  Tom Tromey  <tromey@redhat.com>
14917
14918         PR python/16487:
14919         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14920         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14921         classes.
14922
14923 2014-01-23  Tom Tromey  <tromey@redhat.com>
14924
14925         PR python/16491:
14926         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14927         string from an inferior frame.
14928         * gdb.python/py-framefilter-mi.exp: Update.
14929
14930 2014-01-22  Doug Evans  <dje@google.com>
14931
14932         * gdb.server/server-mon.exp: Add tests for "set debug-format".
14933
14934 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14935
14936         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
14937
14938 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14939
14940         * gdb.trace/entry-values.exp: Remove excess space character from
14941         regex patterns.  Handle s390 call instruction.
14942
14943 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14944
14945         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
14946         define "*_start" label.  Make "name" static.
14947         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
14948         ${name} by references to ${name}_start.
14949
14950 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14951
14952         * gdb.base/info-macros.exp: Remove "debug" from the compile
14953         options.
14954
14955 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
14956
14957         * gdb.dlang/demangle.exp: New file.
14958
14959 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
14960
14961         * gdb.dlang/primitive-types.exp: New file.
14962
14963 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
14964
14965         * configure.ac: Create gdb.dlang/Makefile.
14966         * configure: Regenerate.
14967         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
14968         * gdb.dlang/Makefile.in: New file.
14969         * lib/d-support.exp: New file.
14970         * lib/gdb.exp (skip_d_tests): New proc.
14971
14972 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14973
14974         * gdb.btrace/delta.exp: Check reverse stepi.
14975         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
14976         * gdb.btrace/finish.exp: New.
14977         * gdb.btrace/next.exp: New.
14978         * gdb.btrace/nexti.exp: New.
14979         * gdb.btrace/record_goto.c: Add comments.
14980         * gdb.btrace/step.exp: New.
14981         * gdb.btrace/stepi.exp: New.
14982         * gdb.btrace/multi-thread-step.c: New.
14983         * gdb.btrace/multi-thread-step.exp: New.
14984         * gdb.btrace/rn-dl-bind.c: New.
14985         * gdb.btrace/rn-dl-bind.exp: New.
14986         * gdb.btrace/data.c: New.
14987         * gdb.btrace/data.exp: New.
14988         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
14989
14990 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14991
14992         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
14993         * gdb.btrace/exception.exp: Update.
14994         * gdb.btrace/instruction_history.exp: Update.
14995         * gdb.btrace/record_goto.exp: Update.
14996         * gdb.btrace/tailcall.exp: Update.
14997         * gdb.btrace/unknown_functions.exp: Update.
14998         * gdb.btrace/delta.exp: New.
14999
15000 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15001
15002         * gdb.btrace/record_goto.exp: Add backtrace test.
15003         * gdb.btrace/tailcall.exp: Add backtrace test.
15004
15005 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15006
15007         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
15008         * gdb.btrace/record_goto.c: New.
15009         * gdb.btrace/record_goto.exp: New.
15010         * gdb.btrace/x86-record_goto.S: New.
15011
15012 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15013
15014         * gdb.btrace/function_call_history.exp: Update tests.
15015         * gdb.btrace/instruction_history.exp: Update tests.
15016
15017 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15018
15019         * gdb.btrace/function_call_history.exp: Fix expected field
15020         order for "record function-call-history".
15021         Add new tests for "record function-call-history /c".
15022         * gdb.btrace/exception.cc: New.
15023         * gdb.btrace/exception.exp: New.
15024         * gdb.btrace/tailcall.exp: New.
15025         * gdb.btrace/x86-tailcall.S: New.
15026         * gdb.btrace/x86-tailcall.c: New.
15027         * gdb.btrace/unknown_functions.c: New.
15028         * gdb.btrace/unknown_functions.exp: New.
15029         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15030
15031 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15032
15033         * gdb.btrace/instruction_history.exp: Update.
15034         * gdb.btrace/function_call_history.exp: Update.
15035
15036 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15037
15038         * gdb.btrace/function_call_history.exp: Fix expected function
15039         trace.
15040         * gdb.btrace/instruction_history.exp: Initialize traced.
15041         Remove traced_functions.
15042
15043 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15044
15045         * gdb.btrace/function_call_history.exp: Update
15046         * gdb.btrace/instruction_history.exp: Update.
15047
15048 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15049
15050         * gdb.btrace/enable.exp: Update expected text.
15051
15052 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
15053
15054         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
15055         bytes.
15056
15057 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
15058
15059         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
15060
15061 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
15062
15063         * lib/gdb.exp (supports_process_record): Return true for
15064         arm*-linux*.  (supports_reverse): Likewise.
15065
15066 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
15067
15068         PR python/15464
15069         PR python/16113
15070         * gdb.python/py-type.c: Enhance test case.
15071         * gdb.python/py-value-cc.cc: Likewise
15072         * gdb.python/py-type.exp: Add new tests.
15073         * gdb.python/py-value-cc.exp: Likewise
15074
15075 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15076             Pedro Alves <palves@redhat.com>
15077
15078         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15079         Make "name" extern.
15080         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15081         references to ${name}_start by references to ${name}.
15082
15083 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15084
15085         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15086
15087 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15088
15089         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15090
15091 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
15092             Pedro Alves  <palves@redhat.com>
15093
15094         * gdb.mi/mi-info-os.exp: Connect to the target with
15095         mi_gdb_target_load.
15096
15097 2014-01-08  Pedro Alves  <palves@redhat.com>
15098
15099         * gdb.threads/reconnect-signal.c: New file.
15100         * gdb.threads/reconnect-signal.exp: New file.
15101
15102 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
15103
15104         * gdb.base/source-dir.exp: New file.
15105
15106 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15107
15108         * gdb.ada/mi_interface: New testcase.
15109
15110 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15111
15112         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
15113         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
15114         gdb.ada/pp-rec-component/pck.ads: New files.
15115
15116 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15117
15118         * gdb.python/py-pp-integral.c: New file.
15119         * gdb.python/py-pp-integral.py: New file.
15120         * gdb.python/py-pp-integral.exp: New file.
15121
15122 For older changes see ChangeLog-1993-2013.
15123 \f
15124 ;; Local Variables:
15125 ;; mode: change-log
15126 ;; left-margin: 8
15127 ;; fill-column: 74
15128 ;; version-control: never
15129 ;; End:
15130
15131     Copyright 2014-2018 Free Software Foundation, Inc.
15132   Copying and distribution of this file, with or without modification,
15133   are permitted provided the copyright notice and this notice are preserved.