Ensure deterministic result order in gdb.ada/info_auto_lang.exp
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2018-12-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
2
3         * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
4         Update order of results accordingly.
5
6 2018-12-12  Andrew Burgess  <andrew.burgess@embecosm.com>
7
8         * gdb.base/annota1.exp: Update a test regexp.
9
10 2018-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
11
12         * gdb.base/float.exp: Handle RISC-V targets without an FPU.
13
14 2018-12-09  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
15
16         * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
17         (reuse_time): Initialize to REUSE_TIME_CAP.
18         (check_rc): New function.
19         (main): Use REUSE_TIME_CAP instead of hardcoded 60.
20         Check pthread_create rc.
21         (spawner_thread_func): Check pthread_create and pthread_join rc.
22
23 2018-12-08  Pedro Alves  <palves@redhat.com>
24
25         * gdb.base/list.exp (test_forward_search): Rename to ...
26         (test_forward_reverse_search): ... this.  Also test reverse-search
27         and the forward-search alias.
28
29 2018-12-05  Andrew Burgess  <andrew.burgess@embecosm.com>
30
31         * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
32         local timeout variable before return, and remove all local timeout
33         variable entirely.
34         (gdb_load): Likewise.
35
36 2018-12-01  Tom de Vries  <tdevries@suse.de>
37
38         * gdb.base/gdb-caching-proc.exp: New file.
39
40 2018-11-25  Sergio Durigan Junior  <sergiodj@redhat.com>
41
42         * Makefile.in (TIMESTAMP): New variable.
43         (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
44         command.
45         (check-single-racy): Likewise.
46         (check/%.exp): Likewise.
47         (check-racy/%.exp): Likewise.
48         (workers/%.worker): Likewise.
49         (build-perf): Likewise.
50         (check-perf): Likewise.
51         * README: Describe new "TS" and "TS_FORMAT" variables.
52         * print-ts.py: New file.
53
54 2018-11-21  Benno Fünfstück  <benno.fuenfstueck@gmail.com>
55
56         PR python/23714
57         * gdb.python/python.exp: Test command repetition after
58         gdb.execute.
59
60 2018-11-20  Andrew Burgess  <andrew.burgess@embecosm.com>
61
62         * gdb.opt/inline-break.exp: Add test that info breakpoint output
63         is correctly aligned.
64
65 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
66
67         * gdb.ada/info_auto_lang.exp: New testcase.
68         * gdb.ada/info_auto_lang/global_pack.ads: New file.
69         * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
70         * gdb.ada/info_auto_lang/some_c.c: New file.
71
72 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
73
74         * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
75         FUNC_lang language syntax.
76
77 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
78
79         * gdb.base/info_minsym.c: New file.
80         * gdb.base/info_minsym.exp: New file.
81
82 2018-11-19  Tom Tromey  <tom@tromey.com>
83
84         PR rust/23625:
85         * gdb.rust/simple.exp: Add ptype test.  Update expected output.
86         * gdb.rust/expr.exp: Update expected output.  Change one test.
87
88 2018-11-19  Tom Tromey  <tom@tromey.com>
89
90         * gdb.rust/simple.rs: Don't initialize empty_enum_value.
91
92 2018-11-19  Pedro Alves  <palves@redhat.com>
93
94         * gdb.base/warning.exp: Don't override INTERNAL_FLAGS.  Use
95         gdb_spawn_with_cmdline_opts instead of gdb_start.  Check that we
96         see the expected warning.
97
98 2018-11-16  Alan Hayward  <alan.hayward@arm.com>
99
100         PR gdb/22736:
101         * gdb.cp/infcall-nodebug-lib.c: New test.
102         * gdb.cp/infcall-nodebug-main.c: New test.
103         * gdb.cp/infcall-nodebug.exp: New file.
104
105 2018-11-12  Simon Marchi  <simon.marchi@polymtl.ca>
106
107         * gdb.base/skip.exp: Add standard_testfile.  Add "skip delete"
108         completer tests.
109
110 2018-11-09  Tom de Vries  <tdevries@suse.de>
111
112         * gdb.base/msym-lang.c: New test.
113         * gdb.base/msym-lang.exp: New file.
114         * gdb.base/msym-lang-main.c: New test.
115
116 2018-11-08  Tom Tromey  <tom@tromey.com>
117
118         PR gdb/23555:
119         PR gdb/23838:
120         * gdb.base/warning.exp: New file.
121
122 2018-11-08  Jan Beulich  <jbeulich@suse.com>
123
124         * testsuite/gdb.arch/i386-avx512.c,
125         testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
126
127 2018-11-08  Andrew Burgess  <andrew.burgess@embecosm.com>
128
129         * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
130         point hardware.
131
132 2018-11-07  Andrew Burgess  <andrew.burgess@embecosm.com>
133
134         * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
135         * gdb.dwarf2/missing-type-name.exp: New file.
136
137 2018-11-06  Tom de Vries  <tdevries@suse.de>
138
139         * gdb.base/many-headers.c: New test.
140         * gdb.base/many-headers.exp: New file.
141
142 2018-11-06  Jim Wilson  <jimw@sifive.com>
143
144         * gdb.base/code_elim.exp: For riscv, set additional_flags
145         to include -msmall-data-limit=0.
146
147 2018-11-01  Joel Brobecker  <brobecker@adacore.com>
148
149         * gdb.ada/watch_minus_l: New testcase.
150
151 2018-11-01  Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
152
153         * gdb.arch/aix-sighandle.c: New file.
154         * gdb.arch/aix-sighandle.exp: New file.
155
156 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
157
158         * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
159         registers being unions.
160
161 2018-10-31  Tom de Vries  <tdevries@suse.de>
162
163         * lib/valgrind.exp: New file.
164          (vgdb_start, vgdb_stop): New procs, factored out of ...
165         * gdb.base/valgrind-bt.exp: ... here, ...
166         * gdb.base/valgrind-disp-step.exp: ... here and ...
167         * gdb.base/valgrind-infcall.exp: ... here.
168
169 2018-10-31  Tom de Vries  <tdevries@suse.de>
170
171         * lib/gdb.exp (get_valueof): Don't output read value in test name.
172
173 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
174
175         * gdb.dwarf2/void-type.c: New file.
176         * gdb.dwarf2/void-type.exp: New file.
177
178 2018-10-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
179
180         * gdb.base/info_qt.c: New file.
181         * gdb.base/info_qt.exp: New file.
182
183 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
184
185         * gdb.arch/powerpc-htm-regs.c: New file.
186         * gdb.arch/powerpc-htm-regs.exp: New file.
187
188 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
189
190         * gdb.arch/powerpc-tar.c: New file.
191         * gdb.arch/powerpc-tar.exp: New file.
192
193 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
194
195         * gdb.arch/powerpc-ppr-dscr.c: New file.
196         * gdb.arch/powerpc-ppr-dscr.exp: New file.
197
198 2018-10-25  Tom de Vries  <tdevries@suse.de>
199
200         * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
201
202 2018-10-24  Tom de Vries  <tdevries@suse.de>
203
204         * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
205         longer exists error.
206
207 2018-10-24  Tom de Vries  <tdevries@suse.de>
208
209         * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
210
211 2018-10-24  Tom de Vries  <tdevries@suse.de>
212
213         * gdb.base/valgrind-db-attach.exp: Handle removed support for
214         --db-attach in valgrind.
215
216 2018-10-23  Andrew Burgess  <andrew.burgess@embecosm.com>
217
218         * gdb.arch/riscv-reg-aliases.c: New file.
219         * gdb.arch/riscv-reg-aliases.exp: New file.
220
221 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
222
223         * gdb.python/py-cmd.exp: Check for gdb_prompt.
224
225 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
226
227         * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
228
229 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
230
231         * gdb.cp/ovldbreak.exp: Fix regexps.
232
233 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
234
235         * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
236
237 2018-10-18  Sergio Durigan Junior  <sergiodj@redhat.com>
238
239         PR cli/23785
240         * gdb.base/restore.exp: New test to check if "restore" with an
241         invalid file doesn't segfault.
242
243 2018-10-18  Tom de Vries  <tdevries@suse.de>
244
245         * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
246         * gdb.ada/excep_handle.exp: Same.
247         * gdb.ada/mi_string_access.exp: Same.
248         * gdb.ada/mi_var_union.exp: Same.
249         * gdb.arch/arc-analyze-prologue.exp: Same.
250         * gdb.arch/arc-decode-insn.exp: Same.
251         * gdb.base/readnever.exp: Same.
252         * gdb.fortran/printing-types.exp: Same.
253         * gdb.guile/scm-lazy-string.exp: Same.
254
255 2018-10-16  Tom de Vries  <tdevries@suse.de>
256
257         PR gdb/23730
258         * gdb.base/catch-follow-exec.c: Add copyright notice.
259         * gdb.base/catch-follow-exec.exp: Rewrite to use
260         gdb_spawn_with_cmdline_opts.  Require gdb-native.
261
262 2018-10-12  Sandra Loosemore  <sandra@codesourcery.com>
263
264         * gdb.trace/actions-changed.exp: Check for arch support.
265         * gdb.trace/actions.exp: Likewise.
266         * gdb.trace/ax.exp: Likewise.
267         * gdb.trace/backtrace.exp: Likewise.
268         * gdb.trace/change-loc.exp: Likewise.
269         * gdb.trace/deltrace.exp: Likewise.
270         * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
271         * gdb.trace/ftrace.exp: Likewise.
272         * gdb.trace/infotrace.exp: Check for arch support.
273         * gdb.trace/mi-trace-frame-collected.exp: Likewise.
274         * gdb.trace/mi-tracepoint-changed.exp: Likewise.
275         * gdb.trace/mi-tsv-changed.exp: Likewise.
276         * gdb.trace/packetlen.exp: Likewise.
277         * gdb.trace/passc-dyn.exp: Likewise.
278         * gdb.trace/passcount.exp: Likewise.
279         * gdb.trace/pending.exp: Likewise.
280         * gdb.trace/range-stepping.exp: Check for shlib support.
281         * gdb.trace/report.exp: Check for arch support.
282         * gdb.trace/save-trace.exp: Likewise.
283         * gdb.trace/signal.exp: Check for signal support.
284         * gdb.trace/tfind.exp: Check for arch support.
285         * gdb.trace/trace-break.exp: Check for arch and shlib support.
286         * gdb.trace/trace-common.h: Add comment.
287         * gdb.trace/trace-condition.exp: Check for shlib and arch support.
288         * gdb.trace/trace-enable-disable.exp: Likewise.
289         * gdb.trace/trace-mt.exp: Likewise.  Remove redundant untested call.
290         * gdb.trace/tracecmd.exp: Check for arch support.
291         * gdb.trace/tspeed.exp: Check for shlib and target support.
292         * gdb.trace/tstatus.exp: Check for arch support.
293         * gdb.trace/tsv.exp: Likewise.
294         * gdb.trace/while-dyn.exp: Likewise.
295         * gdb.trace/while-stepping.exp: Likewise.
296         * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
297
298 2018-10-12  Simon Marchi  <simon.marchi@ericsson.com>
299
300         * gdb.trace/tspeed.exp: Remove nowarnings.
301         (prepare_for_trace_test): Declare "global ipalib".
302         * gdb.trace/tspeed.c: Include unistd.h.
303         (main): Remove superfluous printf argument.
304
305 2018-10-11  Sandra Loosemore  <sandra@codesourcery.com>
306
307         * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
308         directory prefix on the filename.
309
310 2018-10-10  Sergio Durigan Junior  <sergiodj@redhat.com>
311
312         * gdb.gdb/unittest.exp: Update expected message informing that
313         selftests have been disabled.
314         * gdb.server/unittest.exp: Likewise.
315
316 2018-10-09  Tom de Vries  <tdevries@suse.de>
317
318         * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
319         with runto_main.
320
321 2018-10-08  Weimin Pan  <weimin.pan@oracle.com>
322
323         PR c++/16841
324         * gdb.cp/virtbase2.cc: New file.
325         * gdb.cp/virtbase2.exp: New file.
326
327 2018-10-06  Tom Tromey  <tom@tromey.com>
328
329         PR python/19399:
330         * gdb.python/py-inferior.exp: Add architecture test.
331
332 2018-10-06  Tom Tromey  <tom@tromey.com>
333
334         * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
335         * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
336
337 2018-10-06  Tom Tromey  <tom@tromey.com>
338
339         * gdb.python/py-breakpoint.exp (check_last_event): Check location
340         of a "throw" catchpoint.
341
342 2018-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>
343
344         * gdb.base/info-proc.exp: Update string expected from "help info
345         proc".
346
347 2018-10-04  Tom Tromey  <tom@tromey.com>
348
349         * gdb.cp/maint.exp (test_invalid_name): Update expected output.
350         * gdb.gdb/complaints.exp (test_short_complaints): Remove.
351         (test_initial_complaints, test_empty_complaints): Update.
352         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
353
354 2018-10-04  Tom Tromey  <tom@tromey.com>
355
356         PR cli/19551:
357         * lib/mi-support.exp (mi_gdb_file_cmd): Update.
358         * lib/gdb.exp (gdb_file_cmd): Update.
359         * gdb.stabs/weird.exp (print_weird_var): Update.
360         * gdb.server/solib-list.exp: Update.
361         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
362         * gdb.mi/mi-cli.exp: Update.
363         * gdb.linespec/linespec.exp: Update.
364         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
365         * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
366         * gdb.cp/cp-relocate.exp: Update.
367         * gdb.base/sym-file.exp: Update.
368         * gdb.base/relocate.exp: Update.
369         * gdb.base/readnever.exp: Update.
370         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
371         * gdb.base/kill-detach-inferiors-cmd.exp: Update.
372         * gdb.base/dbx.exp (gdb_file_cmd): Update.
373         * gdb.base/code_elim.exp: Update.
374         * gdb.base/break-unload-file.exp (test_break): Update.
375         * gdb.base/break-interp.exp (test_attach_gdb): Update.
376         * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
377         Update.
378         * gdb.base/attach.exp (do_attach_tests): Update.
379         * gdb.base/sepdebug.exp: Update.
380         * gdb.python/py-section-script.exp: Update.
381
382 2018-10-04  Tom Tromey  <tom@tromey.com>
383
384         PR cli/22234:
385         * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
386         * gdb.gdb/complaints.exp (test_short_complaints): Update expected
387         output.
388
389 2018-10-04  Tom Tromey  <tom@tromey.com>
390
391         * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
392         set width and height to 0.
393         (test_command_line_attach_run): Use -quiet.
394
395 2018-10-03  Sandra Loosemore  <sandra@codesourcery.com>
396
397         * lib/gdb.exp (skip_ifunc_tests): New.
398         * gdb.base/gnu-ifunc.exp: Skip if no ifunc support.  Handle
399         other compile failures.
400         * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
401
402 2018-10-01  Simon Marchi  <simon.marchi@ericsson.com>
403
404         * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
405         is_amd64_regs_target.
406
407 2018-10-01  Alan Hayward  <alan.hayward@arm.com>
408
409         * gdb.arch/aarch64-sighandler-regs.c: New test.
410         * gdb.arch/aarch64-sighandler-regs.exp: New file.
411         * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
412
413 2018-10-01  Markus Metzger  <markus.t.metzger@intel.com>
414
415         * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
416         assembly.
417
418 2018-09-28  Andrew Burgess  <andrew.burgess@embecosm.com>
419
420         * gdb.base/frame-selection.exp: New file.
421         * gdb.base/frame-selection.c: New file.
422
423 2018-09-27  Alan Hayward  <alan.hayward@arm.com>
424
425         * gdb.threads/check-libthread-db.c (thread_routine): Use a
426         pthread barrier.
427         (main): Likewise.
428
429 2018-09-26  Andrew Burgess  <andrew.burgess@embecosm.com>
430
431         * gdb.base/large-frame-1.c: New file.
432         * gdb.base/large-frame-2.c: New file.
433         * gdb.base/large-frame.exp: New file.
434         * gdb.base/large-frame.h: New file.
435
436 2018-09-24  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
437
438         PR gdb/20948
439         * gdb.base/write_mem.exp: New test.
440         * gdb.base/write_mem.c: Likewise.
441
442 2018-09-23  Tom Tromey  <tom@tromey.com>
443
444         PR python/18852:
445         * gdb.python/py-parameter.exp: Add test for parameter that throws
446         on "set".
447
448 2018-09-23  Tom Tromey  <tom@tromey.com>
449
450         PR python/17284:
451         * gdb.python/py-template.exp (test_template_arg): Add test for
452         negative template argument number.
453
454 2018-09-23  Tom Tromey  <tom@tromey.com>
455
456         PR python/14062:
457         * gdb.python/python.exp: Add test for post_event error.
458
459 2018-09-23  Tom Tromey  <tom@tromey.com>
460
461         PR python/18170:
462         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
463         convert pointers to int and long.
464
465 2018-09-23  Tom Tromey  <tom@tromey.com>
466
467         PR python/20126:
468         * gdb.python/py-value.exp (test_value_numeric_ops): Add
469         signed-ness conversion tests.
470
471 2018-09-23  Tom Tromey  <tom@tromey.com>
472
473         PR python/18352;
474         * gdb.python/py-value.exp (test_float_conversion): New proc.
475         Use it.
476
477 2018-09-20  Hafiz Abid Qadeer  <abidh@codesourcery.com>
478
479         gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
480
481 2018-09-18  Sandra Loosemore  <sandra@codesourcery.com>
482
483         * gdb.base/complete-empty.exp: Skip tab-completion tests if
484         no readline.
485         * gdb.base/utf8-identifiers.exp: Likewise.
486         * gdb.cp/cpcompletion.exp: Likewise.
487         * gdb.linespec/cpcompletion.exp: Likewise.
488         * gdb.linespec/cpls-abi-tag.exp: Likewise.
489         * gdb.linespec/cpls-ops.exp: Likewise.
490
491 2018-09-19  Richard Bunt  <richard.bunt@arm.com>
492             Chris January  <chris.january@arm.com>
493
494         * gdb.cp/koenig.exp: Extend to test logical short circuiting.
495         * gdb.fortran/short-circuit-argument-list.exp: New file.
496         * gdb.fortran/short-circuit-argument-list.f90: New test.
497
498 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
499
500         * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
501         "arch=" keyword when executing "-stack-list-frames".
502
503 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
504
505         * gdb.arch/amd64-invalid-stack-middle.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.ada/complete.exp: Expect for "@" when doing "complete
511         break ada".
512
513 2018-09-17  Simon Marchi  <simon.marchi@polymtl.ca>
514
515         PR python/23669
516         * gdb.python/python.exp: Test gdb.execute("show commands").
517
518 2018-09-16  Tom Tromey  <tom@tromey.com>
519
520         * gdb.base/new-ui.exp (do_execution_tests): Update.
521         * gdb.base/dbx.exp (test_breakpoints): Update.
522
523 2018-09-14  Alan Hayward  <alan.hayward@arm.com>
524
525         * lib/gdb.exp (gdb_simple_compile): Add proc.
526         (is_elf_target): Use gdb_simple_compile.
527         (skip_altivec_tests): Likewise.
528         (skip_vsx_tests): Likewise.
529         (skip_tsx_tests): Likewise.
530         (skip_btrace_tests): Likewise.
531         (skip_btrace_pt_tests): Likewise.
532         (gdb_can_simple_compile): Likewise.
533         (gdb_has_argv0): Likewise.
534         (gdb_target_symbol_prefix): Likewise.
535         (target_supports_scheduler_locking): Likewise.
536
537 2018-09-13  Tom Tromey  <tom@tromey.com>
538
539         * Makefile.in (TAGS): Recognize proc_with_prefix and
540         gdb_caching_proc.
541
542 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
543
544         * gdb.python/py-progspace.exp: Test the Progspace.objfiles
545         method.
546
547 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
548
549         * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
550         and a few other Inferior properties when the Inferior is no
551         longer valid.
552
553 2018-09-13  Tom Tromey  <tom@tromey.com>
554
555         PR rust/23650:
556         * gdb.rust/simple.exp: Add test for enum field access error.
557
558 2018-09-13  Tom Tromey  <tom@tromey.com>
559
560         PR rust/23626:
561         * gdb.rust/simple.rs (EmptyEnum): New type.
562         (main): Use it.
563         * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
564
565 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
566
567         * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
568         * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
569         * gdb.python/py-symtab.exp: Update test printing an objfile.
570
571 2018-09-12  Simon Marchi  <simon.marchi@ericsson.com>
572
573         * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
574         object.
575
576 2018-09-12  Alan Hayward  <alan.hayward@arm.com>
577
578         * lib/gdb.exp (gdb_can_simple_compile): Add proc.
579         (support_complex_tests): Use gdb_can_simple_compile.
580         (is_ilp32_target): Likewise.
581         (is_lp64_target): Likewise.
582         (is_64_target): Likewise.
583         (is_amd64_regs_target): Likewise.
584         (is_aarch32_target): Likewise.
585         (gdb_int128_helper): Likewise.
586
587 2018-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
588
589         * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
590
591 2018-09-10  Jerome Guitton  <guitton@adacore.com>
592
593         * gdb.ada/same_component_name: Add test for case of tagged record
594         with variable-length fields.
595
596 2018-09-10  Xavier Roirand  <roirand@adacore.com>
597
598         * gdb.ada/access_to_unbounded_array.exp: New testcase.
599         * gdb.ada/access_to_unbounded_array/foo.adb: New file.
600         * gdb.ada/access_to_unbounded_array/pack.adb: New file.
601         * gdb.ada/access_to_unbounded_array/pack.ads: New file.
602
603 2018-09-10  Xavier Roirand  <roirand@adacore.com>
604
605         * gdb.ada/mi_string_access.exp: New testcase.
606         * gdb.ada/mi_string_access/bar.adb: New file.
607         * gdb.ada/mi_string_access/pck.adb: New file.
608         * gdb.ada/mi_string_access/pck.asd: New file.
609
610 2018-09-10  Xavier Roirand  <roirand@adacore.com>
611
612         * gdb.ada/mi_var_union.exp: New testcase.
613         * gdb.ada/mi_var_union/bar.adb: New file.
614         * gdb.ada/mi_var_union/pck.adb: New file.
615         * gdb.ada/mi_var_union/pck.asd: New file.
616
617 2018-09-08  Tom Tromey  <tom@tromey.com>
618
619         * gdb.python/py-prettyprint.exp: Use with_test_prefix.
620
621 2018-09-08  Tom Tromey  <tom@tromey.com>
622
623         PR python/16047:
624         * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
625         (register_pretty_printers): Register new printer.
626         * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
627         test.
628         * gdb.python/py-prettyprint.c (int_type3): New typedef.
629         (an_int_type3): New global.
630
631 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
632
633         * gdb.ada/expr_with_funcall: New testcase.
634
635 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
636
637         * gdb.ada/packed_array_assign: New testcase.
638
639 2018-09-07  Andrew Burgess  <andrew.burgess@embecosm.com>
640
641         * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
642         names, and add test prefixes to make test names unique.
643
644 2018-09-05  Tom de Vries  <tdevries@suse.de>
645
646         * gdb.dwarf2/varval.exp: Add test.
647
648 2018-09-04  Gary Benson <gbenson@redhat.com>
649
650         * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
651         'eof' before 'wait -i'.  Use remote_close and clear_gdb_spawn_id.
652
653 2018-08-31  Tom Tromey  <tom@tromey.com>
654
655         * gdb.rust/simple.rs: Rename second variable "v".
656
657 2018-08-30  Andrew Burgess  <andrew.burgess@embecosm.com>
658
659         * gdb.base/funcargs.c (use_a): New function.
660         (recurse): Call use_a.
661
662 2018-08-29  Keith Seitz  <keiths@redhat.com>
663
664         * gdb.compile/compile-cplus-anonymous.cc: New file.
665         * gdb.compile/compile-cplus-anonymous.exp: New file.
666         * gdb.compile/compile-cplus-array-decay.cc: New file.
667         * gdb.compile/compile-cplus-array-decay.exp: New file.
668         * gdb.compile/compile-cplus-inherit.cc: New file.
669         * gdb.compile/compile-cplus-inherit.exp: New file.
670         * gdb.compile/compile-cplus-member.cc: New file.
671         * gdb.compile/compile-cplus-member.exp: New file.
672         * gdb.compile/compile-cplus-method.cc: New file.
673         * gdb.compile/compile-cplus-method.exp: New file.
674         * gdb.compile/compile-cplus-mod.c: "New" file.
675         * gdb.compile/compile-cplus-namespace.cc: New file.
676         * gdb.compile/compile-cplus-namespace.exp: New file.
677         * gdb.compile/compile-cplus-nested.cc: New file.
678         * gdb.compile/compile-cplus-nested.exp: New file.
679         * gdb.compile/compile-cplus-print.c: "New" file.
680         * gdb.compile/compile-cplus-print.exp: "New" file.
681         * gdb.compile/compile-cplus-virtual.cc: New file.
682         * gdb.compile/compile-cplus-virtual.exp: New file.
683         * gdb.compile/compile-cplus.c: "New" file.
684         * gdb.compile/compile-cplus.exp: "New" file.
685         * lib/compile-support.exp: New file.
686
687 2018-08-16  Gary Benson <gbenson@redhat.com>
688
689         PR gdb/13000:
690         * gdb.base/batch-exit-status.exp: New file.
691         * gdb.base/batch-exit-status.good-commands: Likewise.
692         * gdb.base/batch-exit-status.bad-commands: Likewise.
693
694 2018-08-29  Alan Hayward  <alan.hayward@arm.com>
695
696         * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
697         (struct struct02): Likewise.
698         (struct struct03): Likewise.
699         (struct struct04): Likewise.
700         (struct struct_01_01): New struct.
701         (struct struct_01_02): Likewise.
702         (struct struct_01_03): Likewise.
703         (struct struct_01_04): Likewise.
704         (struct struct_02_01): Likewise.
705         (struct struct_02_02): Likewise.
706         (struct struct_02_03): Likewise.
707         (struct struct_02_04): Likewise.
708         (struct struct_04_01): Likewise.
709         (struct struct_04_02): Likewise.
710         (struct struct_04_03): Likewise.
711         (struct struct_04_04): Likewise.
712         (struct struct_05_01): Likewise.
713         (struct struct_05_02): Likewise.
714         (struct struct_05_03): Likewise.
715         (struct struct_05_04): Likewise.
716         (cmp_struct01): Remove function.
717         (cmp_struct02): Likewise.
718         (cmp_struct03): Likewise.
719         (cmp_struct04): Likewise.
720         (cmp_struct_01_01): Add Function.
721         (cmp_struct_01_02): Likewise.
722         (cmp_struct_01_03): Likewise.
723         (cmp_struct_01_04): Likewise.
724         (cmp_struct_02_01): Likewise.
725         (cmp_struct_02_02): Likewise.
726         (cmp_struct_02_03): Likewise.
727         (cmp_struct_02_04): Likewise.
728         (cmp_struct_04_01): Likewise.
729         (cmp_struct_04_02): Likewise.
730         (cmp_struct_04_03): Likewise.
731         (cmp_struct_04_04): Likewise.
732         (cmp_struct_05_01): Likewise.
733         (cmp_struct_05_02): Likewise.
734         (cmp_struct_05_03): Likewise.
735         (cmp_struct_05_04): Likewise.
736         (call_all): Add new structs.
737         * gdb.base/infcall-nested-structs.exp: Likewise.
738
739 2018-08-27  Jan Vrany  <jan.vrany@fit.cvut.cz>
740
741         * gdb.python/py-framefilter-mi.exp: Update regexp to
742         check for "arch" field in frame output.
743
744 2018-08-23  Kevin Buettner  <kevinb@redhat.com>
745
746         * gdb.dwarf2/dw2-ranges-func.c: New file.
747         * gdb.dwarf2/dw2-ranges-func.exp: New file.
748
749 2018-08-22  Simon Marchi  <simon.marchi@polymtl.ca>
750
751         * gdb.base/term.exp: Compare terminal settings with values from
752         the inferior.
753         * gdb.base/term.c: Get and set terminal settings.
754
755 2018-08-22  Jan Vrany  <jan.vrany@fit.cvut.cz>
756
757         * lib/mi-support.exp (mi_expect_stop): Update regexp to
758         accommodate new "arch" field in frame output.
759         * gdb.mi/mi-return.exp: Likewise.
760         * gdb.mi/mi-stack.exp: Likewise.
761         * gdb.mi/mi-syn-frame.exp: Likewise.
762         * gdb.mi/user-selected-context-sync.exp: Likewise.
763
764 2018-08-19  Michael Spang  <spang@google.com>
765
766         PR gdb/11786
767         * gdb.base/gcore-tls-pie.c: New file.
768         * gdb.base/gcore-tls-pie.exp: New file.
769
770 2018-08-18  Kevin Buettner  <kevinb@redhat.com>
771
772         * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
773         * gdb.dwarf2/varval.c: New file.
774         * gdb.dwarf2/varval.exp: New file.
775
776 2018-08-17  Alan Hayward  <alan.hayward@arm.com>
777
778         PR gdb/18931
779         * gdb.arch/aarch64-fp.c (main): Fix asm registers.
780
781 2018-08-16  Keith Seitz  <keiths@redhat.com>
782
783         * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
784         tests expected to pass.
785
786 2018-08-14  Jan Vrany  <jan.vrany@fit.cvut.cz>
787
788         * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
789         -data-disassemble -a.
790         (test_disassembly_bogus_args): Likewise.
791
792 2018-08-14  Andrew Burgess  <andrew.burgess@embecosm.com>
793
794         * gdb.mi/list-thread-groups-available.exp: Update test regexp.
795
796 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
797
798         * gdb.base/vla-optimized-out.exp: Add new test.
799
800 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
801
802         * gdb.base/vla-optimized-out-o3.exp: Delete.
803         * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
804         * gdb.base/vla-optimized-out.exp: Extend to cover all of the
805         deleted tests.
806
807 2018-08-08  Andrew Burgess  <andrew.burgess@embecosm.com>
808
809         PR gdb/18050:
810         * gdb.server/extended-remote-restart.c: New file.
811         * gdb.server/extended-remote-restart.exp: New file.
812
813 2018-08-07  Simon Marchi  <simon.marchi@polymtl.ca>
814
815         * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
816         "set variable index = 42".
817
818 2018-08-07  Simon Marchi  <simon.marchi@ericsson.com>
819
820         * boards/index-cache-gdb.exp: New file.
821         * gdb.dwarf2/index-cache.exp: New file.
822         * gdb.dwarf2/index-cache.c: New file.
823         * gdb.base/maint.exp: Check if we are using the index cache.
824
825 2018-08-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
826
827         * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
828         MAKEFLAGS.
829
830 2018-08-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
831
832         * dg-extract-results.sh: Move to toplevel contrib.
833         * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
834         * Makefile.in (check-parallel-racy): Likewise.
835
836 2018-08-06  Andrew Burgess  <andrew.burgess@embecosm.com>
837
838         * lib/gdb.exp (target_supports_scheduler_locking): New proc.
839         * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
840         tests if the target supports scheduler locking.
841
842 2018-08-04  Tom de Vries  <tdevries@suse.de>
843
844         * gdb.python/py-rbreak.exp: Fix rbreak regexp.
845
846 2018-08-02  Tom Tromey  <tom@tromey.com>
847
848         PR symtab/16842.
849         * gdb.cp/temargs.exp: Test "info address" of a template
850         parameter.
851
852 2018-07-31  Jan Vrany  <jan.vrany@fit.cvut.cz>
853
854         * gdb.python/py-mi-var-info-path-expression.c: New file.
855         * gdb.python/py-mi-var-info-path-expression.py: New file.
856         * gdb.python/py-mi-var-info-path-expression.exp: New file.
857
858 2018-07-30  Sergio Durigan Junior  <sergiodj@redhat.com>
859
860         * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
861         error after "cannot resolve name" string.
862
863 2018-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
864
865         * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
866         started.
867         * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
868
869 2018-07-28  Tom de Vries  <tdevries@suse.de>
870
871         * gdb.base/vla-optimized-out-o3-strict.exp: New file.
872
873 2018-07-26  Tom de Vries  <tdevries@suse.de>
874
875         * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
876
877 2018-07-26  Andrew Burgess  <andrew.burgess@embecosm.com>
878
879         * gdb.base/maint.exp: Add check that dwarf unwinders control flag
880         is visible.
881
882 2018-07-26  Tom de Vries  <tdevries@suse.de>
883
884         PR breakpoints/23366
885         * gdb.base/catch-follow-exec.c: New test.
886         * gdb.base/catch-follow-exec.exp: New file.
887
888 2018-07-25  Tom de Vries  <tdevries@suse.de>
889
890         * gdb.base/vla-optimized-out-o3.exp: New file.  Reuse
891         vla-optimized-out.c.
892
893 2018-07-25  Jan Vrany  <jan.vrany@fit.cvut.cz>
894
895         * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
896         * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
897
898 2018-07-20  Tom de Vries  <tdevries@suse.de>
899
900         * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
901         NOCLONE macro.
902         * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
903
904 2018-07-19  Tom de Vries  <tdevries@suse.de>
905
906         * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
907         regular expression.
908
909 2018-07-18  Tom de Vries  <tdevries@suse.de>
910
911         * gdb.base/vla-optimized-out.c: New test.
912         * gdb.base/vla-optimized-out.exp: New file.
913
914 2018-07-13  Sergio Durigan Junior  <sergiodj@redhat.com>
915
916         * lib/gdbserver-support.exp (gdbserver_start): Expect for the
917         message "No address associated with hostname" when gdbserver
918         cannot resolve the hostname.
919
920 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
921
922         * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
923         Add some test prefixes to make tests unique.
924
925 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
926
927         * gdb.base/frameapply.c: New file.
928         * gdb.base/frameapply.exp: New file.
929
930 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
931
932         * gdb.base/skip.exp: Update expected error message.
933
934 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
935             Jan Kratochvil  <jan.kratochvil@redhat.com>
936             Paul Fertser  <fercerpav@gmail.com>
937             Tsutomu Seki  <sekiriki@gmail.com>
938
939         * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
940         parameter.
941         * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
942         by default.
943         * boards/native-gdbserver.exp: Likewise.
944         * gdb.server/run-without-local-binary.exp: Improve regexp used
945         for detecting when a remote debugging connection succeeds.
946         * gdb.server/server-connect.exp: New file.
947         * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
948         Do not prefix the port number with ":".
949         (gdbserver_start): New global GDB_TEST_SOCKETHOST.  Implement
950         support for detecting and using it.  Add '$debughost_gdbserver'
951         to the list of arguments used to start gdbserver.  Handle case
952         when gdbserver cannot resolve a network name.
953
954 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
955
956         PR c++/23373
957         * gdb.base/ptype-offsets.cc (struct static_member): New
958         struct.
959         (main) <stmember>: New variable.
960         * gdb.base/ptype-offsets.exp: Add test for printing a struct
961         with a static member in it.
962
963 2018-07-10  Andrew Burgess  <andrew.burgess@embecosm.com>
964
965         * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
966         watchpoints enabled and disabled.
967
968 2018-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
969
970         * gdb.base/examine-backward.exp: Still run tests around address
971         0x0, even if address 0x0 is not readable.  Update the pattern for
972         matching address 0x0 in expected output.
973
974 2018-07-06  Andrew Burgess  <andrew.burgess@embecosm.com>
975
976         * gdb.base/share-env-with-gdbserver.c (main): Add call to
977         malloc/free.
978
979 2018-07-04  Tom de Vries  <tdevries@suse.de>
980
981         * gdb.dwarf2/dw2-error.exp: Update expected error message.
982
983 2018-07-02  Maciej W. Rozycki  <macro@mips.com>
984
985         PR tdep/8282
986         * gdb.arch/mips-disassembler-options.exp: New test.
987         * gdb.arch/mips-disassembler-options.s: New test source.
988
989 2018-06-29  Pedro Alves  <palves@redhat.com>
990
991         * gdb.threads/names.exp: Adjust expected "info threads" output.
992
993 2018-06-29  Pedro Alves  <palves@redhat.com>
994
995         * gdb.opt/inline-break.exp (line number, address): Add "info
996         break" tests.
997
998 2018-06-29  Pedro Alves  <palves@redhat.com>
999
1000         * gdb.opt/inline-break.c (func1): Add "break here" marker.
1001         * gdb.opt/inline-break.exp: Test setting breakpoints by line
1002         number and address and running to them.
1003
1004 2018-06-29  Richard Bunt  <richard.bunt@arm.com>
1005
1006         * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
1007
1008 2018-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1009
1010         * lib/compiler.c: Remove executable permission flag.
1011
1012 2018-06-28  Richard Bunt  <richard.bunt@arm.com>
1013
1014         * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
1015         code.
1016         * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
1017
1018 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1019
1020         * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
1021
1022 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1023
1024         * gdb.base/relocate.exp: Test add-symbol-file behavior when the
1025         address argument is omitted.
1026
1027 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1028
1029         * gdb.base/relocate.exp: Add test for "symbol-file -o ".
1030
1031 2018-06-27  Omair Javaid  <omair.javaid@linaro.org>
1032
1033         PR gdb/21695
1034         * gdb.base/infoline-reloc-main-from-zero.exp: New test.
1035         * gdb.base/infoline-reloc-main-from-zero.c: New file.
1036
1037 2018-06-26  Tom Tromey  <tom@tromey.com>
1038
1039         PR rust/22574:
1040         * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
1041         * gdb.rust/simple.rs (struct SimpleLayout): New.
1042
1043 2018-06-22  Simon Marchi  <simon.marchi@ericsson.com>
1044
1045         * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
1046         "info registers" output.
1047
1048 2018-06-21  Richard Bunt  <richard.bunt@arm.com>
1049
1050         * gdb.base/watchpoint-hw-attach.c: New test.
1051         * gdb.base/watchpoint-hw-attach.exp: New file.
1052
1053 2018-06-20  Simon Marchi  <simon.marchi@ericsson.com>
1054
1055         * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
1056         through /bin/sh.
1057         * boards/dwarf4-gdb-index.exp: Likewise.
1058         * boards/fission-dwp.exp: Likewise.
1059
1060 2018-06-20  Ulrich Weigand  <uweigand@de.ibm.com>
1061
1062         * gdb.base/float128.exp: Add comment and improved fail message
1063         to the failure case of "print large128" test.
1064
1065 2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
1066
1067         * configure.ac: Remove AC_PREREQ.
1068         * configure: Re-generate.
1069
1070 2018-06-19  Pedro Alves  <palves@redhat.com>
1071
1072         * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
1073         (func_extern_caller): New.
1074         (main): Call func_extern_caller.
1075         * gdb.opt/inline-break.exp: Add tests for inline frame skipping
1076         logic change.
1077
1078 2018-06-18  Weimin Pan  <weimin.pan@oracle.com>
1079
1080         PR gdb/16841
1081         * gdb.cp/typedef-base.cc: New file.
1082         * gdb.cp/typedef-base.exp: New file.
1083
1084 2018-06-18  Tom de Vries  <tdevries@suse.de>
1085
1086         * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1087
1088 2018-06-16  Andrew Burgess  <andrew.burgess@embecosm.com>
1089             Richard Bunt <Richard.Bunt@arm.com>
1090
1091         * gdb.threads/attach-slow-waitpid.c: New file.
1092         * gdb.threads/attach-slow-waitpid.exp: New file.
1093         * gdb.threads/slow-waitpid.c: New file.
1094
1095 2018-06-14  Pedro Alves  <palves@redhat.com>
1096
1097         * gdb.base/fork-running-state.c: Include <errno.h>.
1098         (exit_if_relative_exits): New.
1099         (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1100         exits.
1101         (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1102         child exits.
1103
1104 2018-06-14  Tom de Vries  <tdevries@suse.de>
1105
1106         PR cli/22573
1107         * gdb.base/finish-pretty.c: New test.
1108         * gdb.base/finish-pretty.exp: New file.
1109
1110 2018-06-14  Pedro Alves  <palves@redhat.com>
1111
1112         * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
1113         gdb's expected startup output.
1114
1115 2018-06-14  Pedro Alves  <palves@redhat.com>
1116
1117         * lib/selftest-support.exp (selftest_setup): Remove inlined
1118         function handling.
1119
1120 2018-06-14  Tom de Vries  <tdevries@suse.de>
1121
1122         * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1123         matching of breakpoint printing.
1124
1125 2018-06-13  Tom de Vries  <tdevries@suse.de>
1126
1127         PR testsuite/23269
1128         * gdb.base/fork-running-state.c (main): Move setting of alarm ...
1129         (fork_child): ... here, and ...
1130         (fork_parent): ... here.
1131
1132 2018-06-12  Tom de Vries  <tdevries@suse.de>
1133
1134         * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
1135
1136 2018-06-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1137             Stephen Roberts  <stephen.roberts@arm.com>
1138
1139         * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
1140         rewrite test to describe action performed, rather than possible
1141         failure.
1142
1143 2018-06-08  Gary Benson <gbenson@redhat.com>
1144
1145         * gdb.threads/check-libthread-db.exp: New file.
1146         * gdb.threads/check-libthread-db.c: Likewise.
1147
1148 2018-06-05  Tom Tromey  <tom@tromey.com>
1149
1150         * gdb.base/default.exp: Update expected "show version" output.
1151
1152 2018-06-05  Tom Tromey  <tom@tromey.com>
1153
1154         PR cli/12326:
1155         * gdb.cp/static-print-quit.exp: Update.
1156         * lib/gdb.exp (pagination_prompt): Update.
1157         * gdb.base/page.exp: Use pagination_prompt.  Add new tests.
1158         * gdb.python/python.exp: Update.
1159
1160 2018-06-04  Joel Brobecker  <brobecker@adacore.com>
1161
1162         * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
1163
1164 2018-06-01  Joel Brobecker  <brobecker@adacore.com>
1165
1166         * gdb.ada/bp_fun_addr: New testcase.
1167
1168 2018-06-01  Tom Tromey  <tom@tromey.com>
1169
1170         * gdb.xml/tdesc-regs.exp (load_description): Update expected
1171         results.
1172         * gdb.dwarf2/method-ptr.exp: Set language to C++.
1173         * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
1174         * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
1175         * gdb.base/maint.exp (maint_pass_if): Update.
1176
1177 2018-05-31  Maciej W. Rozycki  <macro@mips.com>
1178
1179         * gdb.base/endian.exp: New test.
1180         * gdb.base/endian.c: New test source.
1181
1182 2018-05-24  Andrew Burgess  <andrew.burgess@embecosm.com>
1183
1184         PR gdb/23203
1185         * gdb.base/bt-selected-frame.c: New file.
1186         * gdb.base/bt-selected-frame.exp: New file.
1187         * lib/gdb.exp (get_current_frame_number): New function.
1188
1189 2018-05-24  Maciej W. Rozycki  <macro@mips.com>
1190             Pedro Alves  <palves@redhat.com>
1191
1192         * gdb.threads/tls-core.c: Include <stdlib.h>
1193         (thread_proc): Call `abort'.
1194         * gdb.threads/tls-core.exp: Generate a core with core_find too.
1195         (tls_core_test): New procedure, bits factored out from ...
1196         (top level): ... here.  Test both native cores and gcore cores.
1197
1198 2018-05-23  Tom Tromey  <tom@tromey.com>
1199
1200         * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
1201
1202 2018-05-23  Tom Tromey  <tom@tromey.com>
1203
1204         * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
1205         symfile_complaints.
1206         (test_short_complaints): Likewise.
1207         (test_empty_complaints): Likewise.
1208         (test_initial_complaints): Update.
1209
1210 2018-05-23  Tom Tromey  <tom@tromey.com>
1211
1212         * gdb.gdb/complaints.exp (test_empty_complaints): Update.
1213
1214 2018-05-23  Tom Tromey  <tom@tromey.com>
1215
1216         * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
1217         (test_short_complaints): Update.
1218
1219 2018-05-22  Pedro Alves  <palves@redhat.com>
1220
1221         * gdb.base/remote.exp: Only gdb_start after compiling the
1222         testcase.  Issue "disconnect" before testing "set remote" command
1223         defaults.  Issue clean_restart before running to main.
1224
1225 2018-05-22  Pedro Alves  <palves@redhat.com>
1226
1227         * gdb.base/remote.exp: Adjust expected output of "show remote
1228         memory-write-packet-size".  Add tests for "set remote
1229         memory-write-packet-size 0" and "set remote
1230         memory-write-packet-size fixed/limit".
1231
1232 2018-05-22  Pedro Alves  <palves@redhat.com>
1233
1234         PR gdb/22973
1235         * gdb.base/utf8-identifiers.c: New file.
1236         * gdb.base/utf8-identifiers.exp: New file.
1237
1238 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1239
1240         * gdb.arch/powerpc-fpscr-gcore.exp: New file.
1241
1242 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1243
1244         * gdb.arch/powerpc-vsx-gcore.exp: New file.
1245
1246 2018-05-18  Tom Tromey  <tom@tromey.com>
1247
1248         * gdb.base/ptype-offsets.exp: Update.
1249
1250 2018-05-17  Keith Seitz  <keiths@redhat.com>
1251
1252         * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
1253         in expected breakpoint stop locations.
1254         * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
1255         move to proper scope to test variable values.
1256         * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
1257         (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
1258         New functions.
1259         (main): Call not_inline_func3.
1260         * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
1261         inline_func1, inline_func2, and inline_func3.  Test that when each
1262         breakpoint is hit, GDB properly reports both the stop location
1263         and the backtrace. Repeat tests for temporary breakpoints.
1264
1265 2018-05-15  Maciej W. Rozycki  <macro@mips.com>
1266
1267         * gdb.server/server-kill.exp: Verify whether `server_pid' exists
1268         rather then trying to access it in determining whether the PID
1269         of `gdbserver' could have been retrieved.
1270
1271 2018-05-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1272
1273         * gdb.arch/amd64-init-x87-values.S: New file.
1274         * gdb.arch/amd64-init-x87-values.exp: New file.
1275
1276 2018-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1277
1278         * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
1279
1280 2018-05-04  Tom Tromey  <tom@tromey.com>
1281
1282         PR python/22730:
1283         * gdb.python/python.exp: Test multi-line execute.
1284
1285 2018-05-04  Tom Tromey  <tom@tromey.com>
1286
1287         PR python/22731:
1288         * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
1289
1290 2018-05-04  Tom Tromey  <tom@tromey.com>
1291
1292         PR gdb/11750:
1293         * gdb.base/define.exp: Test defining a user command inside a user
1294         command.
1295         * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
1296
1297 2018-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
1298             Pedro Alves <palves@redhat.com>
1299
1300         PR breakpoints/19806 and support for PR external/20207.
1301         * gdb.base/watchpoint-unaligned.c: New file.
1302         * gdb.base/watchpoint-unaligned.exp: New file.
1303
1304 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1305
1306         * gdb.base/maint.exp: Make test names unique, use
1307         test_prefix_command_help to test 'help maint info', and remove
1308         repeated test of 'help maint'.
1309
1310 2018-05-04  Tom Tromey  <tom@tromey.com>
1311
1312         PR gdb/22619:
1313         * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
1314         behavior.
1315
1316 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1317
1318         * gdb.base/maint.exp: Process output from 'maint print registers'
1319         line at a time.
1320
1321 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1322
1323         * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
1324         timeout.
1325
1326 2018-05-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1327
1328         * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
1329         filter pattern.
1330
1331 2018-05-02  Pedro Alves  <palves@redhat.com>
1332
1333         * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
1334         to_log_command renames.
1335         * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1336
1337 2018-05-02  Tom Tromey  <tom@tromey.com>
1338
1339         * gdb.python/py-parameter.exp: Set test message.
1340
1341 2018-05-02  Tom Tromey  <tom@tromey.com>
1342
1343         PR python/20084:
1344         * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
1345         PARAM_ZUINTEGER_UNLIMITED tests.
1346
1347 2018-04-28  Dan Robertson  <danlrobertson89@gmail.com>
1348
1349         PR rust/23124
1350         * gdb.rust/expr.exp: Test that the unit type is correctly parsed
1351         when casting.
1352
1353 2018-04-30  Tom Tromey  <tom@tromey.com>
1354
1355         * gdb.python/py-type.exp: Check align attribute.
1356         * gdb.python/py-type.c: New "aligncheck" global.
1357
1358 2018-04-30  Tom Tromey  <tom@tromey.com>
1359
1360         PR exp/17095:
1361         * gdb.dwarf2/dw2-align.exp: New file.
1362         * gdb.cp/align.exp: New file.
1363         * gdb.base/align.exp: New file.
1364         * lib/gdb.exp (gdb_int128_helper): New proc.
1365         (has_int128_c, has_int128_cxx): New caching procs.
1366
1367 2018-04-27  Tom Tromey  <tom@tromey.com>
1368
1369         PR rust/22545:
1370         * gdb.rust/simple.exp: Add inclusive range tests.
1371
1372 2018-04-26  Pedro Alves  <palves@redhat.com>
1373
1374         * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
1375         ifunc breakpoint locations correctly of ifunc breakpoints set
1376         while the program resolves the ifunc.
1377
1378 2018-04-26  Pedro Alves  <palves@redhat.com>
1379
1380         * gdb.base/gnu-ifunc-final.c: New file.
1381         * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
1382         * gdb.base/gnu-ifunc.exp (executable): Delete.
1383         (staticexecutable): Adjust.
1384         (lib_opts, exec_opts): Delete.
1385         (make_binsuffix, build, set-break): New procedures.
1386         (misc_tests): New, with tests factored out from the top level.
1387         (top level): Test different combinations of ifunc resolver name,
1388         resolver with and with debug info, and ifunc target with and
1389         without debug info.  Wrap static tests with with_target_prefix.
1390
1391 2018-04-26  Pedro Alves  <palves@redhat.com>
1392
1393         * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
1394         return type" warnings.
1395
1396 2018-04-25  Pedro Alves  <palves@redhat.com>
1397
1398         * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
1399         killed".
1400         * gdb.base/kill-after-signal.exp: Likewise.
1401         * gdb.threads/kill.exp: Likewise.
1402
1403 2018-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1404             Sergio Durigan Junior  <sergiodj@redhat.com>
1405             Pedro Alves  <palves@redhat.com>
1406
1407         * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1408         regexps to expect for '[Inferior ... detached]' as well.
1409         * gdb.base/attach.exp: Likewise.
1410         * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1411         "gdb_continue_to_end".
1412         (test_catch_syscall_with_wrong_args): Likewise.
1413         * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1414         ']'.  Don't set 'verbose' on.
1415         * gdb.base/foll-vfork.exp: Likewise.
1416         * gdb.base/fork-print-inferior-events.c: New file.
1417         * gdb.base/fork-print-inferior-events.exp: New file.
1418         * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1419         '[Inferior ... has been killed]' message.
1420         * gdb.base/kill-after-signal.exp: Likewise.
1421         * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1422         detach message.
1423         * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1424         message.
1425         * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1426         regexps to expect for '[Inferior ... detached]' as well.
1427         * gdb.threads/process-dies-while-detaching.exp: Likewise.
1428
1429 2018-04-24  Simon Marchi  <simon.marchi@ericsson.com>
1430
1431         PR gdb/23104
1432         * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1433
1434 2018-04-19  Richard Bunt  <richard.bunt@arm.com>
1435
1436         * gdb.threads/multiple-successive-infcall.c: New test.
1437         * gdb.threads/multiple-successive-infcall.exp: New file.
1438
1439 2018-04-17  Tom Tromey  <tom@tromey.com>
1440
1441         * gdb.rust/simple.rs (Union): New type.
1442         (main): New local "u".
1443         * gdb.rust/simple.exp (test_one_slice): Add new test case.
1444
1445 2018-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1446
1447         * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1448         number information in output of "whereis" command.
1449         * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1450
1451 2018-04-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1452
1453         * gdb.ada/info_types.exp: Adjust expected output to the line
1454         numbers now printed by "info var/func/type".
1455         * gdb.base/completion.exp: Likewise.
1456         * gdb.base/included.exp: Likewise.
1457         * gdb.cp/cp-relocate.exp: Likewise.
1458         * gdb.cp/cplusfuncs.exp: Likewise.
1459         * gdb.cp/namespace.exp: Likewise.
1460         * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1461
1462 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1463
1464         * gdb.btrace/cpu.exp: New.
1465
1466 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1467
1468         * gdb.base/step-indirect-call-thunk.exp: New.
1469         * gdb.base/step-indirect-call-thunk.c: New.
1470         * gdb.reverse/step-indirect-call-thunk.exp: New.
1471         * gdb.reverse/step-indirect-call-thunk.c: New.
1472
1473 2018-04-11  Simon Marchi  <simon.marchi@ericsson.com>
1474
1475         * gdb.base/pie-fork.c: New file.
1476         * gdb.base/pie-fork.exp: New file.
1477
1478 2018-04-11  Tom Tromey  <tom@tromey.com>
1479
1480         * gdb.rust/simple.exp: Add test for ".." struct initializer.
1481
1482 2018-04-10  Pedro Alves  <palves@redhat.com>
1483
1484         * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1485         exits.  Instead loop running forever.
1486         (fork_parent): Run forever too.
1487
1488 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1489
1490         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
1491         mi_continue_to_line.
1492         * gdb.mi/mi-stack.c (callee4): Add comment.
1493
1494 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1495
1496         * gdb.mi/mi-stack.exp: Fix indentation.
1497
1498 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1499
1500         PR gdb/22979
1501         * gdb.arch/amd64-osabi.exp: New file.
1502
1503 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1504
1505         PR gdb/22980
1506         * gdb.base/osabi.exp: New file.
1507
1508 2018-04-02  Weimin Pan  <weimin.pan@oracle.com>
1509
1510         * gdb.cp/static-typedef-print.exp: New file.
1511         * gdb.cp/static-typedef-print.cc: New file.
1512
1513 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1514
1515         * gdb.ada/varsize_limit: New testcase.
1516
1517 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1518
1519         * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1520
1521         * gdb.ada/notcplusplus: New testcase.
1522
1523         * gdb.base/c-linkage-name.c: New file.
1524         * gdb.base/c-linkage-name.exp: New testcase.
1525
1526 2018-03-26  Tom Tromey  <tom@tromey.com>
1527
1528         * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1529         * gdb.python/py-framefilter.py (name_error): New global.
1530         (ErrorInName.function): Use name_error.
1531
1532 2018-03-26  Tom Tromey  <tom@tromey.com>
1533
1534         PR backtrace/15582:
1535         * gdb.python/py-framefilter.exp: Add "bt hide" test.
1536
1537 2018-03-23  Keith Seitz  <keiths@redhat.com>
1538
1539         PR c++/22968
1540         * gdb.cp/subtypes.exp: New file.
1541         * gdb.cp/subtypes.h: New file.
1542         * gdb.cp/subtypes.cc: New file.
1543         * gdb.cp/subtypes-2.cc: New file.
1544
1545 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1546
1547         * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1548         (done): Call '_exit' not 'exit' to avoid atexit handlers.
1549         * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1550         -nostartfiles when compiling the test.  Confirm that all registers
1551         xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1552
1553 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1554
1555         * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1556         option, syntax was wrong anyway.
1557         * gdb.arch/arm-disp-step.exp: Likewise.
1558         * gdb.arch/sparc64-regs.exp: Likewise.
1559         * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1560         option, syntax was wrong anyway, switch to use
1561         prepare_for_testing.
1562         * gdb.arch/i386-disp-step.exp: Likewise.
1563
1564 2018-03-23  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1565
1566         * gdb.ada/exec_changed.exp: Replace "target_info exists
1567         use_gdb_stub" by "use_gdb_stub".
1568         * gdb.ada/start.exp: Likewise.
1569         * gdb.base/async-shell.exp: Likewise.
1570         * gdb.base/attach-pie-misread.exp: Likewise.
1571         * gdb.base/attach-wait-input.exp: Likewise.
1572         * gdb.base/break-entry.exp: Likewise.
1573         * gdb.base/break-interp.exp: Likewise.
1574         * gdb.base/dprintf-detach.exp: Likewise.
1575         * gdb.base/nostdlib.exp: Likewise.
1576         * gdb.base/solib-nodir.exp: Likewise.
1577         * gdb.base/statistics.exp: Likewise.
1578         * gdb.base/testenv.exp: Likewise.
1579         * gdb.mi/mi-exec-run.exp: Likewise.
1580         * gdb.mi/mi-start.exp: Likewise.
1581         * gdb.multi/dummy-frame-restore.exp: Likewise.
1582         * gdb.multi/multi-arch-exec.exp: Likewise.
1583         * gdb.multi/multi-arch.exp: Likewise.
1584         * gdb.multi/tids.exp: Likewise.
1585         * gdb.multi/watchpoint-multi.exp: Likewise.
1586         * gdb.python/py-events.exp: Likewise.
1587         * gdb.threads/attach-into-signal.exp: Likewise.
1588         * gdb.threads/attach-stopped.exp: Likewise.
1589         * gdb.threads/threadapply.exp: Likewise.
1590         * lib/selftest-support.exp: Likewise.
1591
1592 2018-03-22  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1593
1594         * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1595
1596 2018-03-20  Stephen Roberts  <stephen.roberts@arm.com>
1597
1598         * gdb.perf/template-breakpoints.cc: New file.
1599         * gdb.perf/template-breakpoints.exp: New file.
1600         * gdb.perf/template-breakpoints.py: New file.
1601
1602 2018-03-19  Tom Tromey  <tom@tromey.com>
1603
1604         * gdb.rust/simple.rs (main): Add local variables field1, field2,
1605         y0.
1606         * gdb.rust/simple.exp: Test bare identifier form of struct
1607         initializer.
1608
1609 2018-03-19  Tom Tromey  <tom@tromey.com>
1610
1611         * gdb.gdb/observer.exp: Remove.
1612
1613 2018-03-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1614
1615         * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1616         "qualified" option when setting breakpoints.
1617         * gdb.trace/backtrace.exp: Likewise.
1618         * gdb.trace/circ.exp: Likewise.
1619         * gdb.trace/collection.exp: Likewise.
1620         * gdb.trace/disconnected-tracing.exp: Likewise.
1621         * gdb.trace/ftrace-lock.exp: Likewise.
1622         * gdb.trace/ftrace.exp: Likewise.
1623         * gdb.trace/infotrace.exp: Likewise.
1624         * gdb.trace/packetlen.exp: Likewise.
1625         * gdb.trace/passc-dyn.exp: Likewise.
1626         * gdb.trace/qtro.exp: Likewise.
1627         * gdb.trace/read-memory.exp: Likewise.
1628         * gdb.trace/report.exp: Likewise.
1629         * gdb.trace/signal.exp: Likewise.
1630         * gdb.trace/status-stop.exp: Likewise.
1631         * gdb.trace/strace.exp: Likewise.
1632         * gdb.trace/tfind.exp: Likewise.
1633         * gdb.trace/trace-break.exp: Likewise.
1634         * gdb.trace/trace-condition.exp: Likewise.
1635         * gdb.trace/trace-mt.exp: Likewise.
1636         * gdb.trace/tstatus.exp: Likewise.
1637         * gdb.trace/tsv.exp: Likewise.
1638         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1639         * gdb.trace/unavailable.exp: Likewise.
1640         * gdb.trace/while-dyn.exp: Likewise.
1641
1642 2018-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1643
1644         * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1645         that libinproctrace is copied to the target.
1646
1647 2018-03-14  Tom Tromey  <tom@tromey.com>
1648
1649         PR cli/14977:
1650         * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1651         a null pointer.
1652         * gdb.base/wchar.exp: Likewise.
1653
1654 2018-03-14  Tom Tromey  <tom@tromey.com>
1655
1656         PR cli/19918:
1657         * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1658         flag.
1659
1660 2018-03-08  Simon Marchi  <simon.marchi@ericsson.com>
1661
1662         PR gdb/22841
1663         * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1664         "target" to remote_exec.
1665
1666 2018-03-08  Simon Marchi  <simon.marchi@polymtl.ca>
1667
1668         PR gdb/22841
1669         * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1670         ${board}_upload): Remove.
1671
1672 2018-03-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1673
1674         * gdb.cp/watch-cp.cc: New test.
1675         * gdb.cp/watch-cp.exp: New file.
1676
1677 2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1678
1679         * gdb.base/infcall-nested-structs.exp: New file.
1680         * gdb.base/infcall-nested-structs.c: New file.
1681         * gdb.base/float.exp: Add riscv support.
1682
1683 2018-03-02  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1684
1685         * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1686         * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1687
1688 2018-02-28  Sergio Durigan Junior  <sergiodj@redhat.com>
1689
1690         * gdb.server/abspath.exp: New file.
1691         * lib/gdb.exp (with_cwd): New procedure.
1692
1693 2018-02-28  Simon Marchi  <simon.marchi@ericsson.com>
1694
1695         * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1696         use it.
1697         (gdb_is_target_remote_prompt): New proc.
1698         (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1699         (gdb_is_target_native): Pass prompt parameter to
1700         gdb_is_target_1.
1701
1702 2018-02-26  Simon Marchi  <simon.marchi@polymtl.ca>
1703
1704         * gdb.base/load-command.c: New file.
1705         * gdb.base/load-command.exp: New file.
1706         * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1707         (gdb_is_target_1): ...this, and generalize for other targets
1708         than just remote.
1709         (gdb_is_target_remote): Use gdb_is_target_1.
1710         (gdb_is_target_native): use gdb_is_target_1.
1711
1712 2018-02-26  Tom Tromey  <tom@tromey.com>
1713
1714         PR python/16497:
1715         * gdb.python/py-framefilter.exp: Update test.
1716
1717 2018-02-26  Tom Tromey  <tom@tromey.com>
1718
1719         * gdb.dwarf2/variant.c: New file.
1720         * gdb.dwarf2/variant.exp: New file.
1721
1722 2018-02-26  Tom Tromey  <tom@tromey.com>
1723
1724         * gdb.rust/simple.exp: Accept more possible results in enum test.
1725
1726 2018-02-25  Simon Marchi  <simon.marchi@polymtl.ca>
1727
1728         * lib/cp-support.exp (cp_test_ptype_class): Move space inside
1729         parentheses.
1730
1731 2018-02-23  Maciej W. Rozycki  <macro@mips.com>
1732
1733         * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
1734         name of a variable: $actual_linejj -> $actual_line.
1735
1736 2018-02-21  John Baldwin  <jhb@FreeBSD.org>
1737
1738         * gdb.arch/amd64-i386-address.exp: Fix a typo.
1739
1740 2018-02-20  Markus Metzger  <markus.t.metzger@intel.com>
1741
1742         * gdb.btrace/buffer-size.exp: Do not force BTS.
1743
1744 2018-02-14  Pedro Alves  <palves@redhat.com>
1745
1746         * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
1747         getting a "Quit".
1748
1749 2018-02-09  Markus Metzger  <markus.t.metzger@intel.com>
1750
1751         * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
1752         Fix test name.
1753
1754 2018-02-07  Simon Marchi  <simon.marchi@ericsson.com>
1755
1756         * gdb.cp/m-static.exp: Check type of optimized out static
1757         member.
1758
1759 2018-02-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1760
1761         * config/sid.exp (gdb_target_sid): Remove use of cleanup.
1762         * config/sim.exp (gdb_target_sim): Remove use of cleanup.
1763
1764 2018-02-01  Simon Marchi  <simon.marchi@polymtl.ca>
1765             Leszek Swirski  <leszeks@google.com>
1766
1767         * gdb.python/py-prettyprint.c
1768         (struct to_string_returns_value_inner,
1769         struct to_string_returns_value_wrapper): New.
1770         (main): Add tsrvw variable.
1771         * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
1772         ToStringReturnsValueWrapper): New classes.
1773         (register_pretty_printers): Register new pretty-printers.
1774         * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
1775         recursive pretty printer.
1776         * gdb.python/py-mi.exp: Likewise.
1777
1778 2018-02-01  Leszek Swirski  <leszeks@google.com>
1779
1780         * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
1781         functions with the same name as an include file are parsed
1782         correctly.
1783
1784 2018-02-01  Yao Qi  <yao.qi@linaro.org>
1785
1786         * gdb.base/attach.exp (do_attach_tests): Set sysroot to
1787         "\[^\r\n\]*".
1788
1789 2018-01-31  Nikola Prica  <nikola.prica@rt-rk.com>
1790
1791         * gdb.arch/powerpc-prologue-frame.s: New file.
1792         * gdb.arch/powerpc-prologue-frame.c: Likewise.
1793         * gdb.arch/powerpc-prologue-frame.exp: Likewise.
1794
1795 2018-01-31  Joel Brobecker  <brobecker@adacore.com>
1796
1797         * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
1798
1799 2018-01-30  Pedro Alves  <palves@redhat.com>
1800
1801         PR gdb/13211
1802         * gdb.base/interrupt-daemon.c: New.
1803         * gdb.base/interrupt-daemon.exp: New.
1804         * gdb.multi/multi-term-settings.c: New.
1805         * gdb.multi/multi-term-settings.exp: New.
1806
1807 2018-01-30  Joel Brobecker  <brobecker@adacore.com>
1808
1809         * gdb.base/break.exp: Save the location where the breakpoint
1810         on break.c:47 was actually inserted when debugging the version
1811         compiled at -O2 and use it in the expected output of the "info
1812         break" test performed soon after.
1813
1814 2018-01-22  Pedro Alves  <palves@redhat.com>
1815             Sergio Durigan Junior  <sergiodj@redhat.com>
1816
1817         * gdb.base/whatis.exp: Add tests for 'set print object on' +
1818         'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
1819
1820 2018-01-22  Joel Brobecker  <brobecker@adacore.com>
1821
1822         * gdb.base/break-include.c, gdb.base/break-include.inc,
1823         gdb.base/break-include.exp: New files.
1824         * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
1825         line number now being the actual line number where the breakpoint
1826         was inserted.
1827         * gdb.mi/mi-break.exp: Likewise.
1828         * gdb.mi/mi-reverse.exp: Likewise.
1829         * gdb.mi/mi-simplerun.exp: Ditto.
1830
1831 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1832
1833         * gdb.python/py-mi.exp: Don't expect a thread-id for floating
1834         varobj.
1835         * gdb.mi/mi-var-create-rtti.exp: Likewise.
1836
1837 2018-01-21  Don Breazeal  <donb@codesourcery.com>
1838             Andrew Burgess  <andrew.burgess@embecosm.com>
1839
1840         * gdb.mi/basics.c: Add new global.
1841         * gdb.mi/mi-frame-regs.exp: New file.
1842         * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
1843         case.
1844
1845 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
1846
1847         * gdb.arch/amd64-entry-value.exp: Test using @entry on a
1848         non-parameter, and on an unknown symbol.
1849
1850 2018-01-19  Tom Tromey  <tom@tromey.com>
1851
1852         * gdb.rust/modules.rs (TWENTY_THREE): New global.
1853         * gdb.rust/modules.exp: Add ::-qualified lookup test.
1854
1855 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1856
1857         * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
1858         setrlimit and chdir to int.
1859
1860 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1861
1862         * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
1863         function.
1864         (my_tend): Likewise.
1865         * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
1866         rationale of avoiding FP- and vector instructions.
1867
1868 2018-01-19  Ruslan Kabatsayev  <b7.10110111@gmail.com>
1869
1870         * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
1871         "info reg" with "\[ \t\]*".
1872         * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
1873         "\[ \t\]+".
1874         * gdb.arch/s390-multiarch.exp: Ditto.
1875         * gdb.base/pc-fp.exp: Ditto.
1876         * gdb.reverse/i386-precsave.exp: Ditto.
1877         * gdb.reverse/i386-reverse.exp: Ditto.
1878         * gdb.reverse/i387-env-reverse.exp: Ditto.
1879         * gdb.reverse/i387-stack-reverse.exp: Ditto.
1880
1881 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1882
1883         * lib/gdb.exp (gdb_compile): Re-enable use of
1884         universal_compile_options for languages other than Rust.
1885
1886 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1887
1888         * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
1889
1890 2018-01-17  Mike Gulick  <mgulick@mathworks.com>
1891
1892         PR gdb/16577
1893         * gdb.base/solib-vanish.exp: New.
1894         * gdb.base/solib-vanish-main.c: New.
1895         * gdb.base/solib-vanish-lib1.c: New.
1896         * gdb.base/solib-vanish-lib2.c: New.
1897
1898 2018-01-17  Yao Qi  <yao.qi@linaro.org>
1899
1900         * gdb.compile/compile.exp: Match the address printed for
1901         frame in the output of command "bt".
1902
1903 2018-01-15  Tom Tromey  <tom@tromey.com>
1904
1905         * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
1906         compute sp_reg.
1907
1908 2018-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1909
1910         * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
1911         to prepare.
1912         (prepare): Return 0 on error, 1 on success.
1913
1914 2018-01-12  Pedro Alves  <palves@redhat.com>
1915
1916         * gdb.base/continue-after-aborted-step-over.c: New.
1917         * gdb.base/continue-after-aborted-step-over.exp: New.
1918
1919 2018-01-11  Simon Marchi  <simon.marchi@ericsson.com>
1920
1921         * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
1922         options when not creating an executable.
1923
1924 2018-01-11  Pedro Alves  <palves@redhat.com>
1925
1926         PR remote/22597
1927         * gdb.server/stop-reply-no-thread.c: New file.
1928         * gdb.server/stop-reply-no-thread.exp: New file.
1929
1930 2018-01-10  Pedro Alves  <palves@redhat.com>
1931
1932         PR gdb/22670
1933         * gdb.ada/bp_c_mixed_case.exp: Add intro comment.  Test printing C
1934         functions too.  Test setting breakpoints and printing C functions
1935         with no debug info too.
1936         * gdb.ada/bp_c_mixed_case/qux.c: New file.
1937
1938 2018-01-10  Pedro Alves  <palves@redhat.com>
1939
1940         PR gdb/22670
1941         * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
1942         a fail.
1943
1944 2018-01-10  Pedro Alves  <palves@redhat.com>
1945
1946         PR gdb/22670
1947         * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
1948
1949 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
1950
1951         * gdb.server/unittest.exp: Match the output in non-development
1952         mode.
1953
1954 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
1955
1956         * gdb.gdb/unittest.exp: Match output in non-development mode.
1957
1958 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
1959
1960         * gdb.ada/access_tagged_param.exp: Relax expected output
1961         for value of "ObjL" in "continue" to pck.inspect breakpoint
1962         test.
1963
1964 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
1965
1966         * gdb.ada/arr_enum_idx_w_gap.exp: New file.
1967         * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
1968
1969 2018-01-05  Pedro Alves  <palves@redhat.com>
1970
1971         PR gdb/18653
1972         * gdb.base/libsegfault.exp: New.
1973
1974 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1975
1976         PR gdb/22670
1977         * gdb.ada/access_tagged_param.exp: New file.
1978         * gdb.ada/access_tagged_param/foo.adb: New file.
1979
1980 2018-01-05  Pedro Alves  <palves@redhat.com>
1981
1982         PR gdb/22670
1983         * gdb.ada/info_addr_mixed_case.exp: Remove kfail.  Extend test to
1984         exercise lower case too, and to exercise both full matching and
1985         wild matching.
1986
1987 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1988
1989         * gdb.ada/rename_subscript_param: New testcase.
1990
1991 2018-01-05  Jerome Guitton  <guitton@adacore.com>
1992
1993         * gdb.ada/arr_acc_idx_w_gap: New testcase.
1994
1995 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
1996
1997         * gdb.ada/convvar_comp: New testcase.
1998
1999 2018-01-05  Xavier Roirand  <roirand@adacore.com>
2000
2001         * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
2002         (My_Table): New global variable.
2003         * testsuite/gdb.ada/array_char_idx.exp: Add test.
2004
2005 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2006
2007         PR gdb/22670
2008         * gdb.ada/maint_with_ada: New testcase.
2009
2010 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2011
2012         PR gdb/22670
2013         * gdb.ada/bp_c_mixed_case: New testcase.
2014
2015 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2016
2017         PR gdb/22670
2018         * gdb.ada/complete.exp: Add "complete break ada" test.
2019
2020 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2021
2022         PR gdb/22670
2023         * gdb.ada/info_addr_mixed_case: New testcase.
2024
2025 2018-01-03  Xavier Roirand  <roirand@adacore.com>
2026
2027         * gdb.ada/excep_handle.exp: New testcase.
2028         * gdb.ada/excep_handle/foo.adb: New file.
2029         * gdb.ada/excep_handle/pck.ads: New file.
2030
2031 2018-01-03  Joel Brobecker  <brobecker@adacore.com>
2032
2033         * gdb.base/step-line.c: Add extra empty line in copyright header.
2034         * gdb.base/step-line.inp: Likewise.
2035
2036 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
2037
2038         * gdb.ada/dyn_stride.exp: Add slice test.
2039
2040 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
2041
2042         * gdb.ada/dyn_stride: New testcase.
2043
2044 2017-12-27  Stafford Horne  <shorne@gmail.com>
2045
2046         * gdb.xml/extra-regs.xml: Add example foo reggroup.
2047         * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
2048
2049 2017-12-27  Stafford Horne  <shorne@gmail.com>
2050
2051         * gdb.base/reggroups.c: New file.
2052         * gdb.base/reggroups.exp: New file.
2053
2054 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
2055
2056         * gdb.dwarf2/ada-valprint-error.c: New file.
2057         * gdb.dwarf2/ada-valprint-error.exp: New file.
2058
2059 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
2060
2061         * gdb.ada/assign_arr: New testcase.
2062
2063 2017-12-18  Xavier Roirand  <roirand@adacore.com>
2064
2065         * gdb.ada/funcall_ptr: New testcase.
2066
2067 2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
2068
2069         PR cli/16224
2070         * gdb.base/ptype-offsets.cc: New file.
2071         * gdb.base/ptype-offsets.exp: New file.
2072
2073 2017-12-15  Yao Qi  <yao.qi@linaro.org>
2074
2075         * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
2076         if XML is disabled.
2077
2078 2017-12-15  Xavier Roirand  <roirand@adacore.com>
2079
2080         * gdb.ada/same_component_name: New testcase.
2081
2082 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
2083
2084         * gdb.ada/str_binop_equal: New testcase.
2085
2086 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
2087
2088         * gdb.ada/task_switch_in_core: New testcase.
2089
2090 2017-12-13  Simon Marchi  <simon.marchi@ericsson.com>
2091
2092         * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2093         * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2094         call test_bkpt_qualified.
2095         (test_bkpt_qualified): New proc.
2096
2097 2017-12-13  Pedro Alves  <palves@redhat.com>
2098
2099         * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2100         Tighten regexp by matching with an anchor.
2101
2102 2017-12-13  Pedro Alves  <palves@redhat.com>
2103
2104         * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2105         ("expression with namespace"): New set of tests.
2106         * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
2107         (Nested::Test_NS::qux): New.
2108         * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
2109         defaults to 'start_quote_char' and 'end_quote_char' parameters.
2110
2111 2017-12-13  Joel Brobecker  <brobecker@adacore.com>
2112
2113         * gdb.base/server-del-break.c: New file.
2114         * gdb.base/server-del-break.exp: New file.
2115
2116 2017-12-12  Stafford Horne  <shorne@gmail.com>
2117
2118         * gdb.xml/tdesc-regs.exp: Add or1k support.
2119
2120 2017-12-12  Stafford Horne  <shorne@gmail.com>
2121
2122         * gdb.base/bp-permanent.c: Define nop of or1k.
2123
2124 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2125
2126         * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
2127         output with components being reordered.
2128
2129 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2130
2131         * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
2132         output with components being reordered.
2133
2134 2017-12-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2135             Pedro Alves  <palves@redhat.com>
2136
2137         * gdb.base/maint.exp (check for .gdb_index): Check also for
2138         .debug_names.
2139         * gdb.dlang/watch-loc.c (.debug_aranges): New.
2140         * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
2141         * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
2142         (.gdb_index used after symbol reloading): Support also .debug_names.
2143         * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
2144
2145 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2146
2147         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2148         * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
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 test for breakpoint.
2154
2155 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2156
2157         * gdb.arch/aarch64-tagged-pointer.c: New file.
2158         * gdb.arch/aarch64-tagged-pointer.exp: New file.
2159
2160 2017-12-08  Sergio Durigan Junior  <sergiodj@redhat.com>
2161
2162         * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
2163         "int".
2164
2165 2017-12-07  Keith Seitz  <keiths@redhat.com>
2166
2167         PR breakpoints/22569
2168         * gdb.linespec/ls-errs.exp: Change expected result of "break
2169         -source this file has spaces.c -line 3".
2170         Check that an explicit source file followed by whitespace is
2171         identified as an invalid explicit location.
2172
2173 2017-12-07  Keith Seitz  <keiths@redhat.com>
2174
2175         * gdb.cp/nested-types.cc: New file.
2176         * gdb.cp/nested-types.exp: New file.
2177         * lib/cp-support.exp: Load data-structures.exp library.
2178         (debug_cp_test_ptype_class): New global.
2179         (cp_ptype_class_verbose, next_line): New procedures.
2180         (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
2181         Add and document new return value.
2182         Switch the list of lines to a queue.
2183         Add support for new `type' key for nested type definitions.
2184         Add debugging/troubleshooting messages.
2185         * lib/data-structures.exp: New file.
2186
2187 2017-12-07  Simon Marchi  <simon.marchi@ericsson.com>
2188
2189         * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
2190         with proc_with_prefix, don't use with_test_prefix.
2191
2192 2017-12-07  Tom Tromey  <tom@tromey.com>
2193
2194         * gdb.base/break.exp: Add test for empty "commands".
2195
2196 2017-12-07  Yao Qi  <yao.qi@linaro.org>
2197
2198         * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
2199         malloc and catch syscall.
2200
2201 2017-12-07  Phil Muldoon  <pmuldoon@redhat.com>
2202
2203        * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
2204         tests for explicit locations.
2205
2206 2017-12-06  Pedro Alves  <palves@redhat.com>
2207
2208         * gdb.arch/i386-avx.exp: If testing with a RSP target, check
2209         force-disabling XML descriptions.
2210
2211 2017-12-04  Pedro Alves  <palves@redhat.com>
2212
2213         PR gdb/22499
2214         * gdb.arch/amd64-disp-step-avx.S: New file.
2215         * gdb.arch/amd64-disp-step-avx.exp: New file.
2216
2217 2017-12-03  Pedro Alves  <palves@redhat.com>
2218
2219         * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
2220         and <string.h>.
2221         (parent_function): Print distinct messages when waitpid fails, or
2222         the child exits with a signal, or the child exits for an unhandled
2223         reason.
2224         * gdb.threads/process-dies-while-detaching.exp
2225         (detach_and_expect_exit): New 'inf_output_re' parameter and use
2226         it.  Wait for both inferior output and GDB's prompt.  Use an
2227         indirect spawn id list.
2228         (do_detach): New parameter 'child_exit'.  Use it to compute
2229         expected inferior output.
2230         (test_detach, test_detach_watch, test_detach_killed_outside):
2231         Adjust to pass down the expected child exit kind.
2232
2233 2017-12-01  Joel Brobecker  <brobecker@adacore.com>
2234             Sergio Durigan Junior  <sergiodj@redhat.com>
2235             Pedro Alves  <palves@redhat.com>
2236
2237         * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
2238
2239 2017-12-01  Sergio Durigan Junior  <sergiodj@redhat.com>
2240
2241         * gdb.base/relocate.exp: Add tests to guarantee that arguments
2242         to 'symbol-file' and 'add-symbol-file' can be
2243         position-independent.
2244
2245 2017-12-01  Yao Qi  <yao.qi@linaro.org>
2246
2247         * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
2248         the URL in copyright header.
2249         * gdb.arch/aarch64-fp.exp: Likewise.
2250         * gdb.arch/ppc64-atomic-inst.exp: Likewise.
2251         * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
2252         * gdb.base/expand-psymtabs.exp: Likewise.
2253         * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
2254         * gdb.fortran/common-block.exp: Likewise.
2255         * gdb.fortran/common-block.f90: Likewise.
2256         * gdb.fortran/logical.exp: Likewise.
2257         * gdb.fortran/vla-datatypes.f90: Likewise.
2258         * gdb.fortran/vla-sub.f90: Likewise.
2259
2260 2017-11-30  Joel Brobecker  <brobecker@adacore.com>
2261
2262         * gdb.ada/repeat_dyn: New testcase.
2263
2264 2017-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
2265
2266         * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
2267         Update for changed thread numbering.
2268         * gdb.cell/bt.exp: Update for changed GDB output.
2269
2270 2017-11-30  Simon Marchi  <simon.marchi@ericsson.com>
2271
2272         * boards/cc-with-tweaks.exp: Include local-board.exp instead of
2273         setting isremote by hand.
2274         * boards/dwarf4-gdb-index.exp: Likewise.
2275         * boards/fission.exp: Likewise.
2276         * boards/stabs.exp: Likewise.
2277
2278 2017-11-30  Pedro Alves  <palves@redhat.com>
2279
2280         * gdb.linespec/cpls-ops.exp
2281         (check_explicit_skips_function_argument): Extract the underlying
2282         type of size_t instead of hardcoding it.
2283
2284 2017-11-29  Pedro Alves  <palves@redhat.com>
2285
2286         PR c++/19436
2287         * gdb.linespec/cpls-abi-tag.cc: New file.
2288         * gdb.linespec/cpls-abi-tag.exp: New file.
2289
2290 2017-11-29  Pedro Alves  <palves@redhat.com>
2291
2292         * gdb.base/langs.exp: Use -qualified.
2293         * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
2294         it.
2295         * gdb.cp/namespace.exp: Use -qualified.
2296         * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
2297         (overload-3, template-overload, template-ret-type, const-overload)
2298         (const-overload-quoted, anon-ns, ambiguous-prefix): New
2299         procedures.
2300         (test_driver): Call them.
2301         * gdb.cp/save-bp-qualified.cc: New.
2302         * gdb.cp/save-bp-qualified.exp: New.
2303         * gdb.linespec/explicit.exp: Test -qualified.
2304         * lib/completion-support.exp (completion::explicit_opts_list): Add
2305         "-qualified".
2306         * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
2307
2308 2017-11-29  Phil Muldoon  <pmuldoon@redhat.com>
2309
2310         * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
2311
2312 2017-11-29  Tom Tromey  <tom@tromey.com>
2313
2314         * gdb.base/relocate.exp: Update invalid argument test.
2315         Add new tests for invalid arguments.
2316
2317 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2318
2319         * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
2320         Return 0 as a long.
2321         * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
2322
2323 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2324
2325         * gdb.cp/breakpoint.cc (bar): Set return type to void.
2326         * gdb.cp/psymtab-parameter.cc (func): Likewise.
2327         * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
2328         func ().
2329         * gdb.cp/shadow.cc (B.func): Return 0.
2330
2331 2017-11-27  Joel Brobecker  <brobecker@adacore.com>
2332
2333         * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
2334         expected output in gdb_expect call to allow the exception
2335         message to be present as well.  Fix syntax confusion to avoid
2336         TCL thinking that exception_name is an array.
2337
2338 2017-11-26  Ulrich Weigand  <uweigand@de.ibm.com>
2339
2340         * gdb.arch/spu-info.c: Include <unistd.h>.
2341         (do_signal_test): Fix broken calls to write.
2342         * gdb.arch/spu-info.exp: Use prepare_for_testing.
2343         Fix checks for empty mailboxes.  Update signal tests for corrected
2344         do_signal_test routine.  Allow nonzero event status.
2345         * gdb.arch/spu-ls.exp: Use prepare_for_testing.
2346         * gdb.cell/arch.exp: Use standard_output_file.
2347         * gdb.cell/break.exp: Likewise.
2348         * gdb.cell/bt.exp: Likewise.
2349         * gdb.cell/core.exp: Likewise.
2350         * gdb.cell/dwarfaddr.exp: Likewise.
2351         * gdb.cell/ea-cache.exp: Likewise.
2352         * gdb.cell/ea-standalone.exp: Likewise.
2353         * gdb.cell/f-regs.exp: Likewise.
2354         * gdb.cell/fork.exp: Likewise.
2355         * gdb.cell/gcore.exp: Likewise.
2356         * gdb.cell/mem-access.exp: Likewise.
2357         * gdb.cell/ptype.exp: Likewise.
2358         * gdb.cell/registers.exp: Likewise.
2359         * gdb.cell/sizeof.exp: Likewise.
2360         * gdb.cell/solib-symbol.exp: Likewise.
2361         * gdb.cell/solib.exp: Likewise.
2362
2363 2017-11-25   Pedro Alves  <palves@redhat.com>
2364
2365         * gdb.base/complete-empty.exp: New file.
2366         * gdb.base/completion.exp: Adjust.
2367
2368 2017-11-25  Pedro Alves  <palves@redhat.com>
2369
2370         * gdb.linespec/cpls-ops.cc: New file.
2371         * gdb.linespec/cpls-ops.exp: New file.
2372         * lib/completion-support.exp (test_complete_prefix_range_re): New,
2373         factored out from ...
2374         (test_complete_prefix_range): ... this.
2375
2376 2017-11-24  Pedro Alves  <palves@redhat.com>
2377
2378         * gdb.linespec/cpcompletion.exp: New file.
2379         * gdb.linespec/cpls-hyphen.cc: New file.
2380         * gdb.linespec/cpls.cc: New file.
2381         * gdb.linespec/cpls2.cc: New file.
2382         * gdb.linespec/explicit.exp: Load completion-support.exp.  Adjust
2383         test to use test_gdb_complete_unique.  Add label completion,
2384         keyword completion and explicit location completion tests.
2385         * lib/completion-support.exp: New file.
2386
2387 2017-11-24  Joel Brobecker  <brobecker@adacore.com>
2388
2389         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
2390         gdb.ada/mi_ex_cond.exp: Accept optional exception message in
2391         when hitting an exception catchpoint.
2392
2393 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2394
2395         * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
2396
2397 2017-11-22  Simon Marchi  <simon.marchi@ericsson.com>
2398
2399         * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
2400         * gdb.dwarf2/info-locals-optimized-out.exp: New file.
2401         * gdb.dwarf2/info-locals-optimized-out.c: New file.
2402
2403 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2404
2405         * gdb.base/info-os.exp: Pass pthreads.
2406         * gdb.multi/multi-attach.exp: Likewise.
2407
2408 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2409
2410         * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2411         compiler.
2412
2413 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2414
2415         * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2416         * gdb.base/break-interp.exp: Likewise.
2417         * gdb.base/jit-attach-pie.exp: Likewise.
2418
2419 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2420
2421         * gdb.base/float128.c (large128): New variable.
2422         * gdb.base/float128.exp: Add test to print largest __float128 value.
2423
2424 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2425
2426         * gdb.arch/vsx-regs.exp: Update register content checks.
2427
2428 2017-11-21  Ulrich Weigand  <uweigand@de.ibm.com>
2429
2430         * gdb.arch/ppc-longdouble.exp: New file.
2431         * gdb.arch/ppc-longdouble.c: Likewise.
2432
2433 2017-11-21  Pedro Alves  <palves@redhat.com>
2434
2435         * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2436
2437 2017-11-20  Pedro Alves  <palves@redhat.com>
2438
2439         * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2440         (long_double_typedef): New typedefs.
2441         Use DEF on double and long double.
2442         * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2443         cases.
2444         (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2445         and 'long_double_ptr_same_size' locals.  Use them to decide
2446         whether cast from array/function to float is valid/invalid.
2447
2448 2017-11-17  Tom Tromey  <tom@tromey.com>
2449
2450         * gdb.rust/traits.rs: New file.
2451         * gdb.rust/traits.exp: New file.
2452
2453 2017-11-17  Joel Brobecker  <brobecker@adacore.com>
2454
2455         * gdb.ada/minsyms: New testcase.
2456
2457 2017-11-16  Pedro Alves  <palves@redhat.com>
2458
2459         * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2460         * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2461
2462 2017-11-16  Pedro Alves  <palves@redhat.com>
2463
2464         * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2465         gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2466
2467 2017-11-16  Pedro Alves  <palves@redhat.com>
2468
2469         * gdb.server/reconnect-ctrl-c.c: New file.
2470         * gdb.server/reconnect-ctrl-c.exp: New file.
2471
2472 2017-11-16  Phil Muldoon  <pmuldoon@redhat.com>
2473
2474         * gdb.python/py-rbreak.exp: New file.
2475         * gdb.python/py-rbreak.c: New file.
2476         * gdb.python/py-rbreak-func2.c: New file.
2477
2478 2017-11-16  Pedro Alves  <palves@redhat.com>
2479
2480         * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2481         pattern.
2482         * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2483         GDB.
2484
2485 2017-11-15  Simon Marchi  <simon.marchi@ericsson.com>
2486
2487         * gdb.tui/completionn.exp (test_tab_completion): Add space in
2488         regex.
2489
2490 2017-11-13  Simon Marchi  <simon.marchi@polymtl.ca>
2491
2492         * gdb.opt/inline-locals.exp: Remove trailing parentheses from
2493         test names.
2494
2495 2017-11-09  Pedro Alves  <palves@redhat.com>
2496
2497         * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
2498         factored out from ...
2499         (top level): ... here, and adjusted to avoid expecting beyond the
2500         prompt in a single gdb_test_multiple.
2501
2502 2017-11-09  Pedro Alves  <palves@redhat.com>
2503
2504         * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2505         output.
2506         * gdb.server/ext-attach.exp ("kill" test): Likewise.
2507         * gdb.server/ext-restart.exp ("kill" test): Likewise.
2508         * gdb.server/ext-run.exp ("kill" test): Likewise.
2509         * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2510
2511 2017-11-09  Pedro Alves  <palves@redhat.com>
2512
2513         * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2514         match till end of line.
2515
2516 2017-11-09  Pedro Alves  <palves@redhat.com>
2517
2518         * gdb.base/memattr.exp: Tighten regexes to match the end line.
2519
2520 2017-11-09  Pedro Alves  <palves@redhat.com>
2521
2522         * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2523         New procedures, factored out from ...
2524         (top level): ... here, and adjusted to avoid expecting beyond the
2525         prompt in one go.
2526
2527 2017-11-09  Pedro Alves  <palves@redhat.com>
2528
2529         * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2530         output.  Fix '?' match.
2531
2532 2017-11-08  Joel Brobecker  <brobecker@adacore.com>
2533
2534         * gdb.ada/scoped_watch: New testcase.
2535         * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2536         which is actually correct.
2537         * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2538         * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2539
2540 2017-11-08  Pedro Alves  <palves@redhat.com>
2541
2542         * gdb.gdb/complaints.exp (test_initial_complaints)
2543         (test_serial_complaints, test_short_complaints): Call
2544         complaint_internal instead of complaint.
2545
2546 2017-11-08  Djordje Todorovic  <djordje.todorovic@rt-rk.com>
2547
2548         * gdb.threads/tls-core.c: New file.
2549         * gdb.threads/tls-core.exp: Likewise.
2550
2551 2017-11-08   Pedro Alves  <palves@redhat.com>
2552
2553         * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2554         (p Exported_Capitalized): New test.
2555         (p exported_capitalized): New test.
2556
2557 2017-11-07  Pedro Alves  <palves@redhat.com>
2558
2559         * gdb.cp/ena-dis-br-range.exp: Add more tests.
2560
2561 2017-11-07  Pedro Alves  <palves@redhat.com>
2562
2563         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2564         * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2565         (disable_invalid, disable_inverted, disable_negative): New
2566         procedures.
2567         ("bad numbers"): New set of tests.
2568
2569 2017-11-07  Pedro Alves  <palves@redhat.com>
2570
2571         * gdb.cp/ena-dis-br-range.exp: Add tests.
2572
2573 2017-11-07  Pedro Alves  <palves@redhat.com>
2574
2575         * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2576
2577 2017-11-07  Xavier Roirand  <roirand@adacore.com>
2578             Pedro Alves  <palves@redhat.com>
2579
2580         * gdb.base/ena-dis-br.exp: Add reference to
2581         gdb.cp/ena-dis-br-range.exp.
2582         * gdb.cp/ena-dis-br-range.exp: New file.
2583         * gdb.cp/ena-dis-br-range.cc: New file.
2584
2585 2017-11-06  Pedro Alves  <palves@redhat.com>
2586
2587         * gdb.base/attach-non-pgrp-leader.c: New.
2588         * gdb.base/attach-non-pgrp-leader.exp: New.
2589
2590 2017-11-06  Pedro Alves  <palves@redhat.com>
2591
2592         * configure.ac: No longer check for termio.h and sgtty.h.
2593         * configure: Regenerate.
2594         * remote-utils.c: Include termios.h instead of gdb_termios.h.
2595         (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2596         Remove termio and sgtty code.
2597
2598 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2599
2600         * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2601         in GDB is disabled.
2602
2603 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2604
2605         * gdb.python/py-thrhandle.exp: Skip it if python is not
2606         enabled.
2607
2608 2017-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
2609
2610         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2611         as a breakpoint command.
2612
2613 2017-10-28  Maksim Dzabraev  <dzabraew@gmail.com>
2614
2615         PR python/21213
2616         * gdb.python/py-infthread.exp: Test calling
2617         InferiorThread.inferior () multiple times in a row.
2618
2619 2017-10-27  Keith Seitz  <keiths@redhat.com>
2620
2621         * gdb.opt/inline-break.exp (break_info_1): New procedure.
2622         Test "info break" for every inlined function breakpoint.
2623
2624 2017-10-27  Yao Qi  <yao.qi@linaro.org>
2625
2626         * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2627
2628 2017-10-26  Patrick Frants  <osscontribute@gmail.com>
2629
2630         * gdb.cp/classes.exp (test_static_members): Test printing
2631         Outer::instance.
2632         * gdb.cp/classes.c (struct Inner, struct Outer): New.
2633         (Inner::instance, Outer::instance): New.
2634
2635 2017-10-24  Pedro Alves  <palves@redhat.com>
2636
2637         * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2638         extra console" test in two stages.
2639
2640 2017-10-24  Pedro Alves  <palves@redhat.com>
2641
2642         * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2643
2644 2017-10-24  Pedro Alves  <palves@redhat.com>
2645
2646         * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2647         loop.
2648
2649 2017-10-24  Pedro Alves  <palves@redhat.com>
2650
2651         * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2652         $attempt" and "stoppedtry $stoppedtry" test prefixes.
2653
2654 2017-10-24  Pedro Alves  <palves@redhat.com>
2655
2656         * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2657         parameter and handle it.  Don't output read value in test name.
2658
2659 2017-10-24  Pedro Alves  <palves@redhat.com>
2660
2661         * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2662         custom test name.
2663
2664 2017-10-24  Pedro Alves  <palves@redhat.com>
2665
2666         * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2667         include the unstable output directory name in the test's name.
2668         (initial_setup_simple) <'set args'>: Use custom test name.
2669
2670 2017-10-24  Pedro Alves  <palves@redhat.com>
2671
2672         * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2673         with explicit test name.
2674
2675 2017-10-20  Pedro Alves  <palves@redhat.com>
2676
2677         * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2678         'wait -i'.  Use gdb_assert and remote_close.
2679
2680 2017-10-19  Andrew Burgess  <andrew.burgess@embecosm.com>
2681
2682         * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2683         number from variable rather than hard-coded.
2684
2685 2017-10-19  Pedro Alves  <palves@redhat.com>
2686
2687         * gdb.base/long-inferior-output.c: New file.
2688         * gdb.base/long-inferior-output.exp: New file.
2689
2690 2017-11-18  Keith Seitz  <keiths@redhat.com>
2691
2692         * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2693         method.
2694         (main): Call it.
2695         * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2696         Add additional user-defined conversion operator tests.
2697
2698 2017-10-17  Pedro Alves  <palves@redhat.com>
2699
2700         * boards/native-stdio-gdbserver.exp: Load "local-board".
2701
2702 2017-10-17  Pedro Alves  <palves@redhat.com>
2703
2704         * gdb.base/quit-live.c: New file.
2705         * gdb.base/quit-live.exp: New file.
2706
2707 2017-10-16  Keith Seitz  <keiths@redhat.com>
2708
2709         * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2710         (class_with_protected_typedef, class_with_private_typedef)
2711         (struct_with_public_typedef, struct_with_protected_typedef)
2712         (struct_with_private_typedef): New classes/structs.
2713         * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2714         typedefs and access specifiers.
2715
2716 2017-10-16  Pedro Alves  <palves@redhat.com>
2717             Simon Marchi  <simon.marchi@polymtl.ca>
2718
2719         * README (Local vs Remote vs Native): New section.
2720         * boards/local-board.exp: New file, with bits factored out from
2721         ...
2722         * boards/native-extended-gdbserver.exp: ... here.  Load
2723         "local-board".
2724         * boards/native-gdbserver.exp: Load "local-board".
2725         (${board}_spawn, ${board}_exec): Delete.
2726         * boards/native-stdio-gdbserver.exp: Most contents factored out to
2727         ...
2728         * boards/stdio-gdbserver-base.exp: ... this new file.
2729         * boards/native-stdio-gdbserver.exp: Reimplement, by loading
2730         "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
2731         procedure.
2732         * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
2733         instead of native-stdio-gdbserver.  Don't set gdb_server_prog nor
2734         stdio_gdbserver_command.
2735         (${board}_get_remote_address, ${board}_get_comm_port)
2736         (${board}_download, ${board}_upload): Delete.
2737         (get_target_remote_pipe_cmd): New.
2738
2739 2017-10-16  Simon Marchi  <simon.marchi@ericsson.com>
2740
2741         * gdb.python/py-breakpoint.exp (test_bkpt_basic,
2742         test_bkpt_deletion, test_bkpt_cond_and_cmds,
2743         test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
2744         test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
2745         test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
2746         remove with_test_prefix.
2747
2748 2017-10-13  Pedro Alves  <palves@redhat.com>
2749
2750         * lib/gdb.exp (target_can_use_run_cmd): New procedure.
2751         * gdb.base/annota1.exp: Use it instead of is_remote.
2752         * gdb.base/annota3.exp: Use it instead of is_remote.
2753         * gdb.cp/annota2.exp: Use it instead of is_remote.
2754         * gdb.cp/annota3.exp: Use it instead of is_remote.
2755         * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
2756
2757 2017-10-13  Pedro Alves  <palves@redhat.com>
2758
2759         * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
2760         (test_num_test_vars, run_and_count_vars, find_env)
2761         (test_set_unset_env, test_inherit_env_var): New procedures.
2762         (top level): Use them.
2763
2764 2017-10-13  Pedro Alves  <palves@redhat.com>
2765
2766         * lib/selftest-support.exp (selftest_setup): Extend comments, and
2767         also skip on stub-like targets.
2768
2769 2017-10-13  Pedro Alves  <palves@redhat.com>
2770
2771         PR gdb/22293
2772         * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
2773         (top level): Move some tests to ...
2774         (test_not_found): ... this new procedure.
2775         (top level): Call it.
2776
2777 2017-10-13  Pedro Alves  <palves@redhat.com>
2778
2779         * gdb.base/term.exp: Don't skip if is_remote target.  Instead,
2780         expect different "info terminal" output if testing with a
2781         non-native target.
2782
2783 2017-10-13  Pedro Alves  <palves@redhat.com>
2784             Simon Marchi  <simon.marchi@polymtl.ca>
2785
2786         PR python/12966
2787         * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
2788
2789 2017-10-13  Pedro Alves  <palves@redhat.com>
2790
2791         * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
2792         already.
2793
2794 2017-10-13  Pedro Alves  <palves@redhat.com>
2795
2796         * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
2797         is_remote.
2798
2799 2017-10-13  Pedro Alves  <palves@redhat.com>
2800
2801         * gdb.threads/thread_events.exp: Check gdb_protocol instead of
2802         is_remote.
2803
2804 2017-10-13  Pedro Alves  <palves@redhat.com>
2805
2806         * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
2807         is set.
2808         (corefile_test_attach): Likewise.  Check can_spawn_for_attach
2809         instead of is_remote.
2810
2811 2017-10-13  Pedro Alves  <palves@redhat.com>
2812
2813         * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
2814         (top level): Add comment.
2815
2816 2017-10-13  Pedro Alves  <palves@redhat.com>
2817
2818         * gdb.base/remote.exp (top level): Fix comment typo and add
2819         missing return.
2820
2821 2017-10-13  Pedro Alves  <palves@redhat.com>
2822             Simon Marchi  <simon.marchi@polymtl.ca>
2823
2824         * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
2825         calls and add comments.  Skip test if use_gdb_stub is set.
2826         (top level): Use "set cwd" command instead of "cd" command.
2827
2828 2017-10-13  Pedro Alves  <palves@redhat.com>
2829
2830         * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
2831         is_remote target check.
2832
2833 2017-10-13  Pedro Alves  <palves@redhat.com>
2834
2835         * gdb.base/scope.exp: Use build_executable + clean_restart +
2836         gdb_file_cmd instead of prepare_for_testing and no longer skip
2837         "before run" tests on is_remote target boards.  Update comments.
2838         * boards/native-extended-gdbserver.exp
2839         (extended_gdbserver_load_last_file): New, factored out from ...
2840         (gdb_load): ... this.  Move further below and add comment.
2841         (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
2842
2843 2017-10-12  Pedro Alves  <palves@redhat.com>
2844
2845         * gdb.base/attach.exp: Remove references to gdb64.
2846         * gdb.base/dbx.exp: Remove references to gdb64.
2847
2848 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
2849             Pedro Alves  <palves@redhat.com>
2850
2851         * gdb.base/label.exp: Remove is_remote target check.
2852
2853 2017-10-12  Pedro Alves  <palves@redhat.com>
2854
2855         * gdb.base/auvx.exp (coredir): Update comment.
2856         (top level) <core_works>: Use "set cwd" command instead of "cd"
2857         command.
2858
2859 2017-10-12  Pedro Alves  <palves@redhat.com>
2860             Simon Marchi  <simon.marchi@polymtl.ca>
2861
2862         * gdb.base/catch-fork-static.exp: No longer skip on is_remote
2863         target boards.
2864
2865 2017-10-12  Pedro Alves  <palves@redhat.com>
2866             Simon Marchi  <simon.marchi@polymtl.ca>
2867
2868         * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
2869         Instead skip if there's any gdb_protocol set.
2870
2871 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
2872             Pedro Alves  <palves@redhat.com>
2873
2874         * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
2875
2876 2017-10-12  Pedro Alves  <palves@redhat.com>
2877             Simon Marchi  <simon.marchi@polymtl.ca>
2878
2879         * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
2880         instead of on dejagnu remote boards.
2881
2882 2017-10-12  Pedro Alves  <palves@redhat.com>
2883             Simon Marchi  <simon.marchi@polymtl.ca>
2884
2885         * gdb.base/inferior-died.exp: Remove is_remote and isnative
2886         checks.  Use build_executable + clean_restart instead of
2887         prepare_for_testing.  Pass "set non-stop on" via GDBFLAGS instead
2888         of enabling non-stop after starting gdb.
2889
2890 2017-10-12  Pedro Alves  <palves@redhat.com>
2891
2892         * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
2893         * gdb.threads/non-ldr-exc-2.exp: Ditto.
2894         * gdb.threads/non-ldr-exc-3.exp: Ditto.
2895         * gdb.threads/non-ldr-exc-4.exp: Ditto.
2896
2897 2017-10-11  Anton Kolesov  <Anton.Kolesov@synopsys.com>
2898
2899         * gdb.arch/arc-tdesc-cpu.exp: New file.
2900         * gdb.arch/arc-tdesc-cpu.xml: Likewise.
2901
2902 2017-10-10  Simon Marchi  <simon.marchi@ericsson.com>
2903
2904         * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
2905
2906 2017-10-10  Pedro Alves <palves@redhat.com>
2907
2908         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
2909         expect CLI output.
2910
2911 2017-10-10  Pedro Alves  <palves@redhat.com>
2912
2913         * lib/selftest-support.exp (selftest_setup): Update for
2914         captured_command_loop's prototype change.
2915
2916 2017-10-09  Pedro Alves  <palves@redhat.com>
2917
2918         Test both arch1=>arch2 and arch2=>arch1.
2919
2920         * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
2921         (srcfile2, binfile2, march1, march2): Remove globals.  Largely
2922         factored out to...
2923         (append_arch1_options, append_arch2_options, append_arch_options)
2924         (build_executables): New procedures.
2925         (do_test): New 'first_arch' parameter.  Use it to define 'from_exec'
2926         local.
2927         (top level): Add new 'first_arch' testing axis.
2928
2929 2017-10-09  Pedro Alves  <palves@redhat.com>
2930
2931         * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
2932         (barrier): New.
2933         (thread_start, all_started): New functions.
2934         (main): Spawn new thread and wait until it is scheduled.
2935         * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
2936         option.
2937         (do_test): Add 'selected_thread' parameter.  Run to all_started
2938         instead of main.  Explicitly set the breakpoint at main.  Switch
2939         to the SELECTED_THREAD thread.
2940         (top level): Test handling the exec event with either the main
2941         thread or the second thread selected.
2942
2943 2017-10-09  Pedro Alves  <palves@redhat.com>
2944
2945         * gdb.base/print-file-var-main.c: Fix get_version_2 value check
2946         logic.  Move STOP marker after the value checks.
2947         * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
2948         regexp.
2949
2950 2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>
2951
2952         * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
2953
2954 2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
2955
2956         * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
2957         integer-to-dfp conversion.
2958         * gdb.base/dfp-test.exp: Likewise.
2959
2960 2017-10-04  Pedro Alves  <palves@redhat.com>
2961
2962         * gdb.multi/hangout.c: Include <unistd.h>.
2963         (hangout_loop): New function.
2964         (main): Call alarm.  Call hangout_loop in a loop.
2965         * gdb.multi/hello.c: Include <unistd.h>.
2966         (hello_loop): New function.
2967         (main): Call alarm.  Call hangout_loop in a loop.
2968         * gdb.multi/multi-arch.exp: Test running to a breakpoint one
2969         inferior with the other selected.
2970
2971 2017-10-04  Simon Marchi  <simon.marchi@ericsson.com>
2972
2973         * gdb.mi/list-thread-groups-available.exp: New file.
2974         * gdb.mi/list-thread-groups-available.c: New file.
2975
2976 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
2977
2978         * gdb.base/set-cwd.exp: Make it available on
2979         native-extended-gdbserver.
2980
2981 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
2982
2983         * gdb.base/set-cwd.c: New file.
2984         * gdb.base/set-cwd.exp: Likewise.
2985
2986 2017-10-02  Tom Tromey  <tom@tromey.com>
2987
2988         PR rust/22236:
2989         * gdb.rust/simple.rs (main): New variable "fslice".
2990         * gdb.rust/simple.exp: Add slice tests.  Update string tests.
2991
2992 2017-10-02  Tom Tromey  <tom@tromey.com>
2993
2994         * gdb.rust/simple.exp: Test ptype of a slice.
2995
2996 2017-10-02  Tom Tromey  <tom@tromey.com>
2997
2998         * gdb.rust/simple.exp: Test index of slice.
2999
3000 2017-09-27  Tom Tromey  <tom@tromey.com>
3001
3002         * gdb.base/macscp.exp: Add __VA_OPT__ tests.
3003
3004 2017-09-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3005             Pedro Alves  <palves@redhat.com>
3006
3007         * gdb.base/compare-sections.exp (get value of read-only section): Read
3008         as unsigned value.
3009         (corrupt read-only section): Likewise and don't set written if patching
3010         failed.
3011
3012 2017-09-21  Kevin Buettner  <kevinb@redhat.com>
3013
3014         * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
3015         files.
3016
3017 2017-09-20  Pedro Alves  <palves@redhat.com>
3018
3019         * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
3020         symbol names in gdb's output.
3021         * gdb.cp/overload.exp ("list all overloads"): Likewise.
3022
3023 2017-09-20  Pedro Alves  <palves@redhat.com>
3024
3025         * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
3026         Rename to ...
3027         (test_list_ambiguous_symbol): ... this and add a symbol name
3028         parameter.  Adjust.
3029         (test_list_ambiguous_function): Reimplement on top of
3030         test_list_ambiguous_symbol and also test listing ambiguous
3031         variables.
3032         * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
3033         (ambiguous_fun): ... this.
3034         (ambiguous_var): New.
3035         * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
3036         (ambiguous_fun): ... this.
3037         (ambiguous_var): New.
3038
3039 2017-09-19  John Baldwin  <jhb@FreeBSD.org>
3040
3041         * gdb.base/starti.c: New file.
3042         * gdb.base/starti.exp: New file.
3043         * lib/gdb.exp (gdb_starti_cmd): New procedure.
3044
3045 2017-09-14  Pedro Alves  <palves@redhat.com>
3046
3047         * gdb.base/nodebug.exp (nodebug_runto): New procedure.
3048         (top level): Use it instead of runto.
3049
3050 2017-09-11  Tom Tromey  <tom@tromey.com>
3051
3052         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
3053
3054 2017-09-11  Tom Tromey  <tom@tromey.com>
3055
3056         * gdb.python/py-infthread.exp: Add tests for new_thread event.
3057         * gdb.python/py-inferior.exp: Add tests for new inferior events.
3058
3059 2017-09-08  Christoph Weinmann  <christoph.t.weinmann@intel.com>
3060
3061         * gdb.fortran/printing-types.exp: New file.
3062         * gdb.fortran/printing-types.exp: New file.
3063
3064 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
3065
3066         * gdb.fortran/vla-ptype.exp: Fix typos.
3067         * gdb.fortran/vla-value.exp: Same.
3068
3069 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
3070
3071         * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
3072         * gdb.mi/mi-var-child-f.exp: Likewise.
3073         * gdb.mi/mi-vla-fortran.exp: Likewise.
3074
3075 2017-09-08  Frank Penczek  <frank.penczek@intel.com>
3076             Christoph Weinmann  <christoph.t.weinmann@intel.com>
3077             Bernhard Heckel  <bernhard.heckel@intel.com>
3078
3079         * gdb.fortran/ptr-indentation.f90: New file.
3080         * gdb.fortran/ptr-indentation.exp: New file.
3081
3082 2017-09-05  Tom Tromey  <tom@tromey.com>
3083
3084         PR gdb/22010:
3085         * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
3086
3087 2017-09-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3088
3089         * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3090
3091 2017-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3092
3093         * gdb.threads/tls-nodebug-pie.c: New file.
3094         * gdb.threads/tls-nodebug-pie.exp: New file.
3095
3096 2017-09-05  Tom Tromey  <tom@tromey.com>
3097
3098         * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3099         for rust.
3100
3101 2017-09-05  Simon Marchi  <simon.marchi@ericsson.com>
3102
3103         * gdb.multi/multi-arch-exec.exp: Test with different
3104         "follow-exec-mode" settings.
3105         (do_test): New procedure.
3106
3107 2017-09-04  Pedro Alves  <palves@redhat.com>
3108
3109         * gdb.base/func-static.c (S::method const, S::method volatile)
3110         (S::method volatile const): New methods.
3111         (c_s, v_s, cv_s): New instances.
3112         (main): Call method() on them.
3113         * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
3114         (cannot_resolve): New procedure.
3115         (cxx_scopes_list): Test cv methods.  Add print-scope-quote and
3116         print-quote-unquoted columns.
3117         (do_test): Test printing each scope too.
3118
3119 2017-09-04  Pedro Alves  <palves@redhat.com>
3120
3121         * gdb.base/local-static.exp: Also test with
3122         class::method::variable wholly quoted.
3123         * gdb.cp/m-static.exp (class::method::variable): Remove test.
3124
3125 2017-09-04  Pedro Alves  <palves@redhat.com>
3126
3127         * gdb.base/local-static.c: New.
3128         * gdb.base/local-static.cc: New.
3129         * gdb.base/local-static.exp:  New.
3130
3131 2017-09-04  Pedro Alves  <palves@redhat.com>
3132
3133         * gdb.asm/asm-source.exp: Add casts to int.
3134         * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
3135         (dataglobal64_1, dataglobal64_2): New globals.
3136         * gdb.base/nodebug.exp: Test different expressions involving the
3137         new globals, with print, whatis and ptype.  Add casts to int.
3138         * gdb.base/solib-display.exp: Add casts to int.
3139         * gdb.compile/compile-ifunc.exp: Expect warning.  Add cast to int.
3140         * gdb.cp/m-static.exp: Add cast to int.
3141         * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
3142         * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
3143         tls variable with no debug info without a cast.  Test with a cast
3144         to int too.
3145         * gdb.trace/entry-values.exp: Add casts.
3146
3147 2017-09-04  Pedro Alves  <palves@redhat.com>
3148
3149         * gdb.base/nodebug.exp: Test that ptype's error about functions
3150         with unknown return type includes the function name too.
3151
3152 2017-09-04  Pedro Alves  <palves@redhat.com>
3153
3154         * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
3155         return type of munmap in infcall.
3156         * gdb.base/break-probes.exp: Cast return type of foo in infcall.
3157         * gdb.base/checkpoint.exp: Simplify using for loop.  Cast return
3158         type of ftell in infcall.
3159         * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
3160         type of getpid in infcall.
3161         * gdb.base/infcall-exec.exp: Cast return type of execlp in
3162         infcall.
3163         * gdb.base/info-os.exp: Cast return type of getpid in infcall.
3164         Bail on failure to extract the pid.
3165         * gdb.base/nodebug.c: #include <stdint.h>.
3166         (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
3167         New functions.
3168         * gdb.base/nodebug.exp (test_call_promotion): New procedure.
3169         Change expected output of print/whatis/ptype with functions with
3170         no debug info.  Test all supported languages.  Call
3171         test_call_promotion.
3172         * gdb.compile/compile.exp: Adjust expected output to expect
3173         warning.
3174         * gdb.threads/siginfo-threads.exp: Likewise.
3175
3176 2017-09-04  Pedro Alves  <palves@redhat.com>
3177
3178         * gdb.base/callfuncs.exp (do_function_calls): New parameter
3179         "prototypes".  Test calling float functions via prototyped and
3180         unprototyped function pointers.
3181         (perform_all_tests): New parameter "prototypes".  Pass it down.
3182         (top level): Pass down "prototypes" parameter to
3183         perform_all_tests.
3184
3185 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3186
3187         * gdb.base/commands.exp (loop_break_test, loop_continue_test):
3188         Test with nested loops.
3189
3190 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3191
3192         * gdb.base/commands.exp: Call the new procedures.
3193         (loop_break_test, loop_continue_test): New procedures.
3194
3195 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3196
3197         * gdb.base/commands.exp: Call new procedure.
3198         (define_if_without_arg_test): New procedure.
3199
3200 2017-09-04  Pedro Alves  <palves@redhat.com>
3201
3202         * gdb.base/list-ambiguous.exp: New file.
3203         * gdb.base/list-ambiguous0.c: New file.
3204         * gdb.base/list-ambiguous1.c: New file.
3205         * gdb.base/list.exp (test_list_range): Adjust expected output.
3206
3207 2017-08-31  Sergio Durigan Junior  <sergiodj@redhat.com>
3208
3209         * gdb.base/share-env-with-gdbserver.c: New file.
3210         * gdb.base/share-env-with-gdbserver.exp: Likewise.
3211
3212 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3213
3214         * gdb.base/commands.exp (gdbvar_simple_if_test,
3215         gdbvar_simple_if_test, gdbvar_complex_if_while_test,
3216         progvar_simple_if_test, progvar_simple_while_test,
3217         progvar_complex_if_while_test, user_defined_command_test,
3218         user_defined_command_args_eval,
3219         user_defined_command_args_stack_test,
3220         user_defined_command_manyargs_test, bp_deleted_in_command_test,
3221         temporary_breakpoint_commands,
3222         gdb_test_no_prompt, redefine_hook_test,
3223         redefine_backtrace_test): Remove "global gdb_prompt".
3224
3225 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3226
3227         * gdb.base/commands.exp (user_defined_command_case_sensitivity):
3228         New proc, call it from toplevel.
3229
3230 2017-08-23  Sergio Durigan Junior  <sergiodj@redhat.com>
3231
3232         PR remote/21852
3233         * gdb.server/normal.c: New file, copied from gdb.base.
3234         * gdb.server/run-without-local-binary.exp: New file.
3235
3236 2017-08-07  Weimin Pan  <weimin.pan@oracle.com>
3237
3238         * gdb.arch/sparc64-adi.exp: New file.
3239         * gdb.arch/sparc64-adi.c: New file.
3240
3241 2017-08-22  Pedro Alves  <palves@redhat.com>
3242
3243         * gdb.cp/overload.exp (line_range_pattern): New procedure.
3244         (top level): Add "list all overloads" tests.
3245
3246 2017-08-22  Tom Tromey  <tom@tromey.com>
3247
3248         * gdb.gdb/xfullpath.exp: Remove.
3249
3250 2017-08-21  Pedro Alves  <palves@redhat.com>
3251
3252         PR gdb/19487
3253         * gdb.base/symbol-alias.c: New.
3254         * gdb.base/symbol-alias2.c: New.
3255         * gdb.base/symbol-alias.exp: New.
3256
3257 2017-08-21  Pedro Alves  <palves@redhat.com>
3258
3259         * gdb.base/dfp-test.c
3260         (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
3261         (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
3262         * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
3263         * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
3264         * gdb.base/whatis-ptype-typedefs.c: New.
3265         * gdb.base/whatis-ptype-typedefs.exp: New.
3266         * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
3267         (an_int, an_int_type, an_int_type2): New globals.
3268         * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
3269         involving typedefs and cast expressions.
3270         * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
3271         (lookup_typedefs_function): New.
3272         (typedefs_pretty_printers_dict): New.
3273         (top level): Register lookup_typedefs_function in
3274         gdb.pretty_printers.
3275
3276 2017-08-18  Yao Qi  <yao.qi@linaro.org>
3277
3278         * gdb.server/unittest.exp: New.
3279
3280 2017-08-15  Sergio Durigan Junior  <sergiodj@redhat.com>
3281
3282         PR gdb/21954
3283         * gdb.base/environ.exp: Add test to check if 'unset environment'
3284         works.
3285
3286 2017-08-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3287
3288         * lib/gdb.exp (universal_compile_options): New caching proc.
3289         (gdb_compile): Suppress GCC's coloring of messages.
3290
3291 2017-08-14  Tom Tromey  <tom@tromey.com>
3292
3293         PR gdb/21675:
3294         * gdb.base/printcmds.exp (test_radices): New function.
3295         * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
3296         * gdb.base/sizeof.exp (check_valueof): Use p/d.
3297         * lib/gdb.exp (get_integer_valueof): Use p/d.
3298
3299 2017-08-12  Simon Marchi  <simon.marchi@ericsson.com>
3300
3301         * lib/gdb.exp (get_valueof): Don't capture end-of-line
3302         characters.
3303
3304 2017-08-05  Tom Tromey  <tom@tromey.com>
3305
3306         * gdb.rust/simple.exp: Allow String to appear in a different
3307         namespace.
3308
3309 2017-07-26  Yao Qi  <yao.qi@linaro.org>
3310
3311         * gdb.gdb/unittest.exp: Invoke command
3312         "maintenance check xml-descriptions".
3313
3314 2017-07-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3315
3316         * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
3317         calling context.
3318         (hex128): Drop erroneous calculation of parameters.
3319
3320 2017-07-22  Simon Marchi  <simon.marchi@ericsson.com>
3321
3322         * gdb.python/py-unwind.exp: Disable stack protection when
3323         building test file.
3324
3325 2017-07-20  Pedro Alves  <palves@redhat.com>
3326
3327         * gdb.base/default.exp (set language): Adjust expected output.
3328
3329 2017-07-20  Pedro Alves  <palves@redhat.com>
3330
3331         * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
3332         (test_minsym): ... this, and make static.
3333         (get_pck__foo__bar__minsym): Rename to ...
3334         (get_test_minsym): ... this.
3335         * gdb.base/dmsym.exp (): Remove "set language ada" call.  Adjust
3336         symbol names and comments.
3337         * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
3338         (get_test_minsym): ... this.
3339         (pck__foo__bar__minsym__2): Rename to ...
3340         (test_minsym): ... this.
3341         (main): Adjust.
3342
3343 2017-07-17  Pedro Alves  <palves@redhat.com>
3344
3345         * gdb.base/completion.exp: Adjust expected output.
3346         * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
3347         the completer works.
3348
3349 2017-07-17  Pedro Alves  <palves@redhat.com>
3350
3351         * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
3352
3353 2017-07-15  Andrew Burgess  <andrew.burgess@embecosm.com>
3354
3355         * gdb.mi/mi-vla-fortran.exp: Make test names unique.
3356
3357 2017-07-14  Tom Tromey  <tom@tromey.com>
3358
3359         PR rust/21764:
3360         * gdb.rust/simple.exp: Add tests.
3361
3362 2017-07-14  Tom Tromey  <tom@tromey.com>
3363
3364         * gdb.rust/simple.exp: Add regression test for PR rust/21763.
3365
3366 2017-07-14  Pedro Alves  <palves@redhat.com>
3367
3368         * gdb.linespec/base/one/thefile.cc (z1): New function.
3369         * gdb.linespec/base/two/thefile.cc (z2): New function.
3370         * gdb.linespec/linespec.exp: Add tests.
3371
3372 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3373
3374         * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
3375         to mi_create_breakpoint.
3376
3377 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3378
3379         * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
3380         mi_create_breakpoint.
3381
3382 2017-07-11  Iain Buclaw  <ibuclaw@gdcproject.org>
3383
3384         * gdb.dlang/demangle.exp: Update for demangling changes.
3385
3386 2017-07-09  Tom Tromey  <tom@tromey.com>
3387
3388         * gdb.dwarf2/shortpiece.exp: New file.
3389
3390 2017-07-06  David Blaikie  <dblaikie@gmail.com>
3391
3392         * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
3393         built from fissiont-multi-cu{1,2}.c.
3394         * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
3395         except putting 'main' and 'func' in separate CUs in the same DWO file.
3396         * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
3397         test.
3398         * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
3399         test.
3400
3401 2017-07-06  Pedro Alves  <palves@redhat.com>
3402
3403         * gdb.python/py-unwind.exp: Test flushregs.
3404
3405 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3406
3407         PR cli/21688
3408         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3409         tests for alias commands and trailing whitespace.
3410
3411 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3412
3413         PR cli/21688
3414         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3415         procedure.  Call it.
3416
3417 2017-06-29  Pedro Alves  <palves@redhat.com>
3418
3419         * gdb.base/printcmds.exp: Add tests.
3420
3421 2017-06-28  Doug Gilmore  <Doug.Gilmore@imgtec.com>
3422
3423         PR gdb/21337
3424         * gdb.base/reread-readsym.exp: New file.
3425         * gdb.base/reread-readsym.c: New file.
3426
3427 2017-06-21  Kevin Buettner  <kevinb@redhat.com>
3428
3429         * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3430         subpattern.
3431
3432 2017-06-19  Peter Bergner  <bergner@vnet.ibm.com>
3433
3434         * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3435         extended mnemonic.
3436         * gdb.arch/powerpc-power9.s: Likewise.
3437
3438 2017-06-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3439
3440         * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3441         on 32-bit x86 targets.  Exploit is_*_target macros where
3442         appropriate.
3443
3444 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3445
3446         * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3447         register pieces.
3448
3449 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3450
3451         * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3452         located in one or more DWARF pieces.
3453
3454 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3455
3456         * lib/gdb.exp (get_endianness): New proc.
3457         * gdb.arch/aarch64-fp.exp: Use it.
3458         * gdb.arch/altivec-regs.exp: Likewise.
3459         * gdb.arch/e500-regs.exp: Likewise.
3460         * gdb.arch/vsx-regs.exp: Likewise.
3461         * gdb.base/dump.exp: Likewise.
3462         * gdb.base/funcargs.exp: Likewise.
3463         * gdb.base/gnu_vector.exp: Likewise.
3464         * gdb.dwarf2/formdata16.exp: Likewise.
3465         * gdb.dwarf2/implptrpiece.exp: Likewise.
3466         * gdb.dwarf2/nonvar-access.exp: Likewise.
3467         * gdb.python/py-inferior.exp: Likewise.
3468         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3469
3470 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3471
3472         PR gdb/21226
3473         * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3474         stack value pieces are taken from the LSB end.
3475
3476 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3477
3478         * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3479         variable at nonzero offset.
3480
3481 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3482
3483         * gdb.dwarf2/var-access.c: New file.
3484         * gdb.dwarf2/var-access.exp: New test.
3485         * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3486
3487 2017-06-12  Tom Tromey  <tom@tromey.com>
3488
3489         * gdb.dwarf2/formdata16.exp: Add tests.
3490
3491 2017-06-12  Tom Tromey  <tom@tromey.com>
3492
3493         * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
3494
3495 2017-06-12  Tom Tromey  <tom@tromey.com>
3496
3497         PR exp/16225:
3498         * gdb.reverse/i386-sse-reverse.exp: Update tests.
3499         * gdb.arch/vsx-regs.exp: Update tests.
3500         * gdb.arch/s390-vregs.exp (hex128): New proc.
3501         Update test.
3502         * gdb.arch/altivec-regs.exp: Update tests.
3503
3504 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3505
3506         * gdb.base/startup-with-shell.c: New file.
3507         * gdb.base/startup-with-shell.exp: Likewise.
3508
3509 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3510
3511         * gdb.server/non-existing-program.exp: Update regex in order to
3512         reflect the fact that gdbserver is now using fork_inferior (with a
3513         shell) to startup the inferior.
3514
3515 2017-05-30  Simon Marchi  <simon.marchi@ericsson.com>
3516
3517         * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3518         support function calls from GDB.
3519
3520 2017-05-21  Tom Tromey  <tom@tromey.com>
3521
3522         PR rust/21466:
3523         * gdb.rust/unsized.exp: New file.
3524         * gdb.rust/unsized.rs: New file.
3525
3526 2017-05-19  Tom Tromey  <tom@tromey.com>
3527
3528         PR rust/21484:
3529         * gdb.rust/watch.exp: New file.
3530         * gdb.rust/watch.rs: New file.
3531
3532 2017-05-18  Tom Tromey  <tom@tromey.com>
3533
3534         * gdb.rust/simple.exp: Allow Box to be qualified.
3535
3536 2017-05-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3537
3538         * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3539
3540 2017-05-18  Pedro Alves  <palves@redhat.com>
3541
3542         * gdb.base/fileio.c (test_write, test_read, test_close)
3543         (test_fstat): Don't print 'ret' in the fail path.
3544
3545 2017-05-18  Pedro Alves  <palves@redhat.com>
3546
3547         * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3548         (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3549         (test_system, test_rename, test_unlink, test_time): Change
3550         prototypes.
3551         * gdb.base/fileio.exp (stop_msg): Adjust.
3552
3553 2017-05-18  Pedro Alves  <palves@redhat.com>
3554
3555         * gdb.base/fileio.c (null_str): New global.
3556         (test_stat): Use it.
3557         * gdb.base/fileio.exp: Remove nowarnings.
3558
3559 2017-05-17  Yao Qi  <yao.qi@linaro.org>
3560
3561         * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3562
3563 2017-05-17  Simon Marchi  <simon.marchi@ericsson.com>
3564
3565         * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3566         argument command.
3567         (top-level): Invoke test_set_inferior_tty.
3568
3569 2017-05-04  Pedro Alves  <palves@redhat.com>
3570
3571         * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3572         Add parens to print call for Python 3.
3573
3574 2017-05-03  Keith Seitz  <keiths@redhat.com>
3575
3576         * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3577         (main): Call it.
3578
3579 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3580
3581         * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3582         to prev and next.
3583
3584 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3585
3586         * gdb.python/py-record-btrace.exp: Remove test for
3587         gdb.BtraceInstruction.error.
3588
3589 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3590
3591         * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3592
3593 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3594
3595         * gdb.python/py-record-btrace-threads.c: New file.
3596         * gdb.python/py-record-btrace-threads.exp: New file.
3597
3598 2017-04-28  Sergio Durigan Junior  <sergiodj@redhat.com>
3599
3600         PR testsuite/8595
3601         * gdb.base/environ.exp: Make test available in all architectures.
3602         Move bits related to "info program" testing to
3603         gdb.base/info-program.exp.  Rewrite tests to use the two new
3604         procedures mentione below.
3605         (test_set_show_env_var) New procedure.
3606         (test_set_show_env_var_equal): Likewise.
3607         * gdb.base/info-program.exp: New file.
3608
3609 2017-04-27  Keith Seitz  <keiths@redhat.com>
3610
3611         * gdb.cp/oranking.cc (test15): New function.
3612         (main): Call test15 and declare additional variables for testing.
3613         * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3614         "p foo101('abc')" tests.
3615         Add tests for cv qualifier overloads.
3616         * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3617         "lvalue reference overload" test.
3618         * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3619         "print value of f1 on Child&& in f2" test.
3620
3621 2017-04-19  Pedro Alves  <palves@redhat.com>
3622
3623         * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3624         procedure.
3625         (top level): Call it.
3626         * lib/gdb.exp (gdb_define_cmd): New procedure.
3627
3628 2017-04-12  Pedro Alves  <palves@redhat.com>
3629
3630         PR gdb/21323
3631         * gdb.cp/wide_char_types.c: Include <wchar.h>.
3632         (wchar): New global.
3633         * gdb.cp/wide_char_types.exp (wide_char_types_program)
3634         (do_test_wide_char, wide_char_types_no_program, top level): Add
3635         wchar_t testing.
3636
3637 2017-04-12  Pedro Alves  <palves@redhat.com>
3638
3639         PR c++/21323
3640         * gdb.cp/wide_char_types.c: New file.
3641         * gdb.cp/wide_char_types.exp: New file.
3642
3643 2017-04-05  Sergio Durigan Junior  <sergiodj@redhat.com>
3644
3645         PR gdb/21352
3646         * gdb.trace/tsv.exp: Add test for "tsave -r".
3647
3648 2017-03-30  Iain Buclaw  <ibuclaw@gdcproject.org>
3649
3650         * gdb.dlang/watch-loc.c: New file.
3651         * gdb.dlang/watch-loc.exp: New file.
3652
3653 2017-03-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3654
3655         * gdb.python/py-section-script.exp (sepdebug): New testcases.
3656
3657 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3658
3659         * gdb.arch/arc-analyze-prologue.S: New file.
3660         * gdb.arch/arc-analyze-prologue.exp: Likewise.
3661
3662 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3663
3664         * gdb.arch/arc-decode-insn.S: New file.
3665         * gdb.arch/arc-decode-insn.exp: Likewise.
3666
3667 2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>
3668
3669         PR tdep/20928
3670         * gdb.arch/sparc64-regs.exp: New file.
3671         * gdb.arch/sparc64-regs.S: Likewise.
3672
3673 2017-03-21  Tim Wiederhake  <tim.wiederhake@intel.com>
3674
3675         * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3676         and memory view on Python 3.
3677
3678 2017-03-20  Artemiy Volkov  <artemiyv@acm.org>
3679             Keith Seitz  <keiths@redhat.com>
3680
3681         PR gdb/14441
3682         * gdb.cp/demangle.exp: Add rvalue reference tests.
3683         * gdb.cp/rvalue-ref-casts.cc: New file.
3684         * gdb.cp/rvalue-ref-casts.exp: New file.
3685         * gdb.cp/rvalue-ref-overload.cc: New file.
3686         * gdb.cp/rvalue-ref-overload.exp: New file.
3687         * gdb.cp/rvalue-ref-params.cc: New file.
3688         * gdb.cp/rvalue-ref-params.exp: New file.
3689         * gdb.cp/rvalue-ref-sizeof.cc: New file.
3690         * gdb.cp/rvalue-ref-sizeof.exp: New file.
3691         * gdb.cp/rvalue-ref-types.cc: New file.
3692         * gdb.cp/rvalue-ref-types.exp: New file.
3693         * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3694         * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3695
3696 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
3697
3698         * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3699         New procedure.
3700
3701 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
3702
3703         * lib/mi-support.exp (mi_gdb_test): Add additional message
3704         for unexpected output.
3705
3706 2017-03-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3707
3708         * gdb.base/examine-backward.c (Barrier): New character array
3709         constant, to ensure that TestStrings is preceded by a string
3710         terminator.
3711
3712 2017-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3713
3714         * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3715         * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3716         and implicit pointer into such a location.
3717
3718 2017-03-16  Doug Evans  <dje@google.com>
3719
3720         * gdb.python/py-lazy-string (pointer): Really add new typedef.
3721
3722 2017-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3723
3724         * gdb.cp/m-static.exp: Fix expectation for prototype of
3725         test5.single_constructor and single_constructor::single_constructor.
3726
3727 2017-03-16  Doug Evans  <dje@google.com>
3728
3729         * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
3730         * gdb.guile/scm-lazy-string.c: New file.
3731         * gdb.guile/scm-value.exp: Move lazy string tests to ...
3732         * gdb.guile/scm-lazy-string.exp: ... here, new file.  Add more tests
3733         for pointer, array, typedef lazy strings.
3734
3735 2017-03-16  Doug Evans  <dje@google.com>
3736
3737         PR python/17728, python/18439, python/18779
3738         * gdb.python/py-value.c (main) Delete locals sptr, sn.
3739         * gdb.python/py-lazy-string.c (pointer): New typedef.
3740         (main): New locals ptr, array, typedef_ptr.
3741         * gdb.python/py-value.exp: Move lazy string tests to ...
3742         * gdb.python/py-lazy-string.exp: ... here.  Add more tests for pointer,
3743         array, typedef lazy strings.
3744
3745 2017-03-14  Anton Kolesov  <anton.kolesov@synopsys.com>
3746
3747         * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
3748           Add optional 'test' parameter.
3749
3750 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
3751
3752         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3753         Skip for versions of DejaGnu < 1.5.
3754
3755 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
3756
3757         * lib/gdb.exp (dejagnu_version): New proc.
3758         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
3759         Use dejagnu_version.
3760
3761 2017-03-10  Keith Seitz  <keiths@redhat.com>
3762
3763         PR c++/8128
3764         * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
3765         type from destructor regexps.
3766         Add a branch which actually passes the test.
3767         Adjust "ptype t5i" test names.
3768
3769 2017-03-08  Pedro Alves  <palves@redhat.com>
3770
3771         * gdb.base/step-over-exit.exp: Add explicit test message.
3772
3773 2017-03-08  Pedro Alves  <palves@redhat.com>
3774
3775         PR gdb/18360
3776         * gdb.threads/interrupt-while-step-over.c: New file.
3777         * gdb.threads/interrupt-while-step-over.exp: New file.
3778
3779 2017-03-08  Pedro Alves  <palves@redhat.com>
3780
3781         * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
3782         * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
3783
3784 2017-03-08  Pedro Alves  <palves@redhat.com>
3785
3786         * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
3787         PKRU as not supported as a PASS.
3788
3789 2017-03-08  Pedro Alves  <palves@redhat.com>
3790
3791         * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
3792         prefix instead of $binfile1/$binfile2.
3793         * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
3794         in test message.
3795         * gdb.python/py-completion.exp: Use "load python file" as test
3796         messages instead of unstable path names.
3797
3798 2017-03-08  Pedro Alves  <palves@redhat.com>
3799             Jan Kratochvil  <jan.kratochvil@redhat.com>
3800
3801         PR cli/21218
3802         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
3803         New proc.
3804         (top level): Call it.
3805
3806 2017-03-08  Pedro Alves  <palves@redhat.com>
3807
3808         PR tui/21216
3809         * gdb.tui/tui-nl-filtered-output.exp: New file.
3810
3811 2017-03-08  Pedro Alves  <palves@redhat.com>
3812
3813         * gdb.base/completion.exp: Move TUI completion tests to ...
3814         * gdb.tui/completion.exp: ... this new file.
3815
3816 2017-03-08  Pedro Alves  <palves@redhat.com>
3817
3818         * gdb.base/tui-disasm-long-lines.c,
3819         gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
3820         gdb.base/tui-layout.exp: Move to ...
3821         * gdb.tui/: ... this new directory.
3822
3823 2017-03-07  Pedro Alves  <palves@redhat.com>
3824
3825         * gdb.base/tui-layout.c: New file.
3826         * gdb.base/tui-layout.exp: New file.
3827
3828 2017-03-07  Pedro Alves  <palves@redhat.com>
3829
3830         * gdb.base/tui-layout.c: Rename to ...
3831         * gdb.base/tui-disasm-long-lines.c: ... this.
3832         * gdb.base/tui-layout.exp: Rename to ...
3833         * gdb.base/tui-disasm-long-lines.exp: ... this.
3834
3835 2017-03-07  Pedro Alves  <palves@redhat.com>
3836
3837         * gdb.base/tui-layout.exp: Add intro comment and fix typo.
3838
3839 2017-03-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
3840
3841         * i386-mpx-call.c: New file.
3842         * i386-mpx-call.exp: New file.
3843
3844 2017-02-28  Peter Bergner  <bergner@vnet.ibm.com>
3845
3846         * gdb.arch/powerpc-power.exp: Delete test.
3847         * gdb.arch/powerpc-power.s: Likewise.
3848         * gdb.disasm/disassembler-options.exp: New test.
3849         * gdb.arch/powerpc-altivec.exp: Likewise.
3850         * gdb.arch/powerpc-altivec.s: Likewise.
3851         * gdb.arch/powerpc-altivec2.exp: Likewise.
3852         * gdb.arch/powerpc-altivec2.s: Likewise.
3853         * gdb.arch/powerpc-altivec3.exp: Likewise.
3854         * gdb.arch/powerpc-altivec3.s: Likewise.
3855         * gdb.arch/powerpc-power7.exp: Likewise.
3856         * gdb.arch/powerpc-power7.s: Likewise.
3857         * gdb.arch/powerpc-power8.exp: Likewise.
3858         * gdb.arch/powerpc-power8.s: Likewise.
3859         * gdb.arch/powerpc-power9.exp: Likewise.
3860         * gdb.arch/powerpc-power9.s: Likewise.
3861         * gdb.arch/powerpc-vsx.exp: Likewise.
3862         * gdb.arch/powerpc-vsx.s: Likewise.
3863         * gdb.arch/powerpc-vsx2.exp: Likewise.
3864         * gdb.arch/powerpc-vsx2.s: Likewise.
3865         * gdb.arch/powerpc-vsx3.exp: Likewise.
3866         * gdb.arch/powerpc-vsx3.s: Likewise.
3867         * gdb.arch/arm-disassembler-options.exp: Likewise.
3868         * gdb.arch/powerpc-disassembler-options.exp: Likewise.
3869         * gdb.arch/s390-disassembler-options.exp: Likewise.
3870
3871 2017-02-23  Luis Machado  <lgustavo@codesourcery.com>
3872
3873         * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
3874         (check_supported_features): ... this. Changed return type to void.
3875         (supports_rdseed): New static global.
3876         (rdseed): Check supports_rdseed.
3877         (initialize): Call check_supported_features.
3878
3879 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3880
3881         * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
3882         gdb.arch/ppc64-atomic-inst.exp.  Add tests for lbarx/stbcx, lharx/sthcx
3883         and lqarx/stqcx.
3884         * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
3885         * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
3886
3887 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
3888
3889         * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
3890         uppercase.
3891
3892 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3893
3894         * gdb.dwarf2/formdata16.c: New file.
3895         * gdb.dwarf2/formdata16.exp: New file.
3896         * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
3897
3898 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3899
3900         * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
3901         * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
3902         * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
3903         * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
3904         DW_AT_GNU_*.
3905
3906 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
3907
3908         * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
3909
3910 2017-02-15  Sergio Durigan Junior  <sergiodj@redhat.com>
3911
3912         PR gdb/21164
3913         * gdb.base/maint.exp: Add testcases for when the commands do
3914         not have arguments.
3915
3916 2017-02-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3917
3918         * gdb.cp/chained-calls.exp: Use p instead of P.
3919
3920 2017-02-14  Tim Wiederhake  <tim.wiederhake@intel.com>
3921
3922         * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
3923         gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
3924
3925 2017-02-14  Tom Tromey  <tom@tromey.com>
3926
3927         PR python/13598:
3928         * gdb.python/py-events.exp: Add before_prompt event tests.
3929
3930 2017-02-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3931
3932         * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
3933
3934 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
3935
3936         * gdb.linespec/explicit.c (my_unique_function_name): New function.
3937         (main): Call my_unique_function_name.
3938         * gdb.linespec/explicit.exp: Use my_unique_function_name to test
3939         completion of patterns with a single match.
3940         Add missing -re switches to gdb_test_multiple calls.
3941
3942 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
3943
3944         * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
3945         return if core file is not recognized.
3946
3947 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
3948
3949         * gdb.base/new-ui.exp (do_test): Test queries behavior on main
3950         and extra UIs.
3951
3952 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
3953
3954         * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
3955         proc_with_prefix.
3956
3957 2017-02-10  Tom Tromey  <tom@tromey.com>
3958
3959         * gdb.python/py-xmethods.exp: Use "p" command, not "P".
3960
3961 2017-02-10  Martin Galvan  <martingalvan@sourceware.org>
3962
3963         PR gdb/21122
3964         * gdb.base/help.exp: Update match pattern for testing 'help commands'.
3965
3966 2017-02-08  Jerome Guitton  <guitton@adacore.com>
3967
3968         * gdb.base/define.exp: Add test for command abbreviations
3969         in define.
3970
3971 2017-02-06  Luis Machado  <lgustavo@codesourcery.com>
3972
3973         * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
3974         * gdb.reverse/insn-reverse-x86.c: New file.
3975
3976 2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>
3977
3978         PR tdep/20936
3979         * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
3980
3981 2017-02-03  Tom Tromey  <tom@tromey.com>
3982
3983         PR rust/21097:
3984         * gdb.rust/simple.exp: Add new tests.
3985
3986 2017-02-02  Pedro Alves  <palves@redhat.com>
3987
3988         * gdb.mi/mi-logging.exp: Add "redirect while already logging"
3989         tests.
3990
3991 2017-02-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3992
3993         * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
3994         taking a 2-byte value out of a 4-byte DWARF implicit value on
3995         big-endian targets.
3996         * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
3997         logic.  Add test cases for DW_OP_implicit.
3998
3999 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4000
4001         * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
4002
4003 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4004
4005         * gdb.btrace/enable.exp: Call gdb_exit before
4006         skip_gdbserver_tests.
4007
4008 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4009
4010         * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
4011         GDBFLAGS.
4012
4013 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4014
4015         * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
4016         the test is skipped.
4017         * gdb.btrace/data.exp: Likewise.
4018         * gdb.btrace/delta.exp: Likewise.
4019         * gdb.btrace/dlopen.exp: Likewise.
4020         * gdb.btrace/enable-running.exp: Likewise.
4021         * gdb.btrace/enable.exp: Likewise.
4022         * gdb.btrace/exception.exp: Likewise.
4023         * gdb.btrace/function_call_history.exp: Likewise.
4024         * gdb.btrace/gcore.exp: Likewise.
4025         * gdb.btrace/instruction_history.exp: Likewise.
4026         * gdb.btrace/multi-thread-step.exp: Likewise.
4027         * gdb.btrace/nohist.exp: Likewise.
4028         * gdb.btrace/non-stop.exp: Likewise.
4029         * gdb.btrace/reconnect.exp: Likewise.
4030         * gdb.btrace/record_goto-step.exp: Likewise.
4031         * gdb.btrace/record_goto.exp: Likewise.
4032         * gdb.btrace/rn-dl-bind.exp: Likewise.
4033         * gdb.btrace/segv.exp: Likewise.
4034         * gdb.btrace/step.exp: Likewise.
4035         * gdb.btrace/stepi.exp: Likewise.
4036         * gdb.btrace/tailcall-only.exp: Likewise.
4037         * gdb.btrace/tailcall.exp: Likewise.
4038         * gdb.btrace/tsx.exp: Likewise.
4039         * gdb.btrace/unknown_functions.exp: Likewise.
4040         * gdb.btrace/vdso.exp: Likewise.
4041
4042 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4043
4044         * gdb.btrace/enable-running.c: New.
4045         * gdb.btrace/enable-running.exp: New.
4046
4047 2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
4048
4049         * gdb.arch/amd64-gs_base.c: New file.
4050         * gdb.arch/amd64-gs_base.exp: New file.
4051
4052 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4053
4054         * lib/memory.exp: Remove spurious empty newlines.
4055
4056 2017-01-26  Simon Marchi  <simon.marchi@polymtl.ca>
4057
4058         * gdb.python/py-bad-printers.exp: Load python file using "source".
4059         * gdb.python/py-events.exp: Likewise.
4060         * gdb.python/py-evsignal.exp: Likewise.
4061         * gdb.python/py-evthreads.exp: Likewise.
4062         * gdb.python/py-frame-args.exp: Likewise.
4063         * gdb.python/py-framefilter-invalidarg.exp: Likewise.
4064         * gdb.python/py-framefilter-mi.exp: Likewise.
4065         * gdb.python/py-framefilter.exp: Likewise.
4066         * gdb.python/py-mi.exp: Likewise.
4067         * gdb.python/py-pp-maint.exp: Likewise.
4068         * gdb.python/py-pp-registration.exp: Likewise.
4069         * gdb.python/py-prettyprint.exp: Likewise.
4070         (run_lang_tests): Likewise.
4071         * gdb.python/py-typeprint.exp: Likewise.
4072
4073 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4074
4075         * lib/memory.exp: New file.
4076         * lib/gdb.exp: Load memory.exp.
4077         * gdb.base/memattr.exp (delete_memory): Move proc to
4078         lib/memory.exp and rename to delete_memory_regions.
4079         Replace delete_memory with delete_memory_regions.
4080         Cleanup memory regions before tests.
4081         * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
4082         before tests.
4083
4084 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4085
4086         * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4087         files.
4088         (initialize): New function conditionally defined.
4089         (testcases): Move within conditional block.
4090         (main): Call initialize.
4091         * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4092         of gdb.reverse/insn-reverse.c.
4093         * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4094         gdb.reverse/insn-reverse.c.
4095
4096 2017-01-26  Yao Qi  <yao.qi@linaro.org>
4097
4098         * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4099         disassemble on address 0.
4100
4101 2017-01-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4102             Yao Qi  <yao.qi@linaro.org>
4103
4104         * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4105         * gdb.dwarf2/implptr-64bit.S: Remove.
4106         * lib/dwarf.exp (Dwarf): Handle character "%".  Evaluate some
4107         variables in caller's context.  Add DW_OP_implicit_value.
4108
4109 2017-01-25  Yao Qi  <yao.qi@linaro.org>
4110
4111         * lib/dwarf.exp (Dwarf::_location): Handle
4112         DW_OP_GNU_implicit_pointer with proper size.
4113
4114 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4115
4116         * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
4117         and add untested calls.
4118
4119 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4120
4121         * gdb.python/python.exp: Check line number against what GDB thinks
4122         the line number is for func1.
4123
4124 2017-01-08  Iain Buclaw  <ibuclaw@gdcproject.org>
4125
4126         * gdb.dlang/debug-expr.exp: New file.
4127
4128 2016-12-23  Luis Machado  <lgustavo@codesourcery.com>
4129
4130         Fix test names for the following files:
4131
4132         * gdb.ada/exec_changed.exp
4133         * gdb.ada/info_types.exp
4134         * gdb.arch/aarch64-atomic-inst.exp
4135         * gdb.arch/aarch64-fp.exp
4136         * gdb.arch/altivec-abi.exp
4137         * gdb.arch/altivec-regs.exp
4138         * gdb.arch/amd64-byte.exp
4139         * gdb.arch/amd64-disp-step.exp
4140         * gdb.arch/amd64-dword.exp
4141         * gdb.arch/amd64-entry-value-inline.exp
4142         * gdb.arch/amd64-entry-value-param.exp
4143         * gdb.arch/amd64-entry-value-paramref.exp
4144         * gdb.arch/amd64-entry-value.exp
4145         * gdb.arch/amd64-i386-address.exp
4146         * gdb.arch/amd64-invalid-stack-middle.exp
4147         * gdb.arch/amd64-invalid-stack-top.exp
4148         * gdb.arch/amd64-optimout-repeat.exp
4149         * gdb.arch/amd64-prologue-skip.exp
4150         * gdb.arch/amd64-prologue-xmm.exp
4151         * gdb.arch/amd64-stap-special-operands.exp
4152         * gdb.arch/amd64-stap-wrong-subexp.exp
4153         * gdb.arch/amd64-tailcall-cxx.exp
4154         * gdb.arch/amd64-tailcall-noret.exp
4155         * gdb.arch/amd64-tailcall-ret.exp
4156         * gdb.arch/amd64-tailcall-self.exp
4157         * gdb.arch/amd64-word.exp
4158         * gdb.arch/arm-bl-branch-dest.exp
4159         * gdb.arch/arm-disp-step.exp
4160         * gdb.arch/arm-neon.exp
4161         * gdb.arch/arm-single-step-kernel-helper.exp
4162         * gdb.arch/avr-flash-qualifier.exp
4163         * gdb.arch/disp-step-insn-reloc.exp
4164         * gdb.arch/e500-abi.exp
4165         * gdb.arch/e500-regs.exp
4166         * gdb.arch/ftrace-insn-reloc.exp
4167         * gdb.arch/i386-avx512.exp
4168         * gdb.arch/i386-bp_permanent.exp
4169         * gdb.arch/i386-byte.exp
4170         * gdb.arch/i386-cfi-notcurrent.exp
4171         * gdb.arch/i386-disp-step.exp
4172         * gdb.arch/i386-dr3-watch.exp
4173         * gdb.arch/i386-float.exp
4174         * gdb.arch/i386-gnu-cfi.exp
4175         * gdb.arch/i386-mpx-map.exp
4176         * gdb.arch/i386-mpx-sigsegv.exp
4177         * gdb.arch/i386-mpx-simple_segv.exp
4178         * gdb.arch/i386-mpx.exp
4179         * gdb.arch/i386-permbkpt.exp
4180         * gdb.arch/i386-prologue.exp
4181         * gdb.arch/i386-signal.exp
4182         * gdb.arch/i386-size-overlap.exp
4183         * gdb.arch/i386-unwind.exp
4184         * gdb.arch/i386-word.exp
4185         * gdb.arch/mips-fcr.exp
4186         * gdb.arch/powerpc-d128-regs.exp
4187         * gdb.arch/powerpc-stackless.exp
4188         * gdb.arch/ppc64-atomic-inst.exp
4189         * gdb.arch/s390-stackless.exp
4190         * gdb.arch/s390-tdbregs.exp
4191         * gdb.arch/s390-vregs.exp
4192         * gdb.arch/sparc-sysstep.exp
4193         * gdb.arch/thumb-bx-pc.exp
4194         * gdb.arch/thumb-singlestep.exp
4195         * gdb.arch/thumb2-it.exp
4196         * gdb.arch/vsx-regs.exp
4197         * gdb.asm/asm-source.exp
4198         * gdb.base/a2-run.exp
4199         * gdb.base/advance.exp
4200         * gdb.base/all-bin.exp
4201         * gdb.base/anon.exp
4202         * gdb.base/args.exp
4203         * gdb.base/arithmet.exp
4204         * gdb.base/async-shell.exp
4205         * gdb.base/async.exp
4206         * gdb.base/attach-pie-noexec.exp
4207         * gdb.base/attach-twice.exp
4208         * gdb.base/auto-load.exp
4209         * gdb.base/bang.exp
4210         * gdb.base/bitfields.exp
4211         * gdb.base/break-always.exp
4212         * gdb.base/break-caller-line.exp
4213         * gdb.base/break-entry.exp
4214         * gdb.base/break-inline.exp
4215         * gdb.base/break-on-linker-gcd-function.exp
4216         * gdb.base/break-probes.exp
4217         * gdb.base/break.exp
4218         * gdb.base/breakpoint-shadow.exp
4219         * gdb.base/call-ar-st.exp
4220         * gdb.base/call-sc.exp
4221         * gdb.base/call-signal-resume.exp
4222         * gdb.base/call-strs.exp
4223         * gdb.base/callfuncs.exp
4224         * gdb.base/catch-fork-static.exp
4225         * gdb.base/catch-gdb-caused-signals.exp
4226         * gdb.base/catch-load.exp
4227         * gdb.base/catch-signal-fork.exp
4228         * gdb.base/catch-signal.exp
4229         * gdb.base/catch-syscall.exp
4230         * gdb.base/charset.exp
4231         * gdb.base/checkpoint.exp
4232         * gdb.base/chng-syms.exp
4233         * gdb.base/code-expr.exp
4234         * gdb.base/code_elim.exp
4235         * gdb.base/commands.exp
4236         * gdb.base/completion.exp
4237         * gdb.base/complex.exp
4238         * gdb.base/cond-expr.exp
4239         * gdb.base/condbreak.exp
4240         * gdb.base/consecutive.exp
4241         * gdb.base/continue-all-already-running.exp
4242         * gdb.base/coredump-filter.exp
4243         * gdb.base/corefile.exp
4244         * gdb.base/dbx.exp
4245         * gdb.base/debug-expr.exp
4246         * gdb.base/define.exp
4247         * gdb.base/del.exp
4248         * gdb.base/disabled-location.exp
4249         * gdb.base/disasm-end-cu.exp
4250         * gdb.base/disasm-optim.exp
4251         * gdb.base/display.exp
4252         * gdb.base/duplicate-bp.exp
4253         * gdb.base/ena-dis-br.exp
4254         * gdb.base/ending-run.exp
4255         * gdb.base/enumval.exp
4256         * gdb.base/environ.exp
4257         * gdb.base/eu-strip-infcall.exp
4258         * gdb.base/eval-avoid-side-effects.exp
4259         * gdb.base/eval-skip.exp
4260         * gdb.base/exitsignal.exp
4261         * gdb.base/expand-psymtabs.exp
4262         * gdb.base/filesym.exp
4263         * gdb.base/find-unmapped.exp
4264         * gdb.base/finish.exp
4265         * gdb.base/float.exp
4266         * gdb.base/foll-exec-mode.exp
4267         * gdb.base/foll-exec.exp
4268         * gdb.base/foll-fork.exp
4269         * gdb.base/fortran-sym-case.exp
4270         * gdb.base/freebpcmd.exp
4271         * gdb.base/func-ptr.exp
4272         * gdb.base/func-ptrs.exp
4273         * gdb.base/funcargs.exp
4274         * gdb.base/gcore-buffer-overflow.exp
4275         * gdb.base/gcore-relro-pie.exp
4276         * gdb.base/gcore-relro.exp
4277         * gdb.base/gcore.exp
4278         * gdb.base/gdb1090.exp
4279         * gdb.base/gdb11530.exp
4280         * gdb.base/gdb11531.exp
4281         * gdb.base/gdb1821.exp
4282         * gdb.base/gdbindex-stabs.exp
4283         * gdb.base/gdbvars.exp
4284         * gdb.base/hbreak.exp
4285         * gdb.base/hbreak2.exp
4286         * gdb.base/included.exp
4287         * gdb.base/infcall-input.exp
4288         * gdb.base/inferior-died.exp
4289         * gdb.base/infnan.exp
4290         * gdb.base/info-macros.exp
4291         * gdb.base/info-os.exp
4292         * gdb.base/info-proc.exp
4293         * gdb.base/info-shared.exp
4294         * gdb.base/info-target.exp
4295         * gdb.base/infoline.exp
4296         * gdb.base/interp.exp
4297         * gdb.base/interrupt.exp
4298         * gdb.base/jit-reader.exp
4299         * gdb.base/jit-simple.exp
4300         * gdb.base/kill-after-signal.exp
4301         * gdb.base/kill-detach-inferiors-cmd.exp
4302         * gdb.base/label.exp
4303         * gdb.base/langs.exp
4304         * gdb.base/ldbl_e308.exp
4305         * gdb.base/line-symtabs.exp
4306         * gdb.base/linespecs.exp
4307         * gdb.base/list.exp
4308         * gdb.base/long_long.exp
4309         * gdb.base/longest-types.exp
4310         * gdb.base/maint.exp
4311         * gdb.base/max-value-size.exp
4312         * gdb.base/memattr.exp
4313         * gdb.base/mips_pro.exp
4314         * gdb.base/morestack.exp
4315         * gdb.base/moribund-step.exp
4316         * gdb.base/multi-forks.exp
4317         * gdb.base/nested-addr.exp
4318         * gdb.base/nextoverexit.exp
4319         * gdb.base/noreturn-finish.exp
4320         * gdb.base/noreturn-return.exp
4321         * gdb.base/nostdlib.exp
4322         * gdb.base/offsets.exp
4323         * gdb.base/opaque.exp
4324         * gdb.base/pc-fp.exp
4325         * gdb.base/permissions.exp
4326         * gdb.base/print-symbol-loading.exp
4327         * gdb.base/prologue-include.exp
4328         * gdb.base/psymtab.exp
4329         * gdb.base/ptype.exp
4330         * gdb.base/random-signal.exp
4331         * gdb.base/randomize.exp
4332         * gdb.base/range-stepping.exp
4333         * gdb.base/readline-ask.exp
4334         * gdb.base/recpar.exp
4335         * gdb.base/recurse.exp
4336         * gdb.base/relational.exp
4337         * gdb.base/restore.exp
4338         * gdb.base/return-nodebug.exp
4339         * gdb.base/return.exp
4340         * gdb.base/run-after-attach.exp
4341         * gdb.base/save-bp.exp
4342         * gdb.base/scope.exp
4343         * gdb.base/sect-cmd.exp
4344         * gdb.base/set-lang-auto.exp
4345         * gdb.base/set-noassign.exp
4346         * gdb.base/setvar.exp
4347         * gdb.base/sigall.exp
4348         * gdb.base/sigbpt.exp
4349         * gdb.base/siginfo-addr.exp
4350         * gdb.base/siginfo-infcall.exp
4351         * gdb.base/siginfo-obj.exp
4352         * gdb.base/siginfo.exp
4353         * gdb.base/signals-state-child.exp
4354         * gdb.base/signest.exp
4355         * gdb.base/sigstep.exp
4356         * gdb.base/sizeof.exp
4357         * gdb.base/skip.exp
4358         * gdb.base/solib-corrupted.exp
4359         * gdb.base/solib-nodir.exp
4360         * gdb.base/solib-search.exp
4361         * gdb.base/stack-checking.exp
4362         * gdb.base/stale-infcall.exp
4363         * gdb.base/stap-probe.exp
4364         * gdb.base/start.exp
4365         * gdb.base/step-break.exp
4366         * gdb.base/step-bt.exp
4367         * gdb.base/step-line.exp
4368         * gdb.base/step-over-exit.exp
4369         * gdb.base/step-over-syscall.exp
4370         * gdb.base/step-resume-infcall.exp
4371         * gdb.base/step-test.exp
4372         * gdb.base/store.exp
4373         * gdb.base/structs3.exp
4374         * gdb.base/sym-file.exp
4375         * gdb.base/symbol-without-target_section.exp
4376         * gdb.base/term.exp
4377         * gdb.base/testenv.exp
4378         * gdb.base/ui-redirect.exp
4379         * gdb.base/until.exp
4380         * gdb.base/unwindonsignal.exp
4381         * gdb.base/value-double-free.exp
4382         * gdb.base/vla-datatypes.exp
4383         * gdb.base/vla-ptr.exp
4384         * gdb.base/vla-sideeffect.exp
4385         * gdb.base/volatile.exp
4386         * gdb.base/watch-cond-infcall.exp
4387         * gdb.base/watch-cond.exp
4388         * gdb.base/watch-non-mem.exp
4389         * gdb.base/watch-read.exp
4390         * gdb.base/watch-vfork.exp
4391         * gdb.base/watchpoint-cond-gone.exp
4392         * gdb.base/watchpoint-delete.exp
4393         * gdb.base/watchpoint-hw-hit-once.exp
4394         * gdb.base/watchpoint-hw.exp
4395         * gdb.base/watchpoint-stops-at-right-insn.exp
4396         * gdb.base/watchpoints.exp
4397         * gdb.base/wchar.exp
4398         * gdb.base/whatis-exp.exp
4399         * gdb.btrace/buffer-size.exp
4400         * gdb.btrace/data.exp
4401         * gdb.btrace/delta.exp
4402         * gdb.btrace/dlopen.exp
4403         * gdb.btrace/enable.exp
4404         * gdb.btrace/exception.exp
4405         * gdb.btrace/function_call_history.exp
4406         * gdb.btrace/gcore.exp
4407         * gdb.btrace/instruction_history.exp
4408         * gdb.btrace/nohist.exp
4409         * gdb.btrace/reconnect.exp
4410         * gdb.btrace/record_goto-step.exp
4411         * gdb.btrace/record_goto.exp
4412         * gdb.btrace/rn-dl-bind.exp
4413         * gdb.btrace/segv.exp
4414         * gdb.btrace/step.exp
4415         * gdb.btrace/stepi.exp
4416         * gdb.btrace/tailcall-only.exp
4417         * gdb.btrace/tailcall.exp
4418         * gdb.btrace/tsx.exp
4419         * gdb.btrace/unknown_functions.exp
4420         * gdb.btrace/vdso.exp
4421         * gdb.compile/compile-ifunc.exp
4422         * gdb.compile/compile-ops.exp
4423         * gdb.compile/compile-print.exp
4424         * gdb.compile/compile-setjmp.exp
4425         * gdb.cp/abstract-origin.exp
4426         * gdb.cp/ambiguous.exp
4427         * gdb.cp/annota2.exp
4428         * gdb.cp/annota3.exp
4429         * gdb.cp/anon-ns.exp
4430         * gdb.cp/anon-struct.exp
4431         * gdb.cp/anon-union.exp
4432         * gdb.cp/arg-reference.exp
4433         * gdb.cp/baseenum.exp
4434         * gdb.cp/bool.exp
4435         * gdb.cp/breakpoint.exp
4436         * gdb.cp/bs15503.exp
4437         * gdb.cp/call-c.exp
4438         * gdb.cp/casts.exp
4439         * gdb.cp/chained-calls.exp
4440         * gdb.cp/class2.exp
4441         * gdb.cp/classes.exp
4442         * gdb.cp/cmpd-minsyms.exp
4443         * gdb.cp/converts.exp
4444         * gdb.cp/cp-relocate.exp
4445         * gdb.cp/cpcompletion.exp
4446         * gdb.cp/cpexprs.exp
4447         * gdb.cp/cplabel.exp
4448         * gdb.cp/cplusfuncs.exp
4449         * gdb.cp/cpsizeof.exp
4450         * gdb.cp/ctti.exp
4451         * gdb.cp/derivation.exp
4452         * gdb.cp/destrprint.exp
4453         * gdb.cp/dispcxx.exp
4454         * gdb.cp/enum-class.exp
4455         * gdb.cp/exception.exp
4456         * gdb.cp/exceptprint.exp
4457         * gdb.cp/expand-psymtabs-cxx.exp
4458         * gdb.cp/expand-sals.exp
4459         * gdb.cp/extern-c.exp
4460         * gdb.cp/filename.exp
4461         * gdb.cp/formatted-ref.exp
4462         * gdb.cp/fpointer.exp
4463         * gdb.cp/gdb1355.exp
4464         * gdb.cp/gdb2495.exp
4465         * gdb.cp/hang.exp
4466         * gdb.cp/impl-this.exp
4467         * gdb.cp/infcall-dlopen.exp
4468         * gdb.cp/inherit.exp
4469         * gdb.cp/iostream.exp
4470         * gdb.cp/koenig.exp
4471         * gdb.cp/local.exp
4472         * gdb.cp/m-data.exp
4473         * gdb.cp/m-static.exp
4474         * gdb.cp/mb-ctor.exp
4475         * gdb.cp/mb-inline.exp
4476         * gdb.cp/mb-templates.exp
4477         * gdb.cp/member-name.exp
4478         * gdb.cp/member-ptr.exp
4479         * gdb.cp/meth-typedefs.exp
4480         * gdb.cp/method.exp
4481         * gdb.cp/method2.exp
4482         * gdb.cp/minsym-fallback.exp
4483         * gdb.cp/misc.exp
4484         * gdb.cp/namelessclass.exp
4485         * gdb.cp/namespace-enum.exp
4486         * gdb.cp/namespace-nested-import.exp
4487         * gdb.cp/namespace.exp
4488         * gdb.cp/nextoverthrow.exp
4489         * gdb.cp/no-dmgl-verbose.exp
4490         * gdb.cp/non-trivial-retval.exp
4491         * gdb.cp/noparam.exp
4492         * gdb.cp/nsdecl.exp
4493         * gdb.cp/nsimport.exp
4494         * gdb.cp/nsnested.exp
4495         * gdb.cp/nsnoimports.exp
4496         * gdb.cp/nsrecurs.exp
4497         * gdb.cp/nsstress.exp
4498         * gdb.cp/nsusing.exp
4499         * gdb.cp/operator.exp
4500         * gdb.cp/oranking.exp
4501         * gdb.cp/overload-const.exp
4502         * gdb.cp/overload.exp
4503         * gdb.cp/ovldbreak.exp
4504         * gdb.cp/ovsrch.exp
4505         * gdb.cp/paren-type.exp
4506         * gdb.cp/parse-lang.exp
4507         * gdb.cp/pass-by-ref.exp
4508         * gdb.cp/pr-1023.exp
4509         * gdb.cp/pr-1210.exp
4510         * gdb.cp/pr-574.exp
4511         * gdb.cp/pr10687.exp
4512         * gdb.cp/pr12028.exp
4513         * gdb.cp/pr17132.exp
4514         * gdb.cp/pr17494.exp
4515         * gdb.cp/pr9067.exp
4516         * gdb.cp/pr9167.exp
4517         * gdb.cp/pr9631.exp
4518         * gdb.cp/printmethod.exp
4519         * gdb.cp/psmang.exp
4520         * gdb.cp/psymtab-parameter.exp
4521         * gdb.cp/ptype-cv-cp.exp
4522         * gdb.cp/ptype-flags.exp
4523         * gdb.cp/re-set-overloaded.exp
4524         * gdb.cp/ref-types.exp
4525         * gdb.cp/rtti.exp
4526         * gdb.cp/scope-err.exp
4527         * gdb.cp/shadow.exp
4528         * gdb.cp/smartp.exp
4529         * gdb.cp/static-method.exp
4530         * gdb.cp/static-print-quit.exp
4531         * gdb.cp/temargs.exp
4532         * gdb.cp/templates.exp
4533         * gdb.cp/try_catch.exp
4534         * gdb.cp/typedef-operator.exp
4535         * gdb.cp/typeid.exp
4536         * gdb.cp/userdef.exp
4537         * gdb.cp/using-crash.exp
4538         * gdb.cp/var-tag.exp
4539         * gdb.cp/virtbase.exp
4540         * gdb.cp/virtfunc.exp
4541         * gdb.cp/virtfunc2.exp
4542         * gdb.cp/vla-cxx.exp
4543         * gdb.disasm/t01_mov.exp
4544         * gdb.disasm/t02_mova.exp
4545         * gdb.disasm/t03_add.exp
4546         * gdb.disasm/t04_sub.exp
4547         * gdb.disasm/t05_cmp.exp
4548         * gdb.disasm/t06_ari2.exp
4549         * gdb.disasm/t07_ari3.exp
4550         * gdb.disasm/t08_or.exp
4551         * gdb.disasm/t09_xor.exp
4552         * gdb.disasm/t10_and.exp
4553         * gdb.disasm/t11_logs.exp
4554         * gdb.disasm/t12_bit.exp
4555         * gdb.disasm/t13_otr.exp
4556         * gdb.dlang/circular.exp
4557         * gdb.dwarf2/arr-stride.exp
4558         * gdb.dwarf2/arr-subrange.exp
4559         * gdb.dwarf2/atomic-type.exp
4560         * gdb.dwarf2/bad-regnum.exp
4561         * gdb.dwarf2/bitfield-parent-optimized-out.exp
4562         * gdb.dwarf2/callframecfa.exp
4563         * gdb.dwarf2/clztest.exp
4564         * gdb.dwarf2/corrupt.exp
4565         * gdb.dwarf2/data-loc.exp
4566         * gdb.dwarf2/dup-psym.exp
4567         * gdb.dwarf2/dw2-anon-mptr.exp
4568         * gdb.dwarf2/dw2-anonymous-func.exp
4569         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4570         * gdb.dwarf2/dw2-bad-unresolved.exp
4571         * gdb.dwarf2/dw2-basic.exp
4572         * gdb.dwarf2/dw2-canonicalize-type.exp
4573         * gdb.dwarf2/dw2-case-insensitive.exp
4574         * gdb.dwarf2/dw2-common-block.exp
4575         * gdb.dwarf2/dw2-compdir-oldgcc.exp
4576         * gdb.dwarf2/dw2-compressed.exp
4577         * gdb.dwarf2/dw2-const.exp
4578         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4579         * gdb.dwarf2/dw2-cu-size.exp
4580         * gdb.dwarf2/dw2-dup-frame.exp
4581         * gdb.dwarf2/dw2-entry-value.exp
4582         * gdb.dwarf2/dw2-icycle.exp
4583         * gdb.dwarf2/dw2-ifort-parameter.exp
4584         * gdb.dwarf2/dw2-inline-break.exp
4585         * gdb.dwarf2/dw2-inline-param.exp
4586         * gdb.dwarf2/dw2-intercu.exp
4587         * gdb.dwarf2/dw2-intermix.exp
4588         * gdb.dwarf2/dw2-lexical-block-bare.exp
4589         * gdb.dwarf2/dw2-linkage-name-trust.exp
4590         * gdb.dwarf2/dw2-minsym-in-cu.exp
4591         * gdb.dwarf2/dw2-noloc.exp
4592         * gdb.dwarf2/dw2-op-call.exp
4593         * gdb.dwarf2/dw2-op-out-param.exp
4594         * gdb.dwarf2/dw2-opt-structptr.exp
4595         * gdb.dwarf2/dw2-param-error.exp
4596         * gdb.dwarf2/dw2-producer.exp
4597         * gdb.dwarf2/dw2-ranges-base.exp
4598         * gdb.dwarf2/dw2-ref-missing-frame.exp
4599         * gdb.dwarf2/dw2-reg-undefined.exp
4600         * gdb.dwarf2/dw2-regno-invalid.exp
4601         * gdb.dwarf2/dw2-restore.exp
4602         * gdb.dwarf2/dw2-restrict.exp
4603         * gdb.dwarf2/dw2-single-line-discriminators.exp
4604         * gdb.dwarf2/dw2-strp.exp
4605         * gdb.dwarf2/dw2-undefined-ret-addr.exp
4606         * gdb.dwarf2/dw2-unresolved.exp
4607         * gdb.dwarf2/dw2-var-zero-addr.exp
4608         * gdb.dwarf2/dw4-sig-types.exp
4609         * gdb.dwarf2/dwz.exp
4610         * gdb.dwarf2/dynarr-ptr.exp
4611         * gdb.dwarf2/enum-type.exp
4612         * gdb.dwarf2/gdb-index.exp
4613         * gdb.dwarf2/implptr-64bit.exp
4614         * gdb.dwarf2/implptr-optimized-out.exp
4615         * gdb.dwarf2/implptr.exp
4616         * gdb.dwarf2/implref-array.exp
4617         * gdb.dwarf2/implref-const.exp
4618         * gdb.dwarf2/implref-global.exp
4619         * gdb.dwarf2/implref-struct.exp
4620         * gdb.dwarf2/mac-fileno.exp
4621         * gdb.dwarf2/main-subprogram.exp
4622         * gdb.dwarf2/member-ptr-forwardref.exp
4623         * gdb.dwarf2/method-ptr.exp
4624         * gdb.dwarf2/missing-sig-type.exp
4625         * gdb.dwarf2/nonvar-access.exp
4626         * gdb.dwarf2/opaque-type-lookup.exp
4627         * gdb.dwarf2/pieces-optimized-out.exp
4628         * gdb.dwarf2/pieces.exp
4629         * gdb.dwarf2/pr10770.exp
4630         * gdb.dwarf2/pr13961.exp
4631         * gdb.dwarf2/staticvirtual.exp
4632         * gdb.dwarf2/subrange.exp
4633         * gdb.dwarf2/symtab-producer.exp
4634         * gdb.dwarf2/trace-crash.exp
4635         * gdb.dwarf2/typeddwarf.exp
4636         * gdb.dwarf2/valop.exp
4637         * gdb.dwarf2/watch-notconst.exp
4638         * gdb.fortran/array-element.exp
4639         * gdb.fortran/charset.exp
4640         * gdb.fortran/common-block.exp
4641         * gdb.fortran/complex.exp
4642         * gdb.fortran/derived-type-function.exp
4643         * gdb.fortran/derived-type.exp
4644         * gdb.fortran/logical.exp
4645         * gdb.fortran/module.exp
4646         * gdb.fortran/multi-dim.exp
4647         * gdb.fortran/nested-funcs.exp
4648         * gdb.fortran/print-formatted.exp
4649         * gdb.fortran/subarray.exp
4650         * gdb.fortran/vla-alloc-assoc.exp
4651         * gdb.fortran/vla-datatypes.exp
4652         * gdb.fortran/vla-history.exp
4653         * gdb.fortran/vla-ptr-info.exp
4654         * gdb.fortran/vla-ptype-sub.exp
4655         * gdb.fortran/vla-ptype.exp
4656         * gdb.fortran/vla-sizeof.exp
4657         * gdb.fortran/vla-type.exp
4658         * gdb.fortran/vla-value-sub-arbitrary.exp
4659         * gdb.fortran/vla-value-sub-finish.exp
4660         * gdb.fortran/vla-value-sub.exp
4661         * gdb.fortran/vla-value.exp
4662         * gdb.fortran/whatis_type.exp
4663         * gdb.go/chan.exp
4664         * gdb.go/handcall.exp
4665         * gdb.go/hello.exp
4666         * gdb.go/integers.exp
4667         * gdb.go/methods.exp
4668         * gdb.go/package.exp
4669         * gdb.go/strings.exp
4670         * gdb.go/types.exp
4671         * gdb.go/unsafe.exp
4672         * gdb.guile/scm-arch.exp
4673         * gdb.guile/scm-block.exp
4674         * gdb.guile/scm-breakpoint.exp
4675         * gdb.guile/scm-cmd.exp
4676         * gdb.guile/scm-disasm.exp
4677         * gdb.guile/scm-equal.exp
4678         * gdb.guile/scm-frame-args.exp
4679         * gdb.guile/scm-frame-inline.exp
4680         * gdb.guile/scm-frame.exp
4681         * gdb.guile/scm-iterator.exp
4682         * gdb.guile/scm-math.exp
4683         * gdb.guile/scm-objfile.exp
4684         * gdb.guile/scm-ports.exp
4685         * gdb.guile/scm-symbol.exp
4686         * gdb.guile/scm-symtab.exp
4687         * gdb.guile/scm-value-cc.exp
4688         * gdb.guile/types-module.exp
4689         * gdb.linespec/break-ask.exp
4690         * gdb.linespec/cpexplicit.exp
4691         * gdb.linespec/explicit.exp
4692         * gdb.linespec/keywords.exp
4693         * gdb.linespec/linespec.exp
4694         * gdb.linespec/ls-dollar.exp
4695         * gdb.linespec/ls-errs.exp
4696         * gdb.linespec/skip-two.exp
4697         * gdb.linespec/thread.exp
4698         * gdb.mi/mi-async.exp
4699         * gdb.mi/mi-basics.exp
4700         * gdb.mi/mi-break.exp
4701         * gdb.mi/mi-catch-load.exp
4702         * gdb.mi/mi-cli.exp
4703         * gdb.mi/mi-cmd-param-changed.exp
4704         * gdb.mi/mi-console.exp
4705         * gdb.mi/mi-detach.exp
4706         * gdb.mi/mi-disassemble.exp
4707         * gdb.mi/mi-eval.exp
4708         * gdb.mi/mi-file-transfer.exp
4709         * gdb.mi/mi-file.exp
4710         * gdb.mi/mi-fill-memory.exp
4711         * gdb.mi/mi-inheritance-syntax-error.exp
4712         * gdb.mi/mi-linespec-err-cp.exp
4713         * gdb.mi/mi-logging.exp
4714         * gdb.mi/mi-memory-changed.exp
4715         * gdb.mi/mi-read-memory.exp
4716         * gdb.mi/mi-record-changed.exp
4717         * gdb.mi/mi-reg-undefined.exp
4718         * gdb.mi/mi-regs.exp
4719         * gdb.mi/mi-return.exp
4720         * gdb.mi/mi-reverse.exp
4721         * gdb.mi/mi-simplerun.exp
4722         * gdb.mi/mi-solib.exp
4723         * gdb.mi/mi-stack.exp
4724         * gdb.mi/mi-stepi.exp
4725         * gdb.mi/mi-syn-frame.exp
4726         * gdb.mi/mi-until.exp
4727         * gdb.mi/mi-var-block.exp
4728         * gdb.mi/mi-var-child.exp
4729         * gdb.mi/mi-var-cmd.exp
4730         * gdb.mi/mi-var-cp.exp
4731         * gdb.mi/mi-var-display.exp
4732         * gdb.mi/mi-var-invalidate.exp
4733         * gdb.mi/mi-var-list-children-invalid-grandchild.exp
4734         * gdb.mi/mi-vla-fortran.exp
4735         * gdb.mi/mi-watch.exp
4736         * gdb.mi/mi2-var-child.exp
4737         * gdb.mi/user-selected-context-sync.exp
4738         * gdb.modula2/unbounded-array.exp
4739         * gdb.multi/dummy-frame-restore.exp
4740         * gdb.multi/multi-arch-exec.exp
4741         * gdb.multi/multi-arch.exp
4742         * gdb.multi/tids.exp
4743         * gdb.multi/watchpoint-multi.exp
4744         * gdb.opencl/callfuncs.exp
4745         * gdb.opencl/convs_casts.exp
4746         * gdb.opencl/datatypes.exp
4747         * gdb.opencl/operators.exp
4748         * gdb.opencl/vec_comps.exp
4749         * gdb.opt/clobbered-registers-O2.exp
4750         * gdb.opt/inline-break.exp
4751         * gdb.opt/inline-bt.exp
4752         * gdb.opt/inline-cmds.exp
4753         * gdb.opt/inline-locals.exp
4754         * gdb.pascal/case-insensitive-symbols.exp
4755         * gdb.pascal/floats.exp
4756         * gdb.pascal/gdb11492.exp
4757         * gdb.python/lib-types.exp
4758         * gdb.python/py-arch.exp
4759         * gdb.python/py-as-string.exp
4760         * gdb.python/py-bad-printers.exp
4761         * gdb.python/py-block.exp
4762         * gdb.python/py-breakpoint-create-fail.exp
4763         * gdb.python/py-breakpoint.exp
4764         * gdb.python/py-caller-is.exp
4765         * gdb.python/py-cmd.exp
4766         * gdb.python/py-explore-cc.exp
4767         * gdb.python/py-explore.exp
4768         * gdb.python/py-finish-breakpoint.exp
4769         * gdb.python/py-finish-breakpoint2.exp
4770         * gdb.python/py-frame-args.exp
4771         * gdb.python/py-frame-inline.exp
4772         * gdb.python/py-frame.exp
4773         * gdb.python/py-framefilter-mi.exp
4774         * gdb.python/py-infthread.exp
4775         * gdb.python/py-lazy-string.exp
4776         * gdb.python/py-linetable.exp
4777         * gdb.python/py-mi-events.exp
4778         * gdb.python/py-mi-objfile.exp
4779         * gdb.python/py-mi.exp
4780         * gdb.python/py-objfile.exp
4781         * gdb.python/py-pp-integral.exp
4782         * gdb.python/py-pp-maint.exp
4783         * gdb.python/py-pp-re-notag.exp
4784         * gdb.python/py-pp-registration.exp
4785         * gdb.python/py-recurse-unwind.exp
4786         * gdb.python/py-strfns.exp
4787         * gdb.python/py-symbol.exp
4788         * gdb.python/py-symtab.exp
4789         * gdb.python/py-sync-interp.exp
4790         * gdb.python/py-typeprint.exp
4791         * gdb.python/py-unwind-maint.exp
4792         * gdb.python/py-unwind.exp
4793         * gdb.python/py-value-cc.exp
4794         * gdb.python/py-xmethods.exp
4795         * gdb.reverse/amd64-tailcall-reverse.exp
4796         * gdb.reverse/break-precsave.exp
4797         * gdb.reverse/break-reverse.exp
4798         * gdb.reverse/consecutive-precsave.exp
4799         * gdb.reverse/consecutive-reverse.exp
4800         * gdb.reverse/finish-precsave.exp
4801         * gdb.reverse/finish-reverse-bkpt.exp
4802         * gdb.reverse/finish-reverse.exp
4803         * gdb.reverse/fstatat-reverse.exp
4804         * gdb.reverse/getresuid-reverse.exp
4805         * gdb.reverse/i386-precsave.exp
4806         * gdb.reverse/i386-reverse.exp
4807         * gdb.reverse/i386-sse-reverse.exp
4808         * gdb.reverse/i387-env-reverse.exp
4809         * gdb.reverse/i387-stack-reverse.exp
4810         * gdb.reverse/insn-reverse.exp
4811         * gdb.reverse/machinestate-precsave.exp
4812         * gdb.reverse/machinestate.exp
4813         * gdb.reverse/next-reverse-bkpt-over-sr.exp
4814         * gdb.reverse/pipe-reverse.exp
4815         * gdb.reverse/readv-reverse.exp
4816         * gdb.reverse/recvmsg-reverse.exp
4817         * gdb.reverse/rerun-prec.exp
4818         * gdb.reverse/s390-mvcle.exp
4819         * gdb.reverse/step-precsave.exp
4820         * gdb.reverse/step-reverse.exp
4821         * gdb.reverse/time-reverse.exp
4822         * gdb.reverse/until-precsave.exp
4823         * gdb.reverse/until-reverse.exp
4824         * gdb.reverse/waitpid-reverse.exp
4825         * gdb.reverse/watch-precsave.exp
4826         * gdb.reverse/watch-reverse.exp
4827         * gdb.rust/generics.exp
4828         * gdb.rust/methods.exp
4829         * gdb.rust/modules.exp
4830         * gdb.rust/simple.exp
4831         * gdb.server/connect-with-no-symbol-file.exp
4832         * gdb.server/ext-attach.exp
4833         * gdb.server/ext-restart.exp
4834         * gdb.server/ext-wrapper.exp
4835         * gdb.server/file-transfer.exp
4836         * gdb.server/server-exec-info.exp
4837         * gdb.server/server-kill.exp
4838         * gdb.server/server-mon.exp
4839         * gdb.server/wrapper.exp
4840         * gdb.stabs/exclfwd.exp
4841         * gdb.stabs/gdb11479.exp
4842         * gdb.threads/clone-new-thread-event.exp
4843         * gdb.threads/corethreads.exp
4844         * gdb.threads/current-lwp-dead.exp
4845         * gdb.threads/dlopen-libpthread.exp
4846         * gdb.threads/gcore-thread.exp
4847         * gdb.threads/sigstep-threads.exp
4848         * gdb.threads/watchpoint-fork.exp
4849         * gdb.trace/actions-changed.exp
4850         * gdb.trace/backtrace.exp
4851         * gdb.trace/change-loc.exp
4852         * gdb.trace/circ.exp
4853         * gdb.trace/collection.exp
4854         * gdb.trace/disconnected-tracing.exp
4855         * gdb.trace/ftrace.exp
4856         * gdb.trace/mi-trace-frame-collected.exp
4857         * gdb.trace/mi-trace-unavailable.exp
4858         * gdb.trace/mi-traceframe-changed.exp
4859         * gdb.trace/mi-tsv-changed.exp
4860         * gdb.trace/no-attach-trace.exp
4861         * gdb.trace/passc-dyn.exp
4862         * gdb.trace/qtro.exp
4863         * gdb.trace/range-stepping.exp
4864         * gdb.trace/read-memory.exp
4865         * gdb.trace/save-trace.exp
4866         * gdb.trace/signal.exp
4867         * gdb.trace/status-stop.exp
4868         * gdb.trace/tfile.exp
4869         * gdb.trace/trace-break.exp
4870         * gdb.trace/trace-buffer-size.exp
4871         * gdb.trace/trace-condition.exp
4872         * gdb.trace/tracefile-pseudo-reg.exp
4873         * gdb.trace/tstatus.exp
4874         * gdb.trace/unavailable.exp
4875         * gdb.trace/while-dyn.exp
4876         * gdb.trace/while-stepping.exp
4877
4878 2016-12-22  Doug Evans  <xdje42@gmail.com>
4879
4880         * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
4881         and msymbols.
4882
4883 2016-12-19  Yao Qi  <yao.qi@linaro.org>
4884
4885         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
4886         (test_with_self): Don't call do_steps_and_nexts, and remove
4887         code about stepping into xmalloc.
4888
4889 2016-12-09  Yao Qi  <yao.qi@linaro.org>
4890
4891         * gdb.base/all-architectures.exp.in: Remove kfail for rx.
4892
4893 2016-12-09  Yao Qi  <yao.qi@linaro.org>
4894
4895         * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
4896
4897 2016-12-09  Pedro Alves  <palves@redhat.com>
4898
4899         * gdb.base/all-architectures-0.exp: New file.
4900         * gdb.base/all-architectures-1.exp: New file.
4901         * gdb.base/all-architectures-2.exp: New file.
4902         * gdb.base/all-architectures-3.exp: New file.
4903         * gdb.base/all-architectures-4.exp: New file.
4904         * gdb.base/all-architectures-5.exp: New file.
4905         * gdb.base/all-architectures-6.exp: New file.
4906         * gdb.base/all-architectures-7.exp: New file.
4907         * gdb.base/all-architectures.exp.in: New file.
4908
4909 2016-12-09  Yao Qi  <yao.qi@linaro.org>
4910
4911         * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
4912
4913 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
4914
4915         * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
4916         possible.
4917         Remove useless pattern-matching code.
4918
4919 2016-12-02  Pedro Alves  <palves@redhat.com>
4920
4921         * gdb.base/commands.exp (user_defined_command_manyargs_test): New
4922         procedure.
4923         (top level): Call it.
4924
4925 2016-12-02  Pedro Alves  <palves@redhat.com>
4926
4927         * gdb.base/commands.exp (user_defined_command_args_stack_test):
4928         New procedure.
4929         (top level): Call it.
4930
4931 2016-12-02  Pedro Alves  <palves@redhat.com>
4932
4933         PR cli/20559
4934         * gdb.base/commands.exp (user_defined_command_args_eval): New
4935         procedure.
4936         (top level): Call it.
4937
4938 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
4939
4940         * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
4941         timeout handling.
4942
4943 2016-12-02  Tom Tromey  <tom@tromey.com>
4944
4945         * gdb.dwarf2/main-subprogram.c: New file.
4946         * gdb.dwarf2/main-subprogram.exp: New file.
4947
4948 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
4949
4950         * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
4951         * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
4952         gdb_test_no_output for a couple of cases.
4953         * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
4954
4955 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
4956
4957         Fix test names and standardize compilation error messages throughout
4958         the following files:
4959
4960         * gdb.ada/start.exp
4961         * gdb.arch/alpha-step.exp
4962         * gdb.arch/e500-prologue.exp
4963         * gdb.arch/ftrace-insn-reloc.exp
4964         * gdb.arch/gdb1291.exp
4965         * gdb.arch/gdb1431.exp
4966         * gdb.arch/gdb1558.exp
4967         * gdb.arch/i386-dr3-watch.exp
4968         * gdb.arch/i386-sse-stack-align.exp
4969         * gdb.arch/ia64-breakpoint-shadow.exp
4970         * gdb.arch/pa-nullify.exp
4971         * gdb.arch/powerpc-aix-prologue.exp
4972         * gdb.arch/thumb-bx-pc.exp
4973         * gdb.base/annota1.exp
4974         * gdb.base/annota3.exp
4975         * gdb.base/arrayidx.exp
4976         * gdb.base/assign.exp
4977         * gdb.base/attach.exp
4978         * gdb.base/auxv.exp
4979         * gdb.base/bang.exp
4980         * gdb.base/bfp-test.exp
4981         * gdb.base/bigcore.exp
4982         * gdb.base/bitfields2.exp
4983         * gdb.base/break-fun-addr.exp
4984         * gdb.base/break-probes.exp
4985         * gdb.base/call-rt-st.exp
4986         * gdb.base/callexit.exp
4987         * gdb.base/catch-fork-kill.exp
4988         * gdb.base/charset.exp
4989         * gdb.base/checkpoint.exp
4990         * gdb.base/comprdebug.exp
4991         * gdb.base/constvars.exp
4992         * gdb.base/coredump-filter.exp
4993         * gdb.base/cursal.exp
4994         * gdb.base/cvexpr.exp
4995         * gdb.base/detach.exp
4996         * gdb.base/display.exp
4997         * gdb.base/dmsym.exp
4998         * gdb.base/dprintf-pending.exp
4999         * gdb.base/dso2dso.exp
5000         * gdb.base/dtrace-probe.exp
5001         * gdb.base/dump.exp
5002         * gdb.base/enum_cond.exp
5003         * gdb.base/exe-lock.exp
5004         * gdb.base/exec-invalid-sysroot.exp
5005         * gdb.base/execl-update-breakpoints.exp
5006         * gdb.base/exprs.exp
5007         * gdb.base/fileio.exp
5008         * gdb.base/find.exp
5009         * gdb.base/finish.exp
5010         * gdb.base/fixsection.exp
5011         * gdb.base/foll-vfork.exp
5012         * gdb.base/frame-args.exp
5013         * gdb.base/gcore.exp
5014         * gdb.base/gdb1250.exp
5015         * gdb.base/global-var-nested-by-dso.exp
5016         * gdb.base/gnu-ifunc.exp
5017         * gdb.base/hashline1.exp
5018         * gdb.base/hashline2.exp
5019         * gdb.base/hashline3.exp
5020         * gdb.base/hbreak-in-shr-unsupported.exp
5021         * gdb.base/huge.exp
5022         * gdb.base/infcall-input.exp
5023         * gdb.base/info-fun.exp
5024         * gdb.base/info-shared.exp
5025         * gdb.base/jit-simple.exp
5026         * gdb.base/jit-so.exp
5027         * gdb.base/jit.exp
5028         * gdb.base/jump.exp
5029         * gdb.base/label.exp
5030         * gdb.base/lineinc.exp
5031         * gdb.base/logical.exp
5032         * gdb.base/longjmp.exp
5033         * gdb.base/macscp.exp
5034         * gdb.base/miscexprs.exp
5035         * gdb.base/new-ui-echo.exp
5036         * gdb.base/new-ui-pending-input.exp
5037         * gdb.base/new-ui.exp
5038         * gdb.base/nodebug.exp
5039         * gdb.base/nofield.exp
5040         * gdb.base/offsets.exp
5041         * gdb.base/overlays.exp
5042         * gdb.base/pending.exp
5043         * gdb.base/pointers.exp
5044         * gdb.base/pr11022.exp
5045         * gdb.base/printcmds.exp
5046         * gdb.base/prologue.exp
5047         * gdb.base/ptr-typedef.exp
5048         * gdb.base/realname-expand.exp
5049         * gdb.base/relativedebug.exp
5050         * gdb.base/relocate.exp
5051         * gdb.base/remote.exp
5052         * gdb.base/reread.exp
5053         * gdb.base/return2.exp
5054         * gdb.base/savedregs.exp
5055         * gdb.base/sep.exp
5056         * gdb.base/sepdebug.exp
5057         * gdb.base/sepsymtab.exp
5058         * gdb.base/set-inferior-tty.exp
5059         * gdb.base/setshow.exp
5060         * gdb.base/shlib-call.exp
5061         * gdb.base/sigaltstack.exp
5062         * gdb.base/siginfo-addr.exp
5063         * gdb.base/signals.exp
5064         * gdb.base/signull.exp
5065         * gdb.base/sigrepeat.exp
5066         * gdb.base/so-impl-ld.exp
5067         * gdb.base/solib-display.exp
5068         * gdb.base/solib-overlap.exp
5069         * gdb.base/solib-search.exp
5070         * gdb.base/solib-symbol.exp
5071         * gdb.base/structs.exp
5072         * gdb.base/structs2.exp
5073         * gdb.base/symtab-search-order.exp
5074         * gdb.base/twice.exp
5075         * gdb.base/unload.exp
5076         * gdb.base/varargs.exp
5077         * gdb.base/watchpoint-solib.exp
5078         * gdb.base/watchpoint.exp
5079         * gdb.base/whatis.exp
5080         * gdb.base/wrong_frame_bt_full.exp
5081         * gdb.btrace/dlopen.exp
5082         * gdb.cell/ea-standalone.exp
5083         * gdb.cell/ea-test.exp
5084         * gdb.cp/dispcxx.exp
5085         * gdb.cp/gdb2384.exp
5086         * gdb.cp/method2.exp
5087         * gdb.cp/nextoverthrow.exp
5088         * gdb.cp/pr10728.exp
5089         * gdb.disasm/am33.exp
5090         * gdb.disasm/h8300s.exp
5091         * gdb.disasm/mn10300.exp
5092         * gdb.disasm/sh3.exp
5093         * gdb.dwarf2/dw2-dir-file-name.exp
5094         * gdb.fortran/complex.exp
5095         * gdb.fortran/library-module.exp
5096         * gdb.guile/scm-pretty-print.exp
5097         * gdb.guile/scm-symbol.exp
5098         * gdb.guile/scm-type.exp
5099         * gdb.guile/scm-value.exp
5100         * gdb.linespec/linespec.exp
5101         * gdb.mi/gdb701.exp
5102         * gdb.mi/gdb792.exp
5103         * gdb.mi/mi-breakpoint-changed.exp
5104         * gdb.mi/mi-dprintf-pending.exp
5105         * gdb.mi/mi-dprintf.exp
5106         * gdb.mi/mi-exit-code.exp
5107         * gdb.mi/mi-pending.exp
5108         * gdb.mi/mi-solib.exp
5109         * gdb.mi/new-ui-mi-sync.exp
5110         * gdb.mi/pr11022.exp
5111         * gdb.mi/user-selected-context-sync.exp
5112         * gdb.opt/solib-intra-step.exp
5113         * gdb.python/py-events.exp
5114         * gdb.python/py-finish-breakpoint.exp
5115         * gdb.python/py-mi.exp
5116         * gdb.python/py-prettyprint.exp
5117         * gdb.python/py-shared.exp
5118         * gdb.python/py-symbol.exp
5119         * gdb.python/py-template.exp
5120         * gdb.python/py-type.exp
5121         * gdb.python/py-value.exp
5122         * gdb.reverse/solib-precsave.exp
5123         * gdb.reverse/solib-reverse.exp
5124         * gdb.server/solib-list.exp
5125         * gdb.stabs/weird.exp
5126         * gdb.threads/reconnect-signal.exp
5127         * gdb.threads/stepi-random-signal.exp
5128         * gdb.trace/actions.exp
5129         * gdb.trace/ax.exp
5130         * gdb.trace/backtrace.exp
5131         * gdb.trace/change-loc.exp
5132         * gdb.trace/deltrace.exp
5133         * gdb.trace/ftrace-lock.exp
5134         * gdb.trace/ftrace.exp
5135         * gdb.trace/infotrace.exp
5136         * gdb.trace/mi-tracepoint-changed.exp
5137         * gdb.trace/packetlen.exp
5138         * gdb.trace/passcount.exp
5139         * gdb.trace/pending.exp
5140         * gdb.trace/range-stepping.exp
5141         * gdb.trace/report.exp
5142         * gdb.trace/stap-trace.exp
5143         * gdb.trace/tfind.exp
5144         * gdb.trace/trace-break.exp
5145         * gdb.trace/trace-condition.exp
5146         * gdb.trace/trace-enable-disable.exp
5147         * gdb.trace/trace-mt.exp
5148         * gdb.trace/tracecmd.exp
5149         * gdb.trace/tspeed.exp
5150         * gdb.trace/tsv.exp
5151         * lib/perftest.exp
5152
5153 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5154
5155         * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
5156         with gdb_test_no_output.
5157         Use command as test name.
5158
5159 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5160
5161         Fix test names starting with uppercase throughout the files.
5162
5163         * gdb.ada/assign_1.exp
5164         * gdb.ada/boolean_expr.exp
5165         * gdb.base/arrayidx.exp
5166         * gdb.base/del.exp
5167         * gdb.base/gcore-buffer-overflow.exp
5168         * gdb.base/testenv.exp
5169         * gdb.compile/compile.exp
5170         * gdb.python/py-framefilter-invalidarg.exp
5171         * gdb.python/py-framefilter.exp
5172
5173 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5174
5175         Fix test names starting with uppercase throughout the files.
5176
5177         * gdb.ada/array_return.exp
5178         * gdb.ada/expr_delims.exp
5179         * gdb.ada/mi_dyn_arr.exp
5180         * gdb.ada/mi_interface.exp
5181         * gdb.ada/mi_var_array.exp
5182         * gdb.ada/watch_arg.exp
5183         * gdb.arch/alpha-step.exp
5184         * gdb.arch/altivec-regs.exp
5185         * gdb.arch/e500-regs.exp
5186         * gdb.arch/powerpc-d128-regs.exp
5187         * gdb.base/arrayidx.exp
5188         * gdb.base/break.exp
5189         * gdb.base/checkpoint.exp
5190         * gdb.base/debug-expr.exp
5191         * gdb.base/dmsym.exp
5192         * gdb.base/radix.exp
5193         * gdb.base/sepdebug.exp
5194         * gdb.base/testenv.exp
5195         * gdb.base/watch_thread_num.exp
5196         * gdb.base/watchpoint-cond-gone.exp
5197         * gdb.cell/break.exp
5198         * gdb.cell/ea-cache.exp
5199         * gdb.compile/compile.exp
5200         * gdb.cp/gdb2495.exp
5201         * gdb.gdb/selftest.exp
5202         * gdb.gdb/xfullpath.exp
5203         * gdb.go/hello.exp
5204         * gdb.go/integers.exp
5205         * gdb.objc/basicclass.exp
5206         * gdb.pascal/hello.exp
5207         * gdb.pascal/integers.exp
5208         * gdb.python/py-breakpoint.exp
5209         * gdb.python/py-cmd.exp
5210         * gdb.python/py-linetable.exp
5211         * gdb.python/py-xmethods.exp
5212         * gdb.python/python.exp
5213         * gdb.reverse/consecutive-precsave.exp
5214         * gdb.reverse/finish-precsave.exp
5215         * gdb.reverse/i386-precsave.exp
5216         * gdb.reverse/machinestate-precsave.exp
5217         * gdb.reverse/sigall-precsave.exp
5218         * gdb.reverse/solib-precsave.exp
5219         * gdb.reverse/step-precsave.exp
5220         * gdb.reverse/until-precsave.exp
5221         * gdb.reverse/watch-precsave.exp
5222         * gdb.threads/leader-exit.exp
5223         * gdb.threads/pthreads.exp
5224         * gdb.threads/wp-replication.exp
5225         * gdb.trace/actions.exp
5226         * gdb.trace/mi-tsv-changed.exp
5227         * gdb.trace/tsv.exp
5228
5229 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5230
5231         Fix test names starting with uppercase throughout the files.
5232
5233         * gdb.arch/i386-bp_permanent.exp
5234         * gdb.arch/i386-gnu-cfi.exp
5235         * gdb.base/disasm-end-cu.exp
5236         * gdb.base/macscp.exp
5237         * gdb.base/pending.exp
5238         * gdb.base/watch_thread_num.exp
5239         * gdb.cp/exception.exp
5240         * gdb.cp/gdb2495.exp
5241         * gdb.cp/local.exp
5242         * gdb.python/py-evsignal.exp
5243         * gdb.python/python.exp
5244         * gdb.trace/tracecmd.exp
5245
5246 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5247
5248         Fix test names starting with uppercase throughout the files.
5249
5250         * gdb.base/charset.exp
5251         * gdb.base/eval.exp
5252         * gdb.base/multi-forks.exp
5253         * gdb.guile/scm-progspace.exp
5254         * gdb.opencl/datatypes.exp
5255         * gdb.python/py-block.exp
5256         * gdb.python/py-function.exp
5257         * gdb.python/py-symbol.exp
5258         * gdb.python/py-symtab.exp
5259         * gdb.python/py-xmethods.exp
5260         * gdb.reverse/break-precsave.exp
5261         * gdb.reverse/break-reverse.exp
5262         * gdb.reverse/consecutive-precsave.exp
5263         * gdb.reverse/consecutive-reverse.exp
5264         * gdb.reverse/finish-precsave.exp
5265         * gdb.reverse/finish-reverse-bkpt.exp
5266         * gdb.reverse/finish-reverse.exp
5267         * gdb.reverse/fstatat-reverse.exp
5268         * gdb.reverse/getresuid-reverse.exp
5269         * gdb.reverse/i386-precsave.exp
5270         * gdb.reverse/i386-reverse.exp
5271         * gdb.reverse/i386-sse-reverse.exp
5272         * gdb.reverse/i387-stack-reverse.exp
5273         * gdb.reverse/insn-reverse.exp
5274         * gdb.reverse/machinestate-precsave.exp
5275         * gdb.reverse/machinestate.exp
5276         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5277         * gdb.reverse/pipe-reverse.exp
5278         * gdb.reverse/readv-reverse.exp
5279         * gdb.reverse/recvmsg-reverse.exp
5280         * gdb.reverse/rerun-prec.exp
5281         * gdb.reverse/s390-mvcle.exp
5282         * gdb.reverse/sigall-precsave.exp
5283         * gdb.reverse/sigall-reverse.exp
5284         * gdb.reverse/solib-precsave.exp
5285         * gdb.reverse/solib-reverse.exp
5286         * gdb.reverse/step-precsave.exp
5287         * gdb.reverse/step-reverse.exp
5288         * gdb.reverse/time-reverse.exp
5289         * gdb.reverse/until-precsave.exp
5290         * gdb.reverse/until-reverse.exp
5291         * gdb.reverse/waitpid-reverse.exp
5292         * gdb.reverse/watch-precsave.exp
5293         * gdb.reverse/watch-reverse.exp
5294
5295 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5296
5297         Fix test names starting with uppercase throughout the files.
5298
5299         * gdb.arch/i386-mpx-simple_segv.exp
5300         * gdb.arch/i386-mpx.exp
5301         * gdb.arch/i386-permbkpt.exp
5302         * gdb.arch/pa-nullify.exp
5303         * gdb.arch/powerpc-d128-regs.exp
5304         * gdb.arch/vsx-regs.exp
5305         * gdb.base/bfp-test.exp
5306         * gdb.base/break.exp
5307         * gdb.base/breakpoint-shadow.exp
5308         * gdb.base/callfuncs.exp
5309         * gdb.base/charset.exp
5310         * gdb.base/commands.exp
5311         * gdb.base/completion.exp
5312         * gdb.base/dfp-test.exp
5313         * gdb.base/echo.exp
5314         * gdb.base/ending-run.exp
5315         * gdb.base/eval.exp
5316         * gdb.base/expand-psymtabs.exp
5317         * gdb.base/float128.exp
5318         * gdb.base/floatn.exp
5319         * gdb.base/foll-exec-mode.exp
5320         * gdb.base/gdb1056.exp
5321         * gdb.base/gdb11531.exp
5322         * gdb.base/kill-after-signal.exp
5323         * gdb.base/multi-forks.exp
5324         * gdb.base/overlays.exp
5325         * gdb.base/pending.exp
5326         * gdb.base/sepdebug.exp
5327         * gdb.base/testenv.exp
5328         * gdb.base/valgrind-db-attach.exp
5329         * gdb.base/watch_thread_num.exp
5330         * gdb.base/watchpoint-cond-gone.exp
5331         * gdb.base/watchpoint.exp
5332         * gdb.base/watchpoints.exp
5333         * gdb.cp/arg-reference.exp
5334         * gdb.cp/baseenum.exp
5335         * gdb.cp/operator.exp
5336         * gdb.cp/shadow.exp
5337         * gdb.dwarf2/dw2-op-out-param.exp
5338         * gdb.dwarf2/dw2-reg-undefined.exp
5339         * gdb.go/chan.exp
5340         * gdb.go/hello.exp
5341         * gdb.go/integers.exp
5342         * gdb.go/methods.exp
5343         * gdb.go/package.exp
5344         * gdb.guile/scm-parameter.exp
5345         * gdb.guile/scm-progspace.exp
5346         * gdb.guile/scm-value.exp
5347         * gdb.mi/mi-pending.exp
5348         * gdb.mi/user-selected-context-sync.exp
5349         * gdb.multi/multi-attach.exp
5350         * gdb.multi/tids.exp
5351         * gdb.opt/clobbered-registers-O2.exp
5352         * gdb.pascal/floats.exp
5353         * gdb.pascal/integers.exp
5354         * gdb.python/py-block.exp
5355         * gdb.python/py-events.exp
5356         * gdb.python/py-parameter.exp
5357         * gdb.python/py-symbol.exp
5358         * gdb.python/py-symtab.exp
5359         * gdb.python/py-type.exp
5360         * gdb.python/py-value.exp
5361         * gdb.python/py-xmethods.exp
5362         * gdb.python/python.exp
5363         * gdb.reverse/break-precsave.exp
5364         * gdb.reverse/consecutive-precsave.exp
5365         * gdb.reverse/finish-precsave.exp
5366         * gdb.reverse/i386-precsave.exp
5367         * gdb.reverse/machinestate-precsave.exp
5368         * gdb.reverse/sigall-precsave.exp
5369         * gdb.reverse/solib-precsave.exp
5370         * gdb.reverse/step-precsave.exp
5371         * gdb.reverse/until-precsave.exp
5372         * gdb.reverse/watch-precsave.exp
5373         * gdb.server/ext-attach.exp
5374         * gdb.server/ext-restart.exp
5375         * gdb.server/ext-run.exp
5376         * gdb.server/ext-wrapper.exp
5377         * gdb.stabs/gdb11479.exp
5378         * gdb.stabs/weird.exp
5379         * gdb.threads/attach-many-short-lived-threads.exp
5380         * gdb.threads/kill.exp
5381         * gdb.threads/watchpoint-fork.exp
5382
5383 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5384
5385         Fix test names starting with uppercase throughout all the files below.
5386
5387         * gdb.ada/array_return.exp
5388         * gdb.ada/catch_ex.exp
5389         * gdb.ada/info_exc.exp
5390         * gdb.ada/mi_catch_ex.exp
5391         * gdb.ada/mi_dyn_arr.exp
5392         * gdb.ada/mi_ex_cond.exp
5393         * gdb.ada/mi_exc_info.exp
5394         * gdb.ada/mi_interface.exp
5395         * gdb.ada/mi_task_arg.exp
5396         * gdb.ada/mi_task_info.exp
5397         * gdb.ada/mi_var_array.exp
5398         * gdb.arch/alpha-step.exp
5399         * gdb.arch/amd64-disp-step.exp
5400         * gdb.arch/arm-disp-step.exp
5401         * gdb.arch/disp-step-insn-reloc.exp
5402         * gdb.arch/e500-prologue.exp
5403         * gdb.arch/ftrace-insn-reloc.exp
5404         * gdb.arch/gdb1558.exp
5405         * gdb.arch/i386-bp_permanent.exp
5406         * gdb.arch/i386-disp-step.exp
5407         * gdb.arch/i386-float.exp
5408         * gdb.arch/i386-gnu-cfi.exp
5409         * gdb.arch/ia64-breakpoint-shadow.exp
5410         * gdb.arch/mips16-thunks.exp
5411         * gdb.arch/pa-nullify.exp
5412         * gdb.arch/powerpc-aix-prologue.exp
5413         * gdb.arch/powerpc-power.exp
5414         * gdb.arch/ppc-dfp.exp
5415         * gdb.arch/s390-tdbregs.exp
5416         * gdb.arch/spu-info.exp
5417         * gdb.arch/spu-ls.exp
5418         * gdb.arch/thumb-bx-pc.exp
5419         * gdb.base/advance.exp
5420         * gdb.base/annota-input-while-running.exp
5421         * gdb.base/arrayidx.exp
5422         * gdb.base/asmlabel.exp
5423         * gdb.base/async.exp
5424         * gdb.base/attach-wait-input.exp
5425         * gdb.base/auto-connect-native-target.exp
5426         * gdb.base/batch-preserve-term-settings.exp
5427         * gdb.base/bfp-test.exp
5428         * gdb.base/bigcore.exp
5429         * gdb.base/bp-permanent.exp
5430         * gdb.base/break-always.exp
5431         * gdb.base/break-fun-addr.exp
5432         * gdb.base/break-idempotent.exp
5433         * gdb.base/break-main-file-remove-fail.exp
5434         * gdb.base/break-probes.exp
5435         * gdb.base/break-unload-file.exp
5436         * gdb.base/break.exp
5437         * gdb.base/call-ar-st.exp
5438         * gdb.base/call-rt-st.exp
5439         * gdb.base/call-sc.exp
5440         * gdb.base/call-signal-resume.exp
5441         * gdb.base/call-strs.exp
5442         * gdb.base/callexit.exp
5443         * gdb.base/callfuncs.exp
5444         * gdb.base/catch-gdb-caused-signals.exp
5445         * gdb.base/catch-signal-siginfo-cond.exp
5446         * gdb.base/catch-syscall.exp
5447         * gdb.base/compare-sections.exp
5448         * gdb.base/cond-eval-mode.exp
5449         * gdb.base/condbreak-call-false.exp
5450         * gdb.base/consecutive-step-over.exp
5451         * gdb.base/cursal.exp
5452         * gdb.base/disabled-location.exp
5453         * gdb.base/disasm-end-cu.exp
5454         * gdb.base/display.exp
5455         * gdb.base/double-prompt-target-event-error.exp
5456         * gdb.base/dprintf-bp-same-addr.exp
5457         * gdb.base/dprintf-detach.exp
5458         * gdb.base/dprintf-next.exp
5459         * gdb.base/dprintf-non-stop.exp
5460         * gdb.base/dprintf-pending.exp
5461         * gdb.base/dso2dso.exp
5462         * gdb.base/ending-run.exp
5463         * gdb.base/enum_cond.exp
5464         * gdb.base/examine-backward.exp
5465         * gdb.base/exe-lock.exp
5466         * gdb.base/exec-invalid-sysroot.exp
5467         * gdb.base/execl-update-breakpoints.exp
5468         * gdb.base/execution-termios.exp
5469         * gdb.base/fileio.exp
5470         * gdb.base/fixsection.exp
5471         * gdb.base/foll-exec-mode.exp
5472         * gdb.base/foll-exec.exp
5473         * gdb.base/fork-running-state.exp
5474         * gdb.base/frame-args.exp
5475         * gdb.base/fullpath-expand.exp
5476         * gdb.base/func-ptr.exp
5477         * gdb.base/gcore-relro-pie.exp
5478         * gdb.base/gdb1090.exp
5479         * gdb.base/gdb1555.exp
5480         * gdb.base/global-var-nested-by-dso.exp
5481         * gdb.base/gnu-ifunc.exp
5482         * gdb.base/hbreak-in-shr-unsupported.exp
5483         * gdb.base/hbreak-unmapped.exp
5484         * gdb.base/hook-stop.exp
5485         * gdb.base/infcall-input.exp
5486         * gdb.base/info-fun.exp
5487         * gdb.base/info-shared.exp
5488         * gdb.base/interrupt-noterm.exp
5489         * gdb.base/jit-so.exp
5490         * gdb.base/jit.exp
5491         * gdb.base/line-symtabs.exp
5492         * gdb.base/list.exp
5493         * gdb.base/longjmp.exp
5494         * gdb.base/macscp.exp
5495         * gdb.base/max-value-size.exp
5496         * gdb.base/nodebug.exp
5497         * gdb.base/nofield.exp
5498         * gdb.base/overlays.exp
5499         * gdb.base/paginate-after-ctrl-c-running.exp
5500         * gdb.base/paginate-bg-execution.exp
5501         * gdb.base/paginate-inferior-exit.exp
5502         * gdb.base/pending.exp
5503         * gdb.base/pr11022.exp
5504         * gdb.base/printcmds.exp
5505         * gdb.base/ptr-typedef.exp
5506         * gdb.base/ptype.exp
5507         * gdb.base/randomize.exp
5508         * gdb.base/range-stepping.exp
5509         * gdb.base/realname-expand.exp
5510         * gdb.base/relativedebug.exp
5511         * gdb.base/remote.exp
5512         * gdb.base/savedregs.exp
5513         * gdb.base/sepdebug.exp
5514         * gdb.base/set-noassign.exp
5515         * gdb.base/shlib-call.exp
5516         * gdb.base/shreloc.exp
5517         * gdb.base/sigaltstack.exp
5518         * gdb.base/sigbpt.exp
5519         * gdb.base/siginfo-addr.exp
5520         * gdb.base/siginfo-obj.exp
5521         * gdb.base/siginfo-thread.exp
5522         * gdb.base/signest.exp
5523         * gdb.base/signull.exp
5524         * gdb.base/sigrepeat.exp
5525         * gdb.base/skip.exp
5526         * gdb.base/so-impl-ld.exp
5527         * gdb.base/solib-corrupted.exp
5528         * gdb.base/solib-disc.exp
5529         * gdb.base/solib-display.exp
5530         * gdb.base/solib-overlap.exp
5531         * gdb.base/solib-search.exp
5532         * gdb.base/solib-symbol.exp
5533         * gdb.base/source-execution.exp
5534         * gdb.base/sss-bp-on-user-bp-2.exp
5535         * gdb.base/sss-bp-on-user-bp.exp
5536         * gdb.base/stack-checking.exp
5537         * gdb.base/stale-infcall.exp
5538         * gdb.base/step-break.exp
5539         * gdb.base/step-line.exp
5540         * gdb.base/step-over-exit.exp
5541         * gdb.base/step-test.exp
5542         * gdb.base/structs.exp
5543         * gdb.base/sym-file.exp
5544         * gdb.base/symtab-search-order.exp
5545         * gdb.base/term.exp
5546         * gdb.base/type-opaque.exp
5547         * gdb.base/unload.exp
5548         * gdb.base/until-nodebug.exp
5549         * gdb.base/until.exp
5550         * gdb.base/unwindonsignal.exp
5551         * gdb.base/watch-cond.exp
5552         * gdb.base/watch-non-mem.exp
5553         * gdb.base/watch_thread_num.exp
5554         * gdb.base/watchpoint-reuse-slot.exp
5555         * gdb.base/watchpoint-solib.exp
5556         * gdb.base/watchpoint.exp
5557         * gdb.btrace/dlopen.exp
5558         * gdb.cell/arch.exp
5559         * gdb.cell/break.exp
5560         * gdb.cell/bt.exp
5561         * gdb.cell/core.exp
5562         * gdb.cell/data.exp
5563         * gdb.cell/dwarfaddr.exp
5564         * gdb.cell/ea-cache.exp
5565         * gdb.cell/ea-standalone.exp
5566         * gdb.cell/ea-test.exp
5567         * gdb.cell/f-regs.exp
5568         * gdb.cell/fork.exp
5569         * gdb.cell/gcore.exp
5570         * gdb.cell/mem-access.exp
5571         * gdb.cell/ptype.exp
5572         * gdb.cell/registers.exp
5573         * gdb.cell/sizeof.exp
5574         * gdb.cell/solib-symbol.exp
5575         * gdb.cell/solib.exp
5576         * gdb.compile/compile-tls.exp
5577         * gdb.cp/exception.exp
5578         * gdb.cp/gdb2495.exp
5579         * gdb.cp/local.exp
5580         * gdb.cp/mb-inline.exp
5581         * gdb.cp/mb-templates.exp
5582         * gdb.cp/pr10687.exp
5583         * gdb.cp/pr9167.exp
5584         * gdb.cp/scope-err.exp
5585         * gdb.cp/templates.exp
5586         * gdb.cp/virtfunc.exp
5587         * gdb.dwarf2/dw2-dir-file-name.exp
5588         * gdb.dwarf2/dw2-single-line-discriminators.exp
5589         * gdb.fortran/complex.exp
5590         * gdb.fortran/library-module.exp
5591         * gdb.guile/guile.exp
5592         * gdb.guile/scm-cmd.exp
5593         * gdb.guile/scm-frame-inline.exp
5594         * gdb.guile/scm-objfile.exp
5595         * gdb.guile/scm-pretty-print.exp
5596         * gdb.guile/scm-symbol.exp
5597         * gdb.guile/scm-type.exp
5598         * gdb.guile/scm-value.exp
5599         * gdb.linespec/keywords.exp
5600         * gdb.linespec/ls-errs.exp
5601         * gdb.linespec/macro-relative.exp
5602         * gdb.linespec/thread.exp
5603         * gdb.mi/mi-breakpoint-changed.exp
5604         * gdb.mi/mi-dprintf-pending.exp
5605         * gdb.mi/mi-fullname-deleted.exp
5606         * gdb.mi/mi-logging.exp
5607         * gdb.mi/mi-pending.exp
5608         * gdb.mi/mi-solib.exp
5609         * gdb.mi/new-ui-mi-sync.exp
5610         * gdb.mi/user-selected-context-sync.exp
5611         * gdb.multi/dummy-frame-restore.exp
5612         * gdb.multi/multi-arch-exec.exp
5613         * gdb.multi/remove-inferiors.exp
5614         * gdb.multi/watchpoint-multi-exit.exp
5615         * gdb.opt/solib-intra-step.exp
5616         * gdb.perf/backtrace.exp
5617         * gdb.perf/single-step.exp
5618         * gdb.perf/skip-command.exp
5619         * gdb.perf/skip-prologue.exp
5620         * gdb.perf/solib.exp
5621         * gdb.python/lib-types.exp
5622         * gdb.python/py-as-string.exp
5623         * gdb.python/py-bad-printers.exp
5624         * gdb.python/py-block.exp
5625         * gdb.python/py-breakpoint.exp
5626         * gdb.python/py-cmd.exp
5627         * gdb.python/py-events.exp
5628         * gdb.python/py-evthreads.exp
5629         * gdb.python/py-finish-breakpoint.exp
5630         * gdb.python/py-finish-breakpoint2.exp
5631         * gdb.python/py-frame-inline.exp
5632         * gdb.python/py-frame.exp
5633         * gdb.python/py-inferior.exp
5634         * gdb.python/py-infthread.exp
5635         * gdb.python/py-mi.exp
5636         * gdb.python/py-objfile.exp
5637         * gdb.python/py-pp-maint.exp
5638         * gdb.python/py-pp-registration.exp
5639         * gdb.python/py-prettyprint.exp
5640         * gdb.python/py-recurse-unwind.exp
5641         * gdb.python/py-shared.exp
5642         * gdb.python/py-symbol.exp
5643         * gdb.python/py-symtab.exp
5644         * gdb.python/py-template.exp
5645         * gdb.python/py-type.exp
5646         * gdb.python/py-unwind-maint.exp
5647         * gdb.python/py-unwind.exp
5648         * gdb.python/py-value.exp
5649         * gdb.python/python.exp
5650         * gdb.reverse/finish-reverse-bkpt.exp
5651         * gdb.reverse/insn-reverse.exp
5652         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5653         * gdb.reverse/solib-precsave.exp
5654         * gdb.reverse/solib-reverse.exp
5655         * gdb.stabs/gdb11479.exp
5656         * gdb.stabs/weird.exp
5657         * gdb.threads/fork-child-threads.exp
5658         * gdb.threads/fork-plus-threads.exp
5659         * gdb.threads/fork-thread-pending.exp
5660         * gdb.threads/forking-threads-plus-breakpoint.exp
5661         * gdb.threads/hand-call-in-threads.exp
5662         * gdb.threads/interrupted-hand-call.exp
5663         * gdb.threads/linux-dp.exp
5664         * gdb.threads/local-watch-wrong-thread.exp
5665         * gdb.threads/next-while-other-thread-longjmps.exp
5666         * gdb.threads/non-ldr-exit.exp
5667         * gdb.threads/pending-step.exp
5668         * gdb.threads/print-threads.exp
5669         * gdb.threads/process-dies-while-detaching.exp
5670         * gdb.threads/process-dies-while-handling-bp.exp
5671         * gdb.threads/pthreads.exp
5672         * gdb.threads/queue-signal.exp
5673         * gdb.threads/reconnect-signal.exp
5674         * gdb.threads/signal-command-handle-nopass.exp
5675         * gdb.threads/signal-command-multiple-signals-pending.exp
5676         * gdb.threads/signal-delivered-right-thread.exp
5677         * gdb.threads/signal-sigtrap.exp
5678         * gdb.threads/sigthread.exp
5679         * gdb.threads/staticthreads.exp
5680         * gdb.threads/stepi-random-signal.exp
5681         * gdb.threads/thread-unwindonsignal.exp
5682         * gdb.threads/thread_check.exp
5683         * gdb.threads/thread_events.exp
5684         * gdb.threads/tid-reuse.exp
5685         * gdb.threads/tls-nodebug.exp
5686         * gdb.threads/tls-shared.exp
5687         * gdb.threads/tls-so_extern.exp
5688         * gdb.threads/tls.exp
5689         * gdb.threads/wp-replication.exp
5690         * gdb.trace/actions-changed.exp
5691         * gdb.trace/actions.exp
5692         * gdb.trace/backtrace.exp
5693         * gdb.trace/change-loc.exp
5694         * gdb.trace/collection.exp
5695         * gdb.trace/deltrace.exp
5696         * gdb.trace/disconnected-tracing.exp
5697         * gdb.trace/entry-values.exp
5698         * gdb.trace/ftrace-lock.exp
5699         * gdb.trace/ftrace.exp
5700         * gdb.trace/infotrace.exp
5701         * gdb.trace/mi-trace-frame-collected.exp
5702         * gdb.trace/mi-trace-unavailable.exp
5703         * gdb.trace/mi-traceframe-changed.exp
5704         * gdb.trace/mi-tracepoint-changed.exp
5705         * gdb.trace/mi-tsv-changed.exp
5706         * gdb.trace/no-attach-trace.exp
5707         * gdb.trace/packetlen.exp
5708         * gdb.trace/passc-dyn.exp
5709         * gdb.trace/passcount.exp
5710         * gdb.trace/pending.exp
5711         * gdb.trace/pr16508.exp
5712         * gdb.trace/qtro.exp
5713         * gdb.trace/range-stepping.exp
5714         * gdb.trace/read-memory.exp
5715         * gdb.trace/report.exp
5716         * gdb.trace/save-trace.exp
5717         * gdb.trace/signal.exp
5718         * gdb.trace/stap-trace.exp
5719         * gdb.trace/status-stop.exp
5720         * gdb.trace/strace.exp
5721         * gdb.trace/tfile.exp
5722         * gdb.trace/tfind.exp
5723         * gdb.trace/trace-break.exp
5724         * gdb.trace/trace-condition.exp
5725         * gdb.trace/trace-enable-disable.exp
5726         * gdb.trace/trace-mt.exp
5727         * gdb.trace/tracecmd.exp
5728         * gdb.trace/tracefile-pseudo-reg.exp
5729         * gdb.trace/tspeed.exp
5730         * gdb.trace/tstatus.exp
5731         * gdb.trace/tsv.exp
5732         * gdb.trace/unavailable.exp
5733         * gdb.trace/while-dyn.exp
5734         * gdb.trace/while-stepping.exp
5735         * lib/gdb-guile.exp
5736         * lib/gdb.exp
5737         * lib/mi-support.exp
5738         * lib/pascal.exp
5739         * lib/perftest.exp
5740         * lib/prelink-support.exp
5741         * lib/selftest-support.exp
5742
5743 2016-11-30  Simon Marchi  <simon.marchi@polymtl.ca>
5744
5745         * Makefile.in: Include disable-implicit-rules.mk.
5746
5747 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5748
5749         * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
5750         non-byte-aligned bit fields.
5751
5752 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5753
5754         PR gdb/12616
5755         * gdb.dwarf2/nonvar-access.exp: New testcase.  Check that GDB
5756         respects the DW_AT_data_bit_offset attribute.
5757
5758 2016-11-22  Simon Marchi  <simon.marchi@polymtl.ca>
5759
5760         * gdb.base/default.exp: Fix output of "set language".
5761
5762 2016-11-17  Simon Marchi  <simon.marchi@polymtl.ca>
5763
5764         * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
5765         prefixed with @GMAKE_FALSE@.  Update comment related to non-GNU
5766         make.
5767         * configure.ac: Remove checks for the make program.
5768         * configure: Re-generate.
5769
5770 2016-11-16  Kevin Buettner  <kevinb@redhat.com>
5771
5772         * gdb.python/py-recurse-unwind.c (main): Add loop.
5773         * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
5774         to read_register() and gdb.parse_and_eval().  Make each code
5775         call a separate case that can be individually tested.
5776         * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
5777         proc. Call cont_and_backtrace for each of the code paths that
5778         we want to test in the unwinder.
5779
5780 2016-11-15  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5781
5782         * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
5783         the definition of struct S.
5784
5785 2016-11-11  Catherine Moore  <clm@codesourcery.com>
5786
5787         * gdb.base/dump.exp: Identify verilog format dump tests as such.
5788
5789 2016-11-09  Pedro Alves  <palves@redhat.com>
5790
5791         * gdb.base/commands.exp (runto_or_return): New procedure.
5792         (gdbvar_simple_if_test, gdbvar_simple_while_test)
5793         (gdbvar_complex_if_while_test, progvar_simple_if_test)
5794         (progvar_simple_while_test, progvar_complex_if_while_test)
5795         (if_while_breakpoint_command_test)
5796         (infrun_breakpoint_command_test, breakpoint_command_test)
5797         (user_defined_command_test, watchpoint_command_test)
5798         (test_command_prompt_position, redefine_hook_test)
5799         (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
5800         (redefine_backtrace_test): Use runto_or_return, $valnum_re,
5801         multi_line_input and multi_line.  Remove gdb_expect and
5802         gdb_stop_suppressing_tests uses.
5803         * lib/gdb.exp (valnum_re): New global.
5804         (multi_line_input): New procedure.
5805
5806 2016-11-09  Simon Marchi  <simon.marchi@polymtl.ca>
5807
5808         * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
5809         Remove.
5810         (test_setup): Define with proc_with_prefix.
5811         (test_cli_inferior): Likewise.
5812         (test_cli_thread): Likewise.
5813         (test_cli_frame): Likewise.
5814         (test_cli_select_frame): Likewise.
5815         (test_cli_up_down): Likewise.
5816         (test_mi_thread_select): Likewise.
5817         (test_mi_stack_select_frame): Likewise.
5818         (test_cli_in_mi_inferior): Likewise.
5819         (test_cli_in_mi_thread): Likewise.
5820         (test_cli_in_mi_frame): Likewise.
5821         (top level): Do not use with_test_prefix_procname.
5822
5823 2016-11-09  Pedro Alves  <palves@redhat.com>
5824
5825         * gdb.base/commands.exp (gdbvar_simple_if_test)
5826         (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
5827         (progvar_simple_if_test, progvar_simple_while_test)
5828         (progvar_complex_if_while_test, if_while_breakpoint_command_test)
5829         (infrun_breakpoint_command_test, breakpoint_command_test)
5830         (user_defined_command_test, watchpoint_command_test)
5831         (test_command_prompt_position, deprecated_command_test)
5832         (bp_deleted_in_command, temporary_breakpoint_commands)
5833         (stray_arg0_test, source_file_with_indented_comment)
5834         (recursive_source_test, if_commands_test)
5835         (error_clears_commands_left, redefine_hook_test)
5836         (redefine_backtrace_test): Use proc_with_prefix.
5837         * lib/gdb.exp (proc_with_prefix): New proc.
5838
5839 2016-11-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
5840
5841         * gdb.base/tui-layout.c: New file.
5842         * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
5843         disassembly window contains very long lines.
5844
5845 2016-11-08  Tom Tromey  <tom@tromey.com>
5846
5847         * gdb.python/py-value.exp (test_value_creation): Make "long" test
5848         depend on Python 2.
5849
5850 2016-11-08  Tom Tromey  <tom@tromey.com>
5851
5852         * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
5853         New method.
5854
5855 2016-10-29  Manish Goregaokar  <manish@mozilla.com>
5856
5857         * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
5858
5859 2016-10-27  Manish Goregaokar  <manish@mozilla.com>
5860
5861         * gdb.rust/simple.rs: Add test for univariant enums without
5862         discriminants and for encoded struct-like enums.
5863
5864 2016-10-28  Pedro Alves  <palves@redhat.com>
5865
5866         * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
5867         gdb_test_multiple, tighten regexps and match symtabs and line
5868         tables incrementally.
5869
5870 2016-10-28  Luis Machado  <lgustavo@codesourcery.com>
5871
5872         * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
5873         general.
5874
5875 2016-10-25  Luis Machado  <lgustavo@codesourcery.com>
5876
5877         * gdb.base/exec-invalid-sysroot.exp: New file.
5878
5879 2016-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
5880
5881         * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
5882
5883 2016-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
5884
5885         * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
5886
5887 2016-10-19  Maciej W. Rozycki  <macro@imgtec.com>
5888
5889         * gdb.base/killed-outside.exp: Remove $options from a call to
5890         `prepare_for_testing'.
5891
5892 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
5893
5894         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
5895         Change test message.
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         Update comment.
5901
5902 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
5903
5904         * gdb.trace/mi-trace-save.exp: New file.
5905
5906 2016-10-13  Yao Qi  <yao.qi@linaro.org>
5907
5908         * gdb.base/code_elim.exp (get_var_address): Remove.
5909         * gdb.base/relocate.exp: Likewise.
5910         * gdb.base/shreloc.exp: Likewise.
5911         * lib/gdb.exp (get_var_address): New.
5912
5913 2016-10-13  Yao Qi  <yao.qi@linaro.org>
5914
5915         * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
5916         floating point tests if $skip_float_test is false.
5917
5918 2016-10-12  Luis Machado  <lgustavo@codesourcery.com>
5919
5920         * gdb.python/py-value.c (main): Check if argv is NULL before using it.
5921         * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
5922         argc values.
5923         Add 1 to argc so we guarantee distinct initial/modified argc values.
5924
5925 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5926
5927         * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
5928
5929 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
5930
5931         * gdb.arch/powerpc-prologue.exp: Use standard_output_file
5932         * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
5933         * gdb.arch/vsx-regs.exp: Likewise.
5934
5935 2016-10-07  Yao Qi  <yao.qi@linaro.org>
5936
5937         * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
5938
5939 2016-10-07  Markus Metzger  <markus.t.metzger@intel.com>
5940
5941         * gdb.python/python.exp: Test decode_line("*0").
5942
5943 2016-10-06  Doug Evans  <dje@google.com>
5944
5945         * gdb.python/py-value.exp (test_value_creation): Add test for large
5946         unsigned 64-bit value.
5947
5948 2016-10-06  Tom Tromey  <tom@tromey.com>
5949
5950         * gdb.compile/compile.exp: Change java tests to rust.
5951         * gdb.base/setshow.exp: Change java tests to rust.
5952         * gdb.base/default.exp: Remove java from language list.
5953         * README (Examples): Update language example.
5954         * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
5955         test.
5956         * lib/gdb.exp (skip_java_tests): Remove.
5957         * lib/java.exp: Remove.
5958         * gdb.java: Remove.
5959
5960 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
5961
5962         * gdb.arch/mips-fcr.exp: New test.
5963         * gdb.arch/mips-fcr.c: Source for the new test.
5964
5965 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
5966
5967         * gdb.base/solib-disc.exp: Use `standard_output_file'
5968         throughout.
5969
5970 2016-10-06  Pedro Alves  <palves@redhat.com>
5971
5972         * gdb.base/jit-simple-dl.c: New file.
5973         * gdb.base/jit-simple-jit.c: New file, factored out from ...
5974         * gdb.base/jit-simple.c: ... this.
5975         * gdb.base/jit-simple.exp (jit_run): Delete.
5976         (build_jit): New proc.
5977         (jit_test_reread): Recompile either the main program or the shared
5978         library, depending on what is being tested.  Skip changing address
5979         if caller wants to.  Compare before/after addresses.  If testing
5980         standalone, explicitly load the binary.  Test "maint info
5981         breakpoints".
5982         (top level): Add "standalone vs shared lib" and "change address"
5983         vs "same address" axes.
5984
5985 2016-10-06  Pedro Alves  <palves@redhat.com>
5986
5987         * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
5988         call.
5989         (jit_run): Delete.
5990         (jit_test_reread): Use with_test_prefix.  Reload the main binary
5991         explicitly.  Compare the before/after addresses of the JIT
5992         descriptor.
5993
5994 2016-08-15  Doug Evans  <dje@google.com>
5995
5996         * gdb.xml/extra-regs.xml: Update, end field now required, default type
5997         for single bitfields is bool.
5998         * gdb.xml/tdesc-regs.exp: Ditto.
5999
6000 2016-10-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
6001
6002         * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
6003
6004 2016-10-05  Yao Qi  <yao.qi@linaro.org>
6005
6006         * lib/gdb.exp (support_complex_tests): Return zero if
6007         gdb_skip_float_test return true.
6008
6009 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6010             Simon Marchi  <simon.marchi@ericsson.com>
6011
6012         PR gdb/20487
6013         * gdb.mi/user-selected-context-sync.exp: New file.
6014         * gdb.mi/user-selected-context-sync.c: New file.
6015
6016 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6017             Simon Marchi  <simon.marchi@ericsson.com>
6018
6019         PR gdb/20487
6020         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
6021         =thread-select-event check.
6022
6023 2016-09-29  Peter Bergner  <bergner@vnet.ibm.com>
6024
6025         * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
6026         the compulsory L operand changes.
6027         * gdb.arch/powerpc-power.s: Likewise.
6028
6029 2016-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6030
6031         PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
6032         * gdb.base/jit-attach-pie.c: New file.
6033         * gdb.base/jit-attach-pie.exp: New file.
6034
6035 2016-09-28  Pedro Alves  <palves@redhat.com>
6036
6037         * gdb.base/infcall-input.c: New file.
6038         * gdb.base/infcall-input.exp: New file.
6039
6040 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6041
6042         * lib/gdbserver-support.exp: Rename mi_gdb_exit.
6043         (gdb_exit): Rename it to ...
6044         (gdbserver_gdb_exit): ...  Close GDBserver.
6045         (gdb_exit): New proc, call gdbserver_gdb_exit.
6046         (mi_gdb_exit): Likewise.
6047
6048 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6049
6050         * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
6051         path.
6052         * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
6053         Remove duplication.
6054
6055 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6056
6057         * lib/gdbserver-support.exp: Check the existence of
6058         gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
6059
6060 2016-09-21  Anton Kolesov  <anton.kolesov@synopsys.com>
6061
6062         * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
6063
6064 2016-09-21  Tom Tromey  <tom@tromey.com>
6065
6066         PR gdb/20604:
6067         * gdb.base/quit.exp: New file.
6068
6069 2016-09-21  Simon Marchi  <simon.marchi@ericsson.com>
6070
6071         * .gitignore: New file.
6072
6073 2016-09-21  Maciej W. Rozycki  <macro@imgtec.com>
6074
6075         * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
6076         throughout.
6077
6078 2016-09-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6079
6080         * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
6081
6082 2016-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6083
6084         * gdb.cp/casts.cc (decltype): Move it ...
6085         (main): ... with its call to ...
6086         * gdb.cp/casts03.cc: ... a new file.
6087         * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6088
6089 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6090
6091         * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6092
6093 2016-09-15  Peter Bergner  <bergner@vnet.ibm.com>
6094
6095         * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6096         and sync up the test with tests in gas/testsuite/gas/ppc.
6097         * gdb.arch/powerpc-power.exp: Likewise.
6098
6099 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6100
6101         * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6102
6103 2016-09-11  Sergio Durigan Junior  <sergiodj@redhat.com>
6104             Jan Kratochvil  <jan.kratochvil@redhat.com>
6105
6106         * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
6107         make m1's definition to be different from m2's.  Use 'dummy' as an
6108         argument for probe 'two'.
6109
6110 2016-09-10  Jon Beniston  <jon@beniston.com>
6111
6112         * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
6113         for sim target.
6114
6115 2016-09-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6116
6117         * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
6118         variable declaration.
6119         (gnu_ifunc): Add parameter hwcap.  Store it in resolver_hwcap.
6120         * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6121         * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6122         received HWCAP as its argument.
6123
6124 2016-09-06  Pedro Alves  <palves@redhat.com>
6125
6126         * gdb.base/new-ui-pending-input.c: New file.
6127         * gdb.base/new-ui-pending-input.exp: New file.
6128         * gdb.exp (clear_gdb_spawn_id): New procedure.
6129         (with_spawn_id): Check whether gdb_spawn_id exists before
6130         referencing it.  If gdb_spawn_id didn't exist on entry, clear it
6131         on exit.
6132
6133 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6134
6135         * gdb.base/float128.c: New file.
6136         * gdb.base/float128.exp: Likewise.
6137         * gdb.base/floatn.c: Likewise.
6138         * gdb.base/floatn.exp: Likewise.
6139
6140 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6141
6142         * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
6143
6144 2016-09-05  Pedro Alves  <palves@redhat.com>
6145
6146         PR backtrace/19927
6147         * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
6148         unwinders are immediately called as side effect of "source" or
6149         "disable unwinder" commands.
6150         * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
6151
6152 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6153
6154         * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
6155         is true and $type is "float" or "double".
6156
6157 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6158
6159         * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
6160         true.
6161         * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
6162         * gdb.base/call-rt-st.exp: Likewise.
6163         * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
6164         return value instead of gdb,skip_float_test.
6165         * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
6166         (do_function_calls): Use its return value instead of
6167         gdb,skip_float_test.
6168         * gdb.base/finish.exp: Likewise.
6169         * gdb.base/funcargs.exp: Likewise.
6170         * gdb.base/return.exp: Likewise.
6171         * gdb.base/return2.exp: Likewise.
6172         * gdb.base/varargs.exp: Likewise.
6173         * lib/gdb.exp (gdb_skip_float_test): Change it to
6174         gdb_caching_proc.  Detect the broken ptrace on arm-linux.
6175
6176 2016-08-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6177
6178         * gdb.multi/tids.exp: Test "thread apply all".
6179
6180 2016-08-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6181
6182         * gdb.base/default.exp (tty): Remove.
6183
6184 2016-08-24  Kevin Buettner  <kevinb@redhat.com>
6185
6186         * gdb.python/py-recurse-unwind.c: New file.
6187         * gdb.python/py-recurse-unwind.py: New file.
6188         * gdb.python/py-recurse-unwind.exp: New file.
6189
6190 2016-08-24  Simon Marchi  <simon.marchi@ericsson.com>
6191
6192         * gdb.base/set-inferior-tty.exp: New file.
6193         * gdb.base/set-inferior-tty.c: New file.
6194
6195 2016-08-23  Pedro Alves  <palves@redhat.com>
6196
6197         PR gdb/20494
6198         * gdb.base/new-ui-echo.c: New file.
6199         * gdb.base/new-ui-echo.exp: New file.
6200
6201 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6202
6203         * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
6204         gdbserver_spawn.
6205         * gdb.server/connect-without-multi-process.exp (do_test):
6206         Likewise.
6207
6208 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6209
6210         * gdb.base/signals-state-child.exp: Set variables gdb_txt and
6211         standalone_txt.  Delete gdb_txt and standalone_txt on host
6212         and target.  Spawn the binary on target.  Copy files from
6213         target to host.
6214
6215 2016-08-22  Pedro Alves  <palves@redhat.com>
6216
6217         PR gdb/20505
6218         * gdb.base/vdso-warning.exp: Test core dumps too.  Use
6219         with_test_prefix.  Factor out bits to ...
6220         (test_no_vdso): ... this new procedure.
6221
6222 2016-08-19  Carl Love  <cel@us.ibm.com>
6223
6224         * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
6225         maintaining separate logic for constructing the output path.
6226         * gdb.arch/powerpc-d128-regs.exp: Likewise.
6227         * gdb.arch/ppc-dfp.exp: Likewise.
6228         * gdb.arch/ppc-fp.exp: Likewise.
6229         * gdb.arch/vsx-regs.exp: Likewise.
6230         * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
6231         binprefix for generating the additional binary files.
6232
6233 2016-08-19  Pedro Alves  <palves@redhat.com>
6234
6235         * gdb.trace/mi-trace-frame-collected.exp
6236         (test_trace_frame_collected): On x32, expect two registers.
6237
6238 2016-08-18  Carl Love  <cel@us.ibm.com>
6239
6240         * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
6241         and sync up the test with tests in gas/testsuite/gas/ppc.
6242         * gdb.arch/powerpc-power.exp: Likewise.
6243
6244 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6245
6246         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
6247         expected error message.
6248
6249 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6250
6251         * gdb.multi/remove-inferiors.exp: New file.
6252         * gdb.multi/remove-inferiors.c: New file.
6253
6254 2016-08-12  Yao Qi  <yao.qi@linaro.org>
6255
6256         * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
6257         argument list.
6258
6259 2016-08-10  Pedro Alves  <palves@redhat.com>
6260
6261         PR gdb/19187
6262         * gdb.reverse/waitpid-reverse.exp: Add comment and remove
6263         setup_kfails.
6264
6265 2016-08-09  Pedro Alves  <palves@redhat.com>
6266             Simon Marchi  <simon.marchi@ericsson.com>
6267
6268         PR gdb/20418
6269         * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
6270         * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
6271
6272 2016-08-09  Pedro Alves  <palves@redhat.com>
6273
6274         PR mi/20431
6275         * gdb.mi/mi-cmd-error.exp: New file.
6276
6277 2016-08-09  Pedro Alves  <palves@redhat.com>
6278
6279         PR gdb/18653
6280         * gdb.base/signals-state-child.c: New file.
6281         * gdb.base/signals-state-child.exp: New file.
6282         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
6283
6284 2016-08-09  Pedro Alves  <palves@redhat.com>
6285
6286         * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
6287
6288 2016-08-03  Tom Tromey  <tom@tromey.com>
6289
6290         PR python/18565:
6291         * gdb.python/py-frame-inline.exp: Add Frame.function test.
6292
6293 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6294
6295         * gdb.threads/process-dies-while-detaching.exp (do_test): Set
6296         variable mode to "multi-process" if $multi_process is 1, otherwise
6297         set it to "single-process".
6298
6299 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6300
6301         * gdb.cp/anon-struct.exp: Check is_aarch32_target.
6302         * gdb.cp/cpexprs.exp: Likewise.
6303         * gdb.cp/m-static.exp: Likewise.
6304
6305 2016-07-26  Tom Tromey  <tom@tromey.com>
6306
6307         PR python/20190:
6308         * gdb.threads/tls.exp (check_thread_local): Add python symbol
6309         test.
6310
6311 2016-07-26  Markus Metzger  <markus.t.metzger@intel.com>
6312
6313         * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
6314         selecting assembly source files.
6315         * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
6316         assembly source files.
6317         * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
6318         assembly source files.
6319         * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
6320         selecting assembly source files.
6321
6322 2016-07-25  Simon Marchi  <simon.marchi@ericsson.com>
6323
6324         * gdb.base/new-ui.exp (do_test_invalid_args): New
6325         procedure.
6326
6327 2016-07-25  Tim Wiederhake  <tim.wiederhake@intel.com>
6328
6329         * gdb.btrace/reconnect.c: New file.
6330         * gdb.btrace/reconnect.exp: New file.
6331
6332 2016-07-23  Gabriel Krisman Bertazi  <gabriel@krisman.be>
6333
6334         * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
6335         to test_catch_syscall_group.
6336         (test_catch_syscall_group): New.
6337
6338 2016-07-21  Tom Tromey  <tom@tromey.com>
6339
6340         * gdb.rust/simple.rs (main): Use empty struct expression.
6341         * gdb.rust/simple.exp: Add tests for empty struct expression.
6342
6343 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6344
6345         * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
6346         if gdb_skip_xml_test is true on some targets.
6347
6348 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6349
6350         * gdb.server/solib-list.exp: Unset last_loaded_file.
6351
6352 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6353
6354         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
6355         "step into captured_main (args)".
6356
6357 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6358
6359         * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
6360
6361 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6362
6363         * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
6364
6365 2016-07-19  Pedro Alves  <palves@redhat.com>
6366
6367         * gdb.opt/inline-break.exp: Remove optimize=-O2.
6368         * gdb.opt/inline-bt.exp: Likewise.
6369         * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
6370         additional_flags=-Winline.
6371         * gdb.opt/inline-locals.exp: Likewise.
6372         * gdb.opt/inline-markers.c (ATTR): Define.
6373         (inlined_fn): Use it.
6374
6375 2016-07-19  Yao Qi  <yao.qi@linaro.org>
6376
6377         * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
6378         (test_with_self): Remove some code.  Remove argument executable.
6379         (top-level): Use do_self_tests.
6380
6381 2016-07-15  Zachary Welch  <zwelch@codesourcery.com>
6382             Don Breazeal <donb@codesourcery.com>
6383
6384         * gdb.base/maint.exp: Escape paths used in regular expressions.
6385         * gdb.stabs/weird.exp: Likewise.
6386
6387 2016-07-13  Tom Tromey  <tom@tromey.com>
6388
6389         PR python/15620, PR python/18620:
6390         * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
6391         (test_bkpt_events): New procs.
6392
6393 2016-07-13  Tom Tromey  <tom@tromey.com>
6394
6395         PR python/17698:
6396         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6397         test.
6398         (test_watchpoints): Likewise.
6399         (test_bkpt_pending): New proc.
6400
6401 2016-07-13  Tom Tromey  <tom@tromey.com>
6402
6403         PR cli/18053:
6404         * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6405         completion test.
6406
6407 2016-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6408
6409         * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6410         * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6411         * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6412         f_label.
6413         (g): Rename g_end_lbl to g_label.
6414         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6415         low_pc and high_pc.
6416         * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6417
6418 2016-07-12  Tom Tromey  <tom@tromey.com>
6419
6420         PR python/19293:
6421         * gdb.python/py-unwind-maint.exp: Update tests.
6422
6423 2016-07-12  Yao Qi  <yao.qi@linaro.org>
6424
6425         * lib/selftest-support.exp (selftest_setup): Match the output
6426         when captured_main is inlined.
6427
6428 2016-07-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6429
6430         * gdb.fortran/derived-types.exp (result_line, result_line_2):
6431         New variables.
6432         (print this%a, print this%b, print this): New tests.
6433         * gdb.fortran/derived-types.f90 (this): New object and
6434         initialization.
6435
6436 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6437
6438         * gdb.ada/arraydim.exp: Remove extra directory level in build
6439         directory.
6440
6441 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6442
6443         * lib/ada.exp: Remove extra directory level in build directory.
6444         * gdb.ada/cond_lang.exp: Likewise.
6445         * gdb.ada/exec_changed.exp: Likewise.
6446         * gdb.ada/lang_switch.exp: Likewise.
6447
6448 2016-07-06  Manish Goregaokar  <manish@mozilla.com>
6449
6450         * simple.rs: Add test for raw pointer subscripting.
6451         * simple.exp: Add test expectations.
6452
6453 2016-07-05  Yao Qi  <yao.qi@linaro.org>
6454
6455         * gdb.mi/mi-reverse.exp: Match =record-started output.
6456
6457 2016-07-01  Pedro Alves  <palves@redhat.com>
6458
6459         * gdb.base/jit-reader.exp (info_registers_current_frame): New
6460         procedure.
6461         (jit_reader_test): Test the jit reader's unwinder.
6462         * gdb.base/jithost.c (jit_function_00_code): New global.
6463         (main): Use memcpy to fill in the mmapped code, instead of poking
6464         bytes manually here.
6465         * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6466         value.
6467         (read_debug_info): Save the function's range.
6468         (read_sp): New function.
6469         (unwind_frame): Use it.  Also unwind RBP.
6470         (get_frame_id): Use read_sp.
6471         (gdb_init_reader): Use calloc instead of malloc.
6472         * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6473         parameter.  Use gdb_test_multiple.
6474
6475 2016-07-01  Pedro Alves  <palves@redhat.com>
6476             Antoine Tremblay  <antoine.tremblay@ericsson.com>
6477
6478         * gdb.threads/process-dies-while-detaching.c: New file.
6479         * gdb.threads/process-dies-while-detaching.exp: New file.
6480
6481 2016-07-01  Pedro Alves  <palves@redhat.com>
6482
6483         * gdb.multi/watchpoint-multi-exit.c: New file.
6484         * gdb.multi/watchpoint-multi-exit.exp: New file.
6485
6486 2016-06-30  Pedro Alves  <palves@redhat.com>
6487
6488         * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6489         unset inferior_spawn_id.
6490
6491 2016-06-30  Pedro Alves  <palves@redhat.com>
6492
6493         * lib/mi-support.exp (default_mi_gdb_start): Declare global
6494         FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
6495
6496 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6497
6498         * gdb.base/return.c: Add copyright header.
6499
6500 2016-06-29  Tom Tromey  <tom@tromey.com>
6501
6502         PR python/20129:
6503         * gdb.python/py-framefilter.exp: Add tests for setting priority
6504         and disabling of non-existent frame filter.
6505
6506 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6507
6508         * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6509         0x0f07ff.
6510
6511 2016-06-28  Yao Qi  <yao.qi@linaro.org>
6512
6513         * gdb.base/catch-syscall.exp: Remove check on isnative and target
6514         triplets.  Start gdb, execute catch syscall, and continue.  Check
6515         gdb's output to determine catch syscall is supported.
6516
6517 2016-06-27  Manish Goregaokar  <manish@mozilla.com>
6518
6519         * gdb.rust/simple.rs: Add test for returning unit in a function.
6520         * gdb.rust/simple.exp: Add expectation for functions returning
6521         unit.
6522
6523 2016-06-27  Pierre-Marie de Rodat  <derodat@adacore.com>
6524
6525         * gdb.python/py-breakpoint-create-fail.c,
6526         gdb.python/py-breakpoint-create-fail.exp,
6527         gdb.python/py-breakpoint-create-fail.py: New testcase.
6528
6529 2016-06-25  Manish Goregaokar  <manish@mozilla.com>
6530
6531         PR gdb/20239
6532         * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6533         * gdb.rust/simple.exp: Add test expectations for new NonZero
6534         tests.
6535
6536 2016-06-24  David Taylor  <dtaylor@emc.com>
6537
6538         * gdb.base/offsets.exp: New file.
6539         * gdb.base/offsets.c: New file.
6540
6541 2016-06-23  Tom Tromey  <tom@tromey.com>
6542
6543         PR gdb/16483:
6544         * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6545         before any filters are loaded.
6546
6547 2016-06-21  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6548
6549         * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6550         * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6551         structs.
6552         * gdb.fortran/derived-type-function.exp: New file.
6553         * gdb.fortran/derived-type-function.f90: New file.
6554
6555
6556 2016-06-21  Pedro Alves  <palves@redhat.com>
6557
6558         * gdb.base/new-ui.exp: New file.
6559         * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6560         * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6561         (with_spawn_id): New procedure.
6562
6563 2016-06-21  Pedro Alves  <palves@redhat.com>
6564
6565         * gdb.mi/mi-exec-run.exp: New file.
6566
6567 2016-06-21  Pedro Alves  <palves@redhat.com>
6568
6569         * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6570         breakpoint command's output on the main UI.
6571         (test_break): New procedure, factored out from calls in the top
6572         level.
6573         (top level): Use foreach_with_prefix to test MI as main UI and as
6574         separate UI.
6575
6576 2016-06-21  Pedro Alves  <palves@redhat.com>
6577
6578         * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6579         (test_awatch_creation_and_listing)
6580         (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6581         Remove 'type' parameter.
6582         (test_watchpoint_all): New parameter mi_mode.  Remove
6583         with_test_prefix.
6584         (top level): Use foreach_with_prefix, and add main/separate UI MI
6585         testing axis.
6586
6587 2016-06-21  Pedro Alves  <palves@redhat.com>
6588
6589         * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6590         * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6591         * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6592         gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6593         (gdb_main_spawn_id, mi_spawn_id): Declare and
6594         comment.
6595         (mi_create_inferior_pty): New procedure,
6596         factored out from default_mi_gdb_start.
6597         (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6598         procedures.
6599         (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6600         separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6601         Use mi_create_inferior_pty.
6602         (mi_gdb_start): Use eval to pass down args list.
6603
6604 2016-06-21  Pedro Alves  <palves@redhat.com>
6605
6606         * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6607         * gdb.opt/inline-cmds.exp: Add MI tests.
6608
6609 2016-06-21  Pedro Alves  <palves@redhat.com>
6610
6611         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6612
6613 2016-06-21  Pedro Alves  <palves@redhat.com>
6614
6615         * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6616         (top level): Use it instead of mi_execute_to.
6617
6618 2016-06-21  Pedro Alves  <palves@redhat.com>
6619
6620         * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6621         (cont_handler_str): New.
6622         (signal_stop_handler): Set stop_handler_str instead of printing to
6623         stdout.
6624         (continue_handler): Set cont_handler_str instead of printing to
6625         stdout.
6626         * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6627         mi_send_resuming_command.  Print stop_handler_str and
6628         cont_handler_str instead of expecting the python events print
6629         directly.
6630
6631 2016-06-17  Sanjoy Das  <sanjoy@playingwithpointers.com>
6632
6633         * gdb.base/jit-reader.exp: New file.
6634         * gdb.base/jithost.c: New file.
6635         * gdb.base/jithost.h: New file.
6636         * gdb.base/jitreader.c : New file.
6637         * gdb.base/jit-protocol.h: New file.
6638
6639 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6640
6641         * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6642         parameters follow_fork and detach_on_fork.  Set follow-fork-mode
6643         and detach-on-fork.  Adjust tests.
6644         (top level): Invoke break_cond_on_syscall with combinations of
6645         syscall, follow-fork-mode and detach-on-fork.
6646
6647 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6648
6649         * gdb.base/step-over-exit.c: New.
6650         * gdb.base/step-over-exit.exp: New.
6651
6652 2016-06-17  Yan-Ting Lin  <currygt52@gmail.com>
6653
6654         * gdb.base/float.exp: Add target check for nds32*-*-*.
6655         * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6656
6657 2016-06-13  Andrew Burgess  <andrew.burgess@embecosm.com>
6658
6659         * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6660         for unsupported target features.
6661         * gdb.base/call-rt-st.exp: Likewise.
6662         * gdb.base/call-sc.exp: Likewise.
6663         * gdb.base/call-signal-resume.exp: Likewise.
6664         * gdb.base/call-strs.exp: Likewise.
6665         * gdb.base/callexit.exp: Likewise.
6666         * gdb.base/callfuncs.exp: Likewise.
6667         * gdb.base/nodebug.exp: Likewise.
6668         * gdb.base/printcmds.exp: Likewise.
6669         * gdb.base/ptype.exp: Likewise.
6670         * gdb.base/structs.exp: Likewise.
6671         * gdb.base/unwindonsignal.exp: Likewise.
6672         * gdb.cp/gdb2495.exp: Likewise.
6673         * gdb.cp/templates.exp: Likewise.
6674         * gdb.cp/virtfunc.exp: Likewise.
6675         * gdb.threads/hand-call-in-threads.exp: Likewise.
6676         * gdb.threads/interrupted-hand-call.exp: Likewise.
6677         * gdb.threads/thread-unwindonsignal.exp: Likewise.
6678
6679 2016-06-10  Tom Tromey  <tom@tromey.com>
6680
6681         PR rust/20110:
6682         * gdb.rust/expr.exp: Add test for integer constant larger than
6683         i32.
6684
6685 2016-06-10  Bernhard Heckel  <bernhard.heckel@intel.com>
6686
6687         * gdb.fortran/nested-funcs.exp: New.
6688         * gdb.fortran/nested-funcs.f90: New.
6689
6690 2016-06-09  Toshihito Kikuchi  <k.toshihito@yahoo.de>
6691
6692         * gdb.base/examine-backward.c: New file.
6693         * gdb.base/examine-backward.exp: New file.
6694
6695 2016-06-06  Simon Marchi  <simon.marchi@ericsson.com>
6696
6697         * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6698         matching.
6699
6700 2016-06-02  Tom Tromey  <tom@tromey.com>
6701
6702         PR python/18984:
6703         * gdb.python/py-shared.exp: Add solib_name test.
6704
6705 2016-06-02  Simon Marchi  <simon.marchi@ericsson.com>
6706
6707         * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6708
6709 2016-05-31  Martin Galvan  <martin.galvan@tallertechnologies.com>
6710
6711         PR c++/19893
6712         * gdb.dwarf2/implref.exp: Rename to...
6713         * gdb.dwarf2/implref-const.exp: ...this.  Also add more test statements.
6714         * gdb.dwarf2/implref-array.c: New file.
6715         * gdb.dwarf2/implref-array.exp: Likewise.
6716         * gdb.dwarf2/implref-global.c: Likewise.
6717         * gdb.dwarf2/implref-global.exp: Likewise.
6718         * gdb.dwarf2/implref-struct.c: Likewise.
6719         * gdb.dwarf2/implref-struct.exp: Likewise.
6720
6721 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6722
6723         * gdb.trace/trace-condition.exp: Add 64bit tests.
6724
6725 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6726
6727         * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
6728         bits types.
6729         (main): Adapt to 8 to 64 bits types.
6730         * gdb.trace/trace-condition.exp: Add new tests.
6731
6732 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6733
6734         * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
6735
6736 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6737
6738         * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
6739         Move condition tests...
6740         * gdb.trace/trace-condition.exp: Here.
6741
6742 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6743
6744         * gdb.trace/trace-condition.exp: Add counter-case tests.
6745
6746 2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
6747
6748         PR c++/15231
6749         * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
6750         * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
6751
6752 2016-05-27  Pedro Alves  <palves@redhat.com>
6753
6754         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
6755         New procedure.
6756         (top level): Call it, and bail out of DejaGnu is known to be bad.
6757
6758 2016-05-27  Andrew Burgess  <andrew.burgess@embecosm.com>
6759
6760         * gdb.base/whatis.c: Extend the test case.
6761         * gdb.base/whatis.exp: Add additional tests.
6762
6763 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6764
6765 * gdb.fortran/type.f90: Add pointer variable.
6766 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
6767
6768 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6769
6770         * gdb.fortran/vla-type.exp: Fix testcase name.
6771
6772 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6773
6774         * gdb.fortran/vla-type.exp: Access elements in nested structs.
6775
6776 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6777
6778         * gdb.fortran/type.f90: Add nested structures.
6779         * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
6780         * gdb.fortran/derived-type.exp: Adapt expected output.
6781         * gdb.fortran/vla-type.exp: Adapt expected output.
6782
6783 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6784
6785         * gdb.fortran/whatis_type.exp: Adapt expected output.
6786
6787 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6788
6789         * gdb.fortran/print_type.exp: Fix expected output.
6790         * gdb.fortran/whatis_type.exp: Fix expected output.
6791
6792 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
6793
6794         * gdb.fortran/whatis_type.exp: Use multi_line.
6795
6796 2016-05-24  Tom Tromey  <tom@tromey.com>
6797
6798         PR python/17386:
6799         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
6800         use value as an index.
6801
6802 2016-05-23  Tom Tromey  <tom@tromey.com>
6803
6804         PR python/17981:
6805         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
6806         no-breakpoint case.
6807
6808 2016-05-24  Pedro Alves  <palves@redhat.com>
6809
6810         PR gdb/19828
6811         * gdb.threads/clone-attach-detach.c: New file.
6812         * gdb.threads/clone-attach-detach.exp: New file.
6813
6814 2016-05-24  Francis Ricci  <francisjricci@gmail.com>  (tiny patch)
6815
6816         * gdb.base/annota-input-while-running.exp: Fix syntax error.
6817
6818 2016-05-23  Tom Tromey  <tom@tromey.com>
6819
6820         PR python/19438, PR python/18393:
6821         * gdb.python/py-progspace.exp: Add "dir" test.
6822         * gdb.python/py-objfile.exp: Add "dir" test.
6823
6824 2016-05-23  Yao Qi  <yao.qi@linaro.org>
6825
6826         * gdb.arch/thumb-prologue.exp: Use standard_testfile.
6827         * gdb.arch/thumb2-it.exp: Likewise.
6828
6829 2016-05-18  Simon Marchi  <simon.marchi@ericsson.com>
6830
6831         * gdb.mi/mi-threads-interrupt.c: New file.
6832         * gdb.mi/mi-threads-interrupt.exp: New file.
6833
6834 2016-05-17  Simon Marchi  <simon.marchi@ericsson.com>
6835
6836         PR gdb/18077
6837         * gdb.mi/mi-async-run.exp: New file.
6838         * gdb.mi/mi-async-run.c: New file.
6839
6840 2016-05-17  Tom Tromey  <tom@tromey.com>
6841             Manish Goregaokar <manishsmail@gmail.com>
6842
6843         * lib/rust-support.exp: New file.
6844         * lib/gdb.exp (skip_rust_tests): New proc.
6845         (build_executable_from_specs): Handle rust.
6846         * lib/future.exp (gdb_find_rustc): New proc.
6847         (gdb_default_target_compile): Handle rust.
6848         * gdb.rust/expr.exp: New file.
6849         * gdb.rust/generics.exp: New file.
6850         * gdb.rust/generics.rs: New file.
6851         * gdb.rust/methods.exp: New file.
6852         * gdb.rust/methods.rs: New file.
6853         * gdb.rust/modules.exp: New file.
6854         * gdb.rust/modules.rs: New file.
6855         * gdb.rust/simple.exp: New file.
6856         * gdb.rust/simple.rs: New file.
6857
6858 2016-05-17  Tom Tromey  <tom@tromey.com>
6859
6860         * gdb.base/default.exp (set language): Add rust.
6861
6862 2016-05-17  Tom Tromey  <tom@tromey.com>
6863
6864         * gdb.gdb/unittest.exp: New file.
6865
6866 2016-05-16  Yao Qi  <yao.qi@linaro.org>
6867
6868         * gdb.base/batch-preserve-term-settings.exp: Remove variable
6869         shell_prompt.  Update shell_prompt_re.
6870
6871 2016-05-12  Doug Evans  <dje@google.com>
6872
6873         PR symtab/19999
6874         * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
6875         $options when building executable.
6876         * gdb.dwarf2/fission-loclists-pie.S: New file.
6877         * gdb.dwarf2/fission-loclists-pie.exp: New file.
6878
6879 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
6880
6881         * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
6882         of [is_remote target],
6883
6884 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
6885
6886         * lib/gdb.exp (use_gdb_stub): New procedure.
6887
6888 2016-05-03  Yunlian Jiang <yunlian@google.com>
6889             Doug Evans  <dje@google.com>
6890
6891         PR symtab/19914
6892         * gdb.dwarf2/dwp-sepdebug.c: New file.
6893         * gdb.dwarf2/dwp-sepdebug.exp: New file.
6894
6895 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
6896
6897         * gdb.base/detach.exp: Remove is_remote check.
6898
6899 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
6900
6901         * gdb.base/annota-input-while-running.exp: Don't check for
6902         [is_remote target].  Enable annotations after running to main.
6903         Remove unused "set test..." line.
6904
6905 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
6906
6907         * gdb.trace/trace-enable-disable.exp: New file.
6908         * gdb.trace/trace-enable-disable.c: New file.
6909
6910 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
6911
6912         * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
6913         use it in info sharedlibrary test.
6914         * gdb.trace/ftrace-lock.exp: Likewise.
6915         * gdb.trace/ftrace.exp: Likewise.
6916         * gdb.trace/range-stepping.exp: Likewise.
6917         * gdb.trace/trace-break.exp: Likewise.
6918         * gdb.trace/trace-condition.exp: Likewise.
6919         * gdb.trace/trace-mt.exp: Likewise.
6920
6921 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
6922
6923         * lib/gdb.exp (gdb_load_shlibs): Rename to...
6924         (gdb_load_shlib): ... this.
6925         * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
6926         gdb_load_shlib.
6927         * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
6928         * gdb.base/ctxobj.exp: Likewise.
6929         * gdb.base/dprintf-pending.exp: Likewise.
6930         * gdb.base/dso2dso.exp: Likewise.
6931         * gdb.base/fixsection.exp: Likewise.
6932         * gdb.base/gcore-relro.exp: Likewise.
6933         * gdb.base/gdb1555.exp: Likewise.
6934         * gdb.base/global-var-nested-by-dso.exp: Likewise.
6935         * gdb.base/gnu-ifunc.exp: Likewise.
6936         * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
6937         * gdb.base/jit-so.exp (one_jit_test): Likewise.
6938         * gdb.base/pending.exp: Likewise.
6939         * gdb.base/print-file-var.exp: Likewise.
6940         * gdb.base/print-symbol-loading.exp: Likewise.
6941         * gdb.base/shlib-call.exp: Likewise.
6942         * gdb.base/shreloc.exp: Likewise.
6943         * gdb.base/so-impl-ld.exp: Likewise.
6944         * gdb.base/solib-disc.exp: Likewise.
6945         * gdb.base/solib-nodir.exp: Likewise.
6946         * gdb.base/solib-overlap.exp: Likewise.
6947         * gdb.base/solib-symbol.exp: Likewise.
6948         * gdb.base/solib-weak.exp (do_test): Likewise.
6949         * gdb.base/sym-file.exp: Likewise.
6950         * gdb.base/symtab-search-order.exp: Likewise.
6951         * gdb.base/type-opaque.exp: Likewise.
6952         * gdb.base/unload.exp: Likewise.
6953         * gdb.base/watchpoint-solib.exp: Likewise.
6954         * gdb.compile/compile.exp: Likewise.
6955         * gdb.cp/gdb2384.exp: Likewise.
6956         * gdb.cp/infcall-dlopen.exp: Likewise.
6957         * gdb.cp/re-set-overloaded.exp: Likewise.
6958         * gdb.fortran/library-module.exp: Likewise.
6959         * gdb.opt/solib-intra-step.exp: Likewise.
6960         * gdb.python/py-finish-breakpoint.exp: Likewise.
6961         * gdb.python/py-shared.exp: Likewise.
6962         * gdb.reverse/solib-precsave.exp: Likewise.
6963         * gdb.reverse/solib-reverse.exp: Likewise.
6964         * gdb.server/solib-list.exp: Likewise.
6965         * gdb.threads/dlopen-libpthread.exp: Likewise.
6966         * gdb.threads/tls-shared.exp: Likewise.
6967         * gdb.threads/tls-so_extern.exp: Likewise.
6968         * gdb.trace/change-loc.exp: Likewise.
6969         * gdb.trace/ftrace-lock.exp: Likewise.
6970         * gdb.trace/ftrace.exp: Likewise.
6971         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
6972         * gdb.trace/pending.exp: Likewise.
6973         * gdb.trace/range-stepping.exp: Likewise.
6974         * gdb.trace/strace.exp (strace_remove_socket): Likewise.
6975         (strace_info_marker): Likewise.
6976         (strace_probe_marker): Likewise.
6977         (strace_trace_on_same_addr): Likewise.
6978         (strace_trace_on_diff_addr): Likewise.
6979         * gdb.trace/trace-break.exp: Likewise.
6980         * gdb.trace/trace-condition.exp: Likewise.
6981         * gdb.trace/trace-mt.exp: Likewise.
6982
6983 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
6984
6985         * lib/gdb.exp (gdb_load_shlibs):  Accept a single argument.  Return
6986         result of gdb_remote_download.
6987         * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
6988         * gdb.base/dso2dso.exp: Likewise.
6989         * gdb.base/global-var-nested-by-dso.exp: Likewise.
6990         * gdb.base/print-file-var.exp: Likewise.
6991         * gdb.base/shlib-call.exp: Likewise.
6992         * gdb.base/shreloc.exp: Likewise.
6993         * gdb.base/solib-overlap.exp: Likewise.
6994         * gdb.base/solib-weak.exp (do_test): Likewise.
6995         * gdb.base/unload.exp: Likewise.
6996
6997 2016-04-27  Yao Qi  <yao.qi@linaro.org>
6998
6999         * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
7000         exists.
7001
7002 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7003
7004         * vla-type.exp: Print structure from toplevel.
7005
7006 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7007
7008         * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
7009         of dynamic types.
7010         * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
7011         of dynamic types.
7012
7013 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7014
7015         * gdb.fortran/vla-type.f90: New file.
7016         * gdb.fortran/vla-type.exp: New file.
7017
7018 2016-04-25  Yao Qi  <yao.qi@linaro.org>
7019
7020         * gdb.base/branch-to-self.c: New file.
7021         * gdb.base/branch-to-self.exp: New file.
7022
7023 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7024
7025         * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
7026         more after $hex.
7027
7028 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7029
7030         * gdb.base/annota1.exp: Set breakpoint on line $main_line.
7031         * gdb.base/annota3.exp: Likewise.
7032
7033 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7034
7035         * gdb.reverse/step-precsave.exp: Do one step and test program
7036         stops in "callee" and do multiple steps until program goes out
7037         of "callee".
7038         * gdb.reverse/step-reverse.exp: Likewise.
7039
7040 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7041
7042         * gdb.trace/signal.exp: Also pass if
7043         $tracepoint_hits($i) > $iterations.
7044
7045 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7046
7047         * gdb.trace/signal.c: New file.
7048         * gdb.trace/signal.exp: New file.
7049
7050 2016-04-19  Doug Evans  <xdje42@gmail.com>
7051
7052         * gdb.base/bad-file.exp: New file.
7053
7054 2016-04-18  Martin Galvan  <martin.galvan@tallertechnologies.com>
7055
7056         * gdb.dwarf2/implref.exp: New file.
7057
7058 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
7059
7060         * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
7061         * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
7062         * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
7063         * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
7064         * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
7065         * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
7066         * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
7067         * lib/fortran.exp (fortran_int4): New procedure.
7068         (fortran_real4, fortran_real8, fortran_complex4): Likewise.
7069         (fortran_logical4): Likewise.
7070
7071 2016-04-18  Benrhard Heckel <bernhard.heckel@intel.com>
7072
7073         * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
7074
7075 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
7076
7077         * lib/compiler.c: Add Intel specific preprocessor macros.
7078         * lib/compiler.cc: Likewise.
7079
7080 2016-04-13  Luis Machado  <lgustavo@codesourcery.com>
7081
7082         * gdb.server/connect-with-no-symbol-file.c: New file.
7083         * gdb.server/connect-with-no-symbol-file.exp: New file.
7084
7085 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
7086
7087         * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7088
7089 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
7090
7091         * boards/gdbserver-base.exp (${board}_download): Copy source file to
7092         standard output directory.
7093
7094 2016-04-13  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7095
7096         * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7097
7098 2016-04-13  Markus Metzger  <markus.t.metzger@intel.com>
7099
7100         * gdb.btrace/instruction_history.c (loop): Add declaration.
7101
7102 2016-04-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7103
7104         * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7105
7106 2016-04-09  Simon Marchi  <simon.marchi@polymtl.ca>
7107
7108         * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
7109         parentheses to print.
7110         (continue_handler): Likewise.
7111
7112 2016-04-08  Simon Marchi  <simon.marchi@ericsson.com>
7113
7114         * gdb.server/solib-list.exp: Remove is_remote check.
7115         Pass shlib= to gdb_compile.  Don't link shared library with
7116         -soname.  Call gdb_remote_download instead of gdb_load_shlibs.
7117         Run binary filename through "readlink -f" on the target.
7118
7119 2016-04-08  Pedro Alves  <palves@redhat.com>
7120
7121         * gdb.server/solib-list.exp: Don't use gdb_load.  Instead pass the
7122         interpreter filename as argument to gdbserver_spawn.
7123         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7124         Return empty if $last_loaded_file does not exist.
7125
7126 2016-04-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7127
7128         Fix compatibility with gcc-4.8.5-4.el7.x86_64.
7129         * gdb.base/jit-main.c: Use exit after usage.
7130
7131 2016-04-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7132
7133         * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
7134         GDBHISTSIZE prior to the tests.
7135         * gdb.base/gdbinit-history.exp: Likewise.
7136
7137 2016-04-07  Pedro Alves  <palves@redhat.com>
7138
7139         * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
7140         instead of build_executable.  Use gdb_load_shlibs.
7141
7142 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7143
7144         * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
7145         Execute "si" command.
7146
7147 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7148
7149         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
7150         number instead of the comments on some line.
7151
7152 2016-04-06  Don Breazeal  <donb@codesourcery.com>
7153
7154         * gdb.dwarf2/dw2-opt-structptr.c: New test program.
7155         * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
7156
7157 2016-04-06  Simon Marchi  <simon.marchi@ericsson.com>
7158
7159         * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
7160         standard_output_file.  Remove unused binfile variable.
7161
7162 2016-04-05  Catalin Udma  <catalin.udma@freescale.com>
7163
7164         * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
7165         * gdb.python/py-mi-objfile.exp: Match "list main" output
7166         in console format.
7167
7168 2016-04-05  Simon Marchi  <simon.marchi@polymtl.ca>
7169
7170         * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
7171         absolute.
7172
7173 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7174
7175         * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
7176         absolute.
7177         * gdb.trace/ftrace.exp: Likewise.
7178         * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
7179         targets as well.
7180         (gdb_compile_shlib): Set SONAME for non-remote targets as well.
7181         (gdb_load_shlibs): Copy libraries to test directory when testing
7182         natively.  Only set solib-search-path if testing remotely.
7183         * lib/mi-support.exp (mi_load_shlibs): Likewise.
7184
7185 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7186
7187         * gdb.base/jit-so.exp: Use gdb_remote_download instead of
7188         gdb_download.  Use it even if the target is not remote.
7189         * gdb.base/jit.exp (compile_jit_test): Likewise.
7190         * lib/gdb.exp (gdb_remote_download): Copy files to the standard
7191         output directory if the destination board is local, otherwise use
7192         the standard remote_download from DejaGnu.
7193         (gdb_download): Remove.
7194         (gdb_load_shlibs): Use gdb_remote_download instead of
7195         gdb_download.
7196         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7197         Use gdb_remote_download instead of gdb_download.  Use it even if
7198         the target is not remote.
7199         * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
7200         instead of gdb_download.
7201
7202 2016-04-04  Simon Marchi  <simon.marchi@polymtl.ca>
7203
7204         * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
7205         (test_insert_delete_modify): Call mi_load_shlibs before trying to
7206         run.
7207
7208 2016-04-01  Artemiy Volkov  <artemiyv@acm.org>
7209
7210         PR gdb/19820
7211         * gdb.base/printcmds.exp: Add artificial arrays tests.
7212
7213 2016-03-31  Pedro Alves  <palves@redhat.com>
7214
7215         PR gdb/19858
7216         * gdb.base/jit-main.c: Include unistd.h.
7217         (ATTACH): Define to 0 if not already defined.
7218         (wait_for_gdb, mypid): New globals.
7219         (WAIT_FOR_GDB): New macro.
7220         (MAIN): Set an alarm.  Store the process's pid.  Wait for GDB at
7221         some breakpoint locations.
7222         * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
7223         New procedures.
7224         (one_jit_test): Add REATTACH parameter, and handle it.  Use
7225         continue_to_test_location.
7226         (top level): Test attach, and adjusts calls to one_jit_test.
7227
7228 2016-03-31  Pedro Alves  <palves@redhat.com>
7229
7230         PR gdb/19858
7231         * gdb.base/jit.exp (compile_jit_test): Add intro comment.  Add
7232         BINSUFFIX parameter, and handle it.
7233         (top level): Adjust calls compile_jit_test.
7234
7235 2016-03-31  Catalin Udma  <catalin.udma@freescale.com>
7236
7237         PR python/19743
7238         * gdb.python/py-mi-events-gdb.py: New file.
7239         * gdb.python/py-mi-events.c: New file.
7240         * gdb.python/py-mi-events.exp: New file.
7241
7242 2016-03-30  Yao Qi  <yao.qi@linaro.org>
7243
7244         * gdb.reverse/until-precsave.exp: Match function name only.
7245         * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
7246         Move malloc to a condition block.
7247         * gdb.reverse/until-reverse.exp: Match function name only.
7248
7249 2016-03-29  Marcin Kościelnicki  <koriakin@0x04.net>
7250
7251         * gdb.trace/ftrace.exp: Set arg0exp for s390.
7252         * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
7253         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
7254         variable for GPR 0 instead of assuming it is register 0.
7255         * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
7256         * lib/trace-support.exp: Add s390 registers.
7257
7258 2016-03-29  Yao Qi  <yao.qi@linaro.org>
7259
7260         * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
7261
7262 2016-03-24  Yao Qi  <yao.qi@linaro.org>
7263
7264         * gdb.reverse/break-reverse.exp: Add quotation mark in the
7265         test message.
7266
7267 2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7268
7269         * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
7270         maintaining separate logic for constructing the output path.
7271
7272 2016-03-16  Don Breazeal  <donb@codesourcery.com>
7273
7274         * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
7275         Retry fork and waitpid on interrupted system call errors.
7276         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7277         Use with_timeout_factor to increase timeout by factor of 10.
7278
7279 2016-03-15  Don Breazeal  <donb@codesourcery.com>
7280
7281         * gdb.cp/scope-err.cc: New test program.
7282         * gdb.cp/scope-err.exp: New test script.
7283         * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
7284         lines and "set breakpoint here" comment.
7285         * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
7286         Fixed some whitespace and format issues.
7287         * gdb.mi/mi-linespec-err-cp.cc: New test program.
7288         * gdb.mi/mi-linespec-err-cp.exp: New test script.
7289
7290 2016-03-15  Doug Evans  <dje@google.com>
7291
7292         * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
7293         * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
7294         All callers updated.  Add tests for enums, mixed flags register.
7295
7296 2016-03-15  Doug Evans  <dje@google.com>
7297
7298         * gdb.base/skip.c (main): Call test_skip_file_and_function.
7299         * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
7300
7301 2016-03-14  Simon Marchi  <simon.marchi@ericsson.com>
7302
7303         * gdb.base/default.exp: Add $_as_string to the list of expected
7304         convenience functions.
7305
7306 2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
7307
7308         * gdb.base/maint.exp: New tests for 'maint info line-table'.
7309
7310 2016-03-10  Simon Marchi  <simon.marchi@polymtl.ca>
7311
7312         * gdb.python/py-as-string.exp: New file.
7313         * gdb.python/py-as-string.c: New file.
7314
7315 2016-03-09  Pedro Alves  <palves@redhat.com>
7316
7317         * gdb.threads/attach-into-signal.exp: Adjust to "Program received
7318         signal" -> "Thread NN received signal" output change.
7319         * gdb.threads/ia64-sigill.exp: Likewise.
7320         * gdb.threads/linux-dp.exp: Likewise.
7321         * gdb.threads/manythreads.exp: Likewise.
7322         * gdb.threads/pending-step.exp: Likewise.
7323         * gdb.threads/print-threads.exp: Likewise.
7324         * gdb.threads/sigstep-threads.exp: Likewise.
7325         * gdb.threads/staticthreads.exp: Likewise.
7326         * gdb.threads/tls.exp: Likewise.
7327
7328 2016-03-09  Pedro Alves  <palves@redhat.com>
7329
7330         * gdb.base/command-line-input.exp: New file.
7331
7332 2016-03-09  Marcin Kościelnicki  <koriakin@0x04.net>
7333
7334         * gdb.trace/ftrace.exp: Set arg0exp for ppc.
7335         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
7336         * gdb.trace/pending.exp: Accept leading dot before function name.
7337         * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
7338         * lib/trace-support.exp: Set registers for ppc.
7339
7340 2016-03-09  Marcin Kościelnicki  <koriakin@0x04.net>
7341
7342         * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
7343         use it for disassembly; accept .main in addition to main in backtrace.
7344
7345 2016-03-09  Wei-cheng Wang  <cole945@gmail.com>
7346             Marcin Kościelnicki  <koriakin@0x04.net>
7347
7348         * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
7349         (gdb_recursion_test_ptr): New global variable.
7350         (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
7351         gdb_recursion_test.
7352         (gdb_c_test): Ditto.
7353
7354 2016-03-09  Marcin Kościelnicki  <koriakin@0x04.net>
7355
7356         * gdb.trace/change-loc.exp: Don't depend on tracepoint location
7357         ordering.
7358
7359 2016-03-09  Marcin Kościelnicki  <koriakin@0x04.net>
7360
7361         * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
7362         (bar): Add bar_start_lbl label.
7363         * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
7364         of foo/bar for emitting DWARF and tracing.
7365
7366 2016-03-06  Sergio Durigan Junior  <sergiodj@redhat.com>
7367
7368         * analyze-racy-logs.py: Set executable bit.
7369
7370 2016-03-05  Sergio Durigan Junior  <sergiodj@redhat.com>
7371
7372         * Makefile.in (DEFAULT_RACY_ITER): New variable.
7373         (CHECK_TARGET_TMP): Likewise.
7374         (check-single-racy): New rule.
7375         (check-parallel-racy): Likewise.
7376         (TEST_TARGETS): Adjust rule to account for RACY_ITER.
7377         (do-check-parallel-racy): New rule.
7378         (check-racy/%.exp): Likewise.
7379         * README (Racy testcases): New section.
7380         * analyze-racy-logs.py: New file.
7381
7382 2016-03-03  Doug Evans  <dje@google.com>
7383
7384         * gdb.base/skip.exp: Use with_test_prefix.
7385
7386 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7387
7388         * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
7389         Invoke step_over_syscall "clone" and break_cond_on_syscall
7390         "clone".
7391         * gdb.base/step-over-clone.c: New file.
7392
7393 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7394
7395         * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
7396         code format.
7397
7398 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7399
7400         * gdb.base/disp-step-fork.c: Rename to ...
7401         * gdb.base/step-over-fork.c: ... it.  New file.
7402         * gdb.base/disp-step-vfork.c: Rename to ...
7403         * gdb.base/step-over-vfork.c: ... it.  New file.
7404         * gdb.base/disp-step-syscall.exp: Rename to ...
7405         * gdb.base/step-over-syscall.exp: ... it.  New file.
7406         (disp_step_cross_syscall): Rename to ...
7407         (step_over_syscall): ... it.
7408
7409 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7410
7411         * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7412         If target supports condition evaluation on target, invoke
7413         break_cond_on_syscall for fork and vfork.
7414
7415 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7416
7417         * gdb.base/disp-step-syscall.exp: Don't invoke
7418         support_displaced_stepping.
7419         (disp_step_cross_syscall): Test with displaced stepping off and
7420         on if supported.
7421
7422 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7423
7424         * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7425         proc.
7426         (setup): New proc.
7427         (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7428         and setup.
7429
7430 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7431
7432         * gdb.fortran/vla-history.exp: Remove breakpoint.
7433
7434 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7435
7436         * gdb.fortran/vla-history.exp: Lookup array elements and printing
7437         exceeds timeout.
7438
7439 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7440
7441         * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7442         breakpoint.
7443
7444 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7445
7446         * gdb.mi/vla.f90: Nullify pointer after declaration.
7447
7448 2016-03-01  Pedro Alves  <palves@redhat.com>
7449
7450         * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7451
7452 2016-03-01  Pedro Alves  <palves@redhat.com>
7453
7454         * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7455         before anything else.
7456         * gdb.threads/watchpoint-fork-mt.c: Likewise.  Don't define
7457         _GNU_SOURCE here.
7458         * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7459         before anything else.
7460         * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7461
7462 2016-03-01  Pedro Alves  <palves@redhat.com>
7463
7464         * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7465
7466 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7467
7468         * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7469         prepare_for_testing.
7470
7471 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7472
7473         * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7474
7475 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7476
7477         * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7478         manually constructing the output path.
7479
7480 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7481
7482         * gdb.arch/s390-stackless.S: New.
7483         * gdb.arch/s390-stackless.exp: New.
7484
7485 2016-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
7486
7487         * gdb.dlang/circular.c: New file.
7488         * gdb.dlang/circular.exp: New file.
7489
7490 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7491
7492         * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
7493         [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
7494         (testcases): Update.
7495
7496 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7497
7498         * gdb.reverse/aarch64.c: Rename to ...
7499         * gdb.reverse/insn-reverse.c: ... it.
7500         * gdb.reverse/aarch64.exp: Rename to ...
7501         * gdb.reverse/insn-reverse.exp: ... it.
7502
7503 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7504
7505         * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7506         (testcase_ftype): New.
7507         (testcases): New array.
7508         (n_testcases): New.
7509         (main): Call each element in testcases.
7510         * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7511         (read_testcase): New.
7512         Do the tests in a loop.
7513
7514 2016-02-25  Yao Qi  <yao.qi@linaro.org>
7515
7516         * gdb.base/branches.c: Remove.
7517
7518 2016-02-25  Marcin Kościelnicki  <koriakin@0x04.net>
7519
7520         PR gdb/13808
7521         * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7522
7523 2016-02-25  Marcin Kościelnicki  <koriakin@0x04.net>
7524
7525         * gdb.trace/ftrace.exp: Remove unnecessary target check.
7526
7527 2016-02-25  Marcin Kościelnicki  <koriakin@0x04.net>
7528
7529         * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7530         change x86_64 call_insn to 'callq'.
7531
7532 2016-02-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7533
7534         * gdb.trace/tfile-avx.c: Move to...
7535         * gdb.trace/tracefile-pseudo-reg.c: Here.
7536         * gdb.trace/tfile-avx.exp: Move to...
7537         * gdb.trace/tracefile-pseudo-reg.exp: Here.
7538
7539 2016-02-24  Gary Benson <gbenson@redhat.com>
7540
7541         * gdb.base/attach-pie-noexec.exp: Do not expect an error
7542         message on attach.
7543
7544 2016-02-23  Doug Evans  <dje@google.com>
7545
7546         * gdb.base/skip.c (test_skip): New function.
7547         (end_test_skip_file_and_function): New function.
7548         (test_skip_file_and_function): New function.
7549         * gdb.base/skip1.c (test_skip): New function.
7550         (skip1_test_skip_file_and_function): New function.
7551         * gdb.base/skip.exp: Add tests for new skip options.
7552         * gdb.base/skip-solib.exp: Update expected output.
7553         * gdb.perf/skip-command.cc: New file.
7554         * gdb.perf/skip-command.exp: New file.
7555         * gdb.perf/skip-command.py: New file.
7556
7557 2016-02-22  Marcin Kościelnicki  <koriakin@0x04.net>
7558
7559         * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7560         info registers pattern.
7561
7562 2016-02-18  Iain Buclaw  <ibuclaw@gdcproject.org>
7563
7564         * lib/future.exp: Add D support.
7565         (gdb_find_gdc): New proc.
7566         (gdb_default_target_compile): Add D support.
7567
7568 2016-02-18  Wei-cheng Wang  <cole945@gmail.com>
7569
7570         * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7571         user+system time.
7572         (trace_speed_test): Determine the iteration count for a time
7573         between 15..30 seconds.
7574
7575 2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>
7576
7577         * gdb.arch/i386-mpx-sigsegv.c: New file.
7578         * gdb.arch/i386-mpx-sigsegv.exp: New file.
7579         * gdb.arch/i386-mpx-simple_segv.c: New file.
7580         * gdb.arch/i386-mpx-simple_segv.exp: New file.
7581
7582 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7583
7584         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7585         Don't call setup_kfail.
7586
7587 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7588
7589         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7590         Set "set breakpoint condition-evaluation" per $cond_bp_target.
7591
7592 2016-02-16  Doug Evans  <dje@google.com>
7593
7594         * gdb.base/skip.c: Add copyright.  Whitespace cleanup.
7595         * gdb.base/skip1.c: Ditto.
7596         * gdb.base/skip.exp: Whitespace cleanup.
7597
7598 2016-02-16  Don Breazeal  <donb@codesourcery.com>
7599
7600         PR remote/19496
7601         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7602         Remove kfail for PR remote/19496.
7603
7604 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7605
7606         * lib/gdb.exp (standard_temp_file): Return a path specific to
7607         the runtest invocation.
7608
7609 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7610
7611         * gdb.trace/save-trace.exp: Change relative path to be in the
7612         standard output directory.
7613
7614 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7615
7616         * gdb.arch/i386-prologue.c: Add missing prototypes.
7617
7618 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7619
7620         * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7621         * gdb.arch/i386-prologue.exp: Likewise.
7622         * gdb.arch/i386-size.exp: Likewise.
7623
7624 2016-02-15  Simon Marchi  <simon.marchi@ericsson.com>
7625
7626         * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7627         define object file path.
7628         * gdb.btrace/gcore.exp: Use standard_output_file to define core
7629         file path.
7630         * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7631         standard_output_file to define binfile.
7632
7633 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7634
7635         Fix compatibility with recent gfortran-5.3.1.
7636         * gdb.fortran/vla-history.exp (print vla1 allocated)
7637         (print vla2 allocated, print $2, print $3): Remove
7638         (print $4): Rename to ...
7639         (print $2): ... here.
7640         (print $9): Rename to ...
7641         (print $5): ... here.
7642         (print $10): Rename to ...
7643         (print $6): ... here.
7644         * gdb.fortran/vla.f90: Add pvla initialization.
7645
7646 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7647
7648         * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7649         New test.
7650         * gdb.fortran/vla-value-sub.exp: Likewise.
7651
7652 2016-02-12  Marcin Kościelnicki  <koriakin@0x04.net>
7653
7654         * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7655
7656 2016-02-12  Simon Marchi  <simon.marchi@ericsson.com>
7657
7658         * i386-biarch-core.exp: Define corefile using
7659         standard_output_file.
7660
7661 2016-02-12  Yao Qi  <yao.qi@linaro.org>
7662
7663         * gdb.arch/arm-single-step-kernel-helper.c: New.
7664         * gdb.arch/arm-single-step-kernel-helper.exp: New.
7665
7666 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
7667
7668         * gdb.btrace/tailcall-only.exp: New.
7669         * gdb.btrace/tailcall-only.c: New.
7670         * gdb.btrace/x86_64-tailcall-only.S: New.
7671         * gdb.btrace/i686-tailcall-only.S: New.
7672
7673 2016-02-11  Pedro Alves  <palves@redhat.com>
7674
7675         * README (Parallel testing): Add missing double quotes.
7676
7677 2016-02-11  Pedro Alves  <palves@redhat.com>
7678
7679         * README (Parallel testing): New section.
7680         (GDB_PARALLEL): Rewrite.
7681         (FORCE_PARALLEL): Document.
7682
7683 2016-02-11  Marcin Kościelnicki  <koriakin@0x04.net>
7684
7685         * gdb.trace/tfile-avx.c: New test.
7686         * gdb.trace/tfile-avx.exp: New test.
7687
7688 2016-02-09  Keith Seitz  <keiths@redhat.com>
7689
7690         PR breakpoints/19546
7691         * gdb.base/infcall-exec.c: New file.
7692         * gdb.base/infcall-exec2.c: New file.
7693         * gdb.base/infcall-exec.exp: New file.
7694
7695 2016-02-09  Keith Seitz  <keiths@redhat.com>
7696
7697         * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7698         (toplevel): Call test_bkpt_address.
7699
7700 2016-02-09  Keith Seitz  <keiths@redhat.com>
7701
7702         PR python/19506
7703         * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7704         (toplevel): Call test_bkpt_address.
7705
7706 2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
7707
7708         * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7709         to AC_OUTPUT.
7710         * configure: Regenerate.
7711
7712 2016-02-09  Pedro Alves  <palves@redhat.com>
7713
7714         PR breakpoints/19548
7715         * gdb.base/execl-update-breakpoints.c (some_function): New
7716         function.
7717         (main): Call it.
7718         * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7719         Tighten expected GDB output.
7720
7721 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
7722
7723         * Makefile.in (ALL_SUBDIRS): Remove.
7724         (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
7725         (distclean maintainer-clean realclean): Likewise.
7726         * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
7727         * configure: Regenerate.
7728         * gdb.ada/Makefile.in: Delete.
7729         * gdb.arch/Makefile.in: Likewise.
7730         * gdb.asm/Makefile.in: Likewise.
7731         * gdb.base/Makefile.in: Likewise.
7732         * gdb.btrace/Makefile.in: Likewise.
7733         * gdb.cell/Makefile.in: Likewise.
7734         * gdb.compile/Makefile.in: Likewise.
7735         * gdb.cp/Makefile.in: Likewise.
7736         * gdb.disasm/Makefile.in: Likewise.
7737         * gdb.dlang/Makefile.in: Likewise.
7738         * gdb.dwarf2/Makefile.in: Likewise.
7739         * gdb.fortran/Makefile.in: Likewise.
7740         * gdb.gdb/Makefile.in: Likewise.
7741         * gdb.go/Makefile.in: Likewise.
7742         * gdb.guile/Makefile.in: Likewise.
7743         * gdb.java/Makefile.in: Likewise.
7744         * gdb.linespec/Makefile.in: Likewise.
7745         * gdb.mi/Makefile.in: Likewise.
7746         * gdb.modula2/Makefile.in: Likewise.
7747         * gdb.multi/Makefile.in: Likewise.
7748         * gdb.objc/Makefile.in: Likewise.
7749         * gdb.opencl/Makefile.in: Likewise.
7750         * gdb.opt/Makefile.in: Likewise.
7751         * gdb.pascal/Makefile.in: Likewise.
7752         * gdb.perf/Makefile.in: Likewise.
7753         * gdb.python/Makefile.in: Likewise.
7754         * gdb.reverse/Makefile.in: Likewise.
7755         * gdb.server/Makefile.in: Likewise.
7756         * gdb.stabs/Makefile.in: Likewise.
7757         * gdb.threads/Makefile.in: Likewise.
7758         * gdb.trace/Makefile.in: Likewise.
7759         * gdb.xml/Makefile.in: Likewise.
7760         * lib/gdb.exp (make_gdb_parallel_path): Add check for
7761         GDB_PARALLEL.
7762         (standard_output_file): Remove check for GDB_PARALLEL, always
7763         return path in outputs/$subdir/$testname.
7764
7765 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
7766
7767         * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
7768         (site.exp): Assign abs_srcdir to tcl's srcdir.
7769
7770 2016-02-04  Yao Qi  <yao.qi@linaro.org>
7771
7772         * gdb.base/foll-exec-mode.c: Include limits.h.
7773         (main): Add parameters argc and argv.  Get directory from
7774         argv[0].
7775         * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
7776         compilation.
7777         * gdb.base/foll-exec.c: Include limits.h.
7778         (main): Add parameters argc and argv.
7779         Get directory from argv[0].
7780         * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
7781         Adjust tests on the number of lines as source code changed.
7782         * gdb.base/foll-vfork-exit.c: Include limits.h.
7783         (main): Add one line of statement before vfork.
7784         * gdb.base/foll-vfork.c: Include limits.h and string.h.
7785         (main): Add parameters argc and argv.  Get directory from
7786         argv[0].
7787         * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
7788         (setup_gdb): Set tbreak to skip some source lines.
7789         * gdb.multi/bkpt-multi-exec.c: Include limits.h.
7790         (main): Add parameters argc and argv.  Get directory from
7791         argv[0].
7792         * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
7793         compilation.
7794         * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
7795         (main): Add parameters argc and argv.  Get directory from
7796         argv[0].
7797         * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
7798         compilation.
7799
7800 2016-02-01  Doug Evans  <dje@google.com>
7801
7802         * gdb.base/skip.exp: Clean up multiple references to same test name.
7803
7804 2016-02-01  Pedro Alves  <palves@redhat.com>
7805
7806         PR remote/19496
7807         * gdb.threads/forking-threads-plus-breakpoint.exp
7808         (displaced_stepping_supported): New global.
7809         (probe_displaced_stepping_support): New procedure.
7810         (do_test): Add 'displaced' parameter, and use it.
7811         (top level): Check for displaced stepping support.  Add displaced
7812         stepping on/off testing axis.
7813
7814 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
7815
7816         * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
7817         pointer.  Don't perform further tests on the unassociated pointer
7818         if the first test fails.
7819
7820 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
7821
7822         * gdb.base/max-value-size.c: New file.
7823         * gdb.base/max-value-size.exp: New file.
7824         * gdb.base/huge.exp: Disable max-value-size for this test.
7825
7826 2016-01-28  Iain Buclaw  <ibuclaw@gdcproject.org>
7827
7828         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
7829
7830 2016-01-28  Yao Qi  <yao.qi@linaro.org>
7831
7832         * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
7833
7834 2016-01-25  Pedro Alves  <palves@redhat.com>
7835
7836         PR threads/19461
7837         * gdb.base/fork-running-state.c: New file.
7838         * gdb.base/fork-running-state.exp: New file.
7839
7840 2016-01-25  Pedro Alves  <palves@redhat.com>
7841
7842         PR gdb/19494
7843         * gdb.base/catch-fork-kill.c: New file.
7844         * gdb.base/catch-fork-kill.exp: New file.
7845
7846 2016-01-25  Pedro Alves  <palves@redhat.com>
7847
7848         * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
7849         Delete, moved to lib/gdb.exp.
7850         * gdb.threads/forking-threads-plus-breakpoint.exp
7851         (foreach_with_prefix): Likewise.
7852         * gdb.threads/process-dies-while-handling-bp.exp
7853         (foreach_with_prefix): Likewise.
7854         * lib/gdb.exp (foreach_with_prefix): New procedure.
7855
7856 2016-01-25  Marcin Kościelnicki  <koriakin@0x04.net>
7857
7858         * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
7859         * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
7860
7861 2016-01-23  Marcin Kościelnicki  <koriakin@0x04.net>
7862
7863         * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
7864         endian targets.
7865
7866 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
7867             Pedro Alves  <palves@redhat.com>
7868
7869         Fix testsuite compatibility with Guile.
7870         * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
7871         number.
7872
7873 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
7874
7875         Fix testsuite compatibility with Guile.
7876         * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
7877         (thread 1): New test for backtrace through signal handler.
7878
7879 2016-01-22  Yao Qi  <yao.qi@linaro.org>
7880
7881         PR testsuite/19491
7882         * gdb.base/multi-forks.c: Include
7883         ../lib/unbuffer_output.c
7884         (main): Call gdb_unbuffer_output.
7885
7886 2016-01-21  Doug Evans  <dje@google.com>
7887
7888         * lib/ada.exp (gdb_compile_ada): Fix typo.
7889
7890 2016-01-21  Joel Brobecker  <brobecker@adacore.com>
7891
7892         * gdb.base/break-fun-addr.exp: New file.
7893         * gdb.base/break-fun-addr1.c: New file.
7894         * gdb.base/break-fun-addr2.c: New file.
7895
7896 2016-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
7897
7898         * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
7899         * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
7900         enum flag values.
7901
7902 2016-01-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7903
7904         * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
7905         when GDB can not set the vector return value.  Add more comments
7906         for clarification.
7907
7908 2016-01-20  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7909
7910         * gdb.trace/tspeed.exp:  Use shlib instead of libs in gdb_compile
7911         command.
7912
7913 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
7914
7915         * Makefile.in (DO_RUNTEST): Add --status and update usages.
7916
7917 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
7918
7919         * Makefile.in (check-single): Pass --status to runtest.
7920         (check/%.exp): Likewise.
7921
7922 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
7923
7924         * Makefile.in (check-parallel): Propagate return code from make
7925         do-check-parallel.
7926
7927 2016-01-19  Marcin Kościelnicki  <koriakin@0x04.net>
7928
7929         * gdb.trace/ftrace.exp: Fix expected message on continue.
7930         * gdb.trace/pending.exp: Fix expected message on continue.
7931         * gdb.trace/trace-break.exp: Fix expected message on continue.
7932
7933 2016-01-18  Simon Marchi  <simon.marchi@ericsson.com>
7934
7935         * lib/gdb.exp (gdb_test): Remove unused global references.
7936
7937 2016-01-18  Pedro Alves  <palves@redhat.com>
7938
7939         * gdb.base/async-shell.exp: Adjust expected output.
7940         * gdb.base/dprintf-non-stop.exp: Adjust expected output.
7941         * gdb.base/siginfo-thread.exp: Adjust expected output.
7942         * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
7943         * gdb.java/jnpe.exp: Adjust expected output.
7944         * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
7945         * gdb.threads/continue-pending-status.exp: Adjust expected output.
7946         * gdb.threads/leader-exit.exp: Adjust expected output.
7947         * gdb.threads/manythreads.exp: Adjust expected output.
7948         * gdb.threads/pthreads.exp: Adjust expected output.
7949         * gdb.threads/schedlock.exp: Adjust expected output.
7950         * gdb.threads/siginfo-threads.exp: Adjust expected output.
7951         * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
7952         expected output.
7953         * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
7954         output.
7955         * gdb.threads/sigthread.exp: Adjust expected output.
7956         * gdb.threads/watchpoint-fork.exp: Adjust expected output.
7957
7958 2016-01-18  Yao Qi  <yao.qi@linaro.org>
7959
7960         * gdb.guile/scm-section-script.c: Replace @progbits with
7961         %progbits.
7962         * gdb.python/py-section-script.c: Likewise.
7963
7964 2016-01-15  Pedro Alves  <palves@redhat.com>
7965
7966         * gdb.multi/tids.exp: Test star wildcard ranges.
7967
7968 2016-01-15  Pedro Alves  <palves@redhat.com>
7969
7970         * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
7971         command from "thread apply" invocation.
7972         (thr_apply_info_thr_invalid): Default the expected output to the
7973         input tid list.
7974         (top level): Add tests that use convenience variables.  Add tests
7975         for "thread apply" with a valid TID list, but missing the command.
7976
7977 2016-01-13  Pedro Alves  <palves@redhat.com>
7978
7979         * gdb.base/default.exp: Expect $_gthread as well.
7980         * gdb.multi/tids.exp: Test $_gthread.
7981         * gdb.threads/thread-specific.exp: Test $_gthread.
7982
7983 2016-01-13  Pedro Alves  <palves@redhat.com>
7984
7985         * gdb.multi/tids.exp: Test "info threads -gid".
7986
7987 2016-01-13  Pedro Alves  <palves@redhat.com>
7988
7989         * gdb.multi/tids.exp: Test InferiorThread.global_num and
7990         Breakpoint.thread.
7991         * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
7992
7993 2016-01-07  Pedro Alves  <palves@redhat.com>
7994
7995         * gdb.base/break.exp: Adjust to output changes.
7996         * gdb.base/hbreak2.exp: Likewise.
7997         * gdb.base/sepdebug.exp: Likewise.
7998         * gdb.base/watch_thread_num.exp: Likewise.
7999         * gdb.linespec/keywords.exp: Likewise.
8000         * gdb.multi/info-threads.exp: Likewise.
8001         * gdb.threads/thread-find.exp: Likewise.
8002         * gdb.multi/tids.c: New file.
8003         * gdb.multi/tids.exp: New file.
8004
8005 2016-01-13  Pedro Alves  <palves@redhat.com>
8006
8007         * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
8008
8009 2016-01-13  Pedro Alves  <palves@redhat.com>
8010
8011         * gdb.base/default.exp: Expect $_inferior as well.
8012         * gdb.multi/base.exp: Test $_inferior.
8013
8014 2016-01-13  Pedro Alves  <palves@redhat.com>
8015
8016         PR breakpoints/19388
8017         * gdb.base/catch-signal-siginfo-cond.c: New file.
8018         * gdb.base/catch-signal-siginfo-cond.exp: New file.
8019
8020 2016-01-12  Josh Stone  <jistone@redhat.com>
8021             Philippe Waroquiers  <philippe.waroquiers@skynet.be>
8022
8023         * gdb.base/catch-syscall.c (do_execve): New variable.
8024         (main): Conditionally trigger an execve.
8025         * gdb.base/catch-syscall.exp: Enable testing for remote targets.
8026         (test_catch_syscall_execve): New, check entry/return across execve.
8027         (do_syscall_tests): Call test_catch_syscall_execve.
8028
8029 2016-01-12  Pedro Alves  <palves@redhat.com>
8030
8031         * gdb.base/random-signal.exp (do_test): New procedure, with body
8032         of testcase moved in.
8033
8034 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8035             Pedro Alves  <palves@redhat.com>
8036
8037         * gdb.base/funcargs.exp (finish from indirectly called function):
8038         Reintroduce the case for 'First'.
8039
8040 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8041             Pedro Alves  <palves@redhat.com>
8042
8043         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8044         (tcatch_vfork_then_child_follow_exec)
8045         (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
8046         identification.
8047
8048 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8049
8050         * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
8051         and repeats to unlimited.
8052         * gdb.python/py-value.exp: Likewise.
8053         * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
8054         and repeats to unlimited.
8055
8056 2016-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
8057
8058         * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
8059         and reordering the functions.
8060         * gdb.multi/hangout.c: Likewise.
8061         * gdb.multi/hello.c: Likewise.
8062
8063 2016-01-08  Simon Marchi  <simon.marchi@ericsson.com>
8064
8065         * gdb.perf/lib/perftest/perftest.py: Change relative imports to
8066         absolute.
8067         (SingleStatisticTestResult.report): Use dict.keys instead of
8068         dict.iterkeys.
8069
8070 2016-01-06  Pedro Alves  <palves@redhat.com>
8071
8072         * gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
8073
8074 2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
8075
8076         * gdb.btrace/dlopen.exp: New.
8077         * gdb.btrace/dlopen.c: New.
8078         * gdb.btrace/dlopen-dso.c: New.
8079
8080 2015-12-25  Sandra Loosemore  <sandra@codesourcery.com>
8081
8082         * lib/gdb.exp (gdb_test): Update comments to clarify that the
8083         PATTERN argument is optional.
8084
8085 2015-12-24  Joel Brobecker  <brobecker@adacore.com>
8086
8087         * lib/ada.exp (target_compile_ada_from_dir): New function.
8088         (gdb_compile_ada): Reimplement avoiding the use of project files.
8089         * gdb.ada/gnat_ada.gpr: Delete.
8090         * gdb.ada/cond_lang.exp: Adjust test to make path before
8091         filename optional.
8092         * gdb.ada/small_reg_param.exp: Likewise.
8093
8094 2015-12-22  Simon Marchi  <simon.marchi@ericsson.com>
8095
8096         * gdb.base/foll-vork.exp: Remove HP-UX special case.
8097
8098 2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>
8099
8100         * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8101         case.
8102
8103 2015-12-21  Simon Marchi  <simon.marchi@ericsson.com>
8104
8105         * gdb.base/break.exp: Remove dead code.
8106         * gdb.base/sepdebug.exp: Likewise.
8107
8108 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8109
8110         * gdb.asm/asm-source.exp: Remove HP-UX references.
8111         * gdb.base/annota1.exp: Likewise.
8112         * gdb.base/annota3.exp: Likewise.
8113         * gdb.base/attach.exp: Likewise.
8114         * gdb.base/bigcore.exp: Likewise.
8115         * gdb.base/break.exp: Likewise.
8116         * gdb.base/call-ar-st.exp: Likewise.
8117         * gdb.base/callfuncs.exp: Likewise.
8118         * gdb.base/catch-fork-static.exp: Likewise.
8119         * gdb.base/display.exp: Likewise.
8120         * gdb.base/foll-exec-mode.exp: Likewise.
8121         * gdb.base/foll-exec.exp: Likewise.
8122         * gdb.base/foll-fork.exp: Likewise.
8123         * gdb.base/foll-vfork.exp: Likewise.
8124         * gdb.base/funcargs.exp: Likewise.
8125         * gdb.base/hbreak2.exp: Likewise.
8126         * gdb.base/inferior-died.exp: Likewise.
8127         * gdb.base/interrupt.exp: Likewise.
8128         * gdb.base/multi-forks.exp: Likewise.
8129         * gdb.base/nodebug.exp: Likewise.
8130         * gdb.base/sepdebug.exp: Likewise.
8131         * gdb.base/solib1.c: Likewise.
8132         * gdb.base/step-test.exp: Likewise.
8133         * gdb.mi/non-stop.c: Likewise.
8134         * gdb.mi/pthreads.c: Likewise.
8135         * gdb.multi/bkpt-multi-exec.ex: Likewise.
8136         * gdb.threads/pthreads.c: Likewise.
8137         * gdb.threads/staticthreads.exp: Likewise.
8138         * lib/future.exp: Likewise.
8139         * lib/gdb.exp: Likewise.
8140         * gdb.base/so-indr-cl.c: Remove.
8141         * gdb.base/so-indr-cl.exp: Likewise.
8142         * gdb.base/solib.c: Likewise.
8143         * gdb.base/solib.exp: Likewise.
8144         * gdb.base/solib2.c: Likewise.
8145
8146 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8147
8148         * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
8149         * gdb.base/call-ar-st.exp: Likewise.
8150         * gdb.base/callfuncs.exp: Likewise.
8151         * gdb.base/condbreak.exp: Likewise.
8152         * gdb.base/constvars.exp: Likewise.
8153         * gdb.base/hbreak2.exp: Likewise.
8154         * gdb.base/langs.exp: Likewise.
8155         * gdb.base/list.exp: Likewise.
8156         * gdb.base/long_long.exp: Likewise.
8157         * gdb.base/ptype.exp: Likewise.
8158         * gdb.base/scope.exp: Likewise.
8159         * gdb.base/signals.exp: Likewise.
8160         * gdb.base/so-impl-ld.exp: Likewise.
8161         * gdb.base/varargs.exp: Likewise.
8162         * gdb.base/volatile.exp: Likewise.
8163         * gdb.base/whatis.exp: Likewise.
8164         * gdb.cp/cplusfuncs.exp: Likewise.
8165         * gdb.cp/inherit.exp: Likewise.
8166         * gdb.cp/local.exp: Likewise.
8167         * gdb.cp/member-ptr.exp: Likewise.
8168         * gdb.cp/method.exp: Likewise.
8169         * gdb.cp/overload.exp: Likewise.
8170         * gdb.cp/templates.exp: Likewise.
8171         * gdb.stabs/weird.exp: Likewise.
8172         * lib/compiler.c: Likewise.
8173         * lib/compiler.cc: Likewise.
8174         * lib/cp-support.exp: Likewise.
8175         * lib/gdb.exp: Likewise.
8176
8177 2015-12-20  Simon Marchi  <simon.marchi@polymtl.ca>
8178
8179         * configure.ac: Remove HP-UX case.
8180         * configure: Regenerate.
8181
8182 2015-12-18  Simon Marchi  <simon.marchi@ericsson.com>
8183
8184         * lib/gdb.exp (gdb_compile): Add function doc.
8185
8186 2015-12-17  Pedro Alves  <palves@redhat.com>
8187
8188         PR threads/19354
8189         * gdb.multi/info-threads.exp: New file.
8190
8191 2015-12-15  Yao Qi  <yao.qi@linaro.org>
8192
8193         * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
8194         is aarch64*-*-*.
8195
8196 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8197
8198         * gdb.base/history-duplicates.exp: Skip if no readline support.
8199
8200 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8201
8202         * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
8203
8204 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8205
8206         * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
8207
8208 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8209
8210         * gdb.base/completion.exp: Skip tests that interrupt GDB with
8211         ctrl-C if nointerrupts target property is set.
8212         * gdb.base/double-prompt-target-event-error.exp: Likewise.
8213         * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
8214         * gdb.base/paginate-bg-execution.exp: Likewise.
8215         * gdb.base/paginate-execution-startup.exp: Likewise.
8216         * gdb.base/random-signal.exp: Likewise.
8217         * gdb.base/range-stepping.exp: Likewise.
8218         * gdb.cp/annota2.exp: Likewise.
8219         * gdb.cp/annota3.exp: Likewise.
8220         * gdb.gdb/selftest.exp: Likewise.
8221         * gdb.threads/continue-pending-status.exp: Likewise.
8222         * gdb.threads/leader-exit.exp: Likewise.
8223         * gdb.threads/manythreads.exp: Likewise.
8224         * gdb.threads/pthreads.exp: Likewise.
8225         * gdb.threads/schedlock.exp: Likewise.
8226         * gdb.threads/sigthread.exp: Likewise.
8227
8228 2015-12-11  Don Breazeal  <donb@codesourcery.com>
8229
8230         * gdb.base/execl-update-breakpoints.exp (main): Enable for target
8231         remote.
8232         * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
8233         * gdb.base/foll-exec.exp (main): Enable for target remote.
8234         * gdb.base/foll-fork.exp (main): Likewise.
8235         * gdb.base/foll-vfork.exp (main): Likewise.
8236         * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
8237         (proc continue_to_exit_bp_loc): Use clean_restart.
8238         * gdb.base/pie-execl.exp (main): Disable for target remote.
8239         * gdb.base/watch-vfork.exp (main): Enable for target remote.
8240         * gdb.mi/mi-nsthrexec.exp (main): Likewise.
8241         * gdb.threads/execl.exp (main): Likewise.
8242         * gdb.threads/fork-child-threads.exp (main): Likewise.
8243         * gdb.threads/fork-plus-threads.exp (main): Disable for target
8244         remote.
8245         * gdb.threads/fork-thread-pending.exp (main): Enable for target
8246         remote.
8247         * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
8248         pid.tid style ptids, instead of just tid.
8249         * gdb.threads/thread-execl.exp (main): Enable for target remote.
8250         * gdb.threads/watchpoint-fork.exp (main): Likewise.
8251         * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
8252         ptids, instead of just tid.
8253
8254 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8255
8256         * gdb.base/list.exp (test_list_forward): Add end of file error
8257         test.
8258         (test_repeat_list_command): Add end of file error test.
8259         (test_list_backwards): Add beginning of file error test.
8260
8261 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8262
8263         * gdb.base/list.exp (test_list_invalid_args): New function,
8264         defined, and called.
8265
8266 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8267
8268         * gdb.base/list.exp (test_list): Make test names unique.
8269
8270 2015-12-11  Yao Qi  <yao.qi@linaro.org>
8271
8272         * gdb.base/coremaker2.c: Remove.
8273
8274 2015-12-10  Pedro Alves  <palves@redhat.com>
8275
8276         * gdb.multi/base.exp: Remove stale "spaces" references.
8277
8278 2015-12-10  Pedro Alves  <palves@redhat.com>
8279
8280         * gdb.multi/base.exp: Don't use nowarnings.
8281         * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
8282         * gdb.multi/hangout.c: Include stdio.h.
8283         * gdb.multi/hello.c: Include stdlib.h.
8284         * gdb.multi/multi-arch-exec.c: Include stdlib.h.
8285         * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
8286         * gdb.multi/multi-arch.exp: Don't use nowarnings.
8287
8288 2015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
8289
8290         * gdb.dwarf2/dw2-ranges-base.c: New file.
8291         * gdb.dwarf2/dw2-ranges-base.exp: New file.
8292         * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
8293         support additional line table, and debug ranges generation.
8294         (Dwarf::ranges): New function, generate .debug_ranges.
8295         (Dwarf::lines): Support generating simple line table programs.
8296         (Dwarf::assemble): Initialise new namespace variables.
8297
8298 2015-12-09  Kevin Buettner  <kevinb@redhat.com>
8299
8300         * gdb.base/async.exp (proc test_background): Add case for
8301         asynchronous execution not supported.
8302
8303 2015-12-09  Luis Machado  <lgustavo@codesourcery.com>
8304
8305         * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
8306           format and change test names to make them unique.
8307
8308 2015-12-09  Ruslan Kabatsayev  <b7.10110111@gmail.com>
8309             Pedro Alves  <pedro@redhat.com>
8310
8311         PR gdb/18702
8312         Add checking of floatformats setup on x86_64 hosts.
8313         * gdb.arch/i386-float.S (main): Load bigval and smallval.
8314         (smallval, bigval): New labels/constants.
8315         * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
8316         float" after loading bigval and smallval.
8317
8318 2015-12-07  Pierre-Marie de Rodat  <derodat@adacore.com>
8319
8320         * gdb.ada/fun_overload_menu.exp: New testcase.
8321         * gdb.ada/fun_overload_menu/foo.adb: New testcase.
8322
8323 2015-12-04  Josh Stone  <jistone@redhat.com>
8324
8325         * gdb.base/catch-fork-static.exp: New.
8326
8327 2015-12-03  Yao Qi  <yao.qi@linaro.org>
8328
8329         * gdb.base/sizeof.c: Don't include stdio.h and
8330         ../lib/unbuffer_output.c.
8331         (main): New variable 'size' and 'value'.  Remove printf and
8332         gdb_unbuffer_output.  Assign return value to size and value.
8333         * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
8334         at the beginning.
8335         (check_sizeof): Check the result by printing variable 'size'.
8336         (check_valueof): Check the result by printing variable 'value'.
8337
8338 2015-12-01  Yao Qi  <yao.qi@linaro.org>
8339
8340         * gdb.base/disp-step-syscall.exp: Define syscall instruction
8341         for aarch64*-*-linux* target.
8342
8343 2015-11-30  Pedro Alves  <palves@redhat.com>
8344
8345         * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
8346
8347 2015-11-30  Pedro Alves  <palves@redhat.com>
8348
8349         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
8350         Handle non-stop mode vCont replies.
8351
8352 2015-11-30  Pedro Alves  <palves@redhat.com>
8353
8354         * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
8355         prepare_for_testing.  Start gdb with "set non-stop on" appended to
8356         GDBFLAGS.  Lax expected stop output.
8357
8358 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8359
8360         * gdb.arch/arm-neon.exp: New.
8361         * gdb.arch/arm-neon.c: New.
8362
8363 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8364
8365         * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
8366
8367 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8368
8369         * gdb.cp/annota2.exp: Allow multiple occurrences of the
8370         frames-invalid annotation.
8371
8372 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8373
8374         * gdb.cp/annota2.exp: Use ${frames_invalid}.
8375
8376 2015-11-26  Simon Marchi  <simon.marchi@ericsson.com>
8377
8378         * gdb.threads/names.exp: New file.
8379         * gdb.threads/names.c: New file.
8380         * README: Mention gdb,no_thread_names.
8381
8382 2015-11-26  Markus Metzger  <markus.t.metzger@intel.com>
8383
8384         PR 19297
8385         * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
8386         support" error.
8387
8388 2015-11-24  Pedro Alves  <palves@redhat.com>
8389
8390         PR 17539
8391         * gdb.base/display.exp: Expect displays to be sorted in ascending
8392         order.  Use multi_line.
8393         * gdb.base/solib-display.exp: Likewise.
8394
8395 2015-11-24  Pedro Alves  <palves@redhat.com>
8396
8397         PR 17539
8398         * gdb.base/display.exp: Expect displays to be sorted in ascending
8399         order.  Use multi_line.
8400         * gdb.base/solib-display.exp: Likewise.
8401
8402 2015-11-24  Pedro Alves  <palves@redhat.com>
8403
8404         PR 17539
8405         * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8406         threads in ascending order.
8407         * gdb.base/foll-fork.exp: Likewise.
8408         * gdb.base/foll-vfork.exp: Likewise.
8409         * gdb.base/multi-forks.exp: Likewise.
8410         * gdb.mi/mi-nonstop.exp: Likewise.
8411         * gdb.mi/mi-nsintrall.exp: Likewise.
8412         * gdb.multi/base.exp: Likewise.
8413         * gdb.multi/multi-arch.exp: Likewise.
8414         * gdb.python/py-inferior.exp: Likewise.
8415         * gdb.threads/break-while-running.exp: Likewise.
8416         * gdb.threads/execl.exp: Likewise.
8417         * gdb.threads/gcore-thread.exp: Likewise.
8418         * gdb.threads/info-threads-cur-sal.exp: Likewise.
8419         * gdb.threads/kill.exp: Likewise.
8420         * gdb.threads/linux-dp.exp: Likewise.
8421         * gdb.threads/multiple-step-overs.exp: Likewise.
8422         * gdb.threads/next-bp-other-thread.exp: Likewise.
8423         * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8424         * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8425         * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8426         * gdb.threads/thread-find.exp: Likewise.
8427         * gdb.threads/tls.exp: Likewise.
8428         * lib/mi-support.exp (mi_reverse_list): Delete.
8429         (mi_check_thread_states): No longer reverse list.
8430
8431 2015-11-24  Pedro Alves  <palves@redhat.com>
8432
8433         * gdb.python/py-inferior.exp: Use with_test_prefix.  Consistently
8434         use lowercase.
8435
8436 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8437
8438         * gdb.trace/actions.c: Include trace-common.h.
8439         (main): Add a location for a fast tracepoint.
8440         * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8441         the normal tracepoints.
8442         (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8443
8444 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8445
8446         * save-trace.exp: Factor out code to these...
8447         (gdb_save_tracepoints): New.
8448         (gdb_load_tracepoints): New.
8449         (do_save_load_test): New.
8450
8451 2015-11-23  Kevin Buettner  <kevinb@redhat.com>
8452
8453         * gdb.base/asmlabel.exp: New test.
8454         * gdb.base/asmlabel.c: New test case.
8455
8456 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8457
8458         * gdb.base/wrong_frame_bt_full-main.c: New file.
8459         * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8460         * gdb.base/wrong_frame_bt_full.exp: New file.
8461
8462 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8463
8464         * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8465
8466 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8467
8468         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8469         pstate register when comparing registers values in
8470         sparc64-*-linux-gnu targets to avoid spurious differences.
8471
8472 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8473
8474         * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8475
8476 2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>
8477
8478         * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8479         as type argument to gdb_compile.
8480         * gdb.base/nested-subp2.exp: Likewise.
8481         * gdb.base/nested-subp3.exp: Likewise.
8482
8483 2015-11-17  Dominik Vogt  <vogt@linux.vnet.ibm.com>
8484
8485         * lib/dwarf.exp (_note): Fix left shift of negative value.
8486         * gdb.trace/trace-condition.exp: Likewise.
8487
8488 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8489
8490         * gdb.base/call-sc.exp (test_scalar_returns): Remove the
8491         comments about d10v.
8492         (test_scalar_returns): Likewise.
8493         * gdb.base/d10v.ld: Remove.
8494         * gdb.base/overlays.exp: Remove the target triplet checking for
8495         d10v-*-*.
8496         * gdb.base/structs.exp (test_struct_returns): Remove the
8497         comments about d10v.
8498         (test_struct_calls): Likewise.
8499
8500 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8501
8502         * gdb.base/gnu_vector.exp: Check the return value by "p res".
8503         * gdb.base/gnu_vector.c: Don't include stdio.h.
8504         (main): Don't print res and call add_some_intvecs.
8505
8506 2015-11-11  Marcin Kościelnicki  <koriakin@0x04.net>
8507
8508         * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8509         macro.
8510         (func5): Removed.
8511         (func4): Use FAST_TRACEPOINT_LABEL.
8512         * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8513         macro.
8514         (func): Removed.
8515         (thread_function): Use FAST_TRACEPOINT_LABEL.
8516         * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8517         (func): Remove.
8518         (marker): Use FAST_TRACEPOINT_LABEL.
8519         * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8520         (pendfunc1): Remove.
8521         (pendfunc): Use FAST_TRACEPOINT_LABEL.
8522         * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8523         (foo): Remove.
8524         (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8525         * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8526         macro.
8527         (func): Remove.
8528         (marker): Use FAST_TRACEPOINT_LABEL.
8529         * gdb.trace/trace-common.h: New header.
8530         * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8531         macro.
8532         (func): Remove.
8533         (marker): Use FAST_TRACEPOINT_LABEL.
8534         * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8535         (func): Remove.
8536         (thread_function): Use FAST_TRACEPOINT_LABEL.
8537
8538 2015-11-10  Marcin Kościelnicki  <koriakin@0x04.net>
8539
8540         * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8541         in front.
8542         * gdb.trace/change-loc.exp: Use global pcreg definition.
8543         * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8544         * gdb.trace/entry-values.exp: Use global spreg definition, add $
8545         in front.
8546         * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8547         * gdb.trace/pending.exp: Likewise.
8548         * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8549         * gdb.trace/trace-break.exp: Likewise.
8550         * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8551         in front.
8552         * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8553         * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8554         in front.
8555         * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8556
8557 2015-11-09  Joel Brobecker  <brobecker@adacore.com>
8558
8559         * gdb.ada/fin_fun_out: New testcase.
8560
8561 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8562
8563         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8564         value associated with DW_AT_byte_size.
8565         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8566         constants for DW_AT_byte_size, DW_AT_lower_bound, and
8567         DW_AT_upper_bound.
8568
8569 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8570
8571         * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8572         (gdb_target_symbol_prefix_flags): Define in terms of _asm
8573         version.
8574         * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8575         gdb.dwarf2/dw2-canonicalize-type.exp,
8576         gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8577         gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8578         gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8579         provided by gdb_target_symbol_prefix_flags_asm.
8580         * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8581         testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8582         testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8583         testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8584         gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8585         macros where needed).  Use this macro for symbols which require
8586         the prefix provided by SYMBOL_PREFIX.
8587
8588 2015-11-05  Kevin Buettner  <kevinb@redhat.com>
8589
8590         * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8591         New procs.
8592         * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8593         representing expressions, of more than one list element.
8594         * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8595         to prepend linker symbol prefix to f.
8596         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8597         table_1 and table_2.
8598         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8599         Likewise, for f and g.
8600         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8601         for ptr.
8602         * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8603         for main.
8604         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8605         table_1_ptr and table_2_ptr.
8606
8607 2015-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
8608             Joel Brobecker  <brobecker@adacore.com>
8609
8610         * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8611
8612 2015-11-04  Marcin Kościelnicki  <koriakin@0x04.net>
8613
8614         * gdb.reverse/s390-mvcle.c: New test.
8615         * gdb.reverse/s390-mvcle.exp: New file.
8616         * lib/gdb.exp: Enable reverse tests on s390*-linux.
8617
8618 2015-11-02  Marcin Kościelnicki  <koriakin@0x04.net>
8619
8620         * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8621
8622 2015-11-02  Marcin Kościelnicki  <koriakin@0x04.net>
8623
8624         * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8625         reaching marker2.
8626         * gdb.reverse/getresuid-reverse.exp: Likewise.
8627         * gdb.reverse/pipe-reverse.exp: Likewise.
8628         * gdb.reverse/readv-reverse.exp: Likewise.
8629         * gdb.reverse/recvmsg-reverse.exp: Likewise.
8630         * gdb.reverse/time-reverse.exp: Likewise.
8631         * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8632
8633 2015-10-30  Yao Qi  <yao.qi@linaro.org>
8634
8635         * gdb.threads/wp-replication.c (watch_count_done): Remove.
8636         (empty_cycle): Remove.
8637         (main): Don't call empty_cycle.  Don't use watch_count_done.
8638         * gdb.threads/wp-replication.exp: Don't set breakpoint on
8639         empty_cycle.  Rewrite the code counting HW watchpoints.
8640
8641 2015-10-30  Marcin Kościelnicki  <koriakin@0x04.net>
8642
8643         * gdb.reverse/fstatat-reverse.c: New test.
8644         * gdb.reverse/fstatat-reverse.exp: New file.
8645         * gdb.reverse/getresuid-reverse.c: New test.
8646         * gdb.reverse/getresuid-reverse.exp: New file.
8647         * gdb.reverse/pipe-reverse.c: New test.
8648         * gdb.reverse/pipe-reverse.exp: New file.
8649         * gdb.reverse/readv-reverse.c: New test.
8650         * gdb.reverse/readv-reverse.exp: New file.
8651         * gdb.reverse/recvmsg-reverse.c: New test.
8652         * gdb.reverse/recvmsg-reverse.exp: New file.
8653         * gdb.reverse/time-reverse.c: New test.
8654         * gdb.reverse/time-reverse.exp: New file.
8655         * gdb.reverse/waitpid-reverse.c: New test.
8656         * gdb.reverse/waitpid-reverse.exp: New file.
8657
8658 2015-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8659
8660         * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8661
8662 2015-10-26  Doug Evans  <dje@google.com>
8663
8664         PR symtab/17391
8665         * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8666         * gdb.dwarf2/bad-regnum.c: New file.
8667         * gdb.dwarf2/bad-regnum.exp: New file.
8668
8669 2015-10-26  Doug Evans  <dje@google.com>
8670
8671         PR python/18938
8672         * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8673         file.
8674
8675 2015-10-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8676
8677         * gdb.compile/compile.exp (compile code globalvar): Update expectation
8678         for a change by "Mention language in compile error message".
8679
8680 2015-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
8681
8682         PR python/18073
8683         * gdb.python/py-type.c (C::a_method): New.
8684         (C::a_const_method): New.
8685         (C::a_static_method): New.
8686         (a_function): New.
8687         * gdb.python/py-type.exp (test_fields): Test getting fields
8688         from function and method.
8689
8690 2015-10-21  Keven Boell  <keven.boell@intel.com>
8691
8692         * gdb.fortran/vla-alloc-assoc.exp: New file.
8693         * gdb.fortran/vla-datatypes.exp: New file.
8694         * gdb.fortran/vla-datatypes.f90: New file.
8695         * gdb.fortran/vla-history.exp: New file.
8696         * gdb.fortran/vla-ptype-sub.exp: New file.
8697         * gdb.fortran/vla-ptype.exp: New file.
8698         * gdb.fortran/vla-sizeof.exp: New file.
8699         * gdb.fortran/vla-sub.f90: New file.
8700         * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8701         * gdb.fortran/vla-value-sub-finish.exp: New file.
8702         * gdb.fortran/vla-value-sub.exp: New file.
8703         * gdb.fortran/vla-value.exp: New file.
8704         * gdb.fortran/vla-ptr-info.exp: New file.
8705         * gdb.mi/mi-vla-fortran.exp: New file.
8706         * gdb.mi/vla.f90: New file.
8707
8708 2015-10-21  Sandra Loosemore  <sandra@codesourcery.com>
8709
8710         * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8711         of hardwired timeout value.
8712
8713 2015-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
8714             Pedro Alves  <palves@redhat.com>
8715
8716         * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8717         * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8718
8719 2015-10-19  Josh Stone  <jistone@redhat.com>
8720
8721         * gdb.base/catch-syscall.c: Include <sched.h>.
8722         (unknown_syscall): New variable.
8723         (main): Trigger a vfork and an unknown syscall.
8724         * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
8725         (unknown_syscall_number): Likewise.
8726         (check_call_to_syscall): Accept an optional syscall pattern.
8727         (check_return_from_syscall): Likewise.
8728         (check_continue): Likewise.
8729         (test_catch_syscall_without_args): Check for vfork and ENOSYS.
8730         (test_catch_syscall_skipping_return): New test toggling off 'catch
8731         syscall' to step over the syscall return, then toggling back on.
8732         (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
8733         during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
8734         (do_syscall_tests): Call test_catch_syscall_without_args and
8735         test_catch_syscall_mid_vfork.
8736         (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
8737         (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
8738
8739 2015-10-19  Andrew Stubbs  <ams@codesourcery.com>
8740
8741         * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
8742         print g_vE): Add new pass patterns.
8743         * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
8744         print various symbol names for vptr fields.
8745
8746 2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
8747
8748         * gdb.base/dbx.exp (test_func): Remove xfails, update expected
8749         results.
8750
8751 2015-10-12  Yao Qi  <yao.qi@linaro.org>
8752
8753         * gdb.arch/disp-step-insn-reloc.exp: New test case.
8754
8755 2015-10-12  Yao Qi  <yao.qi@linaro.org>
8756
8757         * lib/gdb.exp (support_displaced_stepping): Return 1 if target
8758         is aarch64*-*-linux*.
8759
8760 2015-10-12  Yao Qi  <yao.qi@linaro.org>
8761
8762         * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
8763         (can_relocate_bcond_true): ... it.
8764         (can_relocate_bcond_false): New function.
8765         (foo): Likewise.
8766         (can_relocate_bl): Likewise.
8767         (testcases) [__aarch64__]: Add can_relocate_bcond_false and
8768         can_relocate_bl.
8769
8770 2015-10-12  Pierre-Marie de Rodat  <derodat@adacore.com>
8771
8772         * gdb.base/nested-addr.c: New file.
8773         * gdb.base/nested-addr.exp: New testcase.
8774
8775 2015-10-09  Markus Metzger  <markus.t.metzger@intel.com>
8776
8777         * gdb.btrace/vdso.c (main): Remove breakpoint markers.
8778         * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
8779         its output.  Ignore the output of "record goto begin" and instead
8780         check that GDB is replaying.
8781
8782 2015-10-09  Pedro Alves  <palves@redhat.com>
8783
8784         * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
8785         (top level): Use it in the run with no args test.
8786
8787 2015-10-08  Iain Buclaw  <ibuclaw@gdcproject.org>
8788
8789         * gdb.dlang/properties.exp: New file.
8790
8791 2015-10-02  Sandra Loosemore  <sandra@codesourcery.com>
8792
8793         * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
8794         whether or not address 0x1000 is mapped on the target.
8795
8796 2015-09-30  Simon Marchi  <simon.marchi@ericsson.com>
8797
8798         * gdb.python/py-type.exp: Do not run tests if binaries fail to
8799         build.
8800
8801 2015-09-30  Markus Metzger  <markus.t.metzger@intel.com>
8802
8803         * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
8804         instruction-history test.
8805
8806 2015-09-28  Doug Evans  <dje@google.com>
8807
8808         * gdb.base/gcore.c (array_func): Add reference to static_array.
8809
8810 2015-09-25  Simon Marchi  <simon.marchi@ericsson.com>
8811
8812         * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
8813         source line.
8814
8815 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
8816
8817         * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
8818         short or char as base type.
8819
8820 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
8821
8822         * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
8823         to allow any size enum.
8824
8825 2015-09-23  Pierre-Marie de Rodat  <derodat@adacore.com>
8826
8827         * gdb.ada/array_ptr_renaming.exp: New testcase.
8828         * gdb.ada/array_ptr_renaming/foo.adb: New file.
8829         * gdb.ada/array_ptr_renaming/pack.ads: New file.
8830
8831 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
8832
8833         * gdb.trace/ftrace-lock.c: New file.
8834         * gdb.trace/ftrace-lock.exp: New file.
8835
8836 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
8837
8838         * gdb.arch/insn-reloc.c: New file.
8839         * gdb.arch/ftrace-insn-reloc.exp: New file.
8840
8841 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
8842
8843         * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
8844         instruction.
8845         * gdb.trace/pendshr1.c (pendfunc): Likewise.
8846         * gdb.trace/pendshr2.c (pendfunc2): Likewise.
8847         * gdb.trace/range-stepping.c: Likewise.
8848         * gdb.trace/trace-break.c: Likewise.
8849         * gdb.trace/trace-mt.c (thread_function): Likewise.
8850         * gdb.trace/ftrace.c (marker): Likewise.
8851         * gdb.trace/trace-condition.c (marker): Likewise.
8852         * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
8853         * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
8854         is_aarch64_target.
8855
8856 2015-09-18  Doug Evans  <xdje42@gmail.com>
8857
8858         * gdb.dwarf2/dw2-bad-unresolved.c: New file.
8859         * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
8860
8861 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8862
8863         * gdb.base/dso2dso.exp: Don't use directory prefix when setting
8864         the breakpoint.
8865
8866 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8867
8868         * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
8869         the pending breakpoint.  Remove timeout override for "Run till
8870         MI pending breakpoint on pendfunc3 on thread 2" test.
8871
8872 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8873
8874         * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
8875         filename pattern.
8876
8877 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8878
8879         * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
8880         in breakpoint filename pattern.
8881
8882 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8883
8884         * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
8885
8886 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
8887
8888         * gdb.linespec/explicit.exp: Check for readline support for
8889         tab-completion tests.  Fix obvious typo.
8890
8891 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
8892
8893         * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
8894         and replay.
8895
8896 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
8897
8898         * gdb.btrace/non-stop.c: New.
8899         * gdb.btrace/non-stop.exp: New.
8900
8901 2015-09-17  Pierre Langlois  <pierre.langlois@arm.com>
8902             Yao Qi  <yao.qi@linaro.org>
8903
8904         * gdb.trace/trace-condition.c: New file.
8905         * gdb.trace/trace-condition.exp: New file.
8906
8907 2015-09-16  Wei-cheng Wang  <cole945@gmail.com>
8908
8909         * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
8910         for testing bytecode compilation.
8911
8912 2015-09-16  Pedro Alves  <palves@redhat.com>
8913             Sandra Loosemore <sandra@codesourcery.com>
8914
8915         * gdb.threads/non-stop-fair-events.c (timeout): New global.
8916         (SECONDS): Redefine.
8917         (main): Call pthread_kill and alarm early.
8918         * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
8919         support.
8920         (test): If the target can't hardware step and doesn't support
8921         displaced stepping, increase the timeout.
8922
8923 2015-09-16  Pedro Alves  <palves@redhat.com>
8924
8925         * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
8926         (enable_debug): New procedures.
8927         (test): Use them.  Bail out if waiting for threads fails.
8928         (top level): Bail out if a test fails.
8929
8930 2015-09-16  Yao Qi  <yao.qi@linaro.org>
8931
8932         * gdb.asm/asm-source.exp: Set asm-arch for
8933         aarch64*-*-* target.
8934         * gdb.asm/aarch64.inc: New file.
8935
8936 2015-09-15  Pierre-Marie de Rodat  <derodat@adacore.com>
8937
8938         * gdb.ada/array_of_variable_length.exp: New testcase.
8939         * gdb.ada/array_of_variable_length/foo.adb: New file.
8940         * gdb.ada/array_of_variable_length/pck.adb: New file.
8941         * gdb.ada/array_of_variable_length/pck.ads: New file.
8942
8943 2015-09-15  Doug Evans  <dje@google.com>
8944
8945         * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
8946         of function static local variable.
8947
8948 2015-09-15  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
8949
8950         * gdb.threads/tls-so_extern.exp: New test file.
8951         * gdb.threads/tls-so_extern.c: New test file.
8952         * gdb.threads/tls-so_extern_main.c: New test file.
8953
8954 2015-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
8955
8956         * gdb.opt/solib-intra-step-lib.c: New file.
8957         * gdb.opt/solib-intra-step-main.c: New file.
8958         * gdb.opt/solib-intra-step.exp: New file.
8959
8960 2015-09-15  Pedro Alves  <palves@redhat.com>
8961
8962         * gdb.threads/non-ldr-exc-3.exp (do_test): Use
8963         gdb_continue_to_breakpoint instead of gdb_test_multiple.
8964
8965 2015-09-14  Pedro Alves  <palves@redhat.com>
8966
8967         * gdb.base/hook-stop-continue.c: Delete.
8968         * gdb.base/hook-stop-continue.exp: Delete.
8969         * gdb.base/hook-stop-frame.c: Delete.
8970         * gdb.base/hook-stop-frame.exp: Delete.
8971         * gdb.base/hook-stop.c: New file.
8972         * gdb.base/hook-stop.exp: New file.
8973
8974 2015-09-14  Pierre-Marie de Rodat  <derodat@adacore.com>
8975
8976         * gdb.ada/access_to_packed_array.exp: New testcase.
8977         * gdb.ada/access_to_packed_array/foo.adb: New file.
8978         * gdb.ada/access_to_packed_array/pack.adb: New file.
8979         * gdb.ada/access_to_packed_array/pack.ads: New file.
8980
8981 2015-09-14  Markus Metzger  <markus.t.metzger@intel.com>
8982
8983         * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
8984         buffer size test.
8985
8986 2015-09-11  Don Breazeal  <donb@codesourcery.com>
8987
8988         * gdb.base/foll-exec.c: Add copyright header.  Fix
8989         formatting issues.
8990         * gdb.base/foll-exec.exp (zap_session): Delete proc.
8991         (do_exec_tests): Use clean_restart in place of zap_session,
8992         and for test initialization.  Fix formatting issues.  Use
8993         fail in place of perror.
8994         * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
8995         an expect statement to match an expression with output from
8996         the program under debug.
8997         * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
8998         non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
8999         * gdb.threads/non-ldr-exc-2.exp: Likewise.
9000         * gdb.threads/non-ldr-exc-3.exp: Likewise.
9001         * gdb.threads/non-ldr-exc-4.exp: Likewise.
9002
9003 2015-09-09  Doug Evans  <dje@google.com>
9004
9005         * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
9006
9007 2015-09-09  Doug Evans  <dje@google.com>
9008
9009         * gdb.base/pie-execl.exp: Fix result test of build_executable.
9010
9011 2015-09-09  Doug Evans  <dje@google.com>
9012
9013         * gdb.base/savedregs.exp: Fix typo.
9014
9015 2015-09-09  Pedro Alves  <palves@redhat.com>
9016
9017         * gdb.mi/mi-cli.exp: Add CLI finish tests.
9018
9019 2015-09-08  Sandra Loosemore  <sandra@codesourcery.com>
9020
9021         * gdb.threads/hand-call-in-threads.exp: Make sure the thread
9022         command actually switches threads.  Give up on remaining
9023         tests if target fails to stop at breakpoint.
9024
9025 2015-09-03  Pierre-Marie de Rodat  <derodat@adacore.com>
9026
9027         * gdb.ada/funcall_char.exp: New testcase.
9028         * gdb.ada/funcall_char/foo.adb: New file.
9029
9030 2015-09-01  Pierre-Marie de Rodat  <derodat@adacore.com>
9031
9032         * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
9033         expected outputs.  Add two testcases for completing ambiguous
9034         functions.
9035         * gdb.ada/complete/aux_pck.adb: New file.
9036         * gdb.ada/complete/aux_pck.ads: New file.
9037         * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
9038         Ambiguous_Func functions.
9039         * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
9040         * gdb.ada/complete/pck.adb: Likewise.
9041
9042 2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
9043
9044         * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
9045         failures to run the test program under GDB.
9046
9047 2015-08-26  Luis Machado  <lgustavo@codesourcery.com>
9048
9049         * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
9050         to C.
9051
9052 2015-08-26  Patrick Palka  <patrick@parcs.ath.cx>
9053
9054         * gdb.base/run-after-attach.exp: New test file.
9055         * gdb.base/run-after-attach.c: New test file.
9056
9057 2015-08-26  Don Breazeal  <donb@codesourcery.com>
9058
9059         * gdb.base/foll-exec-2.c: New test program.
9060         * gdb.base/foll-exec-2.exp: New test.
9061
9062 2015-08-25  Pierre-Marie de Rodat  <derodat@adacore.com>
9063
9064         * gdb.base/nested-subp1.exp: New file.
9065         * gdb.base/nested-subp1.c: New file.
9066         * gdb.base/nested-subp2.exp: New file.
9067         * gdb.base/nested-subp2.c: New file.
9068         * gdb.base/nested-subp3.exp: New file.
9069         * gdb.base/nested-subp3.c: New file.
9070
9071 2015-08-24  Pedro Alves  <palves@redhat.com>
9072
9073         * gdb.server/connect-without-multi-process.c: New file.
9074         * gdb.server/connect-without-multi-process.exp: New file.
9075
9076 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9077
9078         * gdb.opt/inline-markers.c: Make z int.
9079
9080 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9081
9082         * gdb.opt/inline-markers.c: Make z volatile.
9083
9084 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9085
9086         * gdb.opt/inline-bt.c: New volatile global z.
9087         * gdb.opt/inline-cmds.c: Likewise.
9088         * gdb.opt/inline-locals.c: Likewise.
9089         * gdb.opt/inline-markers.c: New extern global z.
9090         (marker): Use z.
9091         (inline_fn): Likewise.
9092
9093 2015-08-24  Pedro Alves  <palves@redhat.com>
9094
9095         * config/m32r-stub.exp: Remove file.
9096         * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9097         * gdb.base/call-rt-st.exp: Likewise.
9098         * gdb.base/call-strs.exp: Likewise.
9099         * gdb.base/default.exp: Remove references to h8300-*-hms and
9100         *-*-udi*.
9101         * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9102
9103 2015-08-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9104
9105         * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9106         -Wno-psabi" if "-mcpu=native" fails.  For the tests with "finish"
9107         and "return" use KFAIL when GDB can not read/write the vector
9108         return value.
9109
9110 2015-08-21  Gary Benson <gbenson@redhat.com>
9111
9112         * gdb.trace/pending.exp: Cope with remote transfer warnings.
9113
9114 2015-08-20  Pedro Alves  <palves@redhat.com>
9115
9116         * gdb.server/solib-list.exp: No longer expect an interior stop in
9117         non-stop mode.
9118
9119 2015-08-20  Pedro Alves  <palves@redhat.com>
9120
9121         * gdb.server/connect-stopped-target.c: New file.
9122         * gdb.server/connect-stopped-target.exp: New file.
9123
9124 2015-08-20  Pedro Alves  <palves@redhat.com>
9125
9126         * gdb.dwarf2/comp-unit-lang.exp: New file.
9127         * gdb.dwarf2/comp-unit-lang.c: New file.
9128
9129 2015-08-20  Pierre-Marie de Rodat  <derodat@adacore.com>
9130
9131         * gdb.ada/attr_ref_and_charlit.exp: New testcase.
9132         * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
9133
9134 2015-08-19  Kevin Buettner  <kevinb@redhat.com>
9135
9136         * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
9137         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
9138
9139 2015-08-18  Doug Evans  <dje@google.com>
9140             Adrian Sendroiu <adrian.sendroiu@freescale.com>
9141
9142         * lib/gdb.exp (skip_python_tests_prompt): Renamed from
9143         skip_python_tests.  New arg prompt_regexp.
9144         (skip_python_tests): New function.
9145         * lib/mi-support.exp (mi_skip_python_tests): New function.
9146         * gdb.python/py-mi-objfile-gdb.py: New file.
9147         * gdb.python/py-mi-objfile.c: New file.
9148         * gdb.python/py-mi-objfile.exp: New file.
9149
9150 2015-08-17  Keith Seitz  <keiths@redhat.com>
9151
9152         * gdb.linespec/explicit.exp: Move strace test from here ...
9153         * gdb.trace/strace.exp: ... to here.
9154
9155 2015-08-15  Patrick Palka  <patrick@parcs.ath.cx>
9156
9157         * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
9158         * gdb.base/kill-detach-inferiors-cmd.c: New test file.
9159
9160 2015-08-14  Doug Evans  <xdje42@gmail.com>
9161
9162         * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
9163         inferior before selecting a new file.
9164
9165 2015-08-14  Doug Evans  <xdje42@gmail.com>
9166
9167         * gdb.mi/mi-disassemble.exp: Update.
9168         * gdb.base/disasm-optim.S: New file.
9169         * gdb.base/disasm-optim.c: New file.
9170         * gdb.base/disasm-optim.h: New file.
9171         * gdb.base/disasm-optim.exp: New file.
9172
9173 2015-08-14  Keith Seitz  <keiths@redhat.com>
9174
9175         * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
9176         "evaluated-by".
9177
9178 2015-08-13  Joel Brobecker  <brobecker@adacore.com>
9179
9180         * gdb.base/dso2dso.exp: Improve the testcase's documentation.
9181
9182 2015-08-13  Pierre-Marie de Rodat  <derodat@adacore.com>
9183
9184         * gdb.ada/fun_renaming.exp: New testcase.
9185         * gdb.ada/fun_renaming/fun_renaming.adb: New file.
9186         * gdb.ada/fun_renaming/pack.adb: New file.
9187         * gdb.ada/fun_renaming/pack.ads: New file.
9188
9189 2015-08-12  Keith Seitz  <keiths@redhat.com>
9190
9191         * gdb.base/dso2dso.exp: Pass basename of source file in call to
9192         gdb_get_line_number.
9193
9194 2015-08-12  Joel Brobecker  <brobecker@adacore.com>
9195
9196         * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
9197         gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
9198         gdb.base/dso2dso.exp: New files.
9199
9200 2015-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
9201             Pedro Alves  <palves@redhat.com>
9202             Keith Seitz  <keiths@redhat.com>
9203
9204         * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
9205         GDBFLAGS.
9206
9207 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9208
9209         * gdb.base/gdbhistsize-history.exp
9210         (test_histsize_history_setting): Use save_vars.
9211         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9212         Use save_vars.
9213         (test_no_truncation_of_unlimited_history_file): Use save_vars.
9214         * gdb.base/readline.exp: Use save_vars.
9215
9216 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9217
9218         * lib/gdb.exp (save_vars): New proc.
9219
9220 2015-08-11  Keith Seitz  <keiths@redhat.com>
9221
9222         * gdb.base/help.exp: Update help_breakpoint_text.
9223
9224 2015-08-11  Keith Seitz  <keiths@redhat.com>
9225
9226         * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
9227         (at toplevel): Call test_explicit_breakpoints.
9228         * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
9229         breakpoints.
9230         * lib/mi-support.exp (mi_make_breakpoint): Add support for
9231         breakpoint conditions, "-cond".
9232
9233 2015-08-11  Keith Seitz  <keiths@redhat.com>
9234
9235         * gdb.linespec/3explicit.c: New file.
9236         * gdb.linespec/cpexplicit.cc: New file.
9237         * gdb.linespec/cpexplicit.exp: New file.
9238         * gdb.linespec/explicit.c: New file.
9239         * gdb.linespec/explicit.exp: New file.
9240         * gdb.linespec/explicit2.c: New file.
9241         * gdb.linespec/ls-errs.exp: Add explicit location tests.
9242         * lib/gdb.exp (capture_command_output): Regexp-escape `command'
9243         before using in the matching pattern.
9244         Clarify that `prefix' is a regular expression.
9245
9246 2015-08-11  Keith Seitz  <keiths@redhat.com>
9247
9248         * gdb.base/dprintf-pending.exp: Update dprintf "without format"
9249         test.
9250         Add tests for missing ",FMT" and ",".
9251
9252 2015-08-10  Doug Evans  <dje@google.com>
9253             Keith Seitz  <keiths@redhat.com>
9254
9255         PR gdb/17960
9256         * gdb.base/completion.exp: Add location completer tests.
9257
9258 2015-08-07  Pedro Alves  <palves@redhat.com>
9259
9260         * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
9261         tests here.
9262         (top level): Run do_test with and without displaced stepping.
9263
9264 2015-08-07  Pedro Alves  <palves@redhat.com>
9265
9266         * gdb.base/valgrind-disp-step.c: New file.
9267         * gdb.base/valgrind-disp-step.exp: New file.
9268
9269 2015-08-07  Pedro Alves  <palves@redhat.com>
9270
9271         * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
9272         Delete function.
9273         (main): Add alarm.  Run an infinite loop instead of calling
9274         wait_threads.
9275         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
9276         comment.
9277         * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
9278         Delete function.
9279         (main): Add alarm.  Run an infinite loop instead of calling
9280         wait_threads.
9281         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
9282         comment.
9283
9284 2015-08-07  Pedro Alves  <palves@redhat.com>
9285
9286         * gdb.base/checkpoint-ns.exp: New file.
9287         * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
9288         standard_testfile.
9289
9290 2015-08-07  Markus Metzger  <markus.t.metzger@intel.com>
9291
9292         * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
9293         * gdb.btrace/instruction_history.exp: Update.
9294         * gdb.btrace/tsx.exp: New.
9295         * gdb.btrace/tsx.c: New.
9296
9297 2015-08-06  Pedro Alves <palves@redhat.com>
9298
9299         * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
9300         increase timeout.
9301         * gdb.reverse/until-precsave.exp: Bump timeouts.
9302
9303 2015-08-06  Pedro Alves  <palves@redhat.com>
9304
9305         * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
9306
9307 2015-08-06  Pedro Alves  <palves@redhat.com>
9308
9309         PR gdb/18749
9310         * gdb.threads/process-dies-while-handling-bp.c: New file.
9311         * gdb.threads/process-dies-while-handling-bp.exp: New file.
9312
9313 2015-08-06  Pedro Alves  <palves@redhat.com>
9314
9315         * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
9316         * gdb.threads/forking-threads-plus-breakpoint.c: New file.
9317
9318 2015-08-05  Pedro Alves  <palves@redhat.com>
9319
9320         * gdb.threads/next-while-other-thread-longjmps.c: New file.
9321         * gdb.threads/next-while-other-thread-longjmps.exp: New file.
9322
9323 2015-08-03  Sandra Loosemore  <sandra@codesourcery.com>
9324
9325         * gdb.base/bp-permanent.exp: Report test as unsupported if
9326         the target cannot stop at the permanent breakpoint.
9327
9328 2015-08-03  Doug Evans  <dje@google.com>
9329
9330         * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
9331         10000.
9332
9333 2015-08-03  Doug Evans  <dje@google.com>
9334
9335         * Makefile.in (workers/%.worker, build-perf): New rule.
9336         (GDB_PERFTEST_MODE): New variable.
9337         (check-perf): Use it.
9338         (clean): Clean up gdb.perf parallel build subdirs.
9339         * lib/build-piece.exp: New file.
9340         * lib/gdb.exp (make_gdb_parallel_path): New function
9341         (standard_output_file, standard_temp_file): Call it.
9342         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9343         of $GDB_PARALLEL.
9344         * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
9345
9346 2015-08-03  Doug Evans  <dje@google.com>
9347
9348         * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
9349         (LOG_FILE_NAME): New global.
9350         (TextReporter.__init__): Initialize self.txt_sum.
9351         (TextReporter.report): Add support for multiple data-points.
9352         Move report to perftest.sum, put raw data in perftest.log.
9353         (TextReporter.start): Open sum and log files.
9354         (TextReporter.end): Close sum and log files.
9355         * gdb.perf/lib/perftest/testresult.py
9356         (SingleStatisticTestResult.record): Handle multiple data-points.
9357
9358 2015-07-31  Pedro Alves  <palves@redhat.com>
9359
9360         * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
9361         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9362         kill_wait_spawned_process instead of explicit "kill -9".
9363         * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
9364         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9365         kill_wait_spawned_process.
9366         * gdb.base/attach-twice.exp: Likewise.
9367         * gdb.base/attach.exp: Likewise.
9368         (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
9369         gdb_test_multiple.
9370         * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
9371         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9372         kill_wait_spawned_process.
9373         * gdb.base/valgrind-infcall.exp: Likewise.
9374         * gdb.multi/multi-attach.exp: Likewise.
9375         * gdb.python/py-prompt.exp: Likewise.
9376         * gdb.python/py-sync-interp.exp: Likewise.
9377         * gdb.server/ext-attach.exp: Likewise.
9378         * gdb.threads/attach-into-signal.exp (corefunc): Use
9379         spawn_wait_for_attach, spawn_id_get_pid and
9380         kill_wait_spawned_process.
9381         * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
9382         spawn_wait_for_attach returning a spawn id instead of a pid.  Use
9383         spawn_id_get_pid and kill_wait_spawned_process.
9384         * gdb.threads/attach-stopped.exp (corefunc): Use
9385         spawn_wait_for_attach, spawn_id_get_pid and
9386         kill_wait_spawned_process.
9387         * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
9388         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9389         kill_wait_spawned_process instead of explicit "kill -9".
9390         * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
9391         (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
9392         (spawn_wait_for_attach): Use spawn instead of exec to spawn
9393         processes.  Don't map cygwin/windows pids here.  Now returns a
9394         spawn id list.
9395
9396 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9397
9398         * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
9399         4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
9400         correct patch.
9401
9402 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9403
9404         * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9405
9406 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9407
9408         Reapply:
9409         2014-05-21  Mark Wielaard  <mjw@redhat.com>
9410
9411         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9412
9413 2015-07-30  Pedro Alves  <palves@redhat.com>
9414
9415         * linux-low.c (handle_extended_wait): Set the child's last
9416         reported status to TARGET_WAITKIND_STOPPED.
9417
9418 2015-07-30  Pedro Alves  <palves@redhat.com>
9419
9420         PR threads/18600
9421         * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9422         only shows inferior 1.
9423
9424 2015-07-30  Simon Marchi  <simon.marchi@ericsson.com>
9425             Pedro Alves  <palves@redhat.com>
9426
9427         PR threads/18600
9428         * gdb.threads/fork-plus-threads.c: New file.
9429         * gdb.threads/fork-plus-threads.exp: New file.
9430
9431 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9432
9433         * gdb.base/batch-preserve-term-settings.exp
9434         (test_terminal_settings_preserved_after_cli_exit): Use
9435         send_quit_command.
9436
9437 2015-07-29  Pedro Alves  <palves@redhat.com>
9438             Don Breazeal  <donb@codesourcery.com>
9439
9440         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9441         output from both inferior_spawn_id and gdb_spawn_id.
9442
9443 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9444
9445         * gdb.threads/attach-into-signal.exp (corefunc): Use
9446         with_test_prefix on nested loops, uniquefying the test messages.
9447
9448 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9449
9450         * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9451         commit.
9452
9453 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9454
9455         * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9456         New proc.
9457         (test_terminal_settings_preserved_after_sigterm): New test.
9458
9459 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9460
9461         * gdb.base/batch-preserve-term-settings.exp
9462         (test_terminal_settings_preserved_after_cli_exit): New test.
9463
9464 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9465
9466         * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9467         manipulation of saved_gdbflags.
9468         (test_terminal_settings_preserved): Remove global declaration of
9469         the unused variable pagination_prompt.  Remove manipulation of
9470         saved_gdbflags.  Use a local variable EXTRA_GDBFLAGS instead of
9471         GDBFLAGS.
9472
9473 2015-07-29  Pedro Alves  <palves@redhat.com>
9474
9475         * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9476
9477 2015-07-29  Pedro Alves  <palves@redhat.com>
9478
9479         * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9480         at the top.
9481
9482 2015-07-29  Pedro Alves  <palves@redhat.com>
9483
9484         * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9485         (main): Call gdb_unbuffer_output.
9486         * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9487         (main): Call gdb_unbuffer_output.
9488         * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9489         (main): Call gdb_unbuffer_output.
9490         * gdb.base/call-strs.exp: Adjust to step over the
9491         gdb_unbuffer_output call.
9492         * gdb.base/catch-gdb-caused-signals.c: Include
9493         "../lib/unbuffer_output.c".
9494         (main): Call gdb_unbuffer_output.
9495         * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
9496         (main): Call gdb_unbuffer_output.
9497         * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
9498         (main): Call gdb_unbuffer_output.
9499         * gdb.base/run.c: Include "../lib/unbuffer_output.c".
9500         (main): Call gdb_unbuffer_output.
9501         * gdb.base/shlib-call.exp: Adjust to step over the
9502         gdb_unbuffer_output call.
9503         * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9504         (main): Call gdb_unbuffer_output.
9505         * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9506         (main): Call gdb_unbuffer_output.
9507         * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9508         (main): Rename to ...
9509         (test): ... this.
9510         (main): Reimplement.
9511         * gdb.base/varargs.exp: Run to test instead of to main.
9512         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9513         (main): Call gdb_unbuffer_output.
9514
9515 2015-07-29  Pedro Alves  <palves@redhat.com>
9516
9517         * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9518         factore out from mi_continue_dprintf.  For call-style dprintfs,
9519         expect dprintf output out of $inferior_spawn_id.
9520         (mi_continue_dprintf): Use mi_expect_dprintf.
9521         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9522         (main): Call gdb_unbuffer_output.
9523
9524 2015-07-29  Pedro Alves  <palves@redhat.com>
9525
9526         * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9527         (default_mi_gdb_start): Set inferior_spawn_id instead of
9528         mi_inferior_spawn_id.  If $inferior_spawn_id is not set, set it to
9529         gdb_spawn_id.
9530         (mi_gdb_test): Always expect inferior output from both
9531         $inferior_spawn_id and $gdb_spawn_id.
9532
9533 2015-07-29  Pedro Alves  <palves@redhat.com>
9534
9535         * gdb.gdb/selftest.exp (test_with_self): Update comment.  Use
9536         send_inferior and $inferior_spawn_id.
9537
9538 2015-07-29  Pedro Alves  <palves@redhat.com>
9539
9540         * gdb.gdb/complaints.exp (test_initial_complaints)
9541         (test_serial_complaints, test_short_complaints): Use
9542         gdb_test_stdio.
9543         (test_empty_complaint): Handle $inferior_spawn_id !=
9544         $gdb_spawn_id.
9545
9546 2015-07-29  Pedro Alves  <palves@redhat.com>
9547
9548         * gdb.base/varargs.exp: Use gdb_test_stdio.
9549
9550 2015-07-29  Pedro Alves  <palves@redhat.com>
9551
9552         * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9553
9554 2015-07-29  Pedro Alves  <palves@redhat.com>
9555
9556         * gdb.base/ending-run.exp: Use gdb_test_stdio.
9557
9558 2015-07-29  Pedro Alves  <palves@redhat.com>
9559
9560         * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9561         parameter into two new parameters, "inf_result" and "gdb_result".
9562         Expect inferior output and gdb output from $inferior_spawn_id and
9563         $gdb_spawn_id, respectively.  Adjust all callers.
9564
9565 2015-07-29  Pedro Alves  <palves@redhat.com>
9566
9567         * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9568         of gdb_test_sequence.
9569
9570 2015-07-29  Pedro Alves  <palves@redhat.com>
9571
9572         * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9573         (saw_spurious_output): Expect inferior output from
9574         $inferior_spawn_id.  Use gdb_test_stdio.
9575
9576 2015-07-29  Pedro Alves  <palves@redhat.com>
9577
9578         * gdb.base/dprintf.exp: Use standard_testfile.  Change
9579         prepare_for_testing call.
9580         (srcfile): Don't set.
9581         (restart): New procedure.
9582         (test_dprintf): New procecure, use to continue over dprintfs.
9583         (test_call, test_agent): New procedures, tests moved here.
9584         Restart gdb and recreate dprintfs.  Adjust expected output.
9585
9586 2015-07-29  Pedro Alves  <palves@redhat.com>
9587
9588         * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9589
9590 2015-07-29  Pedro Alves  <palves@redhat.com>
9591
9592         * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9593
9594 2015-07-29  Pedro Alves  <palves@redhat.com>
9595
9596         * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9597         gdb_test_stdio.
9598
9599 2015-07-29  Pedro Alves  <palves@redhat.com>
9600
9601         * lib/gdb.exp (gdb_test_stdio): New procedure.
9602
9603 2015-07-29  Pedro Alves  <palves@redhat.com>
9604
9605         * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9606
9607 2015-07-29  Pedro Alves  <palves@redhat.com>
9608
9609         * gdb.base/call-signal-resume.exp: Remove check for
9610         gdb,noinferiorio.  Don't expect "no signal".  Use gdb_test.
9611         * gdb.base/unwindonsignal.exp: Likewise.
9612         * gdb.base/call-signals.c (gen_signal): Remove printf call.
9613         * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9614
9615 2015-07-29  Pedro Alves  <palves@redhat.com>
9616
9617         * gdb.base/siginfo-addr.c (pass): New function.
9618         (handler): Call it iff si_addr is correct.
9619         * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9620         Set a breakpoint at "pass" and continue to it.
9621
9622 2015-07-28  Sergio Durigan Junior  <sergiodj@redhat.com>
9623
9624         * gdb.python/py-objfile.exp: Make some tests have unique names.
9625         * gdb.python/py-pp-registration.exp: Likewise.
9626
9627 2015-07-28  Pedro Alves  <palves@redhat.com>
9628
9629         * gdb.server/server-exec-info.exp: Issue a "disconnect".
9630
9631 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9632
9633         * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9634
9635 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9636
9637         * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9638
9639 2015-07-27  Patrick Palka  <patrick@parcs.ath.cx>
9640
9641         * gdb.base/gdb-sigterm-2.exp: New test.
9642
9643 2015-07-25  Doug Evans  <xdje42@gmail.com>
9644
9645         Revert:
9646         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9647         (workers/%.worker, build-perf): New rule.
9648         (GDB_PERFTEST_MODE): New variable.
9649         (check-perf): Use it.
9650         (clean): Clean up gdb.perf parallel build subdirs.
9651         * lib/build-piece.exp: New file.
9652         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9653         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9654         name.
9655         (standard_temp_file): Ditto.
9656         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9657         of $GDB_PARALLEL.
9658
9659 2015-07-24  Doug Evans  <dje@google.com>
9660
9661         * gdb.perf/lib/perftest/utils.py: New file.
9662         * gdb.perf/gm-hello.cc: New file.
9663         * gdb.perf/gm-pervasive-typedef.cc: New file.
9664         * gdb.perf/gm-pervasive-typedef.h: New file.
9665         * gdb.perf/gm-std.cc: New file.
9666         * gdb.perf/gm-std.h: New file.
9667         * gdb.perf/gm-use-cerr.cc: New file.
9668         * gdb.perf/gm-utils.h: New file.
9669         * gdb.perf/gmonster-null-lookup.py: New file.
9670         * gdb.perf/gmonster-pervasive-typedef.py: New file.
9671         * gdb.perf/gmonster-print-cerr.py: New file.
9672         * gdb.perf/gmonster-ptype-string.py: New file.
9673         * gdb.perf/gmonster-runto-main.py: New file.
9674         * gdb.perf/gmonster-select-file.py: New file.
9675         * gdb.perf/gmonster1-null-lookup.exp: New file.
9676         * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9677         * gdb.perf/gmonster1-print-cerr.exp: New file.
9678         * gdb.perf/gmonster1-ptype-string.exp: New file.
9679         * gdb.perf/gmonster1-runto-main.exp: New file.
9680         * gdb.perf/gmonster1-select-file.exp: New file.
9681         * gdb.perf/gmonster1.cc: New file.
9682         * gdb.perf/gmonster1.exp: New file.
9683         * gdb.perf/gmonster2-null-lookup.exp: New file.
9684         * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9685         * gdb.perf/gmonster2-print-cerr.exp: New file.
9686         * gdb.perf/gmonster2-ptype-string.exp: New file.
9687         * gdb.perf/gmonster2-runto-main.exp: New file.
9688         * gdb.perf/gmonster2-select-file.exp: New file.
9689         * gdb.perf/gmonster2.cc: New file.
9690         * gdb.perf/gmonster2.exp: New file.
9691
9692 2015-07-24  Doug Evans  <dje@google.com>
9693
9694         * gdb.perf/README: New file.
9695         * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9696         * lib/gen-perf-test.exp: New file.
9697
9698 2015-07-24  Doug Evans  <dje@google.com>
9699
9700         * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9701         (PerfTest::startup): New function.
9702         (PerfTest::run): Return result of calling body.
9703         (PerfTest::assemble): Rewrite.
9704         * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9705         * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9706         * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9707         * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9708         * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9709
9710 2015-07-24  Doug Evans  <dje@google.com>
9711
9712         * lib/gdb.exp (clean_restart): Make executable optional.
9713
9714 2015-07-24  Doug Evans  <dje@google.com>
9715
9716         * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9717         compiler_info references.
9718         * gdb.cp/temargs.exp: Ditto.
9719         * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
9720         (get_compiler_info): Early exit if already computed.  Set compiler_info
9721         to "unknown" if there was a problem.
9722         (test_compiler_info): Add function comment.  Call get_compiler_info.
9723
9724 2015-07-24  Doug Evans  <dje@google.com>
9725
9726         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9727         (workers/%.worker, build-perf): New rule.
9728         (GDB_PERFTEST_MODE): New variable.
9729         (check-perf): Use it.
9730         (clean): Clean up gdb.perf parallel build subdirs.
9731         * lib/build-piece.exp: New file.
9732         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9733         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9734         name.
9735         (standard_temp_file): Ditto.
9736         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9737         of $GDB_PARALLEL.
9738
9739 2015-07-24  Doug Evans  <dje@google.com>
9740
9741         * lib/future.exp (gdb_default_target_compile): New option
9742         "early_flags".
9743         * lib/gdb.exp (gdb_compile): Undo debian's change in default of
9744         --as-needed.
9745
9746 2015-07-24  Sergio Durigan Junior  <sergiodj@redhat.com>
9747
9748         * gdb.base/catch-syscall.exp: Call gdb_exit before
9749         gdb_skip_xml_test.
9750
9751 2015-07-24  Pedro Alves  <palves@redhat.com>
9752
9753         * gdb.python/py-events.exp: Accept output between the stop event
9754         and the prompt.
9755         * gdb.python/py-evsignal.exp: Likewise.
9756         * gdb.python/py-evthreads.exp: Likewise.
9757
9758 2015-07-24  Pedro Alves  <palves@redhat.com>
9759
9760         PR gdb/18717
9761         * gdb.threads/non-ldr-exit.c: New file.
9762         * gdb.threads/non-ldr-exit.exp: New file.
9763
9764 2015-07-24  Yao Qi  <yao.qi@linaro.org>
9765
9766         * gdb.server/ext-wrapper.exp: Test --wrapper option when
9767         restarting process.
9768
9769 2015-07-24  Yao Qi  <yao.qi@linaro.org>
9770
9771         * gdb.server/ext-restart.exp: New file.
9772
9773 2015-07-24  Yao Qi  <yao.qi@linaro.org>
9774
9775         * lib/gdbserver-support.exp (gdbserver_start_extended): Add
9776         argument options.
9777         * gdb.server/ext-wrapper.exp: New file.
9778
9779 2015-07-23  Doug Evans  <dje@google.com>
9780
9781         * gdb.dwarf2/dw2-dummy-cu.S: New file.
9782         * gdb.dwarf2/dw2-dummy-cu.exp: New file.
9783
9784 2015-07-23  Pierre-Marie de Rodat  <derodat@adacore.com>
9785
9786         * gdb.ada/var_arr_typedef.exp: New testcase.
9787         * gdb.ada/var_arr_typedef/pack.adb: New file.
9788         * gdb.ada/var_arr_typedef/pack.ads: New file.
9789         * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
9790
9791 2015-07-20  Joel Brobecker  <brobecker@adacore.com>
9792
9793         * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
9794
9795 2015-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
9796
9797         * gdb.arch/i386-biarch-core.exp: Replace istarget
9798         by "complete set gnutarget". Remove expectation for the "core-file"
9799         command.
9800
9801 2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9802
9803         Revert the previous commit:
9804         Tests for validate symbol file using build-id.
9805
9806 2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
9807
9808         Tests for validate symbol file using build-id.
9809         * gdb.base/solib-mismatch-lib.c: New file.
9810         * gdb.base/solib-mismatch-libmod.c: New file.
9811         * gdb.base/solib-mismatch.c: New file.
9812         * gdb.base/solib-mismatch.exp: New file.
9813
9814 2015-07-15  Sandra Loosemore  <sandra@codesourcery.com>
9815
9816         * gdb.base/sigaltstack.exp (finish_test): Add kfail for
9817         nios2-*-linux*.
9818         * gdb.base/sigbpt.exp (stepi_out): Likewise.
9819         * gdb.base/siginfo.exp: Likewise.
9820         * gdb.base/sigstep.exp (advance, advancei): Likewise.
9821
9822 2015-07-15  Pierre Langlois  <pierre.langlois@arm.com>
9823
9824         * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
9825         Move it to ...
9826         * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
9827         ... here.
9828         * gdb.trace/range-stepping.exp: Check that the target supports
9829         range stepping.
9830
9831 2015-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
9832
9833         * gdb.arch/i386-biarch-core.exp: Fix comment typo.
9834
9835 2015-07-14  Pedro Alves  <palves@redhat.com>
9836
9837         * gdb.base/killed-outside.exp: New file.
9838         * gdb.base/killed-outside.c: New file.
9839
9840 2015-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
9841
9842         * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
9843         (n at main): New.
9844         * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
9845
9846 2015-07-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9847
9848         * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
9849         infcall tests instead of setting up for KFAIL.
9850
9851 2015-07-10  Markus Metzger  <markus.t.metzger@intel.com>
9852
9853         * gdb.btrace/record_goto-step.exp: New.
9854
9855 2015-07-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
9856
9857         PR compile/18484
9858         * gdb.compile/compile.c (struct struct_type): Add volatile to
9859         selffield's type.
9860         * gdb.compile/compile.exp
9861         (compile code struct_object.selffield = &struct_object): Skip further
9862         struct_object tests if this one xfails.
9863
9864 2015-07-08  Robert O'Callahan  <robert@ocallahan.org>
9865
9866         PR exp/18617
9867         * gdb.trace/ax.exp: Add test.
9868
9869 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9870
9871         * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
9872         instead of istarget "aarch64*-*-*".
9873         * gdb.arch/aarch64-fp.exp: Likewise.
9874         * gdb.base/float.exp: Likewise.
9875         * gdb.reverse/aarch64.exp: Likewise.
9876         * lib/gdb.exp (is_aarch64_target): New proc.
9877
9878 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9879
9880         * lib/gdb.exp (is_aarch32_target): New proc.
9881         * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
9882         instead of "istarget "arm*-*-*"".
9883         * gdb.arch/arm-disp-step.exp: Likewise.
9884         * gdb.arch/thumb-bx-pc.exp: Likewise.
9885         * gdb.arch/thumb-prologue.exp: Likewise.
9886         * gdb.arch/thumb-singlestep.exp: Likewise.
9887         * gdb.base/disp-step-syscall.exp: Likewise.
9888         * gdb.base/float.exp: Likewise.
9889
9890 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9891
9892         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
9893         Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
9894
9895 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9896
9897         * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
9898         is aarch64.  If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
9899         if it exists.
9900         * gdb.multi/multi-arch.exp: Likewise.
9901
9902 2015-07-07  Simon Marchi  <simon.marchi@ericsson.com>
9903
9904         * gdb.python/py-lazy-string.exp: Add missing parentheses to
9905         print.
9906
9907 2015-07-07  Yao Qi  <yao.qi@linaro.org>
9908
9909         * gdb.arch/thumb-singlestep.exp: Do one more single step.
9910
9911 2015-06-30  Martin Galvan  <martin.galvan@tallertechnologies.com>
9912
9913         * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
9914         '[' and ']' characters.
9915
9916 2015-06-30  Iain Buclaw  <ibuclaw@gdcproject.org>
9917
9918         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
9919
9920 2015-06-29  Pedro Alves  <palves@redhat.com>
9921
9922         PR threads/18127
9923         * gdb.threads/hand-call-new-thread.c: New file.
9924         * gdb.threads/hand-call-new-thread.c: New file.
9925
9926 2015-06-26  Keith Seitz  <keiths@redhat.com>
9927             Doug Evans  <dje@google.com>
9928
9929         PR 16253
9930         * gdb.cp/var-tag-2.cc: New file.
9931         * gdb.cp/var-tag-3.cc: New file.
9932         * gdb.cp/var-tag-4.cc: New file.
9933         * gdb.cp/var-tag.cc: New file.
9934         * gdb.cp/var-tag.exp: New file.
9935
9936 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
9937
9938         * gdb.base/history-duplicates.exp: New test.
9939
9940 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
9941
9942         * gdb.base/completion.exp: Test the completion of the "focus"
9943         command.
9944
9945 2015-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
9946
9947         * gdb.arch/amd64-prologue-skip.S: New file.
9948         * gdb.arch/amd64-prologue-skip.exp: New file.
9949
9950 2015-06-25  Simon Marchi  <simon.marchi@ericsson.com>
9951
9952         * gdb.python/py-prettyprint.exp (run_lang_tests): Add
9953         is_address_zero_readable check.
9954
9955 2015-06-24  Peter Bergner  <bergner@vnet.ibm.com>
9956
9957         * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
9958         * gdb.arch/powerpc-power.s <rfebb>: Likewise.
9959
9960 2015-06-24  Yao Qi  <yao.qi@linaro.org>
9961
9962         * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
9963         linux targets.
9964
9965 2015-06-24  Yao Qi  <yao.qi@linaro.org>
9966
9967         * lib/gdb.exp (supports_get_siginfo_type): New proc.
9968         * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
9969         * gdb.base/siginfo-thread.exp: Likewise.
9970
9971 2015-06-22  Yao Qi  <yao.qi@linaro.org>
9972
9973         * boards/remote-gdbserver-on-localhost.exp: Add comments.
9974
9975 2015-06-22  Yao Qi  <yao.qi@linaro.org>
9976
9977         * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
9978         aarch64*-*-*.
9979         (skip_hw_watchpoint_tests): Likewise.
9980
9981 2015-06-18  Patrick Palka  <patrick@parcs.ath.cx>
9982
9983         * gdb.base/gdbinit-history.exp: Test the interaction between
9984         setting GDBHISTSIZE and setting the history size via .gdbinit.
9985
9986 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
9987
9988         PR gdb/16999
9989         * gdb.base/gdbhistsize-history.exp: New test.
9990
9991 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
9992
9993         * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
9994         with GDBHISTSIZE.
9995         * gdb.base/readline.exp: Likewise.
9996
9997 2015-06-17  Yao Qi  <yao.qi@linaro.org>
9998
9999         * lib/gdb.exp (get_build_id): Move braces and "else" to the same
10000         line.
10001
10002 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10003
10004         * gdb.base/gdbinit-history.exp: Add test case to check that
10005         an unlimited history file does not get truncated on exit.
10006
10007 2015-06-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10008
10009         * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
10010         (VECTOR): New macro.  Use it...
10011         (int4, uint4, char4, float4, int2, longlong2, float2, double2):
10012         ...for these typedefs.
10013         (int8, char1, int1, double1): New typedefs.
10014         (struct just_int2, struct two_int2): New structures.
10015         (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
10016         (add_structvecs, add_singlevecs): New functions.
10017         (main): Call add_some_intvecs twice.
10018         * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
10019         the compile and exit upon failure.  Try compiling for the "native"
10020         architecture.  Test inferior function calls with vector arguments
10021         and vector return value handling with "finish" and "return".
10022
10023 2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
10024
10025         * gdb.base/sepdebug.exp: Add EXEEXT where needed.
10026         * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
10027         PE file.
10028         * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
10029
10030 2015-06-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10031
10032         PR breakpoints/16465
10033         * gdb.mi/mi-dprintf-pending.c: New file.
10034         * gdb.mi/mi-dprintf-pending.exp: New test.
10035         * gdb.mi/mi-dprintf-pendshr.c: New file.
10036
10037 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10038             Mircea Gherzan  <mircea.gherzan@intel.com>
10039
10040         * gdb.arch/i386-mpx-map.c: New file.
10041         * gdb.arch/i386-mpx-map.exp: New File.
10042
10043 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10044
10045         * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
10046         * gdb.arch/i386-mpx.exp: Indentation fixed.
10047
10048 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10049
10050         * gdb.arch/i386-mpx.c: Added final return to the have_mpx
10051         function and improved indentation.
10052         * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
10053         gdb_test_multiple. Added additional tests to skip the test.
10054
10055 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10056
10057         * gdb.arch/i386-avx512.c: Change path in include file.
10058         * gdb.arch/i386-avx512.exp: Change include dir path
10059         compilation flag.
10060         * gdb.arch/i386-mpx.c: Change path in include file.
10061         * gdb.arch/i386-mpx.exp: Change include dir path compilation
10062         flag.
10063
10064 2015-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
10065
10066         * gdb.compile/compile-print.exp (compile print *vararray@3)
10067         (compile print *vararrayp@3): Change xfail to kfail compile/18489.
10068
10069 2015-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
10070
10071         * gdb.compile/compile.exp (keep jit in memory): Rename to ...
10072         (do not keep jit in memory): ... this.
10073         (expect 5): Change it to ...
10074         (expect no 5): ... this.
10075
10076 2015-06-02  Simon Marchi  <simon.marchi@ericsson.com>
10077
10078         PR gdb/15564
10079         * gdb.mi/mi-detach.exp: New file.
10080
10081 2015-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10082
10083         PR symtab/18392
10084         * gdb.arch/amd64-tailcall-self.S: New file.
10085         * gdb.arch/amd64-tailcall-self.c: New file.
10086         * gdb.arch/amd64-tailcall-self.exp: New file.
10087
10088 2015-05-28  Don Breazeal  <donb@codesourcery.com>
10089
10090         * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10091         tests for remote targets by checking is_target_gdbserver.
10092
10093 2015-05-27  Doug Evans  <dje@google.com>
10094
10095         * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10096         * gdb.dwarf2/opaque-type-lookup.c: New file.
10097         * gdb.dwarf2/opaque-type-lookup.exp: New file.
10098
10099 2015-05-26  Doug Evans  <dje@google.com>
10100
10101         * gdb.cp/iostream.cc: New file.
10102         * gdb.cp/iostream.exp: New file.
10103
10104 2015-05-26  Doug Evans  <dje@google.com>
10105
10106         * gdb.dwarf2/dw2-op-call.exp: Update.
10107         * gdb.dwarf2/dw4-sig-types.exp: Update.
10108         * gdb.dwarf2/implptr.exp: Update.
10109         * gdb.mi/mi-cmd-param-changed.exp: Update.
10110
10111 2015-05-26  Doug Evans  <dje@google.com>
10112
10113         * gdb.python/py-lazy-string.c: New file.
10114         * gdb.python/py-lazy-string.exp: New file.
10115         * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
10116         (main): Update.  Add estring3.
10117         * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
10118         * gdb.python/py-prettyprint.py (pp_ls): Handle length.
10119
10120 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10121             Yao Qi  <yao.qi@linaro.org>
10122
10123         * gdb.reverse/aarch64.c: New.
10124         * gdb.reverse/aarch64.exp: New.
10125
10126 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10127
10128         * lib/gdb.exp (supports_process_record): Return true for
10129         aarch64*-linux*.
10130         (supports_reverse): Likewise.
10131
10132 2015-05-22  Patrick Palka  <patrick@parcs.ath.cx>
10133
10134         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10135         Use with_test_prefix.
10136
10137 2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
10138
10139         * gdb.base/completion.exp: Add test for completion of layout
10140         names.
10141
10142 2015-05-20  Andrew Burgess  <andrew.burgess@embecosm.com>
10143
10144         * lib/gdb.exp (skip_tui_tests): New proc.
10145         * gdb.base/tui-layout.exp: Check skip_tui_tests.
10146
10147 2015-05-19  Pedro Alves  <palves@redhat.com>
10148
10149         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10150         Save the whole env array instead of just HOME.  Unset HISTSIZE in
10151         the environment while testing.  Restore whole environment
10152         afterwards.
10153
10154 2015-05-16  Doug Evans  <xdje42@gmail.com>
10155
10156         * gdb.guile/scm-ports.c: New file.
10157         * gdb.guile/scm-ports.exp: Add memory port tests.
10158
10159 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10160
10161         * gdb.compile/compile-print.c: New file.
10162         * gdb.compile/compile-print.exp: New file.
10163
10164 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10165
10166         * gdb.compile/compile-ops.exp: Cast param to void.
10167         * gdb.compile/compile.exp: Complete type for _gdb_expr.
10168         (compile code struct_object.selffield = &struct_object): Add xfail.
10169
10170 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10171
10172         * gdb.ada/arr_enum_with_gap: New testcase.
10173
10174 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10175
10176         * gdb.ada/byte_packed_arr: New testcase.
10177
10178 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10179
10180         * gdb.ada/pckd_neg: New testcase.
10181
10182 2015-05-13  Patrick Palka  <patrick@parcs.ath.cx>
10183
10184         PR gdb/17820
10185         * gdb.base/gdbinit-history.exp: New test.
10186         * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
10187         * gdb.base/gdbinit-history/zero/.gdbinit: New file.
10188
10189 2015-05-09  Siva Chandra Reddy  <sivachandra@google.com>
10190
10191         * gdb.python/py-xmethods.cc: Enhance test case.
10192         * gdb.python/py-xmethods.exp: New tests.
10193         * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
10194         function.
10195         (B_indexoper): Likewise.
10196         (global_dm_list) : Add new xmethod worker functions.
10197
10198 2015-05-08  Sergio Durigan Junior  <sergiodj@redhat.com>
10199
10200         * gdb.base/coredump-filter.exp: Correctly unset
10201         "coredump_var_addr" array.
10202
10203 2015-05-08  Pedro Alves  <palves@redhat.com>
10204
10205         * gdb.server/non-existing-program.exp: Unset spawn_id.
10206
10207 2015-05-08  Siva Chandra Reddy  <sivachandra@google.com>
10208
10209         PR python/18291
10210         * gdb.python/py-xmethods.exp: Add tests.
10211
10212 2015-05-08  Yao Qi  <yao.qi@linaro.org>
10213
10214         PR gdb/18208
10215         * gdb.base/coredump-filter.c (set_coredump_filter): New function.
10216         * gdb.base/coredump-filter.exp (do_save_core): Call inferior
10217         function set_coredump_filter, and remove remote_exec call.
10218         Remove argument ipid.  Callers update.
10219         (top level): Don't get inferior's PID.
10220
10221 2015-05-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10222
10223         * gdb.base/watch_thread_num.exp: Skip test on targets without
10224         access watchpoints.
10225
10226 2015-05-06  Pedro Alves  <palves@redhat.com>
10227
10228         PR server/18081
10229         * gdb.server/non-existing-program.exp: New file.
10230
10231 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10232
10233         * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
10234
10235 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10236
10237         * gdb.ada/out_of_line_in_inlined: New testcase.
10238
10239 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10240
10241         * gdb.ada/var_rec_arr: New testcase.
10242
10243 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10244
10245         * gdb.base/break-idempotent.exp: If
10246         skip_hw_watchpoint_multi_tests returns true, skip the tests
10247         on "rwatch" and "awatch".
10248
10249 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10250
10251         * gdb.base/relativedebug.exp: Invoke gdb command
10252         "info sharedlibrary", and if libc.so doesn't have debug info,
10253         skip the test.
10254
10255 2015-04-29  Doug Evans  <dje@google.com>
10256
10257         * gdb.python/py-xmethods.exp: Add ptype tests.
10258         * gdb.python/py-xmethods.py (E_method_char_worker): Add
10259         get_result_type method.
10260
10261 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10262
10263         * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
10264         the target does not support hardware watchpoints.
10265
10266 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10267
10268         * gdb.base/break-always.exp: Abort testing if writing to memory
10269         causes an error.
10270
10271 2015-04-28  Doug Evans  <dje@google.com>
10272
10273         * gdb.python/py-pp-maint.py: Move "replace" testing to ...
10274         * gdb.python/py-pp-registration.exp: ... here.  New file.
10275         * gdb.python/py-pp-registration.c: New file.
10276         * gdb.python/py-pp-registration.py: New file.
10277
10278 2015-04-28  Doug Evans  <dje@google.com>
10279
10280         * gdb.python/py-bad-printers.c: New file.
10281         * gdb.python/py-bad-printers.py: New file.
10282         * gdb.python/py-bad-printers.exp: New file.
10283
10284 2015-04-28  Sasha Smundak  <asmundak@google.com>
10285
10286         * gdb.python/py-type.exp: New test.
10287
10288 2015-04-28  Andy Wingo  <wingo@igalia.com>
10289
10290         * gdb.python/py-parameter.exp:
10291         * gdb.guile/scm-parameter.exp: Escape the path that we are
10292         matching against, as it might contain characters that are special
10293         to regular expressions.
10294
10295 2015-04-27  Joel Brobecker  <brobecker@adacore.com>
10296
10297         * gdb.ada/rec_comp: New testcase.
10298
10299 2015-04-26  Sergio Durigan Junior  <sergiodj@redhat.com>
10300
10301         * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
10302         before using it.
10303
10304 2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
10305
10306         * gdb.base/dump.exp: Add *.verilog files to all_files list.  Add
10307         new tests for verilog output.
10308
10309 2015-04-24  Yao Qi  <yao.qi@linaro.org>
10310
10311         * boards/remote-gdbserver-on-localhost.exp: New file.
10312
10313 2015-04-23  Pedro Alves  <palves@redhat.com>
10314
10315         * gdb.base/interrupt.exp: Use an indirect spawn id list holding
10316         $inferior_spawn_id instead of $inferior_spawn_id directly.  On
10317         "end of file", remove $inferior_spawn_id from the indirect list.
10318
10319 2015-04-23  Pedro Alves  <palves@redhat.com>
10320
10321         * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
10322
10323 2015-04-23  Pedro Alves  <palves@redhat.com>
10324
10325         * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
10326         on $any_spawn_id instead of only on $gdb_spawn_id.
10327
10328 2015-04-21  Pierre Muller  <muller@sourceware.org>
10329
10330         PR pascal/17815
10331         * lib/pascal.exp (gpc_compile): Add new option "class".
10332         (fpc_compile): Likewise.
10333         * gdb.pascal/case-insensitive-symbols.pas: New file.
10334         * gdb.pascal/case-insensitive-symbols.exp: New file.
10335
10336 2015-04-20  Gary Benson <gbenson@redhat.com>
10337
10338         * gdb.base/attach.exp: Fix three extended remote failures.
10339
10340 2015-04-17  Gary Benson <gbenson@redhat.com>
10341
10342         * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
10343         the main executable over the remote protocol.
10344
10345 2015-04-16  Pedro Alves  <palves@redhat.com>
10346
10347         * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
10348         a new gdbserver if gdbserver_reconnect_p is set.
10349
10350 2015-04-16  Pedro Alves  <palves@redhat.com>
10351
10352         * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
10353         is set, don't exit gdbserver.
10354
10355 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10356
10357         * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
10358         appropriate .insn, such that an older assembler can be used.
10359         * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
10360         the z/Architecture instruction set on 31-bit targets as well.
10361
10362 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10363
10364         * gdb.go/handcall.exp: Remove all logic related to the first
10365         breakpoint and rely on go_runto_main instead.
10366         * gdb.go/strings.exp: Likewise.
10367         * gdb.go/unsafe.exp: Likewise.
10368         * gdb.go/hello.exp: Likewise.  Also rename the remaining
10369         breakpoint marker to "breakpoint 1".
10370         * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
10371         * gdb.go/strings.go: Likewise.
10372         * gdb.go/unsafe.go: Likewise.
10373         * gdb.go/hello.go: Likewise.  Also remove the second occurrence of
10374         "set breakpoint 2 here" and rename the remaining breakpoint marker
10375         to "breakpoint 1".
10376
10377 2015-04-15  Simon Marchi  <simon.marchi@ericsson.com>
10378
10379         * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
10380         if itertools.imap is not present.
10381         * gdb.python/py-objfile.exp: Add parentheses.
10382         * gdb.python/py-type.exp: Same.
10383         * gdb.python/py-unwind-maint.py: Same.
10384
10385 2015-04-15  Yao Qi  <yao.qi@linaro.org>
10386
10387         * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
10388         of ":$ptr_size" and set its form explicitly.
10389
10390 2015-04-15  Pedro Alves  <palves@redhat.com>
10391             Yao Qi  <yao.qi@linaro.org>
10392
10393         * gdb.base/watch-bitfields.exp (test_watch_location): Increase
10394         timeout by factor of 4.
10395         (test_regular_watch): Likewise.
10396         * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
10397         * gdb.reverse/sigall-reverse.exp: Likewise.
10398         * gdb.reverse/until-precsave.exp: Likewise.
10399         * lib/gdb.exp (with_timeout_factor): New proc.
10400         (gdb_expect): Move some code to ...
10401         (get_largest_timeout): ... here.  New procedure.
10402
10403 2015-04-14  Luis Machado  <lgustavo@codesourcery.com>
10404
10405         * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10406
10407 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10408
10409         * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10410         to write to the .text section.
10411
10412 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10413
10414         * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10415         Handle the case of targets that do not provide PID information.
10416
10417 2015-04-13  Yao Qi  <yao.qi@linaro.org>
10418
10419         * lib/gdbserver-support.exp (gdb_exit): Catch exception
10420         and use expect instead of gdb_expect.
10421
10422 2015-04-13  Sergio Durigan Junior  <sergiodj@redhat.com>
10423
10424         * gdb.base/coredump-filter.exp: Rename variable "addr" to
10425         "coredump_var_addr" to avoid naming conflict with other testcases.
10426
10427 2015-04-10  Pedro Alves  <palves@redhat.com>
10428
10429         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10430         gdb_test_sequence and gdb_assert.
10431
10432 2015-04-10  Pedro Alves  <palves@redhat.com>
10433
10434         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10435         test messages that don't include the breakpoint address.
10436
10437 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10438
10439         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10440         false for some offset and width combinations which aren't
10441         supported by linux kernel.
10442
10443 2015-04-10  Pedro Alves  <palves@redhat.com>
10444
10445         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10446         procedure, factored out from ...
10447         (top level): ... here.  Add "set displaced-stepping" testing axis.
10448         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10449         parameter "displaced".  Use it.
10450         (top level): Use foreach and add "set displaced-stepping" testing
10451         axis.
10452
10453 2015-04-10  Pedro Alves  <palves@redhat.com>
10454
10455         * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10456         Remove comment.
10457         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10458         both the address of the instruction that triggers the watchpoint
10459         and the address of the instruction immediately after, and use
10460         those addresses for the test.  Fix comment.
10461
10462 2015-04-10  Pedro Alves  <palves@redhat.com>
10463
10464         * gdb.base/sigstep.exp (breakpoint_to_handler)
10465         (breakpoint_to_handler_entry): New parameter 'displaced'.  Use it.
10466         Test "backtrace" in handler.
10467         (breakpoint_over_handler): New parameter 'displaced'.  Use it.
10468         (top level): Add new "displaced" test axis to
10469         breakpoint_to_handler, breakpoint_to_handler_entry and
10470         breakpoint_over_handler.
10471
10472 2015-04-10  Pedro Alves  <palves@redhat.com>
10473
10474         PR gdb/18216
10475         * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10476
10477 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10478
10479         * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10480         (test_add_rn_pc): New function.
10481         * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10482         (top level): Invoke test_add_rn_pc.
10483
10484 2015-04-10  Pedro Alves  <palves@redhat.com>
10485
10486         PR gdb/13858
10487         * gdb.base/step-over-no-symbols.exp: New file.
10488
10489 2015-04-09  Andy Wingo  <wingo@igalia.com>
10490
10491         * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
10492         after the Python tests.
10493
10494 2015-04-08  Keith Seitz  <keiths@redhat.com>
10495
10496         PR python/16699
10497         * gdb.python/py-completion.exp: New tests for completion.
10498         * gdb.python/py-completion.py (CompleteLimit1): New class.
10499         (CompleteLimit2): Likewise.
10500         (CompleteLimit3): Likewise.
10501         (CompleteLimit4): Likewise.
10502         (CompleteLimit5): Likewise.
10503         (CompleteLimit6): Likewise.
10504         (CompleteLimit7): Likewise.
10505
10506 2015-04-08  Pedro Alves  <palves@redhat.com>
10507
10508         PR gdb/18214
10509         PR gdb/18216
10510         * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10511         function.
10512         (main): Install it as SIGUSR1 handler.
10513         * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10514         parameter.  Always use "setup" as prefix.  Toggle "set
10515         displaced-stepping" off/on depending on global.  Don't switch to
10516         thread 1 here.
10517         (top level): Add displaced stepping "off/on" test axis.  Update
10518         "setup" calls.  Wrap each subtest with with_test_prefix.  Test
10519         continuing with a queued signal in each thread.
10520
10521 2015-04-08  Pedro Alves  <palves@redhat.com>
10522
10523         * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10524         * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd.  Use
10525         gdb_breakpoint instead of gdb_test that doesn't expect anything.
10526         Return early if running to main fails.
10527         * gdb.trace/while-stepping.exp: Likewise.
10528
10529 2015-04-07  Pedro Alves  <palves@redhat.com>
10530
10531         * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10532         $gdb_spawn_id.  Use send_inferior and $inferior_spawn_id to
10533         interact with inferior program.
10534
10535 2015-04-07  Pedro Alves  <palves@redhat.com>
10536
10537         * lib/gdb.exp (inferior_spawn_id): New global.
10538         (gdb_test_multiple): Handle "-i".  Reset the spawn id to GDB's
10539         spawn id after processing the user code.
10540         (default_gdb_start): Set inferior_spawn_id.
10541         (send_inferior): New procedure.
10542         * lib/gdbserver-support.exp (gdbserver_start): Set
10543         inferior_spawn_id.
10544         (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10545
10546 2015-04-07  Pedro Alves  <palves@redhat.com>
10547
10548         * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10549         * lib/gdbserver-support.exp (gdbserver_start): Make
10550         $server_spawn_id global.
10551         (gdbserver_start): Don't wait for gdbserver's spawn id with
10552         expect_background.
10553         (close_gdbserver): New procedure.
10554         (gdb_exit): Rename the default version and reimplement.
10555
10556 2015-04-07  Pedro Alves  <palves@redhat.com>
10557
10558         * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10559         append the substituted item, not the original item.
10560
10561 2015-04-07  Pedro Alves  <palves@redhat.com>
10562
10563         * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10564         gdb_expect.
10565
10566 2015-04-07  Pedro Alves  <palves@redhat.com>
10567
10568         * gdb.base/interrupt.exp: Don't handle the case of the inferior
10569         output appearing once only.
10570
10571 2015-04-07  Pedro Alves  <palves@redhat.com>
10572
10573         * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10574         that doesn't expect anything.  Return early if running to main
10575         fails.
10576
10577 2015-04-07  Yao Qi  <yao.qi@linaro.org>
10578
10579         * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10580         (child_function): Call alarm.
10581         (main): Move call to alarm into the loop.
10582         * gdb.threads/non-stop-fair-events.exp: Build program with
10583         -DTIMEOUT=$timeout.
10584
10585 2015-04-06  Doug Evans  <xdje42@gmail.com>
10586
10587         * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10588         Fix dest parameter to board_info.
10589         (fpc_compile): Ditto.
10590         (gdb_compile_pascal): Rename dest arg to destfile.
10591
10592 2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
10593
10594         * gdb.ada/funcall_ref.exp: New file.
10595         * gdb.ada/funcall_ref/foo.adb: New file.
10596
10597 2015-04-02  Yao Qi  <yao.qi@linaro.org>
10598
10599         * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10600         is remote.
10601
10602 2015-04-02  Gary Benson <gbenson@redhat.com>
10603
10604         * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10605
10606 2015-04-01  Sasha Smundak  <asmundak@google.com>
10607
10608         * gdb.python/py-unwind-maint.c: New file.
10609         * gdb.python/py-unwind-maint.exp: New test.
10610         * gdb.python/py-unwind-maint.py: New file.
10611         * gdb.python/py-unwind.c: New file.
10612         * gdb.python/py-unwind.exp: New test.
10613         * gdb.python/py-unwind.py: New test.
10614
10615 2015-04-01  Pedro Alves  <palves@redhat.com>
10616
10617         * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10618         to fail instead of non-existent $test.
10619
10620 2015-04-01  Pedro Alves  <palves@redhat.com>
10621
10622         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10623         GDBFLAGS if not empty.
10624
10625 2015-04-01  Pierre-Marie de Rodat  <derodat@adacore.com>
10626
10627         * gdb.ada/complete.exp: Remove "multi_line".
10628         * gdb.ada/info_exc.exp: Remove "multi_line".
10629         * gdb.ada/packed_tagged.exp: Remove "multi_line".
10630         * gdb.ada/ptype_field.exp: Remove "multi_line".
10631         * gdb.ada/sym_print_name.exp: Remove "multi_line".
10632         * gdb.ada/tagged.exp: Remove "multi_line".
10633         * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10634         [multi_line ...]
10635         * gdb.btrace/delta.exp: Likewise.
10636         * gdb.btrace/exception.exp: Likewise.
10637         * gdb.btrace/function_call_history.exp: Likewise.
10638         * gdb.btrace/instruction_history.exp: Likewise.
10639         * gdb.btrace/nohist.exp: Likewise.
10640         * gdb.btrace/record_goto.exp: Likewise.
10641         * gdb.btrace/segv.exp: Likewise.
10642         * gdb.btrace/stepi.exp: Likewise.
10643         * gdb.btrace/tailcall.exp: Likewise.
10644         * gdb.btrace/unknown_functions.exp: Likewise.
10645         * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10646         * lib/gdb.exp: Add the "multi_line" helper.
10647
10648 2015-04-01  Pedro Alves  <palves@redhat.com>
10649
10650         * gdb.threads/tid-reuse.c: New file.
10651         * gdb.threads/tid-reuse.exp: New file.
10652
10653 2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
10654
10655         PR corefiles/16092
10656         * gdb.base/coredump-filter.c: New file.
10657         * gdb.base/coredump-filter.exp: Likewise.
10658
10659 2015-03-27  Petr Machata  <pmachata@redhat.com>
10660
10661         * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10662         (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10663         (Dwarf::assemble): Initialize them.
10664         (Dwarf::lines): New function.
10665
10666 2015-03-26  Jon Turney  <jon.turney@dronecode.org.uk>
10667
10668         * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10669         SYMBOL_PREFIX for x86_64-*-cygwin.
10670
10671 2015-03-26  Andy Wingo  <wingo@igalia.com>
10672
10673         PR symtab/18148
10674         * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10675         const_value but not a location.
10676         * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10677         location defined in non-main CUs are visible.
10678
10679 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10680
10681         PR testsuite/18139
10682         * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10683         Add a line number entry for the same line.
10684         * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10685         Add a line number entry for the same line.
10686
10687 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10688
10689         * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10690         .int 0.
10691         (func): Likewise.  Add .Lfunc_1 label.
10692         Use .Lfunc_1 label.
10693         * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10694         .int 0.
10695         (func): Likewise.
10696         Use .Lfunc_1 label.
10697
10698 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10699
10700         * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10701         Call gdb_compile instead to compile each .s files without debug
10702         information.
10703
10704 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10705
10706         * gdb.base/savedregs.exp (process_saved_regs): Make
10707         "Saved registers:" optional in the pattern.
10708
10709 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
10710
10711         * gdb.btrace/next.exp: Merged into step.exp.
10712         * gdb.btrace/finish.exp: Merged into step.exp.
10713         * gdb.btrace/nexti.exp: Merged into stepi.exp.
10714         * gdb.btrace/step.exp: Use record_goto.c as test file.  Avoid using
10715         "record goto" and checking the exact replay position.
10716         * gdb.btrace/stepi.exp: Choose test file based on target.  Do not
10717         check for "Recording format" in "info record" output.
10718         * gdb.btrace/record_goto.exp: Choose test file based on target.
10719         * gdb.btrace/x86-record_goto.S: Renamed into ...
10720         * gdb.btrace/x86_64-record_goto.S: ... this.
10721         * gdb.btrace/i686-record_goto.S: New.
10722         * gdb.btrace/x86-tailcall.S: Renamed into ...
10723         * gdb.btrace/x86_64-tailcall.S: ... this.
10724         * gdb.btrace/i686-tailcall.S: New.
10725         * gdb.btrace/x86-tailcall.c: Renamed into ...
10726         * gdb.btrace/tailcall.c: ... this.  Split "return ++answer" into two
10727         separate statements.  Update test.
10728         * gdb.btrace/delta.exp: Use record_goto.c as test file.
10729         * gdb.btrace/gcore.exp: Use record_goto.c as test file.
10730         * gdb.btrace/nohist.exp: Use record_goto.c as test file.
10731         * gdb.btrace/tailcall.exp: Choose test file based on target.
10732         * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
10733
10734 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
10735
10736         * gdb.btrace/exception.exp: Increase BTS buffer size.
10737
10738 2015-03-24  Pedro Alves  <palves@redhat.com>
10739
10740         * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
10741
10742 2015-03-24  Pedro Alves  <palves@redhat.com>
10743
10744         * gdb.threads/schedlock.exp (test_step): No longer expect that
10745         "set scheduler-locking step" with "next" over a function call runs
10746         threads unlocked.
10747
10748 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10749
10750         * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
10751
10752 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10753
10754         PR breakpoints/16466
10755         * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
10756         * gdb.mi/mi-pending.c (thread_func): New function.
10757         (int main): Add threading support required.
10758         * gdb.mi/mi-pending.exp: Add tests for this issue.
10759         * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
10760         (pendfunc2): Remove stdio dependency.
10761         * gdb.mi/mi-pendshr2.c: New file.
10762
10763 2015-03-23  Keith Seitz  <keiths@redhat.com>
10764
10765         * gdb.linespec/keywords.c: New file.
10766         * gdb.linespec/keywords.exp: New file.
10767
10768 2015-03-23  Keith Seitz  <keiths@redhat.com>
10769
10770         PR gdb/18021
10771         * gdb.dwarf2/staticvirtual.exp: New test.
10772
10773 2015-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
10774
10775         * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
10776         * README: Remove HP-UX and gdb.hp.
10777         (configuration):
10778         * configure: Regenerate.
10779         * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
10780         gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
10781         gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
10782         gdb.hp/gdb.defects/Makefile.
10783         * gdb.hp/Makefile.in: File deleted.
10784         * gdb.hp/gdb.aCC/Makefile.in: File deleted.
10785         * gdb.hp/gdb.aCC/optimize.c: File deleted.
10786         * gdb.hp/gdb.aCC/optimize.exp: File deleted.
10787         * gdb.hp/gdb.aCC/run.c: File deleted.
10788         * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
10789         * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
10790         * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
10791         * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
10792         * gdb.hp/gdb.base-hp/dollar.c: File deleted.
10793         * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
10794         * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
10795         * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
10796         * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
10797         * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
10798         * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
10799         * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
10800         * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
10801         * gdb.hp/gdb.base-hp/reg.exp: File deleted.
10802         * gdb.hp/gdb.base-hp/reg.s: File deleted.
10803         * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
10804         * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
10805         * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
10806         * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
10807         * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
10808         * gdb.hp/gdb.compat/Makefile.in: File deleted.
10809         * gdb.hp/gdb.compat/average.c: File deleted.
10810         * gdb.hp/gdb.compat/sum.c: File deleted.
10811         * gdb.hp/gdb.compat/xdb.c: File deleted.
10812         * gdb.hp/gdb.compat/xdb0.c: File deleted.
10813         * gdb.hp/gdb.compat/xdb0.h: File deleted.
10814         * gdb.hp/gdb.compat/xdb1.c: File deleted.
10815         * gdb.hp/gdb.compat/xdb1.exp: File deleted.
10816         * gdb.hp/gdb.compat/xdb2.exp: File deleted.
10817         * gdb.hp/gdb.compat/xdb3.exp: File deleted.
10818         * gdb.hp/gdb.defects/Makefile.in: File deleted.
10819         * gdb.hp/gdb.defects/bs14602.c: File deleted.
10820         * gdb.hp/gdb.defects/bs14602.exp: File deleted.
10821         * gdb.hp/gdb.defects/solib-d.c: File deleted.
10822         * gdb.hp/gdb.defects/solib-d.exp: File deleted.
10823         * gdb.hp/gdb.defects/solib-d1.c: File deleted.
10824         * gdb.hp/gdb.defects/solib-d2.c: File deleted.
10825         * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
10826         * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
10827         * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
10828         * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
10829         * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
10830         * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
10831         * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
10832         * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
10833         * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
10834         * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
10835         * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
10836         * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
10837         * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
10838         * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
10839         * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
10840         * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
10841         * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
10842         * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
10843         * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
10844         * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
10845         * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
10846         * gdb.hp/tools/odump: File deleted.
10847
10848 2015-03-19  Pedro Alves  <palves@redhat.com>
10849
10850         * gdb.threads/continue-pending-status.exp (saw_thread_2)
10851         (saw_thread_3): New globals.
10852         (top level): Increment them when an event for the corresponding
10853         thread is seen.
10854         (no thread starvation): New test.
10855
10856 2015-03-19  Pedro Alves  <palves@redhat.com>
10857
10858         * gdb.threads/continue-pending-status.c: New file.
10859         * gdb.threads/continue-pending-status.exp: New file.
10860
10861 2015-03-18  Pedro Alves  <palves@redhat.com>
10862
10863         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
10864         Use gdb_is_target_remote instead of is_remote.  Use
10865         gdb_test_multiple instead of gdb_expect.  Exit early if
10866         gdb_test_multiple hits its internal matches.  Tighten stepi tests
10867         expected output.  Fail on exit with any signal, instead of just
10868         SIGILL.
10869
10870 2015-03-18  Yao Qi  <yao.qi@linaro.org>
10871
10872         PR tdep/18107
10873         * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
10874         variable.
10875         * gdb.base/catch-syscall.exp: Don't skip it on
10876         aarch64*-*-linux* target.  Remove elements in all_syscalls.
10877         (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
10878         target.
10879         (setup_all_syscalls): New proc.
10880
10881 2015-03-16  Yao Qi  <yao.qi@linaro.org>
10882
10883         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
10884         (top level): Skip tests if valid_addr_p returns false for
10885         $cmd1 or $cmd2.
10886
10887 2015-03-11  Andy Wingo  <wingo@igalia.com>
10888
10889         * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
10890
10891 2015-03-11  Yao Qi  <yao.qi@linaro.org>
10892
10893         * gdb.base/catch-syscall.exp: Fix typo in comments.
10894
10895 2015-03-11  Yao Qi  <yao.qi@linaro.org>
10896
10897         * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
10898
10899 2015-03-09  Pedro Alves  <palves@redhat.com>
10900
10901         * dg-extract-results.py: Delete.
10902
10903 2015-03-09  Pedro Alves  <palves@redhat.com>
10904
10905         Merge dg-extract-results.sh from GCC upstream (r218843).
10906
10907         2014-12-17  Sergio Durigan Junior  <sergiodj@redhat.com>
10908                 * dg-extract-results.sh: Use --text with grep to avoid issues with
10909                 binary files.  Fall back to cat -v, if that doesn't work.
10910
10911 2015-03-05  Pedro Alves  <palves@redhat.com>
10912
10913         * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
10914
10915 2015-03-04  Simon Marchi  <simon.marchi@ericsson.com>
10916
10917         * lib/mi-support.exp (mi_expect_interrupt): Accept
10918         alternative event for when in all-stop mode.
10919
10920 2015-03-04  Pedro Alves  <palves@redhat.com>
10921
10922         * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
10923
10924 2015-03-04  Mark Kettenis  <kettenis@gnu.org>
10925
10926         * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
10927
10928 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10929
10930         * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
10931         regexps for GDB's current line display, accept a hex address
10932         preceding the line number.
10933
10934 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10935
10936         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
10937         the 'arch1' variable for "s390*-linux*" targets.
10938
10939 2015-03-04  Pedro Alves  <palves@redhat.com>
10940
10941         * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
10942         (main): Pass missing retval argument to pthread_join call.
10943
10944 2015-03-02  Pedro Alves  <palves@redhat.com>
10945
10946         * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
10947         (top level): Call do_test with non-stop as well.
10948
10949 2015-03-02  Pedro Alves  <palves@redhat.com>
10950
10951         * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
10952         -1.
10953
10954 2015-03-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10955
10956         * gdb.arch/s390-vregs.exp: New test.
10957         * gdb.arch/s390-vregs.S: New file.
10958
10959 2015-02-27  Pedro Alves  <palves@redhat.com>
10960
10961         * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
10962         call to catch_command_errors.
10963         * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
10964         catch_command_errors.
10965
10966 2015-02-27  Pedro Alves  <palves@redhat.com>
10967
10968         * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
10969         "true" for boolean result.
10970         * gdb.gdb/selftest.exp (test_with_self): Also accept full
10971         prototype of main.
10972
10973 2015-02-27  Pedro Alves  <palves@redhat.com>
10974
10975         * lib/unbuffer_output.c: New file.
10976         * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
10977         (main): Call gdb_unbuffer_output.
10978
10979 2015-02-27  Yao Qi  <yao.qi@linaro.org>
10980
10981         * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
10982         target.
10983
10984 2015-02-26  Doug Evans  <dje@google.com>
10985
10986         * gdb.cp/class2.cc (Dbase, D): New classes.
10987         (main): New local delta.
10988         * gdb.cp/class2.exp: Test printing delta.
10989         * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
10990         (dynbar): New global.
10991         * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
10992
10993 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
10994
10995         * gdb.compile/compile-ifunc.c: New file.
10996         * gdb.compile/compile-ifunc.exp: New file.
10997
10998 2015-02-26  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10999
11000         * gdb.base/structs.exp: Check for correct struct on finish.
11001
11002 2015-02-26  Yao Qi  <yao.qi@linaro.org>
11003
11004         * lib/dwarf.exp (function_range): Adjust pattern when $func_length
11005         is zero.
11006
11007 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
11008
11009         * gdb.arch/cordic.ko.bz2: New file.
11010         * gdb.arch/cordic.ko.debug.bz2: New file.
11011         * gdb.arch/ppc64-symtab-cordic.exp: New file.
11012
11013 2015-02-25  Yao Qi  <yao.qi@linaro.org>
11014
11015         * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
11016         aarch64*-*-* target.
11017
11018 2015-02-23  Pedro Alves  <palves@redhat.com>
11019
11020         * lib/gdb.exp (delete_breakpoints): Rewrite using
11021         gdb_test_multiple.
11022
11023 2015-02-23  Pedro Alves  <palves@redhat.com>
11024
11025         * gdb.base/info-os.c: Include stdlib.h.
11026
11027 2015-02-22  Doug Evans  <xdje42@gmail.com>
11028
11029         PR symtab/17855
11030         * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
11031         is read after symbols have been re-read.
11032         * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
11033         * gdb.ada/exec_changed/second.adb (Second): Ditto.
11034
11035 2015-02-21  Doug Evans  <dje@google.com>
11036
11037         * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
11038
11039 2015-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
11040
11041         PR corefiles/17808
11042         * gdb.arch/i386-biarch-core.core.bz2: New file.
11043         * gdb.arch/i386-biarch-core.exp: New file.
11044
11045 2015-02-21  Pedro Alves  <palves@redhat.com>
11046
11047         * gdb.threads/multi-create-ns-info-thr.exp: Return early if
11048         runto_main fails.
11049
11050 2015-02-20  Pedro Alves  <palves@redhat.com>
11051
11052         * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
11053         info probes.
11054
11055 2015-02-20  Pedro Alves  <palves@redhat.com>
11056
11057         * gdb.threads/multi-create-ns-info-thr.exp: New file.
11058
11059 2015-02-20  Pedro Alves  <palves@redhat.com>
11060
11061         * gdb.trace/no-attach-trace.exp: Don't run to main.  Do
11062         clean_restart before gdb_target_supports_trace.
11063
11064 2015-02-20  Pedro Alves  <palves@redhat.com>
11065
11066         PR threads/18006
11067         * gdb.threads/clone-thread_db.c: New file.
11068         * gdb.threads/clone-thread_db.exp: New file.
11069
11070 2015-02-19  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11071
11072         PR breakpoints/16812
11073         * gdb.base/catch-gdb-caused-signals.c: New file.
11074         * gdb.base/catch-gdb-caused-signals.exp: New file.
11075
11076 2015-02-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
11077
11078         * configure: Regenerated.
11079         * configure.ac: Use GDB_AC_TRANSFORM.
11080         * aclocal.m4: sinclude ../transform.m4.
11081
11082 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11083
11084         * lib/dtrace.exp: New file.
11085         * gdb.base/dtrace-probe.exp: Likewise.
11086         * gdb.base/dtrace-probe.d: Likewise.
11087         * gdb.base/dtrace-probe.c: Likewise.
11088         * lib/pdtrace.in: Likewise.
11089         * configure.ac: Output variables with the transformed names of
11090         the strip, readelf, as and nm tools.  AC_SUBST lib/pdtrace.in.
11091         * configure: Regenerated.
11092
11093 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11094
11095         * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11096         expected message when trying to access $_probe_* convenience
11097         variables while not on a probe.
11098
11099 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11100
11101         * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11102
11103 2015-02-11  Pedro Alves  <pedro@codesourcery.com>
11104
11105         * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11106         * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
11107
11108 2015-02-10  Doug Evans  <xdje42@gmail.com>
11109
11110         * lib/gdb.exp (gdb_load): Always return a result.
11111
11112 2015-02-10  Pedro Alves  <palves@redhat.com>
11113
11114         * gdb.threads/signal-sigtrap.c: New file.
11115         * gdb.threads/signal-sigtrap.exp: New file.
11116
11117 2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
11118
11119         * gdb.trace/no-attach-trace.c: New file.
11120         * gdb.trace/no-attach-trace.exp: New file.
11121
11122 2015-02-09  Mark Wielaard  <mjw@redhat.com>
11123
11124         * gdb.dwarf2/atomic.c: New file.
11125         * gdb.dwarf2/atomic-type.exp: Likewise.
11126
11127 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11128
11129         * gdb.btrace/buffer-size.exp: Update "info record" output.
11130         * gdb.btrace/delta.exp: Update "info record" output.
11131         * gdb.btrace/enable.exp: Update "info record" output.
11132         * gdb.btrace/finish.exp: Update "info record" output.
11133         * gdb.btrace/instruction_history.exp: Update "info record" output.
11134         * gdb.btrace/next.exp: Update "info record" output.
11135         * gdb.btrace/nexti.exp: Update "info record" output.
11136         * gdb.btrace/step.exp: Update "info record" output.
11137         * gdb.btrace/stepi.exp: Update "info record" output.
11138         * gdb.btrace/nohist.exp: Update "info record" output.
11139
11140 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11141
11142         * gdb.btrace/buffer-size: New.
11143
11144 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11145
11146         * gdb.btrace/delta.exp: Update "info record" output.
11147         * gdb.btrace/enable.exp: Update "info record" output.
11148         * gdb.btrace/finish.exp: Update "info record" output.
11149         * gdb.btrace/instruction_history.exp: Update "info record" output.
11150         * gdb.btrace/next.exp: Update "info record" output.
11151         * gdb.btrace/nexti.exp: Update "info record" output.
11152         * gdb.btrace/step.exp: Update "info record" output.
11153         * gdb.btrace/stepi.exp: Update "info record" output.
11154         * gdb.btrace/nohist.exp: Update "info record" output.
11155
11156 2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
11157
11158         PR gdb/15678
11159         * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
11160
11161 2015-02-06  Pedro Alves  <palves@redhat.com>
11162
11163         * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
11164         macro.
11165         (seconds_left, again): New globals.
11166         (main): Wait seconds_left in a 1-second sleep loop instead of
11167         sleeping 180 seconds.  If 'again' is set, reset the seconds
11168         counter.
11169         * gdb.threads/attach-many-short-lived-threads.exp (test): Set
11170         'again' in the inferior before detaching.  Print the seconds left.
11171         (options): New global.
11172         (top level): Build program with -DTIMEOUT=$timeout.
11173
11174 2015-02-06  Pedro Alves  <palves@redhat.com>
11175
11176         * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
11177         determine how many seconds to pass to 'alarm'.
11178         * gdb.base/gdb-sigterm.exp (top level): Build program with
11179         -DTIMEOUT=$timeout.
11180         (do_test): Return success/failure indication.  Add more verbose
11181         logging.  Don't fail if 200 single steps are seen.  Instead, fail
11182         when the test times out.
11183         (passes): New global.
11184         (top level): Break the testing loop if testing fails on any
11185         iteration.  Use gdb_assert.
11186
11187 2015-02-04  Don Breazeal  <donb@codesourcery.com>
11188
11189         * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
11190         and initialize them.
11191         (ipc_cleanup): New function.
11192         (main): Don't declare shmid, semid, and msqid.  Add a call to
11193         atexit so that we call ipc_cleanup on exit.
11194
11195 2015-02-04  Pedro Alves  <palves@redhat.com>
11196
11197         * boards/native-extended-gdbserver.exp: Remove any target variant
11198         specifications from the board name before clearing the isremote
11199         flag from board_info.
11200
11201 2015-01-31  Doug Evans  <xdje42@gmail.com>
11202
11203         * gdb.base/maint.exp <maint print type argc>: Update expected output.
11204
11205 2015-01-31  Gary Benson <gbenson@redhat.com>
11206
11207         * gdb.base/completion.exp: Disable completion limiting for
11208         existing tests.  Add new tests to check completion limiting.
11209         * gdb.linespec/ls-errs.exp: Disable completion limiting.
11210
11211 2015-01-31  Doug Evans  <xdje42@gmail.com>
11212
11213         * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
11214
11215 2015-01-31  Doug Evans  <xdje42@gmail.com>
11216
11217         * gdb.guile/scm-section-script.c: Add duplicate inlined section script
11218         entries.  Duplicate file section script entries.
11219         * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
11220         inlined entries.  Add test for safe-path rejection.
11221         * gdb.python/py-section-script.c: Add duplicate inlined section script
11222         entries.  Duplicate file section script entries.
11223         * gdb.python/py-section-script.exp: Add tests for duplicate entries,
11224         inlined entries.  Add test for safe-path rejection.
11225
11226 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11227
11228         * gdb.ada/disc_arr_bound: New testcase.
11229
11230 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11231
11232         * gdb.ada/mi_var_array: New testcase.
11233
11234 2015-01-27  Doug Evans  <dje@google.com>
11235
11236         * gdb.python/py-objfile.exp: Add tests for objfile.username.
11237         Add test for objfile.filename, objfile.username after objfile
11238         has been unloaded.
11239
11240 2015-01-26  Joel Brobecker  <brobecker@adacore.com>
11241
11242         * gdb.python/py-lookup-type.exp (test_lookup_type): Change
11243         the second test to print the name attribute of value
11244         returned by the call to gdb.lookup_type, and adjust
11245         the expected output accordingly.
11246
11247 2015-01-25  Mark Wielaard  <mjw@redhat.com>
11248
11249         * gdb.arch/i386-bp_permanent.c (standard): New declaration.
11250         * gdb.base/disp-step-fork.c: Include unistd.h.
11251         * gdb.base/siginfo-obj.c: Include stdio.h.
11252         * gdb.base/siginfo-thread.c: Likewise.
11253         * gdb.mi/non-stop.c: Include unistd.h.
11254         * gdb.mi/nsthrexec.c: Include stdio.h.
11255         * gdb.mi/pthreads.c: Include unistd.h.
11256         * gdb.modula2/unbounded1.c (main): Declare returns int.
11257         * gdb.reverse/consecutive-reverse.c: Likewise.
11258         * gdb.threads/create-fail.c: Include unistd.h.
11259         * gdb.threads/killed.c: Likewise.
11260         * gdb.threads/linux-dp.c: Likewise.
11261         * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
11262         * gdb.threads/non-ldr-exc-2.c: Likewise.
11263         * gdb.threads/non-ldr-exc-3.c: Likewise.
11264         * gdb.threads/non-ldr-exc-4.c: Likewise.
11265         * gdb.threads/pthreads.c: Include unistd.h.
11266         (main): Declare returns int.
11267         * gdb.threads/tls-main.c (foo): New declaration.
11268         * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
11269
11270 2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
11271
11272         * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
11273         * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
11274
11275 2015-01-15  Mark Wielaard  <mjw@redhat.com>
11276
11277         * gdb.base/noreturn-return.c: New file.
11278         * gdb.base/noreturn-return.exp: New file.
11279         * gdb.base/noreturn-finish.c: New file.
11280         * gdb.base/noreturn-finish.exp: New file.
11281
11282 2015-01-23  Pedro Alves  <palves@redhat.com>
11283
11284         * gdb.threads/continue-pending-after-query.c: New file.
11285         * gdb.threads/continue-pending-after-query.exp: New file.
11286
11287 2015-01-22  Anders Granlund  <anders.granlund@ericsson.com>
11288             Simon Marchi  <simon.marchi@ericsson.com>
11289
11290         * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
11291         * gdb.base/valgrind-db-attach.exp: Same.
11292         * gdb.base/valgrind-infcall.exp: Same.
11293         * lib/mi-support.exp (default_mi_gdb_start): Same.
11294         * lib/prompt.exp (default_prompt_gdb_start): Same.
11295         * lib/gdb.exp (default_gdb_spawn): Same.
11296         (gdb_interact): New.
11297
11298
11299 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
11300
11301         * gdb.compile/compile.exp (pointer to jit function): New test.
11302
11303 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
11304
11305         * lib/gdb.exp (supports_process_record): Return true for
11306         powerpc*-*-linux*.
11307         (supports_reverse): Likewise.
11308
11309 2015-01-15  Don Breazeal  <donb@codesourcery.com>
11310
11311         * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
11312         instead of checking whether the target board is remote and
11313         use spawn_wait_for_attach instead of exec/sleep.
11314         * gdb.base/attach-twice.exp: Likewise.
11315
11316 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
11317
11318         * gdb.ada/var_arr_attrs: New testcase.
11319
11320 2015-01-14  Pedro Alves  <palves@redhat.com>
11321             Joel Brobecker  <brobecker@adacore.com>
11322
11323         PR gdb/17525
11324         * gdb.base/bp-cmds-execution-x-script.c: New file.
11325         * gdb.base/bp-cmds-execution-x-script.exp: New file.
11326         * gdb.base/bp-cmds-execution-x-script.gdb: New file.
11327
11328 2015-01-14  Pedro Alves  <palves@redhat.com>
11329
11330         PR cli/17828
11331         * gdb.base/batch-preserve-term-settings.c: New file.
11332         * gdb.base/batch-preserve-term-settings.exp: New file.
11333
11334 2015-01-13  Doug Evans  <dje@google.com>
11335
11336         * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
11337         binary.
11338
11339 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11340
11341         * Makefile.in (clean mostlyclean): Do not delete *.py.
11342
11343 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11344
11345         * gdb.python/py-lookup-type.exp: New file.
11346
11347 2015-01-12  Pedro Alves  <palves@redhat.com>
11348
11349         * gdb.python/py-prompt.exp: When the board can't spawn for attach,
11350         restore GDBFLAGS before returning.
11351
11352 2015-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
11353
11354         * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
11355         is_amd64_regs_target and is_x86_like_target.
11356
11357 2015-01-11  Doug Evans  <xdje42@gmail.com>
11358
11359         * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
11360         is given without an explicit form.
11361         * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
11362         attributes.
11363         * gdb.dwarf/corrupt.exp: Ditto.
11364         * gdb.dwarf2/enum-type.exp: Ditto.
11365         * gdb.trace/entry-values.exp: Ditto.
11366         * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
11367
11368 2015-01-11  Doug Evans  <xdje42@gmail.com>
11369
11370         PR gdb/15830
11371         * gdb.base/maint.exp: Remove references to "maint demangle".
11372         * gdb.cp/demangle.exp: Update.  "maint demangle" -> "demangle".
11373         Add tests for explicitly specifying language to demangle.
11374         * gdb.dlang/demangle.exp: Ditto.
11375
11376 2015-01-09  Pedro Alves  <palves@redhat.com>
11377
11378         * gdb.threads/non-stop-fair-events.c: New file.
11379         * gdb.threads/non-stop-fair-events.exp: New file.
11380
11381 2015-01-09  Pedro Alves  <palves@redhat.com>
11382
11383         * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
11384         the global scope.  Set a breakpoint after all threads are started
11385         rather than stepping over two source lines.  Expect the prompt.
11386         * gdb.base/watch_thread_num.c (threads_started_barrier): New
11387         global.
11388         (NUM): Now 15.
11389         (main): Use threads_started_barrier to wait for all threads to
11390         start.  Main thread no longer calls thread_function.  Exit after
11391         180 seconds.
11392         (loop): New function.
11393         (thread_function): Wait on threads_started_barrier barrier.  Call
11394         'loop' at each iteration.
11395         * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
11396         threads have started, instead of hardcoding number of "next"
11397         steps.  Use an access watchpoint instead of a write watchpoint.
11398
11399 2015-01-09  Pedro Alves  <palves@redhat.com>
11400
11401         * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
11402         (thread_func): Wait on barrier.
11403         (main): Wait for all threads to start before stopping GDB.
11404         * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11405         global.
11406         (thread1_func, thread2_func): Wait on barrier.
11407         (main): Wait for all threads to start before stopping GDB.
11408         * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11409         New global.
11410         (thread1_func, thread2_func): Wait on barrier.
11411         (main): Wait for all threads to start before stopping GDB.
11412
11413 2015-01-09  Pedro Alves  <palves@redhat.com>
11414
11415         * gdb.threads/attach-many-short-lived-threads.c: New file.
11416         * gdb.threads/attach-many-short-lived-threads.exp: New file.
11417
11418 2014-01-09  Pedro Alves  <palves@redhat.com>
11419
11420         * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11421         instead of to thread 2.
11422         * gdb.threads/signal-command-multiple-signals-pending.c (main):
11423         Add barrier around each pthread_create call instead of around all
11424         calls.
11425         * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11426         Set a break on thread_function and have the child threads hit it
11427         one at at a time.
11428
11429 2015-01-09  Pedro Alves  <palves@redhat.com>
11430
11431         * lib/gdb.exp (can_spawn_for_attach): New procedure.
11432         (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11433         false.
11434         * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11435         checking whether the target board is remote.
11436         * gdb.multi/multi-attach.exp: Likewise.
11437         * gdb.python/py-sync-interp.exp: Likewise.
11438         * gdb.server/ext-attach.exp: Likewise.
11439         * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11440         tests that need to attach, instead of checking whether the target
11441         board is remote at the top of the file.
11442
11443 2015-01-08  Yao Qi  <yao@codesourcery.com>
11444
11445         * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11446
11447 2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
11448
11449         Fix testcase compilation.
11450         * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11451
11452 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
11453
11454         * gdb.python/py-type.exp: Add a couple test about empty
11455         array creation, and negative-length array creation.
11456
11457 2015-01-02  Doug Evans  <xdje42@gmail.com>
11458
11459         * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11460
11461 2015-01-02  Doug Evans  <dje@google.com>
11462
11463         * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11464
11465 2014-12-29  Yao Qi  <yao@codesourcery.com>
11466
11467         * gdb.trace/entry-values.exp: Update comments.  Rename variable
11468         bar_call_foo to returned_from_foo.
11469
11470 2014-12-20  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
11471
11472         PR gdb/17394
11473         * gdb.linespec/break-asm-file.c: New file.
11474         * gdb.linespec/break-asm-file.exp: New file.
11475         * gdb.linespec/break-asm-file0.s: New file.
11476         * gdb.linespec/break-asm-file1.s: New file.
11477
11478 2014-12-18  Nigel Stephens  <nigel@mips.com>
11479             Maciej W. Rozycki  <macro@codesourcery.com>
11480
11481         * gdb.base/float.exp: Handle the new output from "info float" on
11482         MIPS targets.
11483
11484 2014-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
11485
11486         Fix MinGW compilation.
11487         * gdb.compile/compile-ops.exp: Update untested message if
11488         !skip_compile_feature_tests.
11489         * gdb.compile/compile-setjmp.exp: Likewise.
11490         * gdb.compile/compile-tls.exp: Likewise.
11491         * gdb.compile/compile.exp: Likewise.
11492         * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
11493         supported on this host".
11494
11495 2014-12-16  Doug Evans  <xdje42@gmail.com>
11496
11497         * boards/stabs.exp: New file.
11498
11499 2014-12-16  Andreas Arnez  <arnez@vnet.linux.ibm.com>
11500
11501         * gdb.base/completion.exp: Adjust to format changes of "maint
11502         print user-registers".
11503
11504 2014-12-16  Catalin Udma  <catalin.udma@freescale.com>
11505
11506         PR server/17457
11507         * gdb.arch/aarch64-fp.c: New file.
11508         * gdb.arch/aarch64-fp.exp: New file.
11509
11510 2014-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
11511
11512         Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11513         r210637, r210913, r211666, r215400, r215817).
11514
11515         2014-05-08  Richard Sandiford  <rdsandiford@googlemail.com>
11516                 * dg-extract-results.py: New file.
11517                 * dg-extract-results.sh: Use it if the environment seems
11518                 suitable.
11519
11520         2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
11521
11522                 * dg-extract-results.py (parse_run): Handle warnings that
11523                 are printed before a test harness is run.
11524
11525         2014-05-25  Richard Sandiford  <rdsandiford@googlemail.com>
11526
11527                 * dg-extract-results.py (Named): Remove __cmp__ method.
11528                 (output_variation): Use a key to sort variation.harnesses.
11529
11530         2014-06-14  Richard Sandiford  <rdsandiford@googlemail.com>
11531
11532                 * dg-extract-results.py: For Python 3, force sys.stdout to
11533                 handle surrogate escape sequences.
11534                 (safe_open): New function.
11535                 (output_segment, main): Use it.
11536
11537         2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>
11538
11539                 * dg-extract-results.py (Prog.result_re): Include options
11540                 in test name.
11541
11542         2014-10-02  Segher Boessenkool  <segher@kernel.crashing.org>
11543
11544                 * dg-extract-results.py (output_variation): Always sort if
11545                 do_sum.
11546
11547 2014-12-15  Simon Marchi  <simon.marchi@ericsson.com>
11548
11549         * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11550         as long as we get pagination notifications.
11551
11552 2014-12-15  Jason Merrill  <jason@redhat.com>
11553
11554         * Makefile.in (check-gdb.%): Restore.
11555         * README: Mention it.
11556
11557 2014-12-13  Joel Brobecker  <brobecker@adacore.com>
11558
11559         * gdb.ada/str_uninit: New testcase.
11560
11561 2014-12-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
11562
11563         PR symtab/17642
11564         * gdb.base/vla-stub-define.c: New file.
11565         * gdb.base/vla-stub.c: New file.
11566         * gdb.base/vla-stub.exp: New file.
11567
11568 2014-12-12  Phil Muldoon  <pmuldoon@redhat.com>
11569             Jan Kratochvil  <jan.kratochvil@redhat.com>
11570             Tom Tromey  <tromey@redhat.com>
11571
11572         * configure.ac: Add gdb.compile/.
11573         * configure: Regenerate.
11574         * gdb.compile/Makefile.in: New file.
11575         * gdb.compile/compile-ops.exp: New file.
11576         * gdb.compile/compile-ops.c: New file.
11577         * gdb.compile/compile-tls.c: New file.
11578         * gdb.compile/compile-tls.exp: New file.
11579         * gdb.compile/compile-constvar.S: New file.
11580         * gdb.compile/compile-constvar.c: New file.
11581         * gdb.compile/compile-mod.c: New file.
11582         * gdb.compile/compile-nodebug.c: New file.
11583         * gdb.compile/compile-setjmp-mod.c: New file.
11584         * gdb.compile/compile-setjmp.c: New file.
11585         * gdb.compile/compile-setjmp.exp: New file.
11586         * gdb.compile/compile-shlib.c: New file.
11587         * gdb.compile/compile.c: New file.
11588         * gdb.compile/compile.exp: New file.
11589         * lib/gdb.exp (skip_compile_feature_tests): New proc.
11590
11591 2014-12-12  Tom Tromey  <tromey@redhat.com>
11592
11593         * lib/dwarf.exp (_location): Ignore blank lines.  Allow comments.
11594         Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11595
11596 2014-12-12  Doug Evans  <dje@google.com>
11597
11598         * lib/gdb-python.exp (get_python_valueof): New function.
11599         * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11600
11601 2014-12-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11602
11603         * gdb.base/completion.exp: Add test for completion of "info
11604         registers ".
11605
11606 2014-12-12  Maciej W. Rozycki  <macro@codesourcery.com>
11607
11608         * gdb.base/func-ptrs.c: New file.
11609         * gdb.base/func-ptrs.exp: New file.
11610
11611 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11612
11613         PR breakpoints/17012
11614         * gdb.base/dprintf-detach.c: New file.
11615         * gdb.base/dprintf-detach.exp: New file.
11616
11617 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11618
11619         * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11620         * lib/gdb.exp (target_is_gdbserver): New procedure.
11621
11622 2014-12-08  Doug Evans  <dje@google.com>
11623
11624         * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11625
11626 2014-12-05  Yao Qi  <yao@codesourcery.com>
11627
11628         * gdb.guile/scm-error.exp: Remove the third argument to
11629         gdb_remote_download.
11630         * gdb.guile/scm-frame-args.exp: Likewise.
11631         * gdb.guile/scm-section-script.exp: Likewise.
11632
11633 2014-12-05  Yao Qi  <yao@codesourcery.com>
11634
11635         * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11636
11637 2014-12-04  Doug Evans  <dje@google.com>
11638
11639         * gdb.python/py-objfile.exp: Add tests for
11640         objfile.add_separate_debug_file.
11641
11642 2014-12-04  Doug Evans  <dje@google.com>
11643
11644         * lib/gdb.exp (get_build_id): New function.
11645         (build_id_debug_filename_get): Rewrite to use it.
11646         * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11647
11648 2014-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
11649
11650         * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11651         `method(long)', not just 0x0.
11652         * gdb.cp/nsalias.exp: Align code labels to 4.
11653         * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11654         * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11655         * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11656         * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11657         (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11658         * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11659
11660 2014-12-02  Doug Evans  <dje@google.com>
11661
11662         PR symtab/17602
11663         * gdb.cp/anon-ns.cc: Move guts of this file to ...
11664         * gdb.cp/anon-ns2.cc: ... here.  New file.
11665         * gdb.cp/anon-ns.exp: Update.
11666
11667 2014-12-02  Nick Bull  <nicholaspbull@gmail.com>
11668
11669         * gdb.python/py-events.py (inferior_call_handler): New.
11670         (register_changed_handler, memory_changed_handler): New.
11671         (test_events.invoke): Register new handlers.
11672         * gdb.python/py-events.exp: Add tests for inferior call,
11673         memory_changed and register_changed events.
11674
11675 2014-12-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11676
11677         * gdb.base/execl-update-breakpoints.exp: Specify the link address
11678         with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
11679         if the linker doesn't understand this.
11680
11681 2014-12-01  Simon Marchi  <simon.marchi@ericsson.com>
11682
11683         * gdb.python/python.exp: Change expected reply to help().
11684
11685 2014-12-01  Yao Qi  <yao@codesourcery.com>
11686
11687         * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
11688         AC_CONFIG_SUBDIRS(gdb.gdbtk).
11689         * configure: Re-generated.
11690
11691 2014-11-28  Siva Chandra Reddy  <sivachandra@google.com>
11692
11693         * gdb.cp/chained-calls.cc: New file.
11694         * gdb.cp/chained-calls.exp: New file.
11695         * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11696
11697 2014-11-28  Simon Marchi  <simon.marchi@ericsson.com>
11698
11699         * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11700         * gdb.dwarf2/symtab-producer.exp: Same.
11701         * gdb.gdb/python-interrupts.exp: Same.
11702         * gdb.gdb/python-selftest.exp: Same.
11703         * gdb.python/py-linetable.exp: Same.
11704         * gdb.python/py-type.exp: Same.
11705         * gdb.python/py-value-cc.exp: Same.
11706         * gdb.python/py-value.exp: Same.
11707
11708 2014-11-28  Yao Qi  <yao@codesourcery.com>
11709
11710         * gdb.base/break-probes.exp: Match library name prefixed with
11711         sysroot.
11712
11713 2014-11-27  Simon Marchi  <simon.marchi@ericsson.com>
11714
11715         * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11716         test expected output.  Add parentheses for the call to print.
11717         Remove L suffix from integers.
11718
11719 2014-11-26  Doug Evans  <dje@google.com>
11720
11721         * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
11722
11723 2014-11-22  Yao Qi  <yao@codesourcery.com>
11724
11725         * gdb.trace/entry-values.c: Remove asms.
11726         (foo): Add foo_label.
11727         (bar): Add bar_label.
11728         * gdb.trace/entry-values.exp: Remove code computing  foo's
11729         length and bar's length.
11730         (Dwarf::assemble): Invoke function_range for bar and use
11731         MACRO_AT_func for foo.
11732
11733 2014-11-22  Yao Qi  <yao@codesourcery.com>
11734
11735         * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
11736         and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
11737         Use .Lgcc43_procstart instead of gcc43.
11738
11739 2014-11-21  Joel Brobecker  <brobecker@adacore.com>
11740
11741         * gdb.ada/n_arr_bound: New testcase.
11742
11743 2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
11744
11745         PR breakpoints/10737
11746         * gdb.base/catch-syscall.exp (do_syscall_tests): Call
11747         test_catch_syscall_multi_arch.
11748         (test_catch_syscall_multi_arch): New function.
11749
11750 2014-11-20  Doug Evans  <xdje42@gmail.com>
11751
11752         * gdb.base/maint.exp: Update expected output.
11753
11754 2014-11-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11755
11756         * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
11757         4-byte instruction on S390.
11758
11759 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
11760
11761         * gdb.ada/arr_arr: New testcase.
11762
11763 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
11764
11765         * gdb.ada/pkd_arr_elem: New Testcase.
11766
11767 2014-11-18  Luis Machado  <lgustavo@codesourcery.com>
11768
11769         * gdb.reverse/break-precsave: Expect completion message for
11770         core file reads.
11771         * gdb.reverse/consecutive-precsave.exp: Likewise.
11772         * gdb.reverse/finish-precsave.exp: Likewise.
11773         * gdb.reverse/i386-precsave.exp: Likewise.
11774         * gdb.reverse/machinestate-precsave.exp: Likewise.
11775         * gdb.reverse/sigall-precsave.exp: Likewise.
11776         * gdb.reverse/solib-precsave.exp: Likewise.
11777         * gdb.reverse/step-precsave.exp: Likewise.
11778         * gdb.reverse/until-precsave.exp: Likewise.
11779         * gdb.reverse/watch-precsave.exp: Likewise.
11780
11781 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11782
11783         * gdb.base/bp-permanent.c: Include unistd.h.
11784         * gdb.python/py-framefilter-mi.c (main): Add return type.
11785         * gdb.python/py-framefilter.c (main): Likewise.
11786         * gdb.trace/actions-changed.c (main): Likewise.
11787
11788 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11789
11790         * gdb.mi/until.c: Add eye-catchers.
11791         * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
11792         line numbers.
11793
11794 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11795
11796         * gdb.base/condbreak.exp: Drop references to removed non-prototype
11797         function header variants in break1.c.
11798         * gdb.base/ena-dis-br.exp: Likewise.
11799         * gdb.base/hbreak2.exp: Likewise.
11800         * gdb.reverse/until-precsave.exp: Drop references to removed
11801         non-prototype function header variants in ur1.c.
11802         * gdb.reverse/until-reverse.exp: Likewise.
11803
11804 2014-11-17  Petr Machata  <pmachata@redhat.com>
11805
11806         * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
11807         ${_cu_offset_size} bytes abbrev offset.
11808
11809 2014-11-15  Doug Evans  <xdje42@gmail.com>
11810
11811         PR symtab/17559
11812         * gdb.base/line-symtabs.exp: New file.
11813         * gdb.base/line-symtabs.c: New file.
11814         * gdb.base/line-symtabs.h: New file.
11815
11816 2014-11-14  Yao Qi  <yao@codesourcery.com>
11817
11818         * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
11819         (func): Add label func_label.
11820         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
11821         Replace low_pc and high_pc with MACRO_AT_range.
11822         Replace name, low_pc and high_pc with MACRO_AT_func.
11823
11824 2014-11-14  Yao Qi  <yao@codesourcery.com>
11825
11826         * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
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: Use Dwarf::assemble to
11832         produce debug information.
11833         * gdb.dwarf2/implptr-optimized-out.S: Removed.
11834
11835 2014-11-14  Yao Qi  <yao@codesourcery.com>
11836
11837         * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
11838         object and get function length.
11839         (Dwarf::assemble): Replace name, low_pc and high_pc attributes
11840         with MACRO_AT_func.
11841         (top-level): Replace gdb_compile and clean_restart with
11842         prepare_for_testing.
11843         * gdb.dwarf2/main.c (main): Add label main_label.
11844
11845 2014-11-14  Yao Qi  <yao@codesourcery.com>
11846
11847         * lib/dwarf.exp (function_range): New procedure.
11848         (Dwarf::_handle_macro_at_func): New procedure.
11849         (Dwarf::_handle_macro_at_range): New procedure.
11850         (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
11851
11852 2014-11-14  Yao Qi  <yao@codesourcery.com>
11853
11854         * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
11855         (_handle_attribute): New procedure.
11856
11857 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11858
11859         * gdb.ada/cond_lang/foo.c (callme): Add return type.
11860         * gdb.base/call-sc.c (zed): Likewise.
11861         * gdb.base/checkpoint.c (main): Likewise.
11862         * gdb.base/dump.c (main): Likewise.
11863         * gdb.base/gcore.c (main): Likewise.
11864         * gdb.base/huge.c (main): Likewise.
11865         * gdb.base/multi-forks.c (main): Likewise.
11866         * gdb.base/pr10179-a.c (main): Likewise.
11867         * gdb.base/savedregs.c (main): Likewise.
11868         * gdb.base/sigaltstack.c (main): Likewise.
11869         * gdb.base/siginfo.c (main): Likewise.
11870         * gdb.base/structs.c (zed): Likewise.
11871         * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
11872         * gdb.mi/mi-syn-frame.c (main): Likewise.
11873         * gdb.mi/until.c (foo, main): Likewise.
11874         * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
11875         * gdb.base/solib-weak.c (foo): Declare.
11876         * gdb.base/attach-twice.c: Include stdio.h.
11877         * gdb.base/weaklib1.c: Likewise.
11878         * gdb.base/weaklib2.c: Likewise.
11879         * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
11880         * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
11881         unistd.h.
11882         * gdb.base/attach-pie-misread.c: Include stdlib.h.
11883         * gdb.mi/mi-exit-code.c: Likewise.
11884         * gdb.base/break-interp-lib.c: Include string.h.
11885         * gdb.base/coremaker.c: Likewise.
11886         * gdb.base/testenv.c: Likewise.
11887         * gdb.python/py-finish-breakpoint.c: Likewise.
11888         * gdb.base/inferior-died.c: Include sys/wait.h.
11889         * gdb.base/fileio.c: Include time.h.
11890         * gdb.base/async-shell.c: Include unistd.h.
11891         * gdb.base/dprintf-non-stop.c: Likewise.
11892         * gdb.base/info-os.c: Likewise.
11893         * gdb.mi/mi-console.c: Likewise.
11894         * gdb.mi/watch-nonstop.c: Likewise.
11895         * gdb.python/py-events.c: Likewise.
11896         * gdb.base/async.c (baz): Move up before its invocation.
11897         * gdb.base/code_elim2.c (my_global_func): Likewise.
11898         * gdb.base/skip-solib-lib.c (multiply): Likewise.
11899         * gdb.base/advance.c (func2): Likewise.
11900
11901 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11902
11903         * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
11904         variant.
11905         * gdb.base/annota3.c: Likewise.
11906         * gdb.base/async.c: Likewise.
11907         * gdb.base/average.c: Likewise.
11908         * gdb.base/call-ar-st.c: Likewise.
11909         * gdb.base/call-rt-st.c: Likewise.
11910         * gdb.base/call-sc.c: Likewise.
11911         * gdb.base/call-strs.c: Likewise.
11912         * gdb.base/ending-run.c: Likewise.
11913         * gdb.base/execd-prog.c: Likewise.
11914         * gdb.base/exprs.c: Likewise.
11915         * gdb.base/foll-exec.c: Likewise.
11916         * gdb.base/foll-fork.c: Likewise.
11917         * gdb.base/foll-vfork.c: Likewise.
11918         * gdb.base/funcargs.c: Likewise.
11919         * gdb.base/gcore.c: Likewise.
11920         * gdb.base/jump.c: Likewise.
11921         * gdb.base/langs0.c: Likewise.
11922         * gdb.base/langs1.c: Likewise.
11923         * gdb.base/langs2.c: Likewise.
11924         * gdb.base/mips_pro.c: Likewise.
11925         * gdb.base/nodebug.c: Likewise.
11926         * gdb.base/opaque0.c: Likewise.
11927         * gdb.base/opaque1.c: Likewise.
11928         * gdb.base/recurse.c: Likewise.
11929         * gdb.base/run.c: Likewise.
11930         * gdb.base/scope0.c: Likewise.
11931         * gdb.base/scope1.c: Likewise.
11932         * gdb.base/setshow.c: Likewise.
11933         * gdb.base/setvar.c: Likewise.
11934         * gdb.base/shmain.c: Likewise.
11935         * gdb.base/shr1.c: Likewise.
11936         * gdb.base/shr2.c: Likewise.
11937         * gdb.base/sigall.c: Likewise.
11938         * gdb.base/signals.c: Likewise.
11939         * gdb.base/so-indr-cl.c: Likewise.
11940         * gdb.base/solib2.c: Likewise.
11941         * gdb.base/structs.c: Likewise.
11942         * gdb.base/sum.c: Likewise.
11943         * gdb.base/vforked-prog.c: Likewise.
11944         * gdb.base/watchpoint.c: Likewise.
11945         * gdb.reverse/shr2.c: Likewise.
11946         * gdb.reverse/until-reverse.c: Likewise.
11947         * gdb.reverse/ur1.c: Likewise.
11948         * gdb.reverse/watch-reverse.c: Likewise.
11949
11950 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11951
11952         * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
11953         variant.
11954         * gdb.base/sepdebug.exp: Drop references to removed code.
11955
11956 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11957
11958         * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
11959         variant.  Preserve original line numbering.
11960         * gdb.base/list1.c: Likewise.
11961
11962 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11963
11964         * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
11965         variant.
11966         * gdb.base/break1.c: Likewise.
11967         * gdb.base/break.exp: Drop references to removed code.
11968
11969 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11970
11971         * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
11972         variant.
11973
11974 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11975
11976         * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
11977
11978 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11979
11980         * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
11981         logic into perform_all_tests() and invoke it with and without
11982         function header prototypes.
11983         (do_function_calls): Remove conditional XFAIL for PR 5318.
11984         (rerun_and_prepare): Remove duplicate code.
11985         (perform_all_tests): New.  Main logic moved here.
11986
11987 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11988
11989         * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
11990         code guarded by #ifdef NO_PROTOTYPES.
11991         (t_double_many_args): Likewise.
11992         (DEF_FUNC_MANY_ARGS_1): Likewise.
11993         (DEF_FUNC_VALUES_1): Likewise.
11994         (t_structs_ldc): Renamed from t_structs_fc in conditional code
11995         guarded by #ifdef PROTOTYPES.
11996
11997 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11998
11999         * gdb.mi/mi-console.c: Add eye-catcher.
12000         * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
12001         instead of literal line number.
12002
12003 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12004
12005         * gdb.base/shr2.c: Add eye-catcher.
12006         * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
12007         line number.
12008
12009 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12010
12011         * gdb.base/jump.c: Add eye-catchers.
12012         * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
12013         numbers.
12014
12015 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12016
12017         * gdb.base/execd-prog.c: Add eye-catchers.
12018         * gdb.base/foll-exec.c: Likewise.
12019         * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
12020         line numbers.
12021
12022 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12023
12024         * gdb.base/ending-run.c: Add eye-catchers.
12025         * gdb.base/ending-run.exp: Refer to eye-catchers instead of
12026         literal line numbers.
12027
12028 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12029
12030         * gdb.base/call-rt-st.c: Add eye-catchers.
12031         * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
12032         literal line numbers.
12033
12034 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12035
12036         * gdb.base/call-ar-st.c: Add eye-catchers.
12037         * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
12038         literal line numbers.
12039
12040 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12041
12042         * gdb.base/average.c: Add eye-catchers.
12043         * gdb.base/sum.c: Likewise.
12044         * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
12045         regexps dynamically.
12046
12047 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12048
12049         * gdb.base/solib1.c: Add eye-catchers.
12050         * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
12051         literal line numbers.
12052
12053 2014-11-12  Pedro Alves  <palves@redhat.com>
12054
12055         * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
12056         leader has exited.
12057
12058 2014-11-12  Pedro Alves  <palves@redhat.com>
12059
12060         * gdb.arch/i386-bp_permanent.c: New file.
12061         * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
12062         (srcfile): Set to i386-bp_permanent.c.
12063         (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
12064         that stepi does not execute the 'leave' instruction, instead of
12065         testing it does execute.
12066         * gdb.base/bp-permanent.c: New file.
12067         * gdb.base/bp-permanent.exp: New file.
12068
12069 2014-11-10  Doug Evans  <xdje42@gmail.com>
12070
12071         PR symtab/17564
12072         * gdb.base/symtab-search-order.exp: New file.
12073         * gdb.base/symtab-search-order.c: New file.
12074         * gdb.base/symtab-search-order-1.c: New file.
12075         * gdb.base/symtab-search-order-shlib-1.c: New file.
12076
12077 2014-11-07  Pedro Alves  <palves@redhat.com>
12078
12079         PR gdb/17511
12080         * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
12081         i?86-*-linux*.
12082
12083 2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
12084
12085         PR c++/17494
12086         * gdb.cp/pr17494.cc: New file.
12087         * gdb.cp/pr17494.exp: New file.
12088
12089 2014-11-02  Yao Qi  <yao@codesourcery.com>
12090
12091         * gdb.python/python.exp: Get working directory and match the
12092         output of "set extended-prompt \\w " with it.
12093
12094 2014-10-30  Doug Evans  <dje@google.com>
12095
12096         * gdb.python/py-objfile.exp: Add tests for setting random attributes
12097         in objfiles.
12098         * gdb.python/py-progspace.exp: Add tests for setting random attributes
12099         in progspaces.
12100
12101 2014-10-30  Janis Johnson  <janisjo@codesourcery.com>
12102
12103         * gdb.base/fullpath-expand.exp: Skip for a remote host.
12104         * gdb.base/realname-expand.exp: Likewise.
12105         * gdb.linespec/macro-relative.exp: Likewise.
12106
12107 2014-10-29  Pedro Alves  <palves@redhat.com>
12108
12109         PR gdb/17408
12110         * gdb.threads/schedlock.c (some_function): New function.
12111         (call_function): New global.
12112         (MAYBE_CALL_SOME_FUNCTION): New macro.
12113         (thread_function): Call it.
12114         * gdb.threads/schedlock.exp (get_args): Add description parameter,
12115         and use it instead of a global counter.  Adjust all callers.
12116         (get_current_thread): Use "find current thread" for test message
12117         here rather than having all callers pass down the same string.
12118         (goto_loop): New procedure, factored out from ...
12119         (my_continue): ... this.
12120         (step_ten_loops): Change parameter from test message to command to
12121         use.  Adjust.
12122         (list_count): Delete global.
12123         (check_result): New procedure, factored out from duplicate top
12124         level code.
12125         (continue tests): Wrap in with_test_prefix.
12126         (test_step): New procedure, factored out from duplicate top level
12127         code.
12128         (top level): Test "step" in combination with all scheduler-locking
12129         modes.  Test "next" in combination with all scheduler-locking
12130         modes, and in combination with stepping over a function call or
12131         not.
12132         * gdb.threads/next-bp-other-thread.c: New file.
12133         * gdb.threads/next-bp-other-thread.exp: New file.
12134
12135 2014-10-29  Pedro Alves  <palves@redhat.com>
12136
12137         PR python/17372
12138         * gdb.python/python.exp: Test a multi-line command that spawns
12139         interactive Python.
12140         * gdb.base/multi-line-starts-subshell.exp: New file.
12141
12142 2014-10-29  Yao Qi  <yao@codesourcery.com>
12143
12144         * gdb.base/fileio.exp: Make directories on host.
12145
12146 2014-10-29  Yao Qi  <yao@codesourcery.com>
12147
12148         * gdb.base/fileio.c (test_write): Close the file.
12149
12150 2014-10-28  Pedro Alves  <palves@redhat.com>
12151
12152         PR gdb/12623
12153         * gdb.base/sigstep.c (no_handler): New global.
12154         (main): If 'no_handler is true, set the signal handlers to
12155         SIG_IGN.
12156         * gdb.base/sigstep.exp (breakpoint_over_handler): Add
12157         with_sw_watch and no_handler parameters.  Handle them.
12158         (top level) <stepping over handler when stopped at a breakpoint
12159         test>: Add a test axis for testing with a software watchpoint, and
12160         another for testing with the signal handler set to SIG_IGN.
12161         * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
12162         * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
12163
12164 2014-10-28  Pedro Alves  <palves@redhat.com>
12165
12166         PR gdb/17511
12167         * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
12168         * gdb.base/sigstep.exp (other_handler_location): New global.
12169         (advance): Support stepping into the signal handler, and running
12170         commands while in the handler.
12171         (in_handler_map): New global.
12172         (top level): In the advance test, add combinations for getting
12173         into the handler with stepping commands, and for running commands
12174         in the handler.  Add comment descripting the advancei tests.
12175
12176 2014-10-28  Pedro Alves  <palves@redhat.com>
12177
12178         * gdb.base/sigstep.exp: Use build_executable instead of
12179         prepare_for_testing.
12180         (top level): Move code that starts GDB, runs to main and creates a
12181         display to ...
12182         (restart): ... this new procedure.
12183         (top level): Move backtrace from signal handler test to ...
12184         (validate_backtrace): ... this new procedure.
12185         (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
12186         with_test_prefix.  Always restart GDB.
12187         (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
12188         with_test_prefix.  Always restart GDB.  No need to delete
12189         breakpoints after the test.
12190         (test_skip_handler): Remove prefix parameter.
12191         (skip_over_handler, breakpoint_to_handler)
12192         (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
12193         parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
12194         restart GDB.  No need to delete breakpoints after the test.
12195         (top level): Use foreach to call the test procedures with
12196         different commands.
12197
12198 2014-10-28  Pedro Alves  <palves@redhat.com>
12199
12200         * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
12201         instead of GNATS numbers.
12202         * gdb.base/sigbpt.exp: Likewise.
12203         * gdb.base/siginfo.exp: Likewise.
12204         * gdb.base/sigstep.exp: Likewise.
12205
12206 2014-10-27  Pedro Alves  <palves@redhat.com>
12207
12208         * gdb.base/sigstep.c (dummy): New global.
12209         (main): Issue a couple writes to the new global.
12210         * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
12211         procedures.
12212         (skip_over_handler): Use test_skip_handler.
12213         (top level): Call skip_over_handler for stepi and nexti too.
12214         (breakpoint_over_handler): Use test_skip_handler.
12215         (top level): Call breakpoint_over_handler for stepi and nexti too.
12216
12217 2014-10-27  Yao Qi  <yao@codesourcery.com>
12218
12219         * gdb.trace/tfile.c (adjust_function_address)
12220         [__powerpc64__ && _CALL_ELF != 2]: Get function address from
12221         function descriptor.
12222
12223 2014-10-24  Don Breazeal  <donb@codesourcery.com>
12224
12225         * gdb.base/foll-fork.exp (test_follow_fork,
12226         catch_fork_child_follow): Check for updated fork messages emitted
12227         from infrun.c.
12228         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
12229         vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
12230         vfork_and_exec_child_follow_through_step): Check for updated vfork
12231         messages emitted from infrun.c.
12232
12233 2014-10-24  Pedro Alves  <palves@redhat.com>
12234
12235         * gdb.base/corefile.exp: Remove references to ultrix.
12236         * gdb.base/interrupt.exp: Likewise.
12237         * gdb.base/whatis.exp: Likewise.
12238         * gdb.gdb/selftest.exp: Likewise.
12239         * gdb.threads/manythreads.exp: Likewise.
12240         * gdb.threads/print-threads.exp: Likewise.
12241         * gdb.threads/pthreads.exp:: Likewise.
12242         * gdb.threads/schedlock.exp: Likewise.
12243
12244 2014-10-24  Siva Chandra Reddy  <sivachandra@google.com>
12245
12246         * gdb.cp/non-trivial-retval.cc: Add a test case.
12247         * gdb.cp/non-trivial-retval.exp: Add a test.
12248
12249 2014-10-20  Yao Qi  <yao@codesourcery.com>
12250
12251         * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
12252         * gdb.python/py-objfile-script-gdb.py: New file.
12253         * gdb.python/py-objfile-script.exp: Update reference to
12254         py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
12255         of remote_download.  Remove the dest file.
12256
12257 2014-10-20  Yao Qi  <yao@codesourcery.com>
12258
12259         * gdb.base/checkpoint.exp: Don't remove file copied on host.
12260         * gdb.base/step-line.exp: Likewise.
12261         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12262         * gdb.dwarf2/dw2-basic.exp: Likewise.
12263         * gdb.dwarf2/dw2-compressed.exp: Likewise.
12264         * gdb.dwarf2/dw2-filename.exp: Likewise.
12265         * gdb.dwarf2/dw2-intercu.exp: Likewise.
12266         * gdb.dwarf2/dw2-intermix.exp: Likewise.
12267         * gdb.dwarf2/dw2-producer.exp: Likewise.
12268         * gdb.dwarf2/mac-fileno.exp: Likewise.
12269         * gdb.python/py-frame-args.exp: Likewise.
12270         * gdb.python/py-framefilter.exp: Likewise.
12271         * gdb.python/py-mi.exp: Likewise.
12272         * gdb.python/py-objfile-script.exp: Likewise
12273         * gdb.python/py-pp-integral.exp: Likewise.
12274         * gdb.python/py-pp-re-notag.exp: Likewise.
12275         * gdb.python/py-prettyprint.exp: Likewise.
12276         * gdb.python/py-section-script.exp: Likewise.
12277         * gdb.python/py-typeprint.exp: Likewise.
12278         * gdb.python/py-xmethods.exp: Likewise.
12279         * gdb.stabs/weird.exp: Likewise.
12280         * gdb.xml/tdesc-regs.exp: Likewise.
12281
12282 2014-10-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
12283
12284         * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
12285         (out_cu): Use addr_len for the size of addresses.
12286         (out_line): Likewise.  Size DW_LNE_set_address instruction
12287         according to addr_len.
12288         * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
12289         (FUNC): Add START_INSNS to definition.
12290
12291 2014-10-18  Yao Qi  <yao@codesourcery.com>
12292
12293         * gdb.base/argv0-symlink.exp: Check argv[0] value if
12294         gdb_has_argv0 return true.
12295         * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
12296         check [target_info exists noargs], check [gdb_has_argv0]
12297         instead.
12298         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12299         * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
12300         procedures.
12301
12302 2014-10-17  Doug Evans  <dje@google.com>
12303
12304         * gdb.python/py-events.exp: Update expected output for clear_objfiles
12305         event.
12306         * gdb.python/py-events.py: Add clear_objfiles event.
12307
12308 2014-10-17  Doug Evans  <dje@google.com>
12309
12310         * gdb.python/py-objfile.exp: Test progspace attribute.
12311
12312 2014-10-17  Luis Machado  <lgustavo@codesourcery.com>
12313
12314         * gdb.guile/scm-breakpoint.exp: Do not assume any
12315         directory separators when matching source file paths.
12316         * gdb.python/py-breakpoint.exp: Likewise.
12317         * gdb.reverse/break-precsave.exp: Likewise.
12318         * gdb.reverse/break-reverse.exp: Likewise.
12319         * gdb.reverse/consecutive-precsave.exp: Likewise.
12320         * gdb.reverse/finish-precsave.exp: Likewise.
12321         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
12322         * gdb.reverse/finish-reverse.exp: Likewise.
12323         * gdb.reverse/i386-precsave.exp: Likewise.
12324         * gdb.reverse/i387-env-reverse.exp: Likewise.
12325         * gdb.reverse/i387-stack-reverse.exp: Likewise.
12326         * gdb.reverse/machinestate-precsave.exp: Likewise.
12327         * gdb.reverse/machinestate.exp: Likewise.
12328         * gdb.reverse/sigall-precsave.exp: Likewise.
12329         * gdb.reverse/solib-precsave.exp: Likewise.
12330         * gdb.reverse/step-precsave.exp: Likewise.
12331         * gdb.reverse/until-precsave.exp: Likewise.
12332         * gdb.reverse/watch-precsave.exp: Likewise.
12333         * gdb.reverse/watch-reverse.exp: Likewise.
12334
12335 2014-10-17  Yao Qi  <yao@codesourcery.com>
12336
12337         * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
12338         * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
12339
12340 2014-10-17  Pedro Alves  <palves@redhat.com>
12341
12342         PR gdb/17471
12343         * gdb.base/bg-execution-repeat.c: New file.
12344         * gdb.base/bg-execution-repeat.exp: New file.
12345
12346 2014-10-17  Pedro Alves  <palves@redhat.com>
12347
12348         PR gdb/17300
12349         * gdb.base/continue-all-already-running.c: New file.
12350         * gdb.base/continue-all-already-running.exp: New file.
12351
12352 2014-10-17  Pedro Alves  <palves@redhat.com>
12353
12354         PR gdb/17472
12355         * gdb.base/annota-input-while-running.c: New file.
12356         * gdb.base/annota-input-while-running.exp: New file.
12357
12358 2014-10-17  Pedro Alves  <palves@redhat.com>
12359
12360         * gdb.base/callfuncs.exp: emove references to osf.
12361         * gdb.base/sigall.exp: Likewise.
12362         * gdb.gdb/selftest.exp: Likewise.
12363         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12364         * gdb.mi/non-stop.c: Likewise.
12365         * gdb.mi/pthreads.c: Likewise.
12366         * gdb.reverse/sigall-precsave.exp: Likewise.
12367         * gdb.reverse/sigall-reverse.exp: Likewise.
12368         * gdb.threads/pthreads.c: Likewise.
12369         * gdb.threads/pthreads.exp: Likewise.
12370
12371 2014-10-17  Yao Qi  <yao@codesourcery.com>
12372
12373         * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
12374         check 'target_info exists noargs'.
12375         (test_command_prompt_position): Likewise.
12376         (progvar_simple_if_test): Don't check 'target_info exists noargs'.
12377         Remove "set args".
12378         (progvar_simple_while_test): Likewise.
12379         (progvar_complex_if_while_test): Likewise.
12380         (if_while_breakpoint_command_test): Likewise.
12381         (infrun_breakpoint_command_test): Likewise.
12382         (breakpoint_command_test): Likewise.
12383         (watchpoint_command_test): Likewise.
12384         (bp_deleted_in_command_test): Likewise.
12385         (temporary_breakpoint_commands): Likewise.
12386
12387 2014-10-16  Yao Qi  <yao@codesourcery.com>
12388
12389         * gdb.base/remotetimeout.exp: Remove noargs checking.
12390
12391 2014-10-15  Pedro Alves  <palves@redhat.com>
12392
12393         PR breakpoints/9649
12394         * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
12395         * gdb.base/breakpoint-in-ro-region.exp
12396         (probe_target_hardware_step): New procedure.
12397         (top level): Probe hardware stepping and hardware breakpoint
12398         support.  Test stepping through a read-only region, with both
12399         "breakpoint auto-hw" on and off and both "always-inserted" on and
12400         off.
12401
12402 2014-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
12403
12404         * gdb.dlang/demangle.exp: Update for demangling changes.
12405
12406 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12407
12408         * gdb.cp/non-trivial-retval.cc: Add new test cases.
12409         * gdb.cp/non-trivial-retval.exp: Add new tests.
12410
12411 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12412
12413         PR c++/13403
12414         PR c++/15154
12415         * gdb.cp/non-trivial-retval.cc: New file.
12416         * gdb.cp/non-trivial-retval.exp: New file.
12417
12418 2014-10-15  Yao Qi  <yao@codesourcery.com>
12419
12420         * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12421         remote host.
12422
12423 2014-10-15  Yao Qi  <yao@codesourcery.com>
12424
12425         * gdb.python/py-symbol.exp: Match file base name if host is
12426         remote, otherwise match file name with dir name.
12427         * gdb.python/py-symtab.exp: Likewise.
12428         * gdb.python/python.exp: Likewise.
12429
12430 2014-10-15  Yao Qi  <yao@codesourcery.com>
12431
12432         * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12433         pattern.
12434         * gdb.python/py-symtab.exp: Likewise.
12435         * gdb.python/python.exp: Remove trailing ".*".  Fix typo
12436         locationn.
12437
12438 2014-10-14  Joel Brobecker  <brobecker@adacore.com>
12439
12440         * gdb.ada/addr_arith: New testcase.
12441
12442 2014-10-14  Maciej W. Rozycki  <macro@codesourcery.com>
12443
12444         * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12445         * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12446         * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12447         * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12448
12449 2014-10-14  Sergio Durigan Junior  <sergiodj@redhat.com>
12450
12451         * gdb.arch/stap-eval-lang-ada.S: Likewise.
12452         * gdb.arch/stap-eval-lang-ada.c: Likewise.
12453         * gdb.arch/stap-eval-lang-ada.exp: New file.
12454
12455 2014-10-14  Yao Qi  <yao@codesourcery.com>
12456
12457         * gdb.mi/mi-var-child.c (nothing1): New function.
12458         (nothing2): New function.
12459         (do_children_tests): Set function pointers by nothing1 and
12460         nothing2.
12461         * gdb.mi/mi-var-child.exp: Step over new added statements.
12462         Update test to match the new output.
12463         * gdb.mi/var-cmd.c (nothing1): New function.
12464         (nothing2): New function.
12465         (do_children_tests): Set function pointers by  nothing1 and
12466         nothing2.
12467         * gdb.mi/mi-var-display.exp: Update test to match output.
12468         Step to the line specified by $line_dct_nothing.
12469         Increase the number of lines to step.
12470
12471 2014-10-14  Yao Qi  <yao@codesourcery.com>
12472
12473         * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12474         tests.
12475         * gdb.mi/mi2-var-child.exp: Likewise.
12476
12477 2014-10-13  Doug Evans  <dje@google.com>
12478
12479         * gdb.python/py-objfile.exp: Change name of file name test.
12480
12481 2014-10-13  Doug Evans  <dje@google.com>
12482
12483         * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12484         from the start of the CU.
12485
12486 2014-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
12487             Yao Qi  <yao@codesourcery.com>
12488
12489         Fix "save breakpoints" for "catch" command.
12490         * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
12491         Remove -nonewline.  Match also the added "main" line.
12492
12493 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12494
12495         Fix "save breakpoints" for "disable $bpnum" command.
12496         * gdb.base/save-bp.c (main): Add label.
12497         * gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
12498
12499 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12500
12501         * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12502
12503 2014-10-11  Yao Qi  <yao@codesourcery.com>
12504
12505         * gdb.server/server-kill.exp: Execute command
12506         "set remote trace-status-packet on" before "tstatus".
12507
12508 2014-10-11  Yao Qi  <yao@codesourcery.com>
12509
12510         * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12511         (main): Call getppid.
12512         * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12513         and continue to it.  Read variable "server_pid".
12514
12515 2014-10-11  Yao Qi  <yao@codesourcery.com>
12516
12517         * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12518
12519 2014-10-11  Yao Qi  <yao@codesourcery.com>
12520
12521         * gdb.threads/thread-find.exp: Don't execute command
12522         "info threads".
12523         * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12524         * gdb.threads/linux-dp.exp: Don't check the condition
12525         $threads_created equals to zero.
12526
12527 2014-10-10  Pedro Alves  <palves@redhat.com>
12528
12529         * gdb.base/bigcore.exp: Remove references to IRIX.
12530         * gdb.base/funcargs.exp: Likewise.
12531         * gdb.base/interrupt.exp: Likewise.
12532         * gdb.base/mips_pro.exp: Likewise.
12533         * gdb.base/nodebug.exp: Likewise.
12534         * gdb.base/setvar.exp: Likewise.
12535         * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12536
12537 2014-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
12538             Pedro Alves  <palves@redhat.com>
12539
12540         PR symtab/14466
12541         * gdb.base/vdso-warning.c: New file.
12542         * gdb.base/vdso-warning.exp: New file.
12543
12544 2014-10-02  Doug Evans  <dje@google.com>
12545
12546         * gdb.base/structs.c (main): Don't run forever.
12547
12548 2014-10-02  Pedro Alves  <palves@redhat.com>
12549
12550         * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12551         (top level) <stop threads 1, stop threads 2>: Use it.
12552
12553 2014-10-02  Pedro Alves  <palves@redhat.com>
12554
12555         * gdb.threads/break-while-running.exp (test): Add new
12556         'update_thread_list' argument.  Skip "info threads" if false.
12557         (top level): Add new 'update_thread_list' axis.
12558
12559 2014-10-02  Pedro Alves  <palves@redhat.com>
12560
12561         PR breakpoints/17431
12562         * gdb.base/execl-update-breakpoints.c: New file.
12563         * gdb.base/execl-update-breakpoints.exp: New file.
12564
12565 2014-10-01  Pedro Alves  <palves@redhat.com>
12566
12567         * gdb.base/breakpoint-in-ro-region.c: New file.
12568         * gdb.base/breakpoint-in-ro-region.exp: New file.
12569
12570 2014-10-01  Simon Marchi  <simon.marchi@ericsson.com>
12571
12572         * gdb.mi/mi-exit-code.exp: New file.
12573         * gdb.mi/mi-exit-code.c: New file.
12574
12575 2014-09-30  Yao Qi  <yao@codesourcery.com>
12576
12577         * lib/prelink-support.exp (build_executable_own_libs): Error if
12578         the target isn't native.
12579
12580 2014-09-30  Yao Qi  <yao@codesourcery.com>
12581
12582         * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12583         false.
12584
12585 2014-09-22  Pedro Alves  <palves@redhat.com>
12586
12587         * gdb.threads/break-while-running.exp: New file.
12588         * gdb.threads/break-while-running.c: New file.
12589
12590 2014-09-19  Yao Qi  <yao@codesourcery.com>
12591
12592         * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12593         Invoke test.  Restart GDB with --readnow and invoke test again.
12594
12595 2014-09-19  Yao Qi  <yao@codesourcery.com>
12596
12597         * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12598         proc set_breakpoint_on_gcd_function.  Invoke
12599         set_breakpoint_on_gcd_function.  Restart GDB with --readnow and
12600         invoke set_breakpoint_on_gcd_function again.
12601
12602 2014-09-18  Doug Evans  <dje@google.com>
12603
12604         * gdb.dwarf2/symtab-producer.exp: New file.
12605
12606 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12607
12608         * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12609         * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12610         * gdb.base/global-var-nested-by-dso.c: Likewise.
12611         * gdb.base/global-var-nested-by-dso.exp: Likewise.
12612
12613 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12614             Pedro Alves  <palves@redhat.com>
12615
12616         * gdb.base/watch-bitfields.exp: Pass string other than test file
12617         name to prepare_for_testing.
12618         (watch): New procedure.
12619         (expect_watchpoint): Use with_test_prefix.
12620         (top level): Factor out tests to ...
12621         (test_watch_location, test_regular_watch): ... these new
12622         procedures, and use with_test_prefix and gdb_continue_to_end.
12623
12624 2014-09-16  Patrick Palka  <patrick@parcs.ath.cx>
12625
12626         PR breakpoints/12526
12627         * gdb.base/watch-bitfields.exp: New file.
12628         * gdb.base/watch-bitfields.c: New file.
12629
12630 2014-09-16  Pedro Alves  <palves@redhat.com>
12631
12632         * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12633         software and hardware addresses, not software address against
12634         itself.
12635
12636 2014-09-16  Pedro Alves  <palves@redhat.com>
12637
12638         * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12639         * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12640
12641 2014-09-16  Pedro Alves  <palves@redhat.com>
12642
12643         * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12644         files.
12645         * gdb.base/a2-run.exp: Remove all code guarded by istarget
12646         "*-*-vxworks*" throughout.
12647         * gdb.base/break.exp: Likewise.
12648         * gdb.base/default.exp: Likewise.
12649         * gdb.base/scope.exp: Likewise.
12650         * gdb.base/sepdebug.exp: Likewise.
12651         * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12652         throughout.
12653         * gdb.base/run.c: Likewise.
12654         * gdb.base/sepdebug.c: Likewise.
12655         * gdb.hp/gdb.aCC/run.c: Likewise.
12656         * gdb.reverse/until-reverse.c: Likewise.
12657         * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12658
12659 2014-09-16  Yao Qi  <yao@codesourcery.com>
12660
12661         * boards/local-remote-host-native.exp: New file.
12662
12663 2014-09-14  Doug Evans  <xdje42@gmail.com>
12664
12665         * gdb.threads/queue-signal.c (thread_count): New variable.
12666         (thread_count_mutex, thread_count_condvar): New variables.
12667         (incr_thread_count, wait_all_threads_running): New functions.
12668         (main): Wait for all threads to be in their thread functions.
12669
12670 2014-09-13  Doug Evans  <xdje42@gmail.com>
12671
12672         * gdb.threads/queue-signal.c: New file.
12673         * gdb.threads/queue-signal.exp: New file.
12674
12675 2014-09-13  Doug Evans  <xdje42@gmail.com>
12676
12677         * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12678         be consistent with what default_gdb_init uses.
12679         (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12680         the plain text of the prompt.  Add some logging printfs.
12681         * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12682
12683 2014-09-12  Pedro Alves  <palves@redhat.com>
12684
12685         * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12686         gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12687         * gdb.arch/i386-size-overlap.exp: Likewise.
12688         * gdb.arch/i386-size.exp: Likewise.
12689         * gdb.arch/i386-unwind.exp: Likewise.
12690         * gdb.base/a2-run.exp: Likewise.
12691         * gdb.base/break.exp: Likewise.
12692         * gdb.base/charset.exp: Likewise.
12693         * gdb.base/chng-syms.exp: Likewise.
12694         * gdb.base/commands.exp: Likewise.
12695         * gdb.base/dbx.exp: Likewise.
12696         * gdb.base/find.exp: Likewise.
12697         * gdb.base/funcargs.exp: Likewise.
12698         * gdb.base/jit-simple.exp: Likewise.
12699         * gdb.base/reread.exp: Likewise.
12700         * gdb.base/sepdebug.exp: Likewise.
12701         * gdb.base/step-bt.exp: Likewise.
12702         * gdb.cp/mb-inline.exp: Likewise.
12703         * gdb.cp/mb-templates.exp: Likewise.
12704         * gdb.objc/basicclass.exp: Likewise.
12705         * gdb.threads/killed.exp: Likewise.
12706
12707 2014-09-12  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
12708
12709         PR tdep/17379
12710         * gdb.arch/powerpc-stackless.S: New file.
12711         * gdb.arch/powerpc-stackless.exp: New file.
12712
12713 2014-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12714
12715         * gdb.base/attach.c: Include unistd.h.
12716         (main): Call alarm.  Add label postloop.
12717         * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12718         gdb_breakpoint, gdb_continue_to_breakpoint.
12719         (test_command_line_attach_run): Kill ${testpid} in one exit path.
12720
12721 2014-09-11  Pedro Alves  <palves@redhat.com>
12722
12723         PR gdb/17347
12724         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
12725         * gdb.base/attach.exp (test_command_line_attach_run): New
12726         procedure.
12727         (top level): Call it.
12728
12729 2014-09-11  Pedro Alves  <palves@redhat.com>
12730
12731         * lib/gdb.exp (spawn_wait_for_attach): New procedure.
12732         * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
12733         (do_command_attach_tests): Use spawn_wait_for_attach.
12734         * gdb.base/solib-overlap.exp: Likewise.
12735         * gdb.multi/multi-attach.exp: Likewise.
12736         * gdb.python/py-prompt.exp: Likewise.
12737         * gdb.python/py-sync-interp.exp: Likewise.
12738         * gdb.server/ext-attach.exp: Likewise.
12739
12740 2014-09-11  Gabriel Krisman Bertazi  <gabriel@krisman.be>
12741
12742         * gdb.fortran/array-element.exp: Remove unexpected "continue"
12743         command in testcase.  Simplify testcase.
12744
12745 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12746
12747         * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
12748
12749 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12750
12751         * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
12752
12753 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12754
12755         * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
12756
12757 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
12758
12759         * gdb.dwarf2/dynarr-ptr.c: New file.
12760         * gdb.dwarf2/dynarr-ptr.exp: New file.
12761
12762 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12763
12764         * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
12765         of 30 rather than hardcoding 120 for a slow test case.  Take the
12766         `gdb,timeout' target setting into account for this calculation.
12767         Don't extend the timeout for the test cases that don't need it.
12768
12769 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12770
12771         * gdb.reverse/sigall-reverse.exp: Increase the timeout by
12772         a factor of 2 for a slow test case.  Take the `gdb,timeout'
12773         target setting into account for this calculation.
12774         * gdb.reverse/until-precsave.exp: Increase the timeout by
12775         a factor of 15 and 3 respectively rather than adding 120
12776         for a pair of slow test cases.  Take the `gdb,timeout'
12777         target setting into account for this calculation.
12778
12779 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12780
12781         * lib/gdb.exp (gdb_test_multiple): Remove code to select the
12782         timeout, don't pass one down to gdb_expect.
12783         (gdb_expect): Rework timeout selection.
12784
12785 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12786
12787         * lib/gdbserver-support.exp (gdbserver_start): Throw an error
12788         exception on timeout.
12789         (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
12790         (gdbserver_start_extended): Catch any `gdbserver_start' error
12791         exceptions.
12792         (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
12793         * lib/mi-support.exp (mi_gdb_target_load): Catch any
12794         `gdbserver_gdb_load' error exceptions.
12795
12796 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12797
12798         * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
12799         120 on waiting for the TCP socket to open.
12800
12801 2014-09-09  Doug Evans  <xdje42@gmail.com>
12802
12803         * gdb.base/default.exp (show_conv_list): Add _caller_is,
12804         _caller_matches, _any_caller_is, _any_caller_matches.
12805
12806 2014-09-09  Doug Evans  <xdje42@gmail.com>
12807
12808         * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
12809
12810 2014-09-09  Yao Qi  <yao@codesourcery.com>
12811
12812         * gdb.mi/mi-var-display.exp: Set print symbol off.
12813
12814 2014-09-07  Gabriel Krisman Bertazi  <gabriel@krisman.be>
12815
12816         PR gdb/17035
12817         * gdb.base/commands.exp: Add tests to verify user-defined
12818         commands with empty bodies.
12819         * gdb.python/py-cmd.exp: Test that we don't show user-defined
12820         python commands in `show user command`.
12821         * gdb.python/scm-cmd.exp: Test that we don't show user-defined
12822         scheme commands in `show user command`.
12823
12824 2014-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
12825
12826         PR python/17355
12827         * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
12828         * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
12829         * gdb.python/py-framefilter-invalidarg.exp: New file.
12830         * gdb.python/py-framefilter-invalidarg.py: New file.
12831
12832 2014-09-06  Doug Evans  <xdje42@gmail.com>
12833
12834         PR 15276
12835         * gdb.python/py-caller-is.c: New file.
12836         * gdb.python/py-caller-is.exp: New file.
12837
12838 2014-09-05  Sergio Durigan Junior  <sergiodj@redhat.com>
12839
12840         PR gdb/17235
12841         * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
12842         * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
12843
12844 2014-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
12845
12846         PR fortran/17237
12847         * gdb.fortran/print-formatted.exp: New file.
12848         * gdb.fortran/print-formatted.f90: Likewise.
12849
12850 2014-09-03  Sasha Smundak  <asmundak@google.com>
12851
12852         * gdb.python/py-frame.exp: Test Frame.read_register.
12853
12854 2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
12855
12856         PR python/16699
12857         * gdb.python/py-completion.exp: New file.
12858         * gdb.python/py-completion.py: Likewise.
12859
12860 2014-08-28  Doug Evans  <dje@google.com>
12861
12862         * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
12863         eax,etc. are live with values set by gdb and thus the compiler can't
12864         use them.
12865         * gdb.arch/i386-pseudo.c (main): Ditto.
12866
12867 2014-08-27  Doug Evans  <dje@google.com>
12868
12869         * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
12870
12871 2014-08-25  Doug Evans  <dje@google.com>
12872
12873         * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
12874         (main): Ditto.
12875
12876 2014-08-25  Doug Evans  <dje@google.com>
12877
12878         * gdb.threads/thread-execl.exp: #include <stdio.h>.
12879
12880 2014-08-24  Yao Qi  <yao@codesourcery.com>
12881
12882         * gdb.guile/scm-value.exp (test_lazy_strings): Set print
12883         symbol off.
12884         * gdb.python/py-value.exp (test_lazy_strings): Likewise.
12885
12886 2014-08-22  Doug Evans  <dje@google.com>
12887
12888         PR 17276
12889         * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
12890         * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
12891         * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
12892
12893 2014-08-22  Yao Qi  <yao@codesourcery.com>
12894
12895         * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
12896         * gdb.python/py-finish-breakpoint2.exp: Likewise.
12897         * gdb.python/python.exp: Likewise.  Use .py file on the host
12898         instead of the build.
12899
12900 2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
12901
12902         * gdb.threads/gcore-stale-thread.c: New file.
12903         * gdb.threads/gcore-stale-thread.exp: New file.
12904
12905 2014-08-21  Pedro Alves  <palves@redhat.com>
12906
12907         * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
12908         * gdb.base/gcore-relro-pie.exp: Likewise.
12909         * gdb.base/gcore-relro.exp: Likewise.
12910         * gdb.base/gcore.exp: Likewise.
12911         * gdb.base/print-symbol-loading.exp: Likewise.
12912         * gdb.threads/gcore-thread.exp: Likewise.
12913         * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
12914
12915 2014-08-20  Pedro Alves  <palves@redhat.com>
12916             Jan Kratochvil  <jan.kratochvil@redhat.com>
12917
12918         * Makefile.in (EXTRA_RULES, CC): New variables, get from
12919         configure.
12920         (EXPECT): Handle READ1 being set.
12921         (all): Depend on EXTRA_RULES.
12922         (check-read1, expect-read1, read1.so, read1): New rules.
12923         * README (Testsuite Parameters): Document the READ1 make variable.
12924         (Race detection): New section.
12925         * configure: Regenerate.
12926         * configure.ac: If build==host==target, and running under a
12927         GNU/glibc system, add read1 to the extra Makefile rules.
12928         (EXTRA_RULES): AC_SUBST it.
12929         * lib/read1.c: New file.
12930
12931 2014-08-20  Joel Brobecker  <brobecker@adacore.com>
12932
12933         * gdb.dwarf2/data-loc.exp: Add additional tests exercising
12934         the handling of variables declared as a typedef to an array
12935         which a DW_AT_data_location attribute.
12936
12937 2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
12938             Pedro Alves  <palves@redhat.com>
12939
12940         PR symtab/14604
12941         PR symtab/14605
12942         * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
12943         gdb_test.
12944
12945 2014-08-19  Pedro Alves  <palves@redhat.com>
12946
12947         * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
12948
12949 2014-08-19  Yao Qi  <yao@codesourcery.com>
12950
12951         * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
12952         right line.
12953
12954 2014-08-18  David Blaikie  <dblaikie@gmail.com>
12955
12956         * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
12957
12958 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
12959
12960         * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
12961         attribute in array range.
12962
12963 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
12964
12965         * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
12966
12967 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
12968
12969         PR c++/17132
12970         * gdb.cp/pr17132.cc: New file.
12971         * gdb.cp/pr17132.exp: New file.
12972
12973 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
12974
12975         * gdb.python/py-xmethods.py (A_getarrayind)
12976         (E_method_char_worker.__call__, E_method_int_worker.__call__):
12977         Use 'print' with function call syntax.
12978         (E_method_matcher.match): Fix tab vs space indentation mixup.
12979
12980 2014-08-15  Yao Qi  <yao@codesourcery.com>
12981
12982         * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
12983         false.
12984
12985 2014-08-15  Yao Qi  <yao@codesourcery.com>
12986
12987         * gdb.cp/casts.exp: Set print symbol off.
12988         * gdb.cp/class2.exp: Likewise.
12989         * gdb.cp/overload.exp: Likewise.
12990         * gdb.cp/templates.exp: Likewise.
12991
12992 2014-08-11  Doug Evans  <dje@google.com>
12993
12994         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
12995         (test_load_shlib): Update.
12996
12997 2014-08-09  Yao Qi  <yao@codesourcery.com>
12998
12999         * gdb.base/display.exp: Invoke is_address_zero_readable.
13000         * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
13001         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13002         * gdb.base/hbreak-unmapped.exp: Return if
13003         is_address_zero_readable returns true.
13004         * gdb.base/signest.exp: Likewise.
13005         * gdb.base/signull.exp: Likewise.
13006         * gdb.base/sigbpt.exp: Likewise.
13007         * gdb.guile/scm-disasm.exp: Do the test if
13008         is_address_zero_readable returns false.
13009         * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
13010         * gdb.python/py-arch.exp: Likewise.
13011         * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
13012         * lib/gdb.exp (is_address_zero_readable): New proc.
13013
13014 2014-08-09  Yao Qi  <yao@codesourcery.com>
13015
13016         PR testsuite/13443
13017         * gdb.mi/mi-var-display.exp: Make test messages unique.
13018
13019 2014-08-04  Tom Tromey  <tromey@redhat.com>
13020
13021         * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
13022         target 0".
13023
13024 2014-08-04  Tom Tromey  <tromey@redhat.com>
13025
13026         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
13027         "target_resume".
13028
13029 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
13030
13031         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
13032         inner_vla_struct_object_size.
13033         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
13034         as xfail.
13035
13036 2014-07-30  Pedro Alves  <palves@redhat.com>
13037
13038         * gdb.threads/signal-command-handle-nopass.exp (test): Add
13039         comment.
13040
13041 2014-07-29  Yao Qi  <yao@codesourcery.com>
13042
13043         PR gdb/17206
13044         * gdb.base/until-nodebug.exp: New.
13045
13046 2014-07-28  Doug Evans  <xdje42@gmail.com>
13047
13048         PR guile/17203
13049         * gdb.guile/scm-parameter.exp: Add tests for trying to create
13050         previously existing parameter, and previously ambiguously spelled
13051         parameter.
13052
13053 2014-07-28  Will Newton  <will.newton@linaro.org>
13054
13055         * gdb.base/varargs.exp: Remove KFAILs for ARM.
13056
13057 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
13058             Doug Evans  <xdje42@gmail.com>
13059
13060         PR guile/17146
13061         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
13062
13063 2014-07-25  Pedro Alves  <palves@redhat.com>
13064
13065         * gdb.threads/signal-command-handle-nopass.c: New file.
13066         * gdb.threads/signal-command-handle-nopass.exp: New file.
13067         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
13068         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
13069         * gdb.threads/signal-delivered-right-thread.c: New file.
13070         * gdb.threads/signal-delivered-right-thread.exp: New file.
13071
13072 2014-07-25  Pedro Alves  <palves@redhat.com>
13073
13074         * gdb.base/double-prompt-target-event-error.exp
13075         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
13076         match.
13077         (cancel_pagination_in_target_event): Rework double prompt
13078         detection.
13079         * gdb.base/paginate-after-ctrl-c-running.exp
13080         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
13081         <return>' match.
13082         * gdb.base/paginate-bg-execution.exp
13083         (test_bg_execution_pagination_return)
13084         (test_bg_execution_pagination_cancel): Remove '-notransfer
13085         <return>' matches.
13086         * gdb.base/paginate-execution-startup.exp
13087         (test_fg_execution_pagination_return)
13088         (test_fg_execution_pagination_cancel): Remove '-notransfer
13089         <return>' matches.
13090         * gdb.base/paginate-inferior-exit.exp
13091         (test_paginate_inferior_exited): Remove '-notransfer <return>'
13092         match.
13093         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13094         * lib/gdb.exp (pagination_prompt): Run text through
13095         string_to_regexp.
13096         (gdb_test_multiple): Match $pagination_prompt instead of
13097         "<return>".
13098         (string_to_regexp): Move to lib/gdb-utils.exp.
13099
13100 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
13101
13102         * gdb.arch/amd64-entry-value-paramref.S: New file.
13103         * gdb.arch/amd64-entry-value-paramref.cc: New file.
13104         * gdb.arch/amd64-entry-value-paramref.exp: New file.
13105         * gdb.arch/amd64-optimout-repeat.S: New file.
13106         * gdb.arch/amd64-optimout-repeat.c: New file.
13107         * gdb.arch/amd64-optimout-repeat.exp: New file.
13108
13109 2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
13110
13111         PR gdb/17170
13112         * gdb.base/statistics.exp: New file.
13113
13114 2014-07-17  Doug Evans  <dje@google.com>
13115
13116         PR gdb/17170
13117         * gdb.base/maint.exp: Update testing of per-command stats.
13118
13119 2014-07-16  Pedro Alves  <palves@redhat.com>
13120
13121         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13122         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13123         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
13124         (tfile_write_buf): New functions.
13125         (add_memory_block): Rewrite using the above.
13126         (adjust_function_address): New function.
13127         (FUNCTION_ADDRESS): New macro.
13128         (write_basic_trace_file): Remove short_x local, and use
13129         tfile_write_16. Change type of func_addr local to unsigned long
13130         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
13131         here.  Cast argument of add_memory_block to char pointer.
13132         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
13133         (main): Remove parameters.
13134         * gdb.trace/tfile.exp: Remove nowarnings.
13135
13136 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
13137
13138         * gdb.base/debug-expr.exp: Test string evaluation with
13139         "debug expression" on.
13140
13141 2014-07-15  Pedro Alves  <palves@redhat.com>
13142
13143         * gdb.base/reread.exp: Use clean_restart.
13144
13145 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
13146
13147         * gdb.arch/avr-flash-qualifer.c: New.
13148         * gdb.arch/avr-flash-qualifer.exp: New.
13149
13150 2014-07-14  Pedro Alves  <palves@redhat.com>
13151
13152         * gdb.base/paginate-after-ctrl-c-running.c: New file.
13153         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
13154
13155 2014-07-14  Pedro Alves  <palves@redhat.com>
13156
13157         * gdb.base/double-prompt-target-event-error.c: New file.
13158         * gdb.base/double-prompt-target-event-error.exp: New file.
13159
13160 2014-07-14  Pedro Alves  <palves@redhat.com>
13161
13162         PR gdb/17072
13163         * gdb.base/paginate-inferior-exit.c: New file.
13164         * gdb.base/paginate-inferior-exit.exp: New file.
13165
13166 2014-07-14  Pedro Alves  <palves@redhat.com>
13167
13168         PR gdb/17072
13169         * gdb.base/paginate-bg-execution.c: New file.
13170         * gdb.base/paginate-bg-execution.exp: New file.
13171
13172 2014-07-14  Pedro Alves  <palves@redhat.com>
13173
13174         PR gdb/17072
13175         * gdb.base/paginate-execution-startup.c: New file.
13176         * gdb.base/paginate-execution-startup.exp: New file.
13177         * lib/gdb.exp (pagination_prompt): New global.
13178         (default_gdb_spawn): New procedure, factored out from
13179         default_gdb_spawn.
13180         (default_gdb_start): Adjust to call default_gdb_spawn.
13181         (gdb_spawn): New procedure.
13182
13183 2014-07-14  Pedro Alves  <palves@redhat.com>
13184
13185         * lib/gdb.exp (gdb_assert): New procedure.
13186         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
13187
13188 2014-07-14  Pedro Alves  <palves@redhat.com>
13189
13190         * gdb.base/execution-termios.c: New file.
13191         * gdb.base/execution-termios.exp: New file.
13192
13193 2014-07-14  Tom Tromey  <tromey@redhat.com>
13194
13195         * gdb.cp/vla-cxx.cc: New file.
13196         * gdb.cp/vla-cxx.exp: New file.
13197
13198 2014-07-14  Tom Tromey  <tromey@redhat.com>
13199
13200         * gdb.reverse/rerun-prec.c: New file.
13201         * gdb.reverse/rerun-prec.exp: New file.
13202
13203 2014-07-12  Maciej W. Rozycki  <macro@mips.com>
13204             Maciej W. Rozycki  <macro@codesourcery.com>
13205
13206         * lib/gdb-utils.exp: New file.
13207         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
13208         inline `gdb_init_command' processing.
13209         (gdb_start_cmd): Likewise.
13210         * lib/mi-support.exp (mi_run_cmd): Likewise.
13211         * README: Document `gdb_init_command' and `gdb_init_commands'.
13212
13213 2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13214
13215         Fix false FAIL running under a very long directory name.
13216         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
13217         and "set print elements 10000".  Twice.
13218
13219 2014-07-11  Yao Qi  <yao@codesourcery.com>
13220
13221         * gdb.base/exprs.exp: "set print symbol off".
13222
13223 2014-07-11  Pedro Alves  <palves@redhat.com>
13224
13225         * gdb.threads/kill.c: New file.
13226         * gdb.threads/kill.exp: New file.
13227
13228 2014-07-10  Yao Qi  <yao@codesourcery.com>
13229
13230         * gdb.trace/tfile.c (write_basic_trace_file)
13231         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
13232         address written to trace file.
13233
13234 2014-07-09  Pedro Alves  <palves@redhat.com>
13235
13236         * gdb.base/attach-wait-input.exp: New file.
13237         * gdb.base/attach-wait-input.c: New file.
13238
13239 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
13240
13241         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
13242         setting up test structures.
13243         (main): Call new test function.
13244         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
13245         test function, continue into test function and walk test
13246         structures.
13247
13248 2014-07-02  Yao Qi  <yao@codesourcery.com>
13249
13250         * gdb.trace/entry-values.c: Define labels 'foo_start' and
13251         'bar_start' at the beginning of functions 'foo' and 'bar'
13252         respectively.
13253         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
13254         instead of 'foo' and 'bar'.
13255
13256 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
13257
13258         * gdb.btrace/segv.exp: New.
13259         * gdb.btrace/segv.c: New.
13260
13261 2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
13262
13263         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
13264         instruction.
13265
13266 2014-06-30  Mark Wielaard  <mjw@redhat.com>
13267
13268         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
13269         vulture, vilify, villar): New volatile array constants.
13270         (vindictive, vegetation): New const volatile array constants.
13271         * gdb.base/volatile.exp: Test volatile and const volatile array
13272         types.
13273
13274 2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13275
13276         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
13277         target lacks support for awatch, rwatch, or hbreak.
13278
13279 2014-06-27  Yao Qi  <yao@codesourcery.com>
13280
13281         * gdb.multi/dummy-frame-restore.exp: New.
13282         * gdb.multi/dummy-frame-restore.c: New.
13283
13284 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
13285
13286         * gdb.btrace/gcore.exp: New.
13287
13288 2014-06-23  Pedro Alves  <palves@redhat.com>
13289
13290         * gdb.base/watchpoint-reuse-slot.c: New file.
13291         * gdb.base/watchpoint-reuse-slot.exp: New file.
13292
13293 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
13294
13295         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
13296         progspace's filename in 'info', 'enable' and 'disable' command
13297         tests.
13298
13299 2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
13300
13301         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
13302         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13303         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
13304
13305 2014-06-20  Gary Benson  <gbenson@redhat.com>
13306
13307         * gdb.arch/i386-avx.exp: Fix include file location.
13308         * gdb.arch/i386-sse.exp: Likewise.
13309
13310 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
13311
13312         * gdb.dlang/expression.exp: New file.
13313
13314 2014-06-19  Pedro Alves  <palves@redhat.com>
13315
13316         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
13317         out from ...
13318         (top level): ... here.  Iterate running tests under different
13319         scheduler-locking settings.
13320
13321 2014-06-18  Luis Machado  <lgustavo@codesourcery.com>
13322
13323         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
13324         to DW_FORM_addr and use non-zero addresses.
13325
13326 2014-06-18  Siva Chandra Reddy  <sivachandra@google.com>
13327
13328         PR gdb/17017
13329         * gdb.python/py-xmethods.cc: Add global function call counters and
13330         increment them in their respective functions.  Remove "cout"
13331         statements.
13332         * gdb.python/py-xmethods.exp: Make tests check the global function
13333         call counters instead of depending on inferior IO.
13334
13335 2014-06-18  Don Breazeal  <donb@codesourcery.com>
13336
13337         * gdb.base/foll-fork.exp (default_fork_parent_follow):
13338         Deleted procedure.
13339         (explicit_fork_parent_follow): Deleted procedure.
13340         (explicit_fork_child_follow): Deleted procedure.
13341         (test_follow_fork): New procedure.
13342         (do_fork_tests): Replace calls to deleted procedures with
13343         calls to test_follow_fork and reset GDB for subsequent
13344         procedure calls.
13345
13346 2014-06-17  Yao Qi  <yao@codesourcery.com>
13347
13348         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
13349         CP1252.
13350
13351 2014-06-17  Luis Machado  <lgustavo@codesourcery.com>
13352
13353         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
13354         Initialize ptr and S explicitly.
13355         (skip_type_update_when_not_use_rtti_test): Likewise.
13356
13357 2014-06-16  Keith Seitz  <keiths@redhat.com>
13358
13359         PR mi/15863
13360         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
13361         the inferior is started.
13362
13363 2014-06-16  Pedro Alves  <palves@redhat.com>
13364
13365         * gdb.base/break-main-file-remove-fail.c: New file.
13366         * gdb.base/break-main-file-remove-fail.exp: New file.
13367         * gdb.base/break-unload-file.exp: Use build_executable instead of
13368         prepare_for_testing.
13369         (test_break): New parameter "initial_load".  Handle it.
13370         (top level): Add initial_load cmdline/file axis.
13371
13372 2014-06-12  Tom Tromey  <tromey@redhat.com>
13373
13374         * gdb.base/completion.exp: Don't use directory name in test.
13375
13376 2014-06-09  Gary Benson  <gbenson@redhat.com>
13377
13378         * gdb.base/sigall.c [Functions to send signals]: Reorder to
13379         separate the always-available ANSI-standard signals from the
13380         signals that require checking.
13381         (main): Likewise.
13382         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
13383         Likewise.
13384         (main): Likewise.
13385
13386 2014-06-07  Keith Seitz  <keiths@redhat.com>
13387
13388         Revert:
13389         PR c++/16253
13390         * gdb.cp/var-tag.cc: New file.
13391         * gdb.cp/var-tag.exp: New file.
13392         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13393         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13394         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13395         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13396
13397 2014-06-06  Doug Evans  <xdje42@gmail.com>
13398
13399         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
13400
13401 2014-06-06  Pedro Alves  <palves@redhat.com>
13402
13403         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
13404         in target debug output instead of looking at RSP packets,
13405         disabling the test on any target that uses hardware stepping.
13406         Update comments.
13407
13408 2014-06-06  Pedro Alves  <palves@redhat.com>
13409
13410         * gdb.base/break-unload-file.exp: Fix typo.
13411
13412 2014-06-06  Yao Qi  <yao@codesourcery.com>
13413
13414         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13415         from "jit_function" to "^jit_function".
13416
13417 2014-06-06  Yao Qi  <yao@codesourcery.com>
13418
13419         * gdb.base/async.c (foo): Add one statement.
13420         * gdb.base/async.exp: Get the next instruction address and
13421         match the output of "nexti" by instruction address.  Match
13422         the hex address in the output of "finish".
13423
13424 2014-06-06  Gary Benson  <gbenson@redhat.com>
13425
13426         * gdb.base/call-signals.c: Remove preprocessor conditionals
13427         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13428         SIGSEGV and SIGTERM.
13429         * gdb.base/sigall.c: Likewise.
13430         * gdb.base/unwindonsignal.c: Likewise.
13431         * gdb.reverse/sigall-reverse.c: Likewise.
13432
13433 2014-06-06  Yao Qi  <yao@codesourcery.com>
13434
13435         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
13436         readable, skip the test.
13437
13438 2014-06-06  Yao Qi  <yao@codesourcery.com>
13439
13440         * gdb.threads/staticthreads.c (thread_function): Move the line
13441         setting breakpoint on forward.
13442         * gdb.threads/staticthreads.exp: Update comments.
13443
13444 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
13445
13446         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13447         "history-append! type error".
13448
13449 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
13450
13451         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13452         erroneous dprintf expected input.
13453
13454 2014-06-04  Doug Evans  <xdje42@gmail.com>
13455
13456         * gdb.guile/scm-generics.exp: Delete.
13457
13458 2014-06-04  Doug Evans  <xdje42@gmail.com>
13459
13460         * gdb.guile/scm-breakpoint.exp: Update.
13461         Add tests for breakpoint registration.
13462
13463 2014-06-04  Tom Tromey  <tromey@redhat.com>
13464
13465         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13466         VLA-in-union.
13467         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13468         inner_vla_struct, vla_union types.  Initialize objects of those
13469         types and compute their sizes.
13470
13471 2014-06-04  Nathan Sidwell  <nathan@codesourcery.com>
13472             Hui Zhu  <hui@codesourcery.com>
13473
13474         * gdb.base/fileio.exp: Add test for shell not available as well as
13475         available.
13476         * gdb.base/fileio.c (test_system): Check for shell twice.
13477
13478 2014-06-04  Yao Qi  <yao@codesourcery.com>
13479
13480         * gdb.base/auto-connect-native-target.exp: Remove redundant
13481         space from the regexp pattern.
13482
13483 2014-06-04  Yao Qi  <yao@codesourcery.com>
13484
13485         * gdb.base/default.exp: Replace "child" with "native" in
13486         regexp pattern.
13487
13488 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
13489
13490         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
13491         * gdb.python/py-xmethods.exp: New tests to test xmethods.
13492         * gdb.python/py-xmethods.py: Python script supporting the
13493         new testcase and tests.
13494
13495 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
13496             Pedro Alves  <palves@redhat.com>
13497
13498         PR breakpoints/17000
13499         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
13500         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
13501
13502 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
13503
13504         * gdb.base/subst.exp: Add tests to verify partial path matching
13505         output.
13506
13507 2014-06-03  Pedro Alves  <palves@redhat.com>
13508
13509         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13510         target that doesn't use software single-stepping.
13511
13512 2014-06-03  Pedro Alves  <palves@redhat.com>
13513
13514         PR breakpoints/17000
13515         * gdb.base/sss-bp-on-user-bp-2.c: New file.
13516         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13517
13518 2014-06-02  Doug Evans  <xdje42@gmail.com>
13519
13520         * gdb.guile/scm-parameter.exp: New file.
13521
13522 2014-06-02  Doug Evans  <xdje42@gmail.com>
13523
13524         * gdb.guile/scm-cmd.c: New file.
13525         * gdb.guile/scm-cmd.exp: New file.
13526
13527 2014-06-02  Doug Evans  <xdje42@gmail.com>
13528
13529         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13530         pretty-printer lookup.
13531         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13532         (make-pp_s-printer): Call it.
13533         (make-pretty-printer-from-dict): New function.
13534         (lookup-pretty-printer-maker-from-dict): New function.
13535         (*pretty-printer*): Simplify.
13536         (make-objfile-pp_s-printer): New function.
13537         (install-objfile-pretty-printers!): New function.
13538         (make-progspace-pp_s-printer): New function.
13539         (install-progspace-pretty-printers!): New function.
13540         * gdb.guile/scm-progspace.c: New file.
13541         * gdb.guile/scm-progspace.exp: New file.
13542
13543 2014-06-02  Pedro Alves  <palves@redhat.com>
13544
13545         * gdb.base/dprintf-bp-same-addr.c: New file.
13546         * gdb.base/dprintf-bp-same-addr.exp: New file.
13547
13548 2014-06-02  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13549
13550         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13551         * gdb.arch/powerpc-power.s: Likewise.
13552
13553 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
13554
13555         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13556
13557 2014-06-01  Yao Qi  <yao@codesourcery.com>
13558
13559         * gdb.base/watchpoint.exp (test_watch_location): Check null
13560         pointer can be dereferenced.  If not, do the test, otherwise
13561         skip it.
13562
13563 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13564
13565         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13566         results.
13567         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13568
13569 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13570
13571         * gdb.arch/amd64-invalid-stack-middle.S: New file.
13572         * gdb.arch/amd64-invalid-stack-middle.c: New file.
13573         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13574         * gdb.arch/amd64-invalid-stack-top.c: New file.
13575         * gdb.arch/amd64-invalid-stack-top.exp: New file.
13576
13577 2014-05-30  Pedro Alves  <palves@redhat.com>
13578
13579         PR breakpoints/17000
13580         * gdb.base/sss-bp-on-user-bp.c: New file.
13581         * gdb.base/sss-bp-on-user-bp.exp: New file.
13582
13583 2014-05-30  David Blaikie  <dblaikie@gmail.com>
13584
13585         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13586         gnu_inline semantics via attribute.
13587         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13588         source explicitly specifies the required semantics.
13589
13590 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
13591
13592         * gdb.reverse/sigall-reverse.exp: Fix a typo.
13593
13594 2014-05-29  Pedro Alves  <palves@redhat.com>
13595             Tom Tromey  <tromey@redhat.com>
13596
13597         * gdb.base/async-shell.exp: Don't enable target-async.
13598         * gdb.base/async.exp
13599         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13600         parameter.  Adjust.
13601         (top level): Don't test with "target-async".
13602         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13603         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13604         * gdb.base/inferior-died.exp: Don't enable target-async.
13605         * gdb.base/interrupt-noterm.exp: Likewise.
13606         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13607         * gdb.mi/mi-nonstop-exit.exp: Likewise.
13608         * gdb.mi/mi-nonstop.exp: Likewise.
13609         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13610         * gdb.mi/mi-nsintrall.exp: Likewise.
13611         * gdb.mi/mi-nsmoribund.exp: Likewise.
13612         * gdb.mi/mi-nsthrexec.exp: Likewise.
13613         * gdb.mi/mi-watch-nonstop.exp: Likewise.
13614         * gdb.multi/watchpoint-multi.exp: Adjust comment.
13615         * gdb.python/py-evsignal.exp: Don't enable target-async.
13616         * gdb.python/py-evthreads.exp: Likewise.
13617         * gdb.python/py-prompt.exp: Likewise.
13618         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13619         * gdb.server/solib-list.exp: Don't enable target-async.
13620         * gdb.threads/thread-specific-bp.exp: Likewise.
13621         * lib/mi-support.exp: Adjust to use mi-async.
13622
13623 2014-05-29  Pedro Alves  <palves@redhat.com>
13624
13625         PR gdb/13860
13626         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13627         reason, even in sync mode.
13628
13629 2014-05-29  Pedro Alves  <palves@redhat.com>
13630             Hui Zhu  <hui@codesourcery.com>
13631
13632         PR PR15693
13633         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13634         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13635         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13636         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13637
13638 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
13639
13640         * config/monitor.exp (gdb_target_monitor): Replace use of
13641         "set remotebaud" by "set serial baud".
13642
13643 2014-05-26  Andy Wingo  <wingo@igalia.com>
13644
13645         * gdb.guile/scm-breakpoint.exp:
13646         * gdb.guile/scm-gsmob.exp: Update to use plain old object
13647         properties instead of gdb-object-properties.
13648
13649 2014-05-26  Yao Qi  <yao@codesourcery.com>
13650
13651         * gdb.server/no-thread-db.exp: Specify source file name
13652         explicitly when setting a breakpoint.
13653
13654 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13655
13656         * gdb.btrace/vdso.c: New.
13657         * gdb.btrace/vdso.exp: New.
13658
13659 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13660
13661         * gdb.base/gcore.exp (capture_command_output): Move ...
13662         * lib/gdb.exp (capture_command_output): ... here.
13663
13664 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13665
13666         * gdb.btrace/data.exp: Test memory access during btrace replay.
13667
13668 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
13669
13670         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13671
13672 2014-05-21  Pedro Alves  <palves@redhat.com>
13673
13674         PR gdb/13860
13675         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13676         (top level): Test that output related to execution commands is
13677         sent to the console with CLI commands, but not with MI commands.
13678         Test that breakpoint events are always mirrored to the console.
13679         Also expect the new source line to be output after a "next" in
13680         async mode too.  Make it a pass/fail test.
13681         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13682         output.
13683         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13684
13685 2014-05-21  Pedro Alves  <palves@redhat.com>
13686
13687         * gdb.base/list.exp (build_pattern, test_list): New procedures.
13688         Use them to test variations of "list" after reaching a breakpoint.
13689         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13690         Test "list" with listsize 10 after reaching a breakpoint.
13691         * gdb.python/python.exp (decode_line current location line
13692         number): Adjust expected line number.
13693
13694 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
13695
13696         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13697         behavior for $args, pass it directly to "run".
13698
13699 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
13700
13701         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13702         30000 to 65536.
13703
13704 2014-05-21  Pedro Alves  <palves@redhat.com>
13705
13706         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13707         auto-connect-native-target off".
13708         * gdb.base/auto-connect-native-target.c: New file.
13709         * gdb.base/auto-connect-native-target.exp: New file.
13710
13711 2014-05-21  Pedro Alves  <palves@redhat.com>
13712
13713         * gdb.base/default.exp: Test "target native" instead of "target
13714         child".
13715
13716 2014-05-21  Mark Wielaard  <mjw@redhat.com>
13717
13718         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13719
13720 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
13721
13722         Fix TLS access for -static -pthread.
13723         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
13724         <HAVE_TLS> (thread_function, main): Initialize it.
13725         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
13726         Add clean_restart.
13727         <$have_tls != "">: Check TLSVAR.
13728
13729 2014-05-21  Pedro Alves  <palves@redhat.com>
13730
13731         * gdb.base/dcache-line-read-error.c: New.
13732         * gdb.base/dcache-line-read-error.exp: New.
13733
13734 2014-05-20  Pedro Alves  <palves@redhat.com>
13735
13736         * gdb.base/compare-sections.c: New file.
13737         * gdb.base/compare-sections.exp: New file.
13738
13739 2014-05-20  Pedro Alves  <palves@redhat.com>
13740
13741         * gdb.base/break-idempotent.c: New file.
13742         * gdb.base/break-idempotent.exp: New file.
13743
13744 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
13745
13746         * gdb.btrace/nohist.exp: New.
13747
13748 2014-05-20  Yao Qi  <yao@codesourcery.com>
13749
13750         * lib/gdb.exp (gdb_init): Set timeout if test file is under
13751         gdb.reverse directory and gdb_reverse_timeout exists in board
13752         setting.
13753         * README: Document gdb_reverse_timeout.
13754
13755 2014-05-20  Yao Qi  <yao@codesourcery.com>
13756
13757         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
13758         'test_file_name'.  Treat args as a string instead of a list.
13759         (gdb_init): Rename argument 'args' by 'test_file_name'.
13760
13761 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
13762
13763         * gdb.arch/powerpc-power.exp: New file.
13764         * gdb.arch/powerpc-power.s: New file.
13765
13766 2014-05-16  Doug Evans  <dje@google.com>
13767
13768         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
13769         * gdb.base/completion.exp: Check that all expected files exist
13770         before doing file completion.
13771
13772 2014-05-16  Doug Evans  <dje@google.com>
13773
13774         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
13775         Update.
13776         (do_syscall_tests_without_xml): Update.
13777
13778 2014-05-16  Pedro Alves  <palves@redhat.com>
13779
13780         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
13781         instead of "unknown output after running".
13782
13783 2014-05-16  Yao Qi  <yao@codesourcery.com>
13784
13785         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
13786         file1.txt from host at the end.
13787         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
13788
13789 2014-05-15  Doug Evans  <dje@google.com>
13790
13791         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
13792         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
13793         loading file.  Add test for TU lookup.
13794
13795 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
13796
13797         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
13798         calling "-exec-arguments" or "set args" before running the
13799         inferior.
13800
13801 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
13802
13803         * lib/mi-support.exp (mi_expect_stop): Expect message for
13804         inferiors that exit with non-zero exit code.
13805
13806 2014-05-14  Yao Qi  <yao@codesourcery.com>
13807
13808         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
13809         match absolute path on remote host.
13810         (test_file_list_exec_source_files): Remove "/" from the
13811         pattern.
13812
13813 2014-05-14  Yao Qi  <yao@codesourcery.com>
13814
13815         * boards/local-remote-host-notty.exp (${board}_file): New
13816         proc.
13817
13818 2014-05-07  Kyle McMartin  <kyle@redhat.com>
13819
13820         Pushed by Joel Brobecker  <brobecker@adacore.com>.
13821         * gdb.arch/aarch64-atomic-inst.c: New file.
13822         * gdb.arch/aarch64-atomic-inst.exp: New file.
13823
13824 2014-05-07  Yao Qi  <yao@codesourcery.com>
13825
13826         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
13827         in current context" too.
13828
13829 2014-05-05  Keith Seitz  <keiths@redhat.com>
13830
13831         * gdb.linespec/ls-dollar.exp: Add test for linespec
13832         file:convenience_variable.
13833
13834 2014-05-05  Yao Qi  <yao@codesourcery.com>
13835
13836         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
13837         traceframes into tfile and ctf trace files.  Read data from
13838         trace file and test collected data.
13839         (gdb_collect_locals_test): Likewise.
13840         (gdb_unavailable_registers_test): Likewise.
13841         (gdb_unavailable_floats): Likewise.
13842         (gdb_collect_globals_test): Likewise.
13843         (top-level): Append "ctf" to trace_file_targets if GDB
13844         supports.
13845
13846 2014-05-05  Yao Qi  <yao@codesourcery.com>
13847
13848         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
13849         code to ...
13850         (gdb_collect_args_test_1): ... it.  New proc.
13851         (gdb_collect_locals_test): Move some code to ...
13852         (gdb_collect_locals_test_1): ... it.  New proc.
13853         (gdb_unavailable_registers_test): Move some code to ...
13854         (gdb_unavailable_registers_test_1): ... it.  New proc.
13855         (gdb_unavailable_floats): Move some code to ...
13856         (gdb_unavailable_floats_1): ... it.  New proc.
13857
13858 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
13859
13860         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
13861         probes to test for bitness recognition.
13862         * gdb.arch/amd64-stap-optional-prefix.exp
13863         (test_probe_value_without_reg): New procedure.
13864         Add code to test for different kinds of bitness.
13865
13866 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
13867
13868         PR breakpoints/16889
13869         * gdb.arch/amd64-stap-optional-prefix.S: New file.
13870         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13871
13872 2014-05-01  Pedro Alves  <palves@redhat.com>
13873
13874         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
13875         gdb_file_cmd if no file is specified.
13876         * boards/native-extended-gdbserver.exp (gdb_load): Use the
13877         last_loaded_file to set the remote exec-file.
13878
13879 2014-05-01  Pedro Alves  <palves@redhat.com>
13880
13881         * boards/local-remote-host.exp: New file.
13882
13883 2014-05-01  Pedro Alves  <palves@redhat.com>
13884
13885         * boards/local-remote-host.exp: Rename to ...
13886         * boards/local-remote-host-notty.exp: ... this.
13887
13888 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
13889
13890         * gdb.ada/dyn_arrayidx: New testcase.
13891
13892 2014-04-26  Yao Qi  <yao@codesourcery.com>
13893
13894         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
13895         and compute the length of function main.  Save it in
13896         $main_length.
13897         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
13898         (top-level): Use gdb_compile to compile objects into
13899         executable and restart GDB.  Remove invocation to
13900         prepare_for_testing.
13901
13902 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
13903             Pedro Alves  <palves@redhat.com>
13904
13905         PR server/16255
13906         * gdb.multi/multi-attach.c: New file.
13907         * gdb.multi/multi-attach.exp: New file.
13908
13909 2014-04-25  Pedro Alves  <palves@redhat.com>
13910
13911         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
13912         user.
13913         (top level): Test that "set remote conditional-breakpoints-packet
13914         off" works as intended.
13915         * gdb.base/dprintf.exp: Test that "set remote
13916         breakpoint-commands-packet off" works as intended.
13917         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
13918         New function.
13919         (top level): Call it.
13920         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
13921         remote fast-tracepoints-packet off" works as intended.
13922         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
13923         * lib/gdb.exp (gdb_is_target_remote): ... here.
13924
13925 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13926
13927         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
13928         ensure clang would not discard them.
13929         * gdb.base/gdbvars.c: Ditto.
13930         * gdb.base/memattr.c: Ditto.
13931         * gdb.base/whatis.c: Ditto.
13932         * gdb.python/py-prettyprint.c: Ditto.
13933         * gdb.trace/actions.c: Ditto.
13934         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
13935         ensure clang would not discard it.
13936
13937 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13938
13939         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
13940         clang to emit the full definition of type required by the test
13941         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
13942
13943 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13944
13945         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
13946         coax Clang into emitting the definition of the type.
13947         * gdb.cp/pr10728-x.h (y): Ditto.
13948         * gdb.cp/pr10728-y.cc (y): Ditto.
13949
13950 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13951
13952         * gdb.base/label.exp: XFAIL label related tests under Clang.
13953         * gdb.cp/cplabel.exp: Ditto.
13954         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
13955         under Clang those using labels.
13956
13957 2014-04-25  Yao Qi  <yao@codesourcery.com>
13958
13959         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
13960         double_label.
13961         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
13962         partial_label and double_label.
13963
13964 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13965
13966         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
13967
13968 2014-04-24  David Blaikie  <dblaikie@gmail.com>
13969
13970         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
13971         of the function to work across GCC and Clang.
13972         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
13973         pointer types (const void ** const V void **).
13974
13975 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
13976             Walfred Tedeschi  <walfred.tedeschi@intel.com>
13977
13978         * Makefile.in (EXECUTABLES): Added i386-avx512.
13979         * gdb.arch/i386-avx512.c: New file.
13980         * gdb.arch/i386-avx512.exp: Likewise.
13981
13982 2014-04-23  Keith Seitz  <keiths@redhat.com>
13983
13984         * lib/mi-support.exp (mi_list_breakpoints): Delete.
13985         (mi_make_breakpoint_table): New procedure.
13986         (mi_create_breakpoint): Use mi_make_breakpoint
13987         and return the result.
13988         (mi_make_breakpoint): New procedure.
13989         (mi_build_kv_pairs): New procedure.
13990
13991         * gdb.mi/mi-break.exp: Remove unused globals,
13992         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
13993         All callers updated.
13994         * gdb.mi/mi-dprintf.exp: Use variable to track command
13995         number.
13996         Update all callers of mi_create_breakpoint and use
13997         mi_make_breakpoint_table.
13998         Remove any unused global variables.
13999         * gdb.mi/mi-nonstop.exp: Likewise.
14000         * gdb.mi/mi-nsintrall.exp: Likewise.
14001         * gdb.mi/mi-nsmoribund.exp: Likewise.
14002         * gdb.mi/mi-nsthrexec.exp: Likewise.
14003         * gdb.mi/mi-reverse.exp: Likewise.
14004         * gdb.mi/mi-simplerun.exp: Likewise.
14005         * gdb.mi/mi-stepn.exp: Likewise.
14006         * gdb.mi/mi-syn-frame.exp: Likewise.
14007         * gdb.mi/mi-until.exp: Likewise.
14008         * gdb.mi/mi-var-cp.exp: Likewise.
14009         * gdb.mi/mi-var-display.exp: Likewise.
14010         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
14011         * gdb.mi/mi2-var-child.exp: Likewise.
14012         * gdb.mi/mi-vla-c99.exp: Likewise.
14013         * lib/mi-support.exp: Likewise.
14014
14015         From Ian Lance Taylor  <iant@cygnus.com>:
14016         * lib/gdb.exp (parse_args): New procedure.
14017
14018 2014-04-23  Pedro Alves  <palves@redhat.com>
14019
14020         * gdb.base/break-unload-file.c: New file.
14021         * gdb.base/break-unload-file.exp: New file.
14022         * gdb.base/sym-file-lib.c (baz): New function.
14023         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
14024         field.
14025         (load): Store the segment's mapped size.
14026         (unload): New function.
14027         (unload_shlib): New function.
14028         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
14029         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
14030         set a breakpoint at baz, and call it.
14031         * gdb.base/sym-file.exp: New tests for stale breakpoint
14032         instructions.
14033
14034 2014-04-23  Pedro Alves  <palves@redhat.com>
14035
14036         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
14037         * gdb.base/hbreak-in-shr-unsupported.c: New file.
14038         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
14039         * gdb.base/hbreak-unmapped.c: New file.
14040         * gdb.base/hbreak-unmapped.exp: New file.
14041         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
14042         * lib/gdb.exp (gdb_is_target_remote): ... here.
14043
14044 2014-04-22  Pedro Alves  <palves@redhat.com>
14045
14046         * gdb.base/consecutive-step-over.c: New file.
14047         * gdb.base/consecutive-step-over.exp: New file.
14048
14049 2014-04-22  Pedro Alves  <palves@redhat.com>
14050
14051         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
14052         instead of send_gdb/gdb_expect.
14053
14054 2014-04-22  Yao Qi  <yao@codesourcery.com>
14055
14056         * lib/trace-support.exp (generate_tracefile): New procedure.
14057         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
14058         return 0.
14059         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
14060         if generate_tracefile returns 1.
14061
14062 2014-04-18  Tom Tromey  <palves@redhat.com>
14063             Pedro alves  <tromey@redhat.com>
14064
14065         PR backtrace/15558
14066         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
14067         with a backtrace limit.
14068         * gdb.python/py-frame-inline.exp: Test running to an inline
14069         function with a backtrace limit, and printing the newest frame.
14070         * gdb.python/py-frame-inline.c (main): Call f.
14071
14072 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14073
14074         * gdb.java/jnpe.exp: Drop srcdir from untested path.
14075
14076 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14077
14078         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
14079         Drop prefix from unsupported source file path.
14080
14081 2014-04-17  Yao Qi  <yao@codesourcery.com>
14082
14083         * lib/gdb.exp (with_target_charset): New proc.
14084         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
14085         with_target_charset.
14086         (test_print_strings): Likewise.
14087         (test_repeat_bytes): Likewise.
14088         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14089         for some tests.
14090
14091 2014-04-16  Keith Seitz  <keiths@redhat.com>
14092
14093         PR gdb/15827
14094         * gdb.dwarf2/corrupt.c: New file.
14095         * gdb.dwarf2/corrupt.exp: New file.
14096
14097 2014-04-16  Keith Seitz  <keiths@redhat.com>
14098
14099         PR c++/16597
14100         * gdb.cp/namelessclass.cc: New file.
14101         * gdb.cp/namelessclass.exp: New file.
14102         * gdb.cp/namelessclass.S: New file.
14103
14104 2014-04-16  Doug Evans  <dje@google.com>
14105
14106         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
14107         Add comment.
14108         (gdbserver_default_get_comm_port): New function.
14109         (gdbserver_start): Check if board file provided
14110         "gdbserver,get_comm_port" and use it if so.
14111         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
14112         (gdb,socketport): Set to "stdio".
14113         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
14114         (stdio_gdbserver_template): Delete.
14115         (${board}_get_remote_address): Update.
14116         (${board}_build_remote_cmd): Delete.
14117         (${board}_get_comm_port): New function.
14118         (${board}_spawn): Update.
14119         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
14120         Delete.
14121         (${board}_get_remote_address): Update.
14122         (${board}_get_comm_port): New function.
14123
14124 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
14125
14126         * gdb.base/memattr.exp: Improve regexps to handle memory regions
14127         appearing in any order.
14128
14129 2014-04-15  Doug Evans  <dje@google.com>
14130
14131         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
14132         uninitialized value of "description".
14133
14134 2014-04-15  Keith Seitz  <keiths@redhat.com>
14135
14136         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
14137         Remove unused globals.
14138         (test_running_the_program): Likewise.
14139         (test_controlled_execution): Likewise.
14140         (test_controlling_breakpoints): Likewise.
14141         (test_program_termination): Likewise.
14142
14143 2014-04-15  Keith Seitz  <keiths@redhat.com>
14144
14145         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
14146         unused globals.
14147         (test_rbreak_creation_and_listing): Likewise.
14148         (test_ignore_count): Likewise.
14149         (test_error): Likewise.
14150
14151 2014-04-15  Pedro Alves  <palves@redhat.com>
14152
14153         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
14154         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
14155         sym-file-loader.c.
14156         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14157         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14158         to sym-file-loader.c.
14159         (struct library): Forward declare.
14160         (load_shlib, lookup_function): Change prototypes.
14161         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14162         (translate_offset): Remove declarations.
14163         (get_text_addr): New declaration.
14164         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
14165         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
14166         sym-file-loader.h.
14167         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14168         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14169         here from sym-file-loader.h.
14170         (struct library): New structure.
14171         (load_shlib, lookup_function): Change prototypes and adjust to
14172         work with a struct library.
14173         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14174         (translate_offset): Make static.
14175         (get_text_addr): New function.
14176         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
14177
14178 2014-04-15  Pedro Alves  <palves@redhat.com>
14179
14180         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
14181
14182 2014-04-15  Pedro Alves  <palves@redhat.com>
14183
14184         * gdb.base/sym-file-loader.c: Include <limits.h>.
14185         (SELF_LINK): New define.
14186         (get_origin): New function.
14187         (load_shlib): Use it.
14188         * gdb.base/sym-file.exp: Don't early return if the target is
14189         remote.  Use runto_main, and issue fail is that fails.  Use
14190         gdb_load_shlibs.
14191         (shlib_name): Delete.
14192         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
14193
14194 2014-04-15  Pedro Alves <palves@redhat.com>
14195
14196         * gdb.base/sym-file.exp: Remove regex characters from test
14197         message.  Don't refer to breakpoint numbers in test messages.
14198
14199 2014-04-14  Keith Seitz  <keiths@redhat.com>
14200
14201         PR c++/16253
14202         * gdb.cp/var-tag.cc: New file.
14203         * gdb.cp/var-tag.exp: New file.
14204         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14205         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14206         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14207         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14208
14209 2014-04-14  Tom Tromey  <tromey@redhat.com>
14210
14211         * gdb.cp/classes.exp (test_enums): Handle underlying type.
14212         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
14213         type.
14214         * gdb.cp/enum-class.exp: New file.
14215         * gdb.cp/enum-class.cc: New file.
14216
14217 2014-04-14  Tom Tromey  <tromey@redhat.com>
14218
14219         * gdb.dwarf2/enum-type.exp: New file.
14220
14221 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14222
14223         * gdb.mi/mi-vla-c99.exp: New file.
14224         * gdb.mi/vla.c: New file.
14225
14226 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14227
14228         * gdb.base/vla-datatypes.c: New file.
14229         * gdb.base/vla-datatypes.exp: New file.
14230
14231 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14232
14233         * gdb.base/vla-ptr.c: New file.
14234         * gdb.base/vla-ptr.exp: New file.
14235
14236 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14237
14238         * gdb.dwarf2/count.exp: New file.
14239
14240 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14241
14242         * gdb.base/vla-sideeffect.c: New file.
14243         * gdb.base/vla-sideeffect.exp: New file.
14244
14245 2014-04-14  David Blaikie <dblaikie@gmail.com>
14246
14247         * gdb.mi/non-stop.c: Add return value for non-void function return
14248         statement.
14249         * gdb.threads/staticthreads.c: Ditto.
14250
14251 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
14252             Doug Evans  <xdje42@gmail.com>
14253
14254         * gdb.guile/scm-value.c: Improve test case.
14255         * gdb.guile/scm-value.exp: Add new test.
14256
14257 2014-04-11  David Blaikie  <dblaikie@gmail.com>
14258
14259         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
14260         override Clang's default.
14261
14262 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
14263
14264         Revert the following changes (regressions):
14265
14266         * gdb.base/vla-sideeffect.c: New file.
14267         * gdb.base/vla-sideeffect.exp: New file.
14268
14269         * gdb.dwarf2/count.exp: New file.
14270
14271         * gdb.base/vla-multi.c: New file.
14272         * gdb.base/vla-multi.exp: New file.
14273
14274         * gdb.base/vla-ptr.c: New file.
14275         * gdb.base/vla-ptr.exp: New file.
14276
14277         * gdb.base/vla-datatypes.c: New file.
14278         * gdb.base/vla-datatypes.exp: New file.
14279
14280         * gdb.mi/mi-vla-c99.exp: New file.
14281         * gdb.mi/vla.c: New file.
14282
14283 2014-04-11  Keith Seitz  <keiths@redhat.com>
14284
14285         PR c++/16675
14286         * gdb.cp/cpsizeof.exp: New file.
14287         * gdb.cp/cpsizeof.cc: New file.
14288
14289 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14290
14291         * gdb.mi/mi-vla-c99.exp: New file.
14292         * gdb.mi/vla.c: New file.
14293
14294 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14295
14296         * gdb.base/vla-datatypes.c: New file.
14297         * gdb.base/vla-datatypes.exp: New file.
14298
14299 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14300
14301         * gdb.base/vla-ptr.c: New file.
14302         * gdb.base/vla-ptr.exp: New file.
14303
14304 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14305
14306         * gdb.base/vla-multi.c: New file.
14307         * gdb.base/vla-multi.exp: New file.
14308
14309 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14310
14311         * gdb.dwarf2/count.exp: New file.
14312
14313 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14314
14315         * gdb.base/vla-sideeffect.c: New file.
14316         * gdb.base/vla-sideeffect.exp: New file.
14317
14318 2014-04-11  Yao Qi  <yao@codesourcery.com>
14319
14320         * gdb.base/completion.exp: Check file exists before running tests
14321         on file completion.
14322
14323 2014-04-10  Pedro Alves  <palves@redhat.com>
14324
14325         * gdb.base/cond-eval-mode.c: New file.
14326         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
14327         prepare_for_testing to build the new file.  Check result of
14328         runto_main.
14329         (test_break, test_watch): New procedures.
14330         (top level): Use them.
14331
14332 2014-04-08  Pierre Muller  <muller@sourceware.org>
14333
14334         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
14335         Ctrl-V use for mingw hosts.
14336
14337 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
14338
14339         * gdb.python/py-value.c: Improve test case.
14340         * gdb.python/py-value.exp: Add new test.
14341
14342 2014-04-07  David Blaikie  <dblaikie@gmail.com>
14343
14344         * lib/compiler.c: Identify the clang compiler.
14345         * lib/compiler.cc: Ditto.
14346
14347 2014-04-03  Yao Qi  <yao@codesourcery.com>
14348
14349         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
14350
14351 2014-04-01  Anton Blanchard  <anton@samba.org>
14352
14353         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
14354         messages unique.
14355
14356 2014-04-01  Anton Blanchard  <anton@samba.org>
14357
14358         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
14359         prepare_for_testing.
14360
14361 2014-04-01  Anton Blanchard  <anton@samba.org>
14362
14363         * gdb.arch/ppc64-atomic-inst.c: Remove.
14364         * gdb.arch/ppc64-atomic-inst.S: New file.
14365         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
14366
14367 2014-03-31  Doug Evans  <dje@google.com>
14368
14369         * gdb.base/print-symbol-loading-lib.c: New file.
14370         * gdb.base/print-symbol-loading-main.c: New file.
14371         * gdb.base/print-symbol-loading.exp: New file.
14372
14373 2014-03-31  Yao Qi  <yao@codesourcery.com>
14374
14375         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
14376
14377 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
14378
14379         * gdb.ada/mi_dyn_arr: New testcase.
14380
14381 2014-03-27  Doug Evans  <dje@google.com>
14382
14383         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
14384
14385 2014-03-27  Yao Qi  <yao@codesourcery.com>
14386
14387         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
14388         if target is nios2-*-*.
14389
14390 2014-03-26  Yao Qi  <yao@codesourcery.com>
14391
14392         * lib/gdb.exp (readline_is_used): New proc.
14393         * gdb.base/completion.exp: Move tests on command complete up.
14394         Skip the rest of tests if readline is not used.
14395         * gdb.ada/complete.exp: Skp the test if readline is not
14396         used.
14397         * gdb.base/filesym.exp: Likewise.
14398         * gdb.base/macscp.exp: Likewise.
14399         * gdb.base/readline-ask.exp: Likewise.
14400         * gdb.base/readline.exp: Likewise.
14401         * gdb.python/py-cmd.exp: Likewise.
14402         * gdb.trace/tfile.exp: Likewise.
14403
14404 2014-03-26  Yao Qi  <yao@codesourcery.com>
14405
14406         * gdb.base/macscp.exp: Fix code format issues.
14407
14408 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
14409
14410         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14411         * gdb.asm/powerpc64le.inc: New file.
14412
14413 2014-03-25  Pedro Alves  <palves@redhat.com>
14414             Doug Evans  <dje@google.com>
14415
14416         * gdb.base/source-execution.c: New file.
14417         * gdb.base/source-execution.exp: New file.
14418         * gdb.base/source-execution.gdb: New file.
14419
14420 2014-03-24  Doug Evans  <dje@google.com>
14421
14422         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14423         using fission.
14424
14425 2014-03-24  Hui Zhu  <hui@codesourcery.com>
14426             Pedro Alves  <palves@redhat.com>
14427
14428         PR breakpoints/16101
14429         * gdb.base/dprintf.exp: Use unsupported rather than changing the
14430         test pass/fail messages.  Detect missing support for dprintf when
14431         breakpoints are actually inserted.
14432         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14433         breakpoints are actually inserted.
14434         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14435         fails.
14436
14437 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
14438
14439         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14440
14441 2014-03-22  Doug Evans  <xdje42@gmail.com>
14442
14443         * gdb.python/python.exp (python not supported): Verify multi-line
14444         python command issues an error.
14445         * gdb.guile/guile.exp (guile not supported): Verify multi-line
14446         guile command issues an error.
14447
14448 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
14449
14450         * gdb.threads/thread-specific.exp: Handle the lack of usable
14451         $this_breakpoint and $this_thread.
14452
14453 2014-03-21  Hui Zhu  <hui@codesourcery.com>
14454
14455         * gdb.base/attach.exp (do_command_attach_tests): New.
14456
14457 2014-03-20  Tom Tromey  <tromey@redhat.com>
14458             Pedro Alves  <palves@redhat.com>
14459
14460         PR cli/15718
14461         * gdb.base/condbreak-call-false.c: New file.
14462         * gdb.base/condbreak-call-false.exp: New file.
14463
14464 2014-03-20  Pedro Alves  <palves@redhat.com>
14465
14466         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14467         Delete.
14468         (block_signals, unblock_signals): Delete.
14469         (child_function_2, main): Remove references to deleted variable
14470         and functions.
14471
14472 2014-03-20  Pedro Alves  <palves@redhat.com>
14473
14474         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14475         Use pthread_kill to signal thread 2.
14476         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14477         Adjust to make the test send itself a signal rather than using the
14478         host's "kill" command.
14479
14480 2014-03-20  Pedro Alves  <palves@redhat.com>
14481
14482         * gdb.threads/multiple-step-overs.c: New file.
14483         * gdb.threads/multiple-step-overs.exp: New file.
14484         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14485         Adjust expected infrun debug output.
14486
14487 2014-03-20  Pedro Alves  <palves@redhat.com>
14488
14489         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14490         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
14491
14492 2014-03-20  Pedro Alves  <palves@redhat.com>
14493
14494         PR breakpoints/7143
14495         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
14496         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
14497         of gdb_test_multiple.
14498         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
14499         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
14500
14501 2014-03-20  Pedro Alves  <palves@redhat.com>
14502
14503         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14504         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14505
14506 2014-03-19  Pedro Alves  <palves@redhat.com>
14507
14508         * gdb.base/async.exp: Remove early return.
14509
14510 2014-03-19  Pedro Alves  <palves@redhat.com>
14511
14512         * gdb.base/async.exp (step& tests): Pass explicit test messages.
14513
14514 2014-03-19  Pedro Alves  <palves@redhat.com>
14515
14516         * gdb.base/async.exp (test_background): Expect \r\n after
14517         "completed." in the fail pattern.
14518
14519 2014-03-19  Pedro Alves  <palves@redhat.com>
14520
14521         * gdb.base/async.exp (test_background): New procedure.
14522         Use it for all background execution command tests.
14523
14524 2014-03-19  Pedro Alves  <palves@redhat.com>
14525
14526         * gdb.base/async.exp: Use prepare_for_testing.
14527
14528 2014-03-19  Pedro Alves  <palves@redhat.com>
14529
14530         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
14531         the same line.
14532
14533 2014-03-19  Pedro Alves  <palves@redhat.com>
14534
14535         * gdb.base/async.c (main): Add "jump here" and "until here" line
14536         marker comments.
14537         * gdb.base/async.exp (jump_here): New global.
14538         (jump& test): Use it.
14539         (until_here): New global.
14540         (until& test): Use it.
14541
14542 2014-03-19  Pedro Alves  <palves@redhat.com>
14543
14544         * gdb.base/async.exp: Don't frob gdb_protocol.
14545
14546 2014-03-18  Doug Evans  <xdje42@gmail.com>
14547
14548         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
14549         Fix spelling of exec-done-display.
14550
14551 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
14552
14553         PR gdb/15358
14554         * gdb.base/gdb-sigterm.c: New file.
14555         * gdb.base/gdb-sigterm.exp: New file.
14556
14557 2014-03-18  Pedro Alves  <palves@redhat.com>
14558
14559         PR gdb/13860
14560         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14561         * lib/mi-support.exp (mi_expect_stop): Add special handling for
14562         solib-event.
14563
14564 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
14565
14566         * gdb.ada/pckd_arr_ren: New testcase.
14567
14568 2014-03-13  Doug Evans  <xdje42@gmail.com>
14569
14570         PR guile/16612
14571         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14572         collect after discarding symbols.
14573
14574 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
14575             Doug Evans  <xdje42@gmail.com>
14576
14577         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14578         to history survives a gc.
14579
14580 2014-03-13  Pedro Alves  <palves@redhat.com>
14581
14582         * gdb.base/default.exp: Don't test "target procfs".
14583
14584 2014-03-13  Pedro Alves  <palves@redhat.com>
14585
14586         * gdb.base/default.exp: Update "target child" and "target procfs"
14587         tests to not expect "Unix".
14588
14589 2014-03-12  Tom Tromey  <tromey@redhat.com>
14590
14591         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14592         New procs.  Add target-async tests.
14593         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14594         Add target-async tests.
14595
14596 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14597
14598         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14599         'func_start' and 'func_end' for the beginning and end of the
14600         function code, respectively.
14601         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14602         'func_end' instead of 'func' and 'main'.
14603
14604 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14605
14606         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14607         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14608         generate the debug info assembler source.
14609
14610 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14611
14612         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14613         * gdb.dwarf2/arr-subrange.exp: Likewise.
14614         * gdb.dwarf2/dwz.exp: Likewise.
14615         * gdb.dwarf2/method-ptr.exp: Likewise.
14616         * gdb.dwarf2/missing-sig-type.exp: Likewise.
14617         * gdb.dwarf2/subrange.exp: Likewise.
14618         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14619         * gdb.dwarf2/implptrpiece.exp: Likewise.
14620         * gdb.dwarf2/nostaticblock.exp: Likewise.
14621
14622 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14623
14624         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14625         directory to absolute path name arguments.
14626
14627 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
14628
14629         * gdb.ada/tagged_access: New testcase.
14630
14631 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
14632
14633         * gdb.btrace/data.exp: Update expected output.
14634
14635 2014-03-06  Yao Qi  <yao@codesourcery.com>
14636
14637         * gdb.trace/pr16508.exp: New file.
14638
14639 2014-03-05  Pedro Alves  <palves@redhat.com>
14640
14641         PR gdb/16575
14642         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14643         procedure.
14644         (top level): Adjust to use it.  Add tests that exercise breakpoint
14645         interaction with the code-cache.
14646
14647 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
14648
14649         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14650         test for 'history-append!'.
14651
14652 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14653
14654         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14655         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14656         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14657         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14658         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14659         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14660
14661 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14662
14663         * testsuite/gdb.python/py-pp-re-notag.c: New file.
14664         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14665         * testsuite/gdb.python/py-pp-re-notag.p: New file.
14666
14667 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14668
14669         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14670
14671 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14672
14673         * gdb.dwarf2/arr-stride.c: New file.
14674         * gdb.dwarf2/arr-stride.exp: New file.
14675
14676 2014-02-26  Pedro Alves  <palves@redhat.com>
14677
14678         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14679         that won't ever trigger.  Make sure that GDB reports the correct
14680         breakpoint that caused the stop.
14681
14682 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14683
14684         PR gdb/16626
14685         * gdb.base/auto-load-script: New file.
14686         * gdb.base/auto-load.c: New file.
14687         * gdb.base/auto-load.exp: New file.
14688
14689         PR gdb/16626
14690         * gdb.base/auto-load.exp: Fix out-of-srctree run.
14691
14692 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14693
14694         Fix dw2-icycle.exp -fsanitize=address GDB crash.
14695         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14696
14697 2014-02-24  Doug Evans  <dje@google.com>
14698
14699         * lib/gdb.exp (run_on_host): Log error output if program fails.
14700
14701 2014-02-21  Pedro Alves  <palves@redhat.com>
14702
14703         * gdb.threads/step-after-sr-lock.c: Rename to ...
14704         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14705         * gdb.threads/step-after-sr-lock.exp: Rename to ...
14706         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14707         ... this.
14708
14709 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
14710
14711         PR tdep/16397
14712         * gdb.arch/amd64-stap-special-operands.exp: New file.
14713         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14714         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14715         * gdb.arch/amd64-stap-triplet.S: Likewise.
14716         * gdb.arch/amd64-stap-triplet.c: Likewise.
14717
14718 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
14719
14720         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
14721         in .section pseudo-op.
14722
14723 2014-02-20  lin zuojian  <manjian2006@gmail.com>
14724             Joel Brobecker  <brobecker@adacore.com>
14725             Doug Evans  <xdje42@gmail.com>
14726
14727         PR symtab/16581
14728         * gdb.dwarf2/dw2-icycle.S: New file.
14729         * gdb.dwarf2/dw2-icycle.c: New file.
14730         * gdb.dwarf2/dw2-icycle.exp: New file.
14731
14732 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
14733
14734         * gdb.python/py-value-cc.cc: Improve test case to enable testing
14735         operations on gdb.Value objects.
14736         * gdb.python/py-value-cc.exp: Add new test to test operations on
14737         gdb.Value objects.
14738
14739 2014-02-18  Doug Evans  <dje@google.com>
14740
14741         * Makefile.in (TESTS): New variable.
14742         (expanded_tests, expanded_tests_or_none): New variables
14743         (check-single): Pass $(expanded_tests_or_none) to runtest.
14744         (check-parallel): Only run tests in $(TESTS) if non-empty.
14745         (check/no-matching-tests-found): New rule.
14746         * README: Document TESTS makefile variable.
14747
14748 2014-02-18  Doug Evans  <dje@google.com>
14749
14750         * Makefile.in (check-parallel): rm -rf outputs temp.
14751
14752 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
14753
14754         Fix "ERROR: no fileid for" in the testsuite.
14755         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
14756
14757 2014-02-12  Doug Evans  <dje@google.com>
14758
14759         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
14760         (MISCELLANEOUS): New variable.
14761         (clean): rm -rf $(MISCELLANEOUS).
14762         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
14763         dwp live in the same directory as symlinks, with each symlink pointed
14764         to a differently named file in a different directory.
14765
14766 2014-02-11  Doug Evans  <dje@google.com>
14767
14768         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
14769         of Tcl file commands.
14770
14771 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
14772
14773         * gdb.threads/step-after-sr-lock.exp: Avoid executing
14774         "kill -SIGUSR1 -1".
14775
14776 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
14777
14778         * gdb.ada/tick_length_array_enum_idx: New testcase.
14779
14780 2014-02-10  Doug Evans  <xdje42@gmail.com>
14781
14782         * configure.ac (AC_OUTPUT): Add gdb.guile.
14783         * configure: Regenerate.
14784         * lib/gdb-guile.exp: New file.
14785         * lib/gdb.exp (get_target_charset): New function.
14786         * gdb.base/help.exp: Update expected output from "apropos apropos".
14787         * gdb.guile/Makefile.in: New file.
14788         * gdb.guile/guile.exp: New file.
14789         * gdb.guile/scm-arch.c: New file.
14790         * gdb.guile/scm-arch.exp: New file.
14791         * gdb.guile/scm-block.c: New file.
14792         * gdb.guile/scm-block.exp: New file.
14793         * gdb.guile/scm-breakpoint.c: New file.
14794         * gdb.guile/scm-breakpoint.exp: New file.
14795         * gdb.guile/scm-disasm.c: New file.
14796         * gdb.guile/scm-disasm.exp: New file.
14797         * gdb.guile/scm-equal.c: New file.
14798         * gdb.guile/scm-equal.exp: New file.
14799         * gdb.guile/scm-error.exp: New file.
14800         * gdb.guile/scm-error.scm: New file.
14801         * gdb.guile/scm-frame-args.c: New file.
14802         * gdb.guile/scm-frame-args.exp: New file.
14803         * gdb.guile/scm-frame-args.scm: New file.
14804         * gdb.guile/scm-frame-inline.c: New file.
14805         * gdb.guile/scm-frame-inline.exp: New file.
14806         * gdb.guile/scm-frame.c: New file.
14807         * gdb.guile/scm-frame.exp: New file.
14808         * gdb.guile/scm-generics.exp: New file.
14809         * gdb.guile/scm-gsmob.exp: New file.
14810         * gdb.guile/scm-iterator.c: New file.
14811         * gdb.guile/scm-iterator.exp: New file.
14812         * gdb.guile/scm-math.c: New file.
14813         * gdb.guile/scm-math.exp: New file.
14814         * gdb.guile/scm-objfile-script-gdb.in: New file.
14815         * gdb.guile/scm-objfile-script.c: New file.
14816         * gdb.guile/scm-objfile-script.exp: New file.
14817         * gdb.guile/scm-objfile.c: New file.
14818         * gdb.guile/scm-objfile.exp: New file.
14819         * gdb.guile/scm-ports.exp: New file.
14820         * gdb.guile/scm-pretty-print.c: New file.
14821         * gdb.guile/scm-pretty-print.exp: New file.
14822         * gdb.guile/scm-pretty-print.scm: New file.
14823         * gdb.guile/scm-section-script.c: New file.
14824         * gdb.guile/scm-section-script.exp: New file.
14825         * gdb.guile/scm-section-script.scm: New file.
14826         * gdb.guile/scm-symbol.c: New file.
14827         * gdb.guile/scm-symbol.exp: New file.
14828         * gdb.guile/scm-symtab-2.c: New file.
14829         * gdb.guile/scm-symtab.c: New file.
14830         * gdb.guile/scm-symtab.exp: New file.
14831         * gdb.guile/scm-type.c: New file.
14832         * gdb.guile/scm-type.exp: New file.
14833         * gdb.guile/scm-value-cc.cc: New file.
14834         * gdb.guile/scm-value-cc.exp: New file.
14835         * gdb.guile/scm-value.c: New file.
14836         * gdb.guile/scm-value.exp: New file.
14837         * gdb.guile/source2.scm: New file.
14838         * gdb.guile/types-module.cc: New file.
14839         * gdb.guile/types-module.exp: New file.
14840
14841 2014-02-10  Yao Qi  <yao@codesourcery.com>
14842
14843         PR testsuite/16543
14844         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
14845         * configure: Regenerated.
14846         * Makefile.in: New file.
14847
14848 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
14849
14850         * gdb.python/py-framefilter.exp: Fix typo.
14851
14852 2014-02-08  Yao Qi  <yao@codesourcery.com>
14853
14854         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
14855         that no =breakpoint-modified is emitted when breakpoints are
14856         modified through MI commands.
14857
14858 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
14859             Pedro Alves  <palves@redhat.com>
14860
14861         * gdb.threads/step-after-sr-lock.c: New file.
14862         * gdb.threads/step-after-sr-lock.exp: New file.
14863
14864 2014-02-07  Pedro Alves  <palves@redhat.com>
14865
14866         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
14867
14868 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
14869
14870         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
14871         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
14872
14873 2014-02-06  Doug Evans  <xdje42@gmail.com>
14874
14875         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
14876         output.
14877
14878         * gdb.gdb/python-interrupts.exp: New file.
14879
14880 2014-02-05  Yao Qi  <yao@codesourcery.com>
14881
14882         * gdb.trace/report.exp (use_collected_data): Test the output
14883         of "info threads" and "info inferiors".
14884
14885 2014-02-05  Yao Qi  <yao@codesourcery.com>
14886
14887         Revert this patch:
14888
14889         2013-05-24  Yao Qi  <yao@codesourcery.com>
14890
14891         * gdb.trace/tfile.exp: Test inferior and thread.
14892
14893 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14894
14895         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
14896         on a function.
14897         * gdb.base/step-bt.c: Call hello via function pointer to make
14898         sure its first instruction is executed on powerpc64le-linux.
14899
14900 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14901
14902         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
14903
14904 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14905
14906         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
14907         of the test patterns for use on little-endian systems.
14908
14909 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
14910
14911         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
14912         (decimal_vector): Fix for little-endian.
14913
14914 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
14915
14916         * gdb.arch/sparc-sysstep.exp: New file.
14917         * gdb.arch/sparc-sysstep.c: Likewise.
14918
14919         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
14920
14921 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
14922
14923         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
14924
14925 2014-01-23  Tom Tromey  <tromey@redhat.com>
14926
14927         * gdb.ada/array_char_idx: New testcase.
14928
14929 2014-01-23  Tom Tromey  <tromey@redhat.com>
14930
14931         PR python/16487:
14932         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
14933         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
14934         classes.
14935
14936 2014-01-23  Tom Tromey  <tromey@redhat.com>
14937
14938         PR python/16491:
14939         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
14940         string from an inferior frame.
14941         * gdb.python/py-framefilter-mi.exp: Update.
14942
14943 2014-01-22  Doug Evans  <dje@google.com>
14944
14945         * gdb.server/server-mon.exp: Add tests for "set debug-format".
14946
14947 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14948
14949         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
14950
14951 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14952
14953         * gdb.trace/entry-values.exp: Remove excess space character from
14954         regex patterns.  Handle s390 call instruction.
14955
14956 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14957
14958         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
14959         define "*_start" label.  Make "name" static.
14960         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
14961         ${name} by references to ${name}_start.
14962
14963 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
14964
14965         * gdb.base/info-macros.exp: Remove "debug" from the compile
14966         options.
14967
14968 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
14969
14970         * gdb.dlang/demangle.exp: New file.
14971
14972 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
14973
14974         * gdb.dlang/primitive-types.exp: New file.
14975
14976 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
14977
14978         * configure.ac: Create gdb.dlang/Makefile.
14979         * configure: Regenerate.
14980         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
14981         * gdb.dlang/Makefile.in: New file.
14982         * lib/d-support.exp: New file.
14983         * lib/gdb.exp (skip_d_tests): New proc.
14984
14985 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
14986
14987         * gdb.btrace/delta.exp: Check reverse stepi.
14988         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
14989         * gdb.btrace/finish.exp: New.
14990         * gdb.btrace/next.exp: New.
14991         * gdb.btrace/nexti.exp: New.
14992         * gdb.btrace/record_goto.c: Add comments.
14993         * gdb.btrace/step.exp: New.
14994         * gdb.btrace/stepi.exp: New.
14995         * gdb.btrace/multi-thread-step.c: New.
14996         * gdb.btrace/multi-thread-step.exp: New.
14997         * gdb.btrace/rn-dl-bind.c: New.
14998         * gdb.btrace/rn-dl-bind.exp: New.
14999         * gdb.btrace/data.c: New.
15000         * gdb.btrace/data.exp: New.
15001         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15002
15003 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15004
15005         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
15006         * gdb.btrace/exception.exp: Update.
15007         * gdb.btrace/instruction_history.exp: Update.
15008         * gdb.btrace/record_goto.exp: Update.
15009         * gdb.btrace/tailcall.exp: Update.
15010         * gdb.btrace/unknown_functions.exp: Update.
15011         * gdb.btrace/delta.exp: New.
15012
15013 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15014
15015         * gdb.btrace/record_goto.exp: Add backtrace test.
15016         * gdb.btrace/tailcall.exp: Add backtrace test.
15017
15018 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15019
15020         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
15021         * gdb.btrace/record_goto.c: New.
15022         * gdb.btrace/record_goto.exp: New.
15023         * gdb.btrace/x86-record_goto.S: New.
15024
15025 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15026
15027         * gdb.btrace/function_call_history.exp: Update tests.
15028         * gdb.btrace/instruction_history.exp: Update tests.
15029
15030 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15031
15032         * gdb.btrace/function_call_history.exp: Fix expected field
15033         order for "record function-call-history".
15034         Add new tests for "record function-call-history /c".
15035         * gdb.btrace/exception.cc: New.
15036         * gdb.btrace/exception.exp: New.
15037         * gdb.btrace/tailcall.exp: New.
15038         * gdb.btrace/x86-tailcall.S: New.
15039         * gdb.btrace/x86-tailcall.c: New.
15040         * gdb.btrace/unknown_functions.c: New.
15041         * gdb.btrace/unknown_functions.exp: New.
15042         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15043
15044 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15045
15046         * gdb.btrace/instruction_history.exp: Update.
15047         * gdb.btrace/function_call_history.exp: Update.
15048
15049 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15050
15051         * gdb.btrace/function_call_history.exp: Fix expected function
15052         trace.
15053         * gdb.btrace/instruction_history.exp: Initialize traced.
15054         Remove traced_functions.
15055
15056 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15057
15058         * gdb.btrace/function_call_history.exp: Update
15059         * gdb.btrace/instruction_history.exp: Update.
15060
15061 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15062
15063         * gdb.btrace/enable.exp: Update expected text.
15064
15065 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
15066
15067         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
15068         bytes.
15069
15070 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
15071
15072         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
15073
15074 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
15075
15076         * lib/gdb.exp (supports_process_record): Return true for
15077         arm*-linux*.  (supports_reverse): Likewise.
15078
15079 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
15080
15081         PR python/15464
15082         PR python/16113
15083         * gdb.python/py-type.c: Enhance test case.
15084         * gdb.python/py-value-cc.cc: Likewise
15085         * gdb.python/py-type.exp: Add new tests.
15086         * gdb.python/py-value-cc.exp: Likewise
15087
15088 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15089             Pedro Alves <palves@redhat.com>
15090
15091         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15092         Make "name" extern.
15093         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15094         references to ${name}_start by references to ${name}.
15095
15096 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15097
15098         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15099
15100 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15101
15102         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15103
15104 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
15105             Pedro Alves  <palves@redhat.com>
15106
15107         * gdb.mi/mi-info-os.exp: Connect to the target with
15108         mi_gdb_target_load.
15109
15110 2014-01-08  Pedro Alves  <palves@redhat.com>
15111
15112         * gdb.threads/reconnect-signal.c: New file.
15113         * gdb.threads/reconnect-signal.exp: New file.
15114
15115 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
15116
15117         * gdb.base/source-dir.exp: New file.
15118
15119 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15120
15121         * gdb.ada/mi_interface: New testcase.
15122
15123 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15124
15125         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
15126         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
15127         gdb.ada/pp-rec-component/pck.ads: New files.
15128
15129 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15130
15131         * gdb.python/py-pp-integral.c: New file.
15132         * gdb.python/py-pp-integral.py: New file.
15133         * gdb.python/py-pp-integral.exp: New file.
15134
15135 For older changes see ChangeLog-1993-2013.
15136 \f
15137 ;; Local Variables:
15138 ;; mode: change-log
15139 ;; left-margin: 8
15140 ;; fill-column: 74
15141 ;; version-control: never
15142 ;; End:
15143
15144     Copyright 2014-2018 Free Software Foundation, Inc.
15145   Copying and distribution of this file, with or without modification,
15146   are permitted provided the copyright notice and this notice are preserved.