gdb: Fix "info os <unknown>" command
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2018-12-21  Paul Marechal  <paul.marechal@ericsson.com>
2
3         PR gdb/23974
4         * gdb.base/info-os.exp: Check return for unknown "info os" type.
5
6 2018-12-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
7
8         * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
9         Update order of results accordingly.
10
11 2018-12-12  Andrew Burgess  <andrew.burgess@embecosm.com>
12
13         * gdb.base/annota1.exp: Update a test regexp.
14
15 2018-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
16
17         * gdb.base/float.exp: Handle RISC-V targets without an FPU.
18
19 2018-12-09  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
20
21         * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
22         (reuse_time): Initialize to REUSE_TIME_CAP.
23         (check_rc): New function.
24         (main): Use REUSE_TIME_CAP instead of hardcoded 60.
25         Check pthread_create rc.
26         (spawner_thread_func): Check pthread_create and pthread_join rc.
27
28 2018-12-08  Pedro Alves  <palves@redhat.com>
29
30         * gdb.base/list.exp (test_forward_search): Rename to ...
31         (test_forward_reverse_search): ... this.  Also test reverse-search
32         and the forward-search alias.
33
34 2018-12-05  Andrew Burgess  <andrew.burgess@embecosm.com>
35
36         * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
37         local timeout variable before return, and remove all local timeout
38         variable entirely.
39         (gdb_load): Likewise.
40
41 2018-12-01  Tom de Vries  <tdevries@suse.de>
42
43         * gdb.base/gdb-caching-proc.exp: New file.
44
45 2018-11-25  Sergio Durigan Junior  <sergiodj@redhat.com>
46
47         * Makefile.in (TIMESTAMP): New variable.
48         (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
49         command.
50         (check-single-racy): Likewise.
51         (check/%.exp): Likewise.
52         (check-racy/%.exp): Likewise.
53         (workers/%.worker): Likewise.
54         (build-perf): Likewise.
55         (check-perf): Likewise.
56         * README: Describe new "TS" and "TS_FORMAT" variables.
57         * print-ts.py: New file.
58
59 2018-11-21  Benno Fünfstück  <benno.fuenfstueck@gmail.com>
60
61         PR python/23714
62         * gdb.python/python.exp: Test command repetition after
63         gdb.execute.
64
65 2018-11-20  Andrew Burgess  <andrew.burgess@embecosm.com>
66
67         * gdb.opt/inline-break.exp: Add test that info breakpoint output
68         is correctly aligned.
69
70 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
71
72         * gdb.ada/info_auto_lang.exp: New testcase.
73         * gdb.ada/info_auto_lang/global_pack.ads: New file.
74         * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
75         * gdb.ada/info_auto_lang/some_c.c: New file.
76
77 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
78
79         * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
80         FUNC_lang language syntax.
81
82 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
83
84         * gdb.base/info_minsym.c: New file.
85         * gdb.base/info_minsym.exp: New file.
86
87 2018-11-19  Tom Tromey  <tom@tromey.com>
88
89         PR rust/23625:
90         * gdb.rust/simple.exp: Add ptype test.  Update expected output.
91         * gdb.rust/expr.exp: Update expected output.  Change one test.
92
93 2018-11-19  Tom Tromey  <tom@tromey.com>
94
95         * gdb.rust/simple.rs: Don't initialize empty_enum_value.
96
97 2018-11-19  Pedro Alves  <palves@redhat.com>
98
99         * gdb.base/warning.exp: Don't override INTERNAL_FLAGS.  Use
100         gdb_spawn_with_cmdline_opts instead of gdb_start.  Check that we
101         see the expected warning.
102
103 2018-11-16  Alan Hayward  <alan.hayward@arm.com>
104
105         PR gdb/22736:
106         * gdb.cp/infcall-nodebug-lib.c: New test.
107         * gdb.cp/infcall-nodebug-main.c: New test.
108         * gdb.cp/infcall-nodebug.exp: New file.
109
110 2018-11-12  Simon Marchi  <simon.marchi@polymtl.ca>
111
112         * gdb.base/skip.exp: Add standard_testfile.  Add "skip delete"
113         completer tests.
114
115 2018-11-09  Tom de Vries  <tdevries@suse.de>
116
117         * gdb.base/msym-lang.c: New test.
118         * gdb.base/msym-lang.exp: New file.
119         * gdb.base/msym-lang-main.c: New test.
120
121 2018-11-08  Tom Tromey  <tom@tromey.com>
122
123         PR gdb/23555:
124         PR gdb/23838:
125         * gdb.base/warning.exp: New file.
126
127 2018-11-08  Jan Beulich  <jbeulich@suse.com>
128
129         * testsuite/gdb.arch/i386-avx512.c,
130         testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
131
132 2018-11-08  Andrew Burgess  <andrew.burgess@embecosm.com>
133
134         * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
135         point hardware.
136
137 2018-11-07  Andrew Burgess  <andrew.burgess@embecosm.com>
138
139         * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
140         * gdb.dwarf2/missing-type-name.exp: New file.
141
142 2018-11-06  Tom de Vries  <tdevries@suse.de>
143
144         * gdb.base/many-headers.c: New test.
145         * gdb.base/many-headers.exp: New file.
146
147 2018-11-06  Jim Wilson  <jimw@sifive.com>
148
149         * gdb.base/code_elim.exp: For riscv, set additional_flags
150         to include -msmall-data-limit=0.
151
152 2018-11-01  Joel Brobecker  <brobecker@adacore.com>
153
154         * gdb.ada/watch_minus_l: New testcase.
155
156 2018-11-01  Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
157
158         * gdb.arch/aix-sighandle.c: New file.
159         * gdb.arch/aix-sighandle.exp: New file.
160
161 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
162
163         * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
164         registers being unions.
165
166 2018-10-31  Tom de Vries  <tdevries@suse.de>
167
168         * lib/valgrind.exp: New file.
169          (vgdb_start, vgdb_stop): New procs, factored out of ...
170         * gdb.base/valgrind-bt.exp: ... here, ...
171         * gdb.base/valgrind-disp-step.exp: ... here and ...
172         * gdb.base/valgrind-infcall.exp: ... here.
173
174 2018-10-31  Tom de Vries  <tdevries@suse.de>
175
176         * lib/gdb.exp (get_valueof): Don't output read value in test name.
177
178 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
179
180         * gdb.dwarf2/void-type.c: New file.
181         * gdb.dwarf2/void-type.exp: New file.
182
183 2018-10-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
184
185         * gdb.base/info_qt.c: New file.
186         * gdb.base/info_qt.exp: New file.
187
188 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
189
190         * gdb.arch/powerpc-htm-regs.c: New file.
191         * gdb.arch/powerpc-htm-regs.exp: New file.
192
193 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
194
195         * gdb.arch/powerpc-tar.c: New file.
196         * gdb.arch/powerpc-tar.exp: New file.
197
198 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
199
200         * gdb.arch/powerpc-ppr-dscr.c: New file.
201         * gdb.arch/powerpc-ppr-dscr.exp: New file.
202
203 2018-10-25  Tom de Vries  <tdevries@suse.de>
204
205         * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
206
207 2018-10-24  Tom de Vries  <tdevries@suse.de>
208
209         * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
210         longer exists error.
211
212 2018-10-24  Tom de Vries  <tdevries@suse.de>
213
214         * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
215
216 2018-10-24  Tom de Vries  <tdevries@suse.de>
217
218         * gdb.base/valgrind-db-attach.exp: Handle removed support for
219         --db-attach in valgrind.
220
221 2018-10-23  Andrew Burgess  <andrew.burgess@embecosm.com>
222
223         * gdb.arch/riscv-reg-aliases.c: New file.
224         * gdb.arch/riscv-reg-aliases.exp: New file.
225
226 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
227
228         * gdb.python/py-cmd.exp: Check for gdb_prompt.
229
230 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
231
232         * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
233
234 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
235
236         * gdb.cp/ovldbreak.exp: Fix regexps.
237
238 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
239
240         * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
241
242 2018-10-18  Sergio Durigan Junior  <sergiodj@redhat.com>
243
244         PR cli/23785
245         * gdb.base/restore.exp: New test to check if "restore" with an
246         invalid file doesn't segfault.
247
248 2018-10-18  Tom de Vries  <tdevries@suse.de>
249
250         * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
251         * gdb.ada/excep_handle.exp: Same.
252         * gdb.ada/mi_string_access.exp: Same.
253         * gdb.ada/mi_var_union.exp: Same.
254         * gdb.arch/arc-analyze-prologue.exp: Same.
255         * gdb.arch/arc-decode-insn.exp: Same.
256         * gdb.base/readnever.exp: Same.
257         * gdb.fortran/printing-types.exp: Same.
258         * gdb.guile/scm-lazy-string.exp: Same.
259
260 2018-10-16  Tom de Vries  <tdevries@suse.de>
261
262         PR gdb/23730
263         * gdb.base/catch-follow-exec.c: Add copyright notice.
264         * gdb.base/catch-follow-exec.exp: Rewrite to use
265         gdb_spawn_with_cmdline_opts.  Require gdb-native.
266
267 2018-10-12  Sandra Loosemore  <sandra@codesourcery.com>
268
269         * gdb.trace/actions-changed.exp: Check for arch support.
270         * gdb.trace/actions.exp: Likewise.
271         * gdb.trace/ax.exp: Likewise.
272         * gdb.trace/backtrace.exp: Likewise.
273         * gdb.trace/change-loc.exp: Likewise.
274         * gdb.trace/deltrace.exp: Likewise.
275         * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
276         * gdb.trace/ftrace.exp: Likewise.
277         * gdb.trace/infotrace.exp: Check for arch support.
278         * gdb.trace/mi-trace-frame-collected.exp: Likewise.
279         * gdb.trace/mi-tracepoint-changed.exp: Likewise.
280         * gdb.trace/mi-tsv-changed.exp: Likewise.
281         * gdb.trace/packetlen.exp: Likewise.
282         * gdb.trace/passc-dyn.exp: Likewise.
283         * gdb.trace/passcount.exp: Likewise.
284         * gdb.trace/pending.exp: Likewise.
285         * gdb.trace/range-stepping.exp: Check for shlib support.
286         * gdb.trace/report.exp: Check for arch support.
287         * gdb.trace/save-trace.exp: Likewise.
288         * gdb.trace/signal.exp: Check for signal support.
289         * gdb.trace/tfind.exp: Check for arch support.
290         * gdb.trace/trace-break.exp: Check for arch and shlib support.
291         * gdb.trace/trace-common.h: Add comment.
292         * gdb.trace/trace-condition.exp: Check for shlib and arch support.
293         * gdb.trace/trace-enable-disable.exp: Likewise.
294         * gdb.trace/trace-mt.exp: Likewise.  Remove redundant untested call.
295         * gdb.trace/tracecmd.exp: Check for arch support.
296         * gdb.trace/tspeed.exp: Check for shlib and target support.
297         * gdb.trace/tstatus.exp: Check for arch support.
298         * gdb.trace/tsv.exp: Likewise.
299         * gdb.trace/while-dyn.exp: Likewise.
300         * gdb.trace/while-stepping.exp: Likewise.
301         * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
302
303 2018-10-12  Simon Marchi  <simon.marchi@ericsson.com>
304
305         * gdb.trace/tspeed.exp: Remove nowarnings.
306         (prepare_for_trace_test): Declare "global ipalib".
307         * gdb.trace/tspeed.c: Include unistd.h.
308         (main): Remove superfluous printf argument.
309
310 2018-10-11  Sandra Loosemore  <sandra@codesourcery.com>
311
312         * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
313         directory prefix on the filename.
314
315 2018-10-10  Sergio Durigan Junior  <sergiodj@redhat.com>
316
317         * gdb.gdb/unittest.exp: Update expected message informing that
318         selftests have been disabled.
319         * gdb.server/unittest.exp: Likewise.
320
321 2018-10-09  Tom de Vries  <tdevries@suse.de>
322
323         * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
324         with runto_main.
325
326 2018-10-08  Weimin Pan  <weimin.pan@oracle.com>
327
328         PR c++/16841
329         * gdb.cp/virtbase2.cc: New file.
330         * gdb.cp/virtbase2.exp: New file.
331
332 2018-10-06  Tom Tromey  <tom@tromey.com>
333
334         PR python/19399:
335         * gdb.python/py-inferior.exp: Add architecture test.
336
337 2018-10-06  Tom Tromey  <tom@tromey.com>
338
339         * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
340         * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
341
342 2018-10-06  Tom Tromey  <tom@tromey.com>
343
344         * gdb.python/py-breakpoint.exp (check_last_event): Check location
345         of a "throw" catchpoint.
346
347 2018-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>
348
349         * gdb.base/info-proc.exp: Update string expected from "help info
350         proc".
351
352 2018-10-04  Tom Tromey  <tom@tromey.com>
353
354         * gdb.cp/maint.exp (test_invalid_name): Update expected output.
355         * gdb.gdb/complaints.exp (test_short_complaints): Remove.
356         (test_initial_complaints, test_empty_complaints): Update.
357         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
358
359 2018-10-04  Tom Tromey  <tom@tromey.com>
360
361         PR cli/19551:
362         * lib/mi-support.exp (mi_gdb_file_cmd): Update.
363         * lib/gdb.exp (gdb_file_cmd): Update.
364         * gdb.stabs/weird.exp (print_weird_var): Update.
365         * gdb.server/solib-list.exp: Update.
366         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
367         * gdb.mi/mi-cli.exp: Update.
368         * gdb.linespec/linespec.exp: Update.
369         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
370         * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
371         * gdb.cp/cp-relocate.exp: Update.
372         * gdb.base/sym-file.exp: Update.
373         * gdb.base/relocate.exp: Update.
374         * gdb.base/readnever.exp: Update.
375         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
376         * gdb.base/kill-detach-inferiors-cmd.exp: Update.
377         * gdb.base/dbx.exp (gdb_file_cmd): Update.
378         * gdb.base/code_elim.exp: Update.
379         * gdb.base/break-unload-file.exp (test_break): Update.
380         * gdb.base/break-interp.exp (test_attach_gdb): Update.
381         * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
382         Update.
383         * gdb.base/attach.exp (do_attach_tests): Update.
384         * gdb.base/sepdebug.exp: Update.
385         * gdb.python/py-section-script.exp: Update.
386
387 2018-10-04  Tom Tromey  <tom@tromey.com>
388
389         PR cli/22234:
390         * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
391         * gdb.gdb/complaints.exp (test_short_complaints): Update expected
392         output.
393
394 2018-10-04  Tom Tromey  <tom@tromey.com>
395
396         * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
397         set width and height to 0.
398         (test_command_line_attach_run): Use -quiet.
399
400 2018-10-03  Sandra Loosemore  <sandra@codesourcery.com>
401
402         * lib/gdb.exp (skip_ifunc_tests): New.
403         * gdb.base/gnu-ifunc.exp: Skip if no ifunc support.  Handle
404         other compile failures.
405         * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
406
407 2018-10-01  Simon Marchi  <simon.marchi@ericsson.com>
408
409         * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
410         is_amd64_regs_target.
411
412 2018-10-01  Alan Hayward  <alan.hayward@arm.com>
413
414         * gdb.arch/aarch64-sighandler-regs.c: New test.
415         * gdb.arch/aarch64-sighandler-regs.exp: New file.
416         * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
417
418 2018-10-01  Markus Metzger  <markus.t.metzger@intel.com>
419
420         * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
421         assembly.
422
423 2018-09-28  Andrew Burgess  <andrew.burgess@embecosm.com>
424
425         * gdb.base/frame-selection.exp: New file.
426         * gdb.base/frame-selection.c: New file.
427
428 2018-09-27  Alan Hayward  <alan.hayward@arm.com>
429
430         * gdb.threads/check-libthread-db.c (thread_routine): Use a
431         pthread barrier.
432         (main): Likewise.
433
434 2018-09-26  Andrew Burgess  <andrew.burgess@embecosm.com>
435
436         * gdb.base/large-frame-1.c: New file.
437         * gdb.base/large-frame-2.c: New file.
438         * gdb.base/large-frame.exp: New file.
439         * gdb.base/large-frame.h: New file.
440
441 2018-09-24  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
442
443         PR gdb/20948
444         * gdb.base/write_mem.exp: New test.
445         * gdb.base/write_mem.c: Likewise.
446
447 2018-09-23  Tom Tromey  <tom@tromey.com>
448
449         PR python/18852:
450         * gdb.python/py-parameter.exp: Add test for parameter that throws
451         on "set".
452
453 2018-09-23  Tom Tromey  <tom@tromey.com>
454
455         PR python/17284:
456         * gdb.python/py-template.exp (test_template_arg): Add test for
457         negative template argument number.
458
459 2018-09-23  Tom Tromey  <tom@tromey.com>
460
461         PR python/14062:
462         * gdb.python/python.exp: Add test for post_event error.
463
464 2018-09-23  Tom Tromey  <tom@tromey.com>
465
466         PR python/18170:
467         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
468         convert pointers to int and long.
469
470 2018-09-23  Tom Tromey  <tom@tromey.com>
471
472         PR python/20126:
473         * gdb.python/py-value.exp (test_value_numeric_ops): Add
474         signed-ness conversion tests.
475
476 2018-09-23  Tom Tromey  <tom@tromey.com>
477
478         PR python/18352;
479         * gdb.python/py-value.exp (test_float_conversion): New proc.
480         Use it.
481
482 2018-09-20  Hafiz Abid Qadeer  <abidh@codesourcery.com>
483
484         gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
485
486 2018-09-18  Sandra Loosemore  <sandra@codesourcery.com>
487
488         * gdb.base/complete-empty.exp: Skip tab-completion tests if
489         no readline.
490         * gdb.base/utf8-identifiers.exp: Likewise.
491         * gdb.cp/cpcompletion.exp: Likewise.
492         * gdb.linespec/cpcompletion.exp: Likewise.
493         * gdb.linespec/cpls-abi-tag.exp: Likewise.
494         * gdb.linespec/cpls-ops.exp: Likewise.
495
496 2018-09-19  Richard Bunt  <richard.bunt@arm.com>
497             Chris January  <chris.january@arm.com>
498
499         * gdb.cp/koenig.exp: Extend to test logical short circuiting.
500         * gdb.fortran/short-circuit-argument-list.exp: New file.
501         * gdb.fortran/short-circuit-argument-list.f90: New test.
502
503 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
504
505         * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
506         "arch=" keyword when executing "-stack-list-frames".
507
508 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
509
510         * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
511         "arch=" keyword when executing "-stack-list-frames".
512
513 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
514
515         * gdb.ada/complete.exp: Expect for "@" when doing "complete
516         break ada".
517
518 2018-09-17  Simon Marchi  <simon.marchi@polymtl.ca>
519
520         PR python/23669
521         * gdb.python/python.exp: Test gdb.execute("show commands").
522
523 2018-09-16  Tom Tromey  <tom@tromey.com>
524
525         * gdb.base/new-ui.exp (do_execution_tests): Update.
526         * gdb.base/dbx.exp (test_breakpoints): Update.
527
528 2018-09-14  Alan Hayward  <alan.hayward@arm.com>
529
530         * lib/gdb.exp (gdb_simple_compile): Add proc.
531         (is_elf_target): Use gdb_simple_compile.
532         (skip_altivec_tests): Likewise.
533         (skip_vsx_tests): Likewise.
534         (skip_tsx_tests): Likewise.
535         (skip_btrace_tests): Likewise.
536         (skip_btrace_pt_tests): Likewise.
537         (gdb_can_simple_compile): Likewise.
538         (gdb_has_argv0): Likewise.
539         (gdb_target_symbol_prefix): Likewise.
540         (target_supports_scheduler_locking): Likewise.
541
542 2018-09-13  Tom Tromey  <tom@tromey.com>
543
544         * Makefile.in (TAGS): Recognize proc_with_prefix and
545         gdb_caching_proc.
546
547 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
548
549         * gdb.python/py-progspace.exp: Test the Progspace.objfiles
550         method.
551
552 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
553
554         * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
555         and a few other Inferior properties when the Inferior is no
556         longer valid.
557
558 2018-09-13  Tom Tromey  <tom@tromey.com>
559
560         PR rust/23650:
561         * gdb.rust/simple.exp: Add test for enum field access error.
562
563 2018-09-13  Tom Tromey  <tom@tromey.com>
564
565         PR rust/23626:
566         * gdb.rust/simple.rs (EmptyEnum): New type.
567         (main): Use it.
568         * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
569
570 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
571
572         * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
573         * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
574         * gdb.python/py-symtab.exp: Update test printing an objfile.
575
576 2018-09-12  Simon Marchi  <simon.marchi@ericsson.com>
577
578         * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
579         object.
580
581 2018-09-12  Alan Hayward  <alan.hayward@arm.com>
582
583         * lib/gdb.exp (gdb_can_simple_compile): Add proc.
584         (support_complex_tests): Use gdb_can_simple_compile.
585         (is_ilp32_target): Likewise.
586         (is_lp64_target): Likewise.
587         (is_64_target): Likewise.
588         (is_amd64_regs_target): Likewise.
589         (is_aarch32_target): Likewise.
590         (gdb_int128_helper): Likewise.
591
592 2018-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
593
594         * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
595
596 2018-09-10  Jerome Guitton  <guitton@adacore.com>
597
598         * gdb.ada/same_component_name: Add test for case of tagged record
599         with variable-length fields.
600
601 2018-09-10  Xavier Roirand  <roirand@adacore.com>
602
603         * gdb.ada/access_to_unbounded_array.exp: New testcase.
604         * gdb.ada/access_to_unbounded_array/foo.adb: New file.
605         * gdb.ada/access_to_unbounded_array/pack.adb: New file.
606         * gdb.ada/access_to_unbounded_array/pack.ads: New file.
607
608 2018-09-10  Xavier Roirand  <roirand@adacore.com>
609
610         * gdb.ada/mi_string_access.exp: New testcase.
611         * gdb.ada/mi_string_access/bar.adb: New file.
612         * gdb.ada/mi_string_access/pck.adb: New file.
613         * gdb.ada/mi_string_access/pck.asd: New file.
614
615 2018-09-10  Xavier Roirand  <roirand@adacore.com>
616
617         * gdb.ada/mi_var_union.exp: New testcase.
618         * gdb.ada/mi_var_union/bar.adb: New file.
619         * gdb.ada/mi_var_union/pck.adb: New file.
620         * gdb.ada/mi_var_union/pck.asd: New file.
621
622 2018-09-08  Tom Tromey  <tom@tromey.com>
623
624         * gdb.python/py-prettyprint.exp: Use with_test_prefix.
625
626 2018-09-08  Tom Tromey  <tom@tromey.com>
627
628         PR python/16047:
629         * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
630         (register_pretty_printers): Register new printer.
631         * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
632         test.
633         * gdb.python/py-prettyprint.c (int_type3): New typedef.
634         (an_int_type3): New global.
635
636 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
637
638         * gdb.ada/expr_with_funcall: New testcase.
639
640 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
641
642         * gdb.ada/packed_array_assign: New testcase.
643
644 2018-09-07  Andrew Burgess  <andrew.burgess@embecosm.com>
645
646         * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
647         names, and add test prefixes to make test names unique.
648
649 2018-09-05  Tom de Vries  <tdevries@suse.de>
650
651         * gdb.dwarf2/varval.exp: Add test.
652
653 2018-09-04  Gary Benson <gbenson@redhat.com>
654
655         * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
656         'eof' before 'wait -i'.  Use remote_close and clear_gdb_spawn_id.
657
658 2018-08-31  Tom Tromey  <tom@tromey.com>
659
660         * gdb.rust/simple.rs: Rename second variable "v".
661
662 2018-08-30  Andrew Burgess  <andrew.burgess@embecosm.com>
663
664         * gdb.base/funcargs.c (use_a): New function.
665         (recurse): Call use_a.
666
667 2018-08-29  Keith Seitz  <keiths@redhat.com>
668
669         * gdb.compile/compile-cplus-anonymous.cc: New file.
670         * gdb.compile/compile-cplus-anonymous.exp: New file.
671         * gdb.compile/compile-cplus-array-decay.cc: New file.
672         * gdb.compile/compile-cplus-array-decay.exp: New file.
673         * gdb.compile/compile-cplus-inherit.cc: New file.
674         * gdb.compile/compile-cplus-inherit.exp: New file.
675         * gdb.compile/compile-cplus-member.cc: New file.
676         * gdb.compile/compile-cplus-member.exp: New file.
677         * gdb.compile/compile-cplus-method.cc: New file.
678         * gdb.compile/compile-cplus-method.exp: New file.
679         * gdb.compile/compile-cplus-mod.c: "New" file.
680         * gdb.compile/compile-cplus-namespace.cc: New file.
681         * gdb.compile/compile-cplus-namespace.exp: New file.
682         * gdb.compile/compile-cplus-nested.cc: New file.
683         * gdb.compile/compile-cplus-nested.exp: New file.
684         * gdb.compile/compile-cplus-print.c: "New" file.
685         * gdb.compile/compile-cplus-print.exp: "New" file.
686         * gdb.compile/compile-cplus-virtual.cc: New file.
687         * gdb.compile/compile-cplus-virtual.exp: New file.
688         * gdb.compile/compile-cplus.c: "New" file.
689         * gdb.compile/compile-cplus.exp: "New" file.
690         * lib/compile-support.exp: New file.
691
692 2018-08-16  Gary Benson <gbenson@redhat.com>
693
694         PR gdb/13000:
695         * gdb.base/batch-exit-status.exp: New file.
696         * gdb.base/batch-exit-status.good-commands: Likewise.
697         * gdb.base/batch-exit-status.bad-commands: Likewise.
698
699 2018-08-29  Alan Hayward  <alan.hayward@arm.com>
700
701         * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
702         (struct struct02): Likewise.
703         (struct struct03): Likewise.
704         (struct struct04): Likewise.
705         (struct struct_01_01): New struct.
706         (struct struct_01_02): Likewise.
707         (struct struct_01_03): Likewise.
708         (struct struct_01_04): Likewise.
709         (struct struct_02_01): Likewise.
710         (struct struct_02_02): Likewise.
711         (struct struct_02_03): Likewise.
712         (struct struct_02_04): Likewise.
713         (struct struct_04_01): Likewise.
714         (struct struct_04_02): Likewise.
715         (struct struct_04_03): Likewise.
716         (struct struct_04_04): Likewise.
717         (struct struct_05_01): Likewise.
718         (struct struct_05_02): Likewise.
719         (struct struct_05_03): Likewise.
720         (struct struct_05_04): Likewise.
721         (cmp_struct01): Remove function.
722         (cmp_struct02): Likewise.
723         (cmp_struct03): Likewise.
724         (cmp_struct04): Likewise.
725         (cmp_struct_01_01): Add Function.
726         (cmp_struct_01_02): Likewise.
727         (cmp_struct_01_03): Likewise.
728         (cmp_struct_01_04): Likewise.
729         (cmp_struct_02_01): Likewise.
730         (cmp_struct_02_02): Likewise.
731         (cmp_struct_02_03): Likewise.
732         (cmp_struct_02_04): Likewise.
733         (cmp_struct_04_01): Likewise.
734         (cmp_struct_04_02): Likewise.
735         (cmp_struct_04_03): Likewise.
736         (cmp_struct_04_04): Likewise.
737         (cmp_struct_05_01): Likewise.
738         (cmp_struct_05_02): Likewise.
739         (cmp_struct_05_03): Likewise.
740         (cmp_struct_05_04): Likewise.
741         (call_all): Add new structs.
742         * gdb.base/infcall-nested-structs.exp: Likewise.
743
744 2018-08-27  Jan Vrany  <jan.vrany@fit.cvut.cz>
745
746         * gdb.python/py-framefilter-mi.exp: Update regexp to
747         check for "arch" field in frame output.
748
749 2018-08-23  Kevin Buettner  <kevinb@redhat.com>
750
751         * gdb.dwarf2/dw2-ranges-func.c: New file.
752         * gdb.dwarf2/dw2-ranges-func.exp: New file.
753
754 2018-08-22  Simon Marchi  <simon.marchi@polymtl.ca>
755
756         * gdb.base/term.exp: Compare terminal settings with values from
757         the inferior.
758         * gdb.base/term.c: Get and set terminal settings.
759
760 2018-08-22  Jan Vrany  <jan.vrany@fit.cvut.cz>
761
762         * lib/mi-support.exp (mi_expect_stop): Update regexp to
763         accommodate new "arch" field in frame output.
764         * gdb.mi/mi-return.exp: Likewise.
765         * gdb.mi/mi-stack.exp: Likewise.
766         * gdb.mi/mi-syn-frame.exp: Likewise.
767         * gdb.mi/user-selected-context-sync.exp: Likewise.
768
769 2018-08-19  Michael Spang  <spang@google.com>
770
771         PR gdb/11786
772         * gdb.base/gcore-tls-pie.c: New file.
773         * gdb.base/gcore-tls-pie.exp: New file.
774
775 2018-08-18  Kevin Buettner  <kevinb@redhat.com>
776
777         * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
778         * gdb.dwarf2/varval.c: New file.
779         * gdb.dwarf2/varval.exp: New file.
780
781 2018-08-17  Alan Hayward  <alan.hayward@arm.com>
782
783         PR gdb/18931
784         * gdb.arch/aarch64-fp.c (main): Fix asm registers.
785
786 2018-08-16  Keith Seitz  <keiths@redhat.com>
787
788         * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
789         tests expected to pass.
790
791 2018-08-14  Jan Vrany  <jan.vrany@fit.cvut.cz>
792
793         * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
794         -data-disassemble -a.
795         (test_disassembly_bogus_args): Likewise.
796
797 2018-08-14  Andrew Burgess  <andrew.burgess@embecosm.com>
798
799         * gdb.mi/list-thread-groups-available.exp: Update test regexp.
800
801 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
802
803         * gdb.base/vla-optimized-out.exp: Add new test.
804
805 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
806
807         * gdb.base/vla-optimized-out-o3.exp: Delete.
808         * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
809         * gdb.base/vla-optimized-out.exp: Extend to cover all of the
810         deleted tests.
811
812 2018-08-08  Andrew Burgess  <andrew.burgess@embecosm.com>
813
814         PR gdb/18050:
815         * gdb.server/extended-remote-restart.c: New file.
816         * gdb.server/extended-remote-restart.exp: New file.
817
818 2018-08-07  Simon Marchi  <simon.marchi@polymtl.ca>
819
820         * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
821         "set variable index = 42".
822
823 2018-08-07  Simon Marchi  <simon.marchi@ericsson.com>
824
825         * boards/index-cache-gdb.exp: New file.
826         * gdb.dwarf2/index-cache.exp: New file.
827         * gdb.dwarf2/index-cache.c: New file.
828         * gdb.base/maint.exp: Check if we are using the index cache.
829
830 2018-08-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
831
832         * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
833         MAKEFLAGS.
834
835 2018-08-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
836
837         * dg-extract-results.sh: Move to toplevel contrib.
838         * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
839         * Makefile.in (check-parallel-racy): Likewise.
840
841 2018-08-06  Andrew Burgess  <andrew.burgess@embecosm.com>
842
843         * lib/gdb.exp (target_supports_scheduler_locking): New proc.
844         * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
845         tests if the target supports scheduler locking.
846
847 2018-08-04  Tom de Vries  <tdevries@suse.de>
848
849         * gdb.python/py-rbreak.exp: Fix rbreak regexp.
850
851 2018-08-02  Tom Tromey  <tom@tromey.com>
852
853         PR symtab/16842.
854         * gdb.cp/temargs.exp: Test "info address" of a template
855         parameter.
856
857 2018-07-31  Jan Vrany  <jan.vrany@fit.cvut.cz>
858
859         * gdb.python/py-mi-var-info-path-expression.c: New file.
860         * gdb.python/py-mi-var-info-path-expression.py: New file.
861         * gdb.python/py-mi-var-info-path-expression.exp: New file.
862
863 2018-07-30  Sergio Durigan Junior  <sergiodj@redhat.com>
864
865         * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
866         error after "cannot resolve name" string.
867
868 2018-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
869
870         * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
871         started.
872         * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
873
874 2018-07-28  Tom de Vries  <tdevries@suse.de>
875
876         * gdb.base/vla-optimized-out-o3-strict.exp: New file.
877
878 2018-07-26  Tom de Vries  <tdevries@suse.de>
879
880         * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
881
882 2018-07-26  Andrew Burgess  <andrew.burgess@embecosm.com>
883
884         * gdb.base/maint.exp: Add check that dwarf unwinders control flag
885         is visible.
886
887 2018-07-26  Tom de Vries  <tdevries@suse.de>
888
889         PR breakpoints/23366
890         * gdb.base/catch-follow-exec.c: New test.
891         * gdb.base/catch-follow-exec.exp: New file.
892
893 2018-07-25  Tom de Vries  <tdevries@suse.de>
894
895         * gdb.base/vla-optimized-out-o3.exp: New file.  Reuse
896         vla-optimized-out.c.
897
898 2018-07-25  Jan Vrany  <jan.vrany@fit.cvut.cz>
899
900         * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
901         * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
902
903 2018-07-20  Tom de Vries  <tdevries@suse.de>
904
905         * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
906         NOCLONE macro.
907         * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
908
909 2018-07-19  Tom de Vries  <tdevries@suse.de>
910
911         * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
912         regular expression.
913
914 2018-07-18  Tom de Vries  <tdevries@suse.de>
915
916         * gdb.base/vla-optimized-out.c: New test.
917         * gdb.base/vla-optimized-out.exp: New file.
918
919 2018-07-13  Sergio Durigan Junior  <sergiodj@redhat.com>
920
921         * lib/gdbserver-support.exp (gdbserver_start): Expect for the
922         message "No address associated with hostname" when gdbserver
923         cannot resolve the hostname.
924
925 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
926
927         * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
928         Add some test prefixes to make tests unique.
929
930 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
931
932         * gdb.base/frameapply.c: New file.
933         * gdb.base/frameapply.exp: New file.
934
935 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
936
937         * gdb.base/skip.exp: Update expected error message.
938
939 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
940             Jan Kratochvil  <jan.kratochvil@redhat.com>
941             Paul Fertser  <fercerpav@gmail.com>
942             Tsutomu Seki  <sekiriki@gmail.com>
943
944         * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
945         parameter.
946         * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
947         by default.
948         * boards/native-gdbserver.exp: Likewise.
949         * gdb.server/run-without-local-binary.exp: Improve regexp used
950         for detecting when a remote debugging connection succeeds.
951         * gdb.server/server-connect.exp: New file.
952         * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
953         Do not prefix the port number with ":".
954         (gdbserver_start): New global GDB_TEST_SOCKETHOST.  Implement
955         support for detecting and using it.  Add '$debughost_gdbserver'
956         to the list of arguments used to start gdbserver.  Handle case
957         when gdbserver cannot resolve a network name.
958
959 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
960
961         PR c++/23373
962         * gdb.base/ptype-offsets.cc (struct static_member): New
963         struct.
964         (main) <stmember>: New variable.
965         * gdb.base/ptype-offsets.exp: Add test for printing a struct
966         with a static member in it.
967
968 2018-07-10  Andrew Burgess  <andrew.burgess@embecosm.com>
969
970         * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
971         watchpoints enabled and disabled.
972
973 2018-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
974
975         * gdb.base/examine-backward.exp: Still run tests around address
976         0x0, even if address 0x0 is not readable.  Update the pattern for
977         matching address 0x0 in expected output.
978
979 2018-07-06  Andrew Burgess  <andrew.burgess@embecosm.com>
980
981         * gdb.base/share-env-with-gdbserver.c (main): Add call to
982         malloc/free.
983
984 2018-07-04  Tom de Vries  <tdevries@suse.de>
985
986         * gdb.dwarf2/dw2-error.exp: Update expected error message.
987
988 2018-07-02  Maciej W. Rozycki  <macro@mips.com>
989
990         PR tdep/8282
991         * gdb.arch/mips-disassembler-options.exp: New test.
992         * gdb.arch/mips-disassembler-options.s: New test source.
993
994 2018-06-29  Pedro Alves  <palves@redhat.com>
995
996         * gdb.threads/names.exp: Adjust expected "info threads" output.
997
998 2018-06-29  Pedro Alves  <palves@redhat.com>
999
1000         * gdb.opt/inline-break.exp (line number, address): Add "info
1001         break" tests.
1002
1003 2018-06-29  Pedro Alves  <palves@redhat.com>
1004
1005         * gdb.opt/inline-break.c (func1): Add "break here" marker.
1006         * gdb.opt/inline-break.exp: Test setting breakpoints by line
1007         number and address and running to them.
1008
1009 2018-06-29  Richard Bunt  <richard.bunt@arm.com>
1010
1011         * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
1012
1013 2018-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1014
1015         * lib/compiler.c: Remove executable permission flag.
1016
1017 2018-06-28  Richard Bunt  <richard.bunt@arm.com>
1018
1019         * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
1020         code.
1021         * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
1022
1023 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1024
1025         * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
1026
1027 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1028
1029         * gdb.base/relocate.exp: Test add-symbol-file behavior when the
1030         address argument is omitted.
1031
1032 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1033
1034         * gdb.base/relocate.exp: Add test for "symbol-file -o ".
1035
1036 2018-06-27  Omair Javaid  <omair.javaid@linaro.org>
1037
1038         PR gdb/21695
1039         * gdb.base/infoline-reloc-main-from-zero.exp: New test.
1040         * gdb.base/infoline-reloc-main-from-zero.c: New file.
1041
1042 2018-06-26  Tom Tromey  <tom@tromey.com>
1043
1044         PR rust/22574:
1045         * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
1046         * gdb.rust/simple.rs (struct SimpleLayout): New.
1047
1048 2018-06-22  Simon Marchi  <simon.marchi@ericsson.com>
1049
1050         * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
1051         "info registers" output.
1052
1053 2018-06-21  Richard Bunt  <richard.bunt@arm.com>
1054
1055         * gdb.base/watchpoint-hw-attach.c: New test.
1056         * gdb.base/watchpoint-hw-attach.exp: New file.
1057
1058 2018-06-20  Simon Marchi  <simon.marchi@ericsson.com>
1059
1060         * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
1061         through /bin/sh.
1062         * boards/dwarf4-gdb-index.exp: Likewise.
1063         * boards/fission-dwp.exp: Likewise.
1064
1065 2018-06-20  Ulrich Weigand  <uweigand@de.ibm.com>
1066
1067         * gdb.base/float128.exp: Add comment and improved fail message
1068         to the failure case of "print large128" test.
1069
1070 2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
1071
1072         * configure.ac: Remove AC_PREREQ.
1073         * configure: Re-generate.
1074
1075 2018-06-19  Pedro Alves  <palves@redhat.com>
1076
1077         * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
1078         (func_extern_caller): New.
1079         (main): Call func_extern_caller.
1080         * gdb.opt/inline-break.exp: Add tests for inline frame skipping
1081         logic change.
1082
1083 2018-06-18  Weimin Pan  <weimin.pan@oracle.com>
1084
1085         PR gdb/16841
1086         * gdb.cp/typedef-base.cc: New file.
1087         * gdb.cp/typedef-base.exp: New file.
1088
1089 2018-06-18  Tom de Vries  <tdevries@suse.de>
1090
1091         * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1092
1093 2018-06-16  Andrew Burgess  <andrew.burgess@embecosm.com>
1094             Richard Bunt <Richard.Bunt@arm.com>
1095
1096         * gdb.threads/attach-slow-waitpid.c: New file.
1097         * gdb.threads/attach-slow-waitpid.exp: New file.
1098         * gdb.threads/slow-waitpid.c: New file.
1099
1100 2018-06-14  Pedro Alves  <palves@redhat.com>
1101
1102         * gdb.base/fork-running-state.c: Include <errno.h>.
1103         (exit_if_relative_exits): New.
1104         (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1105         exits.
1106         (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1107         child exits.
1108
1109 2018-06-14  Tom de Vries  <tdevries@suse.de>
1110
1111         PR cli/22573
1112         * gdb.base/finish-pretty.c: New test.
1113         * gdb.base/finish-pretty.exp: New file.
1114
1115 2018-06-14  Pedro Alves  <palves@redhat.com>
1116
1117         * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
1118         gdb's expected startup output.
1119
1120 2018-06-14  Pedro Alves  <palves@redhat.com>
1121
1122         * lib/selftest-support.exp (selftest_setup): Remove inlined
1123         function handling.
1124
1125 2018-06-14  Tom de Vries  <tdevries@suse.de>
1126
1127         * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1128         matching of breakpoint printing.
1129
1130 2018-06-13  Tom de Vries  <tdevries@suse.de>
1131
1132         PR testsuite/23269
1133         * gdb.base/fork-running-state.c (main): Move setting of alarm ...
1134         (fork_child): ... here, and ...
1135         (fork_parent): ... here.
1136
1137 2018-06-12  Tom de Vries  <tdevries@suse.de>
1138
1139         * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
1140
1141 2018-06-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1142             Stephen Roberts  <stephen.roberts@arm.com>
1143
1144         * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
1145         rewrite test to describe action performed, rather than possible
1146         failure.
1147
1148 2018-06-08  Gary Benson <gbenson@redhat.com>
1149
1150         * gdb.threads/check-libthread-db.exp: New file.
1151         * gdb.threads/check-libthread-db.c: Likewise.
1152
1153 2018-06-05  Tom Tromey  <tom@tromey.com>
1154
1155         * gdb.base/default.exp: Update expected "show version" output.
1156
1157 2018-06-05  Tom Tromey  <tom@tromey.com>
1158
1159         PR cli/12326:
1160         * gdb.cp/static-print-quit.exp: Update.
1161         * lib/gdb.exp (pagination_prompt): Update.
1162         * gdb.base/page.exp: Use pagination_prompt.  Add new tests.
1163         * gdb.python/python.exp: Update.
1164
1165 2018-06-04  Joel Brobecker  <brobecker@adacore.com>
1166
1167         * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
1168
1169 2018-06-01  Joel Brobecker  <brobecker@adacore.com>
1170
1171         * gdb.ada/bp_fun_addr: New testcase.
1172
1173 2018-06-01  Tom Tromey  <tom@tromey.com>
1174
1175         * gdb.xml/tdesc-regs.exp (load_description): Update expected
1176         results.
1177         * gdb.dwarf2/method-ptr.exp: Set language to C++.
1178         * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
1179         * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
1180         * gdb.base/maint.exp (maint_pass_if): Update.
1181
1182 2018-05-31  Maciej W. Rozycki  <macro@mips.com>
1183
1184         * gdb.base/endian.exp: New test.
1185         * gdb.base/endian.c: New test source.
1186
1187 2018-05-24  Andrew Burgess  <andrew.burgess@embecosm.com>
1188
1189         PR gdb/23203
1190         * gdb.base/bt-selected-frame.c: New file.
1191         * gdb.base/bt-selected-frame.exp: New file.
1192         * lib/gdb.exp (get_current_frame_number): New function.
1193
1194 2018-05-24  Maciej W. Rozycki  <macro@mips.com>
1195             Pedro Alves  <palves@redhat.com>
1196
1197         * gdb.threads/tls-core.c: Include <stdlib.h>
1198         (thread_proc): Call `abort'.
1199         * gdb.threads/tls-core.exp: Generate a core with core_find too.
1200         (tls_core_test): New procedure, bits factored out from ...
1201         (top level): ... here.  Test both native cores and gcore cores.
1202
1203 2018-05-23  Tom Tromey  <tom@tromey.com>
1204
1205         * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
1206
1207 2018-05-23  Tom Tromey  <tom@tromey.com>
1208
1209         * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
1210         symfile_complaints.
1211         (test_short_complaints): Likewise.
1212         (test_empty_complaints): Likewise.
1213         (test_initial_complaints): Update.
1214
1215 2018-05-23  Tom Tromey  <tom@tromey.com>
1216
1217         * gdb.gdb/complaints.exp (test_empty_complaints): Update.
1218
1219 2018-05-23  Tom Tromey  <tom@tromey.com>
1220
1221         * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
1222         (test_short_complaints): Update.
1223
1224 2018-05-22  Pedro Alves  <palves@redhat.com>
1225
1226         * gdb.base/remote.exp: Only gdb_start after compiling the
1227         testcase.  Issue "disconnect" before testing "set remote" command
1228         defaults.  Issue clean_restart before running to main.
1229
1230 2018-05-22  Pedro Alves  <palves@redhat.com>
1231
1232         * gdb.base/remote.exp: Adjust expected output of "show remote
1233         memory-write-packet-size".  Add tests for "set remote
1234         memory-write-packet-size 0" and "set remote
1235         memory-write-packet-size fixed/limit".
1236
1237 2018-05-22  Pedro Alves  <palves@redhat.com>
1238
1239         PR gdb/22973
1240         * gdb.base/utf8-identifiers.c: New file.
1241         * gdb.base/utf8-identifiers.exp: New file.
1242
1243 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1244
1245         * gdb.arch/powerpc-fpscr-gcore.exp: New file.
1246
1247 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1248
1249         * gdb.arch/powerpc-vsx-gcore.exp: New file.
1250
1251 2018-05-18  Tom Tromey  <tom@tromey.com>
1252
1253         * gdb.base/ptype-offsets.exp: Update.
1254
1255 2018-05-17  Keith Seitz  <keiths@redhat.com>
1256
1257         * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
1258         in expected breakpoint stop locations.
1259         * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
1260         move to proper scope to test variable values.
1261         * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
1262         (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
1263         New functions.
1264         (main): Call not_inline_func3.
1265         * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
1266         inline_func1, inline_func2, and inline_func3.  Test that when each
1267         breakpoint is hit, GDB properly reports both the stop location
1268         and the backtrace. Repeat tests for temporary breakpoints.
1269
1270 2018-05-15  Maciej W. Rozycki  <macro@mips.com>
1271
1272         * gdb.server/server-kill.exp: Verify whether `server_pid' exists
1273         rather then trying to access it in determining whether the PID
1274         of `gdbserver' could have been retrieved.
1275
1276 2018-05-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1277
1278         * gdb.arch/amd64-init-x87-values.S: New file.
1279         * gdb.arch/amd64-init-x87-values.exp: New file.
1280
1281 2018-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1282
1283         * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
1284
1285 2018-05-04  Tom Tromey  <tom@tromey.com>
1286
1287         PR python/22730:
1288         * gdb.python/python.exp: Test multi-line execute.
1289
1290 2018-05-04  Tom Tromey  <tom@tromey.com>
1291
1292         PR python/22731:
1293         * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
1294
1295 2018-05-04  Tom Tromey  <tom@tromey.com>
1296
1297         PR gdb/11750:
1298         * gdb.base/define.exp: Test defining a user command inside a user
1299         command.
1300         * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
1301
1302 2018-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
1303             Pedro Alves <palves@redhat.com>
1304
1305         PR breakpoints/19806 and support for PR external/20207.
1306         * gdb.base/watchpoint-unaligned.c: New file.
1307         * gdb.base/watchpoint-unaligned.exp: New file.
1308
1309 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1310
1311         * gdb.base/maint.exp: Make test names unique, use
1312         test_prefix_command_help to test 'help maint info', and remove
1313         repeated test of 'help maint'.
1314
1315 2018-05-04  Tom Tromey  <tom@tromey.com>
1316
1317         PR gdb/22619:
1318         * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
1319         behavior.
1320
1321 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1322
1323         * gdb.base/maint.exp: Process output from 'maint print registers'
1324         line at a time.
1325
1326 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1327
1328         * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
1329         timeout.
1330
1331 2018-05-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1332
1333         * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
1334         filter pattern.
1335
1336 2018-05-02  Pedro Alves  <palves@redhat.com>
1337
1338         * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
1339         to_log_command renames.
1340         * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1341
1342 2018-05-02  Tom Tromey  <tom@tromey.com>
1343
1344         * gdb.python/py-parameter.exp: Set test message.
1345
1346 2018-05-02  Tom Tromey  <tom@tromey.com>
1347
1348         PR python/20084:
1349         * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
1350         PARAM_ZUINTEGER_UNLIMITED tests.
1351
1352 2018-04-28  Dan Robertson  <danlrobertson89@gmail.com>
1353
1354         PR rust/23124
1355         * gdb.rust/expr.exp: Test that the unit type is correctly parsed
1356         when casting.
1357
1358 2018-04-30  Tom Tromey  <tom@tromey.com>
1359
1360         * gdb.python/py-type.exp: Check align attribute.
1361         * gdb.python/py-type.c: New "aligncheck" global.
1362
1363 2018-04-30  Tom Tromey  <tom@tromey.com>
1364
1365         PR exp/17095:
1366         * gdb.dwarf2/dw2-align.exp: New file.
1367         * gdb.cp/align.exp: New file.
1368         * gdb.base/align.exp: New file.
1369         * lib/gdb.exp (gdb_int128_helper): New proc.
1370         (has_int128_c, has_int128_cxx): New caching procs.
1371
1372 2018-04-27  Tom Tromey  <tom@tromey.com>
1373
1374         PR rust/22545:
1375         * gdb.rust/simple.exp: Add inclusive range tests.
1376
1377 2018-04-26  Pedro Alves  <palves@redhat.com>
1378
1379         * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
1380         ifunc breakpoint locations correctly of ifunc breakpoints set
1381         while the program resolves the ifunc.
1382
1383 2018-04-26  Pedro Alves  <palves@redhat.com>
1384
1385         * gdb.base/gnu-ifunc-final.c: New file.
1386         * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
1387         * gdb.base/gnu-ifunc.exp (executable): Delete.
1388         (staticexecutable): Adjust.
1389         (lib_opts, exec_opts): Delete.
1390         (make_binsuffix, build, set-break): New procedures.
1391         (misc_tests): New, with tests factored out from the top level.
1392         (top level): Test different combinations of ifunc resolver name,
1393         resolver with and with debug info, and ifunc target with and
1394         without debug info.  Wrap static tests with with_target_prefix.
1395
1396 2018-04-26  Pedro Alves  <palves@redhat.com>
1397
1398         * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
1399         return type" warnings.
1400
1401 2018-04-25  Pedro Alves  <palves@redhat.com>
1402
1403         * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
1404         killed".
1405         * gdb.base/kill-after-signal.exp: Likewise.
1406         * gdb.threads/kill.exp: Likewise.
1407
1408 2018-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1409             Sergio Durigan Junior  <sergiodj@redhat.com>
1410             Pedro Alves  <palves@redhat.com>
1411
1412         * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1413         regexps to expect for '[Inferior ... detached]' as well.
1414         * gdb.base/attach.exp: Likewise.
1415         * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1416         "gdb_continue_to_end".
1417         (test_catch_syscall_with_wrong_args): Likewise.
1418         * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1419         ']'.  Don't set 'verbose' on.
1420         * gdb.base/foll-vfork.exp: Likewise.
1421         * gdb.base/fork-print-inferior-events.c: New file.
1422         * gdb.base/fork-print-inferior-events.exp: New file.
1423         * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1424         '[Inferior ... has been killed]' message.
1425         * gdb.base/kill-after-signal.exp: Likewise.
1426         * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1427         detach message.
1428         * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1429         message.
1430         * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1431         regexps to expect for '[Inferior ... detached]' as well.
1432         * gdb.threads/process-dies-while-detaching.exp: Likewise.
1433
1434 2018-04-24  Simon Marchi  <simon.marchi@ericsson.com>
1435
1436         PR gdb/23104
1437         * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1438
1439 2018-04-19  Richard Bunt  <richard.bunt@arm.com>
1440
1441         * gdb.threads/multiple-successive-infcall.c: New test.
1442         * gdb.threads/multiple-successive-infcall.exp: New file.
1443
1444 2018-04-17  Tom Tromey  <tom@tromey.com>
1445
1446         * gdb.rust/simple.rs (Union): New type.
1447         (main): New local "u".
1448         * gdb.rust/simple.exp (test_one_slice): Add new test case.
1449
1450 2018-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1451
1452         * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1453         number information in output of "whereis" command.
1454         * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1455
1456 2018-04-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1457
1458         * gdb.ada/info_types.exp: Adjust expected output to the line
1459         numbers now printed by "info var/func/type".
1460         * gdb.base/completion.exp: Likewise.
1461         * gdb.base/included.exp: Likewise.
1462         * gdb.cp/cp-relocate.exp: Likewise.
1463         * gdb.cp/cplusfuncs.exp: Likewise.
1464         * gdb.cp/namespace.exp: Likewise.
1465         * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1466
1467 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1468
1469         * gdb.btrace/cpu.exp: New.
1470
1471 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1472
1473         * gdb.base/step-indirect-call-thunk.exp: New.
1474         * gdb.base/step-indirect-call-thunk.c: New.
1475         * gdb.reverse/step-indirect-call-thunk.exp: New.
1476         * gdb.reverse/step-indirect-call-thunk.c: New.
1477
1478 2018-04-11  Simon Marchi  <simon.marchi@ericsson.com>
1479
1480         * gdb.base/pie-fork.c: New file.
1481         * gdb.base/pie-fork.exp: New file.
1482
1483 2018-04-11  Tom Tromey  <tom@tromey.com>
1484
1485         * gdb.rust/simple.exp: Add test for ".." struct initializer.
1486
1487 2018-04-10  Pedro Alves  <palves@redhat.com>
1488
1489         * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1490         exits.  Instead loop running forever.
1491         (fork_parent): Run forever too.
1492
1493 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1494
1495         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
1496         mi_continue_to_line.
1497         * gdb.mi/mi-stack.c (callee4): Add comment.
1498
1499 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1500
1501         * gdb.mi/mi-stack.exp: Fix indentation.
1502
1503 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1504
1505         PR gdb/22979
1506         * gdb.arch/amd64-osabi.exp: New file.
1507
1508 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1509
1510         PR gdb/22980
1511         * gdb.base/osabi.exp: New file.
1512
1513 2018-04-02  Weimin Pan  <weimin.pan@oracle.com>
1514
1515         * gdb.cp/static-typedef-print.exp: New file.
1516         * gdb.cp/static-typedef-print.cc: New file.
1517
1518 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1519
1520         * gdb.ada/varsize_limit: New testcase.
1521
1522 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1523
1524         * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1525
1526         * gdb.ada/notcplusplus: New testcase.
1527
1528         * gdb.base/c-linkage-name.c: New file.
1529         * gdb.base/c-linkage-name.exp: New testcase.
1530
1531 2018-03-26  Tom Tromey  <tom@tromey.com>
1532
1533         * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1534         * gdb.python/py-framefilter.py (name_error): New global.
1535         (ErrorInName.function): Use name_error.
1536
1537 2018-03-26  Tom Tromey  <tom@tromey.com>
1538
1539         PR backtrace/15582:
1540         * gdb.python/py-framefilter.exp: Add "bt hide" test.
1541
1542 2018-03-23  Keith Seitz  <keiths@redhat.com>
1543
1544         PR c++/22968
1545         * gdb.cp/subtypes.exp: New file.
1546         * gdb.cp/subtypes.h: New file.
1547         * gdb.cp/subtypes.cc: New file.
1548         * gdb.cp/subtypes-2.cc: New file.
1549
1550 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1551
1552         * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1553         (done): Call '_exit' not 'exit' to avoid atexit handlers.
1554         * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1555         -nostartfiles when compiling the test.  Confirm that all registers
1556         xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1557
1558 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1559
1560         * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1561         option, syntax was wrong anyway.
1562         * gdb.arch/arm-disp-step.exp: Likewise.
1563         * gdb.arch/sparc64-regs.exp: Likewise.
1564         * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1565         option, syntax was wrong anyway, switch to use
1566         prepare_for_testing.
1567         * gdb.arch/i386-disp-step.exp: Likewise.
1568
1569 2018-03-23  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1570
1571         * gdb.ada/exec_changed.exp: Replace "target_info exists
1572         use_gdb_stub" by "use_gdb_stub".
1573         * gdb.ada/start.exp: Likewise.
1574         * gdb.base/async-shell.exp: Likewise.
1575         * gdb.base/attach-pie-misread.exp: Likewise.
1576         * gdb.base/attach-wait-input.exp: Likewise.
1577         * gdb.base/break-entry.exp: Likewise.
1578         * gdb.base/break-interp.exp: Likewise.
1579         * gdb.base/dprintf-detach.exp: Likewise.
1580         * gdb.base/nostdlib.exp: Likewise.
1581         * gdb.base/solib-nodir.exp: Likewise.
1582         * gdb.base/statistics.exp: Likewise.
1583         * gdb.base/testenv.exp: Likewise.
1584         * gdb.mi/mi-exec-run.exp: Likewise.
1585         * gdb.mi/mi-start.exp: Likewise.
1586         * gdb.multi/dummy-frame-restore.exp: Likewise.
1587         * gdb.multi/multi-arch-exec.exp: Likewise.
1588         * gdb.multi/multi-arch.exp: Likewise.
1589         * gdb.multi/tids.exp: Likewise.
1590         * gdb.multi/watchpoint-multi.exp: Likewise.
1591         * gdb.python/py-events.exp: Likewise.
1592         * gdb.threads/attach-into-signal.exp: Likewise.
1593         * gdb.threads/attach-stopped.exp: Likewise.
1594         * gdb.threads/threadapply.exp: Likewise.
1595         * lib/selftest-support.exp: Likewise.
1596
1597 2018-03-22  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1598
1599         * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1600
1601 2018-03-20  Stephen Roberts  <stephen.roberts@arm.com>
1602
1603         * gdb.perf/template-breakpoints.cc: New file.
1604         * gdb.perf/template-breakpoints.exp: New file.
1605         * gdb.perf/template-breakpoints.py: New file.
1606
1607 2018-03-19  Tom Tromey  <tom@tromey.com>
1608
1609         * gdb.rust/simple.rs (main): Add local variables field1, field2,
1610         y0.
1611         * gdb.rust/simple.exp: Test bare identifier form of struct
1612         initializer.
1613
1614 2018-03-19  Tom Tromey  <tom@tromey.com>
1615
1616         * gdb.gdb/observer.exp: Remove.
1617
1618 2018-03-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1619
1620         * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1621         "qualified" option when setting breakpoints.
1622         * gdb.trace/backtrace.exp: Likewise.
1623         * gdb.trace/circ.exp: Likewise.
1624         * gdb.trace/collection.exp: Likewise.
1625         * gdb.trace/disconnected-tracing.exp: Likewise.
1626         * gdb.trace/ftrace-lock.exp: Likewise.
1627         * gdb.trace/ftrace.exp: Likewise.
1628         * gdb.trace/infotrace.exp: Likewise.
1629         * gdb.trace/packetlen.exp: Likewise.
1630         * gdb.trace/passc-dyn.exp: Likewise.
1631         * gdb.trace/qtro.exp: Likewise.
1632         * gdb.trace/read-memory.exp: Likewise.
1633         * gdb.trace/report.exp: Likewise.
1634         * gdb.trace/signal.exp: Likewise.
1635         * gdb.trace/status-stop.exp: Likewise.
1636         * gdb.trace/strace.exp: Likewise.
1637         * gdb.trace/tfind.exp: Likewise.
1638         * gdb.trace/trace-break.exp: Likewise.
1639         * gdb.trace/trace-condition.exp: Likewise.
1640         * gdb.trace/trace-mt.exp: Likewise.
1641         * gdb.trace/tstatus.exp: Likewise.
1642         * gdb.trace/tsv.exp: Likewise.
1643         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1644         * gdb.trace/unavailable.exp: Likewise.
1645         * gdb.trace/while-dyn.exp: Likewise.
1646
1647 2018-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1648
1649         * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1650         that libinproctrace is copied to the target.
1651
1652 2018-03-14  Tom Tromey  <tom@tromey.com>
1653
1654         PR cli/14977:
1655         * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1656         a null pointer.
1657         * gdb.base/wchar.exp: Likewise.
1658
1659 2018-03-14  Tom Tromey  <tom@tromey.com>
1660
1661         PR cli/19918:
1662         * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1663         flag.
1664
1665 2018-03-08  Simon Marchi  <simon.marchi@ericsson.com>
1666
1667         PR gdb/22841
1668         * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1669         "target" to remote_exec.
1670
1671 2018-03-08  Simon Marchi  <simon.marchi@polymtl.ca>
1672
1673         PR gdb/22841
1674         * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1675         ${board}_upload): Remove.
1676
1677 2018-03-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1678
1679         * gdb.cp/watch-cp.cc: New test.
1680         * gdb.cp/watch-cp.exp: New file.
1681
1682 2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1683
1684         * gdb.base/infcall-nested-structs.exp: New file.
1685         * gdb.base/infcall-nested-structs.c: New file.
1686         * gdb.base/float.exp: Add riscv support.
1687
1688 2018-03-02  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1689
1690         * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1691         * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1692
1693 2018-02-28  Sergio Durigan Junior  <sergiodj@redhat.com>
1694
1695         * gdb.server/abspath.exp: New file.
1696         * lib/gdb.exp (with_cwd): New procedure.
1697
1698 2018-02-28  Simon Marchi  <simon.marchi@ericsson.com>
1699
1700         * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1701         use it.
1702         (gdb_is_target_remote_prompt): New proc.
1703         (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1704         (gdb_is_target_native): Pass prompt parameter to
1705         gdb_is_target_1.
1706
1707 2018-02-26  Simon Marchi  <simon.marchi@polymtl.ca>
1708
1709         * gdb.base/load-command.c: New file.
1710         * gdb.base/load-command.exp: New file.
1711         * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1712         (gdb_is_target_1): ...this, and generalize for other targets
1713         than just remote.
1714         (gdb_is_target_remote): Use gdb_is_target_1.
1715         (gdb_is_target_native): use gdb_is_target_1.
1716
1717 2018-02-26  Tom Tromey  <tom@tromey.com>
1718
1719         PR python/16497:
1720         * gdb.python/py-framefilter.exp: Update test.
1721
1722 2018-02-26  Tom Tromey  <tom@tromey.com>
1723
1724         * gdb.dwarf2/variant.c: New file.
1725         * gdb.dwarf2/variant.exp: New file.
1726
1727 2018-02-26  Tom Tromey  <tom@tromey.com>
1728
1729         * gdb.rust/simple.exp: Accept more possible results in enum test.
1730
1731 2018-02-25  Simon Marchi  <simon.marchi@polymtl.ca>
1732
1733         * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1734         parentheses.
1735
1736 2018-02-23  Maciej W. Rozycki  <macro@mips.com>
1737
1738         * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1739         name of a variable: $actual_linejj -> $actual_line.
1740
1741 2018-02-21  John Baldwin  <jhb@FreeBSD.org>
1742
1743         * gdb.arch/amd64-i386-address.exp: Fix a typo.
1744
1745 2018-02-20  Markus Metzger  <markus.t.metzger@intel.com>
1746
1747         * gdb.btrace/buffer-size.exp: Do not force BTS.
1748
1749 2018-02-14  Pedro Alves  <palves@redhat.com>
1750
1751         * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1752         getting a "Quit".
1753
1754 2018-02-09  Markus Metzger  <markus.t.metzger@intel.com>
1755
1756         * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1757         Fix test name.
1758
1759 2018-02-07  Simon Marchi  <simon.marchi@ericsson.com>
1760
1761         * gdb.cp/m-static.exp: Check type of optimized out static
1762         member.
1763
1764 2018-02-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1765
1766         * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1767         * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1768
1769 2018-02-01  Simon Marchi  <simon.marchi@polymtl.ca>
1770             Leszek Swirski  <leszeks@google.com>
1771
1772         * gdb.python/py-prettyprint.c
1773         (struct to_string_returns_value_inner,
1774         struct to_string_returns_value_wrapper): New.
1775         (main): Add tsrvw variable.
1776         * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1777         ToStringReturnsValueWrapper): New classes.
1778         (register_pretty_printers): Register new pretty-printers.
1779         * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1780         recursive pretty printer.
1781         * gdb.python/py-mi.exp: Likewise.
1782
1783 2018-02-01  Leszek Swirski  <leszeks@google.com>
1784
1785         * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1786         functions with the same name as an include file are parsed
1787         correctly.
1788
1789 2018-02-01  Yao Qi  <yao.qi@linaro.org>
1790
1791         * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1792         "\[^\r\n\]*".
1793
1794 2018-01-31  Nikola Prica  <nikola.prica@rt-rk.com>
1795
1796         * gdb.arch/powerpc-prologue-frame.s: New file.
1797         * gdb.arch/powerpc-prologue-frame.c: Likewise.
1798         * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1799
1800 2018-01-31  Joel Brobecker  <brobecker@adacore.com>
1801
1802         * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1803
1804 2018-01-30  Pedro Alves  <palves@redhat.com>
1805
1806         PR gdb/13211
1807         * gdb.base/interrupt-daemon.c: New.
1808         * gdb.base/interrupt-daemon.exp: New.
1809         * gdb.multi/multi-term-settings.c: New.
1810         * gdb.multi/multi-term-settings.exp: New.
1811
1812 2018-01-30  Joel Brobecker  <brobecker@adacore.com>
1813
1814         * gdb.base/break.exp: Save the location where the breakpoint
1815         on break.c:47 was actually inserted when debugging the version
1816         compiled at -O2 and use it in the expected output of the "info
1817         break" test performed soon after.
1818
1819 2018-01-22  Pedro Alves  <palves@redhat.com>
1820             Sergio Durigan Junior  <sergiodj@redhat.com>
1821
1822         * gdb.base/whatis.exp: Add tests for 'set print object on' +
1823         'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1824
1825 2018-01-22  Joel Brobecker  <brobecker@adacore.com>
1826
1827         * gdb.base/break-include.c, gdb.base/break-include.inc,
1828         gdb.base/break-include.exp: New files.
1829         * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1830         line number now being the actual line number where the breakpoint
1831         was inserted.
1832         * gdb.mi/mi-break.exp: Likewise.
1833         * gdb.mi/mi-reverse.exp: Likewise.
1834         * gdb.mi/mi-simplerun.exp: Ditto.
1835
1836 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1837
1838         * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1839         varobj.
1840         * gdb.mi/mi-var-create-rtti.exp: Likewise.
1841
1842 2018-01-21  Don Breazeal  <donb@codesourcery.com>
1843             Andrew Burgess  <andrew.burgess@embecosm.com>
1844
1845         * gdb.mi/basics.c: Add new global.
1846         * gdb.mi/mi-frame-regs.exp: New file.
1847         * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1848         case.
1849
1850 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1851
1852         * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1853         non-parameter, and on an unknown symbol.
1854
1855 2018-01-19  Tom Tromey  <tom@tromey.com>
1856
1857         * gdb.rust/modules.rs (TWENTY_THREE): New global.
1858         * gdb.rust/modules.exp: Add ::-qualified lookup test.
1859
1860 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1861
1862         * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1863         setrlimit and chdir to int.
1864
1865 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1866
1867         * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1868         function.
1869         (my_tend): Likewise.
1870         * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1871         rationale of avoiding FP- and vector instructions.
1872
1873 2018-01-19  Ruslan Kabatsayev  <b7.10110111@gmail.com>
1874
1875         * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1876         "info reg" with "\[ \t\]*".
1877         * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1878         "\[ \t\]+".
1879         * gdb.arch/s390-multiarch.exp: Ditto.
1880         * gdb.base/pc-fp.exp: Ditto.
1881         * gdb.reverse/i386-precsave.exp: Ditto.
1882         * gdb.reverse/i386-reverse.exp: Ditto.
1883         * gdb.reverse/i387-env-reverse.exp: Ditto.
1884         * gdb.reverse/i387-stack-reverse.exp: Ditto.
1885
1886 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1887
1888         * lib/gdb.exp (gdb_compile): Re-enable use of
1889         universal_compile_options for languages other than Rust.
1890
1891 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1892
1893         * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1894
1895 2018-01-17  Mike Gulick  <mgulick@mathworks.com>
1896
1897         PR gdb/16577
1898         * gdb.base/solib-vanish.exp: New.
1899         * gdb.base/solib-vanish-main.c: New.
1900         * gdb.base/solib-vanish-lib1.c: New.
1901         * gdb.base/solib-vanish-lib2.c: New.
1902
1903 2018-01-17  Yao Qi  <yao.qi@linaro.org>
1904
1905         * gdb.compile/compile.exp: Match the address printed for
1906         frame in the output of command "bt".
1907
1908 2018-01-15  Tom Tromey  <tom@tromey.com>
1909
1910         * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1911         compute sp_reg.
1912
1913 2018-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1914
1915         * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1916         to prepare.
1917         (prepare): Return 0 on error, 1 on success.
1918
1919 2018-01-12  Pedro Alves  <palves@redhat.com>
1920
1921         * gdb.base/continue-after-aborted-step-over.c: New.
1922         * gdb.base/continue-after-aborted-step-over.exp: New.
1923
1924 2018-01-11  Simon Marchi  <simon.marchi@ericsson.com>
1925
1926         * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1927         options when not creating an executable.
1928
1929 2018-01-11  Pedro Alves  <palves@redhat.com>
1930
1931         PR remote/22597
1932         * gdb.server/stop-reply-no-thread.c: New file.
1933         * gdb.server/stop-reply-no-thread.exp: New file.
1934
1935 2018-01-10  Pedro Alves  <palves@redhat.com>
1936
1937         PR gdb/22670
1938         * gdb.ada/bp_c_mixed_case.exp: Add intro comment.  Test printing C
1939         functions too.  Test setting breakpoints and printing C functions
1940         with no debug info too.
1941         * gdb.ada/bp_c_mixed_case/qux.c: New file.
1942
1943 2018-01-10  Pedro Alves  <palves@redhat.com>
1944
1945         PR gdb/22670
1946         * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1947         a fail.
1948
1949 2018-01-10  Pedro Alves  <palves@redhat.com>
1950
1951         PR gdb/22670
1952         * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
1953
1954 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
1955
1956         * gdb.server/unittest.exp: Match the output in non-development
1957         mode.
1958
1959 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
1960
1961         * gdb.gdb/unittest.exp: Match output in non-development mode.
1962
1963 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
1964
1965         * gdb.ada/access_tagged_param.exp: Relax expected output
1966         for value of "ObjL" in "continue" to pck.inspect breakpoint
1967         test.
1968
1969 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
1970
1971         * gdb.ada/arr_enum_idx_w_gap.exp: New file.
1972         * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
1973
1974 2018-01-05  Pedro Alves  <palves@redhat.com>
1975
1976         PR gdb/18653
1977         * gdb.base/libsegfault.exp: New.
1978
1979 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1980
1981         PR gdb/22670
1982         * gdb.ada/access_tagged_param.exp: New file.
1983         * gdb.ada/access_tagged_param/foo.adb: New file.
1984
1985 2018-01-05  Pedro Alves  <palves@redhat.com>
1986
1987         PR gdb/22670
1988         * gdb.ada/info_addr_mixed_case.exp: Remove kfail.  Extend test to
1989         exercise lower case too, and to exercise both full matching and
1990         wild matching.
1991
1992 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1993
1994         * gdb.ada/rename_subscript_param: New testcase.
1995
1996 2018-01-05  Jerome Guitton  <guitton@adacore.com>
1997
1998         * gdb.ada/arr_acc_idx_w_gap: New testcase.
1999
2000 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2001
2002         * gdb.ada/convvar_comp: New testcase.
2003
2004 2018-01-05  Xavier Roirand  <roirand@adacore.com>
2005
2006         * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
2007         (My_Table): New global variable.
2008         * testsuite/gdb.ada/array_char_idx.exp: Add test.
2009
2010 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2011
2012         PR gdb/22670
2013         * gdb.ada/maint_with_ada: New testcase.
2014
2015 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2016
2017         PR gdb/22670
2018         * gdb.ada/bp_c_mixed_case: New testcase.
2019
2020 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2021
2022         PR gdb/22670
2023         * gdb.ada/complete.exp: Add "complete break ada" test.
2024
2025 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2026
2027         PR gdb/22670
2028         * gdb.ada/info_addr_mixed_case: New testcase.
2029
2030 2018-01-03  Xavier Roirand  <roirand@adacore.com>
2031
2032         * gdb.ada/excep_handle.exp: New testcase.
2033         * gdb.ada/excep_handle/foo.adb: New file.
2034         * gdb.ada/excep_handle/pck.ads: New file.
2035
2036 2018-01-03  Joel Brobecker  <brobecker@adacore.com>
2037
2038         * gdb.base/step-line.c: Add extra empty line in copyright header.
2039         * gdb.base/step-line.inp: Likewise.
2040
2041 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
2042
2043         * gdb.ada/dyn_stride.exp: Add slice test.
2044
2045 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
2046
2047         * gdb.ada/dyn_stride: New testcase.
2048
2049 2017-12-27  Stafford Horne  <shorne@gmail.com>
2050
2051         * gdb.xml/extra-regs.xml: Add example foo reggroup.
2052         * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
2053
2054 2017-12-27  Stafford Horne  <shorne@gmail.com>
2055
2056         * gdb.base/reggroups.c: New file.
2057         * gdb.base/reggroups.exp: New file.
2058
2059 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
2060
2061         * gdb.dwarf2/ada-valprint-error.c: New file.
2062         * gdb.dwarf2/ada-valprint-error.exp: New file.
2063
2064 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
2065
2066         * gdb.ada/assign_arr: New testcase.
2067
2068 2017-12-18  Xavier Roirand  <roirand@adacore.com>
2069
2070         * gdb.ada/funcall_ptr: New testcase.
2071
2072 2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
2073
2074         PR cli/16224
2075         * gdb.base/ptype-offsets.cc: New file.
2076         * gdb.base/ptype-offsets.exp: New file.
2077
2078 2017-12-15  Yao Qi  <yao.qi@linaro.org>
2079
2080         * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
2081         if XML is disabled.
2082
2083 2017-12-15  Xavier Roirand  <roirand@adacore.com>
2084
2085         * gdb.ada/same_component_name: New testcase.
2086
2087 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
2088
2089         * gdb.ada/str_binop_equal: New testcase.
2090
2091 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
2092
2093         * gdb.ada/task_switch_in_core: New testcase.
2094
2095 2017-12-13  Simon Marchi  <simon.marchi@ericsson.com>
2096
2097         * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2098         * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2099         call test_bkpt_qualified.
2100         (test_bkpt_qualified): New proc.
2101
2102 2017-12-13  Pedro Alves  <palves@redhat.com>
2103
2104         * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2105         Tighten regexp by matching with an anchor.
2106
2107 2017-12-13  Pedro Alves  <palves@redhat.com>
2108
2109         * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2110         ("expression with namespace"): New set of tests.
2111         * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
2112         (Nested::Test_NS::qux): New.
2113         * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
2114         defaults to 'start_quote_char' and 'end_quote_char' parameters.
2115
2116 2017-12-13  Joel Brobecker  <brobecker@adacore.com>
2117
2118         * gdb.base/server-del-break.c: New file.
2119         * gdb.base/server-del-break.exp: New file.
2120
2121 2017-12-12  Stafford Horne  <shorne@gmail.com>
2122
2123         * gdb.xml/tdesc-regs.exp: Add or1k support.
2124
2125 2017-12-12  Stafford Horne  <shorne@gmail.com>
2126
2127         * gdb.base/bp-permanent.c: Define nop of or1k.
2128
2129 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2130
2131         * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
2132         output with components being reordered.
2133
2134 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2135
2136         * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
2137         output with components being reordered.
2138
2139 2017-12-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2140             Pedro Alves  <palves@redhat.com>
2141
2142         * gdb.base/maint.exp (check for .gdb_index): Check also for
2143         .debug_names.
2144         * gdb.dlang/watch-loc.c (.debug_aranges): New.
2145         * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
2146         * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
2147         (.gdb_index used after symbol reloading): Support also .debug_names.
2148         * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
2149
2150 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2151
2152         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2153         * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
2154
2155 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2156
2157         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2158         * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
2159
2160 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2161
2162         * gdb.arch/aarch64-tagged-pointer.c: New file.
2163         * gdb.arch/aarch64-tagged-pointer.exp: New file.
2164
2165 2017-12-08  Sergio Durigan Junior  <sergiodj@redhat.com>
2166
2167         * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
2168         "int".
2169
2170 2017-12-07  Keith Seitz  <keiths@redhat.com>
2171
2172         PR breakpoints/22569
2173         * gdb.linespec/ls-errs.exp: Change expected result of "break
2174         -source this file has spaces.c -line 3".
2175         Check that an explicit source file followed by whitespace is
2176         identified as an invalid explicit location.
2177
2178 2017-12-07  Keith Seitz  <keiths@redhat.com>
2179
2180         * gdb.cp/nested-types.cc: New file.
2181         * gdb.cp/nested-types.exp: New file.
2182         * lib/cp-support.exp: Load data-structures.exp library.
2183         (debug_cp_test_ptype_class): New global.
2184         (cp_ptype_class_verbose, next_line): New procedures.
2185         (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
2186         Add and document new return value.
2187         Switch the list of lines to a queue.
2188         Add support for new `type' key for nested type definitions.
2189         Add debugging/troubleshooting messages.
2190         * lib/data-structures.exp: New file.
2191
2192 2017-12-07  Simon Marchi  <simon.marchi@ericsson.com>
2193
2194         * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
2195         with proc_with_prefix, don't use with_test_prefix.
2196
2197 2017-12-07  Tom Tromey  <tom@tromey.com>
2198
2199         * gdb.base/break.exp: Add test for empty "commands".
2200
2201 2017-12-07  Yao Qi  <yao.qi@linaro.org>
2202
2203         * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
2204         malloc and catch syscall.
2205
2206 2017-12-07  Phil Muldoon  <pmuldoon@redhat.com>
2207
2208        * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
2209         tests for explicit locations.
2210
2211 2017-12-06  Pedro Alves  <palves@redhat.com>
2212
2213         * gdb.arch/i386-avx.exp: If testing with a RSP target, check
2214         force-disabling XML descriptions.
2215
2216 2017-12-04  Pedro Alves  <palves@redhat.com>
2217
2218         PR gdb/22499
2219         * gdb.arch/amd64-disp-step-avx.S: New file.
2220         * gdb.arch/amd64-disp-step-avx.exp: New file.
2221
2222 2017-12-03  Pedro Alves  <palves@redhat.com>
2223
2224         * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
2225         and <string.h>.
2226         (parent_function): Print distinct messages when waitpid fails, or
2227         the child exits with a signal, or the child exits for an unhandled
2228         reason.
2229         * gdb.threads/process-dies-while-detaching.exp
2230         (detach_and_expect_exit): New 'inf_output_re' parameter and use
2231         it.  Wait for both inferior output and GDB's prompt.  Use an
2232         indirect spawn id list.
2233         (do_detach): New parameter 'child_exit'.  Use it to compute
2234         expected inferior output.
2235         (test_detach, test_detach_watch, test_detach_killed_outside):
2236         Adjust to pass down the expected child exit kind.
2237
2238 2017-12-01  Joel Brobecker  <brobecker@adacore.com>
2239             Sergio Durigan Junior  <sergiodj@redhat.com>
2240             Pedro Alves  <palves@redhat.com>
2241
2242         * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
2243
2244 2017-12-01  Sergio Durigan Junior  <sergiodj@redhat.com>
2245
2246         * gdb.base/relocate.exp: Add tests to guarantee that arguments
2247         to 'symbol-file' and 'add-symbol-file' can be
2248         position-independent.
2249
2250 2017-12-01  Yao Qi  <yao.qi@linaro.org>
2251
2252         * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
2253         the URL in copyright header.
2254         * gdb.arch/aarch64-fp.exp: Likewise.
2255         * gdb.arch/ppc64-atomic-inst.exp: Likewise.
2256         * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
2257         * gdb.base/expand-psymtabs.exp: Likewise.
2258         * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
2259         * gdb.fortran/common-block.exp: Likewise.
2260         * gdb.fortran/common-block.f90: Likewise.
2261         * gdb.fortran/logical.exp: Likewise.
2262         * gdb.fortran/vla-datatypes.f90: Likewise.
2263         * gdb.fortran/vla-sub.f90: Likewise.
2264
2265 2017-11-30  Joel Brobecker  <brobecker@adacore.com>
2266
2267         * gdb.ada/repeat_dyn: New testcase.
2268
2269 2017-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
2270
2271         * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
2272         Update for changed thread numbering.
2273         * gdb.cell/bt.exp: Update for changed GDB output.
2274
2275 2017-11-30  Simon Marchi  <simon.marchi@ericsson.com>
2276
2277         * boards/cc-with-tweaks.exp: Include local-board.exp instead of
2278         setting isremote by hand.
2279         * boards/dwarf4-gdb-index.exp: Likewise.
2280         * boards/fission.exp: Likewise.
2281         * boards/stabs.exp: Likewise.
2282
2283 2017-11-30  Pedro Alves  <palves@redhat.com>
2284
2285         * gdb.linespec/cpls-ops.exp
2286         (check_explicit_skips_function_argument): Extract the underlying
2287         type of size_t instead of hardcoding it.
2288
2289 2017-11-29  Pedro Alves  <palves@redhat.com>
2290
2291         PR c++/19436
2292         * gdb.linespec/cpls-abi-tag.cc: New file.
2293         * gdb.linespec/cpls-abi-tag.exp: New file.
2294
2295 2017-11-29  Pedro Alves  <palves@redhat.com>
2296
2297         * gdb.base/langs.exp: Use -qualified.
2298         * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
2299         it.
2300         * gdb.cp/namespace.exp: Use -qualified.
2301         * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
2302         (overload-3, template-overload, template-ret-type, const-overload)
2303         (const-overload-quoted, anon-ns, ambiguous-prefix): New
2304         procedures.
2305         (test_driver): Call them.
2306         * gdb.cp/save-bp-qualified.cc: New.
2307         * gdb.cp/save-bp-qualified.exp: New.
2308         * gdb.linespec/explicit.exp: Test -qualified.
2309         * lib/completion-support.exp (completion::explicit_opts_list): Add
2310         "-qualified".
2311         * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
2312
2313 2017-11-29  Phil Muldoon  <pmuldoon@redhat.com>
2314
2315         * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
2316
2317 2017-11-29  Tom Tromey  <tom@tromey.com>
2318
2319         * gdb.base/relocate.exp: Update invalid argument test.
2320         Add new tests for invalid arguments.
2321
2322 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2323
2324         * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
2325         Return 0 as a long.
2326         * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
2327
2328 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2329
2330         * gdb.cp/breakpoint.cc (bar): Set return type to void.
2331         * gdb.cp/psymtab-parameter.cc (func): Likewise.
2332         * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
2333         func ().
2334         * gdb.cp/shadow.cc (B.func): Return 0.
2335
2336 2017-11-27  Joel Brobecker  <brobecker@adacore.com>
2337
2338         * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
2339         expected output in gdb_expect call to allow the exception
2340         message to be present as well.  Fix syntax confusion to avoid
2341         TCL thinking that exception_name is an array.
2342
2343 2017-11-26  Ulrich Weigand  <uweigand@de.ibm.com>
2344
2345         * gdb.arch/spu-info.c: Include <unistd.h>.
2346         (do_signal_test): Fix broken calls to write.
2347         * gdb.arch/spu-info.exp: Use prepare_for_testing.
2348         Fix checks for empty mailboxes.  Update signal tests for corrected
2349         do_signal_test routine.  Allow nonzero event status.
2350         * gdb.arch/spu-ls.exp: Use prepare_for_testing.
2351         * gdb.cell/arch.exp: Use standard_output_file.
2352         * gdb.cell/break.exp: Likewise.
2353         * gdb.cell/bt.exp: Likewise.
2354         * gdb.cell/core.exp: Likewise.
2355         * gdb.cell/dwarfaddr.exp: Likewise.
2356         * gdb.cell/ea-cache.exp: Likewise.
2357         * gdb.cell/ea-standalone.exp: Likewise.
2358         * gdb.cell/f-regs.exp: Likewise.
2359         * gdb.cell/fork.exp: Likewise.
2360         * gdb.cell/gcore.exp: Likewise.
2361         * gdb.cell/mem-access.exp: Likewise.
2362         * gdb.cell/ptype.exp: Likewise.
2363         * gdb.cell/registers.exp: Likewise.
2364         * gdb.cell/sizeof.exp: Likewise.
2365         * gdb.cell/solib-symbol.exp: Likewise.
2366         * gdb.cell/solib.exp: Likewise.
2367
2368 2017-11-25   Pedro Alves  <palves@redhat.com>
2369
2370         * gdb.base/complete-empty.exp: New file.
2371         * gdb.base/completion.exp: Adjust.
2372
2373 2017-11-25  Pedro Alves  <palves@redhat.com>
2374
2375         * gdb.linespec/cpls-ops.cc: New file.
2376         * gdb.linespec/cpls-ops.exp: New file.
2377         * lib/completion-support.exp (test_complete_prefix_range_re): New,
2378         factored out from ...
2379         (test_complete_prefix_range): ... this.
2380
2381 2017-11-24  Pedro Alves  <palves@redhat.com>
2382
2383         * gdb.linespec/cpcompletion.exp: New file.
2384         * gdb.linespec/cpls-hyphen.cc: New file.
2385         * gdb.linespec/cpls.cc: New file.
2386         * gdb.linespec/cpls2.cc: New file.
2387         * gdb.linespec/explicit.exp: Load completion-support.exp.  Adjust
2388         test to use test_gdb_complete_unique.  Add label completion,
2389         keyword completion and explicit location completion tests.
2390         * lib/completion-support.exp: New file.
2391
2392 2017-11-24  Joel Brobecker  <brobecker@adacore.com>
2393
2394         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
2395         gdb.ada/mi_ex_cond.exp: Accept optional exception message in
2396         when hitting an exception catchpoint.
2397
2398 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2399
2400         * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
2401
2402 2017-11-22  Simon Marchi  <simon.marchi@ericsson.com>
2403
2404         * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
2405         * gdb.dwarf2/info-locals-optimized-out.exp: New file.
2406         * gdb.dwarf2/info-locals-optimized-out.c: New file.
2407
2408 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2409
2410         * gdb.base/info-os.exp: Pass pthreads.
2411         * gdb.multi/multi-attach.exp: Likewise.
2412
2413 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2414
2415         * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2416         compiler.
2417
2418 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2419
2420         * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2421         * gdb.base/break-interp.exp: Likewise.
2422         * gdb.base/jit-attach-pie.exp: Likewise.
2423
2424 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2425
2426         * gdb.base/float128.c (large128): New variable.
2427         * gdb.base/float128.exp: Add test to print largest __float128 value.
2428
2429 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2430
2431         * gdb.arch/vsx-regs.exp: Update register content checks.
2432
2433 2017-11-21  Ulrich Weigand  <uweigand@de.ibm.com>
2434
2435         * gdb.arch/ppc-longdouble.exp: New file.
2436         * gdb.arch/ppc-longdouble.c: Likewise.
2437
2438 2017-11-21  Pedro Alves  <palves@redhat.com>
2439
2440         * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2441
2442 2017-11-20  Pedro Alves  <palves@redhat.com>
2443
2444         * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2445         (long_double_typedef): New typedefs.
2446         Use DEF on double and long double.
2447         * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2448         cases.
2449         (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2450         and 'long_double_ptr_same_size' locals.  Use them to decide
2451         whether cast from array/function to float is valid/invalid.
2452
2453 2017-11-17  Tom Tromey  <tom@tromey.com>
2454
2455         * gdb.rust/traits.rs: New file.
2456         * gdb.rust/traits.exp: New file.
2457
2458 2017-11-17  Joel Brobecker  <brobecker@adacore.com>
2459
2460         * gdb.ada/minsyms: New testcase.
2461
2462 2017-11-16  Pedro Alves  <palves@redhat.com>
2463
2464         * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2465         * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2466
2467 2017-11-16  Pedro Alves  <palves@redhat.com>
2468
2469         * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2470         gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2471
2472 2017-11-16  Pedro Alves  <palves@redhat.com>
2473
2474         * gdb.server/reconnect-ctrl-c.c: New file.
2475         * gdb.server/reconnect-ctrl-c.exp: New file.
2476
2477 2017-11-16  Phil Muldoon  <pmuldoon@redhat.com>
2478
2479         * gdb.python/py-rbreak.exp: New file.
2480         * gdb.python/py-rbreak.c: New file.
2481         * gdb.python/py-rbreak-func2.c: New file.
2482
2483 2017-11-16  Pedro Alves  <palves@redhat.com>
2484
2485         * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2486         pattern.
2487         * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2488         GDB.
2489
2490 2017-11-15  Simon Marchi  <simon.marchi@ericsson.com>
2491
2492         * gdb.tui/completionn.exp (test_tab_completion): Add space in
2493         regex.
2494
2495 2017-11-13  Simon Marchi  <simon.marchi@polymtl.ca>
2496
2497         * gdb.opt/inline-locals.exp: Remove trailing parentheses from
2498         test names.
2499
2500 2017-11-09  Pedro Alves  <palves@redhat.com>
2501
2502         * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
2503         factored out from ...
2504         (top level): ... here, and adjusted to avoid expecting beyond the
2505         prompt in a single gdb_test_multiple.
2506
2507 2017-11-09  Pedro Alves  <palves@redhat.com>
2508
2509         * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2510         output.
2511         * gdb.server/ext-attach.exp ("kill" test): Likewise.
2512         * gdb.server/ext-restart.exp ("kill" test): Likewise.
2513         * gdb.server/ext-run.exp ("kill" test): Likewise.
2514         * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2515
2516 2017-11-09  Pedro Alves  <palves@redhat.com>
2517
2518         * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2519         match till end of line.
2520
2521 2017-11-09  Pedro Alves  <palves@redhat.com>
2522
2523         * gdb.base/memattr.exp: Tighten regexes to match the end line.
2524
2525 2017-11-09  Pedro Alves  <palves@redhat.com>
2526
2527         * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2528         New procedures, factored out from ...
2529         (top level): ... here, and adjusted to avoid expecting beyond the
2530         prompt in one go.
2531
2532 2017-11-09  Pedro Alves  <palves@redhat.com>
2533
2534         * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2535         output.  Fix '?' match.
2536
2537 2017-11-08  Joel Brobecker  <brobecker@adacore.com>
2538
2539         * gdb.ada/scoped_watch: New testcase.
2540         * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2541         which is actually correct.
2542         * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2543         * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2544
2545 2017-11-08  Pedro Alves  <palves@redhat.com>
2546
2547         * gdb.gdb/complaints.exp (test_initial_complaints)
2548         (test_serial_complaints, test_short_complaints): Call
2549         complaint_internal instead of complaint.
2550
2551 2017-11-08  Djordje Todorovic  <djordje.todorovic@rt-rk.com>
2552
2553         * gdb.threads/tls-core.c: New file.
2554         * gdb.threads/tls-core.exp: Likewise.
2555
2556 2017-11-08   Pedro Alves  <palves@redhat.com>
2557
2558         * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2559         (p Exported_Capitalized): New test.
2560         (p exported_capitalized): New test.
2561
2562 2017-11-07  Pedro Alves  <palves@redhat.com>
2563
2564         * gdb.cp/ena-dis-br-range.exp: Add more tests.
2565
2566 2017-11-07  Pedro Alves  <palves@redhat.com>
2567
2568         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2569         * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2570         (disable_invalid, disable_inverted, disable_negative): New
2571         procedures.
2572         ("bad numbers"): New set of tests.
2573
2574 2017-11-07  Pedro Alves  <palves@redhat.com>
2575
2576         * gdb.cp/ena-dis-br-range.exp: Add tests.
2577
2578 2017-11-07  Pedro Alves  <palves@redhat.com>
2579
2580         * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2581
2582 2017-11-07  Xavier Roirand  <roirand@adacore.com>
2583             Pedro Alves  <palves@redhat.com>
2584
2585         * gdb.base/ena-dis-br.exp: Add reference to
2586         gdb.cp/ena-dis-br-range.exp.
2587         * gdb.cp/ena-dis-br-range.exp: New file.
2588         * gdb.cp/ena-dis-br-range.cc: New file.
2589
2590 2017-11-06  Pedro Alves  <palves@redhat.com>
2591
2592         * gdb.base/attach-non-pgrp-leader.c: New.
2593         * gdb.base/attach-non-pgrp-leader.exp: New.
2594
2595 2017-11-06  Pedro Alves  <palves@redhat.com>
2596
2597         * configure.ac: No longer check for termio.h and sgtty.h.
2598         * configure: Regenerate.
2599         * remote-utils.c: Include termios.h instead of gdb_termios.h.
2600         (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2601         Remove termio and sgtty code.
2602
2603 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2604
2605         * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2606         in GDB is disabled.
2607
2608 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2609
2610         * gdb.python/py-thrhandle.exp: Skip it if python is not
2611         enabled.
2612
2613 2017-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
2614
2615         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2616         as a breakpoint command.
2617
2618 2017-10-28  Maksim Dzabraev  <dzabraew@gmail.com>
2619
2620         PR python/21213
2621         * gdb.python/py-infthread.exp: Test calling
2622         InferiorThread.inferior () multiple times in a row.
2623
2624 2017-10-27  Keith Seitz  <keiths@redhat.com>
2625
2626         * gdb.opt/inline-break.exp (break_info_1): New procedure.
2627         Test "info break" for every inlined function breakpoint.
2628
2629 2017-10-27  Yao Qi  <yao.qi@linaro.org>
2630
2631         * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2632
2633 2017-10-26  Patrick Frants  <osscontribute@gmail.com>
2634
2635         * gdb.cp/classes.exp (test_static_members): Test printing
2636         Outer::instance.
2637         * gdb.cp/classes.c (struct Inner, struct Outer): New.
2638         (Inner::instance, Outer::instance): New.
2639
2640 2017-10-24  Pedro Alves  <palves@redhat.com>
2641
2642         * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2643         extra console" test in two stages.
2644
2645 2017-10-24  Pedro Alves  <palves@redhat.com>
2646
2647         * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2648
2649 2017-10-24  Pedro Alves  <palves@redhat.com>
2650
2651         * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2652         loop.
2653
2654 2017-10-24  Pedro Alves  <palves@redhat.com>
2655
2656         * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2657         $attempt" and "stoppedtry $stoppedtry" test prefixes.
2658
2659 2017-10-24  Pedro Alves  <palves@redhat.com>
2660
2661         * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2662         parameter and handle it.  Don't output read value in test name.
2663
2664 2017-10-24  Pedro Alves  <palves@redhat.com>
2665
2666         * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2667         custom test name.
2668
2669 2017-10-24  Pedro Alves  <palves@redhat.com>
2670
2671         * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2672         include the unstable output directory name in the test's name.
2673         (initial_setup_simple) <'set args'>: Use custom test name.
2674
2675 2017-10-24  Pedro Alves  <palves@redhat.com>
2676
2677         * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2678         with explicit test name.
2679
2680 2017-10-20  Pedro Alves  <palves@redhat.com>
2681
2682         * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2683         'wait -i'.  Use gdb_assert and remote_close.
2684
2685 2017-10-19  Andrew Burgess  <andrew.burgess@embecosm.com>
2686
2687         * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2688         number from variable rather than hard-coded.
2689
2690 2017-10-19  Pedro Alves  <palves@redhat.com>
2691
2692         * gdb.base/long-inferior-output.c: New file.
2693         * gdb.base/long-inferior-output.exp: New file.
2694
2695 2017-11-18  Keith Seitz  <keiths@redhat.com>
2696
2697         * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2698         method.
2699         (main): Call it.
2700         * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2701         Add additional user-defined conversion operator tests.
2702
2703 2017-10-17  Pedro Alves  <palves@redhat.com>
2704
2705         * boards/native-stdio-gdbserver.exp: Load "local-board".
2706
2707 2017-10-17  Pedro Alves  <palves@redhat.com>
2708
2709         * gdb.base/quit-live.c: New file.
2710         * gdb.base/quit-live.exp: New file.
2711
2712 2017-10-16  Keith Seitz  <keiths@redhat.com>
2713
2714         * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2715         (class_with_protected_typedef, class_with_private_typedef)
2716         (struct_with_public_typedef, struct_with_protected_typedef)
2717         (struct_with_private_typedef): New classes/structs.
2718         * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2719         typedefs and access specifiers.
2720
2721 2017-10-16  Pedro Alves  <palves@redhat.com>
2722             Simon Marchi  <simon.marchi@polymtl.ca>
2723
2724         * README (Local vs Remote vs Native): New section.
2725         * boards/local-board.exp: New file, with bits factored out from
2726         ...
2727         * boards/native-extended-gdbserver.exp: ... here.  Load
2728         "local-board".
2729         * boards/native-gdbserver.exp: Load "local-board".
2730         (${board}_spawn, ${board}_exec): Delete.
2731         * boards/native-stdio-gdbserver.exp: Most contents factored out to
2732         ...
2733         * boards/stdio-gdbserver-base.exp: ... this new file.
2734         * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2735         "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2736         procedure.
2737         * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2738         instead of native-stdio-gdbserver.  Don't set gdb_server_prog nor
2739         stdio_gdbserver_command.
2740         (${board}_get_remote_address, ${board}_get_comm_port)
2741         (${board}_download, ${board}_upload): Delete.
2742         (get_target_remote_pipe_cmd): New.
2743
2744 2017-10-16  Simon Marchi  <simon.marchi@ericsson.com>
2745
2746         * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2747         test_bkpt_deletion, test_bkpt_cond_and_cmds,
2748         test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2749         test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2750         test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2751         remove with_test_prefix.
2752
2753 2017-10-13  Pedro Alves  <palves@redhat.com>
2754
2755         * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2756         * gdb.base/annota1.exp: Use it instead of is_remote.
2757         * gdb.base/annota3.exp: Use it instead of is_remote.
2758         * gdb.cp/annota2.exp: Use it instead of is_remote.
2759         * gdb.cp/annota3.exp: Use it instead of is_remote.
2760         * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2761
2762 2017-10-13  Pedro Alves  <palves@redhat.com>
2763
2764         * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2765         (test_num_test_vars, run_and_count_vars, find_env)
2766         (test_set_unset_env, test_inherit_env_var): New procedures.
2767         (top level): Use them.
2768
2769 2017-10-13  Pedro Alves  <palves@redhat.com>
2770
2771         * lib/selftest-support.exp (selftest_setup): Extend comments, and
2772         also skip on stub-like targets.
2773
2774 2017-10-13  Pedro Alves  <palves@redhat.com>
2775
2776         PR gdb/22293
2777         * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2778         (top level): Move some tests to ...
2779         (test_not_found): ... this new procedure.
2780         (top level): Call it.
2781
2782 2017-10-13  Pedro Alves  <palves@redhat.com>
2783
2784         * gdb.base/term.exp: Don't skip if is_remote target.  Instead,
2785         expect different "info terminal" output if testing with a
2786         non-native target.
2787
2788 2017-10-13  Pedro Alves  <palves@redhat.com>
2789             Simon Marchi  <simon.marchi@polymtl.ca>
2790
2791         PR python/12966
2792         * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2793
2794 2017-10-13  Pedro Alves  <palves@redhat.com>
2795
2796         * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2797         already.
2798
2799 2017-10-13  Pedro Alves  <palves@redhat.com>
2800
2801         * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2802         is_remote.
2803
2804 2017-10-13  Pedro Alves  <palves@redhat.com>
2805
2806         * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2807         is_remote.
2808
2809 2017-10-13  Pedro Alves  <palves@redhat.com>
2810
2811         * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2812         is set.
2813         (corefile_test_attach): Likewise.  Check can_spawn_for_attach
2814         instead of is_remote.
2815
2816 2017-10-13  Pedro Alves  <palves@redhat.com>
2817
2818         * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2819         (top level): Add comment.
2820
2821 2017-10-13  Pedro Alves  <palves@redhat.com>
2822
2823         * gdb.base/remote.exp (top level): Fix comment typo and add
2824         missing return.
2825
2826 2017-10-13  Pedro Alves  <palves@redhat.com>
2827             Simon Marchi  <simon.marchi@polymtl.ca>
2828
2829         * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2830         calls and add comments.  Skip test if use_gdb_stub is set.
2831         (top level): Use "set cwd" command instead of "cd" command.
2832
2833 2017-10-13  Pedro Alves  <palves@redhat.com>
2834
2835         * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2836         is_remote target check.
2837
2838 2017-10-13  Pedro Alves  <palves@redhat.com>
2839
2840         * gdb.base/scope.exp: Use build_executable + clean_restart +
2841         gdb_file_cmd instead of prepare_for_testing and no longer skip
2842         "before run" tests on is_remote target boards.  Update comments.
2843         * boards/native-extended-gdbserver.exp
2844         (extended_gdbserver_load_last_file): New, factored out from ...
2845         (gdb_load): ... this.  Move further below and add comment.
2846         (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2847
2848 2017-10-12  Pedro Alves  <palves@redhat.com>
2849
2850         * gdb.base/attach.exp: Remove references to gdb64.
2851         * gdb.base/dbx.exp: Remove references to gdb64.
2852
2853 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
2854             Pedro Alves  <palves@redhat.com>
2855
2856         * gdb.base/label.exp: Remove is_remote target check.
2857
2858 2017-10-12  Pedro Alves  <palves@redhat.com>
2859
2860         * gdb.base/auvx.exp (coredir): Update comment.
2861         (top level) <core_works>: Use "set cwd" command instead of "cd"
2862         command.
2863
2864 2017-10-12  Pedro Alves  <palves@redhat.com>
2865             Simon Marchi  <simon.marchi@polymtl.ca>
2866
2867         * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2868         target boards.
2869
2870 2017-10-12  Pedro Alves  <palves@redhat.com>
2871             Simon Marchi  <simon.marchi@polymtl.ca>
2872
2873         * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2874         Instead skip if there's any gdb_protocol set.
2875
2876 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
2877             Pedro Alves  <palves@redhat.com>
2878
2879         * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2880
2881 2017-10-12  Pedro Alves  <palves@redhat.com>
2882             Simon Marchi  <simon.marchi@polymtl.ca>
2883
2884         * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2885         instead of on dejagnu remote boards.
2886
2887 2017-10-12  Pedro Alves  <palves@redhat.com>
2888             Simon Marchi  <simon.marchi@polymtl.ca>
2889
2890         * gdb.base/inferior-died.exp: Remove is_remote and isnative
2891         checks.  Use build_executable + clean_restart instead of
2892         prepare_for_testing.  Pass "set non-stop on" via GDBFLAGS instead
2893         of enabling non-stop after starting gdb.
2894
2895 2017-10-12  Pedro Alves  <palves@redhat.com>
2896
2897         * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2898         * gdb.threads/non-ldr-exc-2.exp: Ditto.
2899         * gdb.threads/non-ldr-exc-3.exp: Ditto.
2900         * gdb.threads/non-ldr-exc-4.exp: Ditto.
2901
2902 2017-10-11  Anton Kolesov  <Anton.Kolesov@synopsys.com>
2903
2904         * gdb.arch/arc-tdesc-cpu.exp: New file.
2905         * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2906
2907 2017-10-10  Simon Marchi  <simon.marchi@ericsson.com>
2908
2909         * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2910
2911 2017-10-10  Pedro Alves <palves@redhat.com>
2912
2913         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2914         expect CLI output.
2915
2916 2017-10-10  Pedro Alves  <palves@redhat.com>
2917
2918         * lib/selftest-support.exp (selftest_setup): Update for
2919         captured_command_loop's prototype change.
2920
2921 2017-10-09  Pedro Alves  <palves@redhat.com>
2922
2923         Test both arch1=>arch2 and arch2=>arch1.
2924
2925         * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2926         (srcfile2, binfile2, march1, march2): Remove globals.  Largely
2927         factored out to...
2928         (append_arch1_options, append_arch2_options, append_arch_options)
2929         (build_executables): New procedures.
2930         (do_test): New 'first_arch' parameter.  Use it to define 'from_exec'
2931         local.
2932         (top level): Add new 'first_arch' testing axis.
2933
2934 2017-10-09  Pedro Alves  <palves@redhat.com>
2935
2936         * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2937         (barrier): New.
2938         (thread_start, all_started): New functions.
2939         (main): Spawn new thread and wait until it is scheduled.
2940         * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2941         option.
2942         (do_test): Add 'selected_thread' parameter.  Run to all_started
2943         instead of main.  Explicitly set the breakpoint at main.  Switch
2944         to the SELECTED_THREAD thread.
2945         (top level): Test handling the exec event with either the main
2946         thread or the second thread selected.
2947
2948 2017-10-09  Pedro Alves  <palves@redhat.com>
2949
2950         * gdb.base/print-file-var-main.c: Fix get_version_2 value check
2951         logic.  Move STOP marker after the value checks.
2952         * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
2953         regexp.
2954
2955 2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>
2956
2957         * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
2958
2959 2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
2960
2961         * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
2962         integer-to-dfp conversion.
2963         * gdb.base/dfp-test.exp: Likewise.
2964
2965 2017-10-04  Pedro Alves  <palves@redhat.com>
2966
2967         * gdb.multi/hangout.c: Include <unistd.h>.
2968         (hangout_loop): New function.
2969         (main): Call alarm.  Call hangout_loop in a loop.
2970         * gdb.multi/hello.c: Include <unistd.h>.
2971         (hello_loop): New function.
2972         (main): Call alarm.  Call hangout_loop in a loop.
2973         * gdb.multi/multi-arch.exp: Test running to a breakpoint one
2974         inferior with the other selected.
2975
2976 2017-10-04  Simon Marchi  <simon.marchi@ericsson.com>
2977
2978         * gdb.mi/list-thread-groups-available.exp: New file.
2979         * gdb.mi/list-thread-groups-available.c: New file.
2980
2981 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
2982
2983         * gdb.base/set-cwd.exp: Make it available on
2984         native-extended-gdbserver.
2985
2986 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
2987
2988         * gdb.base/set-cwd.c: New file.
2989         * gdb.base/set-cwd.exp: Likewise.
2990
2991 2017-10-02  Tom Tromey  <tom@tromey.com>
2992
2993         PR rust/22236:
2994         * gdb.rust/simple.rs (main): New variable "fslice".
2995         * gdb.rust/simple.exp: Add slice tests.  Update string tests.
2996
2997 2017-10-02  Tom Tromey  <tom@tromey.com>
2998
2999         * gdb.rust/simple.exp: Test ptype of a slice.
3000
3001 2017-10-02  Tom Tromey  <tom@tromey.com>
3002
3003         * gdb.rust/simple.exp: Test index of slice.
3004
3005 2017-09-27  Tom Tromey  <tom@tromey.com>
3006
3007         * gdb.base/macscp.exp: Add __VA_OPT__ tests.
3008
3009 2017-09-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3010             Pedro Alves  <palves@redhat.com>
3011
3012         * gdb.base/compare-sections.exp (get value of read-only section): Read
3013         as unsigned value.
3014         (corrupt read-only section): Likewise and don't set written if patching
3015         failed.
3016
3017 2017-09-21  Kevin Buettner  <kevinb@redhat.com>
3018
3019         * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
3020         files.
3021
3022 2017-09-20  Pedro Alves  <palves@redhat.com>
3023
3024         * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
3025         symbol names in gdb's output.
3026         * gdb.cp/overload.exp ("list all overloads"): Likewise.
3027
3028 2017-09-20  Pedro Alves  <palves@redhat.com>
3029
3030         * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
3031         Rename to ...
3032         (test_list_ambiguous_symbol): ... this and add a symbol name
3033         parameter.  Adjust.
3034         (test_list_ambiguous_function): Reimplement on top of
3035         test_list_ambiguous_symbol and also test listing ambiguous
3036         variables.
3037         * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
3038         (ambiguous_fun): ... this.
3039         (ambiguous_var): New.
3040         * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
3041         (ambiguous_fun): ... this.
3042         (ambiguous_var): New.
3043
3044 2017-09-19  John Baldwin  <jhb@FreeBSD.org>
3045
3046         * gdb.base/starti.c: New file.
3047         * gdb.base/starti.exp: New file.
3048         * lib/gdb.exp (gdb_starti_cmd): New procedure.
3049
3050 2017-09-14  Pedro Alves  <palves@redhat.com>
3051
3052         * gdb.base/nodebug.exp (nodebug_runto): New procedure.
3053         (top level): Use it instead of runto.
3054
3055 2017-09-11  Tom Tromey  <tom@tromey.com>
3056
3057         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
3058
3059 2017-09-11  Tom Tromey  <tom@tromey.com>
3060
3061         * gdb.python/py-infthread.exp: Add tests for new_thread event.
3062         * gdb.python/py-inferior.exp: Add tests for new inferior events.
3063
3064 2017-09-08  Christoph Weinmann  <christoph.t.weinmann@intel.com>
3065
3066         * gdb.fortran/printing-types.exp: New file.
3067         * gdb.fortran/printing-types.exp: New file.
3068
3069 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
3070
3071         * gdb.fortran/vla-ptype.exp: Fix typos.
3072         * gdb.fortran/vla-value.exp: Same.
3073
3074 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
3075
3076         * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
3077         * gdb.mi/mi-var-child-f.exp: Likewise.
3078         * gdb.mi/mi-vla-fortran.exp: Likewise.
3079
3080 2017-09-08  Frank Penczek  <frank.penczek@intel.com>
3081             Christoph Weinmann  <christoph.t.weinmann@intel.com>
3082             Bernhard Heckel  <bernhard.heckel@intel.com>
3083
3084         * gdb.fortran/ptr-indentation.f90: New file.
3085         * gdb.fortran/ptr-indentation.exp: New file.
3086
3087 2017-09-05  Tom Tromey  <tom@tromey.com>
3088
3089         PR gdb/22010:
3090         * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
3091
3092 2017-09-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3093
3094         * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3095
3096 2017-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3097
3098         * gdb.threads/tls-nodebug-pie.c: New file.
3099         * gdb.threads/tls-nodebug-pie.exp: New file.
3100
3101 2017-09-05  Tom Tromey  <tom@tromey.com>
3102
3103         * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3104         for rust.
3105
3106 2017-09-05  Simon Marchi  <simon.marchi@ericsson.com>
3107
3108         * gdb.multi/multi-arch-exec.exp: Test with different
3109         "follow-exec-mode" settings.
3110         (do_test): New procedure.
3111
3112 2017-09-04  Pedro Alves  <palves@redhat.com>
3113
3114         * gdb.base/func-static.c (S::method const, S::method volatile)
3115         (S::method volatile const): New methods.
3116         (c_s, v_s, cv_s): New instances.
3117         (main): Call method() on them.
3118         * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
3119         (cannot_resolve): New procedure.
3120         (cxx_scopes_list): Test cv methods.  Add print-scope-quote and
3121         print-quote-unquoted columns.
3122         (do_test): Test printing each scope too.
3123
3124 2017-09-04  Pedro Alves  <palves@redhat.com>
3125
3126         * gdb.base/local-static.exp: Also test with
3127         class::method::variable wholly quoted.
3128         * gdb.cp/m-static.exp (class::method::variable): Remove test.
3129
3130 2017-09-04  Pedro Alves  <palves@redhat.com>
3131
3132         * gdb.base/local-static.c: New.
3133         * gdb.base/local-static.cc: New.
3134         * gdb.base/local-static.exp:  New.
3135
3136 2017-09-04  Pedro Alves  <palves@redhat.com>
3137
3138         * gdb.asm/asm-source.exp: Add casts to int.
3139         * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
3140         (dataglobal64_1, dataglobal64_2): New globals.
3141         * gdb.base/nodebug.exp: Test different expressions involving the
3142         new globals, with print, whatis and ptype.  Add casts to int.
3143         * gdb.base/solib-display.exp: Add casts to int.
3144         * gdb.compile/compile-ifunc.exp: Expect warning.  Add cast to int.
3145         * gdb.cp/m-static.exp: Add cast to int.
3146         * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
3147         * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
3148         tls variable with no debug info without a cast.  Test with a cast
3149         to int too.
3150         * gdb.trace/entry-values.exp: Add casts.
3151
3152 2017-09-04  Pedro Alves  <palves@redhat.com>
3153
3154         * gdb.base/nodebug.exp: Test that ptype's error about functions
3155         with unknown return type includes the function name too.
3156
3157 2017-09-04  Pedro Alves  <palves@redhat.com>
3158
3159         * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
3160         return type of munmap in infcall.
3161         * gdb.base/break-probes.exp: Cast return type of foo in infcall.
3162         * gdb.base/checkpoint.exp: Simplify using for loop.  Cast return
3163         type of ftell in infcall.
3164         * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
3165         type of getpid in infcall.
3166         * gdb.base/infcall-exec.exp: Cast return type of execlp in
3167         infcall.
3168         * gdb.base/info-os.exp: Cast return type of getpid in infcall.
3169         Bail on failure to extract the pid.
3170         * gdb.base/nodebug.c: #include <stdint.h>.
3171         (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
3172         New functions.
3173         * gdb.base/nodebug.exp (test_call_promotion): New procedure.
3174         Change expected output of print/whatis/ptype with functions with
3175         no debug info.  Test all supported languages.  Call
3176         test_call_promotion.
3177         * gdb.compile/compile.exp: Adjust expected output to expect
3178         warning.
3179         * gdb.threads/siginfo-threads.exp: Likewise.
3180
3181 2017-09-04  Pedro Alves  <palves@redhat.com>
3182
3183         * gdb.base/callfuncs.exp (do_function_calls): New parameter
3184         "prototypes".  Test calling float functions via prototyped and
3185         unprototyped function pointers.
3186         (perform_all_tests): New parameter "prototypes".  Pass it down.
3187         (top level): Pass down "prototypes" parameter to
3188         perform_all_tests.
3189
3190 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3191
3192         * gdb.base/commands.exp (loop_break_test, loop_continue_test):
3193         Test with nested loops.
3194
3195 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3196
3197         * gdb.base/commands.exp: Call the new procedures.
3198         (loop_break_test, loop_continue_test): New procedures.
3199
3200 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3201
3202         * gdb.base/commands.exp: Call new procedure.
3203         (define_if_without_arg_test): New procedure.
3204
3205 2017-09-04  Pedro Alves  <palves@redhat.com>
3206
3207         * gdb.base/list-ambiguous.exp: New file.
3208         * gdb.base/list-ambiguous0.c: New file.
3209         * gdb.base/list-ambiguous1.c: New file.
3210         * gdb.base/list.exp (test_list_range): Adjust expected output.
3211
3212 2017-08-31  Sergio Durigan Junior  <sergiodj@redhat.com>
3213
3214         * gdb.base/share-env-with-gdbserver.c: New file.
3215         * gdb.base/share-env-with-gdbserver.exp: Likewise.
3216
3217 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3218
3219         * gdb.base/commands.exp (gdbvar_simple_if_test,
3220         gdbvar_simple_if_test, gdbvar_complex_if_while_test,
3221         progvar_simple_if_test, progvar_simple_while_test,
3222         progvar_complex_if_while_test, user_defined_command_test,
3223         user_defined_command_args_eval,
3224         user_defined_command_args_stack_test,
3225         user_defined_command_manyargs_test, bp_deleted_in_command_test,
3226         temporary_breakpoint_commands,
3227         gdb_test_no_prompt, redefine_hook_test,
3228         redefine_backtrace_test): Remove "global gdb_prompt".
3229
3230 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3231
3232         * gdb.base/commands.exp (user_defined_command_case_sensitivity):
3233         New proc, call it from toplevel.
3234
3235 2017-08-23  Sergio Durigan Junior  <sergiodj@redhat.com>
3236
3237         PR remote/21852
3238         * gdb.server/normal.c: New file, copied from gdb.base.
3239         * gdb.server/run-without-local-binary.exp: New file.
3240
3241 2017-08-07  Weimin Pan  <weimin.pan@oracle.com>
3242
3243         * gdb.arch/sparc64-adi.exp: New file.
3244         * gdb.arch/sparc64-adi.c: New file.
3245
3246 2017-08-22  Pedro Alves  <palves@redhat.com>
3247
3248         * gdb.cp/overload.exp (line_range_pattern): New procedure.
3249         (top level): Add "list all overloads" tests.
3250
3251 2017-08-22  Tom Tromey  <tom@tromey.com>
3252
3253         * gdb.gdb/xfullpath.exp: Remove.
3254
3255 2017-08-21  Pedro Alves  <palves@redhat.com>
3256
3257         PR gdb/19487
3258         * gdb.base/symbol-alias.c: New.
3259         * gdb.base/symbol-alias2.c: New.
3260         * gdb.base/symbol-alias.exp: New.
3261
3262 2017-08-21  Pedro Alves  <palves@redhat.com>
3263
3264         * gdb.base/dfp-test.c
3265         (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
3266         (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
3267         * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
3268         * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
3269         * gdb.base/whatis-ptype-typedefs.c: New.
3270         * gdb.base/whatis-ptype-typedefs.exp: New.
3271         * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
3272         (an_int, an_int_type, an_int_type2): New globals.
3273         * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
3274         involving typedefs and cast expressions.
3275         * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
3276         (lookup_typedefs_function): New.
3277         (typedefs_pretty_printers_dict): New.
3278         (top level): Register lookup_typedefs_function in
3279         gdb.pretty_printers.
3280
3281 2017-08-18  Yao Qi  <yao.qi@linaro.org>
3282
3283         * gdb.server/unittest.exp: New.
3284
3285 2017-08-15  Sergio Durigan Junior  <sergiodj@redhat.com>
3286
3287         PR gdb/21954
3288         * gdb.base/environ.exp: Add test to check if 'unset environment'
3289         works.
3290
3291 2017-08-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3292
3293         * lib/gdb.exp (universal_compile_options): New caching proc.
3294         (gdb_compile): Suppress GCC's coloring of messages.
3295
3296 2017-08-14  Tom Tromey  <tom@tromey.com>
3297
3298         PR gdb/21675:
3299         * gdb.base/printcmds.exp (test_radices): New function.
3300         * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
3301         * gdb.base/sizeof.exp (check_valueof): Use p/d.
3302         * lib/gdb.exp (get_integer_valueof): Use p/d.
3303
3304 2017-08-12  Simon Marchi  <simon.marchi@ericsson.com>
3305
3306         * lib/gdb.exp (get_valueof): Don't capture end-of-line
3307         characters.
3308
3309 2017-08-05  Tom Tromey  <tom@tromey.com>
3310
3311         * gdb.rust/simple.exp: Allow String to appear in a different
3312         namespace.
3313
3314 2017-07-26  Yao Qi  <yao.qi@linaro.org>
3315
3316         * gdb.gdb/unittest.exp: Invoke command
3317         "maintenance check xml-descriptions".
3318
3319 2017-07-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3320
3321         * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
3322         calling context.
3323         (hex128): Drop erroneous calculation of parameters.
3324
3325 2017-07-22  Simon Marchi  <simon.marchi@ericsson.com>
3326
3327         * gdb.python/py-unwind.exp: Disable stack protection when
3328         building test file.
3329
3330 2017-07-20  Pedro Alves  <palves@redhat.com>
3331
3332         * gdb.base/default.exp (set language): Adjust expected output.
3333
3334 2017-07-20  Pedro Alves  <palves@redhat.com>
3335
3336         * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
3337         (test_minsym): ... this, and make static.
3338         (get_pck__foo__bar__minsym): Rename to ...
3339         (get_test_minsym): ... this.
3340         * gdb.base/dmsym.exp (): Remove "set language ada" call.  Adjust
3341         symbol names and comments.
3342         * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
3343         (get_test_minsym): ... this.
3344         (pck__foo__bar__minsym__2): Rename to ...
3345         (test_minsym): ... this.
3346         (main): Adjust.
3347
3348 2017-07-17  Pedro Alves  <palves@redhat.com>
3349
3350         * gdb.base/completion.exp: Adjust expected output.
3351         * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
3352         the completer works.
3353
3354 2017-07-17  Pedro Alves  <palves@redhat.com>
3355
3356         * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
3357
3358 2017-07-15  Andrew Burgess  <andrew.burgess@embecosm.com>
3359
3360         * gdb.mi/mi-vla-fortran.exp: Make test names unique.
3361
3362 2017-07-14  Tom Tromey  <tom@tromey.com>
3363
3364         PR rust/21764:
3365         * gdb.rust/simple.exp: Add tests.
3366
3367 2017-07-14  Tom Tromey  <tom@tromey.com>
3368
3369         * gdb.rust/simple.exp: Add regression test for PR rust/21763.
3370
3371 2017-07-14  Pedro Alves  <palves@redhat.com>
3372
3373         * gdb.linespec/base/one/thefile.cc (z1): New function.
3374         * gdb.linespec/base/two/thefile.cc (z2): New function.
3375         * gdb.linespec/linespec.exp: Add tests.
3376
3377 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3378
3379         * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
3380         to mi_create_breakpoint.
3381
3382 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3383
3384         * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
3385         mi_create_breakpoint.
3386
3387 2017-07-11  Iain Buclaw  <ibuclaw@gdcproject.org>
3388
3389         * gdb.dlang/demangle.exp: Update for demangling changes.
3390
3391 2017-07-09  Tom Tromey  <tom@tromey.com>
3392
3393         * gdb.dwarf2/shortpiece.exp: New file.
3394
3395 2017-07-06  David Blaikie  <dblaikie@gmail.com>
3396
3397         * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
3398         built from fissiont-multi-cu{1,2}.c.
3399         * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
3400         except putting 'main' and 'func' in separate CUs in the same DWO file.
3401         * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
3402         test.
3403         * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
3404         test.
3405
3406 2017-07-06  Pedro Alves  <palves@redhat.com>
3407
3408         * gdb.python/py-unwind.exp: Test flushregs.
3409
3410 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3411
3412         PR cli/21688
3413         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3414         tests for alias commands and trailing whitespace.
3415
3416 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3417
3418         PR cli/21688
3419         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3420         procedure.  Call it.
3421
3422 2017-06-29  Pedro Alves  <palves@redhat.com>
3423
3424         * gdb.base/printcmds.exp: Add tests.
3425
3426 2017-06-28  Doug Gilmore  <Doug.Gilmore@imgtec.com>
3427
3428         PR gdb/21337
3429         * gdb.base/reread-readsym.exp: New file.
3430         * gdb.base/reread-readsym.c: New file.
3431
3432 2017-06-21  Kevin Buettner  <kevinb@redhat.com>
3433
3434         * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3435         subpattern.
3436
3437 2017-06-19  Peter Bergner  <bergner@vnet.ibm.com>
3438
3439         * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3440         extended mnemonic.
3441         * gdb.arch/powerpc-power9.s: Likewise.
3442
3443 2017-06-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3444
3445         * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3446         on 32-bit x86 targets.  Exploit is_*_target macros where
3447         appropriate.
3448
3449 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3450
3451         * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3452         register pieces.
3453
3454 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3455
3456         * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3457         located in one or more DWARF pieces.
3458
3459 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3460
3461         * lib/gdb.exp (get_endianness): New proc.
3462         * gdb.arch/aarch64-fp.exp: Use it.
3463         * gdb.arch/altivec-regs.exp: Likewise.
3464         * gdb.arch/e500-regs.exp: Likewise.
3465         * gdb.arch/vsx-regs.exp: Likewise.
3466         * gdb.base/dump.exp: Likewise.
3467         * gdb.base/funcargs.exp: Likewise.
3468         * gdb.base/gnu_vector.exp: Likewise.
3469         * gdb.dwarf2/formdata16.exp: Likewise.
3470         * gdb.dwarf2/implptrpiece.exp: Likewise.
3471         * gdb.dwarf2/nonvar-access.exp: Likewise.
3472         * gdb.python/py-inferior.exp: Likewise.
3473         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3474
3475 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3476
3477         PR gdb/21226
3478         * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3479         stack value pieces are taken from the LSB end.
3480
3481 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3482
3483         * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3484         variable at nonzero offset.
3485
3486 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3487
3488         * gdb.dwarf2/var-access.c: New file.
3489         * gdb.dwarf2/var-access.exp: New test.
3490         * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3491
3492 2017-06-12  Tom Tromey  <tom@tromey.com>
3493
3494         * gdb.dwarf2/formdata16.exp: Add tests.
3495
3496 2017-06-12  Tom Tromey  <tom@tromey.com>
3497
3498         * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
3499
3500 2017-06-12  Tom Tromey  <tom@tromey.com>
3501
3502         PR exp/16225:
3503         * gdb.reverse/i386-sse-reverse.exp: Update tests.
3504         * gdb.arch/vsx-regs.exp: Update tests.
3505         * gdb.arch/s390-vregs.exp (hex128): New proc.
3506         Update test.
3507         * gdb.arch/altivec-regs.exp: Update tests.
3508
3509 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3510
3511         * gdb.base/startup-with-shell.c: New file.
3512         * gdb.base/startup-with-shell.exp: Likewise.
3513
3514 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3515
3516         * gdb.server/non-existing-program.exp: Update regex in order to
3517         reflect the fact that gdbserver is now using fork_inferior (with a
3518         shell) to startup the inferior.
3519
3520 2017-05-30  Simon Marchi  <simon.marchi@ericsson.com>
3521
3522         * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3523         support function calls from GDB.
3524
3525 2017-05-21  Tom Tromey  <tom@tromey.com>
3526
3527         PR rust/21466:
3528         * gdb.rust/unsized.exp: New file.
3529         * gdb.rust/unsized.rs: New file.
3530
3531 2017-05-19  Tom Tromey  <tom@tromey.com>
3532
3533         PR rust/21484:
3534         * gdb.rust/watch.exp: New file.
3535         * gdb.rust/watch.rs: New file.
3536
3537 2017-05-18  Tom Tromey  <tom@tromey.com>
3538
3539         * gdb.rust/simple.exp: Allow Box to be qualified.
3540
3541 2017-05-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3542
3543         * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3544
3545 2017-05-18  Pedro Alves  <palves@redhat.com>
3546
3547         * gdb.base/fileio.c (test_write, test_read, test_close)
3548         (test_fstat): Don't print 'ret' in the fail path.
3549
3550 2017-05-18  Pedro Alves  <palves@redhat.com>
3551
3552         * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3553         (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3554         (test_system, test_rename, test_unlink, test_time): Change
3555         prototypes.
3556         * gdb.base/fileio.exp (stop_msg): Adjust.
3557
3558 2017-05-18  Pedro Alves  <palves@redhat.com>
3559
3560         * gdb.base/fileio.c (null_str): New global.
3561         (test_stat): Use it.
3562         * gdb.base/fileio.exp: Remove nowarnings.
3563
3564 2017-05-17  Yao Qi  <yao.qi@linaro.org>
3565
3566         * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3567
3568 2017-05-17  Simon Marchi  <simon.marchi@ericsson.com>
3569
3570         * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3571         argument command.
3572         (top-level): Invoke test_set_inferior_tty.
3573
3574 2017-05-04  Pedro Alves  <palves@redhat.com>
3575
3576         * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3577         Add parens to print call for Python 3.
3578
3579 2017-05-03  Keith Seitz  <keiths@redhat.com>
3580
3581         * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3582         (main): Call it.
3583
3584 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3585
3586         * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3587         to prev and next.
3588
3589 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3590
3591         * gdb.python/py-record-btrace.exp: Remove test for
3592         gdb.BtraceInstruction.error.
3593
3594 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3595
3596         * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3597
3598 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3599
3600         * gdb.python/py-record-btrace-threads.c: New file.
3601         * gdb.python/py-record-btrace-threads.exp: New file.
3602
3603 2017-04-28  Sergio Durigan Junior  <sergiodj@redhat.com>
3604
3605         PR testsuite/8595
3606         * gdb.base/environ.exp: Make test available in all architectures.
3607         Move bits related to "info program" testing to
3608         gdb.base/info-program.exp.  Rewrite tests to use the two new
3609         procedures mentione below.
3610         (test_set_show_env_var) New procedure.
3611         (test_set_show_env_var_equal): Likewise.
3612         * gdb.base/info-program.exp: New file.
3613
3614 2017-04-27  Keith Seitz  <keiths@redhat.com>
3615
3616         * gdb.cp/oranking.cc (test15): New function.
3617         (main): Call test15 and declare additional variables for testing.
3618         * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3619         "p foo101('abc')" tests.
3620         Add tests for cv qualifier overloads.
3621         * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3622         "lvalue reference overload" test.
3623         * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3624         "print value of f1 on Child&& in f2" test.
3625
3626 2017-04-19  Pedro Alves  <palves@redhat.com>
3627
3628         * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3629         procedure.
3630         (top level): Call it.
3631         * lib/gdb.exp (gdb_define_cmd): New procedure.
3632
3633 2017-04-12  Pedro Alves  <palves@redhat.com>
3634
3635         PR gdb/21323
3636         * gdb.cp/wide_char_types.c: Include <wchar.h>.
3637         (wchar): New global.
3638         * gdb.cp/wide_char_types.exp (wide_char_types_program)
3639         (do_test_wide_char, wide_char_types_no_program, top level): Add
3640         wchar_t testing.
3641
3642 2017-04-12  Pedro Alves  <palves@redhat.com>
3643
3644         PR c++/21323
3645         * gdb.cp/wide_char_types.c: New file.
3646         * gdb.cp/wide_char_types.exp: New file.
3647
3648 2017-04-05  Sergio Durigan Junior  <sergiodj@redhat.com>
3649
3650         PR gdb/21352
3651         * gdb.trace/tsv.exp: Add test for "tsave -r".
3652
3653 2017-03-30  Iain Buclaw  <ibuclaw@gdcproject.org>
3654
3655         * gdb.dlang/watch-loc.c: New file.
3656         * gdb.dlang/watch-loc.exp: New file.
3657
3658 2017-03-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3659
3660         * gdb.python/py-section-script.exp (sepdebug): New testcases.
3661
3662 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3663
3664         * gdb.arch/arc-analyze-prologue.S: New file.
3665         * gdb.arch/arc-analyze-prologue.exp: Likewise.
3666
3667 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3668
3669         * gdb.arch/arc-decode-insn.S: New file.
3670         * gdb.arch/arc-decode-insn.exp: Likewise.
3671
3672 2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>
3673
3674         PR tdep/20928
3675         * gdb.arch/sparc64-regs.exp: New file.
3676         * gdb.arch/sparc64-regs.S: Likewise.
3677
3678 2017-03-21  Tim Wiederhake  <tim.wiederhake@intel.com>
3679
3680         * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3681         and memory view on Python 3.
3682
3683 2017-03-20  Artemiy Volkov  <artemiyv@acm.org>
3684             Keith Seitz  <keiths@redhat.com>
3685
3686         PR gdb/14441
3687         * gdb.cp/demangle.exp: Add rvalue reference tests.
3688         * gdb.cp/rvalue-ref-casts.cc: New file.
3689         * gdb.cp/rvalue-ref-casts.exp: New file.
3690         * gdb.cp/rvalue-ref-overload.cc: New file.
3691         * gdb.cp/rvalue-ref-overload.exp: New file.
3692         * gdb.cp/rvalue-ref-params.cc: New file.
3693         * gdb.cp/rvalue-ref-params.exp: New file.
3694         * gdb.cp/rvalue-ref-sizeof.cc: New file.
3695         * gdb.cp/rvalue-ref-sizeof.exp: New file.
3696         * gdb.cp/rvalue-ref-types.cc: New file.
3697         * gdb.cp/rvalue-ref-types.exp: New file.
3698         * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3699         * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3700
3701 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
3702
3703         * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3704         New procedure.
3705
3706 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
3707
3708         * lib/mi-support.exp (mi_gdb_test): Add additional message
3709         for unexpected output.
3710
3711 2017-03-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3712
3713         * gdb.base/examine-backward.c (Barrier): New character array
3714         constant, to ensure that TestStrings is preceded by a string
3715         terminator.
3716
3717 2017-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3718
3719         * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3720         * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3721         and implicit pointer into such a location.
3722
3723 2017-03-16  Doug Evans  <dje@google.com>
3724
3725         * gdb.python/py-lazy-string (pointer): Really add new typedef.
3726
3727 2017-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3728
3729         * gdb.cp/m-static.exp: Fix expectation for prototype of
3730         test5.single_constructor and single_constructor::single_constructor.
3731
3732 2017-03-16  Doug Evans  <dje@google.com>
3733
3734         * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3735         * gdb.guile/scm-lazy-string.c: New file.
3736         * gdb.guile/scm-value.exp: Move lazy string tests to ...
3737         * gdb.guile/scm-lazy-string.exp: ... here, new file.  Add more tests
3738         for pointer, array, typedef lazy strings.
3739
3740 2017-03-16  Doug Evans  <dje@google.com>
3741
3742         PR python/17728, python/18439, python/18779
3743         * gdb.python/py-value.c (main) Delete locals sptr, sn.
3744         * gdb.python/py-lazy-string.c (pointer): New typedef.
3745         (main): New locals ptr, array, typedef_ptr.
3746         * gdb.python/py-value.exp: Move lazy string tests to ...
3747         * gdb.python/py-lazy-string.exp: ... here.  Add more tests for pointer,
3748         array, typedef lazy strings.
3749
3750 2017-03-14  Anton Kolesov  <anton.kolesov@synopsys.com>
3751
3752         * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3753           Add optional 'test' parameter.
3754
3755 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
3756
3757         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3758         Skip for versions of DejaGnu < 1.5.
3759
3760 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
3761
3762         * lib/gdb.exp (dejagnu_version): New proc.
3763         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3764         Use dejagnu_version.
3765
3766 2017-03-10  Keith Seitz  <keiths@redhat.com>
3767
3768         PR c++/8128
3769         * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3770         type from destructor regexps.
3771         Add a branch which actually passes the test.
3772         Adjust "ptype t5i" test names.
3773
3774 2017-03-08  Pedro Alves  <palves@redhat.com>
3775
3776         * gdb.base/step-over-exit.exp: Add explicit test message.
3777
3778 2017-03-08  Pedro Alves  <palves@redhat.com>
3779
3780         PR gdb/18360
3781         * gdb.threads/interrupt-while-step-over.c: New file.
3782         * gdb.threads/interrupt-while-step-over.exp: New file.
3783
3784 2017-03-08  Pedro Alves  <palves@redhat.com>
3785
3786         * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3787         * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3788
3789 2017-03-08  Pedro Alves  <palves@redhat.com>
3790
3791         * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3792         PKRU as not supported as a PASS.
3793
3794 2017-03-08  Pedro Alves  <palves@redhat.com>
3795
3796         * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3797         prefix instead of $binfile1/$binfile2.
3798         * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3799         in test message.
3800         * gdb.python/py-completion.exp: Use "load python file" as test
3801         messages instead of unstable path names.
3802
3803 2017-03-08  Pedro Alves  <palves@redhat.com>
3804             Jan Kratochvil  <jan.kratochvil@redhat.com>
3805
3806         PR cli/21218
3807         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3808         New proc.
3809         (top level): Call it.
3810
3811 2017-03-08  Pedro Alves  <palves@redhat.com>
3812
3813         PR tui/21216
3814         * gdb.tui/tui-nl-filtered-output.exp: New file.
3815
3816 2017-03-08  Pedro Alves  <palves@redhat.com>
3817
3818         * gdb.base/completion.exp: Move TUI completion tests to ...
3819         * gdb.tui/completion.exp: ... this new file.
3820
3821 2017-03-08  Pedro Alves  <palves@redhat.com>
3822
3823         * gdb.base/tui-disasm-long-lines.c,
3824         gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3825         gdb.base/tui-layout.exp: Move to ...
3826         * gdb.tui/: ... this new directory.
3827
3828 2017-03-07  Pedro Alves  <palves@redhat.com>
3829
3830         * gdb.base/tui-layout.c: New file.
3831         * gdb.base/tui-layout.exp: New file.
3832
3833 2017-03-07  Pedro Alves  <palves@redhat.com>
3834
3835         * gdb.base/tui-layout.c: Rename to ...
3836         * gdb.base/tui-disasm-long-lines.c: ... this.
3837         * gdb.base/tui-layout.exp: Rename to ...
3838         * gdb.base/tui-disasm-long-lines.exp: ... this.
3839
3840 2017-03-07  Pedro Alves  <palves@redhat.com>
3841
3842         * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3843
3844 2017-03-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
3845
3846         * i386-mpx-call.c: New file.
3847         * i386-mpx-call.exp: New file.
3848
3849 2017-02-28  Peter Bergner  <bergner@vnet.ibm.com>
3850
3851         * gdb.arch/powerpc-power.exp: Delete test.
3852         * gdb.arch/powerpc-power.s: Likewise.
3853         * gdb.disasm/disassembler-options.exp: New test.
3854         * gdb.arch/powerpc-altivec.exp: Likewise.
3855         * gdb.arch/powerpc-altivec.s: Likewise.
3856         * gdb.arch/powerpc-altivec2.exp: Likewise.
3857         * gdb.arch/powerpc-altivec2.s: Likewise.
3858         * gdb.arch/powerpc-altivec3.exp: Likewise.
3859         * gdb.arch/powerpc-altivec3.s: Likewise.
3860         * gdb.arch/powerpc-power7.exp: Likewise.
3861         * gdb.arch/powerpc-power7.s: Likewise.
3862         * gdb.arch/powerpc-power8.exp: Likewise.
3863         * gdb.arch/powerpc-power8.s: Likewise.
3864         * gdb.arch/powerpc-power9.exp: Likewise.
3865         * gdb.arch/powerpc-power9.s: Likewise.
3866         * gdb.arch/powerpc-vsx.exp: Likewise.
3867         * gdb.arch/powerpc-vsx.s: Likewise.
3868         * gdb.arch/powerpc-vsx2.exp: Likewise.
3869         * gdb.arch/powerpc-vsx2.s: Likewise.
3870         * gdb.arch/powerpc-vsx3.exp: Likewise.
3871         * gdb.arch/powerpc-vsx3.s: Likewise.
3872         * gdb.arch/arm-disassembler-options.exp: Likewise.
3873         * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3874         * gdb.arch/s390-disassembler-options.exp: Likewise.
3875
3876 2017-02-23  Luis Machado  <lgustavo@codesourcery.com>
3877
3878         * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3879         (check_supported_features): ... this. Changed return type to void.
3880         (supports_rdseed): New static global.
3881         (rdseed): Check supports_rdseed.
3882         (initialize): Call check_supported_features.
3883
3884 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3885
3886         * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3887         gdb.arch/ppc64-atomic-inst.exp.  Add tests for lbarx/stbcx, lharx/sthcx
3888         and lqarx/stqcx.
3889         * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3890         * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3891
3892 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3893
3894         * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3895         uppercase.
3896
3897 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3898
3899         * gdb.dwarf2/formdata16.c: New file.
3900         * gdb.dwarf2/formdata16.exp: New file.
3901         * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3902
3903 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3904
3905         * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3906         * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3907         * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3908         * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3909         DW_AT_GNU_*.
3910
3911 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3912
3913         * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3914
3915 2017-02-15  Sergio Durigan Junior  <sergiodj@redhat.com>
3916
3917         PR gdb/21164
3918         * gdb.base/maint.exp: Add testcases for when the commands do
3919         not have arguments.
3920
3921 2017-02-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3922
3923         * gdb.cp/chained-calls.exp: Use p instead of P.
3924
3925 2017-02-14  Tim Wiederhake  <tim.wiederhake@intel.com>
3926
3927         * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3928         gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3929
3930 2017-02-14  Tom Tromey  <tom@tromey.com>
3931
3932         PR python/13598:
3933         * gdb.python/py-events.exp: Add before_prompt event tests.
3934
3935 2017-02-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3936
3937         * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3938
3939 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
3940
3941         * gdb.linespec/explicit.c (my_unique_function_name): New function.
3942         (main): Call my_unique_function_name.
3943         * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3944         completion of patterns with a single match.
3945         Add missing -re switches to gdb_test_multiple calls.
3946
3947 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
3948
3949         * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3950         return if core file is not recognized.
3951
3952 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
3953
3954         * gdb.base/new-ui.exp (do_test): Test queries behavior on main
3955         and extra UIs.
3956
3957 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
3958
3959         * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
3960         proc_with_prefix.
3961
3962 2017-02-10  Tom Tromey  <tom@tromey.com>
3963
3964         * gdb.python/py-xmethods.exp: Use "p" command, not "P".
3965
3966 2017-02-10  Martin Galvan  <martingalvan@sourceware.org>
3967
3968         PR gdb/21122
3969         * gdb.base/help.exp: Update match pattern for testing 'help commands'.
3970
3971 2017-02-08  Jerome Guitton  <guitton@adacore.com>
3972
3973         * gdb.base/define.exp: Add test for command abbreviations
3974         in define.
3975
3976 2017-02-06  Luis Machado  <lgustavo@codesourcery.com>
3977
3978         * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
3979         * gdb.reverse/insn-reverse-x86.c: New file.
3980
3981 2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>
3982
3983         PR tdep/20936
3984         * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
3985
3986 2017-02-03  Tom Tromey  <tom@tromey.com>
3987
3988         PR rust/21097:
3989         * gdb.rust/simple.exp: Add new tests.
3990
3991 2017-02-02  Pedro Alves  <palves@redhat.com>
3992
3993         * gdb.mi/mi-logging.exp: Add "redirect while already logging"
3994         tests.
3995
3996 2017-02-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3997
3998         * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
3999         taking a 2-byte value out of a 4-byte DWARF implicit value on
4000         big-endian targets.
4001         * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
4002         logic.  Add test cases for DW_OP_implicit.
4003
4004 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4005
4006         * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
4007
4008 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4009
4010         * gdb.btrace/enable.exp: Call gdb_exit before
4011         skip_gdbserver_tests.
4012
4013 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4014
4015         * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
4016         GDBFLAGS.
4017
4018 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4019
4020         * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
4021         the test is skipped.
4022         * gdb.btrace/data.exp: Likewise.
4023         * gdb.btrace/delta.exp: Likewise.
4024         * gdb.btrace/dlopen.exp: Likewise.
4025         * gdb.btrace/enable-running.exp: Likewise.
4026         * gdb.btrace/enable.exp: Likewise.
4027         * gdb.btrace/exception.exp: Likewise.
4028         * gdb.btrace/function_call_history.exp: Likewise.
4029         * gdb.btrace/gcore.exp: Likewise.
4030         * gdb.btrace/instruction_history.exp: Likewise.
4031         * gdb.btrace/multi-thread-step.exp: Likewise.
4032         * gdb.btrace/nohist.exp: Likewise.
4033         * gdb.btrace/non-stop.exp: Likewise.
4034         * gdb.btrace/reconnect.exp: Likewise.
4035         * gdb.btrace/record_goto-step.exp: Likewise.
4036         * gdb.btrace/record_goto.exp: Likewise.
4037         * gdb.btrace/rn-dl-bind.exp: Likewise.
4038         * gdb.btrace/segv.exp: Likewise.
4039         * gdb.btrace/step.exp: Likewise.
4040         * gdb.btrace/stepi.exp: Likewise.
4041         * gdb.btrace/tailcall-only.exp: Likewise.
4042         * gdb.btrace/tailcall.exp: Likewise.
4043         * gdb.btrace/tsx.exp: Likewise.
4044         * gdb.btrace/unknown_functions.exp: Likewise.
4045         * gdb.btrace/vdso.exp: Likewise.
4046
4047 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4048
4049         * gdb.btrace/enable-running.c: New.
4050         * gdb.btrace/enable-running.exp: New.
4051
4052 2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
4053
4054         * gdb.arch/amd64-gs_base.c: New file.
4055         * gdb.arch/amd64-gs_base.exp: New file.
4056
4057 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4058
4059         * lib/memory.exp: Remove spurious empty newlines.
4060
4061 2017-01-26  Simon Marchi  <simon.marchi@polymtl.ca>
4062
4063         * gdb.python/py-bad-printers.exp: Load python file using "source".
4064         * gdb.python/py-events.exp: Likewise.
4065         * gdb.python/py-evsignal.exp: Likewise.
4066         * gdb.python/py-evthreads.exp: Likewise.
4067         * gdb.python/py-frame-args.exp: Likewise.
4068         * gdb.python/py-framefilter-invalidarg.exp: Likewise.
4069         * gdb.python/py-framefilter-mi.exp: Likewise.
4070         * gdb.python/py-framefilter.exp: Likewise.
4071         * gdb.python/py-mi.exp: Likewise.
4072         * gdb.python/py-pp-maint.exp: Likewise.
4073         * gdb.python/py-pp-registration.exp: Likewise.
4074         * gdb.python/py-prettyprint.exp: Likewise.
4075         (run_lang_tests): Likewise.
4076         * gdb.python/py-typeprint.exp: Likewise.
4077
4078 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4079
4080         * lib/memory.exp: New file.
4081         * lib/gdb.exp: Load memory.exp.
4082         * gdb.base/memattr.exp (delete_memory): Move proc to
4083         lib/memory.exp and rename to delete_memory_regions.
4084         Replace delete_memory with delete_memory_regions.
4085         Cleanup memory regions before tests.
4086         * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
4087         before tests.
4088
4089 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4090
4091         * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4092         files.
4093         (initialize): New function conditionally defined.
4094         (testcases): Move within conditional block.
4095         (main): Call initialize.
4096         * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4097         of gdb.reverse/insn-reverse.c.
4098         * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4099         gdb.reverse/insn-reverse.c.
4100
4101 2017-01-26  Yao Qi  <yao.qi@linaro.org>
4102
4103         * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4104         disassemble on address 0.
4105
4106 2017-01-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4107             Yao Qi  <yao.qi@linaro.org>
4108
4109         * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4110         * gdb.dwarf2/implptr-64bit.S: Remove.
4111         * lib/dwarf.exp (Dwarf): Handle character "%".  Evaluate some
4112         variables in caller's context.  Add DW_OP_implicit_value.
4113
4114 2017-01-25  Yao Qi  <yao.qi@linaro.org>
4115
4116         * lib/dwarf.exp (Dwarf::_location): Handle
4117         DW_OP_GNU_implicit_pointer with proper size.
4118
4119 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4120
4121         * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
4122         and add untested calls.
4123
4124 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4125
4126         * gdb.python/python.exp: Check line number against what GDB thinks
4127         the line number is for func1.
4128
4129 2017-01-08  Iain Buclaw  <ibuclaw@gdcproject.org>
4130
4131         * gdb.dlang/debug-expr.exp: New file.
4132
4133 2016-12-23  Luis Machado  <lgustavo@codesourcery.com>
4134
4135         Fix test names for the following files:
4136
4137         * gdb.ada/exec_changed.exp
4138         * gdb.ada/info_types.exp
4139         * gdb.arch/aarch64-atomic-inst.exp
4140         * gdb.arch/aarch64-fp.exp
4141         * gdb.arch/altivec-abi.exp
4142         * gdb.arch/altivec-regs.exp
4143         * gdb.arch/amd64-byte.exp
4144         * gdb.arch/amd64-disp-step.exp
4145         * gdb.arch/amd64-dword.exp
4146         * gdb.arch/amd64-entry-value-inline.exp
4147         * gdb.arch/amd64-entry-value-param.exp
4148         * gdb.arch/amd64-entry-value-paramref.exp
4149         * gdb.arch/amd64-entry-value.exp
4150         * gdb.arch/amd64-i386-address.exp
4151         * gdb.arch/amd64-invalid-stack-middle.exp
4152         * gdb.arch/amd64-invalid-stack-top.exp
4153         * gdb.arch/amd64-optimout-repeat.exp
4154         * gdb.arch/amd64-prologue-skip.exp
4155         * gdb.arch/amd64-prologue-xmm.exp
4156         * gdb.arch/amd64-stap-special-operands.exp
4157         * gdb.arch/amd64-stap-wrong-subexp.exp
4158         * gdb.arch/amd64-tailcall-cxx.exp
4159         * gdb.arch/amd64-tailcall-noret.exp
4160         * gdb.arch/amd64-tailcall-ret.exp
4161         * gdb.arch/amd64-tailcall-self.exp
4162         * gdb.arch/amd64-word.exp
4163         * gdb.arch/arm-bl-branch-dest.exp
4164         * gdb.arch/arm-disp-step.exp
4165         * gdb.arch/arm-neon.exp
4166         * gdb.arch/arm-single-step-kernel-helper.exp
4167         * gdb.arch/avr-flash-qualifier.exp
4168         * gdb.arch/disp-step-insn-reloc.exp
4169         * gdb.arch/e500-abi.exp
4170         * gdb.arch/e500-regs.exp
4171         * gdb.arch/ftrace-insn-reloc.exp
4172         * gdb.arch/i386-avx512.exp
4173         * gdb.arch/i386-bp_permanent.exp
4174         * gdb.arch/i386-byte.exp
4175         * gdb.arch/i386-cfi-notcurrent.exp
4176         * gdb.arch/i386-disp-step.exp
4177         * gdb.arch/i386-dr3-watch.exp
4178         * gdb.arch/i386-float.exp
4179         * gdb.arch/i386-gnu-cfi.exp
4180         * gdb.arch/i386-mpx-map.exp
4181         * gdb.arch/i386-mpx-sigsegv.exp
4182         * gdb.arch/i386-mpx-simple_segv.exp
4183         * gdb.arch/i386-mpx.exp
4184         * gdb.arch/i386-permbkpt.exp
4185         * gdb.arch/i386-prologue.exp
4186         * gdb.arch/i386-signal.exp
4187         * gdb.arch/i386-size-overlap.exp
4188         * gdb.arch/i386-unwind.exp
4189         * gdb.arch/i386-word.exp
4190         * gdb.arch/mips-fcr.exp
4191         * gdb.arch/powerpc-d128-regs.exp
4192         * gdb.arch/powerpc-stackless.exp
4193         * gdb.arch/ppc64-atomic-inst.exp
4194         * gdb.arch/s390-stackless.exp
4195         * gdb.arch/s390-tdbregs.exp
4196         * gdb.arch/s390-vregs.exp
4197         * gdb.arch/sparc-sysstep.exp
4198         * gdb.arch/thumb-bx-pc.exp
4199         * gdb.arch/thumb-singlestep.exp
4200         * gdb.arch/thumb2-it.exp
4201         * gdb.arch/vsx-regs.exp
4202         * gdb.asm/asm-source.exp
4203         * gdb.base/a2-run.exp
4204         * gdb.base/advance.exp
4205         * gdb.base/all-bin.exp
4206         * gdb.base/anon.exp
4207         * gdb.base/args.exp
4208         * gdb.base/arithmet.exp
4209         * gdb.base/async-shell.exp
4210         * gdb.base/async.exp
4211         * gdb.base/attach-pie-noexec.exp
4212         * gdb.base/attach-twice.exp
4213         * gdb.base/auto-load.exp
4214         * gdb.base/bang.exp
4215         * gdb.base/bitfields.exp
4216         * gdb.base/break-always.exp
4217         * gdb.base/break-caller-line.exp
4218         * gdb.base/break-entry.exp
4219         * gdb.base/break-inline.exp
4220         * gdb.base/break-on-linker-gcd-function.exp
4221         * gdb.base/break-probes.exp
4222         * gdb.base/break.exp
4223         * gdb.base/breakpoint-shadow.exp
4224         * gdb.base/call-ar-st.exp
4225         * gdb.base/call-sc.exp
4226         * gdb.base/call-signal-resume.exp
4227         * gdb.base/call-strs.exp
4228         * gdb.base/callfuncs.exp
4229         * gdb.base/catch-fork-static.exp
4230         * gdb.base/catch-gdb-caused-signals.exp
4231         * gdb.base/catch-load.exp
4232         * gdb.base/catch-signal-fork.exp
4233         * gdb.base/catch-signal.exp
4234         * gdb.base/catch-syscall.exp
4235         * gdb.base/charset.exp
4236         * gdb.base/checkpoint.exp
4237         * gdb.base/chng-syms.exp
4238         * gdb.base/code-expr.exp
4239         * gdb.base/code_elim.exp
4240         * gdb.base/commands.exp
4241         * gdb.base/completion.exp
4242         * gdb.base/complex.exp
4243         * gdb.base/cond-expr.exp
4244         * gdb.base/condbreak.exp
4245         * gdb.base/consecutive.exp
4246         * gdb.base/continue-all-already-running.exp
4247         * gdb.base/coredump-filter.exp
4248         * gdb.base/corefile.exp
4249         * gdb.base/dbx.exp
4250         * gdb.base/debug-expr.exp
4251         * gdb.base/define.exp
4252         * gdb.base/del.exp
4253         * gdb.base/disabled-location.exp
4254         * gdb.base/disasm-end-cu.exp
4255         * gdb.base/disasm-optim.exp
4256         * gdb.base/display.exp
4257         * gdb.base/duplicate-bp.exp
4258         * gdb.base/ena-dis-br.exp
4259         * gdb.base/ending-run.exp
4260         * gdb.base/enumval.exp
4261         * gdb.base/environ.exp
4262         * gdb.base/eu-strip-infcall.exp
4263         * gdb.base/eval-avoid-side-effects.exp
4264         * gdb.base/eval-skip.exp
4265         * gdb.base/exitsignal.exp
4266         * gdb.base/expand-psymtabs.exp
4267         * gdb.base/filesym.exp
4268         * gdb.base/find-unmapped.exp
4269         * gdb.base/finish.exp
4270         * gdb.base/float.exp
4271         * gdb.base/foll-exec-mode.exp
4272         * gdb.base/foll-exec.exp
4273         * gdb.base/foll-fork.exp
4274         * gdb.base/fortran-sym-case.exp
4275         * gdb.base/freebpcmd.exp
4276         * gdb.base/func-ptr.exp
4277         * gdb.base/func-ptrs.exp
4278         * gdb.base/funcargs.exp
4279         * gdb.base/gcore-buffer-overflow.exp
4280         * gdb.base/gcore-relro-pie.exp
4281         * gdb.base/gcore-relro.exp
4282         * gdb.base/gcore.exp
4283         * gdb.base/gdb1090.exp
4284         * gdb.base/gdb11530.exp
4285         * gdb.base/gdb11531.exp
4286         * gdb.base/gdb1821.exp
4287         * gdb.base/gdbindex-stabs.exp
4288         * gdb.base/gdbvars.exp
4289         * gdb.base/hbreak.exp
4290         * gdb.base/hbreak2.exp
4291         * gdb.base/included.exp
4292         * gdb.base/infcall-input.exp
4293         * gdb.base/inferior-died.exp
4294         * gdb.base/infnan.exp
4295         * gdb.base/info-macros.exp
4296         * gdb.base/info-os.exp
4297         * gdb.base/info-proc.exp
4298         * gdb.base/info-shared.exp
4299         * gdb.base/info-target.exp
4300         * gdb.base/infoline.exp
4301         * gdb.base/interp.exp
4302         * gdb.base/interrupt.exp
4303         * gdb.base/jit-reader.exp
4304         * gdb.base/jit-simple.exp
4305         * gdb.base/kill-after-signal.exp
4306         * gdb.base/kill-detach-inferiors-cmd.exp
4307         * gdb.base/label.exp
4308         * gdb.base/langs.exp
4309         * gdb.base/ldbl_e308.exp
4310         * gdb.base/line-symtabs.exp
4311         * gdb.base/linespecs.exp
4312         * gdb.base/list.exp
4313         * gdb.base/long_long.exp
4314         * gdb.base/longest-types.exp
4315         * gdb.base/maint.exp
4316         * gdb.base/max-value-size.exp
4317         * gdb.base/memattr.exp
4318         * gdb.base/mips_pro.exp
4319         * gdb.base/morestack.exp
4320         * gdb.base/moribund-step.exp
4321         * gdb.base/multi-forks.exp
4322         * gdb.base/nested-addr.exp
4323         * gdb.base/nextoverexit.exp
4324         * gdb.base/noreturn-finish.exp
4325         * gdb.base/noreturn-return.exp
4326         * gdb.base/nostdlib.exp
4327         * gdb.base/offsets.exp
4328         * gdb.base/opaque.exp
4329         * gdb.base/pc-fp.exp
4330         * gdb.base/permissions.exp
4331         * gdb.base/print-symbol-loading.exp
4332         * gdb.base/prologue-include.exp
4333         * gdb.base/psymtab.exp
4334         * gdb.base/ptype.exp
4335         * gdb.base/random-signal.exp
4336         * gdb.base/randomize.exp
4337         * gdb.base/range-stepping.exp
4338         * gdb.base/readline-ask.exp
4339         * gdb.base/recpar.exp
4340         * gdb.base/recurse.exp
4341         * gdb.base/relational.exp
4342         * gdb.base/restore.exp
4343         * gdb.base/return-nodebug.exp
4344         * gdb.base/return.exp
4345         * gdb.base/run-after-attach.exp
4346         * gdb.base/save-bp.exp
4347         * gdb.base/scope.exp
4348         * gdb.base/sect-cmd.exp
4349         * gdb.base/set-lang-auto.exp
4350         * gdb.base/set-noassign.exp
4351         * gdb.base/setvar.exp
4352         * gdb.base/sigall.exp
4353         * gdb.base/sigbpt.exp
4354         * gdb.base/siginfo-addr.exp
4355         * gdb.base/siginfo-infcall.exp
4356         * gdb.base/siginfo-obj.exp
4357         * gdb.base/siginfo.exp
4358         * gdb.base/signals-state-child.exp
4359         * gdb.base/signest.exp
4360         * gdb.base/sigstep.exp
4361         * gdb.base/sizeof.exp
4362         * gdb.base/skip.exp
4363         * gdb.base/solib-corrupted.exp
4364         * gdb.base/solib-nodir.exp
4365         * gdb.base/solib-search.exp
4366         * gdb.base/stack-checking.exp
4367         * gdb.base/stale-infcall.exp
4368         * gdb.base/stap-probe.exp
4369         * gdb.base/start.exp
4370         * gdb.base/step-break.exp
4371         * gdb.base/step-bt.exp
4372         * gdb.base/step-line.exp
4373         * gdb.base/step-over-exit.exp
4374         * gdb.base/step-over-syscall.exp
4375         * gdb.base/step-resume-infcall.exp
4376         * gdb.base/step-test.exp
4377         * gdb.base/store.exp
4378         * gdb.base/structs3.exp
4379         * gdb.base/sym-file.exp
4380         * gdb.base/symbol-without-target_section.exp
4381         * gdb.base/term.exp
4382         * gdb.base/testenv.exp
4383         * gdb.base/ui-redirect.exp
4384         * gdb.base/until.exp
4385         * gdb.base/unwindonsignal.exp
4386         * gdb.base/value-double-free.exp
4387         * gdb.base/vla-datatypes.exp
4388         * gdb.base/vla-ptr.exp
4389         * gdb.base/vla-sideeffect.exp
4390         * gdb.base/volatile.exp
4391         * gdb.base/watch-cond-infcall.exp
4392         * gdb.base/watch-cond.exp
4393         * gdb.base/watch-non-mem.exp
4394         * gdb.base/watch-read.exp
4395         * gdb.base/watch-vfork.exp
4396         * gdb.base/watchpoint-cond-gone.exp
4397         * gdb.base/watchpoint-delete.exp
4398         * gdb.base/watchpoint-hw-hit-once.exp
4399         * gdb.base/watchpoint-hw.exp
4400         * gdb.base/watchpoint-stops-at-right-insn.exp
4401         * gdb.base/watchpoints.exp
4402         * gdb.base/wchar.exp
4403         * gdb.base/whatis-exp.exp
4404         * gdb.btrace/buffer-size.exp
4405         * gdb.btrace/data.exp
4406         * gdb.btrace/delta.exp
4407         * gdb.btrace/dlopen.exp
4408         * gdb.btrace/enable.exp
4409         * gdb.btrace/exception.exp
4410         * gdb.btrace/function_call_history.exp
4411         * gdb.btrace/gcore.exp
4412         * gdb.btrace/instruction_history.exp
4413         * gdb.btrace/nohist.exp
4414         * gdb.btrace/reconnect.exp
4415         * gdb.btrace/record_goto-step.exp
4416         * gdb.btrace/record_goto.exp
4417         * gdb.btrace/rn-dl-bind.exp
4418         * gdb.btrace/segv.exp
4419         * gdb.btrace/step.exp
4420         * gdb.btrace/stepi.exp
4421         * gdb.btrace/tailcall-only.exp
4422         * gdb.btrace/tailcall.exp
4423         * gdb.btrace/tsx.exp
4424         * gdb.btrace/unknown_functions.exp
4425         * gdb.btrace/vdso.exp
4426         * gdb.compile/compile-ifunc.exp
4427         * gdb.compile/compile-ops.exp
4428         * gdb.compile/compile-print.exp
4429         * gdb.compile/compile-setjmp.exp
4430         * gdb.cp/abstract-origin.exp
4431         * gdb.cp/ambiguous.exp
4432         * gdb.cp/annota2.exp
4433         * gdb.cp/annota3.exp
4434         * gdb.cp/anon-ns.exp
4435         * gdb.cp/anon-struct.exp
4436         * gdb.cp/anon-union.exp
4437         * gdb.cp/arg-reference.exp
4438         * gdb.cp/baseenum.exp
4439         * gdb.cp/bool.exp
4440         * gdb.cp/breakpoint.exp
4441         * gdb.cp/bs15503.exp
4442         * gdb.cp/call-c.exp
4443         * gdb.cp/casts.exp
4444         * gdb.cp/chained-calls.exp
4445         * gdb.cp/class2.exp
4446         * gdb.cp/classes.exp
4447         * gdb.cp/cmpd-minsyms.exp
4448         * gdb.cp/converts.exp
4449         * gdb.cp/cp-relocate.exp
4450         * gdb.cp/cpcompletion.exp
4451         * gdb.cp/cpexprs.exp
4452         * gdb.cp/cplabel.exp
4453         * gdb.cp/cplusfuncs.exp
4454         * gdb.cp/cpsizeof.exp
4455         * gdb.cp/ctti.exp
4456         * gdb.cp/derivation.exp
4457         * gdb.cp/destrprint.exp
4458         * gdb.cp/dispcxx.exp
4459         * gdb.cp/enum-class.exp
4460         * gdb.cp/exception.exp
4461         * gdb.cp/exceptprint.exp
4462         * gdb.cp/expand-psymtabs-cxx.exp
4463         * gdb.cp/expand-sals.exp
4464         * gdb.cp/extern-c.exp
4465         * gdb.cp/filename.exp
4466         * gdb.cp/formatted-ref.exp
4467         * gdb.cp/fpointer.exp
4468         * gdb.cp/gdb1355.exp
4469         * gdb.cp/gdb2495.exp
4470         * gdb.cp/hang.exp
4471         * gdb.cp/impl-this.exp
4472         * gdb.cp/infcall-dlopen.exp
4473         * gdb.cp/inherit.exp
4474         * gdb.cp/iostream.exp
4475         * gdb.cp/koenig.exp
4476         * gdb.cp/local.exp
4477         * gdb.cp/m-data.exp
4478         * gdb.cp/m-static.exp
4479         * gdb.cp/mb-ctor.exp
4480         * gdb.cp/mb-inline.exp
4481         * gdb.cp/mb-templates.exp
4482         * gdb.cp/member-name.exp
4483         * gdb.cp/member-ptr.exp
4484         * gdb.cp/meth-typedefs.exp
4485         * gdb.cp/method.exp
4486         * gdb.cp/method2.exp
4487         * gdb.cp/minsym-fallback.exp
4488         * gdb.cp/misc.exp
4489         * gdb.cp/namelessclass.exp
4490         * gdb.cp/namespace-enum.exp
4491         * gdb.cp/namespace-nested-import.exp
4492         * gdb.cp/namespace.exp
4493         * gdb.cp/nextoverthrow.exp
4494         * gdb.cp/no-dmgl-verbose.exp
4495         * gdb.cp/non-trivial-retval.exp
4496         * gdb.cp/noparam.exp
4497         * gdb.cp/nsdecl.exp
4498         * gdb.cp/nsimport.exp
4499         * gdb.cp/nsnested.exp
4500         * gdb.cp/nsnoimports.exp
4501         * gdb.cp/nsrecurs.exp
4502         * gdb.cp/nsstress.exp
4503         * gdb.cp/nsusing.exp
4504         * gdb.cp/operator.exp
4505         * gdb.cp/oranking.exp
4506         * gdb.cp/overload-const.exp
4507         * gdb.cp/overload.exp
4508         * gdb.cp/ovldbreak.exp
4509         * gdb.cp/ovsrch.exp
4510         * gdb.cp/paren-type.exp
4511         * gdb.cp/parse-lang.exp
4512         * gdb.cp/pass-by-ref.exp
4513         * gdb.cp/pr-1023.exp
4514         * gdb.cp/pr-1210.exp
4515         * gdb.cp/pr-574.exp
4516         * gdb.cp/pr10687.exp
4517         * gdb.cp/pr12028.exp
4518         * gdb.cp/pr17132.exp
4519         * gdb.cp/pr17494.exp
4520         * gdb.cp/pr9067.exp
4521         * gdb.cp/pr9167.exp
4522         * gdb.cp/pr9631.exp
4523         * gdb.cp/printmethod.exp
4524         * gdb.cp/psmang.exp
4525         * gdb.cp/psymtab-parameter.exp
4526         * gdb.cp/ptype-cv-cp.exp
4527         * gdb.cp/ptype-flags.exp
4528         * gdb.cp/re-set-overloaded.exp
4529         * gdb.cp/ref-types.exp
4530         * gdb.cp/rtti.exp
4531         * gdb.cp/scope-err.exp
4532         * gdb.cp/shadow.exp
4533         * gdb.cp/smartp.exp
4534         * gdb.cp/static-method.exp
4535         * gdb.cp/static-print-quit.exp
4536         * gdb.cp/temargs.exp
4537         * gdb.cp/templates.exp
4538         * gdb.cp/try_catch.exp
4539         * gdb.cp/typedef-operator.exp
4540         * gdb.cp/typeid.exp
4541         * gdb.cp/userdef.exp
4542         * gdb.cp/using-crash.exp
4543         * gdb.cp/var-tag.exp
4544         * gdb.cp/virtbase.exp
4545         * gdb.cp/virtfunc.exp
4546         * gdb.cp/virtfunc2.exp
4547         * gdb.cp/vla-cxx.exp
4548         * gdb.disasm/t01_mov.exp
4549         * gdb.disasm/t02_mova.exp
4550         * gdb.disasm/t03_add.exp
4551         * gdb.disasm/t04_sub.exp
4552         * gdb.disasm/t05_cmp.exp
4553         * gdb.disasm/t06_ari2.exp
4554         * gdb.disasm/t07_ari3.exp
4555         * gdb.disasm/t08_or.exp
4556         * gdb.disasm/t09_xor.exp
4557         * gdb.disasm/t10_and.exp
4558         * gdb.disasm/t11_logs.exp
4559         * gdb.disasm/t12_bit.exp
4560         * gdb.disasm/t13_otr.exp
4561         * gdb.dlang/circular.exp
4562         * gdb.dwarf2/arr-stride.exp
4563         * gdb.dwarf2/arr-subrange.exp
4564         * gdb.dwarf2/atomic-type.exp
4565         * gdb.dwarf2/bad-regnum.exp
4566         * gdb.dwarf2/bitfield-parent-optimized-out.exp
4567         * gdb.dwarf2/callframecfa.exp
4568         * gdb.dwarf2/clztest.exp
4569         * gdb.dwarf2/corrupt.exp
4570         * gdb.dwarf2/data-loc.exp
4571         * gdb.dwarf2/dup-psym.exp
4572         * gdb.dwarf2/dw2-anon-mptr.exp
4573         * gdb.dwarf2/dw2-anonymous-func.exp
4574         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4575         * gdb.dwarf2/dw2-bad-unresolved.exp
4576         * gdb.dwarf2/dw2-basic.exp
4577         * gdb.dwarf2/dw2-canonicalize-type.exp
4578         * gdb.dwarf2/dw2-case-insensitive.exp
4579         * gdb.dwarf2/dw2-common-block.exp
4580         * gdb.dwarf2/dw2-compdir-oldgcc.exp
4581         * gdb.dwarf2/dw2-compressed.exp
4582         * gdb.dwarf2/dw2-const.exp
4583         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4584         * gdb.dwarf2/dw2-cu-size.exp
4585         * gdb.dwarf2/dw2-dup-frame.exp
4586         * gdb.dwarf2/dw2-entry-value.exp
4587         * gdb.dwarf2/dw2-icycle.exp
4588         * gdb.dwarf2/dw2-ifort-parameter.exp
4589         * gdb.dwarf2/dw2-inline-break.exp
4590         * gdb.dwarf2/dw2-inline-param.exp
4591         * gdb.dwarf2/dw2-intercu.exp
4592         * gdb.dwarf2/dw2-intermix.exp
4593         * gdb.dwarf2/dw2-lexical-block-bare.exp
4594         * gdb.dwarf2/dw2-linkage-name-trust.exp
4595         * gdb.dwarf2/dw2-minsym-in-cu.exp
4596         * gdb.dwarf2/dw2-noloc.exp
4597         * gdb.dwarf2/dw2-op-call.exp
4598         * gdb.dwarf2/dw2-op-out-param.exp
4599         * gdb.dwarf2/dw2-opt-structptr.exp
4600         * gdb.dwarf2/dw2-param-error.exp
4601         * gdb.dwarf2/dw2-producer.exp
4602         * gdb.dwarf2/dw2-ranges-base.exp
4603         * gdb.dwarf2/dw2-ref-missing-frame.exp
4604         * gdb.dwarf2/dw2-reg-undefined.exp
4605         * gdb.dwarf2/dw2-regno-invalid.exp
4606         * gdb.dwarf2/dw2-restore.exp
4607         * gdb.dwarf2/dw2-restrict.exp
4608         * gdb.dwarf2/dw2-single-line-discriminators.exp
4609         * gdb.dwarf2/dw2-strp.exp
4610         * gdb.dwarf2/dw2-undefined-ret-addr.exp
4611         * gdb.dwarf2/dw2-unresolved.exp
4612         * gdb.dwarf2/dw2-var-zero-addr.exp
4613         * gdb.dwarf2/dw4-sig-types.exp
4614         * gdb.dwarf2/dwz.exp
4615         * gdb.dwarf2/dynarr-ptr.exp
4616         * gdb.dwarf2/enum-type.exp
4617         * gdb.dwarf2/gdb-index.exp
4618         * gdb.dwarf2/implptr-64bit.exp
4619         * gdb.dwarf2/implptr-optimized-out.exp
4620         * gdb.dwarf2/implptr.exp
4621         * gdb.dwarf2/implref-array.exp
4622         * gdb.dwarf2/implref-const.exp
4623         * gdb.dwarf2/implref-global.exp
4624         * gdb.dwarf2/implref-struct.exp
4625         * gdb.dwarf2/mac-fileno.exp
4626         * gdb.dwarf2/main-subprogram.exp
4627         * gdb.dwarf2/member-ptr-forwardref.exp
4628         * gdb.dwarf2/method-ptr.exp
4629         * gdb.dwarf2/missing-sig-type.exp
4630         * gdb.dwarf2/nonvar-access.exp
4631         * gdb.dwarf2/opaque-type-lookup.exp
4632         * gdb.dwarf2/pieces-optimized-out.exp
4633         * gdb.dwarf2/pieces.exp
4634         * gdb.dwarf2/pr10770.exp
4635         * gdb.dwarf2/pr13961.exp
4636         * gdb.dwarf2/staticvirtual.exp
4637         * gdb.dwarf2/subrange.exp
4638         * gdb.dwarf2/symtab-producer.exp
4639         * gdb.dwarf2/trace-crash.exp
4640         * gdb.dwarf2/typeddwarf.exp
4641         * gdb.dwarf2/valop.exp
4642         * gdb.dwarf2/watch-notconst.exp
4643         * gdb.fortran/array-element.exp
4644         * gdb.fortran/charset.exp
4645         * gdb.fortran/common-block.exp
4646         * gdb.fortran/complex.exp
4647         * gdb.fortran/derived-type-function.exp
4648         * gdb.fortran/derived-type.exp
4649         * gdb.fortran/logical.exp
4650         * gdb.fortran/module.exp
4651         * gdb.fortran/multi-dim.exp
4652         * gdb.fortran/nested-funcs.exp
4653         * gdb.fortran/print-formatted.exp
4654         * gdb.fortran/subarray.exp
4655         * gdb.fortran/vla-alloc-assoc.exp
4656         * gdb.fortran/vla-datatypes.exp
4657         * gdb.fortran/vla-history.exp
4658         * gdb.fortran/vla-ptr-info.exp
4659         * gdb.fortran/vla-ptype-sub.exp
4660         * gdb.fortran/vla-ptype.exp
4661         * gdb.fortran/vla-sizeof.exp
4662         * gdb.fortran/vla-type.exp
4663         * gdb.fortran/vla-value-sub-arbitrary.exp
4664         * gdb.fortran/vla-value-sub-finish.exp
4665         * gdb.fortran/vla-value-sub.exp
4666         * gdb.fortran/vla-value.exp
4667         * gdb.fortran/whatis_type.exp
4668         * gdb.go/chan.exp
4669         * gdb.go/handcall.exp
4670         * gdb.go/hello.exp
4671         * gdb.go/integers.exp
4672         * gdb.go/methods.exp
4673         * gdb.go/package.exp
4674         * gdb.go/strings.exp
4675         * gdb.go/types.exp
4676         * gdb.go/unsafe.exp
4677         * gdb.guile/scm-arch.exp
4678         * gdb.guile/scm-block.exp
4679         * gdb.guile/scm-breakpoint.exp
4680         * gdb.guile/scm-cmd.exp
4681         * gdb.guile/scm-disasm.exp
4682         * gdb.guile/scm-equal.exp
4683         * gdb.guile/scm-frame-args.exp
4684         * gdb.guile/scm-frame-inline.exp
4685         * gdb.guile/scm-frame.exp
4686         * gdb.guile/scm-iterator.exp
4687         * gdb.guile/scm-math.exp
4688         * gdb.guile/scm-objfile.exp
4689         * gdb.guile/scm-ports.exp
4690         * gdb.guile/scm-symbol.exp
4691         * gdb.guile/scm-symtab.exp
4692         * gdb.guile/scm-value-cc.exp
4693         * gdb.guile/types-module.exp
4694         * gdb.linespec/break-ask.exp
4695         * gdb.linespec/cpexplicit.exp
4696         * gdb.linespec/explicit.exp
4697         * gdb.linespec/keywords.exp
4698         * gdb.linespec/linespec.exp
4699         * gdb.linespec/ls-dollar.exp
4700         * gdb.linespec/ls-errs.exp
4701         * gdb.linespec/skip-two.exp
4702         * gdb.linespec/thread.exp
4703         * gdb.mi/mi-async.exp
4704         * gdb.mi/mi-basics.exp
4705         * gdb.mi/mi-break.exp
4706         * gdb.mi/mi-catch-load.exp
4707         * gdb.mi/mi-cli.exp
4708         * gdb.mi/mi-cmd-param-changed.exp
4709         * gdb.mi/mi-console.exp
4710         * gdb.mi/mi-detach.exp
4711         * gdb.mi/mi-disassemble.exp
4712         * gdb.mi/mi-eval.exp
4713         * gdb.mi/mi-file-transfer.exp
4714         * gdb.mi/mi-file.exp
4715         * gdb.mi/mi-fill-memory.exp
4716         * gdb.mi/mi-inheritance-syntax-error.exp
4717         * gdb.mi/mi-linespec-err-cp.exp
4718         * gdb.mi/mi-logging.exp
4719         * gdb.mi/mi-memory-changed.exp
4720         * gdb.mi/mi-read-memory.exp
4721         * gdb.mi/mi-record-changed.exp
4722         * gdb.mi/mi-reg-undefined.exp
4723         * gdb.mi/mi-regs.exp
4724         * gdb.mi/mi-return.exp
4725         * gdb.mi/mi-reverse.exp
4726         * gdb.mi/mi-simplerun.exp
4727         * gdb.mi/mi-solib.exp
4728         * gdb.mi/mi-stack.exp
4729         * gdb.mi/mi-stepi.exp
4730         * gdb.mi/mi-syn-frame.exp
4731         * gdb.mi/mi-until.exp
4732         * gdb.mi/mi-var-block.exp
4733         * gdb.mi/mi-var-child.exp
4734         * gdb.mi/mi-var-cmd.exp
4735         * gdb.mi/mi-var-cp.exp
4736         * gdb.mi/mi-var-display.exp
4737         * gdb.mi/mi-var-invalidate.exp
4738         * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4739         * gdb.mi/mi-vla-fortran.exp
4740         * gdb.mi/mi-watch.exp
4741         * gdb.mi/mi2-var-child.exp
4742         * gdb.mi/user-selected-context-sync.exp
4743         * gdb.modula2/unbounded-array.exp
4744         * gdb.multi/dummy-frame-restore.exp
4745         * gdb.multi/multi-arch-exec.exp
4746         * gdb.multi/multi-arch.exp
4747         * gdb.multi/tids.exp
4748         * gdb.multi/watchpoint-multi.exp
4749         * gdb.opencl/callfuncs.exp
4750         * gdb.opencl/convs_casts.exp
4751         * gdb.opencl/datatypes.exp
4752         * gdb.opencl/operators.exp
4753         * gdb.opencl/vec_comps.exp
4754         * gdb.opt/clobbered-registers-O2.exp
4755         * gdb.opt/inline-break.exp
4756         * gdb.opt/inline-bt.exp
4757         * gdb.opt/inline-cmds.exp
4758         * gdb.opt/inline-locals.exp
4759         * gdb.pascal/case-insensitive-symbols.exp
4760         * gdb.pascal/floats.exp
4761         * gdb.pascal/gdb11492.exp
4762         * gdb.python/lib-types.exp
4763         * gdb.python/py-arch.exp
4764         * gdb.python/py-as-string.exp
4765         * gdb.python/py-bad-printers.exp
4766         * gdb.python/py-block.exp
4767         * gdb.python/py-breakpoint-create-fail.exp
4768         * gdb.python/py-breakpoint.exp
4769         * gdb.python/py-caller-is.exp
4770         * gdb.python/py-cmd.exp
4771         * gdb.python/py-explore-cc.exp
4772         * gdb.python/py-explore.exp
4773         * gdb.python/py-finish-breakpoint.exp
4774         * gdb.python/py-finish-breakpoint2.exp
4775         * gdb.python/py-frame-args.exp
4776         * gdb.python/py-frame-inline.exp
4777         * gdb.python/py-frame.exp
4778         * gdb.python/py-framefilter-mi.exp
4779         * gdb.python/py-infthread.exp
4780         * gdb.python/py-lazy-string.exp
4781         * gdb.python/py-linetable.exp
4782         * gdb.python/py-mi-events.exp
4783         * gdb.python/py-mi-objfile.exp
4784         * gdb.python/py-mi.exp
4785         * gdb.python/py-objfile.exp
4786         * gdb.python/py-pp-integral.exp
4787         * gdb.python/py-pp-maint.exp
4788         * gdb.python/py-pp-re-notag.exp
4789         * gdb.python/py-pp-registration.exp
4790         * gdb.python/py-recurse-unwind.exp
4791         * gdb.python/py-strfns.exp
4792         * gdb.python/py-symbol.exp
4793         * gdb.python/py-symtab.exp
4794         * gdb.python/py-sync-interp.exp
4795         * gdb.python/py-typeprint.exp
4796         * gdb.python/py-unwind-maint.exp
4797         * gdb.python/py-unwind.exp
4798         * gdb.python/py-value-cc.exp
4799         * gdb.python/py-xmethods.exp
4800         * gdb.reverse/amd64-tailcall-reverse.exp
4801         * gdb.reverse/break-precsave.exp
4802         * gdb.reverse/break-reverse.exp
4803         * gdb.reverse/consecutive-precsave.exp
4804         * gdb.reverse/consecutive-reverse.exp
4805         * gdb.reverse/finish-precsave.exp
4806         * gdb.reverse/finish-reverse-bkpt.exp
4807         * gdb.reverse/finish-reverse.exp
4808         * gdb.reverse/fstatat-reverse.exp
4809         * gdb.reverse/getresuid-reverse.exp
4810         * gdb.reverse/i386-precsave.exp
4811         * gdb.reverse/i386-reverse.exp
4812         * gdb.reverse/i386-sse-reverse.exp
4813         * gdb.reverse/i387-env-reverse.exp
4814         * gdb.reverse/i387-stack-reverse.exp
4815         * gdb.reverse/insn-reverse.exp
4816         * gdb.reverse/machinestate-precsave.exp
4817         * gdb.reverse/machinestate.exp
4818         * gdb.reverse/next-reverse-bkpt-over-sr.exp
4819         * gdb.reverse/pipe-reverse.exp
4820         * gdb.reverse/readv-reverse.exp
4821         * gdb.reverse/recvmsg-reverse.exp
4822         * gdb.reverse/rerun-prec.exp
4823         * gdb.reverse/s390-mvcle.exp
4824         * gdb.reverse/step-precsave.exp
4825         * gdb.reverse/step-reverse.exp
4826         * gdb.reverse/time-reverse.exp
4827         * gdb.reverse/until-precsave.exp
4828         * gdb.reverse/until-reverse.exp
4829         * gdb.reverse/waitpid-reverse.exp
4830         * gdb.reverse/watch-precsave.exp
4831         * gdb.reverse/watch-reverse.exp
4832         * gdb.rust/generics.exp
4833         * gdb.rust/methods.exp
4834         * gdb.rust/modules.exp
4835         * gdb.rust/simple.exp
4836         * gdb.server/connect-with-no-symbol-file.exp
4837         * gdb.server/ext-attach.exp
4838         * gdb.server/ext-restart.exp
4839         * gdb.server/ext-wrapper.exp
4840         * gdb.server/file-transfer.exp
4841         * gdb.server/server-exec-info.exp
4842         * gdb.server/server-kill.exp
4843         * gdb.server/server-mon.exp
4844         * gdb.server/wrapper.exp
4845         * gdb.stabs/exclfwd.exp
4846         * gdb.stabs/gdb11479.exp
4847         * gdb.threads/clone-new-thread-event.exp
4848         * gdb.threads/corethreads.exp
4849         * gdb.threads/current-lwp-dead.exp
4850         * gdb.threads/dlopen-libpthread.exp
4851         * gdb.threads/gcore-thread.exp
4852         * gdb.threads/sigstep-threads.exp
4853         * gdb.threads/watchpoint-fork.exp
4854         * gdb.trace/actions-changed.exp
4855         * gdb.trace/backtrace.exp
4856         * gdb.trace/change-loc.exp
4857         * gdb.trace/circ.exp
4858         * gdb.trace/collection.exp
4859         * gdb.trace/disconnected-tracing.exp
4860         * gdb.trace/ftrace.exp
4861         * gdb.trace/mi-trace-frame-collected.exp
4862         * gdb.trace/mi-trace-unavailable.exp
4863         * gdb.trace/mi-traceframe-changed.exp
4864         * gdb.trace/mi-tsv-changed.exp
4865         * gdb.trace/no-attach-trace.exp
4866         * gdb.trace/passc-dyn.exp
4867         * gdb.trace/qtro.exp
4868         * gdb.trace/range-stepping.exp
4869         * gdb.trace/read-memory.exp
4870         * gdb.trace/save-trace.exp
4871         * gdb.trace/signal.exp
4872         * gdb.trace/status-stop.exp
4873         * gdb.trace/tfile.exp
4874         * gdb.trace/trace-break.exp
4875         * gdb.trace/trace-buffer-size.exp
4876         * gdb.trace/trace-condition.exp
4877         * gdb.trace/tracefile-pseudo-reg.exp
4878         * gdb.trace/tstatus.exp
4879         * gdb.trace/unavailable.exp
4880         * gdb.trace/while-dyn.exp
4881         * gdb.trace/while-stepping.exp
4882
4883 2016-12-22  Doug Evans  <xdje42@gmail.com>
4884
4885         * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4886         and msymbols.
4887
4888 2016-12-19  Yao Qi  <yao.qi@linaro.org>
4889
4890         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4891         (test_with_self): Don't call do_steps_and_nexts, and remove
4892         code about stepping into xmalloc.
4893
4894 2016-12-09  Yao Qi  <yao.qi@linaro.org>
4895
4896         * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4897
4898 2016-12-09  Yao Qi  <yao.qi@linaro.org>
4899
4900         * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4901
4902 2016-12-09  Pedro Alves  <palves@redhat.com>
4903
4904         * gdb.base/all-architectures-0.exp: New file.
4905         * gdb.base/all-architectures-1.exp: New file.
4906         * gdb.base/all-architectures-2.exp: New file.
4907         * gdb.base/all-architectures-3.exp: New file.
4908         * gdb.base/all-architectures-4.exp: New file.
4909         * gdb.base/all-architectures-5.exp: New file.
4910         * gdb.base/all-architectures-6.exp: New file.
4911         * gdb.base/all-architectures-7.exp: New file.
4912         * gdb.base/all-architectures.exp.in: New file.
4913
4914 2016-12-09  Yao Qi  <yao.qi@linaro.org>
4915
4916         * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4917
4918 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
4919
4920         * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4921         possible.
4922         Remove useless pattern-matching code.
4923
4924 2016-12-02  Pedro Alves  <palves@redhat.com>
4925
4926         * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4927         procedure.
4928         (top level): Call it.
4929
4930 2016-12-02  Pedro Alves  <palves@redhat.com>
4931
4932         * gdb.base/commands.exp (user_defined_command_args_stack_test):
4933         New procedure.
4934         (top level): Call it.
4935
4936 2016-12-02  Pedro Alves  <palves@redhat.com>
4937
4938         PR cli/20559
4939         * gdb.base/commands.exp (user_defined_command_args_eval): New
4940         procedure.
4941         (top level): Call it.
4942
4943 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
4944
4945         * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4946         timeout handling.
4947
4948 2016-12-02  Tom Tromey  <tom@tromey.com>
4949
4950         * gdb.dwarf2/main-subprogram.c: New file.
4951         * gdb.dwarf2/main-subprogram.exp: New file.
4952
4953 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
4954
4955         * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4956         * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
4957         gdb_test_no_output for a couple of cases.
4958         * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
4959
4960 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
4961
4962         Fix test names and standardize compilation error messages throughout
4963         the following files:
4964
4965         * gdb.ada/start.exp
4966         * gdb.arch/alpha-step.exp
4967         * gdb.arch/e500-prologue.exp
4968         * gdb.arch/ftrace-insn-reloc.exp
4969         * gdb.arch/gdb1291.exp
4970         * gdb.arch/gdb1431.exp
4971         * gdb.arch/gdb1558.exp
4972         * gdb.arch/i386-dr3-watch.exp
4973         * gdb.arch/i386-sse-stack-align.exp
4974         * gdb.arch/ia64-breakpoint-shadow.exp
4975         * gdb.arch/pa-nullify.exp
4976         * gdb.arch/powerpc-aix-prologue.exp
4977         * gdb.arch/thumb-bx-pc.exp
4978         * gdb.base/annota1.exp
4979         * gdb.base/annota3.exp
4980         * gdb.base/arrayidx.exp
4981         * gdb.base/assign.exp
4982         * gdb.base/attach.exp
4983         * gdb.base/auxv.exp
4984         * gdb.base/bang.exp
4985         * gdb.base/bfp-test.exp
4986         * gdb.base/bigcore.exp
4987         * gdb.base/bitfields2.exp
4988         * gdb.base/break-fun-addr.exp
4989         * gdb.base/break-probes.exp
4990         * gdb.base/call-rt-st.exp
4991         * gdb.base/callexit.exp
4992         * gdb.base/catch-fork-kill.exp
4993         * gdb.base/charset.exp
4994         * gdb.base/checkpoint.exp
4995         * gdb.base/comprdebug.exp
4996         * gdb.base/constvars.exp
4997         * gdb.base/coredump-filter.exp
4998         * gdb.base/cursal.exp
4999         * gdb.base/cvexpr.exp
5000         * gdb.base/detach.exp
5001         * gdb.base/display.exp
5002         * gdb.base/dmsym.exp
5003         * gdb.base/dprintf-pending.exp
5004         * gdb.base/dso2dso.exp
5005         * gdb.base/dtrace-probe.exp
5006         * gdb.base/dump.exp
5007         * gdb.base/enum_cond.exp
5008         * gdb.base/exe-lock.exp
5009         * gdb.base/exec-invalid-sysroot.exp
5010         * gdb.base/execl-update-breakpoints.exp
5011         * gdb.base/exprs.exp
5012         * gdb.base/fileio.exp
5013         * gdb.base/find.exp
5014         * gdb.base/finish.exp
5015         * gdb.base/fixsection.exp
5016         * gdb.base/foll-vfork.exp
5017         * gdb.base/frame-args.exp
5018         * gdb.base/gcore.exp
5019         * gdb.base/gdb1250.exp
5020         * gdb.base/global-var-nested-by-dso.exp
5021         * gdb.base/gnu-ifunc.exp
5022         * gdb.base/hashline1.exp
5023         * gdb.base/hashline2.exp
5024         * gdb.base/hashline3.exp
5025         * gdb.base/hbreak-in-shr-unsupported.exp
5026         * gdb.base/huge.exp
5027         * gdb.base/infcall-input.exp
5028         * gdb.base/info-fun.exp
5029         * gdb.base/info-shared.exp
5030         * gdb.base/jit-simple.exp
5031         * gdb.base/jit-so.exp
5032         * gdb.base/jit.exp
5033         * gdb.base/jump.exp
5034         * gdb.base/label.exp
5035         * gdb.base/lineinc.exp
5036         * gdb.base/logical.exp
5037         * gdb.base/longjmp.exp
5038         * gdb.base/macscp.exp
5039         * gdb.base/miscexprs.exp
5040         * gdb.base/new-ui-echo.exp
5041         * gdb.base/new-ui-pending-input.exp
5042         * gdb.base/new-ui.exp
5043         * gdb.base/nodebug.exp
5044         * gdb.base/nofield.exp
5045         * gdb.base/offsets.exp
5046         * gdb.base/overlays.exp
5047         * gdb.base/pending.exp
5048         * gdb.base/pointers.exp
5049         * gdb.base/pr11022.exp
5050         * gdb.base/printcmds.exp
5051         * gdb.base/prologue.exp
5052         * gdb.base/ptr-typedef.exp
5053         * gdb.base/realname-expand.exp
5054         * gdb.base/relativedebug.exp
5055         * gdb.base/relocate.exp
5056         * gdb.base/remote.exp
5057         * gdb.base/reread.exp
5058         * gdb.base/return2.exp
5059         * gdb.base/savedregs.exp
5060         * gdb.base/sep.exp
5061         * gdb.base/sepdebug.exp
5062         * gdb.base/sepsymtab.exp
5063         * gdb.base/set-inferior-tty.exp
5064         * gdb.base/setshow.exp
5065         * gdb.base/shlib-call.exp
5066         * gdb.base/sigaltstack.exp
5067         * gdb.base/siginfo-addr.exp
5068         * gdb.base/signals.exp
5069         * gdb.base/signull.exp
5070         * gdb.base/sigrepeat.exp
5071         * gdb.base/so-impl-ld.exp
5072         * gdb.base/solib-display.exp
5073         * gdb.base/solib-overlap.exp
5074         * gdb.base/solib-search.exp
5075         * gdb.base/solib-symbol.exp
5076         * gdb.base/structs.exp
5077         * gdb.base/structs2.exp
5078         * gdb.base/symtab-search-order.exp
5079         * gdb.base/twice.exp
5080         * gdb.base/unload.exp
5081         * gdb.base/varargs.exp
5082         * gdb.base/watchpoint-solib.exp
5083         * gdb.base/watchpoint.exp
5084         * gdb.base/whatis.exp
5085         * gdb.base/wrong_frame_bt_full.exp
5086         * gdb.btrace/dlopen.exp
5087         * gdb.cell/ea-standalone.exp
5088         * gdb.cell/ea-test.exp
5089         * gdb.cp/dispcxx.exp
5090         * gdb.cp/gdb2384.exp
5091         * gdb.cp/method2.exp
5092         * gdb.cp/nextoverthrow.exp
5093         * gdb.cp/pr10728.exp
5094         * gdb.disasm/am33.exp
5095         * gdb.disasm/h8300s.exp
5096         * gdb.disasm/mn10300.exp
5097         * gdb.disasm/sh3.exp
5098         * gdb.dwarf2/dw2-dir-file-name.exp
5099         * gdb.fortran/complex.exp
5100         * gdb.fortran/library-module.exp
5101         * gdb.guile/scm-pretty-print.exp
5102         * gdb.guile/scm-symbol.exp
5103         * gdb.guile/scm-type.exp
5104         * gdb.guile/scm-value.exp
5105         * gdb.linespec/linespec.exp
5106         * gdb.mi/gdb701.exp
5107         * gdb.mi/gdb792.exp
5108         * gdb.mi/mi-breakpoint-changed.exp
5109         * gdb.mi/mi-dprintf-pending.exp
5110         * gdb.mi/mi-dprintf.exp
5111         * gdb.mi/mi-exit-code.exp
5112         * gdb.mi/mi-pending.exp
5113         * gdb.mi/mi-solib.exp
5114         * gdb.mi/new-ui-mi-sync.exp
5115         * gdb.mi/pr11022.exp
5116         * gdb.mi/user-selected-context-sync.exp
5117         * gdb.opt/solib-intra-step.exp
5118         * gdb.python/py-events.exp
5119         * gdb.python/py-finish-breakpoint.exp
5120         * gdb.python/py-mi.exp
5121         * gdb.python/py-prettyprint.exp
5122         * gdb.python/py-shared.exp
5123         * gdb.python/py-symbol.exp
5124         * gdb.python/py-template.exp
5125         * gdb.python/py-type.exp
5126         * gdb.python/py-value.exp
5127         * gdb.reverse/solib-precsave.exp
5128         * gdb.reverse/solib-reverse.exp
5129         * gdb.server/solib-list.exp
5130         * gdb.stabs/weird.exp
5131         * gdb.threads/reconnect-signal.exp
5132         * gdb.threads/stepi-random-signal.exp
5133         * gdb.trace/actions.exp
5134         * gdb.trace/ax.exp
5135         * gdb.trace/backtrace.exp
5136         * gdb.trace/change-loc.exp
5137         * gdb.trace/deltrace.exp
5138         * gdb.trace/ftrace-lock.exp
5139         * gdb.trace/ftrace.exp
5140         * gdb.trace/infotrace.exp
5141         * gdb.trace/mi-tracepoint-changed.exp
5142         * gdb.trace/packetlen.exp
5143         * gdb.trace/passcount.exp
5144         * gdb.trace/pending.exp
5145         * gdb.trace/range-stepping.exp
5146         * gdb.trace/report.exp
5147         * gdb.trace/stap-trace.exp
5148         * gdb.trace/tfind.exp
5149         * gdb.trace/trace-break.exp
5150         * gdb.trace/trace-condition.exp
5151         * gdb.trace/trace-enable-disable.exp
5152         * gdb.trace/trace-mt.exp
5153         * gdb.trace/tracecmd.exp
5154         * gdb.trace/tspeed.exp
5155         * gdb.trace/tsv.exp
5156         * lib/perftest.exp
5157
5158 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5159
5160         * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
5161         with gdb_test_no_output.
5162         Use command as test name.
5163
5164 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5165
5166         Fix test names starting with uppercase throughout the files.
5167
5168         * gdb.ada/assign_1.exp
5169         * gdb.ada/boolean_expr.exp
5170         * gdb.base/arrayidx.exp
5171         * gdb.base/del.exp
5172         * gdb.base/gcore-buffer-overflow.exp
5173         * gdb.base/testenv.exp
5174         * gdb.compile/compile.exp
5175         * gdb.python/py-framefilter-invalidarg.exp
5176         * gdb.python/py-framefilter.exp
5177
5178 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5179
5180         Fix test names starting with uppercase throughout the files.
5181
5182         * gdb.ada/array_return.exp
5183         * gdb.ada/expr_delims.exp
5184         * gdb.ada/mi_dyn_arr.exp
5185         * gdb.ada/mi_interface.exp
5186         * gdb.ada/mi_var_array.exp
5187         * gdb.ada/watch_arg.exp
5188         * gdb.arch/alpha-step.exp
5189         * gdb.arch/altivec-regs.exp
5190         * gdb.arch/e500-regs.exp
5191         * gdb.arch/powerpc-d128-regs.exp
5192         * gdb.base/arrayidx.exp
5193         * gdb.base/break.exp
5194         * gdb.base/checkpoint.exp
5195         * gdb.base/debug-expr.exp
5196         * gdb.base/dmsym.exp
5197         * gdb.base/radix.exp
5198         * gdb.base/sepdebug.exp
5199         * gdb.base/testenv.exp
5200         * gdb.base/watch_thread_num.exp
5201         * gdb.base/watchpoint-cond-gone.exp
5202         * gdb.cell/break.exp
5203         * gdb.cell/ea-cache.exp
5204         * gdb.compile/compile.exp
5205         * gdb.cp/gdb2495.exp
5206         * gdb.gdb/selftest.exp
5207         * gdb.gdb/xfullpath.exp
5208         * gdb.go/hello.exp
5209         * gdb.go/integers.exp
5210         * gdb.objc/basicclass.exp
5211         * gdb.pascal/hello.exp
5212         * gdb.pascal/integers.exp
5213         * gdb.python/py-breakpoint.exp
5214         * gdb.python/py-cmd.exp
5215         * gdb.python/py-linetable.exp
5216         * gdb.python/py-xmethods.exp
5217         * gdb.python/python.exp
5218         * gdb.reverse/consecutive-precsave.exp
5219         * gdb.reverse/finish-precsave.exp
5220         * gdb.reverse/i386-precsave.exp
5221         * gdb.reverse/machinestate-precsave.exp
5222         * gdb.reverse/sigall-precsave.exp
5223         * gdb.reverse/solib-precsave.exp
5224         * gdb.reverse/step-precsave.exp
5225         * gdb.reverse/until-precsave.exp
5226         * gdb.reverse/watch-precsave.exp
5227         * gdb.threads/leader-exit.exp
5228         * gdb.threads/pthreads.exp
5229         * gdb.threads/wp-replication.exp
5230         * gdb.trace/actions.exp
5231         * gdb.trace/mi-tsv-changed.exp
5232         * gdb.trace/tsv.exp
5233
5234 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5235
5236         Fix test names starting with uppercase throughout the files.
5237
5238         * gdb.arch/i386-bp_permanent.exp
5239         * gdb.arch/i386-gnu-cfi.exp
5240         * gdb.base/disasm-end-cu.exp
5241         * gdb.base/macscp.exp
5242         * gdb.base/pending.exp
5243         * gdb.base/watch_thread_num.exp
5244         * gdb.cp/exception.exp
5245         * gdb.cp/gdb2495.exp
5246         * gdb.cp/local.exp
5247         * gdb.python/py-evsignal.exp
5248         * gdb.python/python.exp
5249         * gdb.trace/tracecmd.exp
5250
5251 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5252
5253         Fix test names starting with uppercase throughout the files.
5254
5255         * gdb.base/charset.exp
5256         * gdb.base/eval.exp
5257         * gdb.base/multi-forks.exp
5258         * gdb.guile/scm-progspace.exp
5259         * gdb.opencl/datatypes.exp
5260         * gdb.python/py-block.exp
5261         * gdb.python/py-function.exp
5262         * gdb.python/py-symbol.exp
5263         * gdb.python/py-symtab.exp
5264         * gdb.python/py-xmethods.exp
5265         * gdb.reverse/break-precsave.exp
5266         * gdb.reverse/break-reverse.exp
5267         * gdb.reverse/consecutive-precsave.exp
5268         * gdb.reverse/consecutive-reverse.exp
5269         * gdb.reverse/finish-precsave.exp
5270         * gdb.reverse/finish-reverse-bkpt.exp
5271         * gdb.reverse/finish-reverse.exp
5272         * gdb.reverse/fstatat-reverse.exp
5273         * gdb.reverse/getresuid-reverse.exp
5274         * gdb.reverse/i386-precsave.exp
5275         * gdb.reverse/i386-reverse.exp
5276         * gdb.reverse/i386-sse-reverse.exp
5277         * gdb.reverse/i387-stack-reverse.exp
5278         * gdb.reverse/insn-reverse.exp
5279         * gdb.reverse/machinestate-precsave.exp
5280         * gdb.reverse/machinestate.exp
5281         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5282         * gdb.reverse/pipe-reverse.exp
5283         * gdb.reverse/readv-reverse.exp
5284         * gdb.reverse/recvmsg-reverse.exp
5285         * gdb.reverse/rerun-prec.exp
5286         * gdb.reverse/s390-mvcle.exp
5287         * gdb.reverse/sigall-precsave.exp
5288         * gdb.reverse/sigall-reverse.exp
5289         * gdb.reverse/solib-precsave.exp
5290         * gdb.reverse/solib-reverse.exp
5291         * gdb.reverse/step-precsave.exp
5292         * gdb.reverse/step-reverse.exp
5293         * gdb.reverse/time-reverse.exp
5294         * gdb.reverse/until-precsave.exp
5295         * gdb.reverse/until-reverse.exp
5296         * gdb.reverse/waitpid-reverse.exp
5297         * gdb.reverse/watch-precsave.exp
5298         * gdb.reverse/watch-reverse.exp
5299
5300 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5301
5302         Fix test names starting with uppercase throughout the files.
5303
5304         * gdb.arch/i386-mpx-simple_segv.exp
5305         * gdb.arch/i386-mpx.exp
5306         * gdb.arch/i386-permbkpt.exp
5307         * gdb.arch/pa-nullify.exp
5308         * gdb.arch/powerpc-d128-regs.exp
5309         * gdb.arch/vsx-regs.exp
5310         * gdb.base/bfp-test.exp
5311         * gdb.base/break.exp
5312         * gdb.base/breakpoint-shadow.exp
5313         * gdb.base/callfuncs.exp
5314         * gdb.base/charset.exp
5315         * gdb.base/commands.exp
5316         * gdb.base/completion.exp
5317         * gdb.base/dfp-test.exp
5318         * gdb.base/echo.exp
5319         * gdb.base/ending-run.exp
5320         * gdb.base/eval.exp
5321         * gdb.base/expand-psymtabs.exp
5322         * gdb.base/float128.exp
5323         * gdb.base/floatn.exp
5324         * gdb.base/foll-exec-mode.exp
5325         * gdb.base/gdb1056.exp
5326         * gdb.base/gdb11531.exp
5327         * gdb.base/kill-after-signal.exp
5328         * gdb.base/multi-forks.exp
5329         * gdb.base/overlays.exp
5330         * gdb.base/pending.exp
5331         * gdb.base/sepdebug.exp
5332         * gdb.base/testenv.exp
5333         * gdb.base/valgrind-db-attach.exp
5334         * gdb.base/watch_thread_num.exp
5335         * gdb.base/watchpoint-cond-gone.exp
5336         * gdb.base/watchpoint.exp
5337         * gdb.base/watchpoints.exp
5338         * gdb.cp/arg-reference.exp
5339         * gdb.cp/baseenum.exp
5340         * gdb.cp/operator.exp
5341         * gdb.cp/shadow.exp
5342         * gdb.dwarf2/dw2-op-out-param.exp
5343         * gdb.dwarf2/dw2-reg-undefined.exp
5344         * gdb.go/chan.exp
5345         * gdb.go/hello.exp
5346         * gdb.go/integers.exp
5347         * gdb.go/methods.exp
5348         * gdb.go/package.exp
5349         * gdb.guile/scm-parameter.exp
5350         * gdb.guile/scm-progspace.exp
5351         * gdb.guile/scm-value.exp
5352         * gdb.mi/mi-pending.exp
5353         * gdb.mi/user-selected-context-sync.exp
5354         * gdb.multi/multi-attach.exp
5355         * gdb.multi/tids.exp
5356         * gdb.opt/clobbered-registers-O2.exp
5357         * gdb.pascal/floats.exp
5358         * gdb.pascal/integers.exp
5359         * gdb.python/py-block.exp
5360         * gdb.python/py-events.exp
5361         * gdb.python/py-parameter.exp
5362         * gdb.python/py-symbol.exp
5363         * gdb.python/py-symtab.exp
5364         * gdb.python/py-type.exp
5365         * gdb.python/py-value.exp
5366         * gdb.python/py-xmethods.exp
5367         * gdb.python/python.exp
5368         * gdb.reverse/break-precsave.exp
5369         * gdb.reverse/consecutive-precsave.exp
5370         * gdb.reverse/finish-precsave.exp
5371         * gdb.reverse/i386-precsave.exp
5372         * gdb.reverse/machinestate-precsave.exp
5373         * gdb.reverse/sigall-precsave.exp
5374         * gdb.reverse/solib-precsave.exp
5375         * gdb.reverse/step-precsave.exp
5376         * gdb.reverse/until-precsave.exp
5377         * gdb.reverse/watch-precsave.exp
5378         * gdb.server/ext-attach.exp
5379         * gdb.server/ext-restart.exp
5380         * gdb.server/ext-run.exp
5381         * gdb.server/ext-wrapper.exp
5382         * gdb.stabs/gdb11479.exp
5383         * gdb.stabs/weird.exp
5384         * gdb.threads/attach-many-short-lived-threads.exp
5385         * gdb.threads/kill.exp
5386         * gdb.threads/watchpoint-fork.exp
5387
5388 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5389
5390         Fix test names starting with uppercase throughout all the files below.
5391
5392         * gdb.ada/array_return.exp
5393         * gdb.ada/catch_ex.exp
5394         * gdb.ada/info_exc.exp
5395         * gdb.ada/mi_catch_ex.exp
5396         * gdb.ada/mi_dyn_arr.exp
5397         * gdb.ada/mi_ex_cond.exp
5398         * gdb.ada/mi_exc_info.exp
5399         * gdb.ada/mi_interface.exp
5400         * gdb.ada/mi_task_arg.exp
5401         * gdb.ada/mi_task_info.exp
5402         * gdb.ada/mi_var_array.exp
5403         * gdb.arch/alpha-step.exp
5404         * gdb.arch/amd64-disp-step.exp
5405         * gdb.arch/arm-disp-step.exp
5406         * gdb.arch/disp-step-insn-reloc.exp
5407         * gdb.arch/e500-prologue.exp
5408         * gdb.arch/ftrace-insn-reloc.exp
5409         * gdb.arch/gdb1558.exp
5410         * gdb.arch/i386-bp_permanent.exp
5411         * gdb.arch/i386-disp-step.exp
5412         * gdb.arch/i386-float.exp
5413         * gdb.arch/i386-gnu-cfi.exp
5414         * gdb.arch/ia64-breakpoint-shadow.exp
5415         * gdb.arch/mips16-thunks.exp
5416         * gdb.arch/pa-nullify.exp
5417         * gdb.arch/powerpc-aix-prologue.exp
5418         * gdb.arch/powerpc-power.exp
5419         * gdb.arch/ppc-dfp.exp
5420         * gdb.arch/s390-tdbregs.exp
5421         * gdb.arch/spu-info.exp
5422         * gdb.arch/spu-ls.exp
5423         * gdb.arch/thumb-bx-pc.exp
5424         * gdb.base/advance.exp
5425         * gdb.base/annota-input-while-running.exp
5426         * gdb.base/arrayidx.exp
5427         * gdb.base/asmlabel.exp
5428         * gdb.base/async.exp
5429         * gdb.base/attach-wait-input.exp
5430         * gdb.base/auto-connect-native-target.exp
5431         * gdb.base/batch-preserve-term-settings.exp
5432         * gdb.base/bfp-test.exp
5433         * gdb.base/bigcore.exp
5434         * gdb.base/bp-permanent.exp
5435         * gdb.base/break-always.exp
5436         * gdb.base/break-fun-addr.exp
5437         * gdb.base/break-idempotent.exp
5438         * gdb.base/break-main-file-remove-fail.exp
5439         * gdb.base/break-probes.exp
5440         * gdb.base/break-unload-file.exp
5441         * gdb.base/break.exp
5442         * gdb.base/call-ar-st.exp
5443         * gdb.base/call-rt-st.exp
5444         * gdb.base/call-sc.exp
5445         * gdb.base/call-signal-resume.exp
5446         * gdb.base/call-strs.exp
5447         * gdb.base/callexit.exp
5448         * gdb.base/callfuncs.exp
5449         * gdb.base/catch-gdb-caused-signals.exp
5450         * gdb.base/catch-signal-siginfo-cond.exp
5451         * gdb.base/catch-syscall.exp
5452         * gdb.base/compare-sections.exp
5453         * gdb.base/cond-eval-mode.exp
5454         * gdb.base/condbreak-call-false.exp
5455         * gdb.base/consecutive-step-over.exp
5456         * gdb.base/cursal.exp
5457         * gdb.base/disabled-location.exp
5458         * gdb.base/disasm-end-cu.exp
5459         * gdb.base/display.exp
5460         * gdb.base/double-prompt-target-event-error.exp
5461         * gdb.base/dprintf-bp-same-addr.exp
5462         * gdb.base/dprintf-detach.exp
5463         * gdb.base/dprintf-next.exp
5464         * gdb.base/dprintf-non-stop.exp
5465         * gdb.base/dprintf-pending.exp
5466         * gdb.base/dso2dso.exp
5467         * gdb.base/ending-run.exp
5468         * gdb.base/enum_cond.exp
5469         * gdb.base/examine-backward.exp
5470         * gdb.base/exe-lock.exp
5471         * gdb.base/exec-invalid-sysroot.exp
5472         * gdb.base/execl-update-breakpoints.exp
5473         * gdb.base/execution-termios.exp
5474         * gdb.base/fileio.exp
5475         * gdb.base/fixsection.exp
5476         * gdb.base/foll-exec-mode.exp
5477         * gdb.base/foll-exec.exp
5478         * gdb.base/fork-running-state.exp
5479         * gdb.base/frame-args.exp
5480         * gdb.base/fullpath-expand.exp
5481         * gdb.base/func-ptr.exp
5482         * gdb.base/gcore-relro-pie.exp
5483         * gdb.base/gdb1090.exp
5484         * gdb.base/gdb1555.exp
5485         * gdb.base/global-var-nested-by-dso.exp
5486         * gdb.base/gnu-ifunc.exp
5487         * gdb.base/hbreak-in-shr-unsupported.exp
5488         * gdb.base/hbreak-unmapped.exp
5489         * gdb.base/hook-stop.exp
5490         * gdb.base/infcall-input.exp
5491         * gdb.base/info-fun.exp
5492         * gdb.base/info-shared.exp
5493         * gdb.base/interrupt-noterm.exp
5494         * gdb.base/jit-so.exp
5495         * gdb.base/jit.exp
5496         * gdb.base/line-symtabs.exp
5497         * gdb.base/list.exp
5498         * gdb.base/longjmp.exp
5499         * gdb.base/macscp.exp
5500         * gdb.base/max-value-size.exp
5501         * gdb.base/nodebug.exp
5502         * gdb.base/nofield.exp
5503         * gdb.base/overlays.exp
5504         * gdb.base/paginate-after-ctrl-c-running.exp
5505         * gdb.base/paginate-bg-execution.exp
5506         * gdb.base/paginate-inferior-exit.exp
5507         * gdb.base/pending.exp
5508         * gdb.base/pr11022.exp
5509         * gdb.base/printcmds.exp
5510         * gdb.base/ptr-typedef.exp
5511         * gdb.base/ptype.exp
5512         * gdb.base/randomize.exp
5513         * gdb.base/range-stepping.exp
5514         * gdb.base/realname-expand.exp
5515         * gdb.base/relativedebug.exp
5516         * gdb.base/remote.exp
5517         * gdb.base/savedregs.exp
5518         * gdb.base/sepdebug.exp
5519         * gdb.base/set-noassign.exp
5520         * gdb.base/shlib-call.exp
5521         * gdb.base/shreloc.exp
5522         * gdb.base/sigaltstack.exp
5523         * gdb.base/sigbpt.exp
5524         * gdb.base/siginfo-addr.exp
5525         * gdb.base/siginfo-obj.exp
5526         * gdb.base/siginfo-thread.exp
5527         * gdb.base/signest.exp
5528         * gdb.base/signull.exp
5529         * gdb.base/sigrepeat.exp
5530         * gdb.base/skip.exp
5531         * gdb.base/so-impl-ld.exp
5532         * gdb.base/solib-corrupted.exp
5533         * gdb.base/solib-disc.exp
5534         * gdb.base/solib-display.exp
5535         * gdb.base/solib-overlap.exp
5536         * gdb.base/solib-search.exp
5537         * gdb.base/solib-symbol.exp
5538         * gdb.base/source-execution.exp
5539         * gdb.base/sss-bp-on-user-bp-2.exp
5540         * gdb.base/sss-bp-on-user-bp.exp
5541         * gdb.base/stack-checking.exp
5542         * gdb.base/stale-infcall.exp
5543         * gdb.base/step-break.exp
5544         * gdb.base/step-line.exp
5545         * gdb.base/step-over-exit.exp
5546         * gdb.base/step-test.exp
5547         * gdb.base/structs.exp
5548         * gdb.base/sym-file.exp
5549         * gdb.base/symtab-search-order.exp
5550         * gdb.base/term.exp
5551         * gdb.base/type-opaque.exp
5552         * gdb.base/unload.exp
5553         * gdb.base/until-nodebug.exp
5554         * gdb.base/until.exp
5555         * gdb.base/unwindonsignal.exp
5556         * gdb.base/watch-cond.exp
5557         * gdb.base/watch-non-mem.exp
5558         * gdb.base/watch_thread_num.exp
5559         * gdb.base/watchpoint-reuse-slot.exp
5560         * gdb.base/watchpoint-solib.exp
5561         * gdb.base/watchpoint.exp
5562         * gdb.btrace/dlopen.exp
5563         * gdb.cell/arch.exp
5564         * gdb.cell/break.exp
5565         * gdb.cell/bt.exp
5566         * gdb.cell/core.exp
5567         * gdb.cell/data.exp
5568         * gdb.cell/dwarfaddr.exp
5569         * gdb.cell/ea-cache.exp
5570         * gdb.cell/ea-standalone.exp
5571         * gdb.cell/ea-test.exp
5572         * gdb.cell/f-regs.exp
5573         * gdb.cell/fork.exp
5574         * gdb.cell/gcore.exp
5575         * gdb.cell/mem-access.exp
5576         * gdb.cell/ptype.exp
5577         * gdb.cell/registers.exp
5578         * gdb.cell/sizeof.exp
5579         * gdb.cell/solib-symbol.exp
5580         * gdb.cell/solib.exp
5581         * gdb.compile/compile-tls.exp
5582         * gdb.cp/exception.exp
5583         * gdb.cp/gdb2495.exp
5584         * gdb.cp/local.exp
5585         * gdb.cp/mb-inline.exp
5586         * gdb.cp/mb-templates.exp
5587         * gdb.cp/pr10687.exp
5588         * gdb.cp/pr9167.exp
5589         * gdb.cp/scope-err.exp
5590         * gdb.cp/templates.exp
5591         * gdb.cp/virtfunc.exp
5592         * gdb.dwarf2/dw2-dir-file-name.exp
5593         * gdb.dwarf2/dw2-single-line-discriminators.exp
5594         * gdb.fortran/complex.exp
5595         * gdb.fortran/library-module.exp
5596         * gdb.guile/guile.exp
5597         * gdb.guile/scm-cmd.exp
5598         * gdb.guile/scm-frame-inline.exp
5599         * gdb.guile/scm-objfile.exp
5600         * gdb.guile/scm-pretty-print.exp
5601         * gdb.guile/scm-symbol.exp
5602         * gdb.guile/scm-type.exp
5603         * gdb.guile/scm-value.exp
5604         * gdb.linespec/keywords.exp
5605         * gdb.linespec/ls-errs.exp
5606         * gdb.linespec/macro-relative.exp
5607         * gdb.linespec/thread.exp
5608         * gdb.mi/mi-breakpoint-changed.exp
5609         * gdb.mi/mi-dprintf-pending.exp
5610         * gdb.mi/mi-fullname-deleted.exp
5611         * gdb.mi/mi-logging.exp
5612         * gdb.mi/mi-pending.exp
5613         * gdb.mi/mi-solib.exp
5614         * gdb.mi/new-ui-mi-sync.exp
5615         * gdb.mi/user-selected-context-sync.exp
5616         * gdb.multi/dummy-frame-restore.exp
5617         * gdb.multi/multi-arch-exec.exp
5618         * gdb.multi/remove-inferiors.exp
5619         * gdb.multi/watchpoint-multi-exit.exp
5620         * gdb.opt/solib-intra-step.exp
5621         * gdb.perf/backtrace.exp
5622         * gdb.perf/single-step.exp
5623         * gdb.perf/skip-command.exp
5624         * gdb.perf/skip-prologue.exp
5625         * gdb.perf/solib.exp
5626         * gdb.python/lib-types.exp
5627         * gdb.python/py-as-string.exp
5628         * gdb.python/py-bad-printers.exp
5629         * gdb.python/py-block.exp
5630         * gdb.python/py-breakpoint.exp
5631         * gdb.python/py-cmd.exp
5632         * gdb.python/py-events.exp
5633         * gdb.python/py-evthreads.exp
5634         * gdb.python/py-finish-breakpoint.exp
5635         * gdb.python/py-finish-breakpoint2.exp
5636         * gdb.python/py-frame-inline.exp
5637         * gdb.python/py-frame.exp
5638         * gdb.python/py-inferior.exp
5639         * gdb.python/py-infthread.exp
5640         * gdb.python/py-mi.exp
5641         * gdb.python/py-objfile.exp
5642         * gdb.python/py-pp-maint.exp
5643         * gdb.python/py-pp-registration.exp
5644         * gdb.python/py-prettyprint.exp
5645         * gdb.python/py-recurse-unwind.exp
5646         * gdb.python/py-shared.exp
5647         * gdb.python/py-symbol.exp
5648         * gdb.python/py-symtab.exp
5649         * gdb.python/py-template.exp
5650         * gdb.python/py-type.exp
5651         * gdb.python/py-unwind-maint.exp
5652         * gdb.python/py-unwind.exp
5653         * gdb.python/py-value.exp
5654         * gdb.python/python.exp
5655         * gdb.reverse/finish-reverse-bkpt.exp
5656         * gdb.reverse/insn-reverse.exp
5657         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5658         * gdb.reverse/solib-precsave.exp
5659         * gdb.reverse/solib-reverse.exp
5660         * gdb.stabs/gdb11479.exp
5661         * gdb.stabs/weird.exp
5662         * gdb.threads/fork-child-threads.exp
5663         * gdb.threads/fork-plus-threads.exp
5664         * gdb.threads/fork-thread-pending.exp
5665         * gdb.threads/forking-threads-plus-breakpoint.exp
5666         * gdb.threads/hand-call-in-threads.exp
5667         * gdb.threads/interrupted-hand-call.exp
5668         * gdb.threads/linux-dp.exp
5669         * gdb.threads/local-watch-wrong-thread.exp
5670         * gdb.threads/next-while-other-thread-longjmps.exp
5671         * gdb.threads/non-ldr-exit.exp
5672         * gdb.threads/pending-step.exp
5673         * gdb.threads/print-threads.exp
5674         * gdb.threads/process-dies-while-detaching.exp
5675         * gdb.threads/process-dies-while-handling-bp.exp
5676         * gdb.threads/pthreads.exp
5677         * gdb.threads/queue-signal.exp
5678         * gdb.threads/reconnect-signal.exp
5679         * gdb.threads/signal-command-handle-nopass.exp
5680         * gdb.threads/signal-command-multiple-signals-pending.exp
5681         * gdb.threads/signal-delivered-right-thread.exp
5682         * gdb.threads/signal-sigtrap.exp
5683         * gdb.threads/sigthread.exp
5684         * gdb.threads/staticthreads.exp
5685         * gdb.threads/stepi-random-signal.exp
5686         * gdb.threads/thread-unwindonsignal.exp
5687         * gdb.threads/thread_check.exp
5688         * gdb.threads/thread_events.exp
5689         * gdb.threads/tid-reuse.exp
5690         * gdb.threads/tls-nodebug.exp
5691         * gdb.threads/tls-shared.exp
5692         * gdb.threads/tls-so_extern.exp
5693         * gdb.threads/tls.exp
5694         * gdb.threads/wp-replication.exp
5695         * gdb.trace/actions-changed.exp
5696         * gdb.trace/actions.exp
5697         * gdb.trace/backtrace.exp
5698         * gdb.trace/change-loc.exp
5699         * gdb.trace/collection.exp
5700         * gdb.trace/deltrace.exp
5701         * gdb.trace/disconnected-tracing.exp
5702         * gdb.trace/entry-values.exp
5703         * gdb.trace/ftrace-lock.exp
5704         * gdb.trace/ftrace.exp
5705         * gdb.trace/infotrace.exp
5706         * gdb.trace/mi-trace-frame-collected.exp
5707         * gdb.trace/mi-trace-unavailable.exp
5708         * gdb.trace/mi-traceframe-changed.exp
5709         * gdb.trace/mi-tracepoint-changed.exp
5710         * gdb.trace/mi-tsv-changed.exp
5711         * gdb.trace/no-attach-trace.exp
5712         * gdb.trace/packetlen.exp
5713         * gdb.trace/passc-dyn.exp
5714         * gdb.trace/passcount.exp
5715         * gdb.trace/pending.exp
5716         * gdb.trace/pr16508.exp
5717         * gdb.trace/qtro.exp
5718         * gdb.trace/range-stepping.exp
5719         * gdb.trace/read-memory.exp
5720         * gdb.trace/report.exp
5721         * gdb.trace/save-trace.exp
5722         * gdb.trace/signal.exp
5723         * gdb.trace/stap-trace.exp
5724         * gdb.trace/status-stop.exp
5725         * gdb.trace/strace.exp
5726         * gdb.trace/tfile.exp
5727         * gdb.trace/tfind.exp
5728         * gdb.trace/trace-break.exp
5729         * gdb.trace/trace-condition.exp
5730         * gdb.trace/trace-enable-disable.exp
5731         * gdb.trace/trace-mt.exp
5732         * gdb.trace/tracecmd.exp
5733         * gdb.trace/tracefile-pseudo-reg.exp
5734         * gdb.trace/tspeed.exp
5735         * gdb.trace/tstatus.exp
5736         * gdb.trace/tsv.exp
5737         * gdb.trace/unavailable.exp
5738         * gdb.trace/while-dyn.exp
5739         * gdb.trace/while-stepping.exp
5740         * lib/gdb-guile.exp
5741         * lib/gdb.exp
5742         * lib/mi-support.exp
5743         * lib/pascal.exp
5744         * lib/perftest.exp
5745         * lib/prelink-support.exp
5746         * lib/selftest-support.exp
5747
5748 2016-11-30  Simon Marchi  <simon.marchi@polymtl.ca>
5749
5750         * Makefile.in: Include disable-implicit-rules.mk.
5751
5752 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5753
5754         * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5755         non-byte-aligned bit fields.
5756
5757 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5758
5759         PR gdb/12616
5760         * gdb.dwarf2/nonvar-access.exp: New testcase.  Check that GDB
5761         respects the DW_AT_data_bit_offset attribute.
5762
5763 2016-11-22  Simon Marchi  <simon.marchi@polymtl.ca>
5764
5765         * gdb.base/default.exp: Fix output of "set language".
5766
5767 2016-11-17  Simon Marchi  <simon.marchi@polymtl.ca>
5768
5769         * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5770         prefixed with @GMAKE_FALSE@.  Update comment related to non-GNU
5771         make.
5772         * configure.ac: Remove checks for the make program.
5773         * configure: Re-generate.
5774
5775 2016-11-16  Kevin Buettner  <kevinb@redhat.com>
5776
5777         * gdb.python/py-recurse-unwind.c (main): Add loop.
5778         * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5779         to read_register() and gdb.parse_and_eval().  Make each code
5780         call a separate case that can be individually tested.
5781         * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5782         proc. Call cont_and_backtrace for each of the code paths that
5783         we want to test in the unwinder.
5784
5785 2016-11-15  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5786
5787         * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5788         the definition of struct S.
5789
5790 2016-11-11  Catherine Moore  <clm@codesourcery.com>
5791
5792         * gdb.base/dump.exp: Identify verilog format dump tests as such.
5793
5794 2016-11-09  Pedro Alves  <palves@redhat.com>
5795
5796         * gdb.base/commands.exp (runto_or_return): New procedure.
5797         (gdbvar_simple_if_test, gdbvar_simple_while_test)
5798         (gdbvar_complex_if_while_test, progvar_simple_if_test)
5799         (progvar_simple_while_test, progvar_complex_if_while_test)
5800         (if_while_breakpoint_command_test)
5801         (infrun_breakpoint_command_test, breakpoint_command_test)
5802         (user_defined_command_test, watchpoint_command_test)
5803         (test_command_prompt_position, redefine_hook_test)
5804         (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5805         (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5806         multi_line_input and multi_line.  Remove gdb_expect and
5807         gdb_stop_suppressing_tests uses.
5808         * lib/gdb.exp (valnum_re): New global.
5809         (multi_line_input): New procedure.
5810
5811 2016-11-09  Simon Marchi  <simon.marchi@polymtl.ca>
5812
5813         * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5814         Remove.
5815         (test_setup): Define with proc_with_prefix.
5816         (test_cli_inferior): Likewise.
5817         (test_cli_thread): Likewise.
5818         (test_cli_frame): Likewise.
5819         (test_cli_select_frame): Likewise.
5820         (test_cli_up_down): Likewise.
5821         (test_mi_thread_select): Likewise.
5822         (test_mi_stack_select_frame): Likewise.
5823         (test_cli_in_mi_inferior): Likewise.
5824         (test_cli_in_mi_thread): Likewise.
5825         (test_cli_in_mi_frame): Likewise.
5826         (top level): Do not use with_test_prefix_procname.
5827
5828 2016-11-09  Pedro Alves  <palves@redhat.com>
5829
5830         * gdb.base/commands.exp (gdbvar_simple_if_test)
5831         (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5832         (progvar_simple_if_test, progvar_simple_while_test)
5833         (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5834         (infrun_breakpoint_command_test, breakpoint_command_test)
5835         (user_defined_command_test, watchpoint_command_test)
5836         (test_command_prompt_position, deprecated_command_test)
5837         (bp_deleted_in_command, temporary_breakpoint_commands)
5838         (stray_arg0_test, source_file_with_indented_comment)
5839         (recursive_source_test, if_commands_test)
5840         (error_clears_commands_left, redefine_hook_test)
5841         (redefine_backtrace_test): Use proc_with_prefix.
5842         * lib/gdb.exp (proc_with_prefix): New proc.
5843
5844 2016-11-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5845
5846         * gdb.base/tui-layout.c: New file.
5847         * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5848         disassembly window contains very long lines.
5849
5850 2016-11-08  Tom Tromey  <tom@tromey.com>
5851
5852         * gdb.python/py-value.exp (test_value_creation): Make "long" test
5853         depend on Python 2.
5854
5855 2016-11-08  Tom Tromey  <tom@tromey.com>
5856
5857         * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5858         New method.
5859
5860 2016-10-29  Manish Goregaokar  <manish@mozilla.com>
5861
5862         * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
5863
5864 2016-10-27  Manish Goregaokar  <manish@mozilla.com>
5865
5866         * gdb.rust/simple.rs: Add test for univariant enums without
5867         discriminants and for encoded struct-like enums.
5868
5869 2016-10-28  Pedro Alves  <palves@redhat.com>
5870
5871         * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5872         gdb_test_multiple, tighten regexps and match symtabs and line
5873         tables incrementally.
5874
5875 2016-10-28  Luis Machado  <lgustavo@codesourcery.com>
5876
5877         * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5878         general.
5879
5880 2016-10-25  Luis Machado  <lgustavo@codesourcery.com>
5881
5882         * gdb.base/exec-invalid-sysroot.exp: New file.
5883
5884 2016-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
5885
5886         * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5887
5888 2016-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
5889
5890         * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5891
5892 2016-10-19  Maciej W. Rozycki  <macro@imgtec.com>
5893
5894         * gdb.base/killed-outside.exp: Remove $options from a call to
5895         `prepare_for_testing'.
5896
5897 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
5898
5899         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5900         Change test message.
5901
5902 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
5903
5904         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5905         Update comment.
5906
5907 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
5908
5909         * gdb.trace/mi-trace-save.exp: New file.
5910
5911 2016-10-13  Yao Qi  <yao.qi@linaro.org>
5912
5913         * gdb.base/code_elim.exp (get_var_address): Remove.
5914         * gdb.base/relocate.exp: Likewise.
5915         * gdb.base/shreloc.exp: Likewise.
5916         * lib/gdb.exp (get_var_address): New.
5917
5918 2016-10-13  Yao Qi  <yao.qi@linaro.org>
5919
5920         * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5921         floating point tests if $skip_float_test is false.
5922
5923 2016-10-12  Luis Machado  <lgustavo@codesourcery.com>
5924
5925         * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5926         * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5927         argc values.
5928         Add 1 to argc so we guarantee distinct initial/modified argc values.
5929
5930 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5931
5932         * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5933
5934 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5935
5936         * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5937         * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5938         * gdb.arch/vsx-regs.exp: Likewise.
5939
5940 2016-10-07  Yao Qi  <yao.qi@linaro.org>
5941
5942         * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5943
5944 2016-10-07  Markus Metzger  <markus.t.metzger@intel.com>
5945
5946         * gdb.python/python.exp: Test decode_line("*0").
5947
5948 2016-10-06  Doug Evans  <dje@google.com>
5949
5950         * gdb.python/py-value.exp (test_value_creation): Add test for large
5951         unsigned 64-bit value.
5952
5953 2016-10-06  Tom Tromey  <tom@tromey.com>
5954
5955         * gdb.compile/compile.exp: Change java tests to rust.
5956         * gdb.base/setshow.exp: Change java tests to rust.
5957         * gdb.base/default.exp: Remove java from language list.
5958         * README (Examples): Update language example.
5959         * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
5960         test.
5961         * lib/gdb.exp (skip_java_tests): Remove.
5962         * lib/java.exp: Remove.
5963         * gdb.java: Remove.
5964
5965 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
5966
5967         * gdb.arch/mips-fcr.exp: New test.
5968         * gdb.arch/mips-fcr.c: Source for the new test.
5969
5970 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
5971
5972         * gdb.base/solib-disc.exp: Use `standard_output_file'
5973         throughout.
5974
5975 2016-10-06  Pedro Alves  <palves@redhat.com>
5976
5977         * gdb.base/jit-simple-dl.c: New file.
5978         * gdb.base/jit-simple-jit.c: New file, factored out from ...
5979         * gdb.base/jit-simple.c: ... this.
5980         * gdb.base/jit-simple.exp (jit_run): Delete.
5981         (build_jit): New proc.
5982         (jit_test_reread): Recompile either the main program or the shared
5983         library, depending on what is being tested.  Skip changing address
5984         if caller wants to.  Compare before/after addresses.  If testing
5985         standalone, explicitly load the binary.  Test "maint info
5986         breakpoints".
5987         (top level): Add "standalone vs shared lib" and "change address"
5988         vs "same address" axes.
5989
5990 2016-10-06  Pedro Alves  <palves@redhat.com>
5991
5992         * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
5993         call.
5994         (jit_run): Delete.
5995         (jit_test_reread): Use with_test_prefix.  Reload the main binary
5996         explicitly.  Compare the before/after addresses of the JIT
5997         descriptor.
5998
5999 2016-08-15  Doug Evans  <dje@google.com>
6000
6001         * gdb.xml/extra-regs.xml: Update, end field now required, default type
6002         for single bitfields is bool.
6003         * gdb.xml/tdesc-regs.exp: Ditto.
6004
6005 2016-10-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
6006
6007         * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
6008
6009 2016-10-05  Yao Qi  <yao.qi@linaro.org>
6010
6011         * lib/gdb.exp (support_complex_tests): Return zero if
6012         gdb_skip_float_test return true.
6013
6014 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6015             Simon Marchi  <simon.marchi@ericsson.com>
6016
6017         PR gdb/20487
6018         * gdb.mi/user-selected-context-sync.exp: New file.
6019         * gdb.mi/user-selected-context-sync.c: New file.
6020
6021 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6022             Simon Marchi  <simon.marchi@ericsson.com>
6023
6024         PR gdb/20487
6025         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
6026         =thread-select-event check.
6027
6028 2016-09-29  Peter Bergner  <bergner@vnet.ibm.com>
6029
6030         * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
6031         the compulsory L operand changes.
6032         * gdb.arch/powerpc-power.s: Likewise.
6033
6034 2016-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6035
6036         PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
6037         * gdb.base/jit-attach-pie.c: New file.
6038         * gdb.base/jit-attach-pie.exp: New file.
6039
6040 2016-09-28  Pedro Alves  <palves@redhat.com>
6041
6042         * gdb.base/infcall-input.c: New file.
6043         * gdb.base/infcall-input.exp: New file.
6044
6045 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6046
6047         * lib/gdbserver-support.exp: Rename mi_gdb_exit.
6048         (gdb_exit): Rename it to ...
6049         (gdbserver_gdb_exit): ...  Close GDBserver.
6050         (gdb_exit): New proc, call gdbserver_gdb_exit.
6051         (mi_gdb_exit): Likewise.
6052
6053 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6054
6055         * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
6056         path.
6057         * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
6058         Remove duplication.
6059
6060 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6061
6062         * lib/gdbserver-support.exp: Check the existence of
6063         gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
6064
6065 2016-09-21  Anton Kolesov  <anton.kolesov@synopsys.com>
6066
6067         * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
6068
6069 2016-09-21  Tom Tromey  <tom@tromey.com>
6070
6071         PR gdb/20604:
6072         * gdb.base/quit.exp: New file.
6073
6074 2016-09-21  Simon Marchi  <simon.marchi@ericsson.com>
6075
6076         * .gitignore: New file.
6077
6078 2016-09-21  Maciej W. Rozycki  <macro@imgtec.com>
6079
6080         * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
6081         throughout.
6082
6083 2016-09-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6084
6085         * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
6086
6087 2016-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6088
6089         * gdb.cp/casts.cc (decltype): Move it ...
6090         (main): ... with its call to ...
6091         * gdb.cp/casts03.cc: ... a new file.
6092         * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6093
6094 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6095
6096         * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6097
6098 2016-09-15  Peter Bergner  <bergner@vnet.ibm.com>
6099
6100         * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6101         and sync up the test with tests in gas/testsuite/gas/ppc.
6102         * gdb.arch/powerpc-power.exp: Likewise.
6103
6104 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6105
6106         * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6107
6108 2016-09-11  Sergio Durigan Junior  <sergiodj@redhat.com>
6109             Jan Kratochvil  <jan.kratochvil@redhat.com>
6110
6111         * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
6112         make m1's definition to be different from m2's.  Use 'dummy' as an
6113         argument for probe 'two'.
6114
6115 2016-09-10  Jon Beniston  <jon@beniston.com>
6116
6117         * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
6118         for sim target.
6119
6120 2016-09-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6121
6122         * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
6123         variable declaration.
6124         (gnu_ifunc): Add parameter hwcap.  Store it in resolver_hwcap.
6125         * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6126         * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6127         received HWCAP as its argument.
6128
6129 2016-09-06  Pedro Alves  <palves@redhat.com>
6130
6131         * gdb.base/new-ui-pending-input.c: New file.
6132         * gdb.base/new-ui-pending-input.exp: New file.
6133         * gdb.exp (clear_gdb_spawn_id): New procedure.
6134         (with_spawn_id): Check whether gdb_spawn_id exists before
6135         referencing it.  If gdb_spawn_id didn't exist on entry, clear it
6136         on exit.
6137
6138 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6139
6140         * gdb.base/float128.c: New file.
6141         * gdb.base/float128.exp: Likewise.
6142         * gdb.base/floatn.c: Likewise.
6143         * gdb.base/floatn.exp: Likewise.
6144
6145 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6146
6147         * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
6148
6149 2016-09-05  Pedro Alves  <palves@redhat.com>
6150
6151         PR backtrace/19927
6152         * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
6153         unwinders are immediately called as side effect of "source" or
6154         "disable unwinder" commands.
6155         * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
6156
6157 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6158
6159         * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
6160         is true and $type is "float" or "double".
6161
6162 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6163
6164         * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
6165         true.
6166         * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
6167         * gdb.base/call-rt-st.exp: Likewise.
6168         * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
6169         return value instead of gdb,skip_float_test.
6170         * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
6171         (do_function_calls): Use its return value instead of
6172         gdb,skip_float_test.
6173         * gdb.base/finish.exp: Likewise.
6174         * gdb.base/funcargs.exp: Likewise.
6175         * gdb.base/return.exp: Likewise.
6176         * gdb.base/return2.exp: Likewise.
6177         * gdb.base/varargs.exp: Likewise.
6178         * lib/gdb.exp (gdb_skip_float_test): Change it to
6179         gdb_caching_proc.  Detect the broken ptrace on arm-linux.
6180
6181 2016-08-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6182
6183         * gdb.multi/tids.exp: Test "thread apply all".
6184
6185 2016-08-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6186
6187         * gdb.base/default.exp (tty): Remove.
6188
6189 2016-08-24  Kevin Buettner  <kevinb@redhat.com>
6190
6191         * gdb.python/py-recurse-unwind.c: New file.
6192         * gdb.python/py-recurse-unwind.py: New file.
6193         * gdb.python/py-recurse-unwind.exp: New file.
6194
6195 2016-08-24  Simon Marchi  <simon.marchi@ericsson.com>
6196
6197         * gdb.base/set-inferior-tty.exp: New file.
6198         * gdb.base/set-inferior-tty.c: New file.
6199
6200 2016-08-23  Pedro Alves  <palves@redhat.com>
6201
6202         PR gdb/20494
6203         * gdb.base/new-ui-echo.c: New file.
6204         * gdb.base/new-ui-echo.exp: New file.
6205
6206 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6207
6208         * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
6209         gdbserver_spawn.
6210         * gdb.server/connect-without-multi-process.exp (do_test):
6211         Likewise.
6212
6213 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6214
6215         * gdb.base/signals-state-child.exp: Set variables gdb_txt and
6216         standalone_txt.  Delete gdb_txt and standalone_txt on host
6217         and target.  Spawn the binary on target.  Copy files from
6218         target to host.
6219
6220 2016-08-22  Pedro Alves  <palves@redhat.com>
6221
6222         PR gdb/20505
6223         * gdb.base/vdso-warning.exp: Test core dumps too.  Use
6224         with_test_prefix.  Factor out bits to ...
6225         (test_no_vdso): ... this new procedure.
6226
6227 2016-08-19  Carl Love  <cel@us.ibm.com>
6228
6229         * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
6230         maintaining separate logic for constructing the output path.
6231         * gdb.arch/powerpc-d128-regs.exp: Likewise.
6232         * gdb.arch/ppc-dfp.exp: Likewise.
6233         * gdb.arch/ppc-fp.exp: Likewise.
6234         * gdb.arch/vsx-regs.exp: Likewise.
6235         * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
6236         binprefix for generating the additional binary files.
6237
6238 2016-08-19  Pedro Alves  <palves@redhat.com>
6239
6240         * gdb.trace/mi-trace-frame-collected.exp
6241         (test_trace_frame_collected): On x32, expect two registers.
6242
6243 2016-08-18  Carl Love  <cel@us.ibm.com>
6244
6245         * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
6246         and sync up the test with tests in gas/testsuite/gas/ppc.
6247         * gdb.arch/powerpc-power.exp: Likewise.
6248
6249 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6250
6251         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
6252         expected error message.
6253
6254 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6255
6256         * gdb.multi/remove-inferiors.exp: New file.
6257         * gdb.multi/remove-inferiors.c: New file.
6258
6259 2016-08-12  Yao Qi  <yao.qi@linaro.org>
6260
6261         * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
6262         argument list.
6263
6264 2016-08-10  Pedro Alves  <palves@redhat.com>
6265
6266         PR gdb/19187
6267         * gdb.reverse/waitpid-reverse.exp: Add comment and remove
6268         setup_kfails.
6269
6270 2016-08-09  Pedro Alves  <palves@redhat.com>
6271             Simon Marchi  <simon.marchi@ericsson.com>
6272
6273         PR gdb/20418
6274         * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
6275         * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
6276
6277 2016-08-09  Pedro Alves  <palves@redhat.com>
6278
6279         PR mi/20431
6280         * gdb.mi/mi-cmd-error.exp: New file.
6281
6282 2016-08-09  Pedro Alves  <palves@redhat.com>
6283
6284         PR gdb/18653
6285         * gdb.base/signals-state-child.c: New file.
6286         * gdb.base/signals-state-child.exp: New file.
6287         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
6288
6289 2016-08-09  Pedro Alves  <palves@redhat.com>
6290
6291         * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
6292
6293 2016-08-03  Tom Tromey  <tom@tromey.com>
6294
6295         PR python/18565:
6296         * gdb.python/py-frame-inline.exp: Add Frame.function test.
6297
6298 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6299
6300         * gdb.threads/process-dies-while-detaching.exp (do_test): Set
6301         variable mode to "multi-process" if $multi_process is 1, otherwise
6302         set it to "single-process".
6303
6304 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6305
6306         * gdb.cp/anon-struct.exp: Check is_aarch32_target.
6307         * gdb.cp/cpexprs.exp: Likewise.
6308         * gdb.cp/m-static.exp: Likewise.
6309
6310 2016-07-26  Tom Tromey  <tom@tromey.com>
6311
6312         PR python/20190:
6313         * gdb.threads/tls.exp (check_thread_local): Add python symbol
6314         test.
6315
6316 2016-07-26  Markus Metzger  <markus.t.metzger@intel.com>
6317
6318         * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
6319         selecting assembly source files.
6320         * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
6321         assembly source files.
6322         * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
6323         assembly source files.
6324         * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
6325         selecting assembly source files.
6326
6327 2016-07-25  Simon Marchi  <simon.marchi@ericsson.com>
6328
6329         * gdb.base/new-ui.exp (do_test_invalid_args): New
6330         procedure.
6331
6332 2016-07-25  Tim Wiederhake  <tim.wiederhake@intel.com>
6333
6334         * gdb.btrace/reconnect.c: New file.
6335         * gdb.btrace/reconnect.exp: New file.
6336
6337 2016-07-23  Gabriel Krisman Bertazi  <gabriel@krisman.be>
6338
6339         * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
6340         to test_catch_syscall_group.
6341         (test_catch_syscall_group): New.
6342
6343 2016-07-21  Tom Tromey  <tom@tromey.com>
6344
6345         * gdb.rust/simple.rs (main): Use empty struct expression.
6346         * gdb.rust/simple.exp: Add tests for empty struct expression.
6347
6348 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6349
6350         * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
6351         if gdb_skip_xml_test is true on some targets.
6352
6353 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6354
6355         * gdb.server/solib-list.exp: Unset last_loaded_file.
6356
6357 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6358
6359         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
6360         "step into captured_main (args)".
6361
6362 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6363
6364         * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
6365
6366 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6367
6368         * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
6369
6370 2016-07-19  Pedro Alves  <palves@redhat.com>
6371
6372         * gdb.opt/inline-break.exp: Remove optimize=-O2.
6373         * gdb.opt/inline-bt.exp: Likewise.
6374         * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
6375         additional_flags=-Winline.
6376         * gdb.opt/inline-locals.exp: Likewise.
6377         * gdb.opt/inline-markers.c (ATTR): Define.
6378         (inlined_fn): Use it.
6379
6380 2016-07-19  Yao Qi  <yao.qi@linaro.org>
6381
6382         * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
6383         (test_with_self): Remove some code.  Remove argument executable.
6384         (top-level): Use do_self_tests.
6385
6386 2016-07-15  Zachary Welch  <zwelch@codesourcery.com>
6387             Don Breazeal <donb@codesourcery.com>
6388
6389         * gdb.base/maint.exp: Escape paths used in regular expressions.
6390         * gdb.stabs/weird.exp: Likewise.
6391
6392 2016-07-13  Tom Tromey  <tom@tromey.com>
6393
6394         PR python/15620, PR python/18620:
6395         * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
6396         (test_bkpt_events): New procs.
6397
6398 2016-07-13  Tom Tromey  <tom@tromey.com>
6399
6400         PR python/17698:
6401         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6402         test.
6403         (test_watchpoints): Likewise.
6404         (test_bkpt_pending): New proc.
6405
6406 2016-07-13  Tom Tromey  <tom@tromey.com>
6407
6408         PR cli/18053:
6409         * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6410         completion test.
6411
6412 2016-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6413
6414         * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6415         * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6416         * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6417         f_label.
6418         (g): Rename g_end_lbl to g_label.
6419         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6420         low_pc and high_pc.
6421         * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6422
6423 2016-07-12  Tom Tromey  <tom@tromey.com>
6424
6425         PR python/19293:
6426         * gdb.python/py-unwind-maint.exp: Update tests.
6427
6428 2016-07-12  Yao Qi  <yao.qi@linaro.org>
6429
6430         * lib/selftest-support.exp (selftest_setup): Match the output
6431         when captured_main is inlined.
6432
6433 2016-07-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6434
6435         * gdb.fortran/derived-types.exp (result_line, result_line_2):
6436         New variables.
6437         (print this%a, print this%b, print this): New tests.
6438         * gdb.fortran/derived-types.f90 (this): New object and
6439         initialization.
6440
6441 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6442
6443         * gdb.ada/arraydim.exp: Remove extra directory level in build
6444         directory.
6445
6446 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6447
6448         * lib/ada.exp: Remove extra directory level in build directory.
6449         * gdb.ada/cond_lang.exp: Likewise.
6450         * gdb.ada/exec_changed.exp: Likewise.
6451         * gdb.ada/lang_switch.exp: Likewise.
6452
6453 2016-07-06  Manish Goregaokar  <manish@mozilla.com>
6454
6455         * simple.rs: Add test for raw pointer subscripting.
6456         * simple.exp: Add test expectations.
6457
6458 2016-07-05  Yao Qi  <yao.qi@linaro.org>
6459
6460         * gdb.mi/mi-reverse.exp: Match =record-started output.
6461
6462 2016-07-01  Pedro Alves  <palves@redhat.com>
6463
6464         * gdb.base/jit-reader.exp (info_registers_current_frame): New
6465         procedure.
6466         (jit_reader_test): Test the jit reader's unwinder.
6467         * gdb.base/jithost.c (jit_function_00_code): New global.
6468         (main): Use memcpy to fill in the mmapped code, instead of poking
6469         bytes manually here.
6470         * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6471         value.
6472         (read_debug_info): Save the function's range.
6473         (read_sp): New function.
6474         (unwind_frame): Use it.  Also unwind RBP.
6475         (get_frame_id): Use read_sp.
6476         (gdb_init_reader): Use calloc instead of malloc.
6477         * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6478         parameter.  Use gdb_test_multiple.
6479
6480 2016-07-01  Pedro Alves  <palves@redhat.com>
6481             Antoine Tremblay  <antoine.tremblay@ericsson.com>
6482
6483         * gdb.threads/process-dies-while-detaching.c: New file.
6484         * gdb.threads/process-dies-while-detaching.exp: New file.
6485
6486 2016-07-01  Pedro Alves  <palves@redhat.com>
6487
6488         * gdb.multi/watchpoint-multi-exit.c: New file.
6489         * gdb.multi/watchpoint-multi-exit.exp: New file.
6490
6491 2016-06-30  Pedro Alves  <palves@redhat.com>
6492
6493         * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6494         unset inferior_spawn_id.
6495
6496 2016-06-30  Pedro Alves  <palves@redhat.com>
6497
6498         * lib/mi-support.exp (default_mi_gdb_start): Declare global
6499         FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
6500
6501 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6502
6503         * gdb.base/return.c: Add copyright header.
6504
6505 2016-06-29  Tom Tromey  <tom@tromey.com>
6506
6507         PR python/20129:
6508         * gdb.python/py-framefilter.exp: Add tests for setting priority
6509         and disabling of non-existent frame filter.
6510
6511 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6512
6513         * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6514         0x0f07ff.
6515
6516 2016-06-28  Yao Qi  <yao.qi@linaro.org>
6517
6518         * gdb.base/catch-syscall.exp: Remove check on isnative and target
6519         triplets.  Start gdb, execute catch syscall, and continue.  Check
6520         gdb's output to determine catch syscall is supported.
6521
6522 2016-06-27  Manish Goregaokar  <manish@mozilla.com>
6523
6524         * gdb.rust/simple.rs: Add test for returning unit in a function.
6525         * gdb.rust/simple.exp: Add expectation for functions returning
6526         unit.
6527
6528 2016-06-27  Pierre-Marie de Rodat  <derodat@adacore.com>
6529
6530         * gdb.python/py-breakpoint-create-fail.c,
6531         gdb.python/py-breakpoint-create-fail.exp,
6532         gdb.python/py-breakpoint-create-fail.py: New testcase.
6533
6534 2016-06-25  Manish Goregaokar  <manish@mozilla.com>
6535
6536         PR gdb/20239
6537         * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6538         * gdb.rust/simple.exp: Add test expectations for new NonZero
6539         tests.
6540
6541 2016-06-24  David Taylor  <dtaylor@emc.com>
6542
6543         * gdb.base/offsets.exp: New file.
6544         * gdb.base/offsets.c: New file.
6545
6546 2016-06-23  Tom Tromey  <tom@tromey.com>
6547
6548         PR gdb/16483:
6549         * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6550         before any filters are loaded.
6551
6552 2016-06-21  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6553
6554         * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6555         * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6556         structs.
6557         * gdb.fortran/derived-type-function.exp: New file.
6558         * gdb.fortran/derived-type-function.f90: New file.
6559
6560
6561 2016-06-21  Pedro Alves  <palves@redhat.com>
6562
6563         * gdb.base/new-ui.exp: New file.
6564         * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6565         * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6566         (with_spawn_id): New procedure.
6567
6568 2016-06-21  Pedro Alves  <palves@redhat.com>
6569
6570         * gdb.mi/mi-exec-run.exp: New file.
6571
6572 2016-06-21  Pedro Alves  <palves@redhat.com>
6573
6574         * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6575         breakpoint command's output on the main UI.
6576         (test_break): New procedure, factored out from calls in the top
6577         level.
6578         (top level): Use foreach_with_prefix to test MI as main UI and as
6579         separate UI.
6580
6581 2016-06-21  Pedro Alves  <palves@redhat.com>
6582
6583         * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6584         (test_awatch_creation_and_listing)
6585         (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6586         Remove 'type' parameter.
6587         (test_watchpoint_all): New parameter mi_mode.  Remove
6588         with_test_prefix.
6589         (top level): Use foreach_with_prefix, and add main/separate UI MI
6590         testing axis.
6591
6592 2016-06-21  Pedro Alves  <palves@redhat.com>
6593
6594         * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6595         * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6596         * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6597         gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6598         (gdb_main_spawn_id, mi_spawn_id): Declare and
6599         comment.
6600         (mi_create_inferior_pty): New procedure,
6601         factored out from default_mi_gdb_start.
6602         (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6603         procedures.
6604         (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6605         separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6606         Use mi_create_inferior_pty.
6607         (mi_gdb_start): Use eval to pass down args list.
6608
6609 2016-06-21  Pedro Alves  <palves@redhat.com>
6610
6611         * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6612         * gdb.opt/inline-cmds.exp: Add MI tests.
6613
6614 2016-06-21  Pedro Alves  <palves@redhat.com>
6615
6616         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6617
6618 2016-06-21  Pedro Alves  <palves@redhat.com>
6619
6620         * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6621         (top level): Use it instead of mi_execute_to.
6622
6623 2016-06-21  Pedro Alves  <palves@redhat.com>
6624
6625         * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6626         (cont_handler_str): New.
6627         (signal_stop_handler): Set stop_handler_str instead of printing to
6628         stdout.
6629         (continue_handler): Set cont_handler_str instead of printing to
6630         stdout.
6631         * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6632         mi_send_resuming_command.  Print stop_handler_str and
6633         cont_handler_str instead of expecting the python events print
6634         directly.
6635
6636 2016-06-17  Sanjoy Das  <sanjoy@playingwithpointers.com>
6637
6638         * gdb.base/jit-reader.exp: New file.
6639         * gdb.base/jithost.c: New file.
6640         * gdb.base/jithost.h: New file.
6641         * gdb.base/jitreader.c : New file.
6642         * gdb.base/jit-protocol.h: New file.
6643
6644 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6645
6646         * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6647         parameters follow_fork and detach_on_fork.  Set follow-fork-mode
6648         and detach-on-fork.  Adjust tests.
6649         (top level): Invoke break_cond_on_syscall with combinations of
6650         syscall, follow-fork-mode and detach-on-fork.
6651
6652 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6653
6654         * gdb.base/step-over-exit.c: New.
6655         * gdb.base/step-over-exit.exp: New.
6656
6657 2016-06-17  Yan-Ting Lin  <currygt52@gmail.com>
6658
6659         * gdb.base/float.exp: Add target check for nds32*-*-*.
6660         * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6661
6662 2016-06-13  Andrew Burgess  <andrew.burgess@embecosm.com>
6663
6664         * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6665         for unsupported target features.
6666         * gdb.base/call-rt-st.exp: Likewise.
6667         * gdb.base/call-sc.exp: Likewise.
6668         * gdb.base/call-signal-resume.exp: Likewise.
6669         * gdb.base/call-strs.exp: Likewise.
6670         * gdb.base/callexit.exp: Likewise.
6671         * gdb.base/callfuncs.exp: Likewise.
6672         * gdb.base/nodebug.exp: Likewise.
6673         * gdb.base/printcmds.exp: Likewise.
6674         * gdb.base/ptype.exp: Likewise.
6675         * gdb.base/structs.exp: Likewise.
6676         * gdb.base/unwindonsignal.exp: Likewise.
6677         * gdb.cp/gdb2495.exp: Likewise.
6678         * gdb.cp/templates.exp: Likewise.
6679         * gdb.cp/virtfunc.exp: Likewise.
6680         * gdb.threads/hand-call-in-threads.exp: Likewise.
6681         * gdb.threads/interrupted-hand-call.exp: Likewise.
6682         * gdb.threads/thread-unwindonsignal.exp: Likewise.
6683
6684 2016-06-10  Tom Tromey  <tom@tromey.com>
6685
6686         PR rust/20110:
6687         * gdb.rust/expr.exp: Add test for integer constant larger than
6688         i32.
6689
6690 2016-06-10  Bernhard Heckel  <bernhard.heckel@intel.com>
6691
6692         * gdb.fortran/nested-funcs.exp: New.
6693         * gdb.fortran/nested-funcs.f90: New.
6694
6695 2016-06-09  Toshihito Kikuchi  <k.toshihito@yahoo.de>
6696
6697         * gdb.base/examine-backward.c: New file.
6698         * gdb.base/examine-backward.exp: New file.
6699
6700 2016-06-06  Simon Marchi  <simon.marchi@ericsson.com>
6701
6702         * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6703         matching.
6704
6705 2016-06-02  Tom Tromey  <tom@tromey.com>
6706
6707         PR python/18984:
6708         * gdb.python/py-shared.exp: Add solib_name test.
6709
6710 2016-06-02  Simon Marchi  <simon.marchi@ericsson.com>
6711
6712         * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6713
6714 2016-05-31  Martin Galvan  <martin.galvan@tallertechnologies.com>
6715
6716         PR c++/19893
6717         * gdb.dwarf2/implref.exp: Rename to...
6718         * gdb.dwarf2/implref-const.exp: ...this.  Also add more test statements.
6719         * gdb.dwarf2/implref-array.c: New file.
6720         * gdb.dwarf2/implref-array.exp: Likewise.
6721         * gdb.dwarf2/implref-global.c: Likewise.
6722         * gdb.dwarf2/implref-global.exp: Likewise.
6723         * gdb.dwarf2/implref-struct.c: Likewise.
6724         * gdb.dwarf2/implref-struct.exp: Likewise.
6725
6726 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6727
6728         * gdb.trace/trace-condition.exp: Add 64bit tests.
6729
6730 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6731
6732         * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6733         bits types.
6734         (main): Adapt to 8 to 64 bits types.
6735         * gdb.trace/trace-condition.exp: Add new tests.
6736
6737 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6738
6739         * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6740
6741 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6742
6743         * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6744         Move condition tests...
6745         * gdb.trace/trace-condition.exp: Here.
6746
6747 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6748
6749         * gdb.trace/trace-condition.exp: Add counter-case tests.
6750
6751 2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
6752
6753         PR c++/15231
6754         * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6755         * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6756
6757 2016-05-27  Pedro Alves  <palves@redhat.com>
6758
6759         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6760         New procedure.
6761         (top level): Call it, and bail out of DejaGnu is known to be bad.
6762
6763 2016-05-27  Andrew Burgess  <andrew.burgess@embecosm.com>
6764
6765         * gdb.base/whatis.c: Extend the test case.
6766         * gdb.base/whatis.exp: Add additional tests.
6767
6768 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6769
6770 * gdb.fortran/type.f90: Add pointer variable.
6771 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6772
6773 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6774
6775         * gdb.fortran/vla-type.exp: Fix testcase name.
6776
6777 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6778
6779         * gdb.fortran/vla-type.exp: Access elements in nested structs.
6780
6781 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6782
6783         * gdb.fortran/type.f90: Add nested structures.
6784         * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6785         * gdb.fortran/derived-type.exp: Adapt expected output.
6786         * gdb.fortran/vla-type.exp: Adapt expected output.
6787
6788 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6789
6790         * gdb.fortran/whatis_type.exp: Adapt expected output.
6791
6792 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6793
6794         * gdb.fortran/print_type.exp: Fix expected output.
6795         * gdb.fortran/whatis_type.exp: Fix expected output.
6796
6797 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6798
6799         * gdb.fortran/whatis_type.exp: Use multi_line.
6800
6801 2016-05-24  Tom Tromey  <tom@tromey.com>
6802
6803         PR python/17386:
6804         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6805         use value as an index.
6806
6807 2016-05-23  Tom Tromey  <tom@tromey.com>
6808
6809         PR python/17981:
6810         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6811         no-breakpoint case.
6812
6813 2016-05-24  Pedro Alves  <palves@redhat.com>
6814
6815         PR gdb/19828
6816         * gdb.threads/clone-attach-detach.c: New file.
6817         * gdb.threads/clone-attach-detach.exp: New file.
6818
6819 2016-05-24  Francis Ricci  <francisjricci@gmail.com>  (tiny patch)
6820
6821         * gdb.base/annota-input-while-running.exp: Fix syntax error.
6822
6823 2016-05-23  Tom Tromey  <tom@tromey.com>
6824
6825         PR python/19438, PR python/18393:
6826         * gdb.python/py-progspace.exp: Add "dir" test.
6827         * gdb.python/py-objfile.exp: Add "dir" test.
6828
6829 2016-05-23  Yao Qi  <yao.qi@linaro.org>
6830
6831         * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6832         * gdb.arch/thumb2-it.exp: Likewise.
6833
6834 2016-05-18  Simon Marchi  <simon.marchi@ericsson.com>
6835
6836         * gdb.mi/mi-threads-interrupt.c: New file.
6837         * gdb.mi/mi-threads-interrupt.exp: New file.
6838
6839 2016-05-17  Simon Marchi  <simon.marchi@ericsson.com>
6840
6841         PR gdb/18077
6842         * gdb.mi/mi-async-run.exp: New file.
6843         * gdb.mi/mi-async-run.c: New file.
6844
6845 2016-05-17  Tom Tromey  <tom@tromey.com>
6846             Manish Goregaokar <manishsmail@gmail.com>
6847
6848         * lib/rust-support.exp: New file.
6849         * lib/gdb.exp (skip_rust_tests): New proc.
6850         (build_executable_from_specs): Handle rust.
6851         * lib/future.exp (gdb_find_rustc): New proc.
6852         (gdb_default_target_compile): Handle rust.
6853         * gdb.rust/expr.exp: New file.
6854         * gdb.rust/generics.exp: New file.
6855         * gdb.rust/generics.rs: New file.
6856         * gdb.rust/methods.exp: New file.
6857         * gdb.rust/methods.rs: New file.
6858         * gdb.rust/modules.exp: New file.
6859         * gdb.rust/modules.rs: New file.
6860         * gdb.rust/simple.exp: New file.
6861         * gdb.rust/simple.rs: New file.
6862
6863 2016-05-17  Tom Tromey  <tom@tromey.com>
6864
6865         * gdb.base/default.exp (set language): Add rust.
6866
6867 2016-05-17  Tom Tromey  <tom@tromey.com>
6868
6869         * gdb.gdb/unittest.exp: New file.
6870
6871 2016-05-16  Yao Qi  <yao.qi@linaro.org>
6872
6873         * gdb.base/batch-preserve-term-settings.exp: Remove variable
6874         shell_prompt.  Update shell_prompt_re.
6875
6876 2016-05-12  Doug Evans  <dje@google.com>
6877
6878         PR symtab/19999
6879         * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6880         $options when building executable.
6881         * gdb.dwarf2/fission-loclists-pie.S: New file.
6882         * gdb.dwarf2/fission-loclists-pie.exp: New file.
6883
6884 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
6885
6886         * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
6887         of [is_remote target],
6888
6889 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
6890
6891         * lib/gdb.exp (use_gdb_stub): New procedure.
6892
6893 2016-05-03  Yunlian Jiang <yunlian@google.com>
6894             Doug Evans  <dje@google.com>
6895
6896         PR symtab/19914
6897         * gdb.dwarf2/dwp-sepdebug.c: New file.
6898         * gdb.dwarf2/dwp-sepdebug.exp: New file.
6899
6900 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
6901
6902         * gdb.base/detach.exp: Remove is_remote check.
6903
6904 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
6905
6906         * gdb.base/annota-input-while-running.exp: Don't check for
6907         [is_remote target].  Enable annotations after running to main.
6908         Remove unused "set test..." line.
6909
6910 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
6911
6912         * gdb.trace/trace-enable-disable.exp: New file.
6913         * gdb.trace/trace-enable-disable.c: New file.
6914
6915 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
6916
6917         * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6918         use it in info sharedlibrary test.
6919         * gdb.trace/ftrace-lock.exp: Likewise.
6920         * gdb.trace/ftrace.exp: Likewise.
6921         * gdb.trace/range-stepping.exp: Likewise.
6922         * gdb.trace/trace-break.exp: Likewise.
6923         * gdb.trace/trace-condition.exp: Likewise.
6924         * gdb.trace/trace-mt.exp: Likewise.
6925
6926 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
6927
6928         * lib/gdb.exp (gdb_load_shlibs): Rename to...
6929         (gdb_load_shlib): ... this.
6930         * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6931         gdb_load_shlib.
6932         * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6933         * gdb.base/ctxobj.exp: Likewise.
6934         * gdb.base/dprintf-pending.exp: Likewise.
6935         * gdb.base/dso2dso.exp: Likewise.
6936         * gdb.base/fixsection.exp: Likewise.
6937         * gdb.base/gcore-relro.exp: Likewise.
6938         * gdb.base/gdb1555.exp: Likewise.
6939         * gdb.base/global-var-nested-by-dso.exp: Likewise.
6940         * gdb.base/gnu-ifunc.exp: Likewise.
6941         * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6942         * gdb.base/jit-so.exp (one_jit_test): Likewise.
6943         * gdb.base/pending.exp: Likewise.
6944         * gdb.base/print-file-var.exp: Likewise.
6945         * gdb.base/print-symbol-loading.exp: Likewise.
6946         * gdb.base/shlib-call.exp: Likewise.
6947         * gdb.base/shreloc.exp: Likewise.
6948         * gdb.base/so-impl-ld.exp: Likewise.
6949         * gdb.base/solib-disc.exp: Likewise.
6950         * gdb.base/solib-nodir.exp: Likewise.
6951         * gdb.base/solib-overlap.exp: Likewise.
6952         * gdb.base/solib-symbol.exp: Likewise.
6953         * gdb.base/solib-weak.exp (do_test): Likewise.
6954         * gdb.base/sym-file.exp: Likewise.
6955         * gdb.base/symtab-search-order.exp: Likewise.
6956         * gdb.base/type-opaque.exp: Likewise.
6957         * gdb.base/unload.exp: Likewise.
6958         * gdb.base/watchpoint-solib.exp: Likewise.
6959         * gdb.compile/compile.exp: Likewise.
6960         * gdb.cp/gdb2384.exp: Likewise.
6961         * gdb.cp/infcall-dlopen.exp: Likewise.
6962         * gdb.cp/re-set-overloaded.exp: Likewise.
6963         * gdb.fortran/library-module.exp: Likewise.
6964         * gdb.opt/solib-intra-step.exp: Likewise.
6965         * gdb.python/py-finish-breakpoint.exp: Likewise.
6966         * gdb.python/py-shared.exp: Likewise.
6967         * gdb.reverse/solib-precsave.exp: Likewise.
6968         * gdb.reverse/solib-reverse.exp: Likewise.
6969         * gdb.server/solib-list.exp: Likewise.
6970         * gdb.threads/dlopen-libpthread.exp: Likewise.
6971         * gdb.threads/tls-shared.exp: Likewise.
6972         * gdb.threads/tls-so_extern.exp: Likewise.
6973         * gdb.trace/change-loc.exp: Likewise.
6974         * gdb.trace/ftrace-lock.exp: Likewise.
6975         * gdb.trace/ftrace.exp: Likewise.
6976         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
6977         * gdb.trace/pending.exp: Likewise.
6978         * gdb.trace/range-stepping.exp: Likewise.
6979         * gdb.trace/strace.exp (strace_remove_socket): Likewise.
6980         (strace_info_marker): Likewise.
6981         (strace_probe_marker): Likewise.
6982         (strace_trace_on_same_addr): Likewise.
6983         (strace_trace_on_diff_addr): Likewise.
6984         * gdb.trace/trace-break.exp: Likewise.
6985         * gdb.trace/trace-condition.exp: Likewise.
6986         * gdb.trace/trace-mt.exp: Likewise.
6987
6988 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
6989
6990         * lib/gdb.exp (gdb_load_shlibs):  Accept a single argument.  Return
6991         result of gdb_remote_download.
6992         * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
6993         * gdb.base/dso2dso.exp: Likewise.
6994         * gdb.base/global-var-nested-by-dso.exp: Likewise.
6995         * gdb.base/print-file-var.exp: Likewise.
6996         * gdb.base/shlib-call.exp: Likewise.
6997         * gdb.base/shreloc.exp: Likewise.
6998         * gdb.base/solib-overlap.exp: Likewise.
6999         * gdb.base/solib-weak.exp (do_test): Likewise.
7000         * gdb.base/unload.exp: Likewise.
7001
7002 2016-04-27  Yao Qi  <yao.qi@linaro.org>
7003
7004         * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
7005         exists.
7006
7007 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7008
7009         * vla-type.exp: Print structure from toplevel.
7010
7011 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7012
7013         * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
7014         of dynamic types.
7015         * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
7016         of dynamic types.
7017
7018 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7019
7020         * gdb.fortran/vla-type.f90: New file.
7021         * gdb.fortran/vla-type.exp: New file.
7022
7023 2016-04-25  Yao Qi  <yao.qi@linaro.org>
7024
7025         * gdb.base/branch-to-self.c: New file.
7026         * gdb.base/branch-to-self.exp: New file.
7027
7028 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7029
7030         * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
7031         more after $hex.
7032
7033 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7034
7035         * gdb.base/annota1.exp: Set breakpoint on line $main_line.
7036         * gdb.base/annota3.exp: Likewise.
7037
7038 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7039
7040         * gdb.reverse/step-precsave.exp: Do one step and test program
7041         stops in "callee" and do multiple steps until program goes out
7042         of "callee".
7043         * gdb.reverse/step-reverse.exp: Likewise.
7044
7045 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7046
7047         * gdb.trace/signal.exp: Also pass if
7048         $tracepoint_hits($i) > $iterations.
7049
7050 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7051
7052         * gdb.trace/signal.c: New file.
7053         * gdb.trace/signal.exp: New file.
7054
7055 2016-04-19  Doug Evans  <xdje42@gmail.com>
7056
7057         * gdb.base/bad-file.exp: New file.
7058
7059 2016-04-18  Martin Galvan  <martin.galvan@tallertechnologies.com>
7060
7061         * gdb.dwarf2/implref.exp: New file.
7062
7063 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
7064
7065         * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
7066         * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
7067         * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
7068         * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
7069         * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
7070         * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
7071         * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
7072         * lib/fortran.exp (fortran_int4): New procedure.
7073         (fortran_real4, fortran_real8, fortran_complex4): Likewise.
7074         (fortran_logical4): Likewise.
7075
7076 2016-04-18  Benrhard Heckel <bernhard.heckel@intel.com>
7077
7078         * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
7079
7080 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
7081
7082         * lib/compiler.c: Add Intel specific preprocessor macros.
7083         * lib/compiler.cc: Likewise.
7084
7085 2016-04-13  Luis Machado  <lgustavo@codesourcery.com>
7086
7087         * gdb.server/connect-with-no-symbol-file.c: New file.
7088         * gdb.server/connect-with-no-symbol-file.exp: New file.
7089
7090 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
7091
7092         * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7093
7094 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
7095
7096         * boards/gdbserver-base.exp (${board}_download): Copy source file to
7097         standard output directory.
7098
7099 2016-04-13  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7100
7101         * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7102
7103 2016-04-13  Markus Metzger  <markus.t.metzger@intel.com>
7104
7105         * gdb.btrace/instruction_history.c (loop): Add declaration.
7106
7107 2016-04-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7108
7109         * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7110
7111 2016-04-09  Simon Marchi  <simon.marchi@polymtl.ca>
7112
7113         * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
7114         parentheses to print.
7115         (continue_handler): Likewise.
7116
7117 2016-04-08  Simon Marchi  <simon.marchi@ericsson.com>
7118
7119         * gdb.server/solib-list.exp: Remove is_remote check.
7120         Pass shlib= to gdb_compile.  Don't link shared library with
7121         -soname.  Call gdb_remote_download instead of gdb_load_shlibs.
7122         Run binary filename through "readlink -f" on the target.
7123
7124 2016-04-08  Pedro Alves  <palves@redhat.com>
7125
7126         * gdb.server/solib-list.exp: Don't use gdb_load.  Instead pass the
7127         interpreter filename as argument to gdbserver_spawn.
7128         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7129         Return empty if $last_loaded_file does not exist.
7130
7131 2016-04-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7132
7133         Fix compatibility with gcc-4.8.5-4.el7.x86_64.
7134         * gdb.base/jit-main.c: Use exit after usage.
7135
7136 2016-04-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7137
7138         * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
7139         GDBHISTSIZE prior to the tests.
7140         * gdb.base/gdbinit-history.exp: Likewise.
7141
7142 2016-04-07  Pedro Alves  <palves@redhat.com>
7143
7144         * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
7145         instead of build_executable.  Use gdb_load_shlibs.
7146
7147 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7148
7149         * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
7150         Execute "si" command.
7151
7152 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7153
7154         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
7155         number instead of the comments on some line.
7156
7157 2016-04-06  Don Breazeal  <donb@codesourcery.com>
7158
7159         * gdb.dwarf2/dw2-opt-structptr.c: New test program.
7160         * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
7161
7162 2016-04-06  Simon Marchi  <simon.marchi@ericsson.com>
7163
7164         * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
7165         standard_output_file.  Remove unused binfile variable.
7166
7167 2016-04-05  Catalin Udma  <catalin.udma@freescale.com>
7168
7169         * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
7170         * gdb.python/py-mi-objfile.exp: Match "list main" output
7171         in console format.
7172
7173 2016-04-05  Simon Marchi  <simon.marchi@polymtl.ca>
7174
7175         * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
7176         absolute.
7177
7178 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7179
7180         * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
7181         absolute.
7182         * gdb.trace/ftrace.exp: Likewise.
7183         * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
7184         targets as well.
7185         (gdb_compile_shlib): Set SONAME for non-remote targets as well.
7186         (gdb_load_shlibs): Copy libraries to test directory when testing
7187         natively.  Only set solib-search-path if testing remotely.
7188         * lib/mi-support.exp (mi_load_shlibs): Likewise.
7189
7190 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7191
7192         * gdb.base/jit-so.exp: Use gdb_remote_download instead of
7193         gdb_download.  Use it even if the target is not remote.
7194         * gdb.base/jit.exp (compile_jit_test): Likewise.
7195         * lib/gdb.exp (gdb_remote_download): Copy files to the standard
7196         output directory if the destination board is local, otherwise use
7197         the standard remote_download from DejaGnu.
7198         (gdb_download): Remove.
7199         (gdb_load_shlibs): Use gdb_remote_download instead of
7200         gdb_download.
7201         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7202         Use gdb_remote_download instead of gdb_download.  Use it even if
7203         the target is not remote.
7204         * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
7205         instead of gdb_download.
7206
7207 2016-04-04  Simon Marchi  <simon.marchi@polymtl.ca>
7208
7209         * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
7210         (test_insert_delete_modify): Call mi_load_shlibs before trying to
7211         run.
7212
7213 2016-04-01  Artemiy Volkov  <artemiyv@acm.org>
7214
7215         PR gdb/19820
7216         * gdb.base/printcmds.exp: Add artificial arrays tests.
7217
7218 2016-03-31  Pedro Alves  <palves@redhat.com>
7219
7220         PR gdb/19858
7221         * gdb.base/jit-main.c: Include unistd.h.
7222         (ATTACH): Define to 0 if not already defined.
7223         (wait_for_gdb, mypid): New globals.
7224         (WAIT_FOR_GDB): New macro.
7225         (MAIN): Set an alarm.  Store the process's pid.  Wait for GDB at
7226         some breakpoint locations.
7227         * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
7228         New procedures.
7229         (one_jit_test): Add REATTACH parameter, and handle it.  Use
7230         continue_to_test_location.
7231         (top level): Test attach, and adjusts calls to one_jit_test.
7232
7233 2016-03-31  Pedro Alves  <palves@redhat.com>
7234
7235         PR gdb/19858
7236         * gdb.base/jit.exp (compile_jit_test): Add intro comment.  Add
7237         BINSUFFIX parameter, and handle it.
7238         (top level): Adjust calls compile_jit_test.
7239
7240 2016-03-31  Catalin Udma  <catalin.udma@freescale.com>
7241
7242         PR python/19743
7243         * gdb.python/py-mi-events-gdb.py: New file.
7244         * gdb.python/py-mi-events.c: New file.
7245         * gdb.python/py-mi-events.exp: New file.
7246
7247 2016-03-30  Yao Qi  <yao.qi@linaro.org>
7248
7249         * gdb.reverse/until-precsave.exp: Match function name only.
7250         * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
7251         Move malloc to a condition block.
7252         * gdb.reverse/until-reverse.exp: Match function name only.
7253
7254 2016-03-29  Marcin Kościelnicki  <koriakin@0x04.net>
7255
7256         * gdb.trace/ftrace.exp: Set arg0exp for s390.
7257         * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
7258         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
7259         variable for GPR 0 instead of assuming it is register 0.
7260         * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
7261         * lib/trace-support.exp: Add s390 registers.
7262
7263 2016-03-29  Yao Qi  <yao.qi@linaro.org>
7264
7265         * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
7266
7267 2016-03-24  Yao Qi  <yao.qi@linaro.org>
7268
7269         * gdb.reverse/break-reverse.exp: Add quotation mark in the
7270         test message.
7271
7272 2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7273
7274         * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
7275         maintaining separate logic for constructing the output path.
7276
7277 2016-03-16  Don Breazeal  <donb@codesourcery.com>
7278
7279         * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
7280         Retry fork and waitpid on interrupted system call errors.
7281         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7282         Use with_timeout_factor to increase timeout by factor of 10.
7283
7284 2016-03-15  Don Breazeal  <donb@codesourcery.com>
7285
7286         * gdb.cp/scope-err.cc: New test program.
7287         * gdb.cp/scope-err.exp: New test script.
7288         * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
7289         lines and "set breakpoint here" comment.
7290         * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
7291         Fixed some whitespace and format issues.
7292         * gdb.mi/mi-linespec-err-cp.cc: New test program.
7293         * gdb.mi/mi-linespec-err-cp.exp: New test script.
7294
7295 2016-03-15  Doug Evans  <dje@google.com>
7296
7297         * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
7298         * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
7299         All callers updated.  Add tests for enums, mixed flags register.
7300
7301 2016-03-15  Doug Evans  <dje@google.com>
7302
7303         * gdb.base/skip.c (main): Call test_skip_file_and_function.
7304         * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
7305
7306 2016-03-14  Simon Marchi  <simon.marchi@ericsson.com>
7307
7308         * gdb.base/default.exp: Add $_as_string to the list of expected
7309         convenience functions.
7310
7311 2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
7312
7313         * gdb.base/maint.exp: New tests for 'maint info line-table'.
7314
7315 2016-03-10  Simon Marchi  <simon.marchi@polymtl.ca>
7316
7317         * gdb.python/py-as-string.exp: New file.
7318         * gdb.python/py-as-string.c: New file.
7319
7320 2016-03-09  Pedro Alves  <palves@redhat.com>
7321
7322         * gdb.threads/attach-into-signal.exp: Adjust to "Program received
7323         signal" -> "Thread NN received signal" output change.
7324         * gdb.threads/ia64-sigill.exp: Likewise.
7325         * gdb.threads/linux-dp.exp: Likewise.
7326         * gdb.threads/manythreads.exp: Likewise.
7327         * gdb.threads/pending-step.exp: Likewise.
7328         * gdb.threads/print-threads.exp: Likewise.
7329         * gdb.threads/sigstep-threads.exp: Likewise.
7330         * gdb.threads/staticthreads.exp: Likewise.
7331         * gdb.threads/tls.exp: Likewise.
7332
7333 2016-03-09  Pedro Alves  <palves@redhat.com>
7334
7335         * gdb.base/command-line-input.exp: New file.
7336
7337 2016-03-09  Marcin Kościelnicki  <koriakin@0x04.net>
7338
7339         * gdb.trace/ftrace.exp: Set arg0exp for ppc.
7340         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
7341         * gdb.trace/pending.exp: Accept leading dot before function name.
7342         * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
7343         * lib/trace-support.exp: Set registers for ppc.
7344
7345 2016-03-09  Marcin Kościelnicki  <koriakin@0x04.net>
7346
7347         * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
7348         use it for disassembly; accept .main in addition to main in backtrace.
7349
7350 2016-03-09  Wei-cheng Wang  <cole945@gmail.com>
7351             Marcin Kościelnicki  <koriakin@0x04.net>
7352
7353         * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
7354         (gdb_recursion_test_ptr): New global variable.
7355         (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
7356         gdb_recursion_test.
7357         (gdb_c_test): Ditto.
7358
7359 2016-03-09  Marcin Kościelnicki  <koriakin@0x04.net>
7360
7361         * gdb.trace/change-loc.exp: Don't depend on tracepoint location
7362         ordering.
7363
7364 2016-03-09  Marcin Kościelnicki  <koriakin@0x04.net>
7365
7366         * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
7367         (bar): Add bar_start_lbl label.
7368         * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
7369         of foo/bar for emitting DWARF and tracing.
7370
7371 2016-03-06  Sergio Durigan Junior  <sergiodj@redhat.com>
7372
7373         * analyze-racy-logs.py: Set executable bit.
7374
7375 2016-03-05  Sergio Durigan Junior  <sergiodj@redhat.com>
7376
7377         * Makefile.in (DEFAULT_RACY_ITER): New variable.
7378         (CHECK_TARGET_TMP): Likewise.
7379         (check-single-racy): New rule.
7380         (check-parallel-racy): Likewise.
7381         (TEST_TARGETS): Adjust rule to account for RACY_ITER.
7382         (do-check-parallel-racy): New rule.
7383         (check-racy/%.exp): Likewise.
7384         * README (Racy testcases): New section.
7385         * analyze-racy-logs.py: New file.
7386
7387 2016-03-03  Doug Evans  <dje@google.com>
7388
7389         * gdb.base/skip.exp: Use with_test_prefix.
7390
7391 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7392
7393         * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
7394         Invoke step_over_syscall "clone" and break_cond_on_syscall
7395         "clone".
7396         * gdb.base/step-over-clone.c: New file.
7397
7398 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7399
7400         * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
7401         code format.
7402
7403 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7404
7405         * gdb.base/disp-step-fork.c: Rename to ...
7406         * gdb.base/step-over-fork.c: ... it.  New file.
7407         * gdb.base/disp-step-vfork.c: Rename to ...
7408         * gdb.base/step-over-vfork.c: ... it.  New file.
7409         * gdb.base/disp-step-syscall.exp: Rename to ...
7410         * gdb.base/step-over-syscall.exp: ... it.  New file.
7411         (disp_step_cross_syscall): Rename to ...
7412         (step_over_syscall): ... it.
7413
7414 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7415
7416         * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7417         If target supports condition evaluation on target, invoke
7418         break_cond_on_syscall for fork and vfork.
7419
7420 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7421
7422         * gdb.base/disp-step-syscall.exp: Don't invoke
7423         support_displaced_stepping.
7424         (disp_step_cross_syscall): Test with displaced stepping off and
7425         on if supported.
7426
7427 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7428
7429         * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7430         proc.
7431         (setup): New proc.
7432         (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7433         and setup.
7434
7435 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7436
7437         * gdb.fortran/vla-history.exp: Remove breakpoint.
7438
7439 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7440
7441         * gdb.fortran/vla-history.exp: Lookup array elements and printing
7442         exceeds timeout.
7443
7444 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7445
7446         * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7447         breakpoint.
7448
7449 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7450
7451         * gdb.mi/vla.f90: Nullify pointer after declaration.
7452
7453 2016-03-01  Pedro Alves  <palves@redhat.com>
7454
7455         * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7456
7457 2016-03-01  Pedro Alves  <palves@redhat.com>
7458
7459         * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7460         before anything else.
7461         * gdb.threads/watchpoint-fork-mt.c: Likewise.  Don't define
7462         _GNU_SOURCE here.
7463         * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7464         before anything else.
7465         * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7466
7467 2016-03-01  Pedro Alves  <palves@redhat.com>
7468
7469         * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7470
7471 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7472
7473         * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7474         prepare_for_testing.
7475
7476 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7477
7478         * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7479
7480 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7481
7482         * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7483         manually constructing the output path.
7484
7485 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7486
7487         * gdb.arch/s390-stackless.S: New.
7488         * gdb.arch/s390-stackless.exp: New.
7489
7490 2016-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
7491
7492         * gdb.dlang/circular.c: New file.
7493         * gdb.dlang/circular.exp: New file.
7494
7495 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7496
7497         * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
7498         [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
7499         (testcases): Update.
7500
7501 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7502
7503         * gdb.reverse/aarch64.c: Rename to ...
7504         * gdb.reverse/insn-reverse.c: ... it.
7505         * gdb.reverse/aarch64.exp: Rename to ...
7506         * gdb.reverse/insn-reverse.exp: ... it.
7507
7508 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7509
7510         * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7511         (testcase_ftype): New.
7512         (testcases): New array.
7513         (n_testcases): New.
7514         (main): Call each element in testcases.
7515         * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7516         (read_testcase): New.
7517         Do the tests in a loop.
7518
7519 2016-02-25  Yao Qi  <yao.qi@linaro.org>
7520
7521         * gdb.base/branches.c: Remove.
7522
7523 2016-02-25  Marcin Kościelnicki  <koriakin@0x04.net>
7524
7525         PR gdb/13808
7526         * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7527
7528 2016-02-25  Marcin Kościelnicki  <koriakin@0x04.net>
7529
7530         * gdb.trace/ftrace.exp: Remove unnecessary target check.
7531
7532 2016-02-25  Marcin Kościelnicki  <koriakin@0x04.net>
7533
7534         * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7535         change x86_64 call_insn to 'callq'.
7536
7537 2016-02-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7538
7539         * gdb.trace/tfile-avx.c: Move to...
7540         * gdb.trace/tracefile-pseudo-reg.c: Here.
7541         * gdb.trace/tfile-avx.exp: Move to...
7542         * gdb.trace/tracefile-pseudo-reg.exp: Here.
7543
7544 2016-02-24  Gary Benson <gbenson@redhat.com>
7545
7546         * gdb.base/attach-pie-noexec.exp: Do not expect an error
7547         message on attach.
7548
7549 2016-02-23  Doug Evans  <dje@google.com>
7550
7551         * gdb.base/skip.c (test_skip): New function.
7552         (end_test_skip_file_and_function): New function.
7553         (test_skip_file_and_function): New function.
7554         * gdb.base/skip1.c (test_skip): New function.
7555         (skip1_test_skip_file_and_function): New function.
7556         * gdb.base/skip.exp: Add tests for new skip options.
7557         * gdb.base/skip-solib.exp: Update expected output.
7558         * gdb.perf/skip-command.cc: New file.
7559         * gdb.perf/skip-command.exp: New file.
7560         * gdb.perf/skip-command.py: New file.
7561
7562 2016-02-22  Marcin Kościelnicki  <koriakin@0x04.net>
7563
7564         * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7565         info registers pattern.
7566
7567 2016-02-18  Iain Buclaw  <ibuclaw@gdcproject.org>
7568
7569         * lib/future.exp: Add D support.
7570         (gdb_find_gdc): New proc.
7571         (gdb_default_target_compile): Add D support.
7572
7573 2016-02-18  Wei-cheng Wang  <cole945@gmail.com>
7574
7575         * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7576         user+system time.
7577         (trace_speed_test): Determine the iteration count for a time
7578         between 15..30 seconds.
7579
7580 2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>
7581
7582         * gdb.arch/i386-mpx-sigsegv.c: New file.
7583         * gdb.arch/i386-mpx-sigsegv.exp: New file.
7584         * gdb.arch/i386-mpx-simple_segv.c: New file.
7585         * gdb.arch/i386-mpx-simple_segv.exp: New file.
7586
7587 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7588
7589         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7590         Don't call setup_kfail.
7591
7592 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7593
7594         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7595         Set "set breakpoint condition-evaluation" per $cond_bp_target.
7596
7597 2016-02-16  Doug Evans  <dje@google.com>
7598
7599         * gdb.base/skip.c: Add copyright.  Whitespace cleanup.
7600         * gdb.base/skip1.c: Ditto.
7601         * gdb.base/skip.exp: Whitespace cleanup.
7602
7603 2016-02-16  Don Breazeal  <donb@codesourcery.com>
7604
7605         PR remote/19496
7606         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7607         Remove kfail for PR remote/19496.
7608
7609 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7610
7611         * lib/gdb.exp (standard_temp_file): Return a path specific to
7612         the runtest invocation.
7613
7614 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7615
7616         * gdb.trace/save-trace.exp: Change relative path to be in the
7617         standard output directory.
7618
7619 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7620
7621         * gdb.arch/i386-prologue.c: Add missing prototypes.
7622
7623 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7624
7625         * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7626         * gdb.arch/i386-prologue.exp: Likewise.
7627         * gdb.arch/i386-size.exp: Likewise.
7628
7629 2016-02-15  Simon Marchi  <simon.marchi@ericsson.com>
7630
7631         * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7632         define object file path.
7633         * gdb.btrace/gcore.exp: Use standard_output_file to define core
7634         file path.
7635         * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7636         standard_output_file to define binfile.
7637
7638 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7639
7640         Fix compatibility with recent gfortran-5.3.1.
7641         * gdb.fortran/vla-history.exp (print vla1 allocated)
7642         (print vla2 allocated, print $2, print $3): Remove
7643         (print $4): Rename to ...
7644         (print $2): ... here.
7645         (print $9): Rename to ...
7646         (print $5): ... here.
7647         (print $10): Rename to ...
7648         (print $6): ... here.
7649         * gdb.fortran/vla.f90: Add pvla initialization.
7650
7651 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7652
7653         * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7654         New test.
7655         * gdb.fortran/vla-value-sub.exp: Likewise.
7656
7657 2016-02-12  Marcin Kościelnicki  <koriakin@0x04.net>
7658
7659         * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7660
7661 2016-02-12  Simon Marchi  <simon.marchi@ericsson.com>
7662
7663         * i386-biarch-core.exp: Define corefile using
7664         standard_output_file.
7665
7666 2016-02-12  Yao Qi  <yao.qi@linaro.org>
7667
7668         * gdb.arch/arm-single-step-kernel-helper.c: New.
7669         * gdb.arch/arm-single-step-kernel-helper.exp: New.
7670
7671 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
7672
7673         * gdb.btrace/tailcall-only.exp: New.
7674         * gdb.btrace/tailcall-only.c: New.
7675         * gdb.btrace/x86_64-tailcall-only.S: New.
7676         * gdb.btrace/i686-tailcall-only.S: New.
7677
7678 2016-02-11  Pedro Alves  <palves@redhat.com>
7679
7680         * README (Parallel testing): Add missing double quotes.
7681
7682 2016-02-11  Pedro Alves  <palves@redhat.com>
7683
7684         * README (Parallel testing): New section.
7685         (GDB_PARALLEL): Rewrite.
7686         (FORCE_PARALLEL): Document.
7687
7688 2016-02-11  Marcin Kościelnicki  <koriakin@0x04.net>
7689
7690         * gdb.trace/tfile-avx.c: New test.
7691         * gdb.trace/tfile-avx.exp: New test.
7692
7693 2016-02-09  Keith Seitz  <keiths@redhat.com>
7694
7695         PR breakpoints/19546
7696         * gdb.base/infcall-exec.c: New file.
7697         * gdb.base/infcall-exec2.c: New file.
7698         * gdb.base/infcall-exec.exp: New file.
7699
7700 2016-02-09  Keith Seitz  <keiths@redhat.com>
7701
7702         * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7703         (toplevel): Call test_bkpt_address.
7704
7705 2016-02-09  Keith Seitz  <keiths@redhat.com>
7706
7707         PR python/19506
7708         * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7709         (toplevel): Call test_bkpt_address.
7710
7711 2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
7712
7713         * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7714         to AC_OUTPUT.
7715         * configure: Regenerate.
7716
7717 2016-02-09  Pedro Alves  <palves@redhat.com>
7718
7719         PR breakpoints/19548
7720         * gdb.base/execl-update-breakpoints.c (some_function): New
7721         function.
7722         (main): Call it.
7723         * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7724         Tighten expected GDB output.
7725
7726 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
7727
7728         * Makefile.in (ALL_SUBDIRS): Remove.
7729         (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7730         (distclean maintainer-clean realclean): Likewise.
7731         * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7732         * configure: Regenerate.
7733         * gdb.ada/Makefile.in: Delete.
7734         * gdb.arch/Makefile.in: Likewise.
7735         * gdb.asm/Makefile.in: Likewise.
7736         * gdb.base/Makefile.in: Likewise.
7737         * gdb.btrace/Makefile.in: Likewise.
7738         * gdb.cell/Makefile.in: Likewise.
7739         * gdb.compile/Makefile.in: Likewise.
7740         * gdb.cp/Makefile.in: Likewise.
7741         * gdb.disasm/Makefile.in: Likewise.
7742         * gdb.dlang/Makefile.in: Likewise.
7743         * gdb.dwarf2/Makefile.in: Likewise.
7744         * gdb.fortran/Makefile.in: Likewise.
7745         * gdb.gdb/Makefile.in: Likewise.
7746         * gdb.go/Makefile.in: Likewise.
7747         * gdb.guile/Makefile.in: Likewise.
7748         * gdb.java/Makefile.in: Likewise.
7749         * gdb.linespec/Makefile.in: Likewise.
7750         * gdb.mi/Makefile.in: Likewise.
7751         * gdb.modula2/Makefile.in: Likewise.
7752         * gdb.multi/Makefile.in: Likewise.
7753         * gdb.objc/Makefile.in: Likewise.
7754         * gdb.opencl/Makefile.in: Likewise.
7755         * gdb.opt/Makefile.in: Likewise.
7756         * gdb.pascal/Makefile.in: Likewise.
7757         * gdb.perf/Makefile.in: Likewise.
7758         * gdb.python/Makefile.in: Likewise.
7759         * gdb.reverse/Makefile.in: Likewise.
7760         * gdb.server/Makefile.in: Likewise.
7761         * gdb.stabs/Makefile.in: Likewise.
7762         * gdb.threads/Makefile.in: Likewise.
7763         * gdb.trace/Makefile.in: Likewise.
7764         * gdb.xml/Makefile.in: Likewise.
7765         * lib/gdb.exp (make_gdb_parallel_path): Add check for
7766         GDB_PARALLEL.
7767         (standard_output_file): Remove check for GDB_PARALLEL, always
7768         return path in outputs/$subdir/$testname.
7769
7770 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
7771
7772         * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7773         (site.exp): Assign abs_srcdir to tcl's srcdir.
7774
7775 2016-02-04  Yao Qi  <yao.qi@linaro.org>
7776
7777         * gdb.base/foll-exec-mode.c: Include limits.h.
7778         (main): Add parameters argc and argv.  Get directory from
7779         argv[0].
7780         * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7781         compilation.
7782         * gdb.base/foll-exec.c: Include limits.h.
7783         (main): Add parameters argc and argv.
7784         Get directory from argv[0].
7785         * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7786         Adjust tests on the number of lines as source code changed.
7787         * gdb.base/foll-vfork-exit.c: Include limits.h.
7788         (main): Add one line of statement before vfork.
7789         * gdb.base/foll-vfork.c: Include limits.h and string.h.
7790         (main): Add parameters argc and argv.  Get directory from
7791         argv[0].
7792         * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7793         (setup_gdb): Set tbreak to skip some source lines.
7794         * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7795         (main): Add parameters argc and argv.  Get directory from
7796         argv[0].
7797         * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7798         compilation.
7799         * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7800         (main): Add parameters argc and argv.  Get directory from
7801         argv[0].
7802         * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7803         compilation.
7804
7805 2016-02-01  Doug Evans  <dje@google.com>
7806
7807         * gdb.base/skip.exp: Clean up multiple references to same test name.
7808
7809 2016-02-01  Pedro Alves  <palves@redhat.com>
7810
7811         PR remote/19496
7812         * gdb.threads/forking-threads-plus-breakpoint.exp
7813         (displaced_stepping_supported): New global.
7814         (probe_displaced_stepping_support): New procedure.
7815         (do_test): Add 'displaced' parameter, and use it.
7816         (top level): Check for displaced stepping support.  Add displaced
7817         stepping on/off testing axis.
7818
7819 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
7820
7821         * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7822         pointer.  Don't perform further tests on the unassociated pointer
7823         if the first test fails.
7824
7825 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
7826
7827         * gdb.base/max-value-size.c: New file.
7828         * gdb.base/max-value-size.exp: New file.
7829         * gdb.base/huge.exp: Disable max-value-size for this test.
7830
7831 2016-01-28  Iain Buclaw  <ibuclaw@gdcproject.org>
7832
7833         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7834
7835 2016-01-28  Yao Qi  <yao.qi@linaro.org>
7836
7837         * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7838
7839 2016-01-25  Pedro Alves  <palves@redhat.com>
7840
7841         PR threads/19461
7842         * gdb.base/fork-running-state.c: New file.
7843         * gdb.base/fork-running-state.exp: New file.
7844
7845 2016-01-25  Pedro Alves  <palves@redhat.com>
7846
7847         PR gdb/19494
7848         * gdb.base/catch-fork-kill.c: New file.
7849         * gdb.base/catch-fork-kill.exp: New file.
7850
7851 2016-01-25  Pedro Alves  <palves@redhat.com>
7852
7853         * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7854         Delete, moved to lib/gdb.exp.
7855         * gdb.threads/forking-threads-plus-breakpoint.exp
7856         (foreach_with_prefix): Likewise.
7857         * gdb.threads/process-dies-while-handling-bp.exp
7858         (foreach_with_prefix): Likewise.
7859         * lib/gdb.exp (foreach_with_prefix): New procedure.
7860
7861 2016-01-25  Marcin Kościelnicki  <koriakin@0x04.net>
7862
7863         * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7864         * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7865
7866 2016-01-23  Marcin Kościelnicki  <koriakin@0x04.net>
7867
7868         * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7869         endian targets.
7870
7871 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
7872             Pedro Alves  <palves@redhat.com>
7873
7874         Fix testsuite compatibility with Guile.
7875         * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7876         number.
7877
7878 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
7879
7880         Fix testsuite compatibility with Guile.
7881         * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7882         (thread 1): New test for backtrace through signal handler.
7883
7884 2016-01-22  Yao Qi  <yao.qi@linaro.org>
7885
7886         PR testsuite/19491
7887         * gdb.base/multi-forks.c: Include
7888         ../lib/unbuffer_output.c
7889         (main): Call gdb_unbuffer_output.
7890
7891 2016-01-21  Doug Evans  <dje@google.com>
7892
7893         * lib/ada.exp (gdb_compile_ada): Fix typo.
7894
7895 2016-01-21  Joel Brobecker  <brobecker@adacore.com>
7896
7897         * gdb.base/break-fun-addr.exp: New file.
7898         * gdb.base/break-fun-addr1.c: New file.
7899         * gdb.base/break-fun-addr2.c: New file.
7900
7901 2016-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
7902
7903         * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7904         * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7905         enum flag values.
7906
7907 2016-01-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7908
7909         * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7910         when GDB can not set the vector return value.  Add more comments
7911         for clarification.
7912
7913 2016-01-20  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7914
7915         * gdb.trace/tspeed.exp:  Use shlib instead of libs in gdb_compile
7916         command.
7917
7918 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
7919
7920         * Makefile.in (DO_RUNTEST): Add --status and update usages.
7921
7922 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
7923
7924         * Makefile.in (check-single): Pass --status to runtest.
7925         (check/%.exp): Likewise.
7926
7927 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
7928
7929         * Makefile.in (check-parallel): Propagate return code from make
7930         do-check-parallel.
7931
7932 2016-01-19  Marcin Kościelnicki  <koriakin@0x04.net>
7933
7934         * gdb.trace/ftrace.exp: Fix expected message on continue.
7935         * gdb.trace/pending.exp: Fix expected message on continue.
7936         * gdb.trace/trace-break.exp: Fix expected message on continue.
7937
7938 2016-01-18  Simon Marchi  <simon.marchi@ericsson.com>
7939
7940         * lib/gdb.exp (gdb_test): Remove unused global references.
7941
7942 2016-01-18  Pedro Alves  <palves@redhat.com>
7943
7944         * gdb.base/async-shell.exp: Adjust expected output.
7945         * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7946         * gdb.base/siginfo-thread.exp: Adjust expected output.
7947         * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7948         * gdb.java/jnpe.exp: Adjust expected output.
7949         * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7950         * gdb.threads/continue-pending-status.exp: Adjust expected output.
7951         * gdb.threads/leader-exit.exp: Adjust expected output.
7952         * gdb.threads/manythreads.exp: Adjust expected output.
7953         * gdb.threads/pthreads.exp: Adjust expected output.
7954         * gdb.threads/schedlock.exp: Adjust expected output.
7955         * gdb.threads/siginfo-threads.exp: Adjust expected output.
7956         * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
7957         expected output.
7958         * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
7959         output.
7960         * gdb.threads/sigthread.exp: Adjust expected output.
7961         * gdb.threads/watchpoint-fork.exp: Adjust expected output.
7962
7963 2016-01-18  Yao Qi  <yao.qi@linaro.org>
7964
7965         * gdb.guile/scm-section-script.c: Replace @progbits with
7966         %progbits.
7967         * gdb.python/py-section-script.c: Likewise.
7968
7969 2016-01-15  Pedro Alves  <palves@redhat.com>
7970
7971         * gdb.multi/tids.exp: Test star wildcard ranges.
7972
7973 2016-01-15  Pedro Alves  <palves@redhat.com>
7974
7975         * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
7976         command from "thread apply" invocation.
7977         (thr_apply_info_thr_invalid): Default the expected output to the
7978         input tid list.
7979         (top level): Add tests that use convenience variables.  Add tests
7980         for "thread apply" with a valid TID list, but missing the command.
7981
7982 2016-01-13  Pedro Alves  <palves@redhat.com>
7983
7984         * gdb.base/default.exp: Expect $_gthread as well.
7985         * gdb.multi/tids.exp: Test $_gthread.
7986         * gdb.threads/thread-specific.exp: Test $_gthread.
7987
7988 2016-01-13  Pedro Alves  <palves@redhat.com>
7989
7990         * gdb.multi/tids.exp: Test "info threads -gid".
7991
7992 2016-01-13  Pedro Alves  <palves@redhat.com>
7993
7994         * gdb.multi/tids.exp: Test InferiorThread.global_num and
7995         Breakpoint.thread.
7996         * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
7997
7998 2016-01-07  Pedro Alves  <palves@redhat.com>
7999
8000         * gdb.base/break.exp: Adjust to output changes.
8001         * gdb.base/hbreak2.exp: Likewise.
8002         * gdb.base/sepdebug.exp: Likewise.
8003         * gdb.base/watch_thread_num.exp: Likewise.
8004         * gdb.linespec/keywords.exp: Likewise.
8005         * gdb.multi/info-threads.exp: Likewise.
8006         * gdb.threads/thread-find.exp: Likewise.
8007         * gdb.multi/tids.c: New file.
8008         * gdb.multi/tids.exp: New file.
8009
8010 2016-01-13  Pedro Alves  <palves@redhat.com>
8011
8012         * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
8013
8014 2016-01-13  Pedro Alves  <palves@redhat.com>
8015
8016         * gdb.base/default.exp: Expect $_inferior as well.
8017         * gdb.multi/base.exp: Test $_inferior.
8018
8019 2016-01-13  Pedro Alves  <palves@redhat.com>
8020
8021         PR breakpoints/19388
8022         * gdb.base/catch-signal-siginfo-cond.c: New file.
8023         * gdb.base/catch-signal-siginfo-cond.exp: New file.
8024
8025 2016-01-12  Josh Stone  <jistone@redhat.com>
8026             Philippe Waroquiers  <philippe.waroquiers@skynet.be>
8027
8028         * gdb.base/catch-syscall.c (do_execve): New variable.
8029         (main): Conditionally trigger an execve.
8030         * gdb.base/catch-syscall.exp: Enable testing for remote targets.
8031         (test_catch_syscall_execve): New, check entry/return across execve.
8032         (do_syscall_tests): Call test_catch_syscall_execve.
8033
8034 2016-01-12  Pedro Alves  <palves@redhat.com>
8035
8036         * gdb.base/random-signal.exp (do_test): New procedure, with body
8037         of testcase moved in.
8038
8039 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8040             Pedro Alves  <palves@redhat.com>
8041
8042         * gdb.base/funcargs.exp (finish from indirectly called function):
8043         Reintroduce the case for 'First'.
8044
8045 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8046             Pedro Alves  <palves@redhat.com>
8047
8048         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8049         (tcatch_vfork_then_child_follow_exec)
8050         (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
8051         identification.
8052
8053 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8054
8055         * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
8056         and repeats to unlimited.
8057         * gdb.python/py-value.exp: Likewise.
8058         * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
8059         and repeats to unlimited.
8060
8061 2016-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
8062
8063         * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
8064         and reordering the functions.
8065         * gdb.multi/hangout.c: Likewise.
8066         * gdb.multi/hello.c: Likewise.
8067
8068 2016-01-08  Simon Marchi  <simon.marchi@ericsson.com>
8069
8070         * gdb.perf/lib/perftest/perftest.py: Change relative imports to
8071         absolute.
8072         (SingleStatisticTestResult.report): Use dict.keys instead of
8073         dict.iterkeys.
8074
8075 2016-01-06  Pedro Alves  <palves@redhat.com>
8076
8077         * gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
8078
8079 2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
8080
8081         * gdb.btrace/dlopen.exp: New.
8082         * gdb.btrace/dlopen.c: New.
8083         * gdb.btrace/dlopen-dso.c: New.
8084
8085 2015-12-25  Sandra Loosemore  <sandra@codesourcery.com>
8086
8087         * lib/gdb.exp (gdb_test): Update comments to clarify that the
8088         PATTERN argument is optional.
8089
8090 2015-12-24  Joel Brobecker  <brobecker@adacore.com>
8091
8092         * lib/ada.exp (target_compile_ada_from_dir): New function.
8093         (gdb_compile_ada): Reimplement avoiding the use of project files.
8094         * gdb.ada/gnat_ada.gpr: Delete.
8095         * gdb.ada/cond_lang.exp: Adjust test to make path before
8096         filename optional.
8097         * gdb.ada/small_reg_param.exp: Likewise.
8098
8099 2015-12-22  Simon Marchi  <simon.marchi@ericsson.com>
8100
8101         * gdb.base/foll-vork.exp: Remove HP-UX special case.
8102
8103 2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>
8104
8105         * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8106         case.
8107
8108 2015-12-21  Simon Marchi  <simon.marchi@ericsson.com>
8109
8110         * gdb.base/break.exp: Remove dead code.
8111         * gdb.base/sepdebug.exp: Likewise.
8112
8113 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8114
8115         * gdb.asm/asm-source.exp: Remove HP-UX references.
8116         * gdb.base/annota1.exp: Likewise.
8117         * gdb.base/annota3.exp: Likewise.
8118         * gdb.base/attach.exp: Likewise.
8119         * gdb.base/bigcore.exp: Likewise.
8120         * gdb.base/break.exp: Likewise.
8121         * gdb.base/call-ar-st.exp: Likewise.
8122         * gdb.base/callfuncs.exp: Likewise.
8123         * gdb.base/catch-fork-static.exp: Likewise.
8124         * gdb.base/display.exp: Likewise.
8125         * gdb.base/foll-exec-mode.exp: Likewise.
8126         * gdb.base/foll-exec.exp: Likewise.
8127         * gdb.base/foll-fork.exp: Likewise.
8128         * gdb.base/foll-vfork.exp: Likewise.
8129         * gdb.base/funcargs.exp: Likewise.
8130         * gdb.base/hbreak2.exp: Likewise.
8131         * gdb.base/inferior-died.exp: Likewise.
8132         * gdb.base/interrupt.exp: Likewise.
8133         * gdb.base/multi-forks.exp: Likewise.
8134         * gdb.base/nodebug.exp: Likewise.
8135         * gdb.base/sepdebug.exp: Likewise.
8136         * gdb.base/solib1.c: Likewise.
8137         * gdb.base/step-test.exp: Likewise.
8138         * gdb.mi/non-stop.c: Likewise.
8139         * gdb.mi/pthreads.c: Likewise.
8140         * gdb.multi/bkpt-multi-exec.ex: Likewise.
8141         * gdb.threads/pthreads.c: Likewise.
8142         * gdb.threads/staticthreads.exp: Likewise.
8143         * lib/future.exp: Likewise.
8144         * lib/gdb.exp: Likewise.
8145         * gdb.base/so-indr-cl.c: Remove.
8146         * gdb.base/so-indr-cl.exp: Likewise.
8147         * gdb.base/solib.c: Likewise.
8148         * gdb.base/solib.exp: Likewise.
8149         * gdb.base/solib2.c: Likewise.
8150
8151 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8152
8153         * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
8154         * gdb.base/call-ar-st.exp: Likewise.
8155         * gdb.base/callfuncs.exp: Likewise.
8156         * gdb.base/condbreak.exp: Likewise.
8157         * gdb.base/constvars.exp: Likewise.
8158         * gdb.base/hbreak2.exp: Likewise.
8159         * gdb.base/langs.exp: Likewise.
8160         * gdb.base/list.exp: Likewise.
8161         * gdb.base/long_long.exp: Likewise.
8162         * gdb.base/ptype.exp: Likewise.
8163         * gdb.base/scope.exp: Likewise.
8164         * gdb.base/signals.exp: Likewise.
8165         * gdb.base/so-impl-ld.exp: Likewise.
8166         * gdb.base/varargs.exp: Likewise.
8167         * gdb.base/volatile.exp: Likewise.
8168         * gdb.base/whatis.exp: Likewise.
8169         * gdb.cp/cplusfuncs.exp: Likewise.
8170         * gdb.cp/inherit.exp: Likewise.
8171         * gdb.cp/local.exp: Likewise.
8172         * gdb.cp/member-ptr.exp: Likewise.
8173         * gdb.cp/method.exp: Likewise.
8174         * gdb.cp/overload.exp: Likewise.
8175         * gdb.cp/templates.exp: Likewise.
8176         * gdb.stabs/weird.exp: Likewise.
8177         * lib/compiler.c: Likewise.
8178         * lib/compiler.cc: Likewise.
8179         * lib/cp-support.exp: Likewise.
8180         * lib/gdb.exp: Likewise.
8181
8182 2015-12-20  Simon Marchi  <simon.marchi@polymtl.ca>
8183
8184         * configure.ac: Remove HP-UX case.
8185         * configure: Regenerate.
8186
8187 2015-12-18  Simon Marchi  <simon.marchi@ericsson.com>
8188
8189         * lib/gdb.exp (gdb_compile): Add function doc.
8190
8191 2015-12-17  Pedro Alves  <palves@redhat.com>
8192
8193         PR threads/19354
8194         * gdb.multi/info-threads.exp: New file.
8195
8196 2015-12-15  Yao Qi  <yao.qi@linaro.org>
8197
8198         * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
8199         is aarch64*-*-*.
8200
8201 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8202
8203         * gdb.base/history-duplicates.exp: Skip if no readline support.
8204
8205 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8206
8207         * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
8208
8209 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8210
8211         * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
8212
8213 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8214
8215         * gdb.base/completion.exp: Skip tests that interrupt GDB with
8216         ctrl-C if nointerrupts target property is set.
8217         * gdb.base/double-prompt-target-event-error.exp: Likewise.
8218         * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
8219         * gdb.base/paginate-bg-execution.exp: Likewise.
8220         * gdb.base/paginate-execution-startup.exp: Likewise.
8221         * gdb.base/random-signal.exp: Likewise.
8222         * gdb.base/range-stepping.exp: Likewise.
8223         * gdb.cp/annota2.exp: Likewise.
8224         * gdb.cp/annota3.exp: Likewise.
8225         * gdb.gdb/selftest.exp: Likewise.
8226         * gdb.threads/continue-pending-status.exp: Likewise.
8227         * gdb.threads/leader-exit.exp: Likewise.
8228         * gdb.threads/manythreads.exp: Likewise.
8229         * gdb.threads/pthreads.exp: Likewise.
8230         * gdb.threads/schedlock.exp: Likewise.
8231         * gdb.threads/sigthread.exp: Likewise.
8232
8233 2015-12-11  Don Breazeal  <donb@codesourcery.com>
8234
8235         * gdb.base/execl-update-breakpoints.exp (main): Enable for target
8236         remote.
8237         * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
8238         * gdb.base/foll-exec.exp (main): Enable for target remote.
8239         * gdb.base/foll-fork.exp (main): Likewise.
8240         * gdb.base/foll-vfork.exp (main): Likewise.
8241         * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
8242         (proc continue_to_exit_bp_loc): Use clean_restart.
8243         * gdb.base/pie-execl.exp (main): Disable for target remote.
8244         * gdb.base/watch-vfork.exp (main): Enable for target remote.
8245         * gdb.mi/mi-nsthrexec.exp (main): Likewise.
8246         * gdb.threads/execl.exp (main): Likewise.
8247         * gdb.threads/fork-child-threads.exp (main): Likewise.
8248         * gdb.threads/fork-plus-threads.exp (main): Disable for target
8249         remote.
8250         * gdb.threads/fork-thread-pending.exp (main): Enable for target
8251         remote.
8252         * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
8253         pid.tid style ptids, instead of just tid.
8254         * gdb.threads/thread-execl.exp (main): Enable for target remote.
8255         * gdb.threads/watchpoint-fork.exp (main): Likewise.
8256         * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
8257         ptids, instead of just tid.
8258
8259 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8260
8261         * gdb.base/list.exp (test_list_forward): Add end of file error
8262         test.
8263         (test_repeat_list_command): Add end of file error test.
8264         (test_list_backwards): Add beginning of file error test.
8265
8266 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8267
8268         * gdb.base/list.exp (test_list_invalid_args): New function,
8269         defined, and called.
8270
8271 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8272
8273         * gdb.base/list.exp (test_list): Make test names unique.
8274
8275 2015-12-11  Yao Qi  <yao.qi@linaro.org>
8276
8277         * gdb.base/coremaker2.c: Remove.
8278
8279 2015-12-10  Pedro Alves  <palves@redhat.com>
8280
8281         * gdb.multi/base.exp: Remove stale "spaces" references.
8282
8283 2015-12-10  Pedro Alves  <palves@redhat.com>
8284
8285         * gdb.multi/base.exp: Don't use nowarnings.
8286         * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
8287         * gdb.multi/hangout.c: Include stdio.h.
8288         * gdb.multi/hello.c: Include stdlib.h.
8289         * gdb.multi/multi-arch-exec.c: Include stdlib.h.
8290         * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
8291         * gdb.multi/multi-arch.exp: Don't use nowarnings.
8292
8293 2015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
8294
8295         * gdb.dwarf2/dw2-ranges-base.c: New file.
8296         * gdb.dwarf2/dw2-ranges-base.exp: New file.
8297         * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
8298         support additional line table, and debug ranges generation.
8299         (Dwarf::ranges): New function, generate .debug_ranges.
8300         (Dwarf::lines): Support generating simple line table programs.
8301         (Dwarf::assemble): Initialise new namespace variables.
8302
8303 2015-12-09  Kevin Buettner  <kevinb@redhat.com>
8304
8305         * gdb.base/async.exp (proc test_background): Add case for
8306         asynchronous execution not supported.
8307
8308 2015-12-09  Luis Machado  <lgustavo@codesourcery.com>
8309
8310         * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
8311           format and change test names to make them unique.
8312
8313 2015-12-09  Ruslan Kabatsayev  <b7.10110111@gmail.com>
8314             Pedro Alves  <pedro@redhat.com>
8315
8316         PR gdb/18702
8317         Add checking of floatformats setup on x86_64 hosts.
8318         * gdb.arch/i386-float.S (main): Load bigval and smallval.
8319         (smallval, bigval): New labels/constants.
8320         * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
8321         float" after loading bigval and smallval.
8322
8323 2015-12-07  Pierre-Marie de Rodat  <derodat@adacore.com>
8324
8325         * gdb.ada/fun_overload_menu.exp: New testcase.
8326         * gdb.ada/fun_overload_menu/foo.adb: New testcase.
8327
8328 2015-12-04  Josh Stone  <jistone@redhat.com>
8329
8330         * gdb.base/catch-fork-static.exp: New.
8331
8332 2015-12-03  Yao Qi  <yao.qi@linaro.org>
8333
8334         * gdb.base/sizeof.c: Don't include stdio.h and
8335         ../lib/unbuffer_output.c.
8336         (main): New variable 'size' and 'value'.  Remove printf and
8337         gdb_unbuffer_output.  Assign return value to size and value.
8338         * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
8339         at the beginning.
8340         (check_sizeof): Check the result by printing variable 'size'.
8341         (check_valueof): Check the result by printing variable 'value'.
8342
8343 2015-12-01  Yao Qi  <yao.qi@linaro.org>
8344
8345         * gdb.base/disp-step-syscall.exp: Define syscall instruction
8346         for aarch64*-*-linux* target.
8347
8348 2015-11-30  Pedro Alves  <palves@redhat.com>
8349
8350         * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
8351
8352 2015-11-30  Pedro Alves  <palves@redhat.com>
8353
8354         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
8355         Handle non-stop mode vCont replies.
8356
8357 2015-11-30  Pedro Alves  <palves@redhat.com>
8358
8359         * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
8360         prepare_for_testing.  Start gdb with "set non-stop on" appended to
8361         GDBFLAGS.  Lax expected stop output.
8362
8363 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8364
8365         * gdb.arch/arm-neon.exp: New.
8366         * gdb.arch/arm-neon.c: New.
8367
8368 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8369
8370         * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
8371
8372 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8373
8374         * gdb.cp/annota2.exp: Allow multiple occurrences of the
8375         frames-invalid annotation.
8376
8377 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8378
8379         * gdb.cp/annota2.exp: Use ${frames_invalid}.
8380
8381 2015-11-26  Simon Marchi  <simon.marchi@ericsson.com>
8382
8383         * gdb.threads/names.exp: New file.
8384         * gdb.threads/names.c: New file.
8385         * README: Mention gdb,no_thread_names.
8386
8387 2015-11-26  Markus Metzger  <markus.t.metzger@intel.com>
8388
8389         PR 19297
8390         * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
8391         support" error.
8392
8393 2015-11-24  Pedro Alves  <palves@redhat.com>
8394
8395         PR 17539
8396         * gdb.base/display.exp: Expect displays to be sorted in ascending
8397         order.  Use multi_line.
8398         * gdb.base/solib-display.exp: Likewise.
8399
8400 2015-11-24  Pedro Alves  <palves@redhat.com>
8401
8402         PR 17539
8403         * gdb.base/display.exp: Expect displays to be sorted in ascending
8404         order.  Use multi_line.
8405         * gdb.base/solib-display.exp: Likewise.
8406
8407 2015-11-24  Pedro Alves  <palves@redhat.com>
8408
8409         PR 17539
8410         * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8411         threads in ascending order.
8412         * gdb.base/foll-fork.exp: Likewise.
8413         * gdb.base/foll-vfork.exp: Likewise.
8414         * gdb.base/multi-forks.exp: Likewise.
8415         * gdb.mi/mi-nonstop.exp: Likewise.
8416         * gdb.mi/mi-nsintrall.exp: Likewise.
8417         * gdb.multi/base.exp: Likewise.
8418         * gdb.multi/multi-arch.exp: Likewise.
8419         * gdb.python/py-inferior.exp: Likewise.
8420         * gdb.threads/break-while-running.exp: Likewise.
8421         * gdb.threads/execl.exp: Likewise.
8422         * gdb.threads/gcore-thread.exp: Likewise.
8423         * gdb.threads/info-threads-cur-sal.exp: Likewise.
8424         * gdb.threads/kill.exp: Likewise.
8425         * gdb.threads/linux-dp.exp: Likewise.
8426         * gdb.threads/multiple-step-overs.exp: Likewise.
8427         * gdb.threads/next-bp-other-thread.exp: Likewise.
8428         * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8429         * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8430         * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8431         * gdb.threads/thread-find.exp: Likewise.
8432         * gdb.threads/tls.exp: Likewise.
8433         * lib/mi-support.exp (mi_reverse_list): Delete.
8434         (mi_check_thread_states): No longer reverse list.
8435
8436 2015-11-24  Pedro Alves  <palves@redhat.com>
8437
8438         * gdb.python/py-inferior.exp: Use with_test_prefix.  Consistently
8439         use lowercase.
8440
8441 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8442
8443         * gdb.trace/actions.c: Include trace-common.h.
8444         (main): Add a location for a fast tracepoint.
8445         * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8446         the normal tracepoints.
8447         (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8448
8449 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8450
8451         * save-trace.exp: Factor out code to these...
8452         (gdb_save_tracepoints): New.
8453         (gdb_load_tracepoints): New.
8454         (do_save_load_test): New.
8455
8456 2015-11-23  Kevin Buettner  <kevinb@redhat.com>
8457
8458         * gdb.base/asmlabel.exp: New test.
8459         * gdb.base/asmlabel.c: New test case.
8460
8461 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8462
8463         * gdb.base/wrong_frame_bt_full-main.c: New file.
8464         * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8465         * gdb.base/wrong_frame_bt_full.exp: New file.
8466
8467 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8468
8469         * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8470
8471 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8472
8473         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8474         pstate register when comparing registers values in
8475         sparc64-*-linux-gnu targets to avoid spurious differences.
8476
8477 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8478
8479         * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8480
8481 2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>
8482
8483         * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8484         as type argument to gdb_compile.
8485         * gdb.base/nested-subp2.exp: Likewise.
8486         * gdb.base/nested-subp3.exp: Likewise.
8487
8488 2015-11-17  Dominik Vogt  <vogt@linux.vnet.ibm.com>
8489
8490         * lib/dwarf.exp (_note): Fix left shift of negative value.
8491         * gdb.trace/trace-condition.exp: Likewise.
8492
8493 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8494
8495         * gdb.base/call-sc.exp (test_scalar_returns): Remove the
8496         comments about d10v.
8497         (test_scalar_returns): Likewise.
8498         * gdb.base/d10v.ld: Remove.
8499         * gdb.base/overlays.exp: Remove the target triplet checking for
8500         d10v-*-*.
8501         * gdb.base/structs.exp (test_struct_returns): Remove the
8502         comments about d10v.
8503         (test_struct_calls): Likewise.
8504
8505 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8506
8507         * gdb.base/gnu_vector.exp: Check the return value by "p res".
8508         * gdb.base/gnu_vector.c: Don't include stdio.h.
8509         (main): Don't print res and call add_some_intvecs.
8510
8511 2015-11-11  Marcin Kościelnicki  <koriakin@0x04.net>
8512
8513         * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8514         macro.
8515         (func5): Removed.
8516         (func4): Use FAST_TRACEPOINT_LABEL.
8517         * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8518         macro.
8519         (func): Removed.
8520         (thread_function): Use FAST_TRACEPOINT_LABEL.
8521         * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8522         (func): Remove.
8523         (marker): Use FAST_TRACEPOINT_LABEL.
8524         * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8525         (pendfunc1): Remove.
8526         (pendfunc): Use FAST_TRACEPOINT_LABEL.
8527         * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8528         (foo): Remove.
8529         (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8530         * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8531         macro.
8532         (func): Remove.
8533         (marker): Use FAST_TRACEPOINT_LABEL.
8534         * gdb.trace/trace-common.h: New header.
8535         * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8536         macro.
8537         (func): Remove.
8538         (marker): Use FAST_TRACEPOINT_LABEL.
8539         * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8540         (func): Remove.
8541         (thread_function): Use FAST_TRACEPOINT_LABEL.
8542
8543 2015-11-10  Marcin Kościelnicki  <koriakin@0x04.net>
8544
8545         * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8546         in front.
8547         * gdb.trace/change-loc.exp: Use global pcreg definition.
8548         * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8549         * gdb.trace/entry-values.exp: Use global spreg definition, add $
8550         in front.
8551         * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8552         * gdb.trace/pending.exp: Likewise.
8553         * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8554         * gdb.trace/trace-break.exp: Likewise.
8555         * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8556         in front.
8557         * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8558         * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8559         in front.
8560         * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8561
8562 2015-11-09  Joel Brobecker  <brobecker@adacore.com>
8563
8564         * gdb.ada/fin_fun_out: New testcase.
8565
8566 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8567
8568         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8569         value associated with DW_AT_byte_size.
8570         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8571         constants for DW_AT_byte_size, DW_AT_lower_bound, and
8572         DW_AT_upper_bound.
8573
8574 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8575
8576         * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8577         (gdb_target_symbol_prefix_flags): Define in terms of _asm
8578         version.
8579         * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8580         gdb.dwarf2/dw2-canonicalize-type.exp,
8581         gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8582         gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8583         gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8584         provided by gdb_target_symbol_prefix_flags_asm.
8585         * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8586         testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8587         testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8588         testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8589         gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8590         macros where needed).  Use this macro for symbols which require
8591         the prefix provided by SYMBOL_PREFIX.
8592
8593 2015-11-05  Kevin Buettner  <kevinb@redhat.com>
8594
8595         * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8596         New procs.
8597         * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8598         representing expressions, of more than one list element.
8599         * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8600         to prepend linker symbol prefix to f.
8601         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8602         table_1 and table_2.
8603         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8604         Likewise, for f and g.
8605         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8606         for ptr.
8607         * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8608         for main.
8609         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8610         table_1_ptr and table_2_ptr.
8611
8612 2015-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
8613             Joel Brobecker  <brobecker@adacore.com>
8614
8615         * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8616
8617 2015-11-04  Marcin Kościelnicki  <koriakin@0x04.net>
8618
8619         * gdb.reverse/s390-mvcle.c: New test.
8620         * gdb.reverse/s390-mvcle.exp: New file.
8621         * lib/gdb.exp: Enable reverse tests on s390*-linux.
8622
8623 2015-11-02  Marcin Kościelnicki  <koriakin@0x04.net>
8624
8625         * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8626
8627 2015-11-02  Marcin Kościelnicki  <koriakin@0x04.net>
8628
8629         * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8630         reaching marker2.
8631         * gdb.reverse/getresuid-reverse.exp: Likewise.
8632         * gdb.reverse/pipe-reverse.exp: Likewise.
8633         * gdb.reverse/readv-reverse.exp: Likewise.
8634         * gdb.reverse/recvmsg-reverse.exp: Likewise.
8635         * gdb.reverse/time-reverse.exp: Likewise.
8636         * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8637
8638 2015-10-30  Yao Qi  <yao.qi@linaro.org>
8639
8640         * gdb.threads/wp-replication.c (watch_count_done): Remove.
8641         (empty_cycle): Remove.
8642         (main): Don't call empty_cycle.  Don't use watch_count_done.
8643         * gdb.threads/wp-replication.exp: Don't set breakpoint on
8644         empty_cycle.  Rewrite the code counting HW watchpoints.
8645
8646 2015-10-30  Marcin Kościelnicki  <koriakin@0x04.net>
8647
8648         * gdb.reverse/fstatat-reverse.c: New test.
8649         * gdb.reverse/fstatat-reverse.exp: New file.
8650         * gdb.reverse/getresuid-reverse.c: New test.
8651         * gdb.reverse/getresuid-reverse.exp: New file.
8652         * gdb.reverse/pipe-reverse.c: New test.
8653         * gdb.reverse/pipe-reverse.exp: New file.
8654         * gdb.reverse/readv-reverse.c: New test.
8655         * gdb.reverse/readv-reverse.exp: New file.
8656         * gdb.reverse/recvmsg-reverse.c: New test.
8657         * gdb.reverse/recvmsg-reverse.exp: New file.
8658         * gdb.reverse/time-reverse.c: New test.
8659         * gdb.reverse/time-reverse.exp: New file.
8660         * gdb.reverse/waitpid-reverse.c: New test.
8661         * gdb.reverse/waitpid-reverse.exp: New file.
8662
8663 2015-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8664
8665         * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8666
8667 2015-10-26  Doug Evans  <dje@google.com>
8668
8669         PR symtab/17391
8670         * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8671         * gdb.dwarf2/bad-regnum.c: New file.
8672         * gdb.dwarf2/bad-regnum.exp: New file.
8673
8674 2015-10-26  Doug Evans  <dje@google.com>
8675
8676         PR python/18938
8677         * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8678         file.
8679
8680 2015-10-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8681
8682         * gdb.compile/compile.exp (compile code globalvar): Update expectation
8683         for a change by "Mention language in compile error message".
8684
8685 2015-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
8686
8687         PR python/18073
8688         * gdb.python/py-type.c (C::a_method): New.
8689         (C::a_const_method): New.
8690         (C::a_static_method): New.
8691         (a_function): New.
8692         * gdb.python/py-type.exp (test_fields): Test getting fields
8693         from function and method.
8694
8695 2015-10-21  Keven Boell  <keven.boell@intel.com>
8696
8697         * gdb.fortran/vla-alloc-assoc.exp: New file.
8698         * gdb.fortran/vla-datatypes.exp: New file.
8699         * gdb.fortran/vla-datatypes.f90: New file.
8700         * gdb.fortran/vla-history.exp: New file.
8701         * gdb.fortran/vla-ptype-sub.exp: New file.
8702         * gdb.fortran/vla-ptype.exp: New file.
8703         * gdb.fortran/vla-sizeof.exp: New file.
8704         * gdb.fortran/vla-sub.f90: New file.
8705         * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8706         * gdb.fortran/vla-value-sub-finish.exp: New file.
8707         * gdb.fortran/vla-value-sub.exp: New file.
8708         * gdb.fortran/vla-value.exp: New file.
8709         * gdb.fortran/vla-ptr-info.exp: New file.
8710         * gdb.mi/mi-vla-fortran.exp: New file.
8711         * gdb.mi/vla.f90: New file.
8712
8713 2015-10-21  Sandra Loosemore  <sandra@codesourcery.com>
8714
8715         * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8716         of hardwired timeout value.
8717
8718 2015-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
8719             Pedro Alves  <palves@redhat.com>
8720
8721         * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8722         * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8723
8724 2015-10-19  Josh Stone  <jistone@redhat.com>
8725
8726         * gdb.base/catch-syscall.c: Include <sched.h>.
8727         (unknown_syscall): New variable.
8728         (main): Trigger a vfork and an unknown syscall.
8729         * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8730         (unknown_syscall_number): Likewise.
8731         (check_call_to_syscall): Accept an optional syscall pattern.
8732         (check_return_from_syscall): Likewise.
8733         (check_continue): Likewise.
8734         (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8735         (test_catch_syscall_skipping_return): New test toggling off 'catch
8736         syscall' to step over the syscall return, then toggling back on.
8737         (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8738         during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8739         (do_syscall_tests): Call test_catch_syscall_without_args and
8740         test_catch_syscall_mid_vfork.
8741         (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8742         (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8743
8744 2015-10-19  Andrew Stubbs  <ams@codesourcery.com>
8745
8746         * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8747         print g_vE): Add new pass patterns.
8748         * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8749         print various symbol names for vptr fields.
8750
8751 2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
8752
8753         * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8754         results.
8755
8756 2015-10-12  Yao Qi  <yao.qi@linaro.org>
8757
8758         * gdb.arch/disp-step-insn-reloc.exp: New test case.
8759
8760 2015-10-12  Yao Qi  <yao.qi@linaro.org>
8761
8762         * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8763         is aarch64*-*-linux*.
8764
8765 2015-10-12  Yao Qi  <yao.qi@linaro.org>
8766
8767         * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8768         (can_relocate_bcond_true): ... it.
8769         (can_relocate_bcond_false): New function.
8770         (foo): Likewise.
8771         (can_relocate_bl): Likewise.
8772         (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8773         can_relocate_bl.
8774
8775 2015-10-12  Pierre-Marie de Rodat  <derodat@adacore.com>
8776
8777         * gdb.base/nested-addr.c: New file.
8778         * gdb.base/nested-addr.exp: New testcase.
8779
8780 2015-10-09  Markus Metzger  <markus.t.metzger@intel.com>
8781
8782         * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8783         * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8784         its output.  Ignore the output of "record goto begin" and instead
8785         check that GDB is replaying.
8786
8787 2015-10-09  Pedro Alves  <palves@redhat.com>
8788
8789         * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8790         (top level): Use it in the run with no args test.
8791
8792 2015-10-08  Iain Buclaw  <ibuclaw@gdcproject.org>
8793
8794         * gdb.dlang/properties.exp: New file.
8795
8796 2015-10-02  Sandra Loosemore  <sandra@codesourcery.com>
8797
8798         * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8799         whether or not address 0x1000 is mapped on the target.
8800
8801 2015-09-30  Simon Marchi  <simon.marchi@ericsson.com>
8802
8803         * gdb.python/py-type.exp: Do not run tests if binaries fail to
8804         build.
8805
8806 2015-09-30  Markus Metzger  <markus.t.metzger@intel.com>
8807
8808         * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8809         instruction-history test.
8810
8811 2015-09-28  Doug Evans  <dje@google.com>
8812
8813         * gdb.base/gcore.c (array_func): Add reference to static_array.
8814
8815 2015-09-25  Simon Marchi  <simon.marchi@ericsson.com>
8816
8817         * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8818         source line.
8819
8820 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8821
8822         * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8823         short or char as base type.
8824
8825 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8826
8827         * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8828         to allow any size enum.
8829
8830 2015-09-23  Pierre-Marie de Rodat  <derodat@adacore.com>
8831
8832         * gdb.ada/array_ptr_renaming.exp: New testcase.
8833         * gdb.ada/array_ptr_renaming/foo.adb: New file.
8834         * gdb.ada/array_ptr_renaming/pack.ads: New file.
8835
8836 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
8837
8838         * gdb.trace/ftrace-lock.c: New file.
8839         * gdb.trace/ftrace-lock.exp: New file.
8840
8841 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
8842
8843         * gdb.arch/insn-reloc.c: New file.
8844         * gdb.arch/ftrace-insn-reloc.exp: New file.
8845
8846 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
8847
8848         * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8849         instruction.
8850         * gdb.trace/pendshr1.c (pendfunc): Likewise.
8851         * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8852         * gdb.trace/range-stepping.c: Likewise.
8853         * gdb.trace/trace-break.c: Likewise.
8854         * gdb.trace/trace-mt.c (thread_function): Likewise.
8855         * gdb.trace/ftrace.c (marker): Likewise.
8856         * gdb.trace/trace-condition.c (marker): Likewise.
8857         * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8858         * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8859         is_aarch64_target.
8860
8861 2015-09-18  Doug Evans  <xdje42@gmail.com>
8862
8863         * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8864         * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8865
8866 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8867
8868         * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8869         the breakpoint.
8870
8871 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8872
8873         * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8874         the pending breakpoint.  Remove timeout override for "Run till
8875         MI pending breakpoint on pendfunc3 on thread 2" test.
8876
8877 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8878
8879         * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8880         filename pattern.
8881
8882 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8883
8884         * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8885         in breakpoint filename pattern.
8886
8887 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8888
8889         * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8890
8891 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8892
8893         * gdb.linespec/explicit.exp: Check for readline support for
8894         tab-completion tests.  Fix obvious typo.
8895
8896 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
8897
8898         * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8899         and replay.
8900
8901 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
8902
8903         * gdb.btrace/non-stop.c: New.
8904         * gdb.btrace/non-stop.exp: New.
8905
8906 2015-09-17  Pierre Langlois  <pierre.langlois@arm.com>
8907             Yao Qi  <yao.qi@linaro.org>
8908
8909         * gdb.trace/trace-condition.c: New file.
8910         * gdb.trace/trace-condition.exp: New file.
8911
8912 2015-09-16  Wei-cheng Wang  <cole945@gmail.com>
8913
8914         * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8915         for testing bytecode compilation.
8916
8917 2015-09-16  Pedro Alves  <palves@redhat.com>
8918             Sandra Loosemore <sandra@codesourcery.com>
8919
8920         * gdb.threads/non-stop-fair-events.c (timeout): New global.
8921         (SECONDS): Redefine.
8922         (main): Call pthread_kill and alarm early.
8923         * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8924         support.
8925         (test): If the target can't hardware step and doesn't support
8926         displaced stepping, increase the timeout.
8927
8928 2015-09-16  Pedro Alves  <palves@redhat.com>
8929
8930         * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8931         (enable_debug): New procedures.
8932         (test): Use them.  Bail out if waiting for threads fails.
8933         (top level): Bail out if a test fails.
8934
8935 2015-09-16  Yao Qi  <yao.qi@linaro.org>
8936
8937         * gdb.asm/asm-source.exp: Set asm-arch for
8938         aarch64*-*-* target.
8939         * gdb.asm/aarch64.inc: New file.
8940
8941 2015-09-15  Pierre-Marie de Rodat  <derodat@adacore.com>
8942
8943         * gdb.ada/array_of_variable_length.exp: New testcase.
8944         * gdb.ada/array_of_variable_length/foo.adb: New file.
8945         * gdb.ada/array_of_variable_length/pck.adb: New file.
8946         * gdb.ada/array_of_variable_length/pck.ads: New file.
8947
8948 2015-09-15  Doug Evans  <dje@google.com>
8949
8950         * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
8951         of function static local variable.
8952
8953 2015-09-15  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
8954
8955         * gdb.threads/tls-so_extern.exp: New test file.
8956         * gdb.threads/tls-so_extern.c: New test file.
8957         * gdb.threads/tls-so_extern_main.c: New test file.
8958
8959 2015-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
8960
8961         * gdb.opt/solib-intra-step-lib.c: New file.
8962         * gdb.opt/solib-intra-step-main.c: New file.
8963         * gdb.opt/solib-intra-step.exp: New file.
8964
8965 2015-09-15  Pedro Alves  <palves@redhat.com>
8966
8967         * gdb.threads/non-ldr-exc-3.exp (do_test): Use
8968         gdb_continue_to_breakpoint instead of gdb_test_multiple.
8969
8970 2015-09-14  Pedro Alves  <palves@redhat.com>
8971
8972         * gdb.base/hook-stop-continue.c: Delete.
8973         * gdb.base/hook-stop-continue.exp: Delete.
8974         * gdb.base/hook-stop-frame.c: Delete.
8975         * gdb.base/hook-stop-frame.exp: Delete.
8976         * gdb.base/hook-stop.c: New file.
8977         * gdb.base/hook-stop.exp: New file.
8978
8979 2015-09-14  Pierre-Marie de Rodat  <derodat@adacore.com>
8980
8981         * gdb.ada/access_to_packed_array.exp: New testcase.
8982         * gdb.ada/access_to_packed_array/foo.adb: New file.
8983         * gdb.ada/access_to_packed_array/pack.adb: New file.
8984         * gdb.ada/access_to_packed_array/pack.ads: New file.
8985
8986 2015-09-14  Markus Metzger  <markus.t.metzger@intel.com>
8987
8988         * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
8989         buffer size test.
8990
8991 2015-09-11  Don Breazeal  <donb@codesourcery.com>
8992
8993         * gdb.base/foll-exec.c: Add copyright header.  Fix
8994         formatting issues.
8995         * gdb.base/foll-exec.exp (zap_session): Delete proc.
8996         (do_exec_tests): Use clean_restart in place of zap_session,
8997         and for test initialization.  Fix formatting issues.  Use
8998         fail in place of perror.
8999         * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
9000         an expect statement to match an expression with output from
9001         the program under debug.
9002         * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
9003         non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
9004         * gdb.threads/non-ldr-exc-2.exp: Likewise.
9005         * gdb.threads/non-ldr-exc-3.exp: Likewise.
9006         * gdb.threads/non-ldr-exc-4.exp: Likewise.
9007
9008 2015-09-09  Doug Evans  <dje@google.com>
9009
9010         * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
9011
9012 2015-09-09  Doug Evans  <dje@google.com>
9013
9014         * gdb.base/pie-execl.exp: Fix result test of build_executable.
9015
9016 2015-09-09  Doug Evans  <dje@google.com>
9017
9018         * gdb.base/savedregs.exp: Fix typo.
9019
9020 2015-09-09  Pedro Alves  <palves@redhat.com>
9021
9022         * gdb.mi/mi-cli.exp: Add CLI finish tests.
9023
9024 2015-09-08  Sandra Loosemore  <sandra@codesourcery.com>
9025
9026         * gdb.threads/hand-call-in-threads.exp: Make sure the thread
9027         command actually switches threads.  Give up on remaining
9028         tests if target fails to stop at breakpoint.
9029
9030 2015-09-03  Pierre-Marie de Rodat  <derodat@adacore.com>
9031
9032         * gdb.ada/funcall_char.exp: New testcase.
9033         * gdb.ada/funcall_char/foo.adb: New file.
9034
9035 2015-09-01  Pierre-Marie de Rodat  <derodat@adacore.com>
9036
9037         * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
9038         expected outputs.  Add two testcases for completing ambiguous
9039         functions.
9040         * gdb.ada/complete/aux_pck.adb: New file.
9041         * gdb.ada/complete/aux_pck.ads: New file.
9042         * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
9043         Ambiguous_Func functions.
9044         * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
9045         * gdb.ada/complete/pck.adb: Likewise.
9046
9047 2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
9048
9049         * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
9050         failures to run the test program under GDB.
9051
9052 2015-08-26  Luis Machado  <lgustavo@codesourcery.com>
9053
9054         * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
9055         to C.
9056
9057 2015-08-26  Patrick Palka  <patrick@parcs.ath.cx>
9058
9059         * gdb.base/run-after-attach.exp: New test file.
9060         * gdb.base/run-after-attach.c: New test file.
9061
9062 2015-08-26  Don Breazeal  <donb@codesourcery.com>
9063
9064         * gdb.base/foll-exec-2.c: New test program.
9065         * gdb.base/foll-exec-2.exp: New test.
9066
9067 2015-08-25  Pierre-Marie de Rodat  <derodat@adacore.com>
9068
9069         * gdb.base/nested-subp1.exp: New file.
9070         * gdb.base/nested-subp1.c: New file.
9071         * gdb.base/nested-subp2.exp: New file.
9072         * gdb.base/nested-subp2.c: New file.
9073         * gdb.base/nested-subp3.exp: New file.
9074         * gdb.base/nested-subp3.c: New file.
9075
9076 2015-08-24  Pedro Alves  <palves@redhat.com>
9077
9078         * gdb.server/connect-without-multi-process.c: New file.
9079         * gdb.server/connect-without-multi-process.exp: New file.
9080
9081 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9082
9083         * gdb.opt/inline-markers.c: Make z int.
9084
9085 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9086
9087         * gdb.opt/inline-markers.c: Make z volatile.
9088
9089 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9090
9091         * gdb.opt/inline-bt.c: New volatile global z.
9092         * gdb.opt/inline-cmds.c: Likewise.
9093         * gdb.opt/inline-locals.c: Likewise.
9094         * gdb.opt/inline-markers.c: New extern global z.
9095         (marker): Use z.
9096         (inline_fn): Likewise.
9097
9098 2015-08-24  Pedro Alves  <palves@redhat.com>
9099
9100         * config/m32r-stub.exp: Remove file.
9101         * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9102         * gdb.base/call-rt-st.exp: Likewise.
9103         * gdb.base/call-strs.exp: Likewise.
9104         * gdb.base/default.exp: Remove references to h8300-*-hms and
9105         *-*-udi*.
9106         * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9107
9108 2015-08-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9109
9110         * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9111         -Wno-psabi" if "-mcpu=native" fails.  For the tests with "finish"
9112         and "return" use KFAIL when GDB can not read/write the vector
9113         return value.
9114
9115 2015-08-21  Gary Benson <gbenson@redhat.com>
9116
9117         * gdb.trace/pending.exp: Cope with remote transfer warnings.
9118
9119 2015-08-20  Pedro Alves  <palves@redhat.com>
9120
9121         * gdb.server/solib-list.exp: No longer expect an interior stop in
9122         non-stop mode.
9123
9124 2015-08-20  Pedro Alves  <palves@redhat.com>
9125
9126         * gdb.server/connect-stopped-target.c: New file.
9127         * gdb.server/connect-stopped-target.exp: New file.
9128
9129 2015-08-20  Pedro Alves  <palves@redhat.com>
9130
9131         * gdb.dwarf2/comp-unit-lang.exp: New file.
9132         * gdb.dwarf2/comp-unit-lang.c: New file.
9133
9134 2015-08-20  Pierre-Marie de Rodat  <derodat@adacore.com>
9135
9136         * gdb.ada/attr_ref_and_charlit.exp: New testcase.
9137         * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
9138
9139 2015-08-19  Kevin Buettner  <kevinb@redhat.com>
9140
9141         * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
9142         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
9143
9144 2015-08-18  Doug Evans  <dje@google.com>
9145             Adrian Sendroiu <adrian.sendroiu@freescale.com>
9146
9147         * lib/gdb.exp (skip_python_tests_prompt): Renamed from
9148         skip_python_tests.  New arg prompt_regexp.
9149         (skip_python_tests): New function.
9150         * lib/mi-support.exp (mi_skip_python_tests): New function.
9151         * gdb.python/py-mi-objfile-gdb.py: New file.
9152         * gdb.python/py-mi-objfile.c: New file.
9153         * gdb.python/py-mi-objfile.exp: New file.
9154
9155 2015-08-17  Keith Seitz  <keiths@redhat.com>
9156
9157         * gdb.linespec/explicit.exp: Move strace test from here ...
9158         * gdb.trace/strace.exp: ... to here.
9159
9160 2015-08-15  Patrick Palka  <patrick@parcs.ath.cx>
9161
9162         * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
9163         * gdb.base/kill-detach-inferiors-cmd.c: New test file.
9164
9165 2015-08-14  Doug Evans  <xdje42@gmail.com>
9166
9167         * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
9168         inferior before selecting a new file.
9169
9170 2015-08-14  Doug Evans  <xdje42@gmail.com>
9171
9172         * gdb.mi/mi-disassemble.exp: Update.
9173         * gdb.base/disasm-optim.S: New file.
9174         * gdb.base/disasm-optim.c: New file.
9175         * gdb.base/disasm-optim.h: New file.
9176         * gdb.base/disasm-optim.exp: New file.
9177
9178 2015-08-14  Keith Seitz  <keiths@redhat.com>
9179
9180         * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
9181         "evaluated-by".
9182
9183 2015-08-13  Joel Brobecker  <brobecker@adacore.com>
9184
9185         * gdb.base/dso2dso.exp: Improve the testcase's documentation.
9186
9187 2015-08-13  Pierre-Marie de Rodat  <derodat@adacore.com>
9188
9189         * gdb.ada/fun_renaming.exp: New testcase.
9190         * gdb.ada/fun_renaming/fun_renaming.adb: New file.
9191         * gdb.ada/fun_renaming/pack.adb: New file.
9192         * gdb.ada/fun_renaming/pack.ads: New file.
9193
9194 2015-08-12  Keith Seitz  <keiths@redhat.com>
9195
9196         * gdb.base/dso2dso.exp: Pass basename of source file in call to
9197         gdb_get_line_number.
9198
9199 2015-08-12  Joel Brobecker  <brobecker@adacore.com>
9200
9201         * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
9202         gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
9203         gdb.base/dso2dso.exp: New files.
9204
9205 2015-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
9206             Pedro Alves  <palves@redhat.com>
9207             Keith Seitz  <keiths@redhat.com>
9208
9209         * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
9210         GDBFLAGS.
9211
9212 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9213
9214         * gdb.base/gdbhistsize-history.exp
9215         (test_histsize_history_setting): Use save_vars.
9216         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9217         Use save_vars.
9218         (test_no_truncation_of_unlimited_history_file): Use save_vars.
9219         * gdb.base/readline.exp: Use save_vars.
9220
9221 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9222
9223         * lib/gdb.exp (save_vars): New proc.
9224
9225 2015-08-11  Keith Seitz  <keiths@redhat.com>
9226
9227         * gdb.base/help.exp: Update help_breakpoint_text.
9228
9229 2015-08-11  Keith Seitz  <keiths@redhat.com>
9230
9231         * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
9232         (at toplevel): Call test_explicit_breakpoints.
9233         * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
9234         breakpoints.
9235         * lib/mi-support.exp (mi_make_breakpoint): Add support for
9236         breakpoint conditions, "-cond".
9237
9238 2015-08-11  Keith Seitz  <keiths@redhat.com>
9239
9240         * gdb.linespec/3explicit.c: New file.
9241         * gdb.linespec/cpexplicit.cc: New file.
9242         * gdb.linespec/cpexplicit.exp: New file.
9243         * gdb.linespec/explicit.c: New file.
9244         * gdb.linespec/explicit.exp: New file.
9245         * gdb.linespec/explicit2.c: New file.
9246         * gdb.linespec/ls-errs.exp: Add explicit location tests.
9247         * lib/gdb.exp (capture_command_output): Regexp-escape `command'
9248         before using in the matching pattern.
9249         Clarify that `prefix' is a regular expression.
9250
9251 2015-08-11  Keith Seitz  <keiths@redhat.com>
9252
9253         * gdb.base/dprintf-pending.exp: Update dprintf "without format"
9254         test.
9255         Add tests for missing ",FMT" and ",".
9256
9257 2015-08-10  Doug Evans  <dje@google.com>
9258             Keith Seitz  <keiths@redhat.com>
9259
9260         PR gdb/17960
9261         * gdb.base/completion.exp: Add location completer tests.
9262
9263 2015-08-07  Pedro Alves  <palves@redhat.com>
9264
9265         * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
9266         tests here.
9267         (top level): Run do_test with and without displaced stepping.
9268
9269 2015-08-07  Pedro Alves  <palves@redhat.com>
9270
9271         * gdb.base/valgrind-disp-step.c: New file.
9272         * gdb.base/valgrind-disp-step.exp: New file.
9273
9274 2015-08-07  Pedro Alves  <palves@redhat.com>
9275
9276         * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
9277         Delete function.
9278         (main): Add alarm.  Run an infinite loop instead of calling
9279         wait_threads.
9280         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
9281         comment.
9282         * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
9283         Delete function.
9284         (main): Add alarm.  Run an infinite loop instead of calling
9285         wait_threads.
9286         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
9287         comment.
9288
9289 2015-08-07  Pedro Alves  <palves@redhat.com>
9290
9291         * gdb.base/checkpoint-ns.exp: New file.
9292         * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
9293         standard_testfile.
9294
9295 2015-08-07  Markus Metzger  <markus.t.metzger@intel.com>
9296
9297         * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
9298         * gdb.btrace/instruction_history.exp: Update.
9299         * gdb.btrace/tsx.exp: New.
9300         * gdb.btrace/tsx.c: New.
9301
9302 2015-08-06  Pedro Alves <palves@redhat.com>
9303
9304         * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
9305         increase timeout.
9306         * gdb.reverse/until-precsave.exp: Bump timeouts.
9307
9308 2015-08-06  Pedro Alves  <palves@redhat.com>
9309
9310         * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
9311
9312 2015-08-06  Pedro Alves  <palves@redhat.com>
9313
9314         PR gdb/18749
9315         * gdb.threads/process-dies-while-handling-bp.c: New file.
9316         * gdb.threads/process-dies-while-handling-bp.exp: New file.
9317
9318 2015-08-06  Pedro Alves  <palves@redhat.com>
9319
9320         * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
9321         * gdb.threads/forking-threads-plus-breakpoint.c: New file.
9322
9323 2015-08-05  Pedro Alves  <palves@redhat.com>
9324
9325         * gdb.threads/next-while-other-thread-longjmps.c: New file.
9326         * gdb.threads/next-while-other-thread-longjmps.exp: New file.
9327
9328 2015-08-03  Sandra Loosemore  <sandra@codesourcery.com>
9329
9330         * gdb.base/bp-permanent.exp: Report test as unsupported if
9331         the target cannot stop at the permanent breakpoint.
9332
9333 2015-08-03  Doug Evans  <dje@google.com>
9334
9335         * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
9336         10000.
9337
9338 2015-08-03  Doug Evans  <dje@google.com>
9339
9340         * Makefile.in (workers/%.worker, build-perf): New rule.
9341         (GDB_PERFTEST_MODE): New variable.
9342         (check-perf): Use it.
9343         (clean): Clean up gdb.perf parallel build subdirs.
9344         * lib/build-piece.exp: New file.
9345         * lib/gdb.exp (make_gdb_parallel_path): New function
9346         (standard_output_file, standard_temp_file): Call it.
9347         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9348         of $GDB_PARALLEL.
9349         * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
9350
9351 2015-08-03  Doug Evans  <dje@google.com>
9352
9353         * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
9354         (LOG_FILE_NAME): New global.
9355         (TextReporter.__init__): Initialize self.txt_sum.
9356         (TextReporter.report): Add support for multiple data-points.
9357         Move report to perftest.sum, put raw data in perftest.log.
9358         (TextReporter.start): Open sum and log files.
9359         (TextReporter.end): Close sum and log files.
9360         * gdb.perf/lib/perftest/testresult.py
9361         (SingleStatisticTestResult.record): Handle multiple data-points.
9362
9363 2015-07-31  Pedro Alves  <palves@redhat.com>
9364
9365         * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
9366         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9367         kill_wait_spawned_process instead of explicit "kill -9".
9368         * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
9369         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9370         kill_wait_spawned_process.
9371         * gdb.base/attach-twice.exp: Likewise.
9372         * gdb.base/attach.exp: Likewise.
9373         (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
9374         gdb_test_multiple.
9375         * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
9376         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9377         kill_wait_spawned_process.
9378         * gdb.base/valgrind-infcall.exp: Likewise.
9379         * gdb.multi/multi-attach.exp: Likewise.
9380         * gdb.python/py-prompt.exp: Likewise.
9381         * gdb.python/py-sync-interp.exp: Likewise.
9382         * gdb.server/ext-attach.exp: Likewise.
9383         * gdb.threads/attach-into-signal.exp (corefunc): Use
9384         spawn_wait_for_attach, spawn_id_get_pid and
9385         kill_wait_spawned_process.
9386         * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
9387         spawn_wait_for_attach returning a spawn id instead of a pid.  Use
9388         spawn_id_get_pid and kill_wait_spawned_process.
9389         * gdb.threads/attach-stopped.exp (corefunc): Use
9390         spawn_wait_for_attach, spawn_id_get_pid and
9391         kill_wait_spawned_process.
9392         * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
9393         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9394         kill_wait_spawned_process instead of explicit "kill -9".
9395         * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
9396         (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
9397         (spawn_wait_for_attach): Use spawn instead of exec to spawn
9398         processes.  Don't map cygwin/windows pids here.  Now returns a
9399         spawn id list.
9400
9401 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9402
9403         * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
9404         4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
9405         correct patch.
9406
9407 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9408
9409         * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9410
9411 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9412
9413         Reapply:
9414         2014-05-21  Mark Wielaard  <mjw@redhat.com>
9415
9416         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9417
9418 2015-07-30  Pedro Alves  <palves@redhat.com>
9419
9420         * linux-low.c (handle_extended_wait): Set the child's last
9421         reported status to TARGET_WAITKIND_STOPPED.
9422
9423 2015-07-30  Pedro Alves  <palves@redhat.com>
9424
9425         PR threads/18600
9426         * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9427         only shows inferior 1.
9428
9429 2015-07-30  Simon Marchi  <simon.marchi@ericsson.com>
9430             Pedro Alves  <palves@redhat.com>
9431
9432         PR threads/18600
9433         * gdb.threads/fork-plus-threads.c: New file.
9434         * gdb.threads/fork-plus-threads.exp: New file.
9435
9436 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9437
9438         * gdb.base/batch-preserve-term-settings.exp
9439         (test_terminal_settings_preserved_after_cli_exit): Use
9440         send_quit_command.
9441
9442 2015-07-29  Pedro Alves  <palves@redhat.com>
9443             Don Breazeal  <donb@codesourcery.com>
9444
9445         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9446         output from both inferior_spawn_id and gdb_spawn_id.
9447
9448 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9449
9450         * gdb.threads/attach-into-signal.exp (corefunc): Use
9451         with_test_prefix on nested loops, uniquefying the test messages.
9452
9453 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9454
9455         * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9456         commit.
9457
9458 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9459
9460         * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9461         New proc.
9462         (test_terminal_settings_preserved_after_sigterm): New test.
9463
9464 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9465
9466         * gdb.base/batch-preserve-term-settings.exp
9467         (test_terminal_settings_preserved_after_cli_exit): New test.
9468
9469 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9470
9471         * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9472         manipulation of saved_gdbflags.
9473         (test_terminal_settings_preserved): Remove global declaration of
9474         the unused variable pagination_prompt.  Remove manipulation of
9475         saved_gdbflags.  Use a local variable EXTRA_GDBFLAGS instead of
9476         GDBFLAGS.
9477
9478 2015-07-29  Pedro Alves  <palves@redhat.com>
9479
9480         * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9481
9482 2015-07-29  Pedro Alves  <palves@redhat.com>
9483
9484         * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9485         at the top.
9486
9487 2015-07-29  Pedro Alves  <palves@redhat.com>
9488
9489         * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9490         (main): Call gdb_unbuffer_output.
9491         * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9492         (main): Call gdb_unbuffer_output.
9493         * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9494         (main): Call gdb_unbuffer_output.
9495         * gdb.base/call-strs.exp: Adjust to step over the
9496         gdb_unbuffer_output call.
9497         * gdb.base/catch-gdb-caused-signals.c: Include
9498         "../lib/unbuffer_output.c".
9499         (main): Call gdb_unbuffer_output.
9500         * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
9501         (main): Call gdb_unbuffer_output.
9502         * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
9503         (main): Call gdb_unbuffer_output.
9504         * gdb.base/run.c: Include "../lib/unbuffer_output.c".
9505         (main): Call gdb_unbuffer_output.
9506         * gdb.base/shlib-call.exp: Adjust to step over the
9507         gdb_unbuffer_output call.
9508         * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9509         (main): Call gdb_unbuffer_output.
9510         * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9511         (main): Call gdb_unbuffer_output.
9512         * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9513         (main): Rename to ...
9514         (test): ... this.
9515         (main): Reimplement.
9516         * gdb.base/varargs.exp: Run to test instead of to main.
9517         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9518         (main): Call gdb_unbuffer_output.
9519
9520 2015-07-29  Pedro Alves  <palves@redhat.com>
9521
9522         * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9523         factore out from mi_continue_dprintf.  For call-style dprintfs,
9524         expect dprintf output out of $inferior_spawn_id.
9525         (mi_continue_dprintf): Use mi_expect_dprintf.
9526         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9527         (main): Call gdb_unbuffer_output.
9528
9529 2015-07-29  Pedro Alves  <palves@redhat.com>
9530
9531         * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9532         (default_mi_gdb_start): Set inferior_spawn_id instead of
9533         mi_inferior_spawn_id.  If $inferior_spawn_id is not set, set it to
9534         gdb_spawn_id.
9535         (mi_gdb_test): Always expect inferior output from both
9536         $inferior_spawn_id and $gdb_spawn_id.
9537
9538 2015-07-29  Pedro Alves  <palves@redhat.com>
9539
9540         * gdb.gdb/selftest.exp (test_with_self): Update comment.  Use
9541         send_inferior and $inferior_spawn_id.
9542
9543 2015-07-29  Pedro Alves  <palves@redhat.com>
9544
9545         * gdb.gdb/complaints.exp (test_initial_complaints)
9546         (test_serial_complaints, test_short_complaints): Use
9547         gdb_test_stdio.
9548         (test_empty_complaint): Handle $inferior_spawn_id !=
9549         $gdb_spawn_id.
9550
9551 2015-07-29  Pedro Alves  <palves@redhat.com>
9552
9553         * gdb.base/varargs.exp: Use gdb_test_stdio.
9554
9555 2015-07-29  Pedro Alves  <palves@redhat.com>
9556
9557         * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9558
9559 2015-07-29  Pedro Alves  <palves@redhat.com>
9560
9561         * gdb.base/ending-run.exp: Use gdb_test_stdio.
9562
9563 2015-07-29  Pedro Alves  <palves@redhat.com>
9564
9565         * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9566         parameter into two new parameters, "inf_result" and "gdb_result".
9567         Expect inferior output and gdb output from $inferior_spawn_id and
9568         $gdb_spawn_id, respectively.  Adjust all callers.
9569
9570 2015-07-29  Pedro Alves  <palves@redhat.com>
9571
9572         * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9573         of gdb_test_sequence.
9574
9575 2015-07-29  Pedro Alves  <palves@redhat.com>
9576
9577         * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9578         (saw_spurious_output): Expect inferior output from
9579         $inferior_spawn_id.  Use gdb_test_stdio.
9580
9581 2015-07-29  Pedro Alves  <palves@redhat.com>
9582
9583         * gdb.base/dprintf.exp: Use standard_testfile.  Change
9584         prepare_for_testing call.
9585         (srcfile): Don't set.
9586         (restart): New procedure.
9587         (test_dprintf): New procecure, use to continue over dprintfs.
9588         (test_call, test_agent): New procedures, tests moved here.
9589         Restart gdb and recreate dprintfs.  Adjust expected output.
9590
9591 2015-07-29  Pedro Alves  <palves@redhat.com>
9592
9593         * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9594
9595 2015-07-29  Pedro Alves  <palves@redhat.com>
9596
9597         * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9598
9599 2015-07-29  Pedro Alves  <palves@redhat.com>
9600
9601         * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9602         gdb_test_stdio.
9603
9604 2015-07-29  Pedro Alves  <palves@redhat.com>
9605
9606         * lib/gdb.exp (gdb_test_stdio): New procedure.
9607
9608 2015-07-29  Pedro Alves  <palves@redhat.com>
9609
9610         * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9611
9612 2015-07-29  Pedro Alves  <palves@redhat.com>
9613
9614         * gdb.base/call-signal-resume.exp: Remove check for
9615         gdb,noinferiorio.  Don't expect "no signal".  Use gdb_test.
9616         * gdb.base/unwindonsignal.exp: Likewise.
9617         * gdb.base/call-signals.c (gen_signal): Remove printf call.
9618         * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9619
9620 2015-07-29  Pedro Alves  <palves@redhat.com>
9621
9622         * gdb.base/siginfo-addr.c (pass): New function.
9623         (handler): Call it iff si_addr is correct.
9624         * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9625         Set a breakpoint at "pass" and continue to it.
9626
9627 2015-07-28  Sergio Durigan Junior  <sergiodj@redhat.com>
9628
9629         * gdb.python/py-objfile.exp: Make some tests have unique names.
9630         * gdb.python/py-pp-registration.exp: Likewise.
9631
9632 2015-07-28  Pedro Alves  <palves@redhat.com>
9633
9634         * gdb.server/server-exec-info.exp: Issue a "disconnect".
9635
9636 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9637
9638         * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9639
9640 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9641
9642         * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9643
9644 2015-07-27  Patrick Palka  <patrick@parcs.ath.cx>
9645
9646         * gdb.base/gdb-sigterm-2.exp: New test.
9647
9648 2015-07-25  Doug Evans  <xdje42@gmail.com>
9649
9650         Revert:
9651         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9652         (workers/%.worker, build-perf): New rule.
9653         (GDB_PERFTEST_MODE): New variable.
9654         (check-perf): Use it.
9655         (clean): Clean up gdb.perf parallel build subdirs.
9656         * lib/build-piece.exp: New file.
9657         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9658         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9659         name.
9660         (standard_temp_file): Ditto.
9661         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9662         of $GDB_PARALLEL.
9663
9664 2015-07-24  Doug Evans  <dje@google.com>
9665
9666         * gdb.perf/lib/perftest/utils.py: New file.
9667         * gdb.perf/gm-hello.cc: New file.
9668         * gdb.perf/gm-pervasive-typedef.cc: New file.
9669         * gdb.perf/gm-pervasive-typedef.h: New file.
9670         * gdb.perf/gm-std.cc: New file.
9671         * gdb.perf/gm-std.h: New file.
9672         * gdb.perf/gm-use-cerr.cc: New file.
9673         * gdb.perf/gm-utils.h: New file.
9674         * gdb.perf/gmonster-null-lookup.py: New file.
9675         * gdb.perf/gmonster-pervasive-typedef.py: New file.
9676         * gdb.perf/gmonster-print-cerr.py: New file.
9677         * gdb.perf/gmonster-ptype-string.py: New file.
9678         * gdb.perf/gmonster-runto-main.py: New file.
9679         * gdb.perf/gmonster-select-file.py: New file.
9680         * gdb.perf/gmonster1-null-lookup.exp: New file.
9681         * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9682         * gdb.perf/gmonster1-print-cerr.exp: New file.
9683         * gdb.perf/gmonster1-ptype-string.exp: New file.
9684         * gdb.perf/gmonster1-runto-main.exp: New file.
9685         * gdb.perf/gmonster1-select-file.exp: New file.
9686         * gdb.perf/gmonster1.cc: New file.
9687         * gdb.perf/gmonster1.exp: New file.
9688         * gdb.perf/gmonster2-null-lookup.exp: New file.
9689         * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9690         * gdb.perf/gmonster2-print-cerr.exp: New file.
9691         * gdb.perf/gmonster2-ptype-string.exp: New file.
9692         * gdb.perf/gmonster2-runto-main.exp: New file.
9693         * gdb.perf/gmonster2-select-file.exp: New file.
9694         * gdb.perf/gmonster2.cc: New file.
9695         * gdb.perf/gmonster2.exp: New file.
9696
9697 2015-07-24  Doug Evans  <dje@google.com>
9698
9699         * gdb.perf/README: New file.
9700         * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9701         * lib/gen-perf-test.exp: New file.
9702
9703 2015-07-24  Doug Evans  <dje@google.com>
9704
9705         * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9706         (PerfTest::startup): New function.
9707         (PerfTest::run): Return result of calling body.
9708         (PerfTest::assemble): Rewrite.
9709         * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9710         * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9711         * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9712         * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9713         * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9714
9715 2015-07-24  Doug Evans  <dje@google.com>
9716
9717         * lib/gdb.exp (clean_restart): Make executable optional.
9718
9719 2015-07-24  Doug Evans  <dje@google.com>
9720
9721         * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9722         compiler_info references.
9723         * gdb.cp/temargs.exp: Ditto.
9724         * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9725         (get_compiler_info): Early exit if already computed.  Set compiler_info
9726         to "unknown" if there was a problem.
9727         (test_compiler_info): Add function comment.  Call get_compiler_info.
9728
9729 2015-07-24  Doug Evans  <dje@google.com>
9730
9731         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9732         (workers/%.worker, build-perf): New rule.
9733         (GDB_PERFTEST_MODE): New variable.
9734         (check-perf): Use it.
9735         (clean): Clean up gdb.perf parallel build subdirs.
9736         * lib/build-piece.exp: New file.
9737         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9738         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9739         name.
9740         (standard_temp_file): Ditto.
9741         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9742         of $GDB_PARALLEL.
9743
9744 2015-07-24  Doug Evans  <dje@google.com>
9745
9746         * lib/future.exp (gdb_default_target_compile): New option
9747         "early_flags".
9748         * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9749         --as-needed.
9750
9751 2015-07-24  Sergio Durigan Junior  <sergiodj@redhat.com>
9752
9753         * gdb.base/catch-syscall.exp: Call gdb_exit before
9754         gdb_skip_xml_test.
9755
9756 2015-07-24  Pedro Alves  <palves@redhat.com>
9757
9758         * gdb.python/py-events.exp: Accept output between the stop event
9759         and the prompt.
9760         * gdb.python/py-evsignal.exp: Likewise.
9761         * gdb.python/py-evthreads.exp: Likewise.
9762
9763 2015-07-24  Pedro Alves  <palves@redhat.com>
9764
9765         PR gdb/18717
9766         * gdb.threads/non-ldr-exit.c: New file.
9767         * gdb.threads/non-ldr-exit.exp: New file.
9768
9769 2015-07-24  Yao Qi  <yao.qi@linaro.org>
9770
9771         * gdb.server/ext-wrapper.exp: Test --wrapper option when
9772         restarting process.
9773
9774 2015-07-24  Yao Qi  <yao.qi@linaro.org>
9775
9776         * gdb.server/ext-restart.exp: New file.
9777
9778 2015-07-24  Yao Qi  <yao.qi@linaro.org>
9779
9780         * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9781         argument options.
9782         * gdb.server/ext-wrapper.exp: New file.
9783
9784 2015-07-23  Doug Evans  <dje@google.com>
9785
9786         * gdb.dwarf2/dw2-dummy-cu.S: New file.
9787         * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9788
9789 2015-07-23  Pierre-Marie de Rodat  <derodat@adacore.com>
9790
9791         * gdb.ada/var_arr_typedef.exp: New testcase.
9792         * gdb.ada/var_arr_typedef/pack.adb: New file.
9793         * gdb.ada/var_arr_typedef/pack.ads: New file.
9794         * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9795
9796 2015-07-20  Joel Brobecker  <brobecker@adacore.com>
9797
9798         * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9799
9800 2015-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
9801
9802         * gdb.arch/i386-biarch-core.exp: Replace istarget
9803         by "complete set gnutarget". Remove expectation for the "core-file"
9804         command.
9805
9806 2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9807
9808         Revert the previous commit:
9809         Tests for validate symbol file using build-id.
9810
9811 2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
9812
9813         Tests for validate symbol file using build-id.
9814         * gdb.base/solib-mismatch-lib.c: New file.
9815         * gdb.base/solib-mismatch-libmod.c: New file.
9816         * gdb.base/solib-mismatch.c: New file.
9817         * gdb.base/solib-mismatch.exp: New file.
9818
9819 2015-07-15  Sandra Loosemore  <sandra@codesourcery.com>
9820
9821         * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9822         nios2-*-linux*.
9823         * gdb.base/sigbpt.exp (stepi_out): Likewise.
9824         * gdb.base/siginfo.exp: Likewise.
9825         * gdb.base/sigstep.exp (advance, advancei): Likewise.
9826
9827 2015-07-15  Pierre Langlois  <pierre.langlois@arm.com>
9828
9829         * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9830         Move it to ...
9831         * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9832         ... here.
9833         * gdb.trace/range-stepping.exp: Check that the target supports
9834         range stepping.
9835
9836 2015-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
9837
9838         * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9839
9840 2015-07-14  Pedro Alves  <palves@redhat.com>
9841
9842         * gdb.base/killed-outside.exp: New file.
9843         * gdb.base/killed-outside.c: New file.
9844
9845 2015-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
9846
9847         * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9848         (n at main): New.
9849         * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9850
9851 2015-07-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9852
9853         * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9854         infcall tests instead of setting up for KFAIL.
9855
9856 2015-07-10  Markus Metzger  <markus.t.metzger@intel.com>
9857
9858         * gdb.btrace/record_goto-step.exp: New.
9859
9860 2015-07-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
9861
9862         PR compile/18484
9863         * gdb.compile/compile.c (struct struct_type): Add volatile to
9864         selffield's type.
9865         * gdb.compile/compile.exp
9866         (compile code struct_object.selffield = &struct_object): Skip further
9867         struct_object tests if this one xfails.
9868
9869 2015-07-08  Robert O'Callahan  <robert@ocallahan.org>
9870
9871         PR exp/18617
9872         * gdb.trace/ax.exp: Add test.
9873
9874 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9875
9876         * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9877         instead of istarget "aarch64*-*-*".
9878         * gdb.arch/aarch64-fp.exp: Likewise.
9879         * gdb.base/float.exp: Likewise.
9880         * gdb.reverse/aarch64.exp: Likewise.
9881         * lib/gdb.exp (is_aarch64_target): New proc.
9882
9883 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9884
9885         * lib/gdb.exp (is_aarch32_target): New proc.
9886         * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9887         instead of "istarget "arm*-*-*"".
9888         * gdb.arch/arm-disp-step.exp: Likewise.
9889         * gdb.arch/thumb-bx-pc.exp: Likewise.
9890         * gdb.arch/thumb-prologue.exp: Likewise.
9891         * gdb.arch/thumb-singlestep.exp: Likewise.
9892         * gdb.base/disp-step-syscall.exp: Likewise.
9893         * gdb.base/float.exp: Likewise.
9894
9895 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9896
9897         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9898         Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9899
9900 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9901
9902         * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9903         is aarch64.  If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9904         if it exists.
9905         * gdb.multi/multi-arch.exp: Likewise.
9906
9907 2015-07-07  Simon Marchi  <simon.marchi@ericsson.com>
9908
9909         * gdb.python/py-lazy-string.exp: Add missing parentheses to
9910         print.
9911
9912 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9913
9914         * gdb.arch/thumb-singlestep.exp: Do one more single step.
9915
9916 2015-06-30  Martin Galvan  <martin.galvan@tallertechnologies.com>
9917
9918         * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9919         '[' and ']' characters.
9920
9921 2015-06-30  Iain Buclaw  <ibuclaw@gdcproject.org>
9922
9923         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9924
9925 2015-06-29  Pedro Alves  <palves@redhat.com>
9926
9927         PR threads/18127
9928         * gdb.threads/hand-call-new-thread.c: New file.
9929         * gdb.threads/hand-call-new-thread.c: New file.
9930
9931 2015-06-26  Keith Seitz  <keiths@redhat.com>
9932             Doug Evans  <dje@google.com>
9933
9934         PR 16253
9935         * gdb.cp/var-tag-2.cc: New file.
9936         * gdb.cp/var-tag-3.cc: New file.
9937         * gdb.cp/var-tag-4.cc: New file.
9938         * gdb.cp/var-tag.cc: New file.
9939         * gdb.cp/var-tag.exp: New file.
9940
9941 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
9942
9943         * gdb.base/history-duplicates.exp: New test.
9944
9945 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
9946
9947         * gdb.base/completion.exp: Test the completion of the "focus"
9948         command.
9949
9950 2015-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
9951
9952         * gdb.arch/amd64-prologue-skip.S: New file.
9953         * gdb.arch/amd64-prologue-skip.exp: New file.
9954
9955 2015-06-25  Simon Marchi  <simon.marchi@ericsson.com>
9956
9957         * gdb.python/py-prettyprint.exp (run_lang_tests): Add
9958         is_address_zero_readable check.
9959
9960 2015-06-24  Peter Bergner  <bergner@vnet.ibm.com>
9961
9962         * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
9963         * gdb.arch/powerpc-power.s <rfebb>: Likewise.
9964
9965 2015-06-24  Yao Qi  <yao.qi@linaro.org>
9966
9967         * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
9968         linux targets.
9969
9970 2015-06-24  Yao Qi  <yao.qi@linaro.org>
9971
9972         * lib/gdb.exp (supports_get_siginfo_type): New proc.
9973         * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
9974         * gdb.base/siginfo-thread.exp: Likewise.
9975
9976 2015-06-22  Yao Qi  <yao.qi@linaro.org>
9977
9978         * boards/remote-gdbserver-on-localhost.exp: Add comments.
9979
9980 2015-06-22  Yao Qi  <yao.qi@linaro.org>
9981
9982         * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
9983         aarch64*-*-*.
9984         (skip_hw_watchpoint_tests): Likewise.
9985
9986 2015-06-18  Patrick Palka  <patrick@parcs.ath.cx>
9987
9988         * gdb.base/gdbinit-history.exp: Test the interaction between
9989         setting GDBHISTSIZE and setting the history size via .gdbinit.
9990
9991 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
9992
9993         PR gdb/16999
9994         * gdb.base/gdbhistsize-history.exp: New test.
9995
9996 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
9997
9998         * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9999         with GDBHISTSIZE.
10000         * gdb.base/readline.exp: Likewise.
10001
10002 2015-06-17  Yao Qi  <yao.qi@linaro.org>
10003
10004         * lib/gdb.exp (get_build_id): Move braces and "else" to the same
10005         line.
10006
10007 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10008
10009         * gdb.base/gdbinit-history.exp: Add test case to check that
10010         an unlimited history file does not get truncated on exit.
10011
10012 2015-06-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10013
10014         * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
10015         (VECTOR): New macro.  Use it...
10016         (int4, uint4, char4, float4, int2, longlong2, float2, double2):
10017         ...for these typedefs.
10018         (int8, char1, int1, double1): New typedefs.
10019         (struct just_int2, struct two_int2): New structures.
10020         (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
10021         (add_structvecs, add_singlevecs): New functions.
10022         (main): Call add_some_intvecs twice.
10023         * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
10024         the compile and exit upon failure.  Try compiling for the "native"
10025         architecture.  Test inferior function calls with vector arguments
10026         and vector return value handling with "finish" and "return".
10027
10028 2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
10029
10030         * gdb.base/sepdebug.exp: Add EXEEXT where needed.
10031         * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
10032         PE file.
10033         * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
10034
10035 2015-06-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10036
10037         PR breakpoints/16465
10038         * gdb.mi/mi-dprintf-pending.c: New file.
10039         * gdb.mi/mi-dprintf-pending.exp: New test.
10040         * gdb.mi/mi-dprintf-pendshr.c: New file.
10041
10042 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10043             Mircea Gherzan  <mircea.gherzan@intel.com>
10044
10045         * gdb.arch/i386-mpx-map.c: New file.
10046         * gdb.arch/i386-mpx-map.exp: New File.
10047
10048 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10049
10050         * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
10051         * gdb.arch/i386-mpx.exp: Indentation fixed.
10052
10053 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10054
10055         * gdb.arch/i386-mpx.c: Added final return to the have_mpx
10056         function and improved indentation.
10057         * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
10058         gdb_test_multiple. Added additional tests to skip the test.
10059
10060 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10061
10062         * gdb.arch/i386-avx512.c: Change path in include file.
10063         * gdb.arch/i386-avx512.exp: Change include dir path
10064         compilation flag.
10065         * gdb.arch/i386-mpx.c: Change path in include file.
10066         * gdb.arch/i386-mpx.exp: Change include dir path compilation
10067         flag.
10068
10069 2015-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
10070
10071         * gdb.compile/compile-print.exp (compile print *vararray@3)
10072         (compile print *vararrayp@3): Change xfail to kfail compile/18489.
10073
10074 2015-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
10075
10076         * gdb.compile/compile.exp (keep jit in memory): Rename to ...
10077         (do not keep jit in memory): ... this.
10078         (expect 5): Change it to ...
10079         (expect no 5): ... this.
10080
10081 2015-06-02  Simon Marchi  <simon.marchi@ericsson.com>
10082
10083         PR gdb/15564
10084         * gdb.mi/mi-detach.exp: New file.
10085
10086 2015-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10087
10088         PR symtab/18392
10089         * gdb.arch/amd64-tailcall-self.S: New file.
10090         * gdb.arch/amd64-tailcall-self.c: New file.
10091         * gdb.arch/amd64-tailcall-self.exp: New file.
10092
10093 2015-05-28  Don Breazeal  <donb@codesourcery.com>
10094
10095         * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10096         tests for remote targets by checking is_target_gdbserver.
10097
10098 2015-05-27  Doug Evans  <dje@google.com>
10099
10100         * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10101         * gdb.dwarf2/opaque-type-lookup.c: New file.
10102         * gdb.dwarf2/opaque-type-lookup.exp: New file.
10103
10104 2015-05-26  Doug Evans  <dje@google.com>
10105
10106         * gdb.cp/iostream.cc: New file.
10107         * gdb.cp/iostream.exp: New file.
10108
10109 2015-05-26  Doug Evans  <dje@google.com>
10110
10111         * gdb.dwarf2/dw2-op-call.exp: Update.
10112         * gdb.dwarf2/dw4-sig-types.exp: Update.
10113         * gdb.dwarf2/implptr.exp: Update.
10114         * gdb.mi/mi-cmd-param-changed.exp: Update.
10115
10116 2015-05-26  Doug Evans  <dje@google.com>
10117
10118         * gdb.python/py-lazy-string.c: New file.
10119         * gdb.python/py-lazy-string.exp: New file.
10120         * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
10121         (main): Update.  Add estring3.
10122         * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
10123         * gdb.python/py-prettyprint.py (pp_ls): Handle length.
10124
10125 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10126             Yao Qi  <yao.qi@linaro.org>
10127
10128         * gdb.reverse/aarch64.c: New.
10129         * gdb.reverse/aarch64.exp: New.
10130
10131 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10132
10133         * lib/gdb.exp (supports_process_record): Return true for
10134         aarch64*-linux*.
10135         (supports_reverse): Likewise.
10136
10137 2015-05-22  Patrick Palka  <patrick@parcs.ath.cx>
10138
10139         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10140         Use with_test_prefix.
10141
10142 2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
10143
10144         * gdb.base/completion.exp: Add test for completion of layout
10145         names.
10146
10147 2015-05-20  Andrew Burgess  <andrew.burgess@embecosm.com>
10148
10149         * lib/gdb.exp (skip_tui_tests): New proc.
10150         * gdb.base/tui-layout.exp: Check skip_tui_tests.
10151
10152 2015-05-19  Pedro Alves  <palves@redhat.com>
10153
10154         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10155         Save the whole env array instead of just HOME.  Unset HISTSIZE in
10156         the environment while testing.  Restore whole environment
10157         afterwards.
10158
10159 2015-05-16  Doug Evans  <xdje42@gmail.com>
10160
10161         * gdb.guile/scm-ports.c: New file.
10162         * gdb.guile/scm-ports.exp: Add memory port tests.
10163
10164 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10165
10166         * gdb.compile/compile-print.c: New file.
10167         * gdb.compile/compile-print.exp: New file.
10168
10169 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10170
10171         * gdb.compile/compile-ops.exp: Cast param to void.
10172         * gdb.compile/compile.exp: Complete type for _gdb_expr.
10173         (compile code struct_object.selffield = &struct_object): Add xfail.
10174
10175 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10176
10177         * gdb.ada/arr_enum_with_gap: New testcase.
10178
10179 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10180
10181         * gdb.ada/byte_packed_arr: New testcase.
10182
10183 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10184
10185         * gdb.ada/pckd_neg: New testcase.
10186
10187 2015-05-13  Patrick Palka  <patrick@parcs.ath.cx>
10188
10189         PR gdb/17820
10190         * gdb.base/gdbinit-history.exp: New test.
10191         * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
10192         * gdb.base/gdbinit-history/zero/.gdbinit: New file.
10193
10194 2015-05-09  Siva Chandra Reddy  <sivachandra@google.com>
10195
10196         * gdb.python/py-xmethods.cc: Enhance test case.
10197         * gdb.python/py-xmethods.exp: New tests.
10198         * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
10199         function.
10200         (B_indexoper): Likewise.
10201         (global_dm_list) : Add new xmethod worker functions.
10202
10203 2015-05-08  Sergio Durigan Junior  <sergiodj@redhat.com>
10204
10205         * gdb.base/coredump-filter.exp: Correctly unset
10206         "coredump_var_addr" array.
10207
10208 2015-05-08  Pedro Alves  <palves@redhat.com>
10209
10210         * gdb.server/non-existing-program.exp: Unset spawn_id.
10211
10212 2015-05-08  Siva Chandra Reddy  <sivachandra@google.com>
10213
10214         PR python/18291
10215         * gdb.python/py-xmethods.exp: Add tests.
10216
10217 2015-05-08  Yao Qi  <yao.qi@linaro.org>
10218
10219         PR gdb/18208
10220         * gdb.base/coredump-filter.c (set_coredump_filter): New function.
10221         * gdb.base/coredump-filter.exp (do_save_core): Call inferior
10222         function set_coredump_filter, and remove remote_exec call.
10223         Remove argument ipid.  Callers update.
10224         (top level): Don't get inferior's PID.
10225
10226 2015-05-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10227
10228         * gdb.base/watch_thread_num.exp: Skip test on targets without
10229         access watchpoints.
10230
10231 2015-05-06  Pedro Alves  <palves@redhat.com>
10232
10233         PR server/18081
10234         * gdb.server/non-existing-program.exp: New file.
10235
10236 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10237
10238         * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
10239
10240 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10241
10242         * gdb.ada/out_of_line_in_inlined: New testcase.
10243
10244 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10245
10246         * gdb.ada/var_rec_arr: New testcase.
10247
10248 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10249
10250         * gdb.base/break-idempotent.exp: If
10251         skip_hw_watchpoint_multi_tests returns true, skip the tests
10252         on "rwatch" and "awatch".
10253
10254 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10255
10256         * gdb.base/relativedebug.exp: Invoke gdb command
10257         "info sharedlibrary", and if libc.so doesn't have debug info,
10258         skip the test.
10259
10260 2015-04-29  Doug Evans  <dje@google.com>
10261
10262         * gdb.python/py-xmethods.exp: Add ptype tests.
10263         * gdb.python/py-xmethods.py (E_method_char_worker): Add
10264         get_result_type method.
10265
10266 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10267
10268         * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
10269         the target does not support hardware watchpoints.
10270
10271 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10272
10273         * gdb.base/break-always.exp: Abort testing if writing to memory
10274         causes an error.
10275
10276 2015-04-28  Doug Evans  <dje@google.com>
10277
10278         * gdb.python/py-pp-maint.py: Move "replace" testing to ...
10279         * gdb.python/py-pp-registration.exp: ... here.  New file.
10280         * gdb.python/py-pp-registration.c: New file.
10281         * gdb.python/py-pp-registration.py: New file.
10282
10283 2015-04-28  Doug Evans  <dje@google.com>
10284
10285         * gdb.python/py-bad-printers.c: New file.
10286         * gdb.python/py-bad-printers.py: New file.
10287         * gdb.python/py-bad-printers.exp: New file.
10288
10289 2015-04-28  Sasha Smundak  <asmundak@google.com>
10290
10291         * gdb.python/py-type.exp: New test.
10292
10293 2015-04-28  Andy Wingo  <wingo@igalia.com>
10294
10295         * gdb.python/py-parameter.exp:
10296         * gdb.guile/scm-parameter.exp: Escape the path that we are
10297         matching against, as it might contain characters that are special
10298         to regular expressions.
10299
10300 2015-04-27  Joel Brobecker  <brobecker@adacore.com>
10301
10302         * gdb.ada/rec_comp: New testcase.
10303
10304 2015-04-26  Sergio Durigan Junior  <sergiodj@redhat.com>
10305
10306         * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
10307         before using it.
10308
10309 2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
10310
10311         * gdb.base/dump.exp: Add *.verilog files to all_files list.  Add
10312         new tests for verilog output.
10313
10314 2015-04-24  Yao Qi  <yao.qi@linaro.org>
10315
10316         * boards/remote-gdbserver-on-localhost.exp: New file.
10317
10318 2015-04-23  Pedro Alves  <palves@redhat.com>
10319
10320         * gdb.base/interrupt.exp: Use an indirect spawn id list holding
10321         $inferior_spawn_id instead of $inferior_spawn_id directly.  On
10322         "end of file", remove $inferior_spawn_id from the indirect list.
10323
10324 2015-04-23  Pedro Alves  <palves@redhat.com>
10325
10326         * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
10327
10328 2015-04-23  Pedro Alves  <palves@redhat.com>
10329
10330         * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
10331         on $any_spawn_id instead of only on $gdb_spawn_id.
10332
10333 2015-04-21  Pierre Muller  <muller@sourceware.org>
10334
10335         PR pascal/17815
10336         * lib/pascal.exp (gpc_compile): Add new option "class".
10337         (fpc_compile): Likewise.
10338         * gdb.pascal/case-insensitive-symbols.pas: New file.
10339         * gdb.pascal/case-insensitive-symbols.exp: New file.
10340
10341 2015-04-20  Gary Benson <gbenson@redhat.com>
10342
10343         * gdb.base/attach.exp: Fix three extended remote failures.
10344
10345 2015-04-17  Gary Benson <gbenson@redhat.com>
10346
10347         * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
10348         the main executable over the remote protocol.
10349
10350 2015-04-16  Pedro Alves  <palves@redhat.com>
10351
10352         * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
10353         a new gdbserver if gdbserver_reconnect_p is set.
10354
10355 2015-04-16  Pedro Alves  <palves@redhat.com>
10356
10357         * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
10358         is set, don't exit gdbserver.
10359
10360 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10361
10362         * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
10363         appropriate .insn, such that an older assembler can be used.
10364         * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
10365         the z/Architecture instruction set on 31-bit targets as well.
10366
10367 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10368
10369         * gdb.go/handcall.exp: Remove all logic related to the first
10370         breakpoint and rely on go_runto_main instead.
10371         * gdb.go/strings.exp: Likewise.
10372         * gdb.go/unsafe.exp: Likewise.
10373         * gdb.go/hello.exp: Likewise.  Also rename the remaining
10374         breakpoint marker to "breakpoint 1".
10375         * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
10376         * gdb.go/strings.go: Likewise.
10377         * gdb.go/unsafe.go: Likewise.
10378         * gdb.go/hello.go: Likewise.  Also remove the second occurrence of
10379         "set breakpoint 2 here" and rename the remaining breakpoint marker
10380         to "breakpoint 1".
10381
10382 2015-04-15  Simon Marchi  <simon.marchi@ericsson.com>
10383
10384         * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
10385         if itertools.imap is not present.
10386         * gdb.python/py-objfile.exp: Add parentheses.
10387         * gdb.python/py-type.exp: Same.
10388         * gdb.python/py-unwind-maint.py: Same.
10389
10390 2015-04-15  Yao Qi  <yao.qi@linaro.org>
10391
10392         * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
10393         of ":$ptr_size" and set its form explicitly.
10394
10395 2015-04-15  Pedro Alves  <palves@redhat.com>
10396             Yao Qi  <yao.qi@linaro.org>
10397
10398         * gdb.base/watch-bitfields.exp (test_watch_location): Increase
10399         timeout by factor of 4.
10400         (test_regular_watch): Likewise.
10401         * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
10402         * gdb.reverse/sigall-reverse.exp: Likewise.
10403         * gdb.reverse/until-precsave.exp: Likewise.
10404         * lib/gdb.exp (with_timeout_factor): New proc.
10405         (gdb_expect): Move some code to ...
10406         (get_largest_timeout): ... here.  New procedure.
10407
10408 2015-04-14  Luis Machado  <lgustavo@codesourcery.com>
10409
10410         * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10411
10412 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10413
10414         * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10415         to write to the .text section.
10416
10417 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10418
10419         * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10420         Handle the case of targets that do not provide PID information.
10421
10422 2015-04-13  Yao Qi  <yao.qi@linaro.org>
10423
10424         * lib/gdbserver-support.exp (gdb_exit): Catch exception
10425         and use expect instead of gdb_expect.
10426
10427 2015-04-13  Sergio Durigan Junior  <sergiodj@redhat.com>
10428
10429         * gdb.base/coredump-filter.exp: Rename variable "addr" to
10430         "coredump_var_addr" to avoid naming conflict with other testcases.
10431
10432 2015-04-10  Pedro Alves  <palves@redhat.com>
10433
10434         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10435         gdb_test_sequence and gdb_assert.
10436
10437 2015-04-10  Pedro Alves  <palves@redhat.com>
10438
10439         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10440         test messages that don't include the breakpoint address.
10441
10442 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10443
10444         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10445         false for some offset and width combinations which aren't
10446         supported by linux kernel.
10447
10448 2015-04-10  Pedro Alves  <palves@redhat.com>
10449
10450         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10451         procedure, factored out from ...
10452         (top level): ... here.  Add "set displaced-stepping" testing axis.
10453         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10454         parameter "displaced".  Use it.
10455         (top level): Use foreach and add "set displaced-stepping" testing
10456         axis.
10457
10458 2015-04-10  Pedro Alves  <palves@redhat.com>
10459
10460         * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10461         Remove comment.
10462         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10463         both the address of the instruction that triggers the watchpoint
10464         and the address of the instruction immediately after, and use
10465         those addresses for the test.  Fix comment.
10466
10467 2015-04-10  Pedro Alves  <palves@redhat.com>
10468
10469         * gdb.base/sigstep.exp (breakpoint_to_handler)
10470         (breakpoint_to_handler_entry): New parameter 'displaced'.  Use it.
10471         Test "backtrace" in handler.
10472         (breakpoint_over_handler): New parameter 'displaced'.  Use it.
10473         (top level): Add new "displaced" test axis to
10474         breakpoint_to_handler, breakpoint_to_handler_entry and
10475         breakpoint_over_handler.
10476
10477 2015-04-10  Pedro Alves  <palves@redhat.com>
10478
10479         PR gdb/18216
10480         * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10481
10482 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10483
10484         * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10485         (test_add_rn_pc): New function.
10486         * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10487         (top level): Invoke test_add_rn_pc.
10488
10489 2015-04-10  Pedro Alves  <palves@redhat.com>
10490
10491         PR gdb/13858
10492         * gdb.base/step-over-no-symbols.exp: New file.
10493
10494 2015-04-09  Andy Wingo  <wingo@igalia.com>
10495
10496         * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
10497         after the Python tests.
10498
10499 2015-04-08  Keith Seitz  <keiths@redhat.com>
10500
10501         PR python/16699
10502         * gdb.python/py-completion.exp: New tests for completion.
10503         * gdb.python/py-completion.py (CompleteLimit1): New class.
10504         (CompleteLimit2): Likewise.
10505         (CompleteLimit3): Likewise.
10506         (CompleteLimit4): Likewise.
10507         (CompleteLimit5): Likewise.
10508         (CompleteLimit6): Likewise.
10509         (CompleteLimit7): Likewise.
10510
10511 2015-04-08  Pedro Alves  <palves@redhat.com>
10512
10513         PR gdb/18214
10514         PR gdb/18216
10515         * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10516         function.
10517         (main): Install it as SIGUSR1 handler.
10518         * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10519         parameter.  Always use "setup" as prefix.  Toggle "set
10520         displaced-stepping" off/on depending on global.  Don't switch to
10521         thread 1 here.
10522         (top level): Add displaced stepping "off/on" test axis.  Update
10523         "setup" calls.  Wrap each subtest with with_test_prefix.  Test
10524         continuing with a queued signal in each thread.
10525
10526 2015-04-08  Pedro Alves  <palves@redhat.com>
10527
10528         * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10529         * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd.  Use
10530         gdb_breakpoint instead of gdb_test that doesn't expect anything.
10531         Return early if running to main fails.
10532         * gdb.trace/while-stepping.exp: Likewise.
10533
10534 2015-04-07  Pedro Alves  <palves@redhat.com>
10535
10536         * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10537         $gdb_spawn_id.  Use send_inferior and $inferior_spawn_id to
10538         interact with inferior program.
10539
10540 2015-04-07  Pedro Alves  <palves@redhat.com>
10541
10542         * lib/gdb.exp (inferior_spawn_id): New global.
10543         (gdb_test_multiple): Handle "-i".  Reset the spawn id to GDB's
10544         spawn id after processing the user code.
10545         (default_gdb_start): Set inferior_spawn_id.
10546         (send_inferior): New procedure.
10547         * lib/gdbserver-support.exp (gdbserver_start): Set
10548         inferior_spawn_id.
10549         (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10550
10551 2015-04-07  Pedro Alves  <palves@redhat.com>
10552
10553         * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10554         * lib/gdbserver-support.exp (gdbserver_start): Make
10555         $server_spawn_id global.
10556         (gdbserver_start): Don't wait for gdbserver's spawn id with
10557         expect_background.
10558         (close_gdbserver): New procedure.
10559         (gdb_exit): Rename the default version and reimplement.
10560
10561 2015-04-07  Pedro Alves  <palves@redhat.com>
10562
10563         * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10564         append the substituted item, not the original item.
10565
10566 2015-04-07  Pedro Alves  <palves@redhat.com>
10567
10568         * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10569         gdb_expect.
10570
10571 2015-04-07  Pedro Alves  <palves@redhat.com>
10572
10573         * gdb.base/interrupt.exp: Don't handle the case of the inferior
10574         output appearing once only.
10575
10576 2015-04-07  Pedro Alves  <palves@redhat.com>
10577
10578         * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10579         that doesn't expect anything.  Return early if running to main
10580         fails.
10581
10582 2015-04-07  Yao Qi  <yao.qi@linaro.org>
10583
10584         * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10585         (child_function): Call alarm.
10586         (main): Move call to alarm into the loop.
10587         * gdb.threads/non-stop-fair-events.exp: Build program with
10588         -DTIMEOUT=$timeout.
10589
10590 2015-04-06  Doug Evans  <xdje42@gmail.com>
10591
10592         * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10593         Fix dest parameter to board_info.
10594         (fpc_compile): Ditto.
10595         (gdb_compile_pascal): Rename dest arg to destfile.
10596
10597 2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
10598
10599         * gdb.ada/funcall_ref.exp: New file.
10600         * gdb.ada/funcall_ref/foo.adb: New file.
10601
10602 2015-04-02  Yao Qi  <yao.qi@linaro.org>
10603
10604         * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10605         is remote.
10606
10607 2015-04-02  Gary Benson <gbenson@redhat.com>
10608
10609         * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10610
10611 2015-04-01  Sasha Smundak  <asmundak@google.com>
10612
10613         * gdb.python/py-unwind-maint.c: New file.
10614         * gdb.python/py-unwind-maint.exp: New test.
10615         * gdb.python/py-unwind-maint.py: New file.
10616         * gdb.python/py-unwind.c: New file.
10617         * gdb.python/py-unwind.exp: New test.
10618         * gdb.python/py-unwind.py: New test.
10619
10620 2015-04-01  Pedro Alves  <palves@redhat.com>
10621
10622         * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10623         to fail instead of non-existent $test.
10624
10625 2015-04-01  Pedro Alves  <palves@redhat.com>
10626
10627         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10628         GDBFLAGS if not empty.
10629
10630 2015-04-01  Pierre-Marie de Rodat  <derodat@adacore.com>
10631
10632         * gdb.ada/complete.exp: Remove "multi_line".
10633         * gdb.ada/info_exc.exp: Remove "multi_line".
10634         * gdb.ada/packed_tagged.exp: Remove "multi_line".
10635         * gdb.ada/ptype_field.exp: Remove "multi_line".
10636         * gdb.ada/sym_print_name.exp: Remove "multi_line".
10637         * gdb.ada/tagged.exp: Remove "multi_line".
10638         * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10639         [multi_line ...]
10640         * gdb.btrace/delta.exp: Likewise.
10641         * gdb.btrace/exception.exp: Likewise.
10642         * gdb.btrace/function_call_history.exp: Likewise.
10643         * gdb.btrace/instruction_history.exp: Likewise.
10644         * gdb.btrace/nohist.exp: Likewise.
10645         * gdb.btrace/record_goto.exp: Likewise.
10646         * gdb.btrace/segv.exp: Likewise.
10647         * gdb.btrace/stepi.exp: Likewise.
10648         * gdb.btrace/tailcall.exp: Likewise.
10649         * gdb.btrace/unknown_functions.exp: Likewise.
10650         * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10651         * lib/gdb.exp: Add the "multi_line" helper.
10652
10653 2015-04-01  Pedro Alves  <palves@redhat.com>
10654
10655         * gdb.threads/tid-reuse.c: New file.
10656         * gdb.threads/tid-reuse.exp: New file.
10657
10658 2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
10659
10660         PR corefiles/16092
10661         * gdb.base/coredump-filter.c: New file.
10662         * gdb.base/coredump-filter.exp: Likewise.
10663
10664 2015-03-27  Petr Machata  <pmachata@redhat.com>
10665
10666         * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10667         (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10668         (Dwarf::assemble): Initialize them.
10669         (Dwarf::lines): New function.
10670
10671 2015-03-26  Jon Turney  <jon.turney@dronecode.org.uk>
10672
10673         * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10674         SYMBOL_PREFIX for x86_64-*-cygwin.
10675
10676 2015-03-26  Andy Wingo  <wingo@igalia.com>
10677
10678         PR symtab/18148
10679         * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10680         const_value but not a location.
10681         * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10682         location defined in non-main CUs are visible.
10683
10684 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10685
10686         PR testsuite/18139
10687         * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10688         Add a line number entry for the same line.
10689         * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10690         Add a line number entry for the same line.
10691
10692 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10693
10694         * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10695         .int 0.
10696         (func): Likewise.  Add .Lfunc_1 label.
10697         Use .Lfunc_1 label.
10698         * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10699         .int 0.
10700         (func): Likewise.
10701         Use .Lfunc_1 label.
10702
10703 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10704
10705         * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10706         Call gdb_compile instead to compile each .s files without debug
10707         information.
10708
10709 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10710
10711         * gdb.base/savedregs.exp (process_saved_regs): Make
10712         "Saved registers:" optional in the pattern.
10713
10714 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
10715
10716         * gdb.btrace/next.exp: Merged into step.exp.
10717         * gdb.btrace/finish.exp: Merged into step.exp.
10718         * gdb.btrace/nexti.exp: Merged into stepi.exp.
10719         * gdb.btrace/step.exp: Use record_goto.c as test file.  Avoid using
10720         "record goto" and checking the exact replay position.
10721         * gdb.btrace/stepi.exp: Choose test file based on target.  Do not
10722         check for "Recording format" in "info record" output.
10723         * gdb.btrace/record_goto.exp: Choose test file based on target.
10724         * gdb.btrace/x86-record_goto.S: Renamed into ...
10725         * gdb.btrace/x86_64-record_goto.S: ... this.
10726         * gdb.btrace/i686-record_goto.S: New.
10727         * gdb.btrace/x86-tailcall.S: Renamed into ...
10728         * gdb.btrace/x86_64-tailcall.S: ... this.
10729         * gdb.btrace/i686-tailcall.S: New.
10730         * gdb.btrace/x86-tailcall.c: Renamed into ...
10731         * gdb.btrace/tailcall.c: ... this.  Split "return ++answer" into two
10732         separate statements.  Update test.
10733         * gdb.btrace/delta.exp: Use record_goto.c as test file.
10734         * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10735         * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10736         * gdb.btrace/tailcall.exp: Choose test file based on target.
10737         * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10738
10739 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
10740
10741         * gdb.btrace/exception.exp: Increase BTS buffer size.
10742
10743 2015-03-24  Pedro Alves  <palves@redhat.com>
10744
10745         * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10746
10747 2015-03-24  Pedro Alves  <palves@redhat.com>
10748
10749         * gdb.threads/schedlock.exp (test_step): No longer expect that
10750         "set scheduler-locking step" with "next" over a function call runs
10751         threads unlocked.
10752
10753 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10754
10755         * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10756
10757 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10758
10759         PR breakpoints/16466
10760         * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10761         * gdb.mi/mi-pending.c (thread_func): New function.
10762         (int main): Add threading support required.
10763         * gdb.mi/mi-pending.exp: Add tests for this issue.
10764         * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10765         (pendfunc2): Remove stdio dependency.
10766         * gdb.mi/mi-pendshr2.c: New file.
10767
10768 2015-03-23  Keith Seitz  <keiths@redhat.com>
10769
10770         * gdb.linespec/keywords.c: New file.
10771         * gdb.linespec/keywords.exp: New file.
10772
10773 2015-03-23  Keith Seitz  <keiths@redhat.com>
10774
10775         PR gdb/18021
10776         * gdb.dwarf2/staticvirtual.exp: New test.
10777
10778 2015-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
10779
10780         * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10781         * README: Remove HP-UX and gdb.hp.
10782         (configuration):
10783         * configure: Regenerate.
10784         * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10785         gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10786         gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10787         gdb.hp/gdb.defects/Makefile.
10788         * gdb.hp/Makefile.in: File deleted.
10789         * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10790         * gdb.hp/gdb.aCC/optimize.c: File deleted.
10791         * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10792         * gdb.hp/gdb.aCC/run.c: File deleted.
10793         * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10794         * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10795         * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10796         * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10797         * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10798         * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10799         * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10800         * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10801         * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10802         * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10803         * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10804         * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10805         * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10806         * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10807         * gdb.hp/gdb.base-hp/reg.s: File deleted.
10808         * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10809         * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10810         * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10811         * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10812         * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10813         * gdb.hp/gdb.compat/Makefile.in: File deleted.
10814         * gdb.hp/gdb.compat/average.c: File deleted.
10815         * gdb.hp/gdb.compat/sum.c: File deleted.
10816         * gdb.hp/gdb.compat/xdb.c: File deleted.
10817         * gdb.hp/gdb.compat/xdb0.c: File deleted.
10818         * gdb.hp/gdb.compat/xdb0.h: File deleted.
10819         * gdb.hp/gdb.compat/xdb1.c: File deleted.
10820         * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10821         * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10822         * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10823         * gdb.hp/gdb.defects/Makefile.in: File deleted.
10824         * gdb.hp/gdb.defects/bs14602.c: File deleted.
10825         * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10826         * gdb.hp/gdb.defects/solib-d.c: File deleted.
10827         * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10828         * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10829         * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10830         * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10831         * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10832         * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10833         * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10834         * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10835         * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10836         * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10837         * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10838         * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10839         * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10840         * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10841         * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10842         * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10843         * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10844         * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10845         * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10846         * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10847         * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10848         * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10849         * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10850         * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10851         * gdb.hp/tools/odump: File deleted.
10852
10853 2015-03-19  Pedro Alves  <palves@redhat.com>
10854
10855         * gdb.threads/continue-pending-status.exp (saw_thread_2)
10856         (saw_thread_3): New globals.
10857         (top level): Increment them when an event for the corresponding
10858         thread is seen.
10859         (no thread starvation): New test.
10860
10861 2015-03-19  Pedro Alves  <palves@redhat.com>
10862
10863         * gdb.threads/continue-pending-status.c: New file.
10864         * gdb.threads/continue-pending-status.exp: New file.
10865
10866 2015-03-18  Pedro Alves  <palves@redhat.com>
10867
10868         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10869         Use gdb_is_target_remote instead of is_remote.  Use
10870         gdb_test_multiple instead of gdb_expect.  Exit early if
10871         gdb_test_multiple hits its internal matches.  Tighten stepi tests
10872         expected output.  Fail on exit with any signal, instead of just
10873         SIGILL.
10874
10875 2015-03-18  Yao Qi  <yao.qi@linaro.org>
10876
10877         PR tdep/18107
10878         * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10879         variable.
10880         * gdb.base/catch-syscall.exp: Don't skip it on
10881         aarch64*-*-linux* target.  Remove elements in all_syscalls.
10882         (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10883         target.
10884         (setup_all_syscalls): New proc.
10885
10886 2015-03-16  Yao Qi  <yao.qi@linaro.org>
10887
10888         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10889         (top level): Skip tests if valid_addr_p returns false for
10890         $cmd1 or $cmd2.
10891
10892 2015-03-11  Andy Wingo  <wingo@igalia.com>
10893
10894         * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10895
10896 2015-03-11  Yao Qi  <yao.qi@linaro.org>
10897
10898         * gdb.base/catch-syscall.exp: Fix typo in comments.
10899
10900 2015-03-11  Yao Qi  <yao.qi@linaro.org>
10901
10902         * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10903
10904 2015-03-09  Pedro Alves  <palves@redhat.com>
10905
10906         * dg-extract-results.py: Delete.
10907
10908 2015-03-09  Pedro Alves  <palves@redhat.com>
10909
10910         Merge dg-extract-results.sh from GCC upstream (r218843).
10911
10912         2014-12-17  Sergio Durigan Junior  <sergiodj@redhat.com>
10913                 * dg-extract-results.sh: Use --text with grep to avoid issues with
10914                 binary files.  Fall back to cat -v, if that doesn't work.
10915
10916 2015-03-05  Pedro Alves  <palves@redhat.com>
10917
10918         * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10919
10920 2015-03-04  Simon Marchi  <simon.marchi@ericsson.com>
10921
10922         * lib/mi-support.exp (mi_expect_interrupt): Accept
10923         alternative event for when in all-stop mode.
10924
10925 2015-03-04  Pedro Alves  <palves@redhat.com>
10926
10927         * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10928
10929 2015-03-04  Mark Kettenis  <kettenis@gnu.org>
10930
10931         * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10932
10933 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10934
10935         * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10936         regexps for GDB's current line display, accept a hex address
10937         preceding the line number.
10938
10939 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10940
10941         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10942         the 'arch1' variable for "s390*-linux*" targets.
10943
10944 2015-03-04  Pedro Alves  <palves@redhat.com>
10945
10946         * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10947         (main): Pass missing retval argument to pthread_join call.
10948
10949 2015-03-02  Pedro Alves  <palves@redhat.com>
10950
10951         * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
10952         (top level): Call do_test with non-stop as well.
10953
10954 2015-03-02  Pedro Alves  <palves@redhat.com>
10955
10956         * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
10957         -1.
10958
10959 2015-03-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10960
10961         * gdb.arch/s390-vregs.exp: New test.
10962         * gdb.arch/s390-vregs.S: New file.
10963
10964 2015-02-27  Pedro Alves  <palves@redhat.com>
10965
10966         * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
10967         call to catch_command_errors.
10968         * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
10969         catch_command_errors.
10970
10971 2015-02-27  Pedro Alves  <palves@redhat.com>
10972
10973         * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
10974         "true" for boolean result.
10975         * gdb.gdb/selftest.exp (test_with_self): Also accept full
10976         prototype of main.
10977
10978 2015-02-27  Pedro Alves  <palves@redhat.com>
10979
10980         * lib/unbuffer_output.c: New file.
10981         * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
10982         (main): Call gdb_unbuffer_output.
10983
10984 2015-02-27  Yao Qi  <yao.qi@linaro.org>
10985
10986         * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
10987         target.
10988
10989 2015-02-26  Doug Evans  <dje@google.com>
10990
10991         * gdb.cp/class2.cc (Dbase, D): New classes.
10992         (main): New local delta.
10993         * gdb.cp/class2.exp: Test printing delta.
10994         * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
10995         (dynbar): New global.
10996         * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
10997
10998 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
10999
11000         * gdb.compile/compile-ifunc.c: New file.
11001         * gdb.compile/compile-ifunc.exp: New file.
11002
11003 2015-02-26  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11004
11005         * gdb.base/structs.exp: Check for correct struct on finish.
11006
11007 2015-02-26  Yao Qi  <yao.qi@linaro.org>
11008
11009         * lib/dwarf.exp (function_range): Adjust pattern when $func_length
11010         is zero.
11011
11012 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
11013
11014         * gdb.arch/cordic.ko.bz2: New file.
11015         * gdb.arch/cordic.ko.debug.bz2: New file.
11016         * gdb.arch/ppc64-symtab-cordic.exp: New file.
11017
11018 2015-02-25  Yao Qi  <yao.qi@linaro.org>
11019
11020         * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
11021         aarch64*-*-* target.
11022
11023 2015-02-23  Pedro Alves  <palves@redhat.com>
11024
11025         * lib/gdb.exp (delete_breakpoints): Rewrite using
11026         gdb_test_multiple.
11027
11028 2015-02-23  Pedro Alves  <palves@redhat.com>
11029
11030         * gdb.base/info-os.c: Include stdlib.h.
11031
11032 2015-02-22  Doug Evans  <xdje42@gmail.com>
11033
11034         PR symtab/17855
11035         * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
11036         is read after symbols have been re-read.
11037         * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
11038         * gdb.ada/exec_changed/second.adb (Second): Ditto.
11039
11040 2015-02-21  Doug Evans  <dje@google.com>
11041
11042         * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
11043
11044 2015-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
11045
11046         PR corefiles/17808
11047         * gdb.arch/i386-biarch-core.core.bz2: New file.
11048         * gdb.arch/i386-biarch-core.exp: New file.
11049
11050 2015-02-21  Pedro Alves  <palves@redhat.com>
11051
11052         * gdb.threads/multi-create-ns-info-thr.exp: Return early if
11053         runto_main fails.
11054
11055 2015-02-20  Pedro Alves  <palves@redhat.com>
11056
11057         * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
11058         info probes.
11059
11060 2015-02-20  Pedro Alves  <palves@redhat.com>
11061
11062         * gdb.threads/multi-create-ns-info-thr.exp: New file.
11063
11064 2015-02-20  Pedro Alves  <palves@redhat.com>
11065
11066         * gdb.trace/no-attach-trace.exp: Don't run to main.  Do
11067         clean_restart before gdb_target_supports_trace.
11068
11069 2015-02-20  Pedro Alves  <palves@redhat.com>
11070
11071         PR threads/18006
11072         * gdb.threads/clone-thread_db.c: New file.
11073         * gdb.threads/clone-thread_db.exp: New file.
11074
11075 2015-02-19  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11076
11077         PR breakpoints/16812
11078         * gdb.base/catch-gdb-caused-signals.c: New file.
11079         * gdb.base/catch-gdb-caused-signals.exp: New file.
11080
11081 2015-02-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
11082
11083         * configure: Regenerated.
11084         * configure.ac: Use GDB_AC_TRANSFORM.
11085         * aclocal.m4: sinclude ../transform.m4.
11086
11087 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11088
11089         * lib/dtrace.exp: New file.
11090         * gdb.base/dtrace-probe.exp: Likewise.
11091         * gdb.base/dtrace-probe.d: Likewise.
11092         * gdb.base/dtrace-probe.c: Likewise.
11093         * lib/pdtrace.in: Likewise.
11094         * configure.ac: Output variables with the transformed names of
11095         the strip, readelf, as and nm tools.  AC_SUBST lib/pdtrace.in.
11096         * configure: Regenerated.
11097
11098 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11099
11100         * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11101         expected message when trying to access $_probe_* convenience
11102         variables while not on a probe.
11103
11104 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11105
11106         * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11107
11108 2015-02-11  Pedro Alves  <pedro@codesourcery.com>
11109
11110         * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11111         * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
11112
11113 2015-02-10  Doug Evans  <xdje42@gmail.com>
11114
11115         * lib/gdb.exp (gdb_load): Always return a result.
11116
11117 2015-02-10  Pedro Alves  <palves@redhat.com>
11118
11119         * gdb.threads/signal-sigtrap.c: New file.
11120         * gdb.threads/signal-sigtrap.exp: New file.
11121
11122 2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
11123
11124         * gdb.trace/no-attach-trace.c: New file.
11125         * gdb.trace/no-attach-trace.exp: New file.
11126
11127 2015-02-09  Mark Wielaard  <mjw@redhat.com>
11128
11129         * gdb.dwarf2/atomic.c: New file.
11130         * gdb.dwarf2/atomic-type.exp: Likewise.
11131
11132 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11133
11134         * gdb.btrace/buffer-size.exp: Update "info record" output.
11135         * gdb.btrace/delta.exp: Update "info record" output.
11136         * gdb.btrace/enable.exp: Update "info record" output.
11137         * gdb.btrace/finish.exp: Update "info record" output.
11138         * gdb.btrace/instruction_history.exp: Update "info record" output.
11139         * gdb.btrace/next.exp: Update "info record" output.
11140         * gdb.btrace/nexti.exp: Update "info record" output.
11141         * gdb.btrace/step.exp: Update "info record" output.
11142         * gdb.btrace/stepi.exp: Update "info record" output.
11143         * gdb.btrace/nohist.exp: Update "info record" output.
11144
11145 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11146
11147         * gdb.btrace/buffer-size: New.
11148
11149 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11150
11151         * gdb.btrace/delta.exp: Update "info record" output.
11152         * gdb.btrace/enable.exp: Update "info record" output.
11153         * gdb.btrace/finish.exp: Update "info record" output.
11154         * gdb.btrace/instruction_history.exp: Update "info record" output.
11155         * gdb.btrace/next.exp: Update "info record" output.
11156         * gdb.btrace/nexti.exp: Update "info record" output.
11157         * gdb.btrace/step.exp: Update "info record" output.
11158         * gdb.btrace/stepi.exp: Update "info record" output.
11159         * gdb.btrace/nohist.exp: Update "info record" output.
11160
11161 2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
11162
11163         PR gdb/15678
11164         * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
11165
11166 2015-02-06  Pedro Alves  <palves@redhat.com>
11167
11168         * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
11169         macro.
11170         (seconds_left, again): New globals.
11171         (main): Wait seconds_left in a 1-second sleep loop instead of
11172         sleeping 180 seconds.  If 'again' is set, reset the seconds
11173         counter.
11174         * gdb.threads/attach-many-short-lived-threads.exp (test): Set
11175         'again' in the inferior before detaching.  Print the seconds left.
11176         (options): New global.
11177         (top level): Build program with -DTIMEOUT=$timeout.
11178
11179 2015-02-06  Pedro Alves  <palves@redhat.com>
11180
11181         * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
11182         determine how many seconds to pass to 'alarm'.
11183         * gdb.base/gdb-sigterm.exp (top level): Build program with
11184         -DTIMEOUT=$timeout.
11185         (do_test): Return success/failure indication.  Add more verbose
11186         logging.  Don't fail if 200 single steps are seen.  Instead, fail
11187         when the test times out.
11188         (passes): New global.
11189         (top level): Break the testing loop if testing fails on any
11190         iteration.  Use gdb_assert.
11191
11192 2015-02-04  Don Breazeal  <donb@codesourcery.com>
11193
11194         * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
11195         and initialize them.
11196         (ipc_cleanup): New function.
11197         (main): Don't declare shmid, semid, and msqid.  Add a call to
11198         atexit so that we call ipc_cleanup on exit.
11199
11200 2015-02-04  Pedro Alves  <palves@redhat.com>
11201
11202         * boards/native-extended-gdbserver.exp: Remove any target variant
11203         specifications from the board name before clearing the isremote
11204         flag from board_info.
11205
11206 2015-01-31  Doug Evans  <xdje42@gmail.com>
11207
11208         * gdb.base/maint.exp <maint print type argc>: Update expected output.
11209
11210 2015-01-31  Gary Benson <gbenson@redhat.com>
11211
11212         * gdb.base/completion.exp: Disable completion limiting for
11213         existing tests.  Add new tests to check completion limiting.
11214         * gdb.linespec/ls-errs.exp: Disable completion limiting.
11215
11216 2015-01-31  Doug Evans  <xdje42@gmail.com>
11217
11218         * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
11219
11220 2015-01-31  Doug Evans  <xdje42@gmail.com>
11221
11222         * gdb.guile/scm-section-script.c: Add duplicate inlined section script
11223         entries.  Duplicate file section script entries.
11224         * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
11225         inlined entries.  Add test for safe-path rejection.
11226         * gdb.python/py-section-script.c: Add duplicate inlined section script
11227         entries.  Duplicate file section script entries.
11228         * gdb.python/py-section-script.exp: Add tests for duplicate entries,
11229         inlined entries.  Add test for safe-path rejection.
11230
11231 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11232
11233         * gdb.ada/disc_arr_bound: New testcase.
11234
11235 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11236
11237         * gdb.ada/mi_var_array: New testcase.
11238
11239 2015-01-27  Doug Evans  <dje@google.com>
11240
11241         * gdb.python/py-objfile.exp: Add tests for objfile.username.
11242         Add test for objfile.filename, objfile.username after objfile
11243         has been unloaded.
11244
11245 2015-01-26  Joel Brobecker  <brobecker@adacore.com>
11246
11247         * gdb.python/py-lookup-type.exp (test_lookup_type): Change
11248         the second test to print the name attribute of value
11249         returned by the call to gdb.lookup_type, and adjust
11250         the expected output accordingly.
11251
11252 2015-01-25  Mark Wielaard  <mjw@redhat.com>
11253
11254         * gdb.arch/i386-bp_permanent.c (standard): New declaration.
11255         * gdb.base/disp-step-fork.c: Include unistd.h.
11256         * gdb.base/siginfo-obj.c: Include stdio.h.
11257         * gdb.base/siginfo-thread.c: Likewise.
11258         * gdb.mi/non-stop.c: Include unistd.h.
11259         * gdb.mi/nsthrexec.c: Include stdio.h.
11260         * gdb.mi/pthreads.c: Include unistd.h.
11261         * gdb.modula2/unbounded1.c (main): Declare returns int.
11262         * gdb.reverse/consecutive-reverse.c: Likewise.
11263         * gdb.threads/create-fail.c: Include unistd.h.
11264         * gdb.threads/killed.c: Likewise.
11265         * gdb.threads/linux-dp.c: Likewise.
11266         * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
11267         * gdb.threads/non-ldr-exc-2.c: Likewise.
11268         * gdb.threads/non-ldr-exc-3.c: Likewise.
11269         * gdb.threads/non-ldr-exc-4.c: Likewise.
11270         * gdb.threads/pthreads.c: Include unistd.h.
11271         (main): Declare returns int.
11272         * gdb.threads/tls-main.c (foo): New declaration.
11273         * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
11274
11275 2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
11276
11277         * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
11278         * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
11279
11280 2015-01-15  Mark Wielaard  <mjw@redhat.com>
11281
11282         * gdb.base/noreturn-return.c: New file.
11283         * gdb.base/noreturn-return.exp: New file.
11284         * gdb.base/noreturn-finish.c: New file.
11285         * gdb.base/noreturn-finish.exp: New file.
11286
11287 2015-01-23  Pedro Alves  <palves@redhat.com>
11288
11289         * gdb.threads/continue-pending-after-query.c: New file.
11290         * gdb.threads/continue-pending-after-query.exp: New file.
11291
11292 2015-01-22  Anders Granlund  <anders.granlund@ericsson.com>
11293             Simon Marchi  <simon.marchi@ericsson.com>
11294
11295         * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
11296         * gdb.base/valgrind-db-attach.exp: Same.
11297         * gdb.base/valgrind-infcall.exp: Same.
11298         * lib/mi-support.exp (default_mi_gdb_start): Same.
11299         * lib/prompt.exp (default_prompt_gdb_start): Same.
11300         * lib/gdb.exp (default_gdb_spawn): Same.
11301         (gdb_interact): New.
11302
11303
11304 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
11305
11306         * gdb.compile/compile.exp (pointer to jit function): New test.
11307
11308 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
11309
11310         * lib/gdb.exp (supports_process_record): Return true for
11311         powerpc*-*-linux*.
11312         (supports_reverse): Likewise.
11313
11314 2015-01-15  Don Breazeal  <donb@codesourcery.com>
11315
11316         * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
11317         instead of checking whether the target board is remote and
11318         use spawn_wait_for_attach instead of exec/sleep.
11319         * gdb.base/attach-twice.exp: Likewise.
11320
11321 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
11322
11323         * gdb.ada/var_arr_attrs: New testcase.
11324
11325 2015-01-14  Pedro Alves  <palves@redhat.com>
11326             Joel Brobecker  <brobecker@adacore.com>
11327
11328         PR gdb/17525
11329         * gdb.base/bp-cmds-execution-x-script.c: New file.
11330         * gdb.base/bp-cmds-execution-x-script.exp: New file.
11331         * gdb.base/bp-cmds-execution-x-script.gdb: New file.
11332
11333 2015-01-14  Pedro Alves  <palves@redhat.com>
11334
11335         PR cli/17828
11336         * gdb.base/batch-preserve-term-settings.c: New file.
11337         * gdb.base/batch-preserve-term-settings.exp: New file.
11338
11339 2015-01-13  Doug Evans  <dje@google.com>
11340
11341         * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
11342         binary.
11343
11344 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11345
11346         * Makefile.in (clean mostlyclean): Do not delete *.py.
11347
11348 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11349
11350         * gdb.python/py-lookup-type.exp: New file.
11351
11352 2015-01-12  Pedro Alves  <palves@redhat.com>
11353
11354         * gdb.python/py-prompt.exp: When the board can't spawn for attach,
11355         restore GDBFLAGS before returning.
11356
11357 2015-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
11358
11359         * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
11360         is_amd64_regs_target and is_x86_like_target.
11361
11362 2015-01-11  Doug Evans  <xdje42@gmail.com>
11363
11364         * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
11365         is given without an explicit form.
11366         * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
11367         attributes.
11368         * gdb.dwarf/corrupt.exp: Ditto.
11369         * gdb.dwarf2/enum-type.exp: Ditto.
11370         * gdb.trace/entry-values.exp: Ditto.
11371         * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
11372
11373 2015-01-11  Doug Evans  <xdje42@gmail.com>
11374
11375         PR gdb/15830
11376         * gdb.base/maint.exp: Remove references to "maint demangle".
11377         * gdb.cp/demangle.exp: Update.  "maint demangle" -> "demangle".
11378         Add tests for explicitly specifying language to demangle.
11379         * gdb.dlang/demangle.exp: Ditto.
11380
11381 2015-01-09  Pedro Alves  <palves@redhat.com>
11382
11383         * gdb.threads/non-stop-fair-events.c: New file.
11384         * gdb.threads/non-stop-fair-events.exp: New file.
11385
11386 2015-01-09  Pedro Alves  <palves@redhat.com>
11387
11388         * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
11389         the global scope.  Set a breakpoint after all threads are started
11390         rather than stepping over two source lines.  Expect the prompt.
11391         * gdb.base/watch_thread_num.c (threads_started_barrier): New
11392         global.
11393         (NUM): Now 15.
11394         (main): Use threads_started_barrier to wait for all threads to
11395         start.  Main thread no longer calls thread_function.  Exit after
11396         180 seconds.
11397         (loop): New function.
11398         (thread_function): Wait on threads_started_barrier barrier.  Call
11399         'loop' at each iteration.
11400         * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
11401         threads have started, instead of hardcoding number of "next"
11402         steps.  Use an access watchpoint instead of a write watchpoint.
11403
11404 2015-01-09  Pedro Alves  <palves@redhat.com>
11405
11406         * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
11407         (thread_func): Wait on barrier.
11408         (main): Wait for all threads to start before stopping GDB.
11409         * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11410         global.
11411         (thread1_func, thread2_func): Wait on barrier.
11412         (main): Wait for all threads to start before stopping GDB.
11413         * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11414         New global.
11415         (thread1_func, thread2_func): Wait on barrier.
11416         (main): Wait for all threads to start before stopping GDB.
11417
11418 2015-01-09  Pedro Alves  <palves@redhat.com>
11419
11420         * gdb.threads/attach-many-short-lived-threads.c: New file.
11421         * gdb.threads/attach-many-short-lived-threads.exp: New file.
11422
11423 2014-01-09  Pedro Alves  <palves@redhat.com>
11424
11425         * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11426         instead of to thread 2.
11427         * gdb.threads/signal-command-multiple-signals-pending.c (main):
11428         Add barrier around each pthread_create call instead of around all
11429         calls.
11430         * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11431         Set a break on thread_function and have the child threads hit it
11432         one at at a time.
11433
11434 2015-01-09  Pedro Alves  <palves@redhat.com>
11435
11436         * lib/gdb.exp (can_spawn_for_attach): New procedure.
11437         (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11438         false.
11439         * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11440         checking whether the target board is remote.
11441         * gdb.multi/multi-attach.exp: Likewise.
11442         * gdb.python/py-sync-interp.exp: Likewise.
11443         * gdb.server/ext-attach.exp: Likewise.
11444         * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11445         tests that need to attach, instead of checking whether the target
11446         board is remote at the top of the file.
11447
11448 2015-01-08  Yao Qi  <yao@codesourcery.com>
11449
11450         * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11451
11452 2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
11453
11454         Fix testcase compilation.
11455         * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11456
11457 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
11458
11459         * gdb.python/py-type.exp: Add a couple test about empty
11460         array creation, and negative-length array creation.
11461
11462 2015-01-02  Doug Evans  <xdje42@gmail.com>
11463
11464         * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11465
11466 2015-01-02  Doug Evans  <dje@google.com>
11467
11468         * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11469
11470 2014-12-29  Yao Qi  <yao@codesourcery.com>
11471
11472         * gdb.trace/entry-values.exp: Update comments.  Rename variable
11473         bar_call_foo to returned_from_foo.
11474
11475 2014-12-20  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
11476
11477         PR gdb/17394
11478         * gdb.linespec/break-asm-file.c: New file.
11479         * gdb.linespec/break-asm-file.exp: New file.
11480         * gdb.linespec/break-asm-file0.s: New file.
11481         * gdb.linespec/break-asm-file1.s: New file.
11482
11483 2014-12-18  Nigel Stephens  <nigel@mips.com>
11484             Maciej W. Rozycki  <macro@codesourcery.com>
11485
11486         * gdb.base/float.exp: Handle the new output from "info float" on
11487         MIPS targets.
11488
11489 2014-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
11490
11491         Fix MinGW compilation.
11492         * gdb.compile/compile-ops.exp: Update untested message if
11493         !skip_compile_feature_tests.
11494         * gdb.compile/compile-setjmp.exp: Likewise.
11495         * gdb.compile/compile-tls.exp: Likewise.
11496         * gdb.compile/compile.exp: Likewise.
11497         * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
11498         supported on this host".
11499
11500 2014-12-16  Doug Evans  <xdje42@gmail.com>
11501
11502         * boards/stabs.exp: New file.
11503
11504 2014-12-16  Andreas Arnez  <arnez@vnet.linux.ibm.com>
11505
11506         * gdb.base/completion.exp: Adjust to format changes of "maint
11507         print user-registers".
11508
11509 2014-12-16  Catalin Udma  <catalin.udma@freescale.com>
11510
11511         PR server/17457
11512         * gdb.arch/aarch64-fp.c: New file.
11513         * gdb.arch/aarch64-fp.exp: New file.
11514
11515 2014-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
11516
11517         Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11518         r210637, r210913, r211666, r215400, r215817).
11519
11520         2014-05-08  Richard Sandiford  <rdsandiford@googlemail.com>
11521                 * dg-extract-results.py: New file.
11522                 * dg-extract-results.sh: Use it if the environment seems
11523                 suitable.
11524
11525         2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
11526
11527                 * dg-extract-results.py (parse_run): Handle warnings that
11528                 are printed before a test harness is run.
11529
11530         2014-05-25  Richard Sandiford  <rdsandiford@googlemail.com>
11531
11532                 * dg-extract-results.py (Named): Remove __cmp__ method.
11533                 (output_variation): Use a key to sort variation.harnesses.
11534
11535         2014-06-14  Richard Sandiford  <rdsandiford@googlemail.com>
11536
11537                 * dg-extract-results.py: For Python 3, force sys.stdout to
11538                 handle surrogate escape sequences.
11539                 (safe_open): New function.
11540                 (output_segment, main): Use it.
11541
11542         2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>
11543
11544                 * dg-extract-results.py (Prog.result_re): Include options
11545                 in test name.
11546
11547         2014-10-02  Segher Boessenkool  <segher@kernel.crashing.org>
11548
11549                 * dg-extract-results.py (output_variation): Always sort if
11550                 do_sum.
11551
11552 2014-12-15  Simon Marchi  <simon.marchi@ericsson.com>
11553
11554         * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11555         as long as we get pagination notifications.
11556
11557 2014-12-15  Jason Merrill  <jason@redhat.com>
11558
11559         * Makefile.in (check-gdb.%): Restore.
11560         * README: Mention it.
11561
11562 2014-12-13  Joel Brobecker  <brobecker@adacore.com>
11563
11564         * gdb.ada/str_uninit: New testcase.
11565
11566 2014-12-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
11567
11568         PR symtab/17642
11569         * gdb.base/vla-stub-define.c: New file.
11570         * gdb.base/vla-stub.c: New file.
11571         * gdb.base/vla-stub.exp: New file.
11572
11573 2014-12-12  Phil Muldoon  <pmuldoon@redhat.com>
11574             Jan Kratochvil  <jan.kratochvil@redhat.com>
11575             Tom Tromey  <tromey@redhat.com>
11576
11577         * configure.ac: Add gdb.compile/.
11578         * configure: Regenerate.
11579         * gdb.compile/Makefile.in: New file.
11580         * gdb.compile/compile-ops.exp: New file.
11581         * gdb.compile/compile-ops.c: New file.
11582         * gdb.compile/compile-tls.c: New file.
11583         * gdb.compile/compile-tls.exp: New file.
11584         * gdb.compile/compile-constvar.S: New file.
11585         * gdb.compile/compile-constvar.c: New file.
11586         * gdb.compile/compile-mod.c: New file.
11587         * gdb.compile/compile-nodebug.c: New file.
11588         * gdb.compile/compile-setjmp-mod.c: New file.
11589         * gdb.compile/compile-setjmp.c: New file.
11590         * gdb.compile/compile-setjmp.exp: New file.
11591         * gdb.compile/compile-shlib.c: New file.
11592         * gdb.compile/compile.c: New file.
11593         * gdb.compile/compile.exp: New file.
11594         * lib/gdb.exp (skip_compile_feature_tests): New proc.
11595
11596 2014-12-12  Tom Tromey  <tromey@redhat.com>
11597
11598         * lib/dwarf.exp (_location): Ignore blank lines.  Allow comments.
11599         Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11600
11601 2014-12-12  Doug Evans  <dje@google.com>
11602
11603         * lib/gdb-python.exp (get_python_valueof): New function.
11604         * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11605
11606 2014-12-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11607
11608         * gdb.base/completion.exp: Add test for completion of "info
11609         registers ".
11610
11611 2014-12-12  Maciej W. Rozycki  <macro@codesourcery.com>
11612
11613         * gdb.base/func-ptrs.c: New file.
11614         * gdb.base/func-ptrs.exp: New file.
11615
11616 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11617
11618         PR breakpoints/17012
11619         * gdb.base/dprintf-detach.c: New file.
11620         * gdb.base/dprintf-detach.exp: New file.
11621
11622 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11623
11624         * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11625         * lib/gdb.exp (target_is_gdbserver): New procedure.
11626
11627 2014-12-08  Doug Evans  <dje@google.com>
11628
11629         * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11630
11631 2014-12-05  Yao Qi  <yao@codesourcery.com>
11632
11633         * gdb.guile/scm-error.exp: Remove the third argument to
11634         gdb_remote_download.
11635         * gdb.guile/scm-frame-args.exp: Likewise.
11636         * gdb.guile/scm-section-script.exp: Likewise.
11637
11638 2014-12-05  Yao Qi  <yao@codesourcery.com>
11639
11640         * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11641
11642 2014-12-04  Doug Evans  <dje@google.com>
11643
11644         * gdb.python/py-objfile.exp: Add tests for
11645         objfile.add_separate_debug_file.
11646
11647 2014-12-04  Doug Evans  <dje@google.com>
11648
11649         * lib/gdb.exp (get_build_id): New function.
11650         (build_id_debug_filename_get): Rewrite to use it.
11651         * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11652
11653 2014-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
11654
11655         * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11656         `method(long)', not just 0x0.
11657         * gdb.cp/nsalias.exp: Align code labels to 4.
11658         * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11659         * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11660         * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11661         * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11662         (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11663         * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11664
11665 2014-12-02  Doug Evans  <dje@google.com>
11666
11667         PR symtab/17602
11668         * gdb.cp/anon-ns.cc: Move guts of this file to ...
11669         * gdb.cp/anon-ns2.cc: ... here.  New file.
11670         * gdb.cp/anon-ns.exp: Update.
11671
11672 2014-12-02  Nick Bull  <nicholaspbull@gmail.com>
11673
11674         * gdb.python/py-events.py (inferior_call_handler): New.
11675         (register_changed_handler, memory_changed_handler): New.
11676         (test_events.invoke): Register new handlers.
11677         * gdb.python/py-events.exp: Add tests for inferior call,
11678         memory_changed and register_changed events.
11679
11680 2014-12-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11681
11682         * gdb.base/execl-update-breakpoints.exp: Specify the link address
11683         with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
11684         if the linker doesn't understand this.
11685
11686 2014-12-01  Simon Marchi  <simon.marchi@ericsson.com>
11687
11688         * gdb.python/python.exp: Change expected reply to help().
11689
11690 2014-12-01  Yao Qi  <yao@codesourcery.com>
11691
11692         * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
11693         AC_CONFIG_SUBDIRS(gdb.gdbtk).
11694         * configure: Re-generated.
11695
11696 2014-11-28  Siva Chandra Reddy  <sivachandra@google.com>
11697
11698         * gdb.cp/chained-calls.cc: New file.
11699         * gdb.cp/chained-calls.exp: New file.
11700         * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11701
11702 2014-11-28  Simon Marchi  <simon.marchi@ericsson.com>
11703
11704         * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11705         * gdb.dwarf2/symtab-producer.exp: Same.
11706         * gdb.gdb/python-interrupts.exp: Same.
11707         * gdb.gdb/python-selftest.exp: Same.
11708         * gdb.python/py-linetable.exp: Same.
11709         * gdb.python/py-type.exp: Same.
11710         * gdb.python/py-value-cc.exp: Same.
11711         * gdb.python/py-value.exp: Same.
11712
11713 2014-11-28  Yao Qi  <yao@codesourcery.com>
11714
11715         * gdb.base/break-probes.exp: Match library name prefixed with
11716         sysroot.
11717
11718 2014-11-27  Simon Marchi  <simon.marchi@ericsson.com>
11719
11720         * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11721         test expected output.  Add parentheses for the call to print.
11722         Remove L suffix from integers.
11723
11724 2014-11-26  Doug Evans  <dje@google.com>
11725
11726         * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11727
11728 2014-11-22  Yao Qi  <yao@codesourcery.com>
11729
11730         * gdb.trace/entry-values.c: Remove asms.
11731         (foo): Add foo_label.
11732         (bar): Add bar_label.
11733         * gdb.trace/entry-values.exp: Remove code computing  foo's
11734         length and bar's length.
11735         (Dwarf::assemble): Invoke function_range for bar and use
11736         MACRO_AT_func for foo.
11737
11738 2014-11-22  Yao Qi  <yao@codesourcery.com>
11739
11740         * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11741         and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
11742         Use .Lgcc43_procstart instead of gcc43.
11743
11744 2014-11-21  Joel Brobecker  <brobecker@adacore.com>
11745
11746         * gdb.ada/n_arr_bound: New testcase.
11747
11748 2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
11749
11750         PR breakpoints/10737
11751         * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11752         test_catch_syscall_multi_arch.
11753         (test_catch_syscall_multi_arch): New function.
11754
11755 2014-11-20  Doug Evans  <xdje42@gmail.com>
11756
11757         * gdb.base/maint.exp: Update expected output.
11758
11759 2014-11-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11760
11761         * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11762         4-byte instruction on S390.
11763
11764 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
11765
11766         * gdb.ada/arr_arr: New testcase.
11767
11768 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
11769
11770         * gdb.ada/pkd_arr_elem: New Testcase.
11771
11772 2014-11-18  Luis Machado  <lgustavo@codesourcery.com>
11773
11774         * gdb.reverse/break-precsave: Expect completion message for
11775         core file reads.
11776         * gdb.reverse/consecutive-precsave.exp: Likewise.
11777         * gdb.reverse/finish-precsave.exp: Likewise.
11778         * gdb.reverse/i386-precsave.exp: Likewise.
11779         * gdb.reverse/machinestate-precsave.exp: Likewise.
11780         * gdb.reverse/sigall-precsave.exp: Likewise.
11781         * gdb.reverse/solib-precsave.exp: Likewise.
11782         * gdb.reverse/step-precsave.exp: Likewise.
11783         * gdb.reverse/until-precsave.exp: Likewise.
11784         * gdb.reverse/watch-precsave.exp: Likewise.
11785
11786 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11787
11788         * gdb.base/bp-permanent.c: Include unistd.h.
11789         * gdb.python/py-framefilter-mi.c (main): Add return type.
11790         * gdb.python/py-framefilter.c (main): Likewise.
11791         * gdb.trace/actions-changed.c (main): Likewise.
11792
11793 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11794
11795         * gdb.mi/until.c: Add eye-catchers.
11796         * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11797         line numbers.
11798
11799 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11800
11801         * gdb.base/condbreak.exp: Drop references to removed non-prototype
11802         function header variants in break1.c.
11803         * gdb.base/ena-dis-br.exp: Likewise.
11804         * gdb.base/hbreak2.exp: Likewise.
11805         * gdb.reverse/until-precsave.exp: Drop references to removed
11806         non-prototype function header variants in ur1.c.
11807         * gdb.reverse/until-reverse.exp: Likewise.
11808
11809 2014-11-17  Petr Machata  <pmachata@redhat.com>
11810
11811         * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
11812         ${_cu_offset_size} bytes abbrev offset.
11813
11814 2014-11-15  Doug Evans  <xdje42@gmail.com>
11815
11816         PR symtab/17559
11817         * gdb.base/line-symtabs.exp: New file.
11818         * gdb.base/line-symtabs.c: New file.
11819         * gdb.base/line-symtabs.h: New file.
11820
11821 2014-11-14  Yao Qi  <yao@codesourcery.com>
11822
11823         * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11824         (func): Add label func_label.
11825         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11826         Replace low_pc and high_pc with MACRO_AT_range.
11827         Replace name, low_pc and high_pc with MACRO_AT_func.
11828
11829 2014-11-14  Yao Qi  <yao@codesourcery.com>
11830
11831         * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
11832         Replace name, low_pc and high_pc with MACRO_AT_func.
11833
11834 2014-11-14  Yao Qi  <yao@codesourcery.com>
11835
11836         * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
11837         produce debug information.
11838         * gdb.dwarf2/implptr-optimized-out.S: Removed.
11839
11840 2014-11-14  Yao Qi  <yao@codesourcery.com>
11841
11842         * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11843         object and get function length.
11844         (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11845         with MACRO_AT_func.
11846         (top-level): Replace gdb_compile and clean_restart with
11847         prepare_for_testing.
11848         * gdb.dwarf2/main.c (main): Add label main_label.
11849
11850 2014-11-14  Yao Qi  <yao@codesourcery.com>
11851
11852         * lib/dwarf.exp (function_range): New procedure.
11853         (Dwarf::_handle_macro_at_func): New procedure.
11854         (Dwarf::_handle_macro_at_range): New procedure.
11855         (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11856
11857 2014-11-14  Yao Qi  <yao@codesourcery.com>
11858
11859         * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11860         (_handle_attribute): New procedure.
11861
11862 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11863
11864         * gdb.ada/cond_lang/foo.c (callme): Add return type.
11865         * gdb.base/call-sc.c (zed): Likewise.
11866         * gdb.base/checkpoint.c (main): Likewise.
11867         * gdb.base/dump.c (main): Likewise.
11868         * gdb.base/gcore.c (main): Likewise.
11869         * gdb.base/huge.c (main): Likewise.
11870         * gdb.base/multi-forks.c (main): Likewise.
11871         * gdb.base/pr10179-a.c (main): Likewise.
11872         * gdb.base/savedregs.c (main): Likewise.
11873         * gdb.base/sigaltstack.c (main): Likewise.
11874         * gdb.base/siginfo.c (main): Likewise.
11875         * gdb.base/structs.c (zed): Likewise.
11876         * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11877         * gdb.mi/mi-syn-frame.c (main): Likewise.
11878         * gdb.mi/until.c (foo, main): Likewise.
11879         * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11880         * gdb.base/solib-weak.c (foo): Declare.
11881         * gdb.base/attach-twice.c: Include stdio.h.
11882         * gdb.base/weaklib1.c: Likewise.
11883         * gdb.base/weaklib2.c: Likewise.
11884         * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11885         * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11886         unistd.h.
11887         * gdb.base/attach-pie-misread.c: Include stdlib.h.
11888         * gdb.mi/mi-exit-code.c: Likewise.
11889         * gdb.base/break-interp-lib.c: Include string.h.
11890         * gdb.base/coremaker.c: Likewise.
11891         * gdb.base/testenv.c: Likewise.
11892         * gdb.python/py-finish-breakpoint.c: Likewise.
11893         * gdb.base/inferior-died.c: Include sys/wait.h.
11894         * gdb.base/fileio.c: Include time.h.
11895         * gdb.base/async-shell.c: Include unistd.h.
11896         * gdb.base/dprintf-non-stop.c: Likewise.
11897         * gdb.base/info-os.c: Likewise.
11898         * gdb.mi/mi-console.c: Likewise.
11899         * gdb.mi/watch-nonstop.c: Likewise.
11900         * gdb.python/py-events.c: Likewise.
11901         * gdb.base/async.c (baz): Move up before its invocation.
11902         * gdb.base/code_elim2.c (my_global_func): Likewise.
11903         * gdb.base/skip-solib-lib.c (multiply): Likewise.
11904         * gdb.base/advance.c (func2): Likewise.
11905
11906 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11907
11908         * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11909         variant.
11910         * gdb.base/annota3.c: Likewise.
11911         * gdb.base/async.c: Likewise.
11912         * gdb.base/average.c: Likewise.
11913         * gdb.base/call-ar-st.c: Likewise.
11914         * gdb.base/call-rt-st.c: Likewise.
11915         * gdb.base/call-sc.c: Likewise.
11916         * gdb.base/call-strs.c: Likewise.
11917         * gdb.base/ending-run.c: Likewise.
11918         * gdb.base/execd-prog.c: Likewise.
11919         * gdb.base/exprs.c: Likewise.
11920         * gdb.base/foll-exec.c: Likewise.
11921         * gdb.base/foll-fork.c: Likewise.
11922         * gdb.base/foll-vfork.c: Likewise.
11923         * gdb.base/funcargs.c: Likewise.
11924         * gdb.base/gcore.c: Likewise.
11925         * gdb.base/jump.c: Likewise.
11926         * gdb.base/langs0.c: Likewise.
11927         * gdb.base/langs1.c: Likewise.
11928         * gdb.base/langs2.c: Likewise.
11929         * gdb.base/mips_pro.c: Likewise.
11930         * gdb.base/nodebug.c: Likewise.
11931         * gdb.base/opaque0.c: Likewise.
11932         * gdb.base/opaque1.c: Likewise.
11933         * gdb.base/recurse.c: Likewise.
11934         * gdb.base/run.c: Likewise.
11935         * gdb.base/scope0.c: Likewise.
11936         * gdb.base/scope1.c: Likewise.
11937         * gdb.base/setshow.c: Likewise.
11938         * gdb.base/setvar.c: Likewise.
11939         * gdb.base/shmain.c: Likewise.
11940         * gdb.base/shr1.c: Likewise.
11941         * gdb.base/shr2.c: Likewise.
11942         * gdb.base/sigall.c: Likewise.
11943         * gdb.base/signals.c: Likewise.
11944         * gdb.base/so-indr-cl.c: Likewise.
11945         * gdb.base/solib2.c: Likewise.
11946         * gdb.base/structs.c: Likewise.
11947         * gdb.base/sum.c: Likewise.
11948         * gdb.base/vforked-prog.c: Likewise.
11949         * gdb.base/watchpoint.c: Likewise.
11950         * gdb.reverse/shr2.c: Likewise.
11951         * gdb.reverse/until-reverse.c: Likewise.
11952         * gdb.reverse/ur1.c: Likewise.
11953         * gdb.reverse/watch-reverse.c: Likewise.
11954
11955 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11956
11957         * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
11958         variant.
11959         * gdb.base/sepdebug.exp: Drop references to removed code.
11960
11961 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11962
11963         * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
11964         variant.  Preserve original line numbering.
11965         * gdb.base/list1.c: Likewise.
11966
11967 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11968
11969         * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11970         variant.
11971         * gdb.base/break1.c: Likewise.
11972         * gdb.base/break.exp: Drop references to removed code.
11973
11974 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11975
11976         * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
11977         variant.
11978
11979 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11980
11981         * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
11982
11983 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11984
11985         * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
11986         logic into perform_all_tests() and invoke it with and without
11987         function header prototypes.
11988         (do_function_calls): Remove conditional XFAIL for PR 5318.
11989         (rerun_and_prepare): Remove duplicate code.
11990         (perform_all_tests): New.  Main logic moved here.
11991
11992 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11993
11994         * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
11995         code guarded by #ifdef NO_PROTOTYPES.
11996         (t_double_many_args): Likewise.
11997         (DEF_FUNC_MANY_ARGS_1): Likewise.
11998         (DEF_FUNC_VALUES_1): Likewise.
11999         (t_structs_ldc): Renamed from t_structs_fc in conditional code
12000         guarded by #ifdef PROTOTYPES.
12001
12002 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12003
12004         * gdb.mi/mi-console.c: Add eye-catcher.
12005         * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
12006         instead of literal line number.
12007
12008 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12009
12010         * gdb.base/shr2.c: Add eye-catcher.
12011         * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
12012         line number.
12013
12014 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12015
12016         * gdb.base/jump.c: Add eye-catchers.
12017         * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
12018         numbers.
12019
12020 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12021
12022         * gdb.base/execd-prog.c: Add eye-catchers.
12023         * gdb.base/foll-exec.c: Likewise.
12024         * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
12025         line numbers.
12026
12027 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12028
12029         * gdb.base/ending-run.c: Add eye-catchers.
12030         * gdb.base/ending-run.exp: Refer to eye-catchers instead of
12031         literal line numbers.
12032
12033 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12034
12035         * gdb.base/call-rt-st.c: Add eye-catchers.
12036         * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
12037         literal line numbers.
12038
12039 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12040
12041         * gdb.base/call-ar-st.c: Add eye-catchers.
12042         * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
12043         literal line numbers.
12044
12045 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12046
12047         * gdb.base/average.c: Add eye-catchers.
12048         * gdb.base/sum.c: Likewise.
12049         * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
12050         regexps dynamically.
12051
12052 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12053
12054         * gdb.base/solib1.c: Add eye-catchers.
12055         * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
12056         literal line numbers.
12057
12058 2014-11-12  Pedro Alves  <palves@redhat.com>
12059
12060         * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
12061         leader has exited.
12062
12063 2014-11-12  Pedro Alves  <palves@redhat.com>
12064
12065         * gdb.arch/i386-bp_permanent.c: New file.
12066         * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
12067         (srcfile): Set to i386-bp_permanent.c.
12068         (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
12069         that stepi does not execute the 'leave' instruction, instead of
12070         testing it does execute.
12071         * gdb.base/bp-permanent.c: New file.
12072         * gdb.base/bp-permanent.exp: New file.
12073
12074 2014-11-10  Doug Evans  <xdje42@gmail.com>
12075
12076         PR symtab/17564
12077         * gdb.base/symtab-search-order.exp: New file.
12078         * gdb.base/symtab-search-order.c: New file.
12079         * gdb.base/symtab-search-order-1.c: New file.
12080         * gdb.base/symtab-search-order-shlib-1.c: New file.
12081
12082 2014-11-07  Pedro Alves  <palves@redhat.com>
12083
12084         PR gdb/17511
12085         * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
12086         i?86-*-linux*.
12087
12088 2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
12089
12090         PR c++/17494
12091         * gdb.cp/pr17494.cc: New file.
12092         * gdb.cp/pr17494.exp: New file.
12093
12094 2014-11-02  Yao Qi  <yao@codesourcery.com>
12095
12096         * gdb.python/python.exp: Get working directory and match the
12097         output of "set extended-prompt \\w " with it.
12098
12099 2014-10-30  Doug Evans  <dje@google.com>
12100
12101         * gdb.python/py-objfile.exp: Add tests for setting random attributes
12102         in objfiles.
12103         * gdb.python/py-progspace.exp: Add tests for setting random attributes
12104         in progspaces.
12105
12106 2014-10-30  Janis Johnson  <janisjo@codesourcery.com>
12107
12108         * gdb.base/fullpath-expand.exp: Skip for a remote host.
12109         * gdb.base/realname-expand.exp: Likewise.
12110         * gdb.linespec/macro-relative.exp: Likewise.
12111
12112 2014-10-29  Pedro Alves  <palves@redhat.com>
12113
12114         PR gdb/17408
12115         * gdb.threads/schedlock.c (some_function): New function.
12116         (call_function): New global.
12117         (MAYBE_CALL_SOME_FUNCTION): New macro.
12118         (thread_function): Call it.
12119         * gdb.threads/schedlock.exp (get_args): Add description parameter,
12120         and use it instead of a global counter.  Adjust all callers.
12121         (get_current_thread): Use "find current thread" for test message
12122         here rather than having all callers pass down the same string.
12123         (goto_loop): New procedure, factored out from ...
12124         (my_continue): ... this.
12125         (step_ten_loops): Change parameter from test message to command to
12126         use.  Adjust.
12127         (list_count): Delete global.
12128         (check_result): New procedure, factored out from duplicate top
12129         level code.
12130         (continue tests): Wrap in with_test_prefix.
12131         (test_step): New procedure, factored out from duplicate top level
12132         code.
12133         (top level): Test "step" in combination with all scheduler-locking
12134         modes.  Test "next" in combination with all scheduler-locking
12135         modes, and in combination with stepping over a function call or
12136         not.
12137         * gdb.threads/next-bp-other-thread.c: New file.
12138         * gdb.threads/next-bp-other-thread.exp: New file.
12139
12140 2014-10-29  Pedro Alves  <palves@redhat.com>
12141
12142         PR python/17372
12143         * gdb.python/python.exp: Test a multi-line command that spawns
12144         interactive Python.
12145         * gdb.base/multi-line-starts-subshell.exp: New file.
12146
12147 2014-10-29  Yao Qi  <yao@codesourcery.com>
12148
12149         * gdb.base/fileio.exp: Make directories on host.
12150
12151 2014-10-29  Yao Qi  <yao@codesourcery.com>
12152
12153         * gdb.base/fileio.c (test_write): Close the file.
12154
12155 2014-10-28  Pedro Alves  <palves@redhat.com>
12156
12157         PR gdb/12623
12158         * gdb.base/sigstep.c (no_handler): New global.
12159         (main): If 'no_handler is true, set the signal handlers to
12160         SIG_IGN.
12161         * gdb.base/sigstep.exp (breakpoint_over_handler): Add
12162         with_sw_watch and no_handler parameters.  Handle them.
12163         (top level) <stepping over handler when stopped at a breakpoint
12164         test>: Add a test axis for testing with a software watchpoint, and
12165         another for testing with the signal handler set to SIG_IGN.
12166         * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
12167         * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
12168
12169 2014-10-28  Pedro Alves  <palves@redhat.com>
12170
12171         PR gdb/17511
12172         * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
12173         * gdb.base/sigstep.exp (other_handler_location): New global.
12174         (advance): Support stepping into the signal handler, and running
12175         commands while in the handler.
12176         (in_handler_map): New global.
12177         (top level): In the advance test, add combinations for getting
12178         into the handler with stepping commands, and for running commands
12179         in the handler.  Add comment descripting the advancei tests.
12180
12181 2014-10-28  Pedro Alves  <palves@redhat.com>
12182
12183         * gdb.base/sigstep.exp: Use build_executable instead of
12184         prepare_for_testing.
12185         (top level): Move code that starts GDB, runs to main and creates a
12186         display to ...
12187         (restart): ... this new procedure.
12188         (top level): Move backtrace from signal handler test to ...
12189         (validate_backtrace): ... this new procedure.
12190         (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
12191         with_test_prefix.  Always restart GDB.
12192         (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
12193         with_test_prefix.  Always restart GDB.  No need to delete
12194         breakpoints after the test.
12195         (test_skip_handler): Remove prefix parameter.
12196         (skip_over_handler, breakpoint_to_handler)
12197         (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
12198         parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
12199         restart GDB.  No need to delete breakpoints after the test.
12200         (top level): Use foreach to call the test procedures with
12201         different commands.
12202
12203 2014-10-28  Pedro Alves  <palves@redhat.com>
12204
12205         * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
12206         instead of GNATS numbers.
12207         * gdb.base/sigbpt.exp: Likewise.
12208         * gdb.base/siginfo.exp: Likewise.
12209         * gdb.base/sigstep.exp: Likewise.
12210
12211 2014-10-27  Pedro Alves  <palves@redhat.com>
12212
12213         * gdb.base/sigstep.c (dummy): New global.
12214         (main): Issue a couple writes to the new global.
12215         * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
12216         procedures.
12217         (skip_over_handler): Use test_skip_handler.
12218         (top level): Call skip_over_handler for stepi and nexti too.
12219         (breakpoint_over_handler): Use test_skip_handler.
12220         (top level): Call breakpoint_over_handler for stepi and nexti too.
12221
12222 2014-10-27  Yao Qi  <yao@codesourcery.com>
12223
12224         * gdb.trace/tfile.c (adjust_function_address)
12225         [__powerpc64__ && _CALL_ELF != 2]: Get function address from
12226         function descriptor.
12227
12228 2014-10-24  Don Breazeal  <donb@codesourcery.com>
12229
12230         * gdb.base/foll-fork.exp (test_follow_fork,
12231         catch_fork_child_follow): Check for updated fork messages emitted
12232         from infrun.c.
12233         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
12234         vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
12235         vfork_and_exec_child_follow_through_step): Check for updated vfork
12236         messages emitted from infrun.c.
12237
12238 2014-10-24  Pedro Alves  <palves@redhat.com>
12239
12240         * gdb.base/corefile.exp: Remove references to ultrix.
12241         * gdb.base/interrupt.exp: Likewise.
12242         * gdb.base/whatis.exp: Likewise.
12243         * gdb.gdb/selftest.exp: Likewise.
12244         * gdb.threads/manythreads.exp: Likewise.
12245         * gdb.threads/print-threads.exp: Likewise.
12246         * gdb.threads/pthreads.exp:: Likewise.
12247         * gdb.threads/schedlock.exp: Likewise.
12248
12249 2014-10-24  Siva Chandra Reddy  <sivachandra@google.com>
12250
12251         * gdb.cp/non-trivial-retval.cc: Add a test case.
12252         * gdb.cp/non-trivial-retval.exp: Add a test.
12253
12254 2014-10-20  Yao Qi  <yao@codesourcery.com>
12255
12256         * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
12257         * gdb.python/py-objfile-script-gdb.py: New file.
12258         * gdb.python/py-objfile-script.exp: Update reference to
12259         py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
12260         of remote_download.  Remove the dest file.
12261
12262 2014-10-20  Yao Qi  <yao@codesourcery.com>
12263
12264         * gdb.base/checkpoint.exp: Don't remove file copied on host.
12265         * gdb.base/step-line.exp: Likewise.
12266         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12267         * gdb.dwarf2/dw2-basic.exp: Likewise.
12268         * gdb.dwarf2/dw2-compressed.exp: Likewise.
12269         * gdb.dwarf2/dw2-filename.exp: Likewise.
12270         * gdb.dwarf2/dw2-intercu.exp: Likewise.
12271         * gdb.dwarf2/dw2-intermix.exp: Likewise.
12272         * gdb.dwarf2/dw2-producer.exp: Likewise.
12273         * gdb.dwarf2/mac-fileno.exp: Likewise.
12274         * gdb.python/py-frame-args.exp: Likewise.
12275         * gdb.python/py-framefilter.exp: Likewise.
12276         * gdb.python/py-mi.exp: Likewise.
12277         * gdb.python/py-objfile-script.exp: Likewise
12278         * gdb.python/py-pp-integral.exp: Likewise.
12279         * gdb.python/py-pp-re-notag.exp: Likewise.
12280         * gdb.python/py-prettyprint.exp: Likewise.
12281         * gdb.python/py-section-script.exp: Likewise.
12282         * gdb.python/py-typeprint.exp: Likewise.
12283         * gdb.python/py-xmethods.exp: Likewise.
12284         * gdb.stabs/weird.exp: Likewise.
12285         * gdb.xml/tdesc-regs.exp: Likewise.
12286
12287 2014-10-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
12288
12289         * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
12290         (out_cu): Use addr_len for the size of addresses.
12291         (out_line): Likewise.  Size DW_LNE_set_address instruction
12292         according to addr_len.
12293         * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
12294         (FUNC): Add START_INSNS to definition.
12295
12296 2014-10-18  Yao Qi  <yao@codesourcery.com>
12297
12298         * gdb.base/argv0-symlink.exp: Check argv[0] value if
12299         gdb_has_argv0 return true.
12300         * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
12301         check [target_info exists noargs], check [gdb_has_argv0]
12302         instead.
12303         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12304         * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
12305         procedures.
12306
12307 2014-10-17  Doug Evans  <dje@google.com>
12308
12309         * gdb.python/py-events.exp: Update expected output for clear_objfiles
12310         event.
12311         * gdb.python/py-events.py: Add clear_objfiles event.
12312
12313 2014-10-17  Doug Evans  <dje@google.com>
12314
12315         * gdb.python/py-objfile.exp: Test progspace attribute.
12316
12317 2014-10-17  Luis Machado  <lgustavo@codesourcery.com>
12318
12319         * gdb.guile/scm-breakpoint.exp: Do not assume any
12320         directory separators when matching source file paths.
12321         * gdb.python/py-breakpoint.exp: Likewise.
12322         * gdb.reverse/break-precsave.exp: Likewise.
12323         * gdb.reverse/break-reverse.exp: Likewise.
12324         * gdb.reverse/consecutive-precsave.exp: Likewise.
12325         * gdb.reverse/finish-precsave.exp: Likewise.
12326         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
12327         * gdb.reverse/finish-reverse.exp: Likewise.
12328         * gdb.reverse/i386-precsave.exp: Likewise.
12329         * gdb.reverse/i387-env-reverse.exp: Likewise.
12330         * gdb.reverse/i387-stack-reverse.exp: Likewise.
12331         * gdb.reverse/machinestate-precsave.exp: Likewise.
12332         * gdb.reverse/machinestate.exp: Likewise.
12333         * gdb.reverse/sigall-precsave.exp: Likewise.
12334         * gdb.reverse/solib-precsave.exp: Likewise.
12335         * gdb.reverse/step-precsave.exp: Likewise.
12336         * gdb.reverse/until-precsave.exp: Likewise.
12337         * gdb.reverse/watch-precsave.exp: Likewise.
12338         * gdb.reverse/watch-reverse.exp: Likewise.
12339
12340 2014-10-17  Yao Qi  <yao@codesourcery.com>
12341
12342         * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
12343         * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
12344
12345 2014-10-17  Pedro Alves  <palves@redhat.com>
12346
12347         PR gdb/17471
12348         * gdb.base/bg-execution-repeat.c: New file.
12349         * gdb.base/bg-execution-repeat.exp: New file.
12350
12351 2014-10-17  Pedro Alves  <palves@redhat.com>
12352
12353         PR gdb/17300
12354         * gdb.base/continue-all-already-running.c: New file.
12355         * gdb.base/continue-all-already-running.exp: New file.
12356
12357 2014-10-17  Pedro Alves  <palves@redhat.com>
12358
12359         PR gdb/17472
12360         * gdb.base/annota-input-while-running.c: New file.
12361         * gdb.base/annota-input-while-running.exp: New file.
12362
12363 2014-10-17  Pedro Alves  <palves@redhat.com>
12364
12365         * gdb.base/callfuncs.exp: emove references to osf.
12366         * gdb.base/sigall.exp: Likewise.
12367         * gdb.gdb/selftest.exp: Likewise.
12368         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12369         * gdb.mi/non-stop.c: Likewise.
12370         * gdb.mi/pthreads.c: Likewise.
12371         * gdb.reverse/sigall-precsave.exp: Likewise.
12372         * gdb.reverse/sigall-reverse.exp: Likewise.
12373         * gdb.threads/pthreads.c: Likewise.
12374         * gdb.threads/pthreads.exp: Likewise.
12375
12376 2014-10-17  Yao Qi  <yao@codesourcery.com>
12377
12378         * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
12379         check 'target_info exists noargs'.
12380         (test_command_prompt_position): Likewise.
12381         (progvar_simple_if_test): Don't check 'target_info exists noargs'.
12382         Remove "set args".
12383         (progvar_simple_while_test): Likewise.
12384         (progvar_complex_if_while_test): Likewise.
12385         (if_while_breakpoint_command_test): Likewise.
12386         (infrun_breakpoint_command_test): Likewise.
12387         (breakpoint_command_test): Likewise.
12388         (watchpoint_command_test): Likewise.
12389         (bp_deleted_in_command_test): Likewise.
12390         (temporary_breakpoint_commands): Likewise.
12391
12392 2014-10-16  Yao Qi  <yao@codesourcery.com>
12393
12394         * gdb.base/remotetimeout.exp: Remove noargs checking.
12395
12396 2014-10-15  Pedro Alves  <palves@redhat.com>
12397
12398         PR breakpoints/9649
12399         * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
12400         * gdb.base/breakpoint-in-ro-region.exp
12401         (probe_target_hardware_step): New procedure.
12402         (top level): Probe hardware stepping and hardware breakpoint
12403         support.  Test stepping through a read-only region, with both
12404         "breakpoint auto-hw" on and off and both "always-inserted" on and
12405         off.
12406
12407 2014-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
12408
12409         * gdb.dlang/demangle.exp: Update for demangling changes.
12410
12411 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12412
12413         * gdb.cp/non-trivial-retval.cc: Add new test cases.
12414         * gdb.cp/non-trivial-retval.exp: Add new tests.
12415
12416 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12417
12418         PR c++/13403
12419         PR c++/15154
12420         * gdb.cp/non-trivial-retval.cc: New file.
12421         * gdb.cp/non-trivial-retval.exp: New file.
12422
12423 2014-10-15  Yao Qi  <yao@codesourcery.com>
12424
12425         * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12426         remote host.
12427
12428 2014-10-15  Yao Qi  <yao@codesourcery.com>
12429
12430         * gdb.python/py-symbol.exp: Match file base name if host is
12431         remote, otherwise match file name with dir name.
12432         * gdb.python/py-symtab.exp: Likewise.
12433         * gdb.python/python.exp: Likewise.
12434
12435 2014-10-15  Yao Qi  <yao@codesourcery.com>
12436
12437         * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12438         pattern.
12439         * gdb.python/py-symtab.exp: Likewise.
12440         * gdb.python/python.exp: Remove trailing ".*".  Fix typo
12441         locationn.
12442
12443 2014-10-14  Joel Brobecker  <brobecker@adacore.com>
12444
12445         * gdb.ada/addr_arith: New testcase.
12446
12447 2014-10-14  Maciej W. Rozycki  <macro@codesourcery.com>
12448
12449         * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12450         * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12451         * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12452         * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12453
12454 2014-10-14  Sergio Durigan Junior  <sergiodj@redhat.com>
12455
12456         * gdb.arch/stap-eval-lang-ada.S: Likewise.
12457         * gdb.arch/stap-eval-lang-ada.c: Likewise.
12458         * gdb.arch/stap-eval-lang-ada.exp: New file.
12459
12460 2014-10-14  Yao Qi  <yao@codesourcery.com>
12461
12462         * gdb.mi/mi-var-child.c (nothing1): New function.
12463         (nothing2): New function.
12464         (do_children_tests): Set function pointers by nothing1 and
12465         nothing2.
12466         * gdb.mi/mi-var-child.exp: Step over new added statements.
12467         Update test to match the new output.
12468         * gdb.mi/var-cmd.c (nothing1): New function.
12469         (nothing2): New function.
12470         (do_children_tests): Set function pointers by  nothing1 and
12471         nothing2.
12472         * gdb.mi/mi-var-display.exp: Update test to match output.
12473         Step to the line specified by $line_dct_nothing.
12474         Increase the number of lines to step.
12475
12476 2014-10-14  Yao Qi  <yao@codesourcery.com>
12477
12478         * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12479         tests.
12480         * gdb.mi/mi2-var-child.exp: Likewise.
12481
12482 2014-10-13  Doug Evans  <dje@google.com>
12483
12484         * gdb.python/py-objfile.exp: Change name of file name test.
12485
12486 2014-10-13  Doug Evans  <dje@google.com>
12487
12488         * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12489         from the start of the CU.
12490
12491 2014-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
12492             Yao Qi  <yao@codesourcery.com>
12493
12494         Fix "save breakpoints" for "catch" command.
12495         * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
12496         Remove -nonewline.  Match also the added "main" line.
12497
12498 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12499
12500         Fix "save breakpoints" for "disable $bpnum" command.
12501         * gdb.base/save-bp.c (main): Add label.
12502         * gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
12503
12504 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12505
12506         * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12507
12508 2014-10-11  Yao Qi  <yao@codesourcery.com>
12509
12510         * gdb.server/server-kill.exp: Execute command
12511         "set remote trace-status-packet on" before "tstatus".
12512
12513 2014-10-11  Yao Qi  <yao@codesourcery.com>
12514
12515         * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12516         (main): Call getppid.
12517         * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12518         and continue to it.  Read variable "server_pid".
12519
12520 2014-10-11  Yao Qi  <yao@codesourcery.com>
12521
12522         * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12523
12524 2014-10-11  Yao Qi  <yao@codesourcery.com>
12525
12526         * gdb.threads/thread-find.exp: Don't execute command
12527         "info threads".
12528         * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12529         * gdb.threads/linux-dp.exp: Don't check the condition
12530         $threads_created equals to zero.
12531
12532 2014-10-10  Pedro Alves  <palves@redhat.com>
12533
12534         * gdb.base/bigcore.exp: Remove references to IRIX.
12535         * gdb.base/funcargs.exp: Likewise.
12536         * gdb.base/interrupt.exp: Likewise.
12537         * gdb.base/mips_pro.exp: Likewise.
12538         * gdb.base/nodebug.exp: Likewise.
12539         * gdb.base/setvar.exp: Likewise.
12540         * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12541
12542 2014-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
12543             Pedro Alves  <palves@redhat.com>
12544
12545         PR symtab/14466
12546         * gdb.base/vdso-warning.c: New file.
12547         * gdb.base/vdso-warning.exp: New file.
12548
12549 2014-10-02  Doug Evans  <dje@google.com>
12550
12551         * gdb.base/structs.c (main): Don't run forever.
12552
12553 2014-10-02  Pedro Alves  <palves@redhat.com>
12554
12555         * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12556         (top level) <stop threads 1, stop threads 2>: Use it.
12557
12558 2014-10-02  Pedro Alves  <palves@redhat.com>
12559
12560         * gdb.threads/break-while-running.exp (test): Add new
12561         'update_thread_list' argument.  Skip "info threads" if false.
12562         (top level): Add new 'update_thread_list' axis.
12563
12564 2014-10-02  Pedro Alves  <palves@redhat.com>
12565
12566         PR breakpoints/17431
12567         * gdb.base/execl-update-breakpoints.c: New file.
12568         * gdb.base/execl-update-breakpoints.exp: New file.
12569
12570 2014-10-01  Pedro Alves  <palves@redhat.com>
12571
12572         * gdb.base/breakpoint-in-ro-region.c: New file.
12573         * gdb.base/breakpoint-in-ro-region.exp: New file.
12574
12575 2014-10-01  Simon Marchi  <simon.marchi@ericsson.com>
12576
12577         * gdb.mi/mi-exit-code.exp: New file.
12578         * gdb.mi/mi-exit-code.c: New file.
12579
12580 2014-09-30  Yao Qi  <yao@codesourcery.com>
12581
12582         * lib/prelink-support.exp (build_executable_own_libs): Error if
12583         the target isn't native.
12584
12585 2014-09-30  Yao Qi  <yao@codesourcery.com>
12586
12587         * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12588         false.
12589
12590 2014-09-22  Pedro Alves  <palves@redhat.com>
12591
12592         * gdb.threads/break-while-running.exp: New file.
12593         * gdb.threads/break-while-running.c: New file.
12594
12595 2014-09-19  Yao Qi  <yao@codesourcery.com>
12596
12597         * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12598         Invoke test.  Restart GDB with --readnow and invoke test again.
12599
12600 2014-09-19  Yao Qi  <yao@codesourcery.com>
12601
12602         * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12603         proc set_breakpoint_on_gcd_function.  Invoke
12604         set_breakpoint_on_gcd_function.  Restart GDB with --readnow and
12605         invoke set_breakpoint_on_gcd_function again.
12606
12607 2014-09-18  Doug Evans  <dje@google.com>
12608
12609         * gdb.dwarf2/symtab-producer.exp: New file.
12610
12611 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12612
12613         * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12614         * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12615         * gdb.base/global-var-nested-by-dso.c: Likewise.
12616         * gdb.base/global-var-nested-by-dso.exp: Likewise.
12617
12618 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12619             Pedro Alves  <palves@redhat.com>
12620
12621         * gdb.base/watch-bitfields.exp: Pass string other than test file
12622         name to prepare_for_testing.
12623         (watch): New procedure.
12624         (expect_watchpoint): Use with_test_prefix.
12625         (top level): Factor out tests to ...
12626         (test_watch_location, test_regular_watch): ... these new
12627         procedures, and use with_test_prefix and gdb_continue_to_end.
12628
12629 2014-09-16  Patrick Palka  <patrick@parcs.ath.cx>
12630
12631         PR breakpoints/12526
12632         * gdb.base/watch-bitfields.exp: New file.
12633         * gdb.base/watch-bitfields.c: New file.
12634
12635 2014-09-16  Pedro Alves  <palves@redhat.com>
12636
12637         * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12638         software and hardware addresses, not software address against
12639         itself.
12640
12641 2014-09-16  Pedro Alves  <palves@redhat.com>
12642
12643         * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12644         * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12645
12646 2014-09-16  Pedro Alves  <palves@redhat.com>
12647
12648         * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12649         files.
12650         * gdb.base/a2-run.exp: Remove all code guarded by istarget
12651         "*-*-vxworks*" throughout.
12652         * gdb.base/break.exp: Likewise.
12653         * gdb.base/default.exp: Likewise.
12654         * gdb.base/scope.exp: Likewise.
12655         * gdb.base/sepdebug.exp: Likewise.
12656         * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12657         throughout.
12658         * gdb.base/run.c: Likewise.
12659         * gdb.base/sepdebug.c: Likewise.
12660         * gdb.hp/gdb.aCC/run.c: Likewise.
12661         * gdb.reverse/until-reverse.c: Likewise.
12662         * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12663
12664 2014-09-16  Yao Qi  <yao@codesourcery.com>
12665
12666         * boards/local-remote-host-native.exp: New file.
12667
12668 2014-09-14  Doug Evans  <xdje42@gmail.com>
12669
12670         * gdb.threads/queue-signal.c (thread_count): New variable.
12671         (thread_count_mutex, thread_count_condvar): New variables.
12672         (incr_thread_count, wait_all_threads_running): New functions.
12673         (main): Wait for all threads to be in their thread functions.
12674
12675 2014-09-13  Doug Evans  <xdje42@gmail.com>
12676
12677         * gdb.threads/queue-signal.c: New file.
12678         * gdb.threads/queue-signal.exp: New file.
12679
12680 2014-09-13  Doug Evans  <xdje42@gmail.com>
12681
12682         * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12683         be consistent with what default_gdb_init uses.
12684         (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12685         the plain text of the prompt.  Add some logging printfs.
12686         * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12687
12688 2014-09-12  Pedro Alves  <palves@redhat.com>
12689
12690         * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12691         gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12692         * gdb.arch/i386-size-overlap.exp: Likewise.
12693         * gdb.arch/i386-size.exp: Likewise.
12694         * gdb.arch/i386-unwind.exp: Likewise.
12695         * gdb.base/a2-run.exp: Likewise.
12696         * gdb.base/break.exp: Likewise.
12697         * gdb.base/charset.exp: Likewise.
12698         * gdb.base/chng-syms.exp: Likewise.
12699         * gdb.base/commands.exp: Likewise.
12700         * gdb.base/dbx.exp: Likewise.
12701         * gdb.base/find.exp: Likewise.
12702         * gdb.base/funcargs.exp: Likewise.
12703         * gdb.base/jit-simple.exp: Likewise.
12704         * gdb.base/reread.exp: Likewise.
12705         * gdb.base/sepdebug.exp: Likewise.
12706         * gdb.base/step-bt.exp: Likewise.
12707         * gdb.cp/mb-inline.exp: Likewise.
12708         * gdb.cp/mb-templates.exp: Likewise.
12709         * gdb.objc/basicclass.exp: Likewise.
12710         * gdb.threads/killed.exp: Likewise.
12711
12712 2014-09-12  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
12713
12714         PR tdep/17379
12715         * gdb.arch/powerpc-stackless.S: New file.
12716         * gdb.arch/powerpc-stackless.exp: New file.
12717
12718 2014-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12719
12720         * gdb.base/attach.c: Include unistd.h.
12721         (main): Call alarm.  Add label postloop.
12722         * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12723         gdb_breakpoint, gdb_continue_to_breakpoint.
12724         (test_command_line_attach_run): Kill ${testpid} in one exit path.
12725
12726 2014-09-11  Pedro Alves  <palves@redhat.com>
12727
12728         PR gdb/17347
12729         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12730         * gdb.base/attach.exp (test_command_line_attach_run): New
12731         procedure.
12732         (top level): Call it.
12733
12734 2014-09-11  Pedro Alves  <palves@redhat.com>
12735
12736         * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12737         * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12738         (do_command_attach_tests): Use spawn_wait_for_attach.
12739         * gdb.base/solib-overlap.exp: Likewise.
12740         * gdb.multi/multi-attach.exp: Likewise.
12741         * gdb.python/py-prompt.exp: Likewise.
12742         * gdb.python/py-sync-interp.exp: Likewise.
12743         * gdb.server/ext-attach.exp: Likewise.
12744
12745 2014-09-11  Gabriel Krisman Bertazi  <gabriel@krisman.be>
12746
12747         * gdb.fortran/array-element.exp: Remove unexpected "continue"
12748         command in testcase.  Simplify testcase.
12749
12750 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12751
12752         * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12753
12754 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12755
12756         * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12757
12758 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12759
12760         * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12761
12762 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12763
12764         * gdb.dwarf2/dynarr-ptr.c: New file.
12765         * gdb.dwarf2/dynarr-ptr.exp: New file.
12766
12767 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12768
12769         * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12770         of 30 rather than hardcoding 120 for a slow test case.  Take the
12771         `gdb,timeout' target setting into account for this calculation.
12772         Don't extend the timeout for the test cases that don't need it.
12773
12774 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12775
12776         * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12777         a factor of 2 for a slow test case.  Take the `gdb,timeout'
12778         target setting into account for this calculation.
12779         * gdb.reverse/until-precsave.exp: Increase the timeout by
12780         a factor of 15 and 3 respectively rather than adding 120
12781         for a pair of slow test cases.  Take the `gdb,timeout'
12782         target setting into account for this calculation.
12783
12784 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12785
12786         * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12787         timeout, don't pass one down to gdb_expect.
12788         (gdb_expect): Rework timeout selection.
12789
12790 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12791
12792         * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12793         exception on timeout.
12794         (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12795         (gdbserver_start_extended): Catch any `gdbserver_start' error
12796         exceptions.
12797         (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12798         * lib/mi-support.exp (mi_gdb_target_load): Catch any
12799         `gdbserver_gdb_load' error exceptions.
12800
12801 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12802
12803         * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12804         120 on waiting for the TCP socket to open.
12805
12806 2014-09-09  Doug Evans  <xdje42@gmail.com>
12807
12808         * gdb.base/default.exp (show_conv_list): Add _caller_is,
12809         _caller_matches, _any_caller_is, _any_caller_matches.
12810
12811 2014-09-09  Doug Evans  <xdje42@gmail.com>
12812
12813         * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12814
12815 2014-09-09  Yao Qi  <yao@codesourcery.com>
12816
12817         * gdb.mi/mi-var-display.exp: Set print symbol off.
12818
12819 2014-09-07  Gabriel Krisman Bertazi  <gabriel@krisman.be>
12820
12821         PR gdb/17035
12822         * gdb.base/commands.exp: Add tests to verify user-defined
12823         commands with empty bodies.
12824         * gdb.python/py-cmd.exp: Test that we don't show user-defined
12825         python commands in `show user command`.
12826         * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12827         scheme commands in `show user command`.
12828
12829 2014-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
12830
12831         PR python/17355
12832         * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12833         * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12834         * gdb.python/py-framefilter-invalidarg.exp: New file.
12835         * gdb.python/py-framefilter-invalidarg.py: New file.
12836
12837 2014-09-06  Doug Evans  <xdje42@gmail.com>
12838
12839         PR 15276
12840         * gdb.python/py-caller-is.c: New file.
12841         * gdb.python/py-caller-is.exp: New file.
12842
12843 2014-09-05  Sergio Durigan Junior  <sergiodj@redhat.com>
12844
12845         PR gdb/17235
12846         * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12847         * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12848
12849 2014-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
12850
12851         PR fortran/17237
12852         * gdb.fortran/print-formatted.exp: New file.
12853         * gdb.fortran/print-formatted.f90: Likewise.
12854
12855 2014-09-03  Sasha Smundak  <asmundak@google.com>
12856
12857         * gdb.python/py-frame.exp: Test Frame.read_register.
12858
12859 2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
12860
12861         PR python/16699
12862         * gdb.python/py-completion.exp: New file.
12863         * gdb.python/py-completion.py: Likewise.
12864
12865 2014-08-28  Doug Evans  <dje@google.com>
12866
12867         * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12868         eax,etc. are live with values set by gdb and thus the compiler can't
12869         use them.
12870         * gdb.arch/i386-pseudo.c (main): Ditto.
12871
12872 2014-08-27  Doug Evans  <dje@google.com>
12873
12874         * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12875
12876 2014-08-25  Doug Evans  <dje@google.com>
12877
12878         * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12879         (main): Ditto.
12880
12881 2014-08-25  Doug Evans  <dje@google.com>
12882
12883         * gdb.threads/thread-execl.exp: #include <stdio.h>.
12884
12885 2014-08-24  Yao Qi  <yao@codesourcery.com>
12886
12887         * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12888         symbol off.
12889         * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12890
12891 2014-08-22  Doug Evans  <dje@google.com>
12892
12893         PR 17276
12894         * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12895         * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12896         * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12897
12898 2014-08-22  Yao Qi  <yao@codesourcery.com>
12899
12900         * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12901         * gdb.python/py-finish-breakpoint2.exp: Likewise.
12902         * gdb.python/python.exp: Likewise.  Use .py file on the host
12903         instead of the build.
12904
12905 2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
12906
12907         * gdb.threads/gcore-stale-thread.c: New file.
12908         * gdb.threads/gcore-stale-thread.exp: New file.
12909
12910 2014-08-21  Pedro Alves  <palves@redhat.com>
12911
12912         * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12913         * gdb.base/gcore-relro-pie.exp: Likewise.
12914         * gdb.base/gcore-relro.exp: Likewise.
12915         * gdb.base/gcore.exp: Likewise.
12916         * gdb.base/print-symbol-loading.exp: Likewise.
12917         * gdb.threads/gcore-thread.exp: Likewise.
12918         * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12919
12920 2014-08-20  Pedro Alves  <palves@redhat.com>
12921             Jan Kratochvil  <jan.kratochvil@redhat.com>
12922
12923         * Makefile.in (EXTRA_RULES, CC): New variables, get from
12924         configure.
12925         (EXPECT): Handle READ1 being set.
12926         (all): Depend on EXTRA_RULES.
12927         (check-read1, expect-read1, read1.so, read1): New rules.
12928         * README (Testsuite Parameters): Document the READ1 make variable.
12929         (Race detection): New section.
12930         * configure: Regenerate.
12931         * configure.ac: If build==host==target, and running under a
12932         GNU/glibc system, add read1 to the extra Makefile rules.
12933         (EXTRA_RULES): AC_SUBST it.
12934         * lib/read1.c: New file.
12935
12936 2014-08-20  Joel Brobecker  <brobecker@adacore.com>
12937
12938         * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12939         the handling of variables declared as a typedef to an array
12940         which a DW_AT_data_location attribute.
12941
12942 2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
12943             Pedro Alves  <palves@redhat.com>
12944
12945         PR symtab/14604
12946         PR symtab/14605
12947         * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12948         gdb_test.
12949
12950 2014-08-19  Pedro Alves  <palves@redhat.com>
12951
12952         * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
12953
12954 2014-08-19  Yao Qi  <yao@codesourcery.com>
12955
12956         * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
12957         right line.
12958
12959 2014-08-18  David Blaikie  <dblaikie@gmail.com>
12960
12961         * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
12962
12963 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
12964
12965         * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
12966         attribute in array range.
12967
12968 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
12969
12970         * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
12971
12972 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
12973
12974         PR c++/17132
12975         * gdb.cp/pr17132.cc: New file.
12976         * gdb.cp/pr17132.exp: New file.
12977
12978 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
12979
12980         * gdb.python/py-xmethods.py (A_getarrayind)
12981         (E_method_char_worker.__call__, E_method_int_worker.__call__):
12982         Use 'print' with function call syntax.
12983         (E_method_matcher.match): Fix tab vs space indentation mixup.
12984
12985 2014-08-15  Yao Qi  <yao@codesourcery.com>
12986
12987         * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
12988         false.
12989
12990 2014-08-15  Yao Qi  <yao@codesourcery.com>
12991
12992         * gdb.cp/casts.exp: Set print symbol off.
12993         * gdb.cp/class2.exp: Likewise.
12994         * gdb.cp/overload.exp: Likewise.
12995         * gdb.cp/templates.exp: Likewise.
12996
12997 2014-08-11  Doug Evans  <dje@google.com>
12998
12999         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
13000         (test_load_shlib): Update.
13001
13002 2014-08-09  Yao Qi  <yao@codesourcery.com>
13003
13004         * gdb.base/display.exp: Invoke is_address_zero_readable.
13005         * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
13006         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13007         * gdb.base/hbreak-unmapped.exp: Return if
13008         is_address_zero_readable returns true.
13009         * gdb.base/signest.exp: Likewise.
13010         * gdb.base/signull.exp: Likewise.
13011         * gdb.base/sigbpt.exp: Likewise.
13012         * gdb.guile/scm-disasm.exp: Do the test if
13013         is_address_zero_readable returns false.
13014         * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
13015         * gdb.python/py-arch.exp: Likewise.
13016         * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
13017         * lib/gdb.exp (is_address_zero_readable): New proc.
13018
13019 2014-08-09  Yao Qi  <yao@codesourcery.com>
13020
13021         PR testsuite/13443
13022         * gdb.mi/mi-var-display.exp: Make test messages unique.
13023
13024 2014-08-04  Tom Tromey  <tromey@redhat.com>
13025
13026         * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
13027         target 0".
13028
13029 2014-08-04  Tom Tromey  <tromey@redhat.com>
13030
13031         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
13032         "target_resume".
13033
13034 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
13035
13036         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
13037         inner_vla_struct_object_size.
13038         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
13039         as xfail.
13040
13041 2014-07-30  Pedro Alves  <palves@redhat.com>
13042
13043         * gdb.threads/signal-command-handle-nopass.exp (test): Add
13044         comment.
13045
13046 2014-07-29  Yao Qi  <yao@codesourcery.com>
13047
13048         PR gdb/17206
13049         * gdb.base/until-nodebug.exp: New.
13050
13051 2014-07-28  Doug Evans  <xdje42@gmail.com>
13052
13053         PR guile/17203
13054         * gdb.guile/scm-parameter.exp: Add tests for trying to create
13055         previously existing parameter, and previously ambiguously spelled
13056         parameter.
13057
13058 2014-07-28  Will Newton  <will.newton@linaro.org>
13059
13060         * gdb.base/varargs.exp: Remove KFAILs for ARM.
13061
13062 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
13063             Doug Evans  <xdje42@gmail.com>
13064
13065         PR guile/17146
13066         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
13067
13068 2014-07-25  Pedro Alves  <palves@redhat.com>
13069
13070         * gdb.threads/signal-command-handle-nopass.c: New file.
13071         * gdb.threads/signal-command-handle-nopass.exp: New file.
13072         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
13073         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
13074         * gdb.threads/signal-delivered-right-thread.c: New file.
13075         * gdb.threads/signal-delivered-right-thread.exp: New file.
13076
13077 2014-07-25  Pedro Alves  <palves@redhat.com>
13078
13079         * gdb.base/double-prompt-target-event-error.exp
13080         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
13081         match.
13082         (cancel_pagination_in_target_event): Rework double prompt
13083         detection.
13084         * gdb.base/paginate-after-ctrl-c-running.exp
13085         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
13086         <return>' match.
13087         * gdb.base/paginate-bg-execution.exp
13088         (test_bg_execution_pagination_return)
13089         (test_bg_execution_pagination_cancel): Remove '-notransfer
13090         <return>' matches.
13091         * gdb.base/paginate-execution-startup.exp
13092         (test_fg_execution_pagination_return)
13093         (test_fg_execution_pagination_cancel): Remove '-notransfer
13094         <return>' matches.
13095         * gdb.base/paginate-inferior-exit.exp
13096         (test_paginate_inferior_exited): Remove '-notransfer <return>'
13097         match.
13098         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13099         * lib/gdb.exp (pagination_prompt): Run text through
13100         string_to_regexp.
13101         (gdb_test_multiple): Match $pagination_prompt instead of
13102         "<return>".
13103         (string_to_regexp): Move to lib/gdb-utils.exp.
13104
13105 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
13106
13107         * gdb.arch/amd64-entry-value-paramref.S: New file.
13108         * gdb.arch/amd64-entry-value-paramref.cc: New file.
13109         * gdb.arch/amd64-entry-value-paramref.exp: New file.
13110         * gdb.arch/amd64-optimout-repeat.S: New file.
13111         * gdb.arch/amd64-optimout-repeat.c: New file.
13112         * gdb.arch/amd64-optimout-repeat.exp: New file.
13113
13114 2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
13115
13116         PR gdb/17170
13117         * gdb.base/statistics.exp: New file.
13118
13119 2014-07-17  Doug Evans  <dje@google.com>
13120
13121         PR gdb/17170
13122         * gdb.base/maint.exp: Update testing of per-command stats.
13123
13124 2014-07-16  Pedro Alves  <palves@redhat.com>
13125
13126         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13127         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13128         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
13129         (tfile_write_buf): New functions.
13130         (add_memory_block): Rewrite using the above.
13131         (adjust_function_address): New function.
13132         (FUNCTION_ADDRESS): New macro.
13133         (write_basic_trace_file): Remove short_x local, and use
13134         tfile_write_16. Change type of func_addr local to unsigned long
13135         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
13136         here.  Cast argument of add_memory_block to char pointer.
13137         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
13138         (main): Remove parameters.
13139         * gdb.trace/tfile.exp: Remove nowarnings.
13140
13141 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
13142
13143         * gdb.base/debug-expr.exp: Test string evaluation with
13144         "debug expression" on.
13145
13146 2014-07-15  Pedro Alves  <palves@redhat.com>
13147
13148         * gdb.base/reread.exp: Use clean_restart.
13149
13150 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
13151
13152         * gdb.arch/avr-flash-qualifer.c: New.
13153         * gdb.arch/avr-flash-qualifer.exp: New.
13154
13155 2014-07-14  Pedro Alves  <palves@redhat.com>
13156
13157         * gdb.base/paginate-after-ctrl-c-running.c: New file.
13158         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
13159
13160 2014-07-14  Pedro Alves  <palves@redhat.com>
13161
13162         * gdb.base/double-prompt-target-event-error.c: New file.
13163         * gdb.base/double-prompt-target-event-error.exp: New file.
13164
13165 2014-07-14  Pedro Alves  <palves@redhat.com>
13166
13167         PR gdb/17072
13168         * gdb.base/paginate-inferior-exit.c: New file.
13169         * gdb.base/paginate-inferior-exit.exp: New file.
13170
13171 2014-07-14  Pedro Alves  <palves@redhat.com>
13172
13173         PR gdb/17072
13174         * gdb.base/paginate-bg-execution.c: New file.
13175         * gdb.base/paginate-bg-execution.exp: New file.
13176
13177 2014-07-14  Pedro Alves  <palves@redhat.com>
13178
13179         PR gdb/17072
13180         * gdb.base/paginate-execution-startup.c: New file.
13181         * gdb.base/paginate-execution-startup.exp: New file.
13182         * lib/gdb.exp (pagination_prompt): New global.
13183         (default_gdb_spawn): New procedure, factored out from
13184         default_gdb_spawn.
13185         (default_gdb_start): Adjust to call default_gdb_spawn.
13186         (gdb_spawn): New procedure.
13187
13188 2014-07-14  Pedro Alves  <palves@redhat.com>
13189
13190         * lib/gdb.exp (gdb_assert): New procedure.
13191         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
13192
13193 2014-07-14  Pedro Alves  <palves@redhat.com>
13194
13195         * gdb.base/execution-termios.c: New file.
13196         * gdb.base/execution-termios.exp: New file.
13197
13198 2014-07-14  Tom Tromey  <tromey@redhat.com>
13199
13200         * gdb.cp/vla-cxx.cc: New file.
13201         * gdb.cp/vla-cxx.exp: New file.
13202
13203 2014-07-14  Tom Tromey  <tromey@redhat.com>
13204
13205         * gdb.reverse/rerun-prec.c: New file.
13206         * gdb.reverse/rerun-prec.exp: New file.
13207
13208 2014-07-12  Maciej W. Rozycki  <macro@mips.com>
13209             Maciej W. Rozycki  <macro@codesourcery.com>
13210
13211         * lib/gdb-utils.exp: New file.
13212         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
13213         inline `gdb_init_command' processing.
13214         (gdb_start_cmd): Likewise.
13215         * lib/mi-support.exp (mi_run_cmd): Likewise.
13216         * README: Document `gdb_init_command' and `gdb_init_commands'.
13217
13218 2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13219
13220         Fix false FAIL running under a very long directory name.
13221         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
13222         and "set print elements 10000".  Twice.
13223
13224 2014-07-11  Yao Qi  <yao@codesourcery.com>
13225
13226         * gdb.base/exprs.exp: "set print symbol off".
13227
13228 2014-07-11  Pedro Alves  <palves@redhat.com>
13229
13230         * gdb.threads/kill.c: New file.
13231         * gdb.threads/kill.exp: New file.
13232
13233 2014-07-10  Yao Qi  <yao@codesourcery.com>
13234
13235         * gdb.trace/tfile.c (write_basic_trace_file)
13236         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
13237         address written to trace file.
13238
13239 2014-07-09  Pedro Alves  <palves@redhat.com>
13240
13241         * gdb.base/attach-wait-input.exp: New file.
13242         * gdb.base/attach-wait-input.c: New file.
13243
13244 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
13245
13246         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
13247         setting up test structures.
13248         (main): Call new test function.
13249         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
13250         test function, continue into test function and walk test
13251         structures.
13252
13253 2014-07-02  Yao Qi  <yao@codesourcery.com>
13254
13255         * gdb.trace/entry-values.c: Define labels 'foo_start' and
13256         'bar_start' at the beginning of functions 'foo' and 'bar'
13257         respectively.
13258         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
13259         instead of 'foo' and 'bar'.
13260
13261 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
13262
13263         * gdb.btrace/segv.exp: New.
13264         * gdb.btrace/segv.c: New.
13265
13266 2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
13267
13268         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
13269         instruction.
13270
13271 2014-06-30  Mark Wielaard  <mjw@redhat.com>
13272
13273         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
13274         vulture, vilify, villar): New volatile array constants.
13275         (vindictive, vegetation): New const volatile array constants.
13276         * gdb.base/volatile.exp: Test volatile and const volatile array
13277         types.
13278
13279 2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13280
13281         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
13282         target lacks support for awatch, rwatch, or hbreak.
13283
13284 2014-06-27  Yao Qi  <yao@codesourcery.com>
13285
13286         * gdb.multi/dummy-frame-restore.exp: New.
13287         * gdb.multi/dummy-frame-restore.c: New.
13288
13289 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
13290
13291         * gdb.btrace/gcore.exp: New.
13292
13293 2014-06-23  Pedro Alves  <palves@redhat.com>
13294
13295         * gdb.base/watchpoint-reuse-slot.c: New file.
13296         * gdb.base/watchpoint-reuse-slot.exp: New file.
13297
13298 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
13299
13300         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
13301         progspace's filename in 'info', 'enable' and 'disable' command
13302         tests.
13303
13304 2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
13305
13306         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
13307         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13308         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
13309
13310 2014-06-20  Gary Benson  <gbenson@redhat.com>
13311
13312         * gdb.arch/i386-avx.exp: Fix include file location.
13313         * gdb.arch/i386-sse.exp: Likewise.
13314
13315 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
13316
13317         * gdb.dlang/expression.exp: New file.
13318
13319 2014-06-19  Pedro Alves  <palves@redhat.com>
13320
13321         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
13322         out from ...
13323         (top level): ... here.  Iterate running tests under different
13324         scheduler-locking settings.
13325
13326 2014-06-18  Luis Machado  <lgustavo@codesourcery.com>
13327
13328         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
13329         to DW_FORM_addr and use non-zero addresses.
13330
13331 2014-06-18  Siva Chandra Reddy  <sivachandra@google.com>
13332
13333         PR gdb/17017
13334         * gdb.python/py-xmethods.cc: Add global function call counters and
13335         increment them in their respective functions.  Remove "cout"
13336         statements.
13337         * gdb.python/py-xmethods.exp: Make tests check the global function
13338         call counters instead of depending on inferior IO.
13339
13340 2014-06-18  Don Breazeal  <donb@codesourcery.com>
13341
13342         * gdb.base/foll-fork.exp (default_fork_parent_follow):
13343         Deleted procedure.
13344         (explicit_fork_parent_follow): Deleted procedure.
13345         (explicit_fork_child_follow): Deleted procedure.
13346         (test_follow_fork): New procedure.
13347         (do_fork_tests): Replace calls to deleted procedures with
13348         calls to test_follow_fork and reset GDB for subsequent
13349         procedure calls.
13350
13351 2014-06-17  Yao Qi  <yao@codesourcery.com>
13352
13353         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
13354         CP1252.
13355
13356 2014-06-17  Luis Machado  <lgustavo@codesourcery.com>
13357
13358         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
13359         Initialize ptr and S explicitly.
13360         (skip_type_update_when_not_use_rtti_test): Likewise.
13361
13362 2014-06-16  Keith Seitz  <keiths@redhat.com>
13363
13364         PR mi/15863
13365         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
13366         the inferior is started.
13367
13368 2014-06-16  Pedro Alves  <palves@redhat.com>
13369
13370         * gdb.base/break-main-file-remove-fail.c: New file.
13371         * gdb.base/break-main-file-remove-fail.exp: New file.
13372         * gdb.base/break-unload-file.exp: Use build_executable instead of
13373         prepare_for_testing.
13374         (test_break): New parameter "initial_load".  Handle it.
13375         (top level): Add initial_load cmdline/file axis.
13376
13377 2014-06-12  Tom Tromey  <tromey@redhat.com>
13378
13379         * gdb.base/completion.exp: Don't use directory name in test.
13380
13381 2014-06-09  Gary Benson  <gbenson@redhat.com>
13382
13383         * gdb.base/sigall.c [Functions to send signals]: Reorder to
13384         separate the always-available ANSI-standard signals from the
13385         signals that require checking.
13386         (main): Likewise.
13387         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
13388         Likewise.
13389         (main): Likewise.
13390
13391 2014-06-07  Keith Seitz  <keiths@redhat.com>
13392
13393         Revert:
13394         PR c++/16253
13395         * gdb.cp/var-tag.cc: New file.
13396         * gdb.cp/var-tag.exp: New file.
13397         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13398         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13399         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13400         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13401
13402 2014-06-06  Doug Evans  <xdje42@gmail.com>
13403
13404         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
13405
13406 2014-06-06  Pedro Alves  <palves@redhat.com>
13407
13408         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
13409         in target debug output instead of looking at RSP packets,
13410         disabling the test on any target that uses hardware stepping.
13411         Update comments.
13412
13413 2014-06-06  Pedro Alves  <palves@redhat.com>
13414
13415         * gdb.base/break-unload-file.exp: Fix typo.
13416
13417 2014-06-06  Yao Qi  <yao@codesourcery.com>
13418
13419         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13420         from "jit_function" to "^jit_function".
13421
13422 2014-06-06  Yao Qi  <yao@codesourcery.com>
13423
13424         * gdb.base/async.c (foo): Add one statement.
13425         * gdb.base/async.exp: Get the next instruction address and
13426         match the output of "nexti" by instruction address.  Match
13427         the hex address in the output of "finish".
13428
13429 2014-06-06  Gary Benson  <gbenson@redhat.com>
13430
13431         * gdb.base/call-signals.c: Remove preprocessor conditionals
13432         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13433         SIGSEGV and SIGTERM.
13434         * gdb.base/sigall.c: Likewise.
13435         * gdb.base/unwindonsignal.c: Likewise.
13436         * gdb.reverse/sigall-reverse.c: Likewise.
13437
13438 2014-06-06  Yao Qi  <yao@codesourcery.com>
13439
13440         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
13441         readable, skip the test.
13442
13443 2014-06-06  Yao Qi  <yao@codesourcery.com>
13444
13445         * gdb.threads/staticthreads.c (thread_function): Move the line
13446         setting breakpoint on forward.
13447         * gdb.threads/staticthreads.exp: Update comments.
13448
13449 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
13450
13451         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13452         "history-append! type error".
13453
13454 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
13455
13456         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13457         erroneous dprintf expected input.
13458
13459 2014-06-04  Doug Evans  <xdje42@gmail.com>
13460
13461         * gdb.guile/scm-generics.exp: Delete.
13462
13463 2014-06-04  Doug Evans  <xdje42@gmail.com>
13464
13465         * gdb.guile/scm-breakpoint.exp: Update.
13466         Add tests for breakpoint registration.
13467
13468 2014-06-04  Tom Tromey  <tromey@redhat.com>
13469
13470         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13471         VLA-in-union.
13472         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13473         inner_vla_struct, vla_union types.  Initialize objects of those
13474         types and compute their sizes.
13475
13476 2014-06-04  Nathan Sidwell  <nathan@codesourcery.com>
13477             Hui Zhu  <hui@codesourcery.com>
13478
13479         * gdb.base/fileio.exp: Add test for shell not available as well as
13480         available.
13481         * gdb.base/fileio.c (test_system): Check for shell twice.
13482
13483 2014-06-04  Yao Qi  <yao@codesourcery.com>
13484
13485         * gdb.base/auto-connect-native-target.exp: Remove redundant
13486         space from the regexp pattern.
13487
13488 2014-06-04  Yao Qi  <yao@codesourcery.com>
13489
13490         * gdb.base/default.exp: Replace "child" with "native" in
13491         regexp pattern.
13492
13493 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
13494
13495         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
13496         * gdb.python/py-xmethods.exp: New tests to test xmethods.
13497         * gdb.python/py-xmethods.py: Python script supporting the
13498         new testcase and tests.
13499
13500 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
13501             Pedro Alves  <palves@redhat.com>
13502
13503         PR breakpoints/17000
13504         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
13505         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
13506
13507 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
13508
13509         * gdb.base/subst.exp: Add tests to verify partial path matching
13510         output.
13511
13512 2014-06-03  Pedro Alves  <palves@redhat.com>
13513
13514         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13515         target that doesn't use software single-stepping.
13516
13517 2014-06-03  Pedro Alves  <palves@redhat.com>
13518
13519         PR breakpoints/17000
13520         * gdb.base/sss-bp-on-user-bp-2.c: New file.
13521         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13522
13523 2014-06-02  Doug Evans  <xdje42@gmail.com>
13524
13525         * gdb.guile/scm-parameter.exp: New file.
13526
13527 2014-06-02  Doug Evans  <xdje42@gmail.com>
13528
13529         * gdb.guile/scm-cmd.c: New file.
13530         * gdb.guile/scm-cmd.exp: New file.
13531
13532 2014-06-02  Doug Evans  <xdje42@gmail.com>
13533
13534         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13535         pretty-printer lookup.
13536         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13537         (make-pp_s-printer): Call it.
13538         (make-pretty-printer-from-dict): New function.
13539         (lookup-pretty-printer-maker-from-dict): New function.
13540         (*pretty-printer*): Simplify.
13541         (make-objfile-pp_s-printer): New function.
13542         (install-objfile-pretty-printers!): New function.
13543         (make-progspace-pp_s-printer): New function.
13544         (install-progspace-pretty-printers!): New function.
13545         * gdb.guile/scm-progspace.c: New file.
13546         * gdb.guile/scm-progspace.exp: New file.
13547
13548 2014-06-02  Pedro Alves  <palves@redhat.com>
13549
13550         * gdb.base/dprintf-bp-same-addr.c: New file.
13551         * gdb.base/dprintf-bp-same-addr.exp: New file.
13552
13553 2014-06-02  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13554
13555         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13556         * gdb.arch/powerpc-power.s: Likewise.
13557
13558 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
13559
13560         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13561
13562 2014-06-01  Yao Qi  <yao@codesourcery.com>
13563
13564         * gdb.base/watchpoint.exp (test_watch_location): Check null
13565         pointer can be dereferenced.  If not, do the test, otherwise
13566         skip it.
13567
13568 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13569
13570         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13571         results.
13572         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13573
13574 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13575
13576         * gdb.arch/amd64-invalid-stack-middle.S: New file.
13577         * gdb.arch/amd64-invalid-stack-middle.c: New file.
13578         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13579         * gdb.arch/amd64-invalid-stack-top.c: New file.
13580         * gdb.arch/amd64-invalid-stack-top.exp: New file.
13581
13582 2014-05-30  Pedro Alves  <palves@redhat.com>
13583
13584         PR breakpoints/17000
13585         * gdb.base/sss-bp-on-user-bp.c: New file.
13586         * gdb.base/sss-bp-on-user-bp.exp: New file.
13587
13588 2014-05-30  David Blaikie  <dblaikie@gmail.com>
13589
13590         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13591         gnu_inline semantics via attribute.
13592         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13593         source explicitly specifies the required semantics.
13594
13595 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
13596
13597         * gdb.reverse/sigall-reverse.exp: Fix a typo.
13598
13599 2014-05-29  Pedro Alves  <palves@redhat.com>
13600             Tom Tromey  <tromey@redhat.com>
13601
13602         * gdb.base/async-shell.exp: Don't enable target-async.
13603         * gdb.base/async.exp
13604         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13605         parameter.  Adjust.
13606         (top level): Don't test with "target-async".
13607         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13608         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13609         * gdb.base/inferior-died.exp: Don't enable target-async.
13610         * gdb.base/interrupt-noterm.exp: Likewise.
13611         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13612         * gdb.mi/mi-nonstop-exit.exp: Likewise.
13613         * gdb.mi/mi-nonstop.exp: Likewise.
13614         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13615         * gdb.mi/mi-nsintrall.exp: Likewise.
13616         * gdb.mi/mi-nsmoribund.exp: Likewise.
13617         * gdb.mi/mi-nsthrexec.exp: Likewise.
13618         * gdb.mi/mi-watch-nonstop.exp: Likewise.
13619         * gdb.multi/watchpoint-multi.exp: Adjust comment.
13620         * gdb.python/py-evsignal.exp: Don't enable target-async.
13621         * gdb.python/py-evthreads.exp: Likewise.
13622         * gdb.python/py-prompt.exp: Likewise.
13623         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13624         * gdb.server/solib-list.exp: Don't enable target-async.
13625         * gdb.threads/thread-specific-bp.exp: Likewise.
13626         * lib/mi-support.exp: Adjust to use mi-async.
13627
13628 2014-05-29  Pedro Alves  <palves@redhat.com>
13629
13630         PR gdb/13860
13631         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13632         reason, even in sync mode.
13633
13634 2014-05-29  Pedro Alves  <palves@redhat.com>
13635             Hui Zhu  <hui@codesourcery.com>
13636
13637         PR PR15693
13638         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13639         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13640         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13641         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13642
13643 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
13644
13645         * config/monitor.exp (gdb_target_monitor): Replace use of
13646         "set remotebaud" by "set serial baud".
13647
13648 2014-05-26  Andy Wingo  <wingo@igalia.com>
13649
13650         * gdb.guile/scm-breakpoint.exp:
13651         * gdb.guile/scm-gsmob.exp: Update to use plain old object
13652         properties instead of gdb-object-properties.
13653
13654 2014-05-26  Yao Qi  <yao@codesourcery.com>
13655
13656         * gdb.server/no-thread-db.exp: Specify source file name
13657         explicitly when setting a breakpoint.
13658
13659 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13660
13661         * gdb.btrace/vdso.c: New.
13662         * gdb.btrace/vdso.exp: New.
13663
13664 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13665
13666         * gdb.base/gcore.exp (capture_command_output): Move ...
13667         * lib/gdb.exp (capture_command_output): ... here.
13668
13669 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13670
13671         * gdb.btrace/data.exp: Test memory access during btrace replay.
13672
13673 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
13674
13675         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13676
13677 2014-05-21  Pedro Alves  <palves@redhat.com>
13678
13679         PR gdb/13860
13680         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13681         (top level): Test that output related to execution commands is
13682         sent to the console with CLI commands, but not with MI commands.
13683         Test that breakpoint events are always mirrored to the console.
13684         Also expect the new source line to be output after a "next" in
13685         async mode too.  Make it a pass/fail test.
13686         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13687         output.
13688         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13689
13690 2014-05-21  Pedro Alves  <palves@redhat.com>
13691
13692         * gdb.base/list.exp (build_pattern, test_list): New procedures.
13693         Use them to test variations of "list" after reaching a breakpoint.
13694         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13695         Test "list" with listsize 10 after reaching a breakpoint.
13696         * gdb.python/python.exp (decode_line current location line
13697         number): Adjust expected line number.
13698
13699 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
13700
13701         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13702         behavior for $args, pass it directly to "run".
13703
13704 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
13705
13706         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13707         30000 to 65536.
13708
13709 2014-05-21  Pedro Alves  <palves@redhat.com>
13710
13711         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13712         auto-connect-native-target off".
13713         * gdb.base/auto-connect-native-target.c: New file.
13714         * gdb.base/auto-connect-native-target.exp: New file.
13715
13716 2014-05-21  Pedro Alves  <palves@redhat.com>
13717
13718         * gdb.base/default.exp: Test "target native" instead of "target
13719         child".
13720
13721 2014-05-21  Mark Wielaard  <mjw@redhat.com>
13722
13723         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13724
13725 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
13726
13727         Fix TLS access for -static -pthread.
13728         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13729         <HAVE_TLS> (thread_function, main): Initialize it.
13730         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13731         Add clean_restart.
13732         <$have_tls != "">: Check TLSVAR.
13733
13734 2014-05-21  Pedro Alves  <palves@redhat.com>
13735
13736         * gdb.base/dcache-line-read-error.c: New.
13737         * gdb.base/dcache-line-read-error.exp: New.
13738
13739 2014-05-20  Pedro Alves  <palves@redhat.com>
13740
13741         * gdb.base/compare-sections.c: New file.
13742         * gdb.base/compare-sections.exp: New file.
13743
13744 2014-05-20  Pedro Alves  <palves@redhat.com>
13745
13746         * gdb.base/break-idempotent.c: New file.
13747         * gdb.base/break-idempotent.exp: New file.
13748
13749 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
13750
13751         * gdb.btrace/nohist.exp: New.
13752
13753 2014-05-20  Yao Qi  <yao@codesourcery.com>
13754
13755         * lib/gdb.exp (gdb_init): Set timeout if test file is under
13756         gdb.reverse directory and gdb_reverse_timeout exists in board
13757         setting.
13758         * README: Document gdb_reverse_timeout.
13759
13760 2014-05-20  Yao Qi  <yao@codesourcery.com>
13761
13762         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13763         'test_file_name'.  Treat args as a string instead of a list.
13764         (gdb_init): Rename argument 'args' by 'test_file_name'.
13765
13766 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
13767
13768         * gdb.arch/powerpc-power.exp: New file.
13769         * gdb.arch/powerpc-power.s: New file.
13770
13771 2014-05-16  Doug Evans  <dje@google.com>
13772
13773         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
13774         * gdb.base/completion.exp: Check that all expected files exist
13775         before doing file completion.
13776
13777 2014-05-16  Doug Evans  <dje@google.com>
13778
13779         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13780         Update.
13781         (do_syscall_tests_without_xml): Update.
13782
13783 2014-05-16  Pedro Alves  <palves@redhat.com>
13784
13785         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13786         instead of "unknown output after running".
13787
13788 2014-05-16  Yao Qi  <yao@codesourcery.com>
13789
13790         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
13791         file1.txt from host at the end.
13792         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13793
13794 2014-05-15  Doug Evans  <dje@google.com>
13795
13796         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13797         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13798         loading file.  Add test for TU lookup.
13799
13800 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
13801
13802         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13803         calling "-exec-arguments" or "set args" before running the
13804         inferior.
13805
13806 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
13807
13808         * lib/mi-support.exp (mi_expect_stop): Expect message for
13809         inferiors that exit with non-zero exit code.
13810
13811 2014-05-14  Yao Qi  <yao@codesourcery.com>
13812
13813         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13814         match absolute path on remote host.
13815         (test_file_list_exec_source_files): Remove "/" from the
13816         pattern.
13817
13818 2014-05-14  Yao Qi  <yao@codesourcery.com>
13819
13820         * boards/local-remote-host-notty.exp (${board}_file): New
13821         proc.
13822
13823 2014-05-07  Kyle McMartin  <kyle@redhat.com>
13824
13825         Pushed by Joel Brobecker  <brobecker@adacore.com>.
13826         * gdb.arch/aarch64-atomic-inst.c: New file.
13827         * gdb.arch/aarch64-atomic-inst.exp: New file.
13828
13829 2014-05-07  Yao Qi  <yao@codesourcery.com>
13830
13831         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13832         in current context" too.
13833
13834 2014-05-05  Keith Seitz  <keiths@redhat.com>
13835
13836         * gdb.linespec/ls-dollar.exp: Add test for linespec
13837         file:convenience_variable.
13838
13839 2014-05-05  Yao Qi  <yao@codesourcery.com>
13840
13841         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13842         traceframes into tfile and ctf trace files.  Read data from
13843         trace file and test collected data.
13844         (gdb_collect_locals_test): Likewise.
13845         (gdb_unavailable_registers_test): Likewise.
13846         (gdb_unavailable_floats): Likewise.
13847         (gdb_collect_globals_test): Likewise.
13848         (top-level): Append "ctf" to trace_file_targets if GDB
13849         supports.
13850
13851 2014-05-05  Yao Qi  <yao@codesourcery.com>
13852
13853         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13854         code to ...
13855         (gdb_collect_args_test_1): ... it.  New proc.
13856         (gdb_collect_locals_test): Move some code to ...
13857         (gdb_collect_locals_test_1): ... it.  New proc.
13858         (gdb_unavailable_registers_test): Move some code to ...
13859         (gdb_unavailable_registers_test_1): ... it.  New proc.
13860         (gdb_unavailable_floats): Move some code to ...
13861         (gdb_unavailable_floats_1): ... it.  New proc.
13862
13863 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
13864
13865         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13866         probes to test for bitness recognition.
13867         * gdb.arch/amd64-stap-optional-prefix.exp
13868         (test_probe_value_without_reg): New procedure.
13869         Add code to test for different kinds of bitness.
13870
13871 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
13872
13873         PR breakpoints/16889
13874         * gdb.arch/amd64-stap-optional-prefix.S: New file.
13875         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13876
13877 2014-05-01  Pedro Alves  <palves@redhat.com>
13878
13879         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
13880         gdb_file_cmd if no file is specified.
13881         * boards/native-extended-gdbserver.exp (gdb_load): Use the
13882         last_loaded_file to set the remote exec-file.
13883
13884 2014-05-01  Pedro Alves  <palves@redhat.com>
13885
13886         * boards/local-remote-host.exp: New file.
13887
13888 2014-05-01  Pedro Alves  <palves@redhat.com>
13889
13890         * boards/local-remote-host.exp: Rename to ...
13891         * boards/local-remote-host-notty.exp: ... this.
13892
13893 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
13894
13895         * gdb.ada/dyn_arrayidx: New testcase.
13896
13897 2014-04-26  Yao Qi  <yao@codesourcery.com>
13898
13899         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
13900         and compute the length of function main.  Save it in
13901         $main_length.
13902         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13903         (top-level): Use gdb_compile to compile objects into
13904         executable and restart GDB.  Remove invocation to
13905         prepare_for_testing.
13906
13907 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
13908             Pedro Alves  <palves@redhat.com>
13909
13910         PR server/16255
13911         * gdb.multi/multi-attach.c: New file.
13912         * gdb.multi/multi-attach.exp: New file.
13913
13914 2014-04-25  Pedro Alves  <palves@redhat.com>
13915
13916         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13917         user.
13918         (top level): Test that "set remote conditional-breakpoints-packet
13919         off" works as intended.
13920         * gdb.base/dprintf.exp: Test that "set remote
13921         breakpoint-commands-packet off" works as intended.
13922         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13923         New function.
13924         (top level): Call it.
13925         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13926         remote fast-tracepoints-packet off" works as intended.
13927         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13928         * lib/gdb.exp (gdb_is_target_remote): ... here.
13929
13930 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13931
13932         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13933         ensure clang would not discard them.
13934         * gdb.base/gdbvars.c: Ditto.
13935         * gdb.base/memattr.c: Ditto.
13936         * gdb.base/whatis.c: Ditto.
13937         * gdb.python/py-prettyprint.c: Ditto.
13938         * gdb.trace/actions.c: Ditto.
13939         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13940         ensure clang would not discard it.
13941
13942 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13943
13944         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13945         clang to emit the full definition of type required by the test
13946         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13947
13948 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13949
13950         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
13951         coax Clang into emitting the definition of the type.
13952         * gdb.cp/pr10728-x.h (y): Ditto.
13953         * gdb.cp/pr10728-y.cc (y): Ditto.
13954
13955 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13956
13957         * gdb.base/label.exp: XFAIL label related tests under Clang.
13958         * gdb.cp/cplabel.exp: Ditto.
13959         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
13960         under Clang those using labels.
13961
13962 2014-04-25  Yao Qi  <yao@codesourcery.com>
13963
13964         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
13965         double_label.
13966         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
13967         partial_label and double_label.
13968
13969 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13970
13971         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
13972
13973 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13974
13975         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
13976         of the function to work across GCC and Clang.
13977         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
13978         pointer types (const void ** const V void **).
13979
13980 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
13981             Walfred Tedeschi  <walfred.tedeschi@intel.com>
13982
13983         * Makefile.in (EXECUTABLES): Added i386-avx512.
13984         * gdb.arch/i386-avx512.c: New file.
13985         * gdb.arch/i386-avx512.exp: Likewise.
13986
13987 2014-04-23  Keith Seitz  <keiths@redhat.com>
13988
13989         * lib/mi-support.exp (mi_list_breakpoints): Delete.
13990         (mi_make_breakpoint_table): New procedure.
13991         (mi_create_breakpoint): Use mi_make_breakpoint
13992         and return the result.
13993         (mi_make_breakpoint): New procedure.
13994         (mi_build_kv_pairs): New procedure.
13995
13996         * gdb.mi/mi-break.exp: Remove unused globals,
13997         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
13998         All callers updated.
13999         * gdb.mi/mi-dprintf.exp: Use variable to track command
14000         number.
14001         Update all callers of mi_create_breakpoint and use
14002         mi_make_breakpoint_table.
14003         Remove any unused global variables.
14004         * gdb.mi/mi-nonstop.exp: Likewise.
14005         * gdb.mi/mi-nsintrall.exp: Likewise.
14006         * gdb.mi/mi-nsmoribund.exp: Likewise.
14007         * gdb.mi/mi-nsthrexec.exp: Likewise.
14008         * gdb.mi/mi-reverse.exp: Likewise.
14009         * gdb.mi/mi-simplerun.exp: Likewise.
14010         * gdb.mi/mi-stepn.exp: Likewise.
14011         * gdb.mi/mi-syn-frame.exp: Likewise.
14012         * gdb.mi/mi-until.exp: Likewise.
14013         * gdb.mi/mi-var-cp.exp: Likewise.
14014         * gdb.mi/mi-var-display.exp: Likewise.
14015         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
14016         * gdb.mi/mi2-var-child.exp: Likewise.
14017         * gdb.mi/mi-vla-c99.exp: Likewise.
14018         * lib/mi-support.exp: Likewise.
14019
14020         From Ian Lance Taylor  <iant@cygnus.com>:
14021         * lib/gdb.exp (parse_args): New procedure.
14022
14023 2014-04-23  Pedro Alves  <palves@redhat.com>
14024
14025         * gdb.base/break-unload-file.c: New file.
14026         * gdb.base/break-unload-file.exp: New file.
14027         * gdb.base/sym-file-lib.c (baz): New function.
14028         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
14029         field.
14030         (load): Store the segment's mapped size.
14031         (unload): New function.
14032         (unload_shlib): New function.
14033         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
14034         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
14035         set a breakpoint at baz, and call it.
14036         * gdb.base/sym-file.exp: New tests for stale breakpoint
14037         instructions.
14038
14039 2014-04-23  Pedro Alves  <palves@redhat.com>
14040
14041         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
14042         * gdb.base/hbreak-in-shr-unsupported.c: New file.
14043         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
14044         * gdb.base/hbreak-unmapped.c: New file.
14045         * gdb.base/hbreak-unmapped.exp: New file.
14046         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
14047         * lib/gdb.exp (gdb_is_target_remote): ... here.
14048
14049 2014-04-22  Pedro Alves  <palves@redhat.com>
14050
14051         * gdb.base/consecutive-step-over.c: New file.
14052         * gdb.base/consecutive-step-over.exp: New file.
14053
14054 2014-04-22  Pedro Alves  <palves@redhat.com>
14055
14056         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
14057         instead of send_gdb/gdb_expect.
14058
14059 2014-04-22  Yao Qi  <yao@codesourcery.com>
14060
14061         * lib/trace-support.exp (generate_tracefile): New procedure.
14062         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
14063         return 0.
14064         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
14065         if generate_tracefile returns 1.
14066
14067 2014-04-18  Tom Tromey  <palves@redhat.com>
14068             Pedro alves  <tromey@redhat.com>
14069
14070         PR backtrace/15558
14071         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
14072         with a backtrace limit.
14073         * gdb.python/py-frame-inline.exp: Test running to an inline
14074         function with a backtrace limit, and printing the newest frame.
14075         * gdb.python/py-frame-inline.c (main): Call f.
14076
14077 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14078
14079         * gdb.java/jnpe.exp: Drop srcdir from untested path.
14080
14081 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14082
14083         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
14084         Drop prefix from unsupported source file path.
14085
14086 2014-04-17  Yao Qi  <yao@codesourcery.com>
14087
14088         * lib/gdb.exp (with_target_charset): New proc.
14089         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
14090         with_target_charset.
14091         (test_print_strings): Likewise.
14092         (test_repeat_bytes): Likewise.
14093         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14094         for some tests.
14095
14096 2014-04-16  Keith Seitz  <keiths@redhat.com>
14097
14098         PR gdb/15827
14099         * gdb.dwarf2/corrupt.c: New file.
14100         * gdb.dwarf2/corrupt.exp: New file.
14101
14102 2014-04-16  Keith Seitz  <keiths@redhat.com>
14103
14104         PR c++/16597
14105         * gdb.cp/namelessclass.cc: New file.
14106         * gdb.cp/namelessclass.exp: New file.
14107         * gdb.cp/namelessclass.S: New file.
14108
14109 2014-04-16  Doug Evans  <dje@google.com>
14110
14111         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
14112         Add comment.
14113         (gdbserver_default_get_comm_port): New function.
14114         (gdbserver_start): Check if board file provided
14115         "gdbserver,get_comm_port" and use it if so.
14116         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
14117         (gdb,socketport): Set to "stdio".
14118         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
14119         (stdio_gdbserver_template): Delete.
14120         (${board}_get_remote_address): Update.
14121         (${board}_build_remote_cmd): Delete.
14122         (${board}_get_comm_port): New function.
14123         (${board}_spawn): Update.
14124         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
14125         Delete.
14126         (${board}_get_remote_address): Update.
14127         (${board}_get_comm_port): New function.
14128
14129 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
14130
14131         * gdb.base/memattr.exp: Improve regexps to handle memory regions
14132         appearing in any order.
14133
14134 2014-04-15  Doug Evans  <dje@google.com>
14135
14136         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
14137         uninitialized value of "description".
14138
14139 2014-04-15  Keith Seitz  <keiths@redhat.com>
14140
14141         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
14142         Remove unused globals.
14143         (test_running_the_program): Likewise.
14144         (test_controlled_execution): Likewise.
14145         (test_controlling_breakpoints): Likewise.
14146         (test_program_termination): Likewise.
14147
14148 2014-04-15  Keith Seitz  <keiths@redhat.com>
14149
14150         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
14151         unused globals.
14152         (test_rbreak_creation_and_listing): Likewise.
14153         (test_ignore_count): Likewise.
14154         (test_error): Likewise.
14155
14156 2014-04-15  Pedro Alves  <palves@redhat.com>
14157
14158         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
14159         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
14160         sym-file-loader.c.
14161         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14162         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14163         to sym-file-loader.c.
14164         (struct library): Forward declare.
14165         (load_shlib, lookup_function): Change prototypes.
14166         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14167         (translate_offset): Remove declarations.
14168         (get_text_addr): New declaration.
14169         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
14170         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
14171         sym-file-loader.h.
14172         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14173         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14174         here from sym-file-loader.h.
14175         (struct library): New structure.
14176         (load_shlib, lookup_function): Change prototypes and adjust to
14177         work with a struct library.
14178         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14179         (translate_offset): Make static.
14180         (get_text_addr): New function.
14181         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
14182
14183 2014-04-15  Pedro Alves  <palves@redhat.com>
14184
14185         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
14186
14187 2014-04-15  Pedro Alves  <palves@redhat.com>
14188
14189         * gdb.base/sym-file-loader.c: Include <limits.h>.
14190         (SELF_LINK): New define.
14191         (get_origin): New function.
14192         (load_shlib): Use it.
14193         * gdb.base/sym-file.exp: Don't early return if the target is
14194         remote.  Use runto_main, and issue fail is that fails.  Use
14195         gdb_load_shlibs.
14196         (shlib_name): Delete.
14197         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
14198
14199 2014-04-15  Pedro Alves <palves@redhat.com>
14200
14201         * gdb.base/sym-file.exp: Remove regex characters from test
14202         message.  Don't refer to breakpoint numbers in test messages.
14203
14204 2014-04-14  Keith Seitz  <keiths@redhat.com>
14205
14206         PR c++/16253
14207         * gdb.cp/var-tag.cc: New file.
14208         * gdb.cp/var-tag.exp: New file.
14209         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14210         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14211         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14212         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14213
14214 2014-04-14  Tom Tromey  <tromey@redhat.com>
14215
14216         * gdb.cp/classes.exp (test_enums): Handle underlying type.
14217         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
14218         type.
14219         * gdb.cp/enum-class.exp: New file.
14220         * gdb.cp/enum-class.cc: New file.
14221
14222 2014-04-14  Tom Tromey  <tromey@redhat.com>
14223
14224         * gdb.dwarf2/enum-type.exp: New file.
14225
14226 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14227
14228         * gdb.mi/mi-vla-c99.exp: New file.
14229         * gdb.mi/vla.c: New file.
14230
14231 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14232
14233         * gdb.base/vla-datatypes.c: New file.
14234         * gdb.base/vla-datatypes.exp: New file.
14235
14236 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14237
14238         * gdb.base/vla-ptr.c: New file.
14239         * gdb.base/vla-ptr.exp: New file.
14240
14241 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14242
14243         * gdb.dwarf2/count.exp: New file.
14244
14245 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14246
14247         * gdb.base/vla-sideeffect.c: New file.
14248         * gdb.base/vla-sideeffect.exp: New file.
14249
14250 2014-04-14  David Blaikie <dblaikie@gmail.com>
14251
14252         * gdb.mi/non-stop.c: Add return value for non-void function return
14253         statement.
14254         * gdb.threads/staticthreads.c: Ditto.
14255
14256 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
14257             Doug Evans  <xdje42@gmail.com>
14258
14259         * gdb.guile/scm-value.c: Improve test case.
14260         * gdb.guile/scm-value.exp: Add new test.
14261
14262 2014-04-11  David Blaikie  <dblaikie@gmail.com>
14263
14264         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
14265         override Clang's default.
14266
14267 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
14268
14269         Revert the following changes (regressions):
14270
14271         * gdb.base/vla-sideeffect.c: New file.
14272         * gdb.base/vla-sideeffect.exp: New file.
14273
14274         * gdb.dwarf2/count.exp: New file.
14275
14276         * gdb.base/vla-multi.c: New file.
14277         * gdb.base/vla-multi.exp: New file.
14278
14279         * gdb.base/vla-ptr.c: New file.
14280         * gdb.base/vla-ptr.exp: New file.
14281
14282         * gdb.base/vla-datatypes.c: New file.
14283         * gdb.base/vla-datatypes.exp: New file.
14284
14285         * gdb.mi/mi-vla-c99.exp: New file.
14286         * gdb.mi/vla.c: New file.
14287
14288 2014-04-11  Keith Seitz  <keiths@redhat.com>
14289
14290         PR c++/16675
14291         * gdb.cp/cpsizeof.exp: New file.
14292         * gdb.cp/cpsizeof.cc: New file.
14293
14294 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14295
14296         * gdb.mi/mi-vla-c99.exp: New file.
14297         * gdb.mi/vla.c: New file.
14298
14299 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14300
14301         * gdb.base/vla-datatypes.c: New file.
14302         * gdb.base/vla-datatypes.exp: New file.
14303
14304 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14305
14306         * gdb.base/vla-ptr.c: New file.
14307         * gdb.base/vla-ptr.exp: New file.
14308
14309 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14310
14311         * gdb.base/vla-multi.c: New file.
14312         * gdb.base/vla-multi.exp: New file.
14313
14314 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14315
14316         * gdb.dwarf2/count.exp: New file.
14317
14318 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14319
14320         * gdb.base/vla-sideeffect.c: New file.
14321         * gdb.base/vla-sideeffect.exp: New file.
14322
14323 2014-04-11  Yao Qi  <yao@codesourcery.com>
14324
14325         * gdb.base/completion.exp: Check file exists before running tests
14326         on file completion.
14327
14328 2014-04-10  Pedro Alves  <palves@redhat.com>
14329
14330         * gdb.base/cond-eval-mode.c: New file.
14331         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
14332         prepare_for_testing to build the new file.  Check result of
14333         runto_main.
14334         (test_break, test_watch): New procedures.
14335         (top level): Use them.
14336
14337 2014-04-08  Pierre Muller  <muller@sourceware.org>
14338
14339         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
14340         Ctrl-V use for mingw hosts.
14341
14342 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
14343
14344         * gdb.python/py-value.c: Improve test case.
14345         * gdb.python/py-value.exp: Add new test.
14346
14347 2014-04-07  David Blaikie  <dblaikie@gmail.com>
14348
14349         * lib/compiler.c: Identify the clang compiler.
14350         * lib/compiler.cc: Ditto.
14351
14352 2014-04-03  Yao Qi  <yao@codesourcery.com>
14353
14354         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
14355
14356 2014-04-01  Anton Blanchard  <anton@samba.org>
14357
14358         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
14359         messages unique.
14360
14361 2014-04-01  Anton Blanchard  <anton@samba.org>
14362
14363         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
14364         prepare_for_testing.
14365
14366 2014-04-01  Anton Blanchard  <anton@samba.org>
14367
14368         * gdb.arch/ppc64-atomic-inst.c: Remove.
14369         * gdb.arch/ppc64-atomic-inst.S: New file.
14370         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
14371
14372 2014-03-31  Doug Evans  <dje@google.com>
14373
14374         * gdb.base/print-symbol-loading-lib.c: New file.
14375         * gdb.base/print-symbol-loading-main.c: New file.
14376         * gdb.base/print-symbol-loading.exp: New file.
14377
14378 2014-03-31  Yao Qi  <yao@codesourcery.com>
14379
14380         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
14381
14382 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
14383
14384         * gdb.ada/mi_dyn_arr: New testcase.
14385
14386 2014-03-27  Doug Evans  <dje@google.com>
14387
14388         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
14389
14390 2014-03-27  Yao Qi  <yao@codesourcery.com>
14391
14392         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
14393         if target is nios2-*-*.
14394
14395 2014-03-26  Yao Qi  <yao@codesourcery.com>
14396
14397         * lib/gdb.exp (readline_is_used): New proc.
14398         * gdb.base/completion.exp: Move tests on command complete up.
14399         Skip the rest of tests if readline is not used.
14400         * gdb.ada/complete.exp: Skp the test if readline is not
14401         used.
14402         * gdb.base/filesym.exp: Likewise.
14403         * gdb.base/macscp.exp: Likewise.
14404         * gdb.base/readline-ask.exp: Likewise.
14405         * gdb.base/readline.exp: Likewise.
14406         * gdb.python/py-cmd.exp: Likewise.
14407         * gdb.trace/tfile.exp: Likewise.
14408
14409 2014-03-26  Yao Qi  <yao@codesourcery.com>
14410
14411         * gdb.base/macscp.exp: Fix code format issues.
14412
14413 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
14414
14415         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14416         * gdb.asm/powerpc64le.inc: New file.
14417
14418 2014-03-25  Pedro Alves  <palves@redhat.com>
14419             Doug Evans  <dje@google.com>
14420
14421         * gdb.base/source-execution.c: New file.
14422         * gdb.base/source-execution.exp: New file.
14423         * gdb.base/source-execution.gdb: New file.
14424
14425 2014-03-24  Doug Evans  <dje@google.com>
14426
14427         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14428         using fission.
14429
14430 2014-03-24  Hui Zhu  <hui@codesourcery.com>
14431             Pedro Alves  <palves@redhat.com>
14432
14433         PR breakpoints/16101
14434         * gdb.base/dprintf.exp: Use unsupported rather than changing the
14435         test pass/fail messages.  Detect missing support for dprintf when
14436         breakpoints are actually inserted.
14437         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14438         breakpoints are actually inserted.
14439         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14440         fails.
14441
14442 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
14443
14444         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14445
14446 2014-03-22  Doug Evans  <xdje42@gmail.com>
14447
14448         * gdb.python/python.exp (python not supported): Verify multi-line
14449         python command issues an error.
14450         * gdb.guile/guile.exp (guile not supported): Verify multi-line
14451         guile command issues an error.
14452
14453 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
14454
14455         * gdb.threads/thread-specific.exp: Handle the lack of usable
14456         $this_breakpoint and $this_thread.
14457
14458 2014-03-21  Hui Zhu  <hui@codesourcery.com>
14459
14460         * gdb.base/attach.exp (do_command_attach_tests): New.
14461
14462 2014-03-20  Tom Tromey  <tromey@redhat.com>
14463             Pedro Alves  <palves@redhat.com>
14464
14465         PR cli/15718
14466         * gdb.base/condbreak-call-false.c: New file.
14467         * gdb.base/condbreak-call-false.exp: New file.
14468
14469 2014-03-20  Pedro Alves  <palves@redhat.com>
14470
14471         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14472         Delete.
14473         (block_signals, unblock_signals): Delete.
14474         (child_function_2, main): Remove references to deleted variable
14475         and functions.
14476
14477 2014-03-20  Pedro Alves  <palves@redhat.com>
14478
14479         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14480         Use pthread_kill to signal thread 2.
14481         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14482         Adjust to make the test send itself a signal rather than using the
14483         host's "kill" command.
14484
14485 2014-03-20  Pedro Alves  <palves@redhat.com>
14486
14487         * gdb.threads/multiple-step-overs.c: New file.
14488         * gdb.threads/multiple-step-overs.exp: New file.
14489         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14490         Adjust expected infrun debug output.
14491
14492 2014-03-20  Pedro Alves  <palves@redhat.com>
14493
14494         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14495         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
14496
14497 2014-03-20  Pedro Alves  <palves@redhat.com>
14498
14499         PR breakpoints/7143
14500         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
14501         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
14502         of gdb_test_multiple.
14503         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
14504         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
14505
14506 2014-03-20  Pedro Alves  <palves@redhat.com>
14507
14508         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14509         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14510
14511 2014-03-19  Pedro Alves  <palves@redhat.com>
14512
14513         * gdb.base/async.exp: Remove early return.
14514
14515 2014-03-19  Pedro Alves  <palves@redhat.com>
14516
14517         * gdb.base/async.exp (step& tests): Pass explicit test messages.
14518
14519 2014-03-19  Pedro Alves  <palves@redhat.com>
14520
14521         * gdb.base/async.exp (test_background): Expect \r\n after
14522         "completed." in the fail pattern.
14523
14524 2014-03-19  Pedro Alves  <palves@redhat.com>
14525
14526         * gdb.base/async.exp (test_background): New procedure.
14527         Use it for all background execution command tests.
14528
14529 2014-03-19  Pedro Alves  <palves@redhat.com>
14530
14531         * gdb.base/async.exp: Use prepare_for_testing.
14532
14533 2014-03-19  Pedro Alves  <palves@redhat.com>
14534
14535         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
14536         the same line.
14537
14538 2014-03-19  Pedro Alves  <palves@redhat.com>
14539
14540         * gdb.base/async.c (main): Add "jump here" and "until here" line
14541         marker comments.
14542         * gdb.base/async.exp (jump_here): New global.
14543         (jump& test): Use it.
14544         (until_here): New global.
14545         (until& test): Use it.
14546
14547 2014-03-19  Pedro Alves  <palves@redhat.com>
14548
14549         * gdb.base/async.exp: Don't frob gdb_protocol.
14550
14551 2014-03-18  Doug Evans  <xdje42@gmail.com>
14552
14553         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
14554         Fix spelling of exec-done-display.
14555
14556 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
14557
14558         PR gdb/15358
14559         * gdb.base/gdb-sigterm.c: New file.
14560         * gdb.base/gdb-sigterm.exp: New file.
14561
14562 2014-03-18  Pedro Alves  <palves@redhat.com>
14563
14564         PR gdb/13860
14565         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14566         * lib/mi-support.exp (mi_expect_stop): Add special handling for
14567         solib-event.
14568
14569 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
14570
14571         * gdb.ada/pckd_arr_ren: New testcase.
14572
14573 2014-03-13  Doug Evans  <xdje42@gmail.com>
14574
14575         PR guile/16612
14576         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14577         collect after discarding symbols.
14578
14579 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
14580             Doug Evans  <xdje42@gmail.com>
14581
14582         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14583         to history survives a gc.
14584
14585 2014-03-13  Pedro Alves  <palves@redhat.com>
14586
14587         * gdb.base/default.exp: Don't test "target procfs".
14588
14589 2014-03-13  Pedro Alves  <palves@redhat.com>
14590
14591         * gdb.base/default.exp: Update "target child" and "target procfs"
14592         tests to not expect "Unix".
14593
14594 2014-03-12  Tom Tromey  <tromey@redhat.com>
14595
14596         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14597         New procs.  Add target-async tests.
14598         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14599         Add target-async tests.
14600
14601 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14602
14603         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14604         'func_start' and 'func_end' for the beginning and end of the
14605         function code, respectively.
14606         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14607         'func_end' instead of 'func' and 'main'.
14608
14609 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14610
14611         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14612         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14613         generate the debug info assembler source.
14614
14615 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14616
14617         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14618         * gdb.dwarf2/arr-subrange.exp: Likewise.
14619         * gdb.dwarf2/dwz.exp: Likewise.
14620         * gdb.dwarf2/method-ptr.exp: Likewise.
14621         * gdb.dwarf2/missing-sig-type.exp: Likewise.
14622         * gdb.dwarf2/subrange.exp: Likewise.
14623         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14624         * gdb.dwarf2/implptrpiece.exp: Likewise.
14625         * gdb.dwarf2/nostaticblock.exp: Likewise.
14626
14627 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14628
14629         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14630         directory to absolute path name arguments.
14631
14632 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
14633
14634         * gdb.ada/tagged_access: New testcase.
14635
14636 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
14637
14638         * gdb.btrace/data.exp: Update expected output.
14639
14640 2014-03-06  Yao Qi  <yao@codesourcery.com>
14641
14642         * gdb.trace/pr16508.exp: New file.
14643
14644 2014-03-05  Pedro Alves  <palves@redhat.com>
14645
14646         PR gdb/16575
14647         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14648         procedure.
14649         (top level): Adjust to use it.  Add tests that exercise breakpoint
14650         interaction with the code-cache.
14651
14652 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
14653
14654         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14655         test for 'history-append!'.
14656
14657 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14658
14659         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14660         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14661         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14662         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14663         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14664         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14665
14666 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14667
14668         * testsuite/gdb.python/py-pp-re-notag.c: New file.
14669         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14670         * testsuite/gdb.python/py-pp-re-notag.p: New file.
14671
14672 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14673
14674         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14675
14676 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14677
14678         * gdb.dwarf2/arr-stride.c: New file.
14679         * gdb.dwarf2/arr-stride.exp: New file.
14680
14681 2014-02-26  Pedro Alves  <palves@redhat.com>
14682
14683         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14684         that won't ever trigger.  Make sure that GDB reports the correct
14685         breakpoint that caused the stop.
14686
14687 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14688
14689         PR gdb/16626
14690         * gdb.base/auto-load-script: New file.
14691         * gdb.base/auto-load.c: New file.
14692         * gdb.base/auto-load.exp: New file.
14693
14694         PR gdb/16626
14695         * gdb.base/auto-load.exp: Fix out-of-srctree run.
14696
14697 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14698
14699         Fix dw2-icycle.exp -fsanitize=address GDB crash.
14700         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14701
14702 2014-02-24  Doug Evans  <dje@google.com>
14703
14704         * lib/gdb.exp (run_on_host): Log error output if program fails.
14705
14706 2014-02-21  Pedro Alves  <palves@redhat.com>
14707
14708         * gdb.threads/step-after-sr-lock.c: Rename to ...
14709         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14710         * gdb.threads/step-after-sr-lock.exp: Rename to ...
14711         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14712         ... this.
14713
14714 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
14715
14716         PR tdep/16397
14717         * gdb.arch/amd64-stap-special-operands.exp: New file.
14718         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14719         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14720         * gdb.arch/amd64-stap-triplet.S: Likewise.
14721         * gdb.arch/amd64-stap-triplet.c: Likewise.
14722
14723 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
14724
14725         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14726         in .section pseudo-op.
14727
14728 2014-02-20  lin zuojian  <manjian2006@gmail.com>
14729             Joel Brobecker  <brobecker@adacore.com>
14730             Doug Evans  <xdje42@gmail.com>
14731
14732         PR symtab/16581
14733         * gdb.dwarf2/dw2-icycle.S: New file.
14734         * gdb.dwarf2/dw2-icycle.c: New file.
14735         * gdb.dwarf2/dw2-icycle.exp: New file.
14736
14737 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
14738
14739         * gdb.python/py-value-cc.cc: Improve test case to enable testing
14740         operations on gdb.Value objects.
14741         * gdb.python/py-value-cc.exp: Add new test to test operations on
14742         gdb.Value objects.
14743
14744 2014-02-18  Doug Evans  <dje@google.com>
14745
14746         * Makefile.in (TESTS): New variable.
14747         (expanded_tests, expanded_tests_or_none): New variables
14748         (check-single): Pass $(expanded_tests_or_none) to runtest.
14749         (check-parallel): Only run tests in $(TESTS) if non-empty.
14750         (check/no-matching-tests-found): New rule.
14751         * README: Document TESTS makefile variable.
14752
14753 2014-02-18  Doug Evans  <dje@google.com>
14754
14755         * Makefile.in (check-parallel): rm -rf outputs temp.
14756
14757 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
14758
14759         Fix "ERROR: no fileid for" in the testsuite.
14760         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14761
14762 2014-02-12  Doug Evans  <dje@google.com>
14763
14764         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14765         (MISCELLANEOUS): New variable.
14766         (clean): rm -rf $(MISCELLANEOUS).
14767         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14768         dwp live in the same directory as symlinks, with each symlink pointed
14769         to a differently named file in a different directory.
14770
14771 2014-02-11  Doug Evans  <dje@google.com>
14772
14773         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14774         of Tcl file commands.
14775
14776 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
14777
14778         * gdb.threads/step-after-sr-lock.exp: Avoid executing
14779         "kill -SIGUSR1 -1".
14780
14781 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
14782
14783         * gdb.ada/tick_length_array_enum_idx: New testcase.
14784
14785 2014-02-10  Doug Evans  <xdje42@gmail.com>
14786
14787         * configure.ac (AC_OUTPUT): Add gdb.guile.
14788         * configure: Regenerate.
14789         * lib/gdb-guile.exp: New file.
14790         * lib/gdb.exp (get_target_charset): New function.
14791         * gdb.base/help.exp: Update expected output from "apropos apropos".
14792         * gdb.guile/Makefile.in: New file.
14793         * gdb.guile/guile.exp: New file.
14794         * gdb.guile/scm-arch.c: New file.
14795         * gdb.guile/scm-arch.exp: New file.
14796         * gdb.guile/scm-block.c: New file.
14797         * gdb.guile/scm-block.exp: New file.
14798         * gdb.guile/scm-breakpoint.c: New file.
14799         * gdb.guile/scm-breakpoint.exp: New file.
14800         * gdb.guile/scm-disasm.c: New file.
14801         * gdb.guile/scm-disasm.exp: New file.
14802         * gdb.guile/scm-equal.c: New file.
14803         * gdb.guile/scm-equal.exp: New file.
14804         * gdb.guile/scm-error.exp: New file.
14805         * gdb.guile/scm-error.scm: New file.
14806         * gdb.guile/scm-frame-args.c: New file.
14807         * gdb.guile/scm-frame-args.exp: New file.
14808         * gdb.guile/scm-frame-args.scm: New file.
14809         * gdb.guile/scm-frame-inline.c: New file.
14810         * gdb.guile/scm-frame-inline.exp: New file.
14811         * gdb.guile/scm-frame.c: New file.
14812         * gdb.guile/scm-frame.exp: New file.
14813         * gdb.guile/scm-generics.exp: New file.
14814         * gdb.guile/scm-gsmob.exp: New file.
14815         * gdb.guile/scm-iterator.c: New file.
14816         * gdb.guile/scm-iterator.exp: New file.
14817         * gdb.guile/scm-math.c: New file.
14818         * gdb.guile/scm-math.exp: New file.
14819         * gdb.guile/scm-objfile-script-gdb.in: New file.
14820         * gdb.guile/scm-objfile-script.c: New file.
14821         * gdb.guile/scm-objfile-script.exp: New file.
14822         * gdb.guile/scm-objfile.c: New file.
14823         * gdb.guile/scm-objfile.exp: New file.
14824         * gdb.guile/scm-ports.exp: New file.
14825         * gdb.guile/scm-pretty-print.c: New file.
14826         * gdb.guile/scm-pretty-print.exp: New file.
14827         * gdb.guile/scm-pretty-print.scm: New file.
14828         * gdb.guile/scm-section-script.c: New file.
14829         * gdb.guile/scm-section-script.exp: New file.
14830         * gdb.guile/scm-section-script.scm: New file.
14831         * gdb.guile/scm-symbol.c: New file.
14832         * gdb.guile/scm-symbol.exp: New file.
14833         * gdb.guile/scm-symtab-2.c: New file.
14834         * gdb.guile/scm-symtab.c: New file.
14835         * gdb.guile/scm-symtab.exp: New file.
14836         * gdb.guile/scm-type.c: New file.
14837         * gdb.guile/scm-type.exp: New file.
14838         * gdb.guile/scm-value-cc.cc: New file.
14839         * gdb.guile/scm-value-cc.exp: New file.
14840         * gdb.guile/scm-value.c: New file.
14841         * gdb.guile/scm-value.exp: New file.
14842         * gdb.guile/source2.scm: New file.
14843         * gdb.guile/types-module.cc: New file.
14844         * gdb.guile/types-module.exp: New file.
14845
14846 2014-02-10  Yao Qi  <yao@codesourcery.com>
14847
14848         PR testsuite/16543
14849         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14850         * configure: Regenerated.
14851         * Makefile.in: New file.
14852
14853 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
14854
14855         * gdb.python/py-framefilter.exp: Fix typo.
14856
14857 2014-02-08  Yao Qi  <yao@codesourcery.com>
14858
14859         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14860         that no =breakpoint-modified is emitted when breakpoints are
14861         modified through MI commands.
14862
14863 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
14864             Pedro Alves  <palves@redhat.com>
14865
14866         * gdb.threads/step-after-sr-lock.c: New file.
14867         * gdb.threads/step-after-sr-lock.exp: New file.
14868
14869 2014-02-07  Pedro Alves  <palves@redhat.com>
14870
14871         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14872
14873 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
14874
14875         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14876         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14877
14878 2014-02-06  Doug Evans  <xdje42@gmail.com>
14879
14880         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14881         output.
14882
14883         * gdb.gdb/python-interrupts.exp: New file.
14884
14885 2014-02-05  Yao Qi  <yao@codesourcery.com>
14886
14887         * gdb.trace/report.exp (use_collected_data): Test the output
14888         of "info threads" and "info inferiors".
14889
14890 2014-02-05  Yao Qi  <yao@codesourcery.com>
14891
14892         Revert this patch:
14893
14894         2013-05-24  Yao Qi  <yao@codesourcery.com>
14895
14896         * gdb.trace/tfile.exp: Test inferior and thread.
14897
14898 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14899
14900         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14901         on a function.
14902         * gdb.base/step-bt.c: Call hello via function pointer to make
14903         sure its first instruction is executed on powerpc64le-linux.
14904
14905 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14906
14907         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14908
14909 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14910
14911         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
14912         of the test patterns for use on little-endian systems.
14913
14914 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14915
14916         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14917         (decimal_vector): Fix for little-endian.
14918
14919 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
14920
14921         * gdb.arch/sparc-sysstep.exp: New file.
14922         * gdb.arch/sparc-sysstep.c: Likewise.
14923
14924         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14925
14926 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
14927
14928         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14929
14930 2014-01-23  Tom Tromey  <tromey@redhat.com>
14931
14932         * gdb.ada/array_char_idx: New testcase.
14933
14934 2014-01-23  Tom Tromey  <tromey@redhat.com>
14935
14936         PR python/16487:
14937         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14938         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14939         classes.
14940
14941 2014-01-23  Tom Tromey  <tromey@redhat.com>
14942
14943         PR python/16491:
14944         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14945         string from an inferior frame.
14946         * gdb.python/py-framefilter-mi.exp: Update.
14947
14948 2014-01-22  Doug Evans  <dje@google.com>
14949
14950         * gdb.server/server-mon.exp: Add tests for "set debug-format".
14951
14952 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14953
14954         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
14955
14956 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14957
14958         * gdb.trace/entry-values.exp: Remove excess space character from
14959         regex patterns.  Handle s390 call instruction.
14960
14961 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14962
14963         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
14964         define "*_start" label.  Make "name" static.
14965         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
14966         ${name} by references to ${name}_start.
14967
14968 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14969
14970         * gdb.base/info-macros.exp: Remove "debug" from the compile
14971         options.
14972
14973 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
14974
14975         * gdb.dlang/demangle.exp: New file.
14976
14977 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
14978
14979         * gdb.dlang/primitive-types.exp: New file.
14980
14981 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
14982
14983         * configure.ac: Create gdb.dlang/Makefile.
14984         * configure: Regenerate.
14985         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
14986         * gdb.dlang/Makefile.in: New file.
14987         * lib/d-support.exp: New file.
14988         * lib/gdb.exp (skip_d_tests): New proc.
14989
14990 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14991
14992         * gdb.btrace/delta.exp: Check reverse stepi.
14993         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
14994         * gdb.btrace/finish.exp: New.
14995         * gdb.btrace/next.exp: New.
14996         * gdb.btrace/nexti.exp: New.
14997         * gdb.btrace/record_goto.c: Add comments.
14998         * gdb.btrace/step.exp: New.
14999         * gdb.btrace/stepi.exp: New.
15000         * gdb.btrace/multi-thread-step.c: New.
15001         * gdb.btrace/multi-thread-step.exp: New.
15002         * gdb.btrace/rn-dl-bind.c: New.
15003         * gdb.btrace/rn-dl-bind.exp: New.
15004         * gdb.btrace/data.c: New.
15005         * gdb.btrace/data.exp: New.
15006         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15007
15008 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15009
15010         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
15011         * gdb.btrace/exception.exp: Update.
15012         * gdb.btrace/instruction_history.exp: Update.
15013         * gdb.btrace/record_goto.exp: Update.
15014         * gdb.btrace/tailcall.exp: Update.
15015         * gdb.btrace/unknown_functions.exp: Update.
15016         * gdb.btrace/delta.exp: New.
15017
15018 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15019
15020         * gdb.btrace/record_goto.exp: Add backtrace test.
15021         * gdb.btrace/tailcall.exp: Add backtrace test.
15022
15023 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15024
15025         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
15026         * gdb.btrace/record_goto.c: New.
15027         * gdb.btrace/record_goto.exp: New.
15028         * gdb.btrace/x86-record_goto.S: New.
15029
15030 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15031
15032         * gdb.btrace/function_call_history.exp: Update tests.
15033         * gdb.btrace/instruction_history.exp: Update tests.
15034
15035 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15036
15037         * gdb.btrace/function_call_history.exp: Fix expected field
15038         order for "record function-call-history".
15039         Add new tests for "record function-call-history /c".
15040         * gdb.btrace/exception.cc: New.
15041         * gdb.btrace/exception.exp: New.
15042         * gdb.btrace/tailcall.exp: New.
15043         * gdb.btrace/x86-tailcall.S: New.
15044         * gdb.btrace/x86-tailcall.c: New.
15045         * gdb.btrace/unknown_functions.c: New.
15046         * gdb.btrace/unknown_functions.exp: New.
15047         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15048
15049 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15050
15051         * gdb.btrace/instruction_history.exp: Update.
15052         * gdb.btrace/function_call_history.exp: Update.
15053
15054 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15055
15056         * gdb.btrace/function_call_history.exp: Fix expected function
15057         trace.
15058         * gdb.btrace/instruction_history.exp: Initialize traced.
15059         Remove traced_functions.
15060
15061 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15062
15063         * gdb.btrace/function_call_history.exp: Update
15064         * gdb.btrace/instruction_history.exp: Update.
15065
15066 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15067
15068         * gdb.btrace/enable.exp: Update expected text.
15069
15070 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
15071
15072         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
15073         bytes.
15074
15075 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
15076
15077         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
15078
15079 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
15080
15081         * lib/gdb.exp (supports_process_record): Return true for
15082         arm*-linux*.  (supports_reverse): Likewise.
15083
15084 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
15085
15086         PR python/15464
15087         PR python/16113
15088         * gdb.python/py-type.c: Enhance test case.
15089         * gdb.python/py-value-cc.cc: Likewise
15090         * gdb.python/py-type.exp: Add new tests.
15091         * gdb.python/py-value-cc.exp: Likewise
15092
15093 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15094             Pedro Alves <palves@redhat.com>
15095
15096         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15097         Make "name" extern.
15098         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15099         references to ${name}_start by references to ${name}.
15100
15101 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15102
15103         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15104
15105 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15106
15107         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15108
15109 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
15110             Pedro Alves  <palves@redhat.com>
15111
15112         * gdb.mi/mi-info-os.exp: Connect to the target with
15113         mi_gdb_target_load.
15114
15115 2014-01-08  Pedro Alves  <palves@redhat.com>
15116
15117         * gdb.threads/reconnect-signal.c: New file.
15118         * gdb.threads/reconnect-signal.exp: New file.
15119
15120 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
15121
15122         * gdb.base/source-dir.exp: New file.
15123
15124 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15125
15126         * gdb.ada/mi_interface: New testcase.
15127
15128 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15129
15130         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
15131         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
15132         gdb.ada/pp-rec-component/pck.ads: New files.
15133
15134 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15135
15136         * gdb.python/py-pp-integral.c: New file.
15137         * gdb.python/py-pp-integral.py: New file.
15138         * gdb.python/py-pp-integral.exp: New file.
15139
15140 For older changes see ChangeLog-1993-2013.
15141 \f
15142 ;; Local Variables:
15143 ;; mode: change-log
15144 ;; left-margin: 8
15145 ;; fill-column: 74
15146 ;; version-control: never
15147 ;; End:
15148
15149     Copyright 2014-2018 Free Software Foundation, Inc.
15150   Copying and distribution of this file, with or without modification,
15151   are permitted provided the copyright notice and this notice are preserved.