gdb/testsuite: Prepare for DejaGnu 1.6.2
[external/binutils.git] / gdb / testsuite / ChangeLog
1 2019-03-12  Andrew Burgess  <andrew.burgess@embecosm.com>
2
3         * config/default.exp: Remove 'load_lib gdb.exp'.
4         * config/monitor.exp: Likewise.
5         * config/sid.exp: Likewise.
6         * config/sim.exp: Likewise.
7         * config/slite.exp: Likewise.
8         * config/unix.exp: Likewise.
9         * gdb.base/default.exp: Remove unhelpful comment.
10
11 2019-03-14  Tom Tromey  <tromey@adacore.com>
12
13         * gdb.base/style.exp: Add "set style sources" test.
14
15 2019-03-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
16
17         PR gdb/8527
18         * gdb.base/interrupt-daemon-attach.c,
19         gdb.base/interrupt-daemon-attach.exp: New test.
20
21 2019-03-06  Alan Hayward  <alan.hayward@arm.com>
22
23         * lib/gdb.exp (builtin_cd): rename of cd.
24         (cd): Override builtin.
25
26 2019-02-26  Tom Tromey  <tromey@adacore.com>
27
28         * gdb.python/py-value.exp (test_value_from_buffer): Check for
29         ValueError, not TypeError.
30
31 2019-02-26  Kevin Buettner  <kevinb@redhat.com>
32
33         * gdb.python/py-value.exp (test_value_from_buffer): New proc with
34         call from main program.
35
36 2019-02-23  Joel Brobecker  <brobecker@adacore.com>
37
38         * gdb.ada/mi_ref_changeable.exp: Update copyright year range.
39         * gdb.ada/mi_ref_changeable/foo_rb20_056.adb: Likewise.
40         * gdb.ada/mi_ref_changeable/pck.adb: Likewise.
41         * gdb.ada/mi_ref_changeable/pck.ads: Likewise.
42         * gdb.dwarf2/inlined_subroutine-inheritance.exp: Likewise.
43
44 2019-02-22  Keith Seitz  <keiths@redhat.com>
45
46         PR symtab/23853
47         * gdb.base/symlink-sourcefile.c: New file.
48         * gdb.base/symlink-sourcefile.exp: New file.
49
50 2019-02-20  Tom Tromey  <tom@tromey.com>
51
52         * gdb.base/info_qt.exp: Update.
53
54 2019-02-19  Simon Marchi  <simon.marchi@polymtl.ca>
55
56         * gdb.base/source.exp: Move "error in sourced script" code to
57         the end.
58         * gdb.base/source-error.gdb: Move contents to
59         source-error-1.gdb.  Add new code to source source-error-1.gdb.
60         * gdb.base/source-error-1.gdb: New file, from previous
61         source-error.gdb.
62
63 2019-02-17  Tom Tromey  <tom@tromey.com>
64
65         * gdb.base/style.exp: Use -g3 to compile when possible.  Add test
66         for macro styling.
67         * gdb.base/style.c (SOME_MACRO): New macro.
68
69 2019-02-17  Tom Tromey  <tom@tromey.com>
70
71         * gdb.base/style.exp: Add line-wrapping tests.
72         * gdb.base/page.exp: Add test for quitting during pagination.
73
74 2019-02-17  Joel Brobecker  <brobecker@adacore.com>
75
76         * gdb.ada/big_packed_array: New testcase.
77         * gdb.ada/homonym.exp: Fix incorrect expected output for
78         "break <homonym__get_value>" test.
79
80 2019-02-13  Weimin Pan  <weimin.pan@oracle.com>
81
82         PR breakpoints/21870
83         * gdb.arch/aarch64-dbreg-contents.exp: Use runto_main + continue
84         and prepare_for_testing.  Add comment.
85         * gdb.arch/aarch64-dbreg-contents.c: Remove SET_WATCHPOINT and
86         redundant cleanup call.  Clean up comment.
87
88 2019-02-12  Weimin Pan  <weimin.pan@oracle.com>
89
90         PR breakpoints/21870
91         * gdb.arch/aarch64-dbreg-contents.exp: New file.
92         * gdb.arch/aarch64-dbreg-contents.c: New file.
93
94 2019-02-10  Joel Brobecker  <brobecker@adacore.com>
95
96         * gdb.ada/mi_ref_changeable: New testcase.
97
98 2019-02-07  Alan Hayward  <alan.hayward@arm.com>
99
100         * gdb.base/attach.exp: Add double attach test.
101
102 2019-02-07  Simon Marchi  <simon.marchi@polymtl.ca>
103
104         * lib/gdb.exp (default_gdb_start): Don't match pagination
105         prompt.
106         (gdb_init): Set stty_init.
107
108 2019-01-27  Tom Tromey  <tom@tromey.com>
109
110         * gdb.python/py-finish-breakpoint.exp: Remove duplicate call to
111         skip_python_tests.
112
113 2019-01-24  Alan Hayward  <alan.hayward@arm.com>
114
115         * gdb.base/infcall-nested-structs.c (struct struct_static_02_01):
116         New structure.
117         (struct struct_static_02_02): Likewise.
118         (struct struct_static_02_03): Likewise.
119         (struct struct_static_02_04): Likewise.
120         (struct struct_static_04_01): Likewise.
121         (struct struct_static_04_02): Likewise.
122         (struct struct_static_04_03): Likewise.
123         (struct struct_static_04_04): Likewise.
124         (struct struct_static_06_01): Likewise.
125         (struct struct_static_06_02): Likewise.
126         (struct struct_static_06_03): Likewise.
127         (struct struct_static_06_04): Likewise.
128         (cmp_struct_static_02_01): Likewise.
129         (cmp_struct_static_02_02): Likewise.
130         (cmp_struct_static_02_03): Likewise.
131         (cmp_struct_static_02_04): Likewise.
132         (cmp_struct_static_04_01): Likewise.
133         (cmp_struct_static_04_02): Likewise.
134         (cmp_struct_static_04_03): Likewise.
135         (cmp_struct_static_04_04): Likewise.
136         (cmp_struct_static_06_01): Likewise.
137         (cmp_struct_static_06_02): Likewise.
138         (cmp_struct_static_06_03): Likewise.
139         (cmp_struct_static_06_04): Likewise.
140         (call_all): Test new structs.
141         * gdb.base/infcall-nested-structs.exp: Likewise.
142
143 2019-01-21  Alan Hayward  <alan.hayward@arm.com>
144         * gdb.base/infcall-nested-structs.exp: Test C++ in addition to C.
145
146 2019-01-21  Alan Hayward  <alan.hayward@arm.com>
147         * gdb.base/stack-protector.c: New test.
148         * gdb.base/stack-protector.exp: New file.
149         * gdb.cp/ovldbreak.exp: Only allow a single break line.
150         * lib/gdb.exp (get_compiler_info): Use getting_compiler_info
151         option.
152         (gdb_compile): Remove stack protector for GCC and prevent
153         recursion.
154
155 2019-01-16  Keith Seitz  <keiths@redhat.com>
156
157         PR gdb/23773
158         * gdb.dwarf2/inlined_subroutine-inheritance.exp: New file.
159
160 2019-01-14  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
161
162         * gdb.arch/vsx-regs.exp: Add tests that use the vector register
163         aliases.
164         * gdb.arch/altivec-regs.exp: Likewise.  Fix indentation of two
165         tests.
166         * gdb.arch/powerpc-vector-regs.c: New file.
167         * gdb.arch/powerpc-vector-regs.exp: New file.
168
169 2019-01-14  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
170
171         * gdb.arch/altivec-regs.exp: Fix the list passed to
172         gdb_expect_list when testing "info vector".
173
174 2019-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
175
176         * gdb.base/style.exp: Don't include path in testname.
177
178 2019-01-10  Keith Seitz  <keiths@redhat.com>
179
180         PR gdb/23712
181         PR symtab/23010
182         * gdb.dwarf2/multidictionary.exp: New file.
183
184 2019-01-09  Simon Marchi  <simon.marchi@ericsson.com>
185
186         * gdb.cp/demangle.exp (test_gnu_style_demangling): Rename to...
187         (test_gnuv3_style_demangling): ... this.
188         (test_lucid_style_demangling): Remove.
189         (test_arm_style_demangling): Remove.
190         (test_hp_style_demangling): Remove.
191         (do_tests): Remove calls to the above.
192
193 2019-01-09  Andrew Burgess  <andrew.burgess@embecosm.com>
194
195         * lib/mi-support.exp (mi_gdb_test): Remove interactive prompt
196         case.
197
198 2019-01-06  Tom Tromey  <tom@tromey.com>
199
200         PR gdb/28155:
201         * gdb.dwarf2/typedef-void-finish.exp: New file.
202
203 2018-12-28  Tom Tromey  <tom@tromey.com>
204             Simon Marchi <simark@simark.ca>
205
206         * gdb.base/jit-exec.exp: New file.
207         * gdb.base/jit-exec.c: New file.
208         * gdb.base/jit-execd.c: New file.
209
210 2018-12-28  Tom Tromey  <tom@tromey.com>
211
212         * gdb.base/style.exp: Update test to check for address styling.
213
214 2018-12-28  Tom Tromey  <tom@tromey.com>
215
216         * gdb.base/style.exp: Add test for styling of "Reading symbols"
217         message.
218
219 2018-12-28  Tom Tromey  <tom@tromey.com>
220
221         * gdb.base/style.exp: Add test for version number styling.
222
223 2018-12-28  Tom Tromey  <tom@tromey.com>
224
225         * gdb.base/style.exp: Add test for print_address_symbolic.
226
227 2018-12-28  Tom Tromey  <tom@tromey.com>
228
229         * gdb.base/style.exp: Add test for breakpoint setting.
230
231 2018-12-28  Tom Tromey  <tom@tromey.com>
232
233         * gdb.base/style.exp: Add test for variable names.
234
235 2018-12-28  Tom Tromey  <tom@tromey.com>
236
237         * gdb.base/style.exp: New file.
238         * gdb.base/style.c: New file.
239
240 2018-12-28  Tom Tromey  <tom@tromey.com>
241
242         * lib/gdb.exp (gdb_init): Set the TERM environment variable to
243         "dumb".
244         * gdb.base/readline.exp (operate_and_get_next): Save and restore
245         the TERM environment variable.
246
247 2018-12-27  Tom Tromey  <tom@tromey.com>
248
249         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add
250         pagination test.
251
252 2018-12-24  Andrew Burgess  <andrew.burgess@embecosm.com>
253
254         * gdb.dwarf2/dw2-unusual-field-names.c: New file.
255         * gdb.dwarf2/dw2-unusual-field-names.exp: New file.
256
257 2018-12-24  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
258
259         * gdb.ada/bp_fun_addr/a.adb (a): Rename to bp_fun_addr.
260         Filename a.adb changed to bp_fun_addr.adb.
261         gdb.ada/bp_fun_addr.exp: Update test accordingly.
262
263 2018-12-21  Jan Vrany  <jan.vrany@fit.cvut.cz>
264
265         * lib/gdb.exp (gdb_compile): Add new nopie flag enforce
266         non-PIE executables.
267         * README: Mention the gdb,nopie_flag board setting.
268         * gdb.arch/amd64-disp-step.exp: Use nopie flag to enforce
269         non-PIE executable.
270         * gdb.arch/amd64-entry-value.exp: Likewise.
271         * gdb.arch/amd64-invalid-stack-middle.exp: Likewise.
272         * gdb.arch/i386-float.exp: Likewise.
273         * gdb.arch/i386-signal.exp: Likewise.
274         * gdb.mi/mi-reg-undefined.exp: Likewise.
275
276 2018-12-21  Paul Marechal  <paul.marechal@ericsson.com>
277
278         PR gdb/23974
279         * gdb.base/info-os.exp: Check return for unknown "info os" type.
280
281 2018-12-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
282
283         * gdb.ada/info_auto_lang.exp: Normalize some_c source file.
284         Update order of results accordingly.
285
286 2018-12-12  Andrew Burgess  <andrew.burgess@embecosm.com>
287
288         * gdb.base/annota1.exp: Update a test regexp.
289
290 2018-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
291
292         * gdb.base/float.exp: Handle RISC-V targets without an FPU.
293
294 2018-12-09  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
295
296         * gdb.threads/tid-reuse.c (REUSE_TIME_CAP): Declare as 60.
297         (reuse_time): Initialize to REUSE_TIME_CAP.
298         (check_rc): New function.
299         (main): Use REUSE_TIME_CAP instead of hardcoded 60.
300         Check pthread_create rc.
301         (spawner_thread_func): Check pthread_create and pthread_join rc.
302
303 2018-12-08  Pedro Alves  <palves@redhat.com>
304
305         * gdb.base/list.exp (test_forward_search): Rename to ...
306         (test_forward_reverse_search): ... this.  Also test reverse-search
307         and the forward-search alias.
308
309 2018-12-05  Andrew Burgess  <andrew.burgess@embecosm.com>
310
311         * config/sim.exp (gdb_target_sim): Remove redundant adjustment of
312         local timeout variable before return, and remove all local timeout
313         variable entirely.
314         (gdb_load): Likewise.
315
316 2018-12-01  Tom de Vries  <tdevries@suse.de>
317
318         * gdb.base/gdb-caching-proc.exp: New file.
319
320 2018-11-25  Sergio Durigan Junior  <sergiodj@redhat.com>
321
322         * Makefile.in (TIMESTAMP): New variable.
323         (check-single): Add $(TIMESTAMP) to the end of $(DO_RUNTEST)
324         command.
325         (check-single-racy): Likewise.
326         (check/%.exp): Likewise.
327         (check-racy/%.exp): Likewise.
328         (workers/%.worker): Likewise.
329         (build-perf): Likewise.
330         (check-perf): Likewise.
331         * README: Describe new "TS" and "TS_FORMAT" variables.
332         * print-ts.py: New file.
333
334 2018-11-21  Benno Fünfstück  <benno.fuenfstueck@gmail.com>
335
336         PR python/23714
337         * gdb.python/python.exp: Test command repetition after
338         gdb.execute.
339
340 2018-11-20  Andrew Burgess  <andrew.burgess@embecosm.com>
341
342         * gdb.opt/inline-break.exp: Add test that info breakpoint output
343         is correctly aligned.
344
345 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
346
347         * gdb.ada/info_auto_lang.exp: New testcase.
348         * gdb.ada/info_auto_lang/global_pack.ads: New file.
349         * gdb.ada/info_auto_lang/proc_in_ada.adb: New file.
350         * gdb.ada/info_auto_lang/some_c.c: New file.
351
352 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
353
354         * gdb.dwarf2/dw2-case-insensitive.exp: Update due to auto switch to
355         FUNC_lang language syntax.
356
357 2018-11-20  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
358
359         * gdb.base/info_minsym.c: New file.
360         * gdb.base/info_minsym.exp: New file.
361
362 2018-11-19  Tom Tromey  <tom@tromey.com>
363
364         PR rust/23625:
365         * gdb.rust/simple.exp: Add ptype test.  Update expected output.
366         * gdb.rust/expr.exp: Update expected output.  Change one test.
367
368 2018-11-19  Tom Tromey  <tom@tromey.com>
369
370         * gdb.rust/simple.rs: Don't initialize empty_enum_value.
371
372 2018-11-19  Pedro Alves  <palves@redhat.com>
373
374         * gdb.base/warning.exp: Don't override INTERNAL_FLAGS.  Use
375         gdb_spawn_with_cmdline_opts instead of gdb_start.  Check that we
376         see the expected warning.
377
378 2018-11-16  Alan Hayward  <alan.hayward@arm.com>
379
380         PR gdb/22736:
381         * gdb.cp/infcall-nodebug-lib.c: New test.
382         * gdb.cp/infcall-nodebug-main.c: New test.
383         * gdb.cp/infcall-nodebug.exp: New file.
384
385 2018-11-12  Simon Marchi  <simon.marchi@polymtl.ca>
386
387         * gdb.base/skip.exp: Add standard_testfile.  Add "skip delete"
388         completer tests.
389
390 2018-11-09  Tom de Vries  <tdevries@suse.de>
391
392         * gdb.base/msym-lang.c: New test.
393         * gdb.base/msym-lang.exp: New file.
394         * gdb.base/msym-lang-main.c: New test.
395
396 2018-11-08  Tom Tromey  <tom@tromey.com>
397
398         PR gdb/23555:
399         PR gdb/23838:
400         * gdb.base/warning.exp: New file.
401
402 2018-11-08  Jan Beulich  <jbeulich@suse.com>
403
404         * testsuite/gdb.arch/i386-avx512.c,
405         testsuite/gdb.arch/i386-avx512.exp: Add 7th test.
406
407 2018-11-08  Andrew Burgess  <andrew.burgess@embecosm.com>
408
409         * gdb.arch/riscv-reg-aliases.exp: Handle targets without floating
410         point hardware.
411
412 2018-11-07  Andrew Burgess  <andrew.burgess@embecosm.com>
413
414         * gdb.dwarf2/void-type.exp: Rename types, and make var_a an 'int'.
415         * gdb.dwarf2/missing-type-name.exp: New file.
416
417 2018-11-06  Tom de Vries  <tdevries@suse.de>
418
419         * gdb.base/many-headers.c: New test.
420         * gdb.base/many-headers.exp: New file.
421
422 2018-11-06  Jim Wilson  <jimw@sifive.com>
423
424         * gdb.base/code_elim.exp: For riscv, set additional_flags
425         to include -msmall-data-limit=0.
426
427 2018-11-01  Joel Brobecker  <brobecker@adacore.com>
428
429         * gdb.ada/watch_minus_l: New testcase.
430
431 2018-11-01  Sangamesh Mallayya <sangamesh.swamy@in.ibm.com>
432
433         * gdb.arch/aix-sighandle.c: New file.
434         * gdb.arch/aix-sighandle.exp: New file.
435
436 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
437
438         * gdb.arch/riscv-reg-aliases.exp: Rewrite to take account of float
439         registers being unions.
440
441 2018-10-31  Tom de Vries  <tdevries@suse.de>
442
443         * lib/valgrind.exp: New file.
444          (vgdb_start, vgdb_stop): New procs, factored out of ...
445         * gdb.base/valgrind-bt.exp: ... here, ...
446         * gdb.base/valgrind-disp-step.exp: ... here and ...
447         * gdb.base/valgrind-infcall.exp: ... here.
448
449 2018-10-31  Tom de Vries  <tdevries@suse.de>
450
451         * lib/gdb.exp (get_valueof): Don't output read value in test name.
452
453 2018-10-31  Andrew Burgess  <andrew.burgess@embecosm.com>
454
455         * gdb.dwarf2/void-type.c: New file.
456         * gdb.dwarf2/void-type.exp: New file.
457
458 2018-10-27  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
459
460         * gdb.base/info_qt.c: New file.
461         * gdb.base/info_qt.exp: New file.
462
463 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
464
465         * gdb.arch/powerpc-htm-regs.c: New file.
466         * gdb.arch/powerpc-htm-regs.exp: New file.
467
468 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
469
470         * gdb.arch/powerpc-tar.c: New file.
471         * gdb.arch/powerpc-tar.exp: New file.
472
473 2018-10-26  Pedro Franco de Carvalho  <pedromfc@linux.ibm.com>
474
475         * gdb.arch/powerpc-ppr-dscr.c: New file.
476         * gdb.arch/powerpc-ppr-dscr.exp: New file.
477
478 2018-10-25  Tom de Vries  <tdevries@suse.de>
479
480         * gdb.base/valgrind-db-attach.exp: Rewrite to use vgdb.
481
482 2018-10-24  Tom de Vries  <tdevries@suse.de>
483
484         * lib/gdb.exp (gdb_test_multiple): Log wait status on process no
485         longer exists error.
486
487 2018-10-24  Tom de Vries  <tdevries@suse.de>
488
489         * gdb.base/catch-follow-exec.exp: Rewrite using gdb_test.
490
491 2018-10-24  Tom de Vries  <tdevries@suse.de>
492
493         * gdb.base/valgrind-db-attach.exp: Handle removed support for
494         --db-attach in valgrind.
495
496 2018-10-23  Andrew Burgess  <andrew.burgess@embecosm.com>
497
498         * gdb.arch/riscv-reg-aliases.c: New file.
499         * gdb.arch/riscv-reg-aliases.exp: New file.
500
501 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
502
503         * gdb.python/py-cmd.exp: Check for gdb_prompt.
504
505 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
506
507         * gdb.base/vla-optimized-out.exp: Allow either optimized out or 6.
508
509 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
510
511         * gdb.cp/ovldbreak.exp: Fix regexps.
512
513 2018-10-19  Alan Hayward  <alan.hayward@arm.com>
514
515         * gdb.compile/compile-cplus-print.exp: Start inferior earlier.
516
517 2018-10-18  Sergio Durigan Junior  <sergiodj@redhat.com>
518
519         PR cli/23785
520         * gdb.base/restore.exp: New test to check if "restore" with an
521         invalid file doesn't segfault.
522
523 2018-10-18  Tom de Vries  <tdevries@suse.de>
524
525         * gdb.ada/bp_inlined_func.exp: Fix capitalized test name.
526         * gdb.ada/excep_handle.exp: Same.
527         * gdb.ada/mi_string_access.exp: Same.
528         * gdb.ada/mi_var_union.exp: Same.
529         * gdb.arch/arc-analyze-prologue.exp: Same.
530         * gdb.arch/arc-decode-insn.exp: Same.
531         * gdb.base/readnever.exp: Same.
532         * gdb.fortran/printing-types.exp: Same.
533         * gdb.guile/scm-lazy-string.exp: Same.
534
535 2018-10-16  Tom de Vries  <tdevries@suse.de>
536
537         PR gdb/23730
538         * gdb.base/catch-follow-exec.c: Add copyright notice.
539         * gdb.base/catch-follow-exec.exp: Rewrite to use
540         gdb_spawn_with_cmdline_opts.  Require gdb-native.
541
542 2018-10-12  Sandra Loosemore  <sandra@codesourcery.com>
543
544         * gdb.trace/actions-changed.exp: Check for arch support.
545         * gdb.trace/actions.exp: Likewise.
546         * gdb.trace/ax.exp: Likewise.
547         * gdb.trace/backtrace.exp: Likewise.
548         * gdb.trace/change-loc.exp: Likewise.
549         * gdb.trace/deltrace.exp: Likewise.
550         * gdb.trace/ftrace-lock.exp: Check for shlib and arch support.
551         * gdb.trace/ftrace.exp: Likewise.
552         * gdb.trace/infotrace.exp: Check for arch support.
553         * gdb.trace/mi-trace-frame-collected.exp: Likewise.
554         * gdb.trace/mi-tracepoint-changed.exp: Likewise.
555         * gdb.trace/mi-tsv-changed.exp: Likewise.
556         * gdb.trace/packetlen.exp: Likewise.
557         * gdb.trace/passc-dyn.exp: Likewise.
558         * gdb.trace/passcount.exp: Likewise.
559         * gdb.trace/pending.exp: Likewise.
560         * gdb.trace/range-stepping.exp: Check for shlib support.
561         * gdb.trace/report.exp: Check for arch support.
562         * gdb.trace/save-trace.exp: Likewise.
563         * gdb.trace/signal.exp: Check for signal support.
564         * gdb.trace/tfind.exp: Check for arch support.
565         * gdb.trace/trace-break.exp: Check for arch and shlib support.
566         * gdb.trace/trace-common.h: Add comment.
567         * gdb.trace/trace-condition.exp: Check for shlib and arch support.
568         * gdb.trace/trace-enable-disable.exp: Likewise.
569         * gdb.trace/trace-mt.exp: Likewise.  Remove redundant untested call.
570         * gdb.trace/tracecmd.exp: Check for arch support.
571         * gdb.trace/tspeed.exp: Check for shlib and target support.
572         * gdb.trace/tstatus.exp: Check for arch support.
573         * gdb.trace/tsv.exp: Likewise.
574         * gdb.trace/while-dyn.exp: Likewise.
575         * gdb.trace/while-stepping.exp: Likewise.
576         * lib/trace-support.exp (gdb_trace_common_supports_arch): New.
577
578 2018-10-12  Simon Marchi  <simon.marchi@ericsson.com>
579
580         * gdb.trace/tspeed.exp: Remove nowarnings.
581         (prepare_for_trace_test): Declare "global ipalib".
582         * gdb.trace/tspeed.c: Include unistd.h.
583         (main): Remove superfluous printf argument.
584
585 2018-10-11  Sandra Loosemore  <sandra@codesourcery.com>
586
587         * gdb.base/solib-vanish.exp: Fix regexp not to require a POSIX
588         directory prefix on the filename.
589
590 2018-10-10  Sergio Durigan Junior  <sergiodj@redhat.com>
591
592         * gdb.gdb/unittest.exp: Update expected message informing that
593         selftests have been disabled.
594         * gdb.server/unittest.exp: Likewise.
595
596 2018-10-09  Tom de Vries  <tdevries@suse.de>
597
598         * lib/gdb.exp (target_supports_scheduler_locking): Replace gdb_start_cmd
599         with runto_main.
600
601 2018-10-08  Weimin Pan  <weimin.pan@oracle.com>
602
603         PR c++/16841
604         * gdb.cp/virtbase2.cc: New file.
605         * gdb.cp/virtbase2.exp: New file.
606
607 2018-10-06  Tom Tromey  <tom@tromey.com>
608
609         PR python/19399:
610         * gdb.python/py-inferior.exp: Add architecture test.
611
612 2018-10-06  Tom Tromey  <tom@tromey.com>
613
614         * gdb.base/gnu-ifunc.exp (build): Use standard_output_file.
615         * gdb.trace/unavailable-dwarf-piece.exp: Use standard_output_file.
616
617 2018-10-06  Tom Tromey  <tom@tromey.com>
618
619         * gdb.python/py-breakpoint.exp (check_last_event): Check location
620         of a "throw" catchpoint.
621
622 2018-10-06  Sergio Durigan Junior  <sergiodj@redhat.com>
623
624         * gdb.base/info-proc.exp: Update string expected from "help info
625         proc".
626
627 2018-10-04  Tom Tromey  <tom@tromey.com>
628
629         * gdb.cp/maint.exp (test_invalid_name): Update expected output.
630         * gdb.gdb/complaints.exp (test_short_complaints): Remove.
631         (test_initial_complaints, test_empty_complaints): Update.
632         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
633
634 2018-10-04  Tom Tromey  <tom@tromey.com>
635
636         PR cli/19551:
637         * lib/mi-support.exp (mi_gdb_file_cmd): Update.
638         * lib/gdb.exp (gdb_file_cmd): Update.
639         * gdb.stabs/weird.exp (print_weird_var): Update.
640         * gdb.server/solib-list.exp: Update.
641         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Update.
642         * gdb.mi/mi-cli.exp: Update.
643         * gdb.linespec/linespec.exp: Update.
644         * gdb.dwarf2/dw2-stack-boundary.exp: Update.
645         * gdb.dwarf2/dw2-objfile-overlap.exp: Update.
646         * gdb.cp/cp-relocate.exp: Update.
647         * gdb.base/sym-file.exp: Update.
648         * gdb.base/relocate.exp: Update.
649         * gdb.base/readnever.exp: Update.
650         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
651         * gdb.base/kill-detach-inferiors-cmd.exp: Update.
652         * gdb.base/dbx.exp (gdb_file_cmd): Update.
653         * gdb.base/code_elim.exp: Update.
654         * gdb.base/break-unload-file.exp (test_break): Update.
655         * gdb.base/break-interp.exp (test_attach_gdb): Update.
656         * gdb.base/break-idempotent.exp (force_breakpoint_re_set):
657         Update.
658         * gdb.base/attach.exp (do_attach_tests): Update.
659         * gdb.base/sepdebug.exp: Update.
660         * gdb.python/py-section-script.exp: Update.
661
662 2018-10-04  Tom Tromey  <tom@tromey.com>
663
664         PR cli/22234:
665         * gdb.dwarf2/dw2-stack-boundary.exp: Update expected output.
666         * gdb.gdb/complaints.exp (test_short_complaints): Update expected
667         output.
668
669 2018-10-04  Tom Tromey  <tom@tromey.com>
670
671         * gdb.base/attach.exp (test_command_line_attach_run): Use -quiet;
672         set width and height to 0.
673         (test_command_line_attach_run): Use -quiet.
674
675 2018-10-03  Sandra Loosemore  <sandra@codesourcery.com>
676
677         * lib/gdb.exp (skip_ifunc_tests): New.
678         * gdb.base/gnu-ifunc.exp: Skip if no ifunc support.  Handle
679         other compile failures.
680         * gdb.compile/compile-ifunc.exp: Skip if no ifunc support.
681
682 2018-10-01  Simon Marchi  <simon.marchi@ericsson.com>
683
684         * gdb.arch/i386-avx512.exp: Fix setting of nr_regs based on
685         is_amd64_regs_target.
686
687 2018-10-01  Alan Hayward  <alan.hayward@arm.com>
688
689         * gdb.arch/aarch64-sighandler-regs.c: New test.
690         * gdb.arch/aarch64-sighandler-regs.exp: New file.
691         * lib/gdb.exp (skip_aarch64_sve_tests): New proc.
692
693 2018-10-01  Markus Metzger  <markus.t.metzger@intel.com>
694
695         * lib/gdb.exp (is_amd64_regs_target): Change assembly to C inline
696         assembly.
697
698 2018-09-28  Andrew Burgess  <andrew.burgess@embecosm.com>
699
700         * gdb.base/frame-selection.exp: New file.
701         * gdb.base/frame-selection.c: New file.
702
703 2018-09-27  Alan Hayward  <alan.hayward@arm.com>
704
705         * gdb.threads/check-libthread-db.c (thread_routine): Use a
706         pthread barrier.
707         (main): Likewise.
708
709 2018-09-26  Andrew Burgess  <andrew.burgess@embecosm.com>
710
711         * gdb.base/large-frame-1.c: New file.
712         * gdb.base/large-frame-2.c: New file.
713         * gdb.base/large-frame.exp: New file.
714         * gdb.base/large-frame.h: New file.
715
716 2018-09-24  Jozef Lawrynowicz  <jozef.l@mittosystems.com>
717
718         PR gdb/20948
719         * gdb.base/write_mem.exp: New test.
720         * gdb.base/write_mem.c: Likewise.
721
722 2018-09-23  Tom Tromey  <tom@tromey.com>
723
724         PR python/18852:
725         * gdb.python/py-parameter.exp: Add test for parameter that throws
726         on "set".
727
728 2018-09-23  Tom Tromey  <tom@tromey.com>
729
730         PR python/17284:
731         * gdb.python/py-template.exp (test_template_arg): Add test for
732         negative template argument number.
733
734 2018-09-23  Tom Tromey  <tom@tromey.com>
735
736         PR python/14062:
737         * gdb.python/python.exp: Add test for post_event error.
738
739 2018-09-23  Tom Tromey  <tom@tromey.com>
740
741         PR python/18170:
742         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests to
743         convert pointers to int and long.
744
745 2018-09-23  Tom Tromey  <tom@tromey.com>
746
747         PR python/20126:
748         * gdb.python/py-value.exp (test_value_numeric_ops): Add
749         signed-ness conversion tests.
750
751 2018-09-23  Tom Tromey  <tom@tromey.com>
752
753         PR python/18352;
754         * gdb.python/py-value.exp (test_float_conversion): New proc.
755         Use it.
756
757 2018-09-20  Hafiz Abid Qadeer  <abidh@codesourcery.com>
758
759         gdb.base/reggroups.exp (fetch_reggroups): Add '_' in match pattern.
760
761 2018-09-18  Sandra Loosemore  <sandra@codesourcery.com>
762
763         * gdb.base/complete-empty.exp: Skip tab-completion tests if
764         no readline.
765         * gdb.base/utf8-identifiers.exp: Likewise.
766         * gdb.cp/cpcompletion.exp: Likewise.
767         * gdb.linespec/cpcompletion.exp: Likewise.
768         * gdb.linespec/cpls-abi-tag.exp: Likewise.
769         * gdb.linespec/cpls-ops.exp: Likewise.
770
771 2018-09-19  Richard Bunt  <richard.bunt@arm.com>
772             Chris January  <chris.january@arm.com>
773
774         * gdb.cp/koenig.exp: Extend to test logical short circuiting.
775         * gdb.fortran/short-circuit-argument-list.exp: New file.
776         * gdb.fortran/short-circuit-argument-list.f90: New test.
777
778 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
779
780         * gdb.arch/amd64-invalid-stack-top.exp: Expect optional
781         "arch=" keyword when executing "-stack-list-frames".
782
783 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
784
785         * gdb.arch/amd64-invalid-stack-middle.exp: Expect optional
786         "arch=" keyword when executing "-stack-list-frames".
787
788 2018-09-18  Sergio Durigan Junior  <sergiodj@redhat.com>
789
790         * gdb.ada/complete.exp: Expect for "@" when doing "complete
791         break ada".
792
793 2018-09-17  Simon Marchi  <simon.marchi@polymtl.ca>
794
795         PR python/23669
796         * gdb.python/python.exp: Test gdb.execute("show commands").
797
798 2018-09-16  Tom Tromey  <tom@tromey.com>
799
800         * gdb.base/new-ui.exp (do_execution_tests): Update.
801         * gdb.base/dbx.exp (test_breakpoints): Update.
802
803 2018-09-14  Alan Hayward  <alan.hayward@arm.com>
804
805         * lib/gdb.exp (gdb_simple_compile): Add proc.
806         (is_elf_target): Use gdb_simple_compile.
807         (skip_altivec_tests): Likewise.
808         (skip_vsx_tests): Likewise.
809         (skip_tsx_tests): Likewise.
810         (skip_btrace_tests): Likewise.
811         (skip_btrace_pt_tests): Likewise.
812         (gdb_can_simple_compile): Likewise.
813         (gdb_has_argv0): Likewise.
814         (gdb_target_symbol_prefix): Likewise.
815         (target_supports_scheduler_locking): Likewise.
816
817 2018-09-13  Tom Tromey  <tom@tromey.com>
818
819         * Makefile.in (TAGS): Recognize proc_with_prefix and
820         gdb_caching_proc.
821
822 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
823
824         * gdb.python/py-progspace.exp: Test the Progspace.objfiles
825         method.
826
827 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
828
829         * gdb.python/py-inferior.exp: Add tests for Inferior.progspace
830         and a few other Inferior properties when the Inferior is no
831         longer valid.
832
833 2018-09-13  Tom Tromey  <tom@tromey.com>
834
835         PR rust/23650:
836         * gdb.rust/simple.exp: Add test for enum field access error.
837
838 2018-09-13  Tom Tromey  <tom@tromey.com>
839
840         PR rust/23626:
841         * gdb.rust/simple.rs (EmptyEnum): New type.
842         (main): Use it.
843         * gdb.rust/simple.exp (test_one_slice): Add empty enum test.
844
845 2018-09-13  Simon Marchi  <simon.marchi@ericsson.com>
846
847         * gdb.python/py-inferior.exp: Test repr() of gdb.Inferior.
848         * gdb.python/py-objfile.exp: Test repr() of gdb.Objfile.
849         * gdb.python/py-symtab.exp: Update test printing an objfile.
850
851 2018-09-12  Simon Marchi  <simon.marchi@ericsson.com>
852
853         * gdb.python/py-inferior.exp: Test using an invalid gdb.Inferior
854         object.
855
856 2018-09-12  Alan Hayward  <alan.hayward@arm.com>
857
858         * lib/gdb.exp (gdb_can_simple_compile): Add proc.
859         (support_complex_tests): Use gdb_can_simple_compile.
860         (is_ilp32_target): Likewise.
861         (is_lp64_target): Likewise.
862         (is_64_target): Likewise.
863         (is_amd64_regs_target): Likewise.
864         (is_aarch32_target): Likewise.
865         (gdb_int128_helper): Likewise.
866
867 2018-09-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
868
869         * Makefile.in (check-parallel-racy): Fix dg-extract-results.sh path.
870
871 2018-09-10  Jerome Guitton  <guitton@adacore.com>
872
873         * gdb.ada/same_component_name: Add test for case of tagged record
874         with variable-length fields.
875
876 2018-09-10  Xavier Roirand  <roirand@adacore.com>
877
878         * gdb.ada/access_to_unbounded_array.exp: New testcase.
879         * gdb.ada/access_to_unbounded_array/foo.adb: New file.
880         * gdb.ada/access_to_unbounded_array/pack.adb: New file.
881         * gdb.ada/access_to_unbounded_array/pack.ads: New file.
882
883 2018-09-10  Xavier Roirand  <roirand@adacore.com>
884
885         * gdb.ada/mi_string_access.exp: New testcase.
886         * gdb.ada/mi_string_access/bar.adb: New file.
887         * gdb.ada/mi_string_access/pck.adb: New file.
888         * gdb.ada/mi_string_access/pck.asd: New file.
889
890 2018-09-10  Xavier Roirand  <roirand@adacore.com>
891
892         * gdb.ada/mi_var_union.exp: New testcase.
893         * gdb.ada/mi_var_union/bar.adb: New file.
894         * gdb.ada/mi_var_union/pck.adb: New file.
895         * gdb.ada/mi_var_union/pck.asd: New file.
896
897 2018-09-08  Tom Tromey  <tom@tromey.com>
898
899         * gdb.python/py-prettyprint.exp: Use with_test_prefix.
900
901 2018-09-08  Tom Tromey  <tom@tromey.com>
902
903         PR python/16047:
904         * gdb.python/py-prettyprint.py (pp_int_typedef3): New class.
905         (register_pretty_printers): Register new printer.
906         * gdb.python/py-prettyprint.exp (run_lang_tests): Add int_type3
907         test.
908         * gdb.python/py-prettyprint.c (int_type3): New typedef.
909         (an_int_type3): New global.
910
911 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
912
913         * gdb.ada/expr_with_funcall: New testcase.
914
915 2018-09-08  Joel Brobecker  <brobecker@adacore.com>
916
917         * gdb.ada/packed_array_assign: New testcase.
918
919 2018-09-07  Andrew Burgess  <andrew.burgess@embecosm.com>
920
921         * gdb.base/watchpoint.exp (test_complex_watchpoint): Extend test
922         names, and add test prefixes to make test names unique.
923
924 2018-09-05  Tom de Vries  <tdevries@suse.de>
925
926         * gdb.dwarf2/varval.exp: Add test.
927
928 2018-09-04  Gary Benson <gbenson@redhat.com>
929
930         * gdb.base/batch-exit-status.exp: Use gdb_test_multiple and expect
931         'eof' before 'wait -i'.  Use remote_close and clear_gdb_spawn_id.
932
933 2018-08-31  Tom Tromey  <tom@tromey.com>
934
935         * gdb.rust/simple.rs: Rename second variable "v".
936
937 2018-08-30  Andrew Burgess  <andrew.burgess@embecosm.com>
938
939         * gdb.base/funcargs.c (use_a): New function.
940         (recurse): Call use_a.
941
942 2018-08-29  Keith Seitz  <keiths@redhat.com>
943
944         * gdb.compile/compile-cplus-anonymous.cc: New file.
945         * gdb.compile/compile-cplus-anonymous.exp: New file.
946         * gdb.compile/compile-cplus-array-decay.cc: New file.
947         * gdb.compile/compile-cplus-array-decay.exp: New file.
948         * gdb.compile/compile-cplus-inherit.cc: New file.
949         * gdb.compile/compile-cplus-inherit.exp: New file.
950         * gdb.compile/compile-cplus-member.cc: New file.
951         * gdb.compile/compile-cplus-member.exp: New file.
952         * gdb.compile/compile-cplus-method.cc: New file.
953         * gdb.compile/compile-cplus-method.exp: New file.
954         * gdb.compile/compile-cplus-mod.c: "New" file.
955         * gdb.compile/compile-cplus-namespace.cc: New file.
956         * gdb.compile/compile-cplus-namespace.exp: New file.
957         * gdb.compile/compile-cplus-nested.cc: New file.
958         * gdb.compile/compile-cplus-nested.exp: New file.
959         * gdb.compile/compile-cplus-print.c: "New" file.
960         * gdb.compile/compile-cplus-print.exp: "New" file.
961         * gdb.compile/compile-cplus-virtual.cc: New file.
962         * gdb.compile/compile-cplus-virtual.exp: New file.
963         * gdb.compile/compile-cplus.c: "New" file.
964         * gdb.compile/compile-cplus.exp: "New" file.
965         * lib/compile-support.exp: New file.
966
967 2018-08-16  Gary Benson <gbenson@redhat.com>
968
969         PR gdb/13000:
970         * gdb.base/batch-exit-status.exp: New file.
971         * gdb.base/batch-exit-status.good-commands: Likewise.
972         * gdb.base/batch-exit-status.bad-commands: Likewise.
973
974 2018-08-29  Alan Hayward  <alan.hayward@arm.com>
975
976         * gdb.base/infcall-nested-structs.c (struct struct01): Remove.
977         (struct struct02): Likewise.
978         (struct struct03): Likewise.
979         (struct struct04): Likewise.
980         (struct struct_01_01): New struct.
981         (struct struct_01_02): Likewise.
982         (struct struct_01_03): Likewise.
983         (struct struct_01_04): Likewise.
984         (struct struct_02_01): Likewise.
985         (struct struct_02_02): Likewise.
986         (struct struct_02_03): Likewise.
987         (struct struct_02_04): Likewise.
988         (struct struct_04_01): Likewise.
989         (struct struct_04_02): Likewise.
990         (struct struct_04_03): Likewise.
991         (struct struct_04_04): Likewise.
992         (struct struct_05_01): Likewise.
993         (struct struct_05_02): Likewise.
994         (struct struct_05_03): Likewise.
995         (struct struct_05_04): Likewise.
996         (cmp_struct01): Remove function.
997         (cmp_struct02): Likewise.
998         (cmp_struct03): Likewise.
999         (cmp_struct04): Likewise.
1000         (cmp_struct_01_01): Add Function.
1001         (cmp_struct_01_02): Likewise.
1002         (cmp_struct_01_03): Likewise.
1003         (cmp_struct_01_04): Likewise.
1004         (cmp_struct_02_01): Likewise.
1005         (cmp_struct_02_02): Likewise.
1006         (cmp_struct_02_03): Likewise.
1007         (cmp_struct_02_04): Likewise.
1008         (cmp_struct_04_01): Likewise.
1009         (cmp_struct_04_02): Likewise.
1010         (cmp_struct_04_03): Likewise.
1011         (cmp_struct_04_04): Likewise.
1012         (cmp_struct_05_01): Likewise.
1013         (cmp_struct_05_02): Likewise.
1014         (cmp_struct_05_03): Likewise.
1015         (cmp_struct_05_04): Likewise.
1016         (call_all): Add new structs.
1017         * gdb.base/infcall-nested-structs.exp: Likewise.
1018
1019 2018-08-27  Jan Vrany  <jan.vrany@fit.cvut.cz>
1020
1021         * gdb.python/py-framefilter-mi.exp: Update regexp to
1022         check for "arch" field in frame output.
1023
1024 2018-08-23  Kevin Buettner  <kevinb@redhat.com>
1025
1026         * gdb.dwarf2/dw2-ranges-func.c: New file.
1027         * gdb.dwarf2/dw2-ranges-func.exp: New file.
1028
1029 2018-08-22  Simon Marchi  <simon.marchi@polymtl.ca>
1030
1031         * gdb.base/term.exp: Compare terminal settings with values from
1032         the inferior.
1033         * gdb.base/term.c: Get and set terminal settings.
1034
1035 2018-08-22  Jan Vrany  <jan.vrany@fit.cvut.cz>
1036
1037         * lib/mi-support.exp (mi_expect_stop): Update regexp to
1038         accommodate new "arch" field in frame output.
1039         * gdb.mi/mi-return.exp: Likewise.
1040         * gdb.mi/mi-stack.exp: Likewise.
1041         * gdb.mi/mi-syn-frame.exp: Likewise.
1042         * gdb.mi/user-selected-context-sync.exp: Likewise.
1043
1044 2018-08-19  Michael Spang  <spang@google.com>
1045
1046         PR gdb/11786
1047         * gdb.base/gcore-tls-pie.c: New file.
1048         * gdb.base/gcore-tls-pie.exp: New file.
1049
1050 2018-08-18  Kevin Buettner  <kevinb@redhat.com>
1051
1052         * lib/dwarf.exp: Add support for DW_OP_GNU_variable_value.
1053         * gdb.dwarf2/varval.c: New file.
1054         * gdb.dwarf2/varval.exp: New file.
1055
1056 2018-08-17  Alan Hayward  <alan.hayward@arm.com>
1057
1058         PR gdb/18931
1059         * gdb.arch/aarch64-fp.c (main): Fix asm registers.
1060
1061 2018-08-16  Keith Seitz  <keiths@redhat.com>
1062
1063         * gdb.compile/compile.exp: Use gdb_test_no_output for "compile code"
1064         tests expected to pass.
1065
1066 2018-08-14  Jan Vrany  <jan.vrany@fit.cvut.cz>
1067
1068         * gdb.mi/mi-disassemble.exp (test_disassembly_only): Add tests for
1069         -data-disassemble -a.
1070         (test_disassembly_bogus_args): Likewise.
1071
1072 2018-08-14  Andrew Burgess  <andrew.burgess@embecosm.com>
1073
1074         * gdb.mi/list-thread-groups-available.exp: Update test regexp.
1075
1076 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1077
1078         * gdb.base/vla-optimized-out.exp: Add new test.
1079
1080 2018-08-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1081
1082         * gdb.base/vla-optimized-out-o3.exp: Delete.
1083         * gdb.base/vla-optimized-out-o3-strict.exp: Delete.
1084         * gdb.base/vla-optimized-out.exp: Extend to cover all of the
1085         deleted tests.
1086
1087 2018-08-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1088
1089         PR gdb/18050:
1090         * gdb.server/extended-remote-restart.c: New file.
1091         * gdb.server/extended-remote-restart.exp: New file.
1092
1093 2018-08-07  Simon Marchi  <simon.marchi@polymtl.ca>
1094
1095         * gdb.fortran/nested-funcs.exp: Replace "set index = 42" with
1096         "set variable index = 42".
1097
1098 2018-08-07  Simon Marchi  <simon.marchi@ericsson.com>
1099
1100         * boards/index-cache-gdb.exp: New file.
1101         * gdb.dwarf2/index-cache.exp: New file.
1102         * gdb.dwarf2/index-cache.c: New file.
1103         * gdb.base/maint.exp: Check if we are using the index cache.
1104
1105 2018-08-07  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1106
1107         * Makefile.in (saw_dash_j): Allow for GNU make 4.2+ passing -jN in
1108         MAKEFLAGS.
1109
1110 2018-08-06  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
1111
1112         * dg-extract-results.sh: Move to toplevel contrib.
1113         * Makefile.in (check-parallel): Reflect dg-extract-results.sh move.
1114         * Makefile.in (check-parallel-racy): Likewise.
1115
1116 2018-08-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1117
1118         * lib/gdb.exp (target_supports_scheduler_locking): New proc.
1119         * gdb.mi/mi-cmd-param-changed.exp: Only run scheduler locking
1120         tests if the target supports scheduler locking.
1121
1122 2018-08-04  Tom de Vries  <tdevries@suse.de>
1123
1124         * gdb.python/py-rbreak.exp: Fix rbreak regexp.
1125
1126 2018-08-02  Tom Tromey  <tom@tromey.com>
1127
1128         PR symtab/16842.
1129         * gdb.cp/temargs.exp: Test "info address" of a template
1130         parameter.
1131
1132 2018-07-31  Jan Vrany  <jan.vrany@fit.cvut.cz>
1133
1134         * gdb.python/py-mi-var-info-path-expression.c: New file.
1135         * gdb.python/py-mi-var-info-path-expression.py: New file.
1136         * gdb.python/py-mi-var-info-path-expression.exp: New file.
1137
1138 2018-07-30  Sergio Durigan Junior  <sergiodj@redhat.com>
1139
1140         * lib/gdbserver-support.exp (gdbserver_start): Match any kind of
1141         error after "cannot resolve name" string.
1142
1143 2018-07-28  Andrew Burgess  <andrew.burgess@embecosm.com>
1144
1145         * gdb.trace/tspeed.exp: Only call gdb_load_shlib after gdb has
1146         started.
1147         * lib/gdb.exp (gdb_load_shlib): Call perror if GDB is not running.
1148
1149 2018-07-28  Tom de Vries  <tdevries@suse.de>
1150
1151         * gdb.base/vla-optimized-out-o3-strict.exp: New file.
1152
1153 2018-07-26  Tom de Vries  <tdevries@suse.de>
1154
1155         * gdb.base/vla-optimized-out.c: Add comment about origin of test-case.
1156
1157 2018-07-26  Andrew Burgess  <andrew.burgess@embecosm.com>
1158
1159         * gdb.base/maint.exp: Add check that dwarf unwinders control flag
1160         is visible.
1161
1162 2018-07-26  Tom de Vries  <tdevries@suse.de>
1163
1164         PR breakpoints/23366
1165         * gdb.base/catch-follow-exec.c: New test.
1166         * gdb.base/catch-follow-exec.exp: New file.
1167
1168 2018-07-25  Tom de Vries  <tdevries@suse.de>
1169
1170         * gdb.base/vla-optimized-out-o3.exp: New file.  Reuse
1171         vla-optimized-out.c.
1172
1173 2018-07-25  Jan Vrany  <jan.vrany@fit.cvut.cz>
1174
1175         * gdb.mi/mi-breakpoint-location-ena-dis.cc: New file.
1176         * gdb.mi/mi-breakpoint-location-ena-dis.exp: New file.
1177
1178 2018-07-20  Tom de Vries  <tdevries@suse.de>
1179
1180         * gdb.base/vla-optimized-out.c: Make noclone attribute conditional on
1181         NOCLONE macro.
1182         * gdb.base/vla-optimized-out.exp: Use additional_flags -DNOCLONE.
1183
1184 2018-07-19  Tom de Vries  <tdevries@suse.de>
1185
1186         * gdb.mi/list-thread-groups-available.exp (cores_re): Fix quoting in
1187         regular expression.
1188
1189 2018-07-18  Tom de Vries  <tdevries@suse.de>
1190
1191         * gdb.base/vla-optimized-out.c: New test.
1192         * gdb.base/vla-optimized-out.exp: New file.
1193
1194 2018-07-13  Sergio Durigan Junior  <sergiodj@redhat.com>
1195
1196         * lib/gdbserver-support.exp (gdbserver_start): Expect for the
1197         message "No address associated with hostname" when gdbserver
1198         cannot resolve the hostname.
1199
1200 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1201
1202         * gdb.threads/pthreads.exp: Test qcs FLAG arguments.
1203         Add some test prefixes to make tests unique.
1204
1205 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1206
1207         * gdb.base/frameapply.c: New file.
1208         * gdb.base/frameapply.exp: New file.
1209
1210 2018-07-12  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
1211
1212         * gdb.base/skip.exp: Update expected error message.
1213
1214 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
1215             Jan Kratochvil  <jan.kratochvil@redhat.com>
1216             Paul Fertser  <fercerpav@gmail.com>
1217             Tsutomu Seki  <sekiriki@gmail.com>
1218
1219         * README (Testsuite Parameters): Mention new 'GDB_TEST_SOCKETHOST'
1220         parameter.
1221         * boards/native-extended-gdbserver.exp: Do not set 'sockethost'
1222         by default.
1223         * boards/native-gdbserver.exp: Likewise.
1224         * gdb.server/run-without-local-binary.exp: Improve regexp used
1225         for detecting when a remote debugging connection succeeds.
1226         * gdb.server/server-connect.exp: New file.
1227         * lib/gdbserver-support.exp (gdbserver_default_get_comm_port):
1228         Do not prefix the port number with ":".
1229         (gdbserver_start): New global GDB_TEST_SOCKETHOST.  Implement
1230         support for detecting and using it.  Add '$debughost_gdbserver'
1231         to the list of arguments used to start gdbserver.  Handle case
1232         when gdbserver cannot resolve a network name.
1233
1234 2018-07-11  Sergio Durigan Junior  <sergiodj@redhat.com>
1235
1236         PR c++/23373
1237         * gdb.base/ptype-offsets.cc (struct static_member): New
1238         struct.
1239         (main) <stmember>: New variable.
1240         * gdb.base/ptype-offsets.exp: Add test for printing a struct
1241         with a static member in it.
1242
1243 2018-07-10  Andrew Burgess  <andrew.burgess@embecosm.com>
1244
1245         * gdb.base/watchpoint-reuse-slot.exp: Test with hardware
1246         watchpoints enabled and disabled.
1247
1248 2018-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
1249
1250         * gdb.base/examine-backward.exp: Still run tests around address
1251         0x0, even if address 0x0 is not readable.  Update the pattern for
1252         matching address 0x0 in expected output.
1253
1254 2018-07-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1255
1256         * gdb.base/share-env-with-gdbserver.c (main): Add call to
1257         malloc/free.
1258
1259 2018-07-04  Tom de Vries  <tdevries@suse.de>
1260
1261         * gdb.dwarf2/dw2-error.exp: Update expected error message.
1262
1263 2018-07-02  Maciej W. Rozycki  <macro@mips.com>
1264
1265         PR tdep/8282
1266         * gdb.arch/mips-disassembler-options.exp: New test.
1267         * gdb.arch/mips-disassembler-options.s: New test source.
1268
1269 2018-06-29  Pedro Alves  <palves@redhat.com>
1270
1271         * gdb.threads/names.exp: Adjust expected "info threads" output.
1272
1273 2018-06-29  Pedro Alves  <palves@redhat.com>
1274
1275         * gdb.opt/inline-break.exp (line number, address): Add "info
1276         break" tests.
1277
1278 2018-06-29  Pedro Alves  <palves@redhat.com>
1279
1280         * gdb.opt/inline-break.c (func1): Add "break here" marker.
1281         * gdb.opt/inline-break.exp: Test setting breakpoints by line
1282         number and address and running to them.
1283
1284 2018-06-29  Richard Bunt  <richard.bunt@arm.com>
1285
1286         * gdb.base/watchpoint-hw-attach.exp: Remove unstable output.
1287
1288 2018-06-28  Jan Kratochvil  <jan.kratochvil@redhat.com>
1289
1290         * lib/compiler.c: Remove executable permission flag.
1291
1292 2018-06-28  Richard Bunt  <richard.bunt@arm.com>
1293
1294         * gdb.base/watchpoint-hw-attach.c (main): Remove unneeded
1295         code.
1296         * gdb.base/watchpoint-hw-attach.exp: Break in outermost frame.
1297
1298 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1299
1300         * gdb.base/relocate.exp: Add test for "add-symbol-file -o ".
1301
1302 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1303
1304         * gdb.base/relocate.exp: Test add-symbol-file behavior when the
1305         address argument is omitted.
1306
1307 2018-06-28  Petr Tesarik  <ptesarik@suse.cz>
1308
1309         * gdb.base/relocate.exp: Add test for "symbol-file -o ".
1310
1311 2018-06-27  Omair Javaid  <omair.javaid@linaro.org>
1312
1313         PR gdb/21695
1314         * gdb.base/infoline-reloc-main-from-zero.exp: New test.
1315         * gdb.base/infoline-reloc-main-from-zero.c: New file.
1316
1317 2018-06-26  Tom Tromey  <tom@tromey.com>
1318
1319         PR rust/22574:
1320         * gdb.rust/simple.exp (test_one_slice): Add ptype/o tests.
1321         * gdb.rust/simple.rs (struct SimpleLayout): New.
1322
1323 2018-06-22  Simon Marchi  <simon.marchi@ericsson.com>
1324
1325         * gdb.base/jit-reader.exp (jit_reader_test): Expect spaces in
1326         "info registers" output.
1327
1328 2018-06-21  Richard Bunt  <richard.bunt@arm.com>
1329
1330         * gdb.base/watchpoint-hw-attach.c: New test.
1331         * gdb.base/watchpoint-hw-attach.exp: New file.
1332
1333 2018-06-20  Simon Marchi  <simon.marchi@ericsson.com>
1334
1335         * boards/cc-with-tweaks.exp: Don't call cc-with-tweaks.sh
1336         through /bin/sh.
1337         * boards/dwarf4-gdb-index.exp: Likewise.
1338         * boards/fission-dwp.exp: Likewise.
1339
1340 2018-06-20  Ulrich Weigand  <uweigand@de.ibm.com>
1341
1342         * gdb.base/float128.exp: Add comment and improved fail message
1343         to the failure case of "print large128" test.
1344
1345 2018-06-19  Simon Marchi  <simon.marchi@ericsson.com>
1346
1347         * configure.ac: Remove AC_PREREQ.
1348         * configure: Re-generate.
1349
1350 2018-06-19  Pedro Alves  <palves@redhat.com>
1351
1352         * gdb.opt/inline-break.c (func_inline_callee, func_inline_caller)
1353         (func_extern_caller): New.
1354         (main): Call func_extern_caller.
1355         * gdb.opt/inline-break.exp: Add tests for inline frame skipping
1356         logic change.
1357
1358 2018-06-18  Weimin Pan  <weimin.pan@oracle.com>
1359
1360         PR gdb/16841
1361         * gdb.cp/typedef-base.cc: New file.
1362         * gdb.cp/typedef-base.exp: New file.
1363
1364 2018-06-18  Tom de Vries  <tdevries@suse.de>
1365
1366         * gdb.ada/bp_inlined_func.exp: Allow 5 breakpoint locations.
1367
1368 2018-06-16  Andrew Burgess  <andrew.burgess@embecosm.com>
1369             Richard Bunt <Richard.Bunt@arm.com>
1370
1371         * gdb.threads/attach-slow-waitpid.c: New file.
1372         * gdb.threads/attach-slow-waitpid.exp: New file.
1373         * gdb.threads/slow-waitpid.c: New file.
1374
1375 2018-06-14  Pedro Alves  <palves@redhat.com>
1376
1377         * gdb.base/fork-running-state.c: Include <errno.h>.
1378         (exit_if_relative_exits): New.
1379         (fork_child): If 'exit_if_relative_exits' is true, exit if the parent
1380         exits.
1381         (fork_parent): If 'exit_if_relative_exits' is true, exit if the
1382         child exits.
1383
1384 2018-06-14  Tom de Vries  <tdevries@suse.de>
1385
1386         PR cli/22573
1387         * gdb.base/finish-pretty.c: New test.
1388         * gdb.base/finish-pretty.exp: New file.
1389
1390 2018-06-14  Pedro Alves  <palves@redhat.com>
1391
1392         * gdb.gdb/selftest.exp (test_with_self): Use multi_line to build
1393         gdb's expected startup output.
1394
1395 2018-06-14  Pedro Alves  <palves@redhat.com>
1396
1397         * lib/selftest-support.exp (selftest_setup): Remove inlined
1398         function handling.
1399
1400 2018-06-14  Tom de Vries  <tdevries@suse.de>
1401
1402         * lib/selftest-support.exp (selftest_setup): Allow function arguments in
1403         matching of breakpoint printing.
1404
1405 2018-06-13  Tom de Vries  <tdevries@suse.de>
1406
1407         PR testsuite/23269
1408         * gdb.base/fork-running-state.c (main): Move setting of alarm ...
1409         (fork_child): ... here, and ...
1410         (fork_parent): ... here.
1411
1412 2018-06-12  Tom de Vries  <tdevries@suse.de>
1413
1414         * gdb.gdb/selftest.exp (test_with_self): Update gdb startup text.
1415
1416 2018-06-12  Andrew Burgess  <andrew.burgess@embecosm.com>
1417             Stephen Roberts  <stephen.roberts@arm.com>
1418
1419         * gdb.threads/multiple-successive-infcall.exp: Remove kfail case,
1420         rewrite test to describe action performed, rather than possible
1421         failure.
1422
1423 2018-06-08  Gary Benson <gbenson@redhat.com>
1424
1425         * gdb.threads/check-libthread-db.exp: New file.
1426         * gdb.threads/check-libthread-db.c: Likewise.
1427
1428 2018-06-05  Tom Tromey  <tom@tromey.com>
1429
1430         * gdb.base/default.exp: Update expected "show version" output.
1431
1432 2018-06-05  Tom Tromey  <tom@tromey.com>
1433
1434         PR cli/12326:
1435         * gdb.cp/static-print-quit.exp: Update.
1436         * lib/gdb.exp (pagination_prompt): Update.
1437         * gdb.base/page.exp: Use pagination_prompt.  Add new tests.
1438         * gdb.python/python.exp: Update.
1439
1440 2018-06-04  Joel Brobecker  <brobecker@adacore.com>
1441
1442         * gdb.mi/list-thread-groups-no-inferior.exp: New testcase.
1443
1444 2018-06-01  Joel Brobecker  <brobecker@adacore.com>
1445
1446         * gdb.ada/bp_fun_addr: New testcase.
1447
1448 2018-06-01  Tom Tromey  <tom@tromey.com>
1449
1450         * gdb.xml/tdesc-regs.exp (load_description): Update expected
1451         results.
1452         * gdb.dwarf2/method-ptr.exp: Set language to C++.
1453         * gdb.dwarf2/member-ptr-forwardref.exp: Set language to C++.
1454         * gdb.cp/typeid.exp (do_typeid_tests): Update type_re.
1455         * gdb.base/maint.exp (maint_pass_if): Update.
1456
1457 2018-05-31  Maciej W. Rozycki  <macro@mips.com>
1458
1459         * gdb.base/endian.exp: New test.
1460         * gdb.base/endian.c: New test source.
1461
1462 2018-05-24  Andrew Burgess  <andrew.burgess@embecosm.com>
1463
1464         PR gdb/23203
1465         * gdb.base/bt-selected-frame.c: New file.
1466         * gdb.base/bt-selected-frame.exp: New file.
1467         * lib/gdb.exp (get_current_frame_number): New function.
1468
1469 2018-05-24  Maciej W. Rozycki  <macro@mips.com>
1470             Pedro Alves  <palves@redhat.com>
1471
1472         * gdb.threads/tls-core.c: Include <stdlib.h>
1473         (thread_proc): Call `abort'.
1474         * gdb.threads/tls-core.exp: Generate a core with core_find too.
1475         (tls_core_test): New procedure, bits factored out from ...
1476         (top level): ... here.  Test both native cores and gcore cores.
1477
1478 2018-05-23  Tom Tromey  <tom@tromey.com>
1479
1480         * gdb.gdb/complaints.exp (test_initial_complaints): Simplify.
1481
1482 2018-05-23  Tom Tromey  <tom@tromey.com>
1483
1484         * gdb.gdb/complaints.exp (test_initial_complaints): Don't mention
1485         symfile_complaints.
1486         (test_short_complaints): Likewise.
1487         (test_empty_complaints): Likewise.
1488         (test_initial_complaints): Update.
1489
1490 2018-05-23  Tom Tromey  <tom@tromey.com>
1491
1492         * gdb.gdb/complaints.exp (test_empty_complaints): Update.
1493
1494 2018-05-23  Tom Tromey  <tom@tromey.com>
1495
1496         * gdb.gdb/complaints.exp (test_serial_complaints): Remove.
1497         (test_short_complaints): Update.
1498
1499 2018-05-22  Pedro Alves  <palves@redhat.com>
1500
1501         * gdb.base/remote.exp: Only gdb_start after compiling the
1502         testcase.  Issue "disconnect" before testing "set remote" command
1503         defaults.  Issue clean_restart before running to main.
1504
1505 2018-05-22  Pedro Alves  <palves@redhat.com>
1506
1507         * gdb.base/remote.exp: Adjust expected output of "show remote
1508         memory-write-packet-size".  Add tests for "set remote
1509         memory-write-packet-size 0" and "set remote
1510         memory-write-packet-size fixed/limit".
1511
1512 2018-05-22  Pedro Alves  <palves@redhat.com>
1513
1514         PR gdb/22973
1515         * gdb.base/utf8-identifiers.c: New file.
1516         * gdb.base/utf8-identifiers.exp: New file.
1517
1518 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1519
1520         * gdb.arch/powerpc-fpscr-gcore.exp: New file.
1521
1522 2018-05-22  Pedro Franco de Carvalho  <pedromfc@linux.vnet.ibm.com>
1523
1524         * gdb.arch/powerpc-vsx-gcore.exp: New file.
1525
1526 2018-05-18  Tom Tromey  <tom@tromey.com>
1527
1528         * gdb.base/ptype-offsets.exp: Update.
1529
1530 2018-05-17  Keith Seitz  <keiths@redhat.com>
1531
1532         * gdb.ada/bp_inlined_func.exp: Update inlined frame locations
1533         in expected breakpoint stop locations.
1534         * gdb.dwarf2/implptr.exp (implptr_test_baz): Use up/down to
1535         move to proper scope to test variable values.
1536         * gdb.opt/inline-break.c (inline_func1, not_inline_func1)
1537         (inline_func2, not_inline_func2, inline_func3, not_inline_func3):
1538         New functions.
1539         (main): Call not_inline_func3.
1540         * gdb.opt/inline-break.exp: Start inferior and set breakpoints at
1541         inline_func1, inline_func2, and inline_func3.  Test that when each
1542         breakpoint is hit, GDB properly reports both the stop location
1543         and the backtrace. Repeat tests for temporary breakpoints.
1544
1545 2018-05-15  Maciej W. Rozycki  <macro@mips.com>
1546
1547         * gdb.server/server-kill.exp: Verify whether `server_pid' exists
1548         rather then trying to access it in determining whether the PID
1549         of `gdbserver' could have been retrieved.
1550
1551 2018-05-08  Andrew Burgess  <andrew.burgess@embecosm.com>
1552
1553         * gdb.arch/amd64-init-x87-values.S: New file.
1554         * gdb.arch/amd64-init-x87-values.exp: New file.
1555
1556 2018-05-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
1557
1558         * gdb.base/watchpoint-unaligned.exp: Use skip_hw_watchpoint_tests.
1559
1560 2018-05-04  Tom Tromey  <tom@tromey.com>
1561
1562         PR python/22730:
1563         * gdb.python/python.exp: Test multi-line execute.
1564
1565 2018-05-04  Tom Tromey  <tom@tromey.com>
1566
1567         PR python/22731:
1568         * gdb.python/py-breakpoint.exp: Test setting breakpoint commands.
1569
1570 2018-05-04  Tom Tromey  <tom@tromey.com>
1571
1572         PR gdb/11750:
1573         * gdb.base/define.exp: Test defining a user command inside a user
1574         command.
1575         * gdb.base/commands.exp (define_if_without_arg_test): Test "define".
1576
1577 2018-05-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
1578             Pedro Alves <palves@redhat.com>
1579
1580         PR breakpoints/19806 and support for PR external/20207.
1581         * gdb.base/watchpoint-unaligned.c: New file.
1582         * gdb.base/watchpoint-unaligned.exp: New file.
1583
1584 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1585
1586         * gdb.base/maint.exp: Make test names unique, use
1587         test_prefix_command_help to test 'help maint info', and remove
1588         repeated test of 'help maint'.
1589
1590 2018-05-04  Tom Tromey  <tom@tromey.com>
1591
1592         PR gdb/22619:
1593         * gdb.base/long_long.exp (gdb_test_long_long): Add test for repeat
1594         behavior.
1595
1596 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1597
1598         * gdb.base/maint.exp: Process output from 'maint print registers'
1599         line at a time.
1600
1601 2018-05-04  Andrew Burgess  <andrew.burgess@embecosm.com>
1602
1603         * lib/mi-support.exp (mi_run_cmd_full): Fix regexp and add a
1604         timeout.
1605
1606 2018-05-03  Andrew Burgess  <andrew.burgess@embecosm.com>
1607
1608         * gdb.base/callfuncs.exp (fetch_all_registers): Add riscv register
1609         filter pattern.
1610
1611 2018-05-02  Pedro Alves  <palves@redhat.com>
1612
1613         * gdb.base/breakpoint-in-ro-region.exp: Adjust to to_resume and
1614         to_log_command renames.
1615         * gdb.base/sss-bp-on-user-bp-2.exp: Likewise.
1616
1617 2018-05-02  Tom Tromey  <tom@tromey.com>
1618
1619         * gdb.python/py-parameter.exp: Set test message.
1620
1621 2018-05-02  Tom Tromey  <tom@tromey.com>
1622
1623         PR python/20084:
1624         * gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
1625         PARAM_ZUINTEGER_UNLIMITED tests.
1626
1627 2018-04-28  Dan Robertson  <danlrobertson89@gmail.com>
1628
1629         PR rust/23124
1630         * gdb.rust/expr.exp: Test that the unit type is correctly parsed
1631         when casting.
1632
1633 2018-04-30  Tom Tromey  <tom@tromey.com>
1634
1635         * gdb.python/py-type.exp: Check align attribute.
1636         * gdb.python/py-type.c: New "aligncheck" global.
1637
1638 2018-04-30  Tom Tromey  <tom@tromey.com>
1639
1640         PR exp/17095:
1641         * gdb.dwarf2/dw2-align.exp: New file.
1642         * gdb.cp/align.exp: New file.
1643         * gdb.base/align.exp: New file.
1644         * lib/gdb.exp (gdb_int128_helper): New proc.
1645         (has_int128_c, has_int128_cxx): New caching procs.
1646
1647 2018-04-27  Tom Tromey  <tom@tromey.com>
1648
1649         PR rust/22545:
1650         * gdb.rust/simple.exp: Add inclusive range tests.
1651
1652 2018-04-26  Pedro Alves  <palves@redhat.com>
1653
1654         * gdb.base/gnu-ifunc.exp (set-break): Test that GDB resolves
1655         ifunc breakpoint locations correctly of ifunc breakpoints set
1656         while the program resolves the ifunc.
1657
1658 2018-04-26  Pedro Alves  <palves@redhat.com>
1659
1660         * gdb.base/gnu-ifunc-final.c: New file.
1661         * gdb.base/gnu-ifunc.c (final): Delete, moved to gnu-ifunc-final.c.
1662         * gdb.base/gnu-ifunc.exp (executable): Delete.
1663         (staticexecutable): Adjust.
1664         (lib_opts, exec_opts): Delete.
1665         (make_binsuffix, build, set-break): New procedures.
1666         (misc_tests): New, with tests factored out from the top level.
1667         (top level): Test different combinations of ifunc resolver name,
1668         resolver with and with debug info, and ifunc target with and
1669         without debug info.  Wrap static tests with with_target_prefix.
1670
1671 2018-04-26  Pedro Alves  <palves@redhat.com>
1672
1673         * gdb.compile/compile-ifunc.exp: Also expect "function has unknown
1674         return type" warnings.
1675
1676 2018-04-25  Pedro Alves  <palves@redhat.com>
1677
1678         * gdb.base/hook-stop.exp: Expect "killed" instead of "has been
1679         killed".
1680         * gdb.base/kill-after-signal.exp: Likewise.
1681         * gdb.threads/kill.exp: Likewise.
1682
1683 2018-04-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
1684             Sergio Durigan Junior  <sergiodj@redhat.com>
1685             Pedro Alves  <palves@redhat.com>
1686
1687         * gdb.base/attach-non-pgrp-leader.exp: Adjust 'Detaching...'
1688         regexps to expect for '[Inferior ... detached]' as well.
1689         * gdb.base/attach.exp: Likewise.
1690         * gdb.base/catch-syscall.exp (check_for_program_end): Adjust
1691         "gdb_continue_to_end".
1692         (test_catch_syscall_with_wrong_args): Likewise.
1693         * gdb.base/foll-fork.exp: Adjust regexps to match '[' and
1694         ']'.  Don't set 'verbose' on.
1695         * gdb.base/foll-vfork.exp: Likewise.
1696         * gdb.base/fork-print-inferior-events.c: New file.
1697         * gdb.base/fork-print-inferior-events.exp: New file.
1698         * gdb.base/hook-stop.exp: Adjust regexps to expect for new
1699         '[Inferior ... has been killed]' message.
1700         * gdb.base/kill-after-signal.exp: Likewise.
1701         * gdb.base/solib-overlap.exp: Adjust regexps to expect for new
1702         detach message.
1703         * gdb.threads/kill.exp: Adjust regexps to expect for new kill
1704         message.
1705         * gdb.threads/clone-attach-detach.exp: Adjust 'Detaching...'
1706         regexps to expect for '[Inferior ... detached]' as well.
1707         * gdb.threads/process-dies-while-detaching.exp: Likewise.
1708
1709 2018-04-24  Simon Marchi  <simon.marchi@ericsson.com>
1710
1711         PR gdb/23104
1712         * gdb.base/info-shared.exp: Replace libs=-ldl with shlib_load.
1713
1714 2018-04-19  Richard Bunt  <richard.bunt@arm.com>
1715
1716         * gdb.threads/multiple-successive-infcall.c: New test.
1717         * gdb.threads/multiple-successive-infcall.exp: New file.
1718
1719 2018-04-17  Tom Tromey  <tom@tromey.com>
1720
1721         * gdb.rust/simple.rs (Union): New type.
1722         (main): New local "u".
1723         * gdb.rust/simple.exp (test_one_slice): Add new test case.
1724
1725 2018-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1726
1727         * gdb.base/dbx.exp (test_whereis): Adjust regexp to added line
1728         number information in output of "whereis" command.
1729         * gdb.base/info-fun.exp: Likewise, for "info fun" command.
1730
1731 2018-04-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1732
1733         * gdb.ada/info_types.exp: Adjust expected output to the line
1734         numbers now printed by "info var/func/type".
1735         * gdb.base/completion.exp: Likewise.
1736         * gdb.base/included.exp: Likewise.
1737         * gdb.cp/cp-relocate.exp: Likewise.
1738         * gdb.cp/cplusfuncs.exp: Likewise.
1739         * gdb.cp/namespace.exp: Likewise.
1740         * gdb.dwarf2/dw2-case-insensitive.exp: Likewise.
1741
1742 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1743
1744         * gdb.btrace/cpu.exp: New.
1745
1746 2018-04-13  Markus Metzger  <markus.t.metzger@intel.com>
1747
1748         * gdb.base/step-indirect-call-thunk.exp: New.
1749         * gdb.base/step-indirect-call-thunk.c: New.
1750         * gdb.reverse/step-indirect-call-thunk.exp: New.
1751         * gdb.reverse/step-indirect-call-thunk.c: New.
1752
1753 2018-04-11  Simon Marchi  <simon.marchi@ericsson.com>
1754
1755         * gdb.base/pie-fork.c: New file.
1756         * gdb.base/pie-fork.exp: New file.
1757
1758 2018-04-11  Tom Tromey  <tom@tromey.com>
1759
1760         * gdb.rust/simple.exp: Add test for ".." struct initializer.
1761
1762 2018-04-10  Pedro Alves  <palves@redhat.com>
1763
1764         * gdb.base/fork-running-state.c (fork_child): Don't exit if parent
1765         exits.  Instead loop running forever.
1766         (fork_parent): Run forever too.
1767
1768 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1769
1770         * gdb.mi/mi-stack.exp (test_stack_frame_listing): Use
1771         mi_continue_to_line.
1772         * gdb.mi/mi-stack.c (callee4): Add comment.
1773
1774 2018-04-07  Simon Marchi  <simon.marchi@polymtl.ca>
1775
1776         * gdb.mi/mi-stack.exp: Fix indentation.
1777
1778 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1779
1780         PR gdb/22979
1781         * gdb.arch/amd64-osabi.exp: New file.
1782
1783 2018-04-07  Simon Marchi  <simon.marchi@ericsson.com>
1784
1785         PR gdb/22980
1786         * gdb.base/osabi.exp: New file.
1787
1788 2018-04-02  Weimin Pan  <weimin.pan@oracle.com>
1789
1790         * gdb.cp/static-typedef-print.exp: New file.
1791         * gdb.cp/static-typedef-print.cc: New file.
1792
1793 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1794
1795         * gdb.ada/varsize_limit: New testcase.
1796
1797 2018-03-27  Joel Brobecker  <brobecker@adacore.com>
1798
1799         * gdb.ada/maint_with_ada.exp: Remove PR gdb/22670 setup_kfail.
1800
1801         * gdb.ada/notcplusplus: New testcase.
1802
1803         * gdb.base/c-linkage-name.c: New file.
1804         * gdb.base/c-linkage-name.exp: New testcase.
1805
1806 2018-03-26  Tom Tromey  <tom@tromey.com>
1807
1808         * gdb.python/py-framefilter.exp: Add test for KeyboardInterrupt.
1809         * gdb.python/py-framefilter.py (name_error): New global.
1810         (ErrorInName.function): Use name_error.
1811
1812 2018-03-26  Tom Tromey  <tom@tromey.com>
1813
1814         PR backtrace/15582:
1815         * gdb.python/py-framefilter.exp: Add "bt hide" test.
1816
1817 2018-03-23  Keith Seitz  <keiths@redhat.com>
1818
1819         PR c++/22968
1820         * gdb.cp/subtypes.exp: New file.
1821         * gdb.cp/subtypes.h: New file.
1822         * gdb.cp/subtypes.cc: New file.
1823         * gdb.cp/subtypes-2.cc: New file.
1824
1825 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1826
1827         * gdb.arch/amd64-disp-step-avx.S: Add '_start' label.
1828         (done): Call '_exit' not 'exit' to avoid atexit handlers.
1829         * gdb.arch/amd64-disp-step-avx.exp: Pass -static, and
1830         -nostartfiles when compiling the test.  Confirm that all registers
1831         xmm0 to xmm15 are initially 0, and that xmm1 to xmm15 are 0 after.
1832
1833 2018-03-23  Andrew Burgess  <andrew.burgess@embecosm.com>
1834
1835         * gdb.arch/amd64-disp-step-avx.exp: Remove unneeded assembler flag
1836         option, syntax was wrong anyway.
1837         * gdb.arch/arm-disp-step.exp: Likewise.
1838         * gdb.arch/sparc64-regs.exp: Likewise.
1839         * gdb.arch/amd64-disp-step.exp: Remove unneeded assembler flag
1840         option, syntax was wrong anyway, switch to use
1841         prepare_for_testing.
1842         * gdb.arch/i386-disp-step.exp: Likewise.
1843
1844 2018-03-23  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1845
1846         * gdb.ada/exec_changed.exp: Replace "target_info exists
1847         use_gdb_stub" by "use_gdb_stub".
1848         * gdb.ada/start.exp: Likewise.
1849         * gdb.base/async-shell.exp: Likewise.
1850         * gdb.base/attach-pie-misread.exp: Likewise.
1851         * gdb.base/attach-wait-input.exp: Likewise.
1852         * gdb.base/break-entry.exp: Likewise.
1853         * gdb.base/break-interp.exp: Likewise.
1854         * gdb.base/dprintf-detach.exp: Likewise.
1855         * gdb.base/nostdlib.exp: Likewise.
1856         * gdb.base/solib-nodir.exp: Likewise.
1857         * gdb.base/statistics.exp: Likewise.
1858         * gdb.base/testenv.exp: Likewise.
1859         * gdb.mi/mi-exec-run.exp: Likewise.
1860         * gdb.mi/mi-start.exp: Likewise.
1861         * gdb.multi/dummy-frame-restore.exp: Likewise.
1862         * gdb.multi/multi-arch-exec.exp: Likewise.
1863         * gdb.multi/multi-arch.exp: Likewise.
1864         * gdb.multi/tids.exp: Likewise.
1865         * gdb.multi/watchpoint-multi.exp: Likewise.
1866         * gdb.python/py-events.exp: Likewise.
1867         * gdb.threads/attach-into-signal.exp: Likewise.
1868         * gdb.threads/attach-stopped.exp: Likewise.
1869         * gdb.threads/threadapply.exp: Likewise.
1870         * lib/selftest-support.exp: Likewise.
1871
1872 2018-03-22  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1873
1874         * gdb.base/info-proc.exp: Add test for "info proc cmdline".
1875
1876 2018-03-20  Stephen Roberts  <stephen.roberts@arm.com>
1877
1878         * gdb.perf/template-breakpoints.cc: New file.
1879         * gdb.perf/template-breakpoints.exp: New file.
1880         * gdb.perf/template-breakpoints.py: New file.
1881
1882 2018-03-19  Tom Tromey  <tom@tromey.com>
1883
1884         * gdb.rust/simple.rs (main): Add local variables field1, field2,
1885         y0.
1886         * gdb.rust/simple.exp: Test bare identifier form of struct
1887         initializer.
1888
1889 2018-03-19  Tom Tromey  <tom@tromey.com>
1890
1891         * gdb.gdb/observer.exp: Remove.
1892
1893 2018-03-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1894
1895         * gdb.trace/actions-changed.exp: Call gdb_breakpoint with the
1896         "qualified" option when setting breakpoints.
1897         * gdb.trace/backtrace.exp: Likewise.
1898         * gdb.trace/circ.exp: Likewise.
1899         * gdb.trace/collection.exp: Likewise.
1900         * gdb.trace/disconnected-tracing.exp: Likewise.
1901         * gdb.trace/ftrace-lock.exp: Likewise.
1902         * gdb.trace/ftrace.exp: Likewise.
1903         * gdb.trace/infotrace.exp: Likewise.
1904         * gdb.trace/packetlen.exp: Likewise.
1905         * gdb.trace/passc-dyn.exp: Likewise.
1906         * gdb.trace/qtro.exp: Likewise.
1907         * gdb.trace/read-memory.exp: Likewise.
1908         * gdb.trace/report.exp: Likewise.
1909         * gdb.trace/signal.exp: Likewise.
1910         * gdb.trace/status-stop.exp: Likewise.
1911         * gdb.trace/strace.exp: Likewise.
1912         * gdb.trace/tfind.exp: Likewise.
1913         * gdb.trace/trace-break.exp: Likewise.
1914         * gdb.trace/trace-condition.exp: Likewise.
1915         * gdb.trace/trace-mt.exp: Likewise.
1916         * gdb.trace/tstatus.exp: Likewise.
1917         * gdb.trace/tsv.exp: Likewise.
1918         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
1919         * gdb.trace/unavailable.exp: Likewise.
1920         * gdb.trace/while-dyn.exp: Likewise.
1921
1922 2018-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1923
1924         * gdb.trace/tspeed.exp: Add invocation of gdb_load_shlib to ensure
1925         that libinproctrace is copied to the target.
1926
1927 2018-03-14  Tom Tromey  <tom@tromey.com>
1928
1929         PR cli/14977:
1930         * gdb.base/printcmds.exp (test_printf): Add printf test of %s with
1931         a null pointer.
1932         * gdb.base/wchar.exp: Likewise.
1933
1934 2018-03-14  Tom Tromey  <tom@tromey.com>
1935
1936         PR cli/19918:
1937         * gdb.base/printcmds.exp (test_printf): Add printf test using '-'
1938         flag.
1939
1940 2018-03-08  Simon Marchi  <simon.marchi@ericsson.com>
1941
1942         PR gdb/22841
1943         * boards/remote-stdio-gdbserver.exp (${board}_file): Pass
1944         "target" to remote_exec.
1945
1946 2018-03-08  Simon Marchi  <simon.marchi@polymtl.ca>
1947
1948         PR gdb/22841
1949         * boards/gdbserver-base.exp (${board}_file, ${board}_download,
1950         ${board}_upload): Remove.
1951
1952 2018-03-07  Andreas Arnez  <arnez@linux.vnet.ibm.com>
1953
1954         * gdb.cp/watch-cp.cc: New test.
1955         * gdb.cp/watch-cp.exp: New file.
1956
1957 2018-03-06  Andrew Burgess  <andrew.burgess@embecosm.com>
1958
1959         * gdb.base/infcall-nested-structs.exp: New file.
1960         * gdb.base/infcall-nested-structs.c: New file.
1961         * gdb.base/float.exp: Add riscv support.
1962
1963 2018-03-02  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1964
1965         * gdb.dlang/watch-loc.c: Use %progbits instead of @progbits.
1966         * gdb.mi/dw2-ref-missing-frame-func.c: Likewise.
1967
1968 2018-02-28  Sergio Durigan Junior  <sergiodj@redhat.com>
1969
1970         * gdb.server/abspath.exp: New file.
1971         * lib/gdb.exp (with_cwd): New procedure.
1972
1973 2018-02-28  Simon Marchi  <simon.marchi@ericsson.com>
1974
1975         * lib/gdb.exp (gdb_is_target_1): Add prompt_regexp parameter and
1976         use it.
1977         (gdb_is_target_remote_prompt): New proc.
1978         (gdb_is_target_remote): Use gdb_is_target_remote_prompt.
1979         (gdb_is_target_native): Pass prompt parameter to
1980         gdb_is_target_1.
1981
1982 2018-02-26  Simon Marchi  <simon.marchi@polymtl.ca>
1983
1984         * gdb.base/load-command.c: New file.
1985         * gdb.base/load-command.exp: New file.
1986         * lib/gdb.exp (gdb_is_target_remote_prompt): Rename to...
1987         (gdb_is_target_1): ...this, and generalize for other targets
1988         than just remote.
1989         (gdb_is_target_remote): Use gdb_is_target_1.
1990         (gdb_is_target_native): use gdb_is_target_1.
1991
1992 2018-02-26  Tom Tromey  <tom@tromey.com>
1993
1994         PR python/16497:
1995         * gdb.python/py-framefilter.exp: Update test.
1996
1997 2018-02-26  Tom Tromey  <tom@tromey.com>
1998
1999         * gdb.dwarf2/variant.c: New file.
2000         * gdb.dwarf2/variant.exp: New file.
2001
2002 2018-02-26  Tom Tromey  <tom@tromey.com>
2003
2004         * gdb.rust/simple.exp: Accept more possible results in enum test.
2005
2006 2018-02-25  Simon Marchi  <simon.marchi@polymtl.ca>
2007
2008         * lib/cp-support.exp (cp_test_ptype_class): Move space inside
2009         parentheses.
2010
2011 2018-02-23  Maciej W. Rozycki  <macro@mips.com>
2012
2013         * lib/cp-support.exp (cp_test_ptype_class): Fix a typo in the
2014         name of a variable: $actual_linejj -> $actual_line.
2015
2016 2018-02-21  John Baldwin  <jhb@FreeBSD.org>
2017
2018         * gdb.arch/amd64-i386-address.exp: Fix a typo.
2019
2020 2018-02-20  Markus Metzger  <markus.t.metzger@intel.com>
2021
2022         * gdb.btrace/buffer-size.exp: Do not force BTS.
2023
2024 2018-02-14  Pedro Alves  <palves@redhat.com>
2025
2026         * gdb.base/bp-cmds-continue-ctrl-c.exp (do_test): Test "bt" after
2027         getting a "Quit".
2028
2029 2018-02-09  Markus Metzger  <markus.t.metzger@intel.com>
2030
2031         * lib/gdb.exp (skip_btrace_pt_tests): Update expected error message.
2032         Fix test name.
2033
2034 2018-02-07  Simon Marchi  <simon.marchi@ericsson.com>
2035
2036         * gdb.cp/m-static.exp: Check type of optimized out static
2037         member.
2038
2039 2018-02-03  Andrew Burgess  <andrew.burgess@embecosm.com>
2040
2041         * config/sid.exp (gdb_target_sid): Remove use of cleanup.
2042         * config/sim.exp (gdb_target_sim): Remove use of cleanup.
2043
2044 2018-02-01  Simon Marchi  <simon.marchi@polymtl.ca>
2045             Leszek Swirski  <leszeks@google.com>
2046
2047         * gdb.python/py-prettyprint.c
2048         (struct to_string_returns_value_inner,
2049         struct to_string_returns_value_wrapper): New.
2050         (main): Add tsrvw variable.
2051         * gdb.python/py-prettyprint.py (ToStringReturnsValueInner,
2052         ToStringReturnsValueWrapper): New classes.
2053         (register_pretty_printers): Register new pretty-printers.
2054         * gdb.python/py-prettyprint.exp (run_lang_tests): Test printing
2055         recursive pretty printer.
2056         * gdb.python/py-mi.exp: Likewise.
2057
2058 2018-02-01  Leszek Swirski  <leszeks@google.com>
2059
2060         * gdb.cp/filename.cc, gdb.cp/filename.exp: Test that member
2061         functions with the same name as an include file are parsed
2062         correctly.
2063
2064 2018-02-01  Yao Qi  <yao.qi@linaro.org>
2065
2066         * gdb.base/attach.exp (do_attach_tests): Set sysroot to
2067         "\[^\r\n\]*".
2068
2069 2018-01-31  Nikola Prica  <nikola.prica@rt-rk.com>
2070
2071         * gdb.arch/powerpc-prologue-frame.s: New file.
2072         * gdb.arch/powerpc-prologue-frame.c: Likewise.
2073         * gdb.arch/powerpc-prologue-frame.exp: Likewise.
2074
2075 2018-01-31  Joel Brobecker  <brobecker@adacore.com>
2076
2077         * testsuite/gdb.ada/dyn_stride.exp: Add "print a1(1)@3" test.
2078
2079 2018-01-30  Pedro Alves  <palves@redhat.com>
2080
2081         PR gdb/13211
2082         * gdb.base/interrupt-daemon.c: New.
2083         * gdb.base/interrupt-daemon.exp: New.
2084         * gdb.multi/multi-term-settings.c: New.
2085         * gdb.multi/multi-term-settings.exp: New.
2086
2087 2018-01-30  Joel Brobecker  <brobecker@adacore.com>
2088
2089         * gdb.base/break.exp: Save the location where the breakpoint
2090         on break.c:47 was actually inserted when debugging the version
2091         compiled at -O2 and use it in the expected output of the "info
2092         break" test performed soon after.
2093
2094 2018-01-22  Pedro Alves  <palves@redhat.com>
2095             Sergio Durigan Junior  <sergiodj@redhat.com>
2096
2097         * gdb.base/whatis.exp: Add tests for 'set print object on' +
2098         'whatis <struct>' 'whatis <struct> *' and 'whatis <struct> &'.
2099
2100 2018-01-22  Joel Brobecker  <brobecker@adacore.com>
2101
2102         * gdb.base/break-include.c, gdb.base/break-include.inc,
2103         gdb.base/break-include.exp: New files.
2104         * gdb.base/ending-run.exp: Minor adaptations due to the breakpoint's
2105         line number now being the actual line number where the breakpoint
2106         was inserted.
2107         * gdb.mi/mi-break.exp: Likewise.
2108         * gdb.mi/mi-reverse.exp: Likewise.
2109         * gdb.mi/mi-simplerun.exp: Ditto.
2110
2111 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
2112
2113         * gdb.python/py-mi.exp: Don't expect a thread-id for floating
2114         varobj.
2115         * gdb.mi/mi-var-create-rtti.exp: Likewise.
2116
2117 2018-01-21  Don Breazeal  <donb@codesourcery.com>
2118             Andrew Burgess  <andrew.burgess@embecosm.com>
2119
2120         * gdb.mi/basics.c: Add new global.
2121         * gdb.mi/mi-frame-regs.exp: New file.
2122         * gdb.mi/mi-var-create-rtti.exp: Update expected results, add new
2123         case.
2124
2125 2018-01-21  Andrew Burgess  <andrew.burgess@embecosm.com>
2126
2127         * gdb.arch/amd64-entry-value.exp: Test using @entry on a
2128         non-parameter, and on an unknown symbol.
2129
2130 2018-01-19  Tom Tromey  <tom@tromey.com>
2131
2132         * gdb.rust/modules.rs (TWENTY_THREE): New global.
2133         * gdb.rust/modules.exp: Add ::-qualified lookup test.
2134
2135 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2136
2137         * gdb.arch/s390-vregs.exp: Explicitly cast the return values of
2138         setrlimit and chdir to int.
2139
2140 2018-01-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2141
2142         * gdb.arch/s390-tdbregs.c (my_tbegin): Add comment documenting the
2143         function.
2144         (my_tend): Likewise.
2145         * gdb.arch/s390-tdbregs.exp: Enhance comment; explain the
2146         rationale of avoiding FP- and vector instructions.
2147
2148 2018-01-19  Ruslan Kabatsayev  <b7.10110111@gmail.com>
2149
2150         * gdb.arch/powerpc-d128-regs.exp: Replace expected "\[\t\]*" from
2151         "info reg" with "\[ \t\]*".
2152         * gdb.arch/altivec-regs.exp: Replace expected "\t" from "info reg" with
2153         "\[ \t\]+".
2154         * gdb.arch/s390-multiarch.exp: Ditto.
2155         * gdb.base/pc-fp.exp: Ditto.
2156         * gdb.reverse/i386-precsave.exp: Ditto.
2157         * gdb.reverse/i386-reverse.exp: Ditto.
2158         * gdb.reverse/i387-env-reverse.exp: Ditto.
2159         * gdb.reverse/i387-stack-reverse.exp: Ditto.
2160
2161 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2162
2163         * lib/gdb.exp (gdb_compile): Re-enable use of
2164         universal_compile_options for languages other than Rust.
2165
2166 2018-01-18  Andreas Arnez  <arnez@linux.vnet.ibm.com>
2167
2168         * gdb.arch/s390-tdbregs.exp: Add the compile option -msoft-float.
2169
2170 2018-01-17  Mike Gulick  <mgulick@mathworks.com>
2171
2172         PR gdb/16577
2173         * gdb.base/solib-vanish.exp: New.
2174         * gdb.base/solib-vanish-main.c: New.
2175         * gdb.base/solib-vanish-lib1.c: New.
2176         * gdb.base/solib-vanish-lib2.c: New.
2177
2178 2018-01-17  Yao Qi  <yao.qi@linaro.org>
2179
2180         * gdb.compile/compile.exp: Match the address printed for
2181         frame in the output of command "bt".
2182
2183 2018-01-15  Tom Tromey  <tom@tromey.com>
2184
2185         * gdb.guile/scm-ports.exp (test_mem_port_rw): Use get_valueof to
2186         compute sp_reg.
2187
2188 2018-01-12  Andrew Burgess  <andrew.burgess@embecosm.com>
2189
2190         * gdb.base/whatis-ptype-typedefs.exp: Don't run tests if we failed
2191         to prepare.
2192         (prepare): Return 0 on error, 1 on success.
2193
2194 2018-01-12  Pedro Alves  <palves@redhat.com>
2195
2196         * gdb.base/continue-after-aborted-step-over.c: New.
2197         * gdb.base/continue-after-aborted-step-over.exp: New.
2198
2199 2018-01-11  Simon Marchi  <simon.marchi@ericsson.com>
2200
2201         * lib/gdb.exp (gdb_compile): Ignore shlib= and shlib_load
2202         options when not creating an executable.
2203
2204 2018-01-11  Pedro Alves  <palves@redhat.com>
2205
2206         PR remote/22597
2207         * gdb.server/stop-reply-no-thread.c: New file.
2208         * gdb.server/stop-reply-no-thread.exp: New file.
2209
2210 2018-01-10  Pedro Alves  <palves@redhat.com>
2211
2212         PR gdb/22670
2213         * gdb.ada/bp_c_mixed_case.exp: Add intro comment.  Test printing C
2214         functions too.  Test setting breakpoints and printing C functions
2215         with no debug info too.
2216         * gdb.ada/bp_c_mixed_case/qux.c: New file.
2217
2218 2018-01-10  Pedro Alves  <palves@redhat.com>
2219
2220         PR gdb/22670
2221         * gdb.ada/complete.exp ("complete break ada"): Replace kfail with
2222         a fail.
2223
2224 2018-01-10  Pedro Alves  <palves@redhat.com>
2225
2226         PR gdb/22670
2227         * gdb.ada/bp_c_mixed_case.exp: Remove setup_kfail calls.
2228
2229 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
2230
2231         * gdb.server/unittest.exp: Match the output in non-development
2232         mode.
2233
2234 2018-01-08  Simon Marchi  <simon.marchi@ericsson.com>
2235
2236         * gdb.gdb/unittest.exp: Match output in non-development mode.
2237
2238 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
2239
2240         * gdb.ada/access_tagged_param.exp: Relax expected output
2241         for value of "ObjL" in "continue" to pck.inspect breakpoint
2242         test.
2243
2244 2018-01-08  Joel Brobecker  <brobecker@adacore.com>
2245
2246         * gdb.ada/arr_enum_idx_w_gap.exp: New file.
2247         * gdb.ada/arr_enum_idx_w_gap/foo_q418_043.adb: New file.
2248
2249 2018-01-05  Pedro Alves  <palves@redhat.com>
2250
2251         PR gdb/18653
2252         * gdb.base/libsegfault.exp: New.
2253
2254 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2255
2256         PR gdb/22670
2257         * gdb.ada/access_tagged_param.exp: New file.
2258         * gdb.ada/access_tagged_param/foo.adb: New file.
2259
2260 2018-01-05  Pedro Alves  <palves@redhat.com>
2261
2262         PR gdb/22670
2263         * gdb.ada/info_addr_mixed_case.exp: Remove kfail.  Extend test to
2264         exercise lower case too, and to exercise both full matching and
2265         wild matching.
2266
2267 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2268
2269         * gdb.ada/rename_subscript_param: New testcase.
2270
2271 2018-01-05  Jerome Guitton  <guitton@adacore.com>
2272
2273         * gdb.ada/arr_acc_idx_w_gap: New testcase.
2274
2275 2018-01-05  Joel Brobecker  <brobecker@adacore.com>
2276
2277         * gdb.ada/convvar_comp: New testcase.
2278
2279 2018-01-05  Xavier Roirand  <roirand@adacore.com>
2280
2281         * testsuite/gdb.ada/array_char_idx/pck.ads (Table): New type.
2282         (My_Table): New global variable.
2283         * testsuite/gdb.ada/array_char_idx.exp: Add test.
2284
2285 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2286
2287         PR gdb/22670
2288         * gdb.ada/maint_with_ada: New testcase.
2289
2290 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2291
2292         PR gdb/22670
2293         * gdb.ada/bp_c_mixed_case: New testcase.
2294
2295 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2296
2297         PR gdb/22670
2298         * gdb.ada/complete.exp: Add "complete break ada" test.
2299
2300 2018-01-04  Joel Brobecker  <brobecker@adacore.com>
2301
2302         PR gdb/22670
2303         * gdb.ada/info_addr_mixed_case: New testcase.
2304
2305 2018-01-03  Xavier Roirand  <roirand@adacore.com>
2306
2307         * gdb.ada/excep_handle.exp: New testcase.
2308         * gdb.ada/excep_handle/foo.adb: New file.
2309         * gdb.ada/excep_handle/pck.ads: New file.
2310
2311 2018-01-03  Joel Brobecker  <brobecker@adacore.com>
2312
2313         * gdb.base/step-line.c: Add extra empty line in copyright header.
2314         * gdb.base/step-line.inp: Likewise.
2315
2316 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
2317
2318         * gdb.ada/dyn_stride.exp: Add slice test.
2319
2320 2018-01-02  Joel Brobecker  <brobecker@adacore.com>
2321
2322         * gdb.ada/dyn_stride: New testcase.
2323
2324 2017-12-27  Stafford Horne  <shorne@gmail.com>
2325
2326         * gdb.xml/extra-regs.xml: Add example foo reggroup.
2327         * gdb.xml/tdesc-regs.exp: Add test to check for foo reggroup.
2328
2329 2017-12-27  Stafford Horne  <shorne@gmail.com>
2330
2331         * gdb.base/reggroups.c: New file.
2332         * gdb.base/reggroups.exp: New file.
2333
2334 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
2335
2336         * gdb.dwarf2/ada-valprint-error.c: New file.
2337         * gdb.dwarf2/ada-valprint-error.exp: New file.
2338
2339 2017-12-18  Joel Brobecker  <brobecker@adacore.com>
2340
2341         * gdb.ada/assign_arr: New testcase.
2342
2343 2017-12-18  Xavier Roirand  <roirand@adacore.com>
2344
2345         * gdb.ada/funcall_ptr: New testcase.
2346
2347 2017-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
2348
2349         PR cli/16224
2350         * gdb.base/ptype-offsets.cc: New file.
2351         * gdb.base/ptype-offsets.exp: New file.
2352
2353 2017-12-15  Yao Qi  <yao.qi@linaro.org>
2354
2355         * gdb.gdb/unittest.exp: Skip 'maintenance check xml-descriptions'
2356         if XML is disabled.
2357
2358 2017-12-15  Xavier Roirand  <roirand@adacore.com>
2359
2360         * gdb.ada/same_component_name: New testcase.
2361
2362 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
2363
2364         * gdb.ada/str_binop_equal: New testcase.
2365
2366 2017-12-14  Joel Brobecker  <brobecker@adacore.com>
2367
2368         * gdb.ada/task_switch_in_core: New testcase.
2369
2370 2017-12-13  Simon Marchi  <simon.marchi@ericsson.com>
2371
2372         * gdb.python/py-breakpoint.c (foo_ns::multiply): New function.
2373         * gdb.python/py-breakpoint.exp: Compile the test case as c++,
2374         call test_bkpt_qualified.
2375         (test_bkpt_qualified): New proc.
2376
2377 2017-12-13  Pedro Alves  <palves@redhat.com>
2378
2379         * lib/completion-support.exp (test_gdb_complete_tab_multiple):
2380         Tighten regexp by matching with an anchor.
2381
2382 2017-12-13  Pedro Alves  <palves@redhat.com>
2383
2384         * gdb.cp/cpcompletion.exp: Load completion-support.exp.
2385         ("expression with namespace"): New set of tests.
2386         * gdb.cp/pr9594.cc (Test_NS::foo, Test_NS::bar)
2387         (Nested::Test_NS::qux): New.
2388         * lib/completion-support.exp (test_gdb_complete_cmd_multiple): Add
2389         defaults to 'start_quote_char' and 'end_quote_char' parameters.
2390
2391 2017-12-13  Joel Brobecker  <brobecker@adacore.com>
2392
2393         * gdb.base/server-del-break.c: New file.
2394         * gdb.base/server-del-break.exp: New file.
2395
2396 2017-12-12  Stafford Horne  <shorne@gmail.com>
2397
2398         * gdb.xml/tdesc-regs.exp: Add or1k support.
2399
2400 2017-12-12  Stafford Horne  <shorne@gmail.com>
2401
2402         * gdb.base/bp-permanent.c: Define nop of or1k.
2403
2404 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2405
2406         * gdb.ada/variant_record_packed_array.exp: Adapt test to accept
2407         output with components being reordered.
2408
2409 2017-12-11  Joel Brobecker  <brobecker@adacore.com>
2410
2411         * gdb.ada/pkd_arr_elem.exp: Adapt "print test" test to accept
2412         output with components being reordered.
2413
2414 2017-12-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
2415             Pedro Alves  <palves@redhat.com>
2416
2417         * gdb.base/maint.exp (check for .gdb_index): Check also for
2418         .debug_names.
2419         * gdb.dlang/watch-loc.c (.debug_aranges): New.
2420         * gdb.dwarf2/dw2-case-insensitive-debug.S: Likewise.
2421         * gdb.dwarf2/gdb-index.exp (check if index present, .gdb_index used)
2422         (.gdb_index used after symbol reloading): Support also .debug_names.
2423         * gdb.mi/dw2-ref-missing-frame-func.c (.debug_aranges): New.
2424
2425 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2426
2427         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2428         * gdb.arch/aarch64-tagged-pointer.exp: Add tests for watchpoint.
2429
2430 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2431
2432         * gdb.arch/aarch64-tagged-pointer.c (main): Update.
2433         * gdb.arch/aarch64-tagged-pointer.exp: Add test for breakpoint.
2434
2435 2017-12-08  Yao Qi  <yao.qi@linaro.org>
2436
2437         * gdb.arch/aarch64-tagged-pointer.c: New file.
2438         * gdb.arch/aarch64-tagged-pointer.exp: New file.
2439
2440 2017-12-08  Sergio Durigan Junior  <sergiodj@redhat.com>
2441
2442         * gdb.arch/i386-sse-stack-align.exp: Cast "print" function call
2443         "int".
2444
2445 2017-12-07  Keith Seitz  <keiths@redhat.com>
2446
2447         PR breakpoints/22569
2448         * gdb.linespec/ls-errs.exp: Change expected result of "break
2449         -source this file has spaces.c -line 3".
2450         Check that an explicit source file followed by whitespace is
2451         identified as an invalid explicit location.
2452
2453 2017-12-07  Keith Seitz  <keiths@redhat.com>
2454
2455         * gdb.cp/nested-types.cc: New file.
2456         * gdb.cp/nested-types.exp: New file.
2457         * lib/cp-support.exp: Load data-structures.exp library.
2458         (debug_cp_test_ptype_class): New global.
2459         (cp_ptype_class_verbose, next_line): New procedures.
2460         (cp_test_ptype_class): Add and document new parameter `recursive_qid'.
2461         Add and document new return value.
2462         Switch the list of lines to a queue.
2463         Add support for new `type' key for nested type definitions.
2464         Add debugging/troubleshooting messages.
2465         * lib/data-structures.exp: New file.
2466
2467 2017-12-07  Simon Marchi  <simon.marchi@ericsson.com>
2468
2469         * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Define
2470         with proc_with_prefix, don't use with_test_prefix.
2471
2472 2017-12-07  Tom Tromey  <tom@tromey.com>
2473
2474         * gdb.base/break.exp: Add test for empty "commands".
2475
2476 2017-12-07  Yao Qi  <yao.qi@linaro.org>
2477
2478         * gdb.trace/ftrace.exp (run_trace_experiment): Set breakpoint on
2479         malloc and catch syscall.
2480
2481 2017-12-07  Phil Muldoon  <pmuldoon@redhat.com>
2482
2483        * gdb.python/py-breakpoint.exp (test_bkpt_explicit_loc): Add new
2484         tests for explicit locations.
2485
2486 2017-12-06  Pedro Alves  <palves@redhat.com>
2487
2488         * gdb.arch/i386-avx.exp: If testing with a RSP target, check
2489         force-disabling XML descriptions.
2490
2491 2017-12-04  Pedro Alves  <palves@redhat.com>
2492
2493         PR gdb/22499
2494         * gdb.arch/amd64-disp-step-avx.S: New file.
2495         * gdb.arch/amd64-disp-step-avx.exp: New file.
2496
2497 2017-12-03  Pedro Alves  <palves@redhat.com>
2498
2499         * gdb.threads/process-dies-while-detaching.c: Include <errno.h>
2500         and <string.h>.
2501         (parent_function): Print distinct messages when waitpid fails, or
2502         the child exits with a signal, or the child exits for an unhandled
2503         reason.
2504         * gdb.threads/process-dies-while-detaching.exp
2505         (detach_and_expect_exit): New 'inf_output_re' parameter and use
2506         it.  Wait for both inferior output and GDB's prompt.  Use an
2507         indirect spawn id list.
2508         (do_detach): New parameter 'child_exit'.  Use it to compute
2509         expected inferior output.
2510         (test_detach, test_detach_watch, test_detach_killed_outside):
2511         Adjust to pass down the expected child exit kind.
2512
2513 2017-12-01  Joel Brobecker  <brobecker@adacore.com>
2514             Sergio Durigan Junior  <sergiodj@redhat.com>
2515             Pedro Alves  <palves@redhat.com>
2516
2517         * gdb.base/readnever.c, gdb.base/readnever.exp: New files.
2518
2519 2017-12-01  Sergio Durigan Junior  <sergiodj@redhat.com>
2520
2521         * gdb.base/relocate.exp: Add tests to guarantee that arguments
2522         to 'symbol-file' and 'add-symbol-file' can be
2523         position-independent.
2524
2525 2017-12-01  Yao Qi  <yao.qi@linaro.org>
2526
2527         * gdb.arch/aarch64-atomic-inst.exp: Replace mail address with
2528         the URL in copyright header.
2529         * gdb.arch/aarch64-fp.exp: Likewise.
2530         * gdb.arch/ppc64-atomic-inst.exp: Likewise.
2531         * gdb.arch/ppc64-isa207-atomic-inst.exp: Likewise.
2532         * gdb.base/expand-psymtabs.exp: Likewise.
2533         * gdb.cp/expand-psymtabs-cxx.exp: Likewise.
2534         * gdb.fortran/common-block.exp: Likewise.
2535         * gdb.fortran/common-block.f90: Likewise.
2536         * gdb.fortran/logical.exp: Likewise.
2537         * gdb.fortran/vla-datatypes.f90: Likewise.
2538         * gdb.fortran/vla-sub.f90: Likewise.
2539
2540 2017-11-30  Joel Brobecker  <brobecker@adacore.com>
2541
2542         * gdb.ada/repeat_dyn: New testcase.
2543
2544 2017-11-30  Ulrich Weigand  <uweigand@de.ibm.com>
2545
2546         * gdb.cell/gcore.exp: Fix typo when setting spu_bin.
2547         Update for changed thread numbering.
2548         * gdb.cell/bt.exp: Update for changed GDB output.
2549
2550 2017-11-30  Simon Marchi  <simon.marchi@ericsson.com>
2551
2552         * boards/cc-with-tweaks.exp: Include local-board.exp instead of
2553         setting isremote by hand.
2554         * boards/dwarf4-gdb-index.exp: Likewise.
2555         * boards/fission.exp: Likewise.
2556         * boards/stabs.exp: Likewise.
2557
2558 2017-11-30  Pedro Alves  <palves@redhat.com>
2559
2560         * gdb.linespec/cpls-ops.exp
2561         (check_explicit_skips_function_argument): Extract the underlying
2562         type of size_t instead of hardcoding it.
2563
2564 2017-11-29  Pedro Alves  <palves@redhat.com>
2565
2566         PR c++/19436
2567         * gdb.linespec/cpls-abi-tag.cc: New file.
2568         * gdb.linespec/cpls-abi-tag.exp: New file.
2569
2570 2017-11-29  Pedro Alves  <palves@redhat.com>
2571
2572         * gdb.base/langs.exp: Use -qualified.
2573         * gdb.cp/meth-typedefs.exp: Use -qualified, and add tests without
2574         it.
2575         * gdb.cp/namespace.exp: Use -qualified.
2576         * gdb.linespec/cpcompletion.exp (overload-2, fqn, fqn-2)
2577         (overload-3, template-overload, template-ret-type, const-overload)
2578         (const-overload-quoted, anon-ns, ambiguous-prefix): New
2579         procedures.
2580         (test_driver): Call them.
2581         * gdb.cp/save-bp-qualified.cc: New.
2582         * gdb.cp/save-bp-qualified.exp: New.
2583         * gdb.linespec/explicit.exp: Test -qualified.
2584         * lib/completion-support.exp (completion::explicit_opts_list): Add
2585         "-qualified".
2586         * lib/gdb.exp (gdb_breakpoint): Handle "qualified".
2587
2588 2017-11-29  Phil Muldoon  <pmuldoon@redhat.com>
2589
2590         * gdb.python/py-rbreak.exp: Set nosharedlibrary before tests.
2591
2592 2017-11-29  Tom Tromey  <tom@tromey.com>
2593
2594         * gdb.base/relocate.exp: Update invalid argument test.
2595         Add new tests for invalid arguments.
2596
2597 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2598
2599         * gdb.cp/psymtab-parameter.cc (func): Change return type back to long.
2600         Return 0 as a long.
2601         * gdb.cp/psymtab-parameter.exp: Change func's return type back to long.
2602
2603 2017-11-29  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2604
2605         * gdb.cp/breakpoint.cc (bar): Set return type to void.
2606         * gdb.cp/psymtab-parameter.cc (func): Likewise.
2607         * gdb.cp/psymtab-parameter.exp: Update comment regarding prototype of
2608         func ().
2609         * gdb.cp/shadow.cc (B.func): Return 0.
2610
2611 2017-11-27  Joel Brobecker  <brobecker@adacore.com>
2612
2613         * gdb.ada/mi_catch_ex.exp (continue_to_exception): Adjust
2614         expected output in gdb_expect call to allow the exception
2615         message to be present as well.  Fix syntax confusion to avoid
2616         TCL thinking that exception_name is an array.
2617
2618 2017-11-26  Ulrich Weigand  <uweigand@de.ibm.com>
2619
2620         * gdb.arch/spu-info.c: Include <unistd.h>.
2621         (do_signal_test): Fix broken calls to write.
2622         * gdb.arch/spu-info.exp: Use prepare_for_testing.
2623         Fix checks for empty mailboxes.  Update signal tests for corrected
2624         do_signal_test routine.  Allow nonzero event status.
2625         * gdb.arch/spu-ls.exp: Use prepare_for_testing.
2626         * gdb.cell/arch.exp: Use standard_output_file.
2627         * gdb.cell/break.exp: Likewise.
2628         * gdb.cell/bt.exp: Likewise.
2629         * gdb.cell/core.exp: Likewise.
2630         * gdb.cell/dwarfaddr.exp: Likewise.
2631         * gdb.cell/ea-cache.exp: Likewise.
2632         * gdb.cell/ea-standalone.exp: Likewise.
2633         * gdb.cell/f-regs.exp: Likewise.
2634         * gdb.cell/fork.exp: Likewise.
2635         * gdb.cell/gcore.exp: Likewise.
2636         * gdb.cell/mem-access.exp: Likewise.
2637         * gdb.cell/ptype.exp: Likewise.
2638         * gdb.cell/registers.exp: Likewise.
2639         * gdb.cell/sizeof.exp: Likewise.
2640         * gdb.cell/solib-symbol.exp: Likewise.
2641         * gdb.cell/solib.exp: Likewise.
2642
2643 2017-11-25   Pedro Alves  <palves@redhat.com>
2644
2645         * gdb.base/complete-empty.exp: New file.
2646         * gdb.base/completion.exp: Adjust.
2647
2648 2017-11-25  Pedro Alves  <palves@redhat.com>
2649
2650         * gdb.linespec/cpls-ops.cc: New file.
2651         * gdb.linespec/cpls-ops.exp: New file.
2652         * lib/completion-support.exp (test_complete_prefix_range_re): New,
2653         factored out from ...
2654         (test_complete_prefix_range): ... this.
2655
2656 2017-11-24  Pedro Alves  <palves@redhat.com>
2657
2658         * gdb.linespec/cpcompletion.exp: New file.
2659         * gdb.linespec/cpls-hyphen.cc: New file.
2660         * gdb.linespec/cpls.cc: New file.
2661         * gdb.linespec/cpls2.cc: New file.
2662         * gdb.linespec/explicit.exp: Load completion-support.exp.  Adjust
2663         test to use test_gdb_complete_unique.  Add label completion,
2664         keyword completion and explicit location completion tests.
2665         * lib/completion-support.exp: New file.
2666
2667 2017-11-24  Joel Brobecker  <brobecker@adacore.com>
2668
2669         * gdb.ada/catch_ex.exp, gdb.ada/mi_catch_ex.exp,
2670         gdb.ada/mi_ex_cond.exp: Accept optional exception message in
2671         when hitting an exception catchpoint.
2672
2673 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2674
2675         * gdb.base/macscp.exp: Append -g3 to additional_flags for clang.
2676
2677 2017-11-22  Simon Marchi  <simon.marchi@ericsson.com>
2678
2679         * gdb.opt/inline-locals.exp: Mark tests as KFAIL.
2680         * gdb.dwarf2/info-locals-optimized-out.exp: New file.
2681         * gdb.dwarf2/info-locals-optimized-out.c: New file.
2682
2683 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2684
2685         * gdb.base/info-os.exp: Pass pthreads.
2686         * gdb.multi/multi-attach.exp: Likewise.
2687
2688 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2689
2690         * gdb.dwarf2/pr10770.exp: Remove code skipping non-gcc
2691         compiler.
2692
2693 2017-11-22  Yao Qi  <yao.qi@linaro.org>
2694
2695         * gdb.base/attach-pie-noexec.exp: Pass "-pie" in ldflags.
2696         * gdb.base/break-interp.exp: Likewise.
2697         * gdb.base/jit-attach-pie.exp: Likewise.
2698
2699 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2700
2701         * gdb.base/float128.c (large128): New variable.
2702         * gdb.base/float128.exp: Add test to print largest __float128 value.
2703
2704 2017-11-22  Ulrich Weigand  <uweigand@de.ibm.com>
2705
2706         * gdb.arch/vsx-regs.exp: Update register content checks.
2707
2708 2017-11-21  Ulrich Weigand  <uweigand@de.ibm.com>
2709
2710         * gdb.arch/ppc-longdouble.exp: New file.
2711         * gdb.arch/ppc-longdouble.c: Likewise.
2712
2713 2017-11-21  Pedro Alves  <palves@redhat.com>
2714
2715         * gdb.ada/minsyms.exp: Accept any address for 'some_minsym'.
2716
2717 2017-11-20  Pedro Alves  <palves@redhat.com>
2718
2719         * gdb.base/whatis-ptype-typedefs.c (double_typedef)
2720         (long_double_typedef): New typedefs.
2721         Use DEF on double and long double.
2722         * gdb.base/whatis-ptype-typedefs.exp: Add double and long double
2723         cases.
2724         (run_tests): New 'float_ptr_same_size', 'double_ptr_same_size',
2725         and 'long_double_ptr_same_size' locals.  Use them to decide
2726         whether cast from array/function to float is valid/invalid.
2727
2728 2017-11-17  Tom Tromey  <tom@tromey.com>
2729
2730         * gdb.rust/traits.rs: New file.
2731         * gdb.rust/traits.exp: New file.
2732
2733 2017-11-17  Joel Brobecker  <brobecker@adacore.com>
2734
2735         * gdb.ada/minsyms: New testcase.
2736
2737 2017-11-16  Pedro Alves  <palves@redhat.com>
2738
2739         * gdb.base/bp-cmds-continue-ctrl-c.c: New file.
2740         * gdb.base/bp-cmds-continue-ctrl-c.exp: New file.
2741
2742 2017-11-16  Pedro Alves  <palves@redhat.com>
2743
2744         * gdb.rust/modules.exp: Skip tests that rely on inferior I/O if
2745         gdb,noinferiorio is set, and use gdb_test_stdio otherwise.
2746
2747 2017-11-16  Pedro Alves  <palves@redhat.com>
2748
2749         * gdb.server/reconnect-ctrl-c.c: New file.
2750         * gdb.server/reconnect-ctrl-c.exp: New file.
2751
2752 2017-11-16  Phil Muldoon  <pmuldoon@redhat.com>
2753
2754         * gdb.python/py-rbreak.exp: New file.
2755         * gdb.python/py-rbreak.c: New file.
2756         * gdb.python/py-rbreak-func2.c: New file.
2757
2758 2017-11-16  Pedro Alves  <palves@redhat.com>
2759
2760         * gdb.base/starti.exp ("continue" test): Remove ".*"s from
2761         pattern.
2762         * lib/gdb.exp (gdb_test_sequence): Don't send empty command to
2763         GDB.
2764
2765 2017-11-15  Simon Marchi  <simon.marchi@ericsson.com>
2766
2767         * gdb.tui/completionn.exp (test_tab_completion): Add space in
2768         regex.
2769
2770 2017-11-13  Simon Marchi  <simon.marchi@polymtl.ca>
2771
2772         * gdb.opt/inline-locals.exp: Remove trailing parentheses from
2773         test names.
2774
2775 2017-11-09  Pedro Alves  <palves@redhat.com>
2776
2777         * gdb.tui/tui-completion.exp (test_tab_completion): New procedure,
2778         factored out from ...
2779         (top level): ... here, and adjusted to avoid expecting beyond the
2780         prompt in a single gdb_test_multiple.
2781
2782 2017-11-09  Pedro Alves  <palves@redhat.com>
2783
2784         * gdb.multi/multi-attach.exp ("kill" test): Match the whole query
2785         output.
2786         * gdb.server/ext-attach.exp ("kill" test): Likewise.
2787         * gdb.server/ext-restart.exp ("kill" test): Likewise.
2788         * gdb.server/ext-run.exp ("kill" test): Likewise.
2789         * gdb.server/ext-wrapper.exp ("kill" test): Likewise.
2790
2791 2017-11-09  Pedro Alves  <palves@redhat.com>
2792
2793         * gdb.cp/cpcompletion.exp (test_class_complete): Tighten regex to
2794         match till end of line.
2795
2796 2017-11-09  Pedro Alves  <palves@redhat.com>
2797
2798         * gdb.base/memattr.exp: Tighten regexes to match the end line.
2799
2800 2017-11-09  Pedro Alves  <palves@redhat.com>
2801
2802         * gdb.base/completion.exp (ignore_and_resync, test_tab_complete):
2803         New procedures, factored out from ...
2804         (top level): ... here, and adjusted to avoid expecting beyond the
2805         prompt in one go.
2806
2807 2017-11-09  Pedro Alves  <palves@redhat.com>
2808
2809         * gdb.asm/asm-source.exp ("kill" test): Match the whole query
2810         output.  Fix '?' match.
2811
2812 2017-11-08  Joel Brobecker  <brobecker@adacore.com>
2813
2814         * gdb.ada/scoped_watch: New testcase.
2815         * gdb.ada/watch_arg.exp: Adjust expected behavior to the behavior
2816         which is actually correct.
2817         * gdb.ada/mi_interface.exp: Add missing thread-id in expected varobj.
2818         * gdb.ada/mi_var_array.exp: Add missing thread-id in expected varobj.
2819
2820 2017-11-08  Pedro Alves  <palves@redhat.com>
2821
2822         * gdb.gdb/complaints.exp (test_initial_complaints)
2823         (test_serial_complaints, test_short_complaints): Call
2824         complaint_internal instead of complaint.
2825
2826 2017-11-08  Djordje Todorovic  <djordje.todorovic@rt-rk.com>
2827
2828         * gdb.threads/tls-core.c: New file.
2829         * gdb.threads/tls-core.exp: Likewise.
2830
2831 2017-11-08   Pedro Alves  <palves@redhat.com>
2832
2833         * gdb.ada/complete.exp (p <Exported_Capitalized>): New test.
2834         (p Exported_Capitalized): New test.
2835         (p exported_capitalized): New test.
2836
2837 2017-11-07  Pedro Alves  <palves@redhat.com>
2838
2839         * gdb.cp/ena-dis-br-range.exp: Add more tests.
2840
2841 2017-11-07  Pedro Alves  <palves@redhat.com>
2842
2843         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Adjust test.
2844         * gdb.cp/ena-dis-br-range.exp: Adjust tests.
2845         (disable_invalid, disable_inverted, disable_negative): New
2846         procedures.
2847         ("bad numbers"): New set of tests.
2848
2849 2017-11-07  Pedro Alves  <palves@redhat.com>
2850
2851         * gdb.cp/ena-dis-br-range.exp: Add tests.
2852
2853 2017-11-07  Pedro Alves  <palves@redhat.com>
2854
2855         * gdb.base/ena-dis-br.exp: Don't expect "warning:".
2856
2857 2017-11-07  Xavier Roirand  <roirand@adacore.com>
2858             Pedro Alves  <palves@redhat.com>
2859
2860         * gdb.base/ena-dis-br.exp: Add reference to
2861         gdb.cp/ena-dis-br-range.exp.
2862         * gdb.cp/ena-dis-br-range.exp: New file.
2863         * gdb.cp/ena-dis-br-range.cc: New file.
2864
2865 2017-11-06  Pedro Alves  <palves@redhat.com>
2866
2867         * gdb.base/attach-non-pgrp-leader.c: New.
2868         * gdb.base/attach-non-pgrp-leader.exp: New.
2869
2870 2017-11-06  Pedro Alves  <palves@redhat.com>
2871
2872         * configure.ac: No longer check for termio.h and sgtty.h.
2873         * configure: Regenerate.
2874         * remote-utils.c: Include termios.h instead of gdb_termios.h.
2875         (remote_open): Check HAVE_TERMIOS_H instead of HAVE_TERMIOS.
2876         Remove termio and sgtty code.
2877
2878 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2879
2880         * gdb.mi/list-thread-groups-available.exp: Skip it if XML parsing
2881         in GDB is disabled.
2882
2883 2017-11-03  Yao Qi  <yao.qi@linaro.org>
2884
2885         * gdb.python/py-thrhandle.exp: Skip it if python is not
2886         enabled.
2887
2888 2017-10-31  Simon Marchi  <simon.marchi@polymtl.ca>
2889
2890         * gdb.mi/mi-break.exp (test_breakpoint_commands): Test backtrace
2891         as a breakpoint command.
2892
2893 2017-10-28  Maksim Dzabraev  <dzabraew@gmail.com>
2894
2895         PR python/21213
2896         * gdb.python/py-infthread.exp: Test calling
2897         InferiorThread.inferior () multiple times in a row.
2898
2899 2017-10-27  Keith Seitz  <keiths@redhat.com>
2900
2901         * gdb.opt/inline-break.exp (break_info_1): New procedure.
2902         Test "info break" for every inlined function breakpoint.
2903
2904 2017-10-27  Yao Qi  <yao.qi@linaro.org>
2905
2906         * gdb.arch/insn-reloc.c (can_relocate_bl): Mark "x30" clobbered.
2907
2908 2017-10-26  Patrick Frants  <osscontribute@gmail.com>
2909
2910         * gdb.cp/classes.exp (test_static_members): Test printing
2911         Outer::instance.
2912         * gdb.cp/classes.c (struct Inner, struct Outer): New.
2913         (Inner::instance, Outer::instance): New.
2914
2915 2017-10-24  Pedro Alves  <palves@redhat.com>
2916
2917         * gdb.base/new-ui.exp (do_test): Split "delete all breakpoints on
2918         extra console" test in two stages.
2919
2920 2017-10-24  Pedro Alves  <palves@redhat.com>
2921
2922         * gdb.threads/attach-into-signal.exp (corefunc): Reindent.
2923
2924 2017-10-24  Pedro Alves  <palves@redhat.com>
2925
2926         * gdb.threads/attach-into-signal.exp: Remove whole "stoppedtry"
2927         loop.
2928
2929 2017-10-24  Pedro Alves  <palves@redhat.com>
2930
2931         * gdb.threads/attach-into-signal.exp (corefunc): Remove "attach
2932         $attempt" and "stoppedtry $stoppedtry" test prefixes.
2933
2934 2017-10-24  Pedro Alves  <palves@redhat.com>
2935
2936         * lib/gdb-python.exp (get_python_valueof): Add 'test' optional
2937         parameter and handle it.  Don't output read value in test name.
2938
2939 2017-10-24  Pedro Alves  <palves@redhat.com>
2940
2941         * gdb.gdb/unittest.exp ('maintenance check xml-descriptions'): Use
2942         custom test name.
2943
2944 2017-10-24  Pedro Alves  <palves@redhat.com>
2945
2946         * gdb.base/startup-with-shell.exp ('touch $unique_file'): Don't
2947         include the unstable output directory name in the test's name.
2948         (initial_setup_simple) <'set args'>: Use custom test name.
2949
2950 2017-10-24  Pedro Alves  <palves@redhat.com>
2951
2952         * gdb.arch/arc-tdesc-cpu.exp ('set tdesc filename'): Use gdb_test
2953         with explicit test name.
2954
2955 2017-10-20  Pedro Alves  <palves@redhat.com>
2956
2957         * gdb.base/quit.exp: Use gdb_test_multiple and expect 'eof' before
2958         'wait -i'.  Use gdb_assert and remote_close.
2959
2960 2017-10-19  Andrew Burgess  <andrew.burgess@embecosm.com>
2961
2962         * gdb.linespec/ls-errs.exp (do_test): Update comment, use line
2963         number from variable rather than hard-coded.
2964
2965 2017-10-19  Pedro Alves  <palves@redhat.com>
2966
2967         * gdb.base/long-inferior-output.c: New file.
2968         * gdb.base/long-inferior-output.exp: New file.
2969
2970 2017-11-18  Keith Seitz  <keiths@redhat.com>
2971
2972         * gdb.cp/cpexprs.cc (base) <operator fluff const* const*>: New
2973         method.
2974         (main): Call it.
2975         * gdb.cp/cpexprs.exp: Add new conversion operator to test matrix.
2976         Add additional user-defined conversion operator tests.
2977
2978 2017-10-17  Pedro Alves  <palves@redhat.com>
2979
2980         * boards/native-stdio-gdbserver.exp: Load "local-board".
2981
2982 2017-10-17  Pedro Alves  <palves@redhat.com>
2983
2984         * gdb.base/quit-live.c: New file.
2985         * gdb.base/quit-live.exp: New file.
2986
2987 2017-10-16  Keith Seitz  <keiths@redhat.com>
2988
2989         * gdb.cp/classes.cc (class_with_typedefs, class_with_public_typedef)
2990         (class_with_protected_typedef, class_with_private_typedef)
2991         (struct_with_public_typedef, struct_with_protected_typedef)
2992         (struct_with_private_typedef): New classes/structs.
2993         * gdb.cp/classes.exp (test_ptype_class_objects): Add tests for
2994         typedefs and access specifiers.
2995
2996 2017-10-16  Pedro Alves  <palves@redhat.com>
2997             Simon Marchi  <simon.marchi@polymtl.ca>
2998
2999         * README (Local vs Remote vs Native): New section.
3000         * boards/local-board.exp: New file, with bits factored out from
3001         ...
3002         * boards/native-extended-gdbserver.exp: ... here.  Load
3003         "local-board".
3004         * boards/native-gdbserver.exp: Load "local-board".
3005         (${board}_spawn, ${board}_exec): Delete.
3006         * boards/native-stdio-gdbserver.exp: Most contents factored out to
3007         ...
3008         * boards/stdio-gdbserver-base.exp: ... this new file.
3009         * boards/native-stdio-gdbserver.exp: Reimplement, by loading
3010         "stdio-gdbserver-base" and defining a get_target_remote_pipe_cmd
3011         procedure.
3012         * boards/remote-stdio-gdbserver.exp: Load stdio-gdbserver-base
3013         instead of native-stdio-gdbserver.  Don't set gdb_server_prog nor
3014         stdio_gdbserver_command.
3015         (${board}_get_remote_address, ${board}_get_comm_port)
3016         (${board}_download, ${board}_upload): Delete.
3017         (get_target_remote_pipe_cmd): New.
3018
3019 2017-10-16  Simon Marchi  <simon.marchi@ericsson.com>
3020
3021         * gdb.python/py-breakpoint.exp (test_bkpt_basic,
3022         test_bkpt_deletion, test_bkpt_cond_and_cmds,
3023         test_bkpt_invisible, test_watchpoints, test_bkpt_internal,
3024         test_bkpt_eval_funcs, test_bkpt_temporary, test_bkpt_address,
3025         test_bkpt_pending, test_bkpt_events): Use proc_with_prefix,
3026         remove with_test_prefix.
3027
3028 2017-10-13  Pedro Alves  <palves@redhat.com>
3029
3030         * lib/gdb.exp (target_can_use_run_cmd): New procedure.
3031         * gdb.base/annota1.exp: Use it instead of is_remote.
3032         * gdb.base/annota3.exp: Use it instead of is_remote.
3033         * gdb.cp/annota2.exp: Use it instead of is_remote.
3034         * gdb.cp/annota3.exp: Use it instead of is_remote.
3035         * gdb.multi/bkpt-multi-exec.exp: Use it instead of is_remote.
3036
3037 2017-10-13  Pedro Alves  <palves@redhat.com>
3038
3039         * gdb.base/testenv.exp: Check use_gdb_stub instead of is_remote.
3040         (test_num_test_vars, run_and_count_vars, find_env)
3041         (test_set_unset_env, test_inherit_env_var): New procedures.
3042         (top level): Use them.
3043
3044 2017-10-13  Pedro Alves  <palves@redhat.com>
3045
3046         * lib/selftest-support.exp (selftest_setup): Extend comments, and
3047         also skip on stub-like targets.
3048
3049 2017-10-13  Pedro Alves  <palves@redhat.com>
3050
3051         PR gdb/22293
3052         * gdb.base/find-unmapped.exp: Don't skip if is_remote target.
3053         (top level): Move some tests to ...
3054         (test_not_found): ... this new procedure.
3055         (top level): Call it.
3056
3057 2017-10-13  Pedro Alves  <palves@redhat.com>
3058
3059         * gdb.base/term.exp: Don't skip if is_remote target.  Instead,
3060         expect different "info terminal" output if testing with a
3061         non-native target.
3062
3063 2017-10-13  Pedro Alves  <palves@redhat.com>
3064             Simon Marchi  <simon.marchi@polymtl.ca>
3065
3066         PR python/12966
3067         * gdb.python/py-evthreads.exp: Remove is_remote target kfail.
3068
3069 2017-10-13  Pedro Alves  <palves@redhat.com>
3070
3071         * gdb.python/py-evthreads.exp: Start GDB with "set non-stop on"
3072         already.
3073
3074 2017-10-13  Pedro Alves  <palves@redhat.com>
3075
3076         * gdb.python/py-evsignal.exp: Check gdb_protocol instead of
3077         is_remote.
3078
3079 2017-10-13  Pedro Alves  <palves@redhat.com>
3080
3081         * gdb.threads/thread_events.exp: Check gdb_protocol instead of
3082         is_remote.
3083
3084 2017-10-13  Pedro Alves  <palves@redhat.com>
3085
3086         * gdb.base/corefile.exp (corefile_test_run): Skip if gdb_protocol
3087         is set.
3088         (corefile_test_attach): Likewise.  Check can_spawn_for_attach
3089         instead of is_remote.
3090
3091 2017-10-13  Pedro Alves  <palves@redhat.com>
3092
3093         * gdb.base/remote.exp: Check gdb_protocol instead of is_remote.
3094         (top level): Add comment.
3095
3096 2017-10-13  Pedro Alves  <palves@redhat.com>
3097
3098         * gdb.base/remote.exp (top level): Fix comment typo and add
3099         missing return.
3100
3101 2017-10-13  Pedro Alves  <palves@redhat.com>
3102             Simon Marchi  <simon.marchi@polymtl.ca>
3103
3104         * gdb.base/solib-nodir.exp: Split is_remote and skip_shlib_tests
3105         calls and add comments.  Skip test if use_gdb_stub is set.
3106         (top level): Use "set cwd" command instead of "cd" command.
3107
3108 2017-10-13  Pedro Alves  <palves@redhat.com>
3109
3110         * gdb.base/shlib-call.exp (top level): Use gdb_run_cmd and remove
3111         is_remote target check.
3112
3113 2017-10-13  Pedro Alves  <palves@redhat.com>
3114
3115         * gdb.base/scope.exp: Use build_executable + clean_restart +
3116         gdb_file_cmd instead of prepare_for_testing and no longer skip
3117         "before run" tests on is_remote target boards.  Update comments.
3118         * boards/native-extended-gdbserver.exp
3119         (extended_gdbserver_load_last_file): New, factored out from ...
3120         (gdb_load): ... this.  Move further below and add comment.
3121         (extended_gdbserver_gdb_file_cmd, gdb_file_cmd, gdb_reload): New.
3122
3123 2017-10-12  Pedro Alves  <palves@redhat.com>
3124
3125         * gdb.base/attach.exp: Remove references to gdb64.
3126         * gdb.base/dbx.exp: Remove references to gdb64.
3127
3128 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
3129             Pedro Alves  <palves@redhat.com>
3130
3131         * gdb.base/label.exp: Remove is_remote target check.
3132
3133 2017-10-12  Pedro Alves  <palves@redhat.com>
3134
3135         * gdb.base/auvx.exp (coredir): Update comment.
3136         (top level) <core_works>: Use "set cwd" command instead of "cd"
3137         command.
3138
3139 2017-10-12  Pedro Alves  <palves@redhat.com>
3140             Simon Marchi  <simon.marchi@polymtl.ca>
3141
3142         * gdb.base/catch-fork-static.exp: No longer skip on is_remote
3143         target boards.
3144
3145 2017-10-12  Pedro Alves  <palves@redhat.com>
3146             Simon Marchi  <simon.marchi@polymtl.ca>
3147
3148         * gdb.base/checkpoint.exp: Don't check is_remote or isnative.
3149         Instead skip if there's any gdb_protocol set.
3150
3151 2017-10-12  Simon Marchi  <simon.marchi@polymtl.ca>
3152             Pedro Alves  <palves@redhat.com>
3153
3154         * gdb.base/dprintf-non-stop.exp: Remove is_remote target check.
3155
3156 2017-10-12  Pedro Alves  <palves@redhat.com>
3157             Simon Marchi  <simon.marchi@polymtl.ca>
3158
3159         * gdb.base/argv0-symlink.exp: kfail on remote gdbserver,
3160         instead of on dejagnu remote boards.
3161
3162 2017-10-12  Pedro Alves  <palves@redhat.com>
3163             Simon Marchi  <simon.marchi@polymtl.ca>
3164
3165         * gdb.base/inferior-died.exp: Remove is_remote and isnative
3166         checks.  Use build_executable + clean_restart instead of
3167         prepare_for_testing.  Pass "set non-stop on" via GDBFLAGS instead
3168         of enabling non-stop after starting gdb.
3169
3170 2017-10-12  Pedro Alves  <palves@redhat.com>
3171
3172         * gdb.threads/non-ldr-exc-1.exp: No longer skip if is_remote target.
3173         * gdb.threads/non-ldr-exc-2.exp: Ditto.
3174         * gdb.threads/non-ldr-exc-3.exp: Ditto.
3175         * gdb.threads/non-ldr-exc-4.exp: Ditto.
3176
3177 2017-10-11  Anton Kolesov  <Anton.Kolesov@synopsys.com>
3178
3179         * gdb.arch/arc-tdesc-cpu.exp: New file.
3180         * gdb.arch/arc-tdesc-cpu.xml: Likewise.
3181
3182 2017-10-10  Simon Marchi  <simon.marchi@ericsson.com>
3183
3184         * lib/gdb.exp (get_integer_valueof): Don't output read value in test name.
3185
3186 2017-10-10  Pedro Alves <palves@redhat.com>
3187
3188         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Don't
3189         expect CLI output.
3190
3191 2017-10-10  Pedro Alves  <palves@redhat.com>
3192
3193         * lib/selftest-support.exp (selftest_setup): Update for
3194         captured_command_loop's prototype change.
3195
3196 2017-10-09  Pedro Alves  <palves@redhat.com>
3197
3198         Test both arch1=>arch2 and arch2=>arch1.
3199
3200         * gdb.multi/multi-arch-exec.exp (exec1, srcfile1, binfile1, exec2)
3201         (srcfile2, binfile2, march1, march2): Remove globals.  Largely
3202         factored out to...
3203         (append_arch1_options, append_arch2_options, append_arch_options)
3204         (build_executables): New procedures.
3205         (do_test): New 'first_arch' parameter.  Use it to define 'from_exec'
3206         local.
3207         (top level): Add new 'first_arch' testing axis.
3208
3209 2017-10-09  Pedro Alves  <palves@redhat.com>
3210
3211         * gdb.multi/multi-arch-exec.c: Include <pthread.h> and <assert.h>.
3212         (barrier): New.
3213         (thread_start, all_started): New functions.
3214         (main): Spawn new thread and wait until it is scheduled.
3215         * gdb.multi/multi-arch-exec.exp: Build $srcfile1 with the pthreads
3216         option.
3217         (do_test): Add 'selected_thread' parameter.  Run to all_started
3218         instead of main.  Explicitly set the breakpoint at main.  Switch
3219         to the SELECTED_THREAD thread.
3220         (top level): Test handling the exec event with either the main
3221         thread or the second thread selected.
3222
3223 2017-10-09  Pedro Alves  <palves@redhat.com>
3224
3225         * gdb.base/print-file-var-main.c: Fix get_version_2 value check
3226         logic.  Move STOP marker after the value checks.
3227         * gdb.base/print-file-var.exp (continue to STOP marker): Tighten
3228         regexp.
3229
3230 2017-10-06  Sandra Loosemore  <sandra@codesourcery.com>
3231
3232         * gdb.mi/mi-threads-interrupt.exp: Skip test if nointerrupts.
3233
3234 2017-10-05  Ulrich Weigand  <uweigand@de.ibm.com>
3235
3236         * gdb.base/dfp-exprs.exp: Update tests to larger range of supported
3237         integer-to-dfp conversion.
3238         * gdb.base/dfp-test.exp: Likewise.
3239
3240 2017-10-04  Pedro Alves  <palves@redhat.com>
3241
3242         * gdb.multi/hangout.c: Include <unistd.h>.
3243         (hangout_loop): New function.
3244         (main): Call alarm.  Call hangout_loop in a loop.
3245         * gdb.multi/hello.c: Include <unistd.h>.
3246         (hello_loop): New function.
3247         (main): Call alarm.  Call hangout_loop in a loop.
3248         * gdb.multi/multi-arch.exp: Test running to a breakpoint one
3249         inferior with the other selected.
3250
3251 2017-10-04  Simon Marchi  <simon.marchi@ericsson.com>
3252
3253         * gdb.mi/list-thread-groups-available.exp: New file.
3254         * gdb.mi/list-thread-groups-available.c: New file.
3255
3256 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
3257
3258         * gdb.base/set-cwd.exp: Make it available on
3259         native-extended-gdbserver.
3260
3261 2017-10-04  Sergio Durigan Junior  <sergiodj@redhat.com>
3262
3263         * gdb.base/set-cwd.c: New file.
3264         * gdb.base/set-cwd.exp: Likewise.
3265
3266 2017-10-02  Tom Tromey  <tom@tromey.com>
3267
3268         PR rust/22236:
3269         * gdb.rust/simple.rs (main): New variable "fslice".
3270         * gdb.rust/simple.exp: Add slice tests.  Update string tests.
3271
3272 2017-10-02  Tom Tromey  <tom@tromey.com>
3273
3274         * gdb.rust/simple.exp: Test ptype of a slice.
3275
3276 2017-10-02  Tom Tromey  <tom@tromey.com>
3277
3278         * gdb.rust/simple.exp: Test index of slice.
3279
3280 2017-09-27  Tom Tromey  <tom@tromey.com>
3281
3282         * gdb.base/macscp.exp: Add __VA_OPT__ tests.
3283
3284 2017-09-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3285             Pedro Alves  <palves@redhat.com>
3286
3287         * gdb.base/compare-sections.exp (get value of read-only section): Read
3288         as unsigned value.
3289         (corrupt read-only section): Likewise and don't set written if patching
3290         failed.
3291
3292 2017-09-21  Kevin Buettner  <kevinb@redhat.com>
3293
3294         * gdb.python/py-thrhandle.c, gdb.python/py-thrhandle.exp: New
3295         files.
3296
3297 2017-09-20  Pedro Alves  <palves@redhat.com>
3298
3299         * gdb.base/list-ambiguous.exp (test_list_ambiguous_symbol): Expect
3300         symbol names in gdb's output.
3301         * gdb.cp/overload.exp ("list all overloads"): Likewise.
3302
3303 2017-09-20  Pedro Alves  <palves@redhat.com>
3304
3305         * gdb.base/list-ambiguous.exp (test_list_ambiguous_function):
3306         Rename to ...
3307         (test_list_ambiguous_symbol): ... this and add a symbol name
3308         parameter.  Adjust.
3309         (test_list_ambiguous_function): Reimplement on top of
3310         test_list_ambiguous_symbol and also test listing ambiguous
3311         variables.
3312         * gdb.base/list-ambiguous0.c (ambiguous): Rename to ...
3313         (ambiguous_fun): ... this.
3314         (ambiguous_var): New.
3315         * gdb.base/list-ambiguous1.c (ambiguous): Rename to ...
3316         (ambiguous_fun): ... this.
3317         (ambiguous_var): New.
3318
3319 2017-09-19  John Baldwin  <jhb@FreeBSD.org>
3320
3321         * gdb.base/starti.c: New file.
3322         * gdb.base/starti.exp: New file.
3323         * lib/gdb.exp (gdb_starti_cmd): New procedure.
3324
3325 2017-09-14  Pedro Alves  <palves@redhat.com>
3326
3327         * gdb.base/nodebug.exp (nodebug_runto): New procedure.
3328         (top level): Use it instead of runto.
3329
3330 2017-09-11  Tom Tromey  <tom@tromey.com>
3331
3332         * gdb.base/ena-dis-br.exp (test_ena_dis_br): Update test.
3333
3334 2017-09-11  Tom Tromey  <tom@tromey.com>
3335
3336         * gdb.python/py-infthread.exp: Add tests for new_thread event.
3337         * gdb.python/py-inferior.exp: Add tests for new inferior events.
3338
3339 2017-09-08  Christoph Weinmann  <christoph.t.weinmann@intel.com>
3340
3341         * gdb.fortran/printing-types.exp: New file.
3342         * gdb.fortran/printing-types.exp: New file.
3343
3344 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
3345
3346         * gdb.fortran/vla-ptype.exp: Fix typos.
3347         * gdb.fortran/vla-value.exp: Same.
3348
3349 2017-09-08  Bernhard Heckel  <bernhard.heckel@intel.com>
3350
3351         * gdb.fortran/vla-value.exp: Use type names defined in libfortran.
3352         * gdb.mi/mi-var-child-f.exp: Likewise.
3353         * gdb.mi/mi-vla-fortran.exp: Likewise.
3354
3355 2017-09-08  Frank Penczek  <frank.penczek@intel.com>
3356             Christoph Weinmann  <christoph.t.weinmann@intel.com>
3357             Bernhard Heckel  <bernhard.heckel@intel.com>
3358
3359         * gdb.fortran/ptr-indentation.f90: New file.
3360         * gdb.fortran/ptr-indentation.exp: New file.
3361
3362 2017-09-05  Tom Tromey  <tom@tromey.com>
3363
3364         PR gdb/22010:
3365         * gdb.base/sizeof.exp (check_valueof): Cast char constant to int.
3366
3367 2017-09-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3368
3369         * gdb.arch/thumb2-it.exp: Cast call to assembly defined function.
3370
3371 2017-09-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
3372
3373         * gdb.threads/tls-nodebug-pie.c: New file.
3374         * gdb.threads/tls-nodebug-pie.exp: New file.
3375
3376 2017-09-05  Tom Tromey  <tom@tromey.com>
3377
3378         * lib/gdb.exp (gdb_compile): Don't use universal_compile_options
3379         for rust.
3380
3381 2017-09-05  Simon Marchi  <simon.marchi@ericsson.com>
3382
3383         * gdb.multi/multi-arch-exec.exp: Test with different
3384         "follow-exec-mode" settings.
3385         (do_test): New procedure.
3386
3387 2017-09-04  Pedro Alves  <palves@redhat.com>
3388
3389         * gdb.base/func-static.c (S::method const, S::method volatile)
3390         (S::method volatile const): New methods.
3391         (c_s, v_s, cv_s): New instances.
3392         (main): Call method() on them.
3393         * gdb.base/func-static.exp (syntax_re, cannot_resolve_re): New variables.
3394         (cannot_resolve): New procedure.
3395         (cxx_scopes_list): Test cv methods.  Add print-scope-quote and
3396         print-quote-unquoted columns.
3397         (do_test): Test printing each scope too.
3398
3399 2017-09-04  Pedro Alves  <palves@redhat.com>
3400
3401         * gdb.base/local-static.exp: Also test with
3402         class::method::variable wholly quoted.
3403         * gdb.cp/m-static.exp (class::method::variable): Remove test.
3404
3405 2017-09-04  Pedro Alves  <palves@redhat.com>
3406
3407         * gdb.base/local-static.c: New.
3408         * gdb.base/local-static.cc: New.
3409         * gdb.base/local-static.exp:  New.
3410
3411 2017-09-04  Pedro Alves  <palves@redhat.com>
3412
3413         * gdb.asm/asm-source.exp: Add casts to int.
3414         * gdb.base/nodebug.c (dataglobal8, dataglobal32_1, dataglobal32_2)
3415         (dataglobal64_1, dataglobal64_2): New globals.
3416         * gdb.base/nodebug.exp: Test different expressions involving the
3417         new globals, with print, whatis and ptype.  Add casts to int.
3418         * gdb.base/solib-display.exp: Add casts to int.
3419         * gdb.compile/compile-ifunc.exp: Expect warning.  Add cast to int.
3420         * gdb.cp/m-static.exp: Add cast to int.
3421         * gdb.dwarf2/dw2-skip-prologue.exp: Add cast to int.
3422         * gdb.threads/tls-nodebug.exp: Check that gdb errors out printing
3423         tls variable with no debug info without a cast.  Test with a cast
3424         to int too.
3425         * gdb.trace/entry-values.exp: Add casts.
3426
3427 2017-09-04  Pedro Alves  <palves@redhat.com>
3428
3429         * gdb.base/nodebug.exp: Test that ptype's error about functions
3430         with unknown return type includes the function name too.
3431
3432 2017-09-04  Pedro Alves  <palves@redhat.com>
3433
3434         * gdb.base/break-main-file-remove-fail.exp (test_remove_bp): Cast
3435         return type of munmap in infcall.
3436         * gdb.base/break-probes.exp: Cast return type of foo in infcall.
3437         * gdb.base/checkpoint.exp: Simplify using for loop.  Cast return
3438         type of ftell in infcall.
3439         * gdb.base/dprintf-detach.exp (dprintf_detach_test): Cast return
3440         type of getpid in infcall.
3441         * gdb.base/infcall-exec.exp: Cast return type of execlp in
3442         infcall.
3443         * gdb.base/info-os.exp: Cast return type of getpid in infcall.
3444         Bail on failure to extract the pid.
3445         * gdb.base/nodebug.c: #include <stdint.h>.
3446         (multf, multf_noproto, mult, mult_noproto, add8, add8_noproto):
3447         New functions.
3448         * gdb.base/nodebug.exp (test_call_promotion): New procedure.
3449         Change expected output of print/whatis/ptype with functions with
3450         no debug info.  Test all supported languages.  Call
3451         test_call_promotion.
3452         * gdb.compile/compile.exp: Adjust expected output to expect
3453         warning.
3454         * gdb.threads/siginfo-threads.exp: Likewise.
3455
3456 2017-09-04  Pedro Alves  <palves@redhat.com>
3457
3458         * gdb.base/callfuncs.exp (do_function_calls): New parameter
3459         "prototypes".  Test calling float functions via prototyped and
3460         unprototyped function pointers.
3461         (perform_all_tests): New parameter "prototypes".  Pass it down.
3462         (top level): Pass down "prototypes" parameter to
3463         perform_all_tests.
3464
3465 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3466
3467         * gdb.base/commands.exp (loop_break_test, loop_continue_test):
3468         Test with nested loops.
3469
3470 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3471
3472         * gdb.base/commands.exp: Call the new procedures.
3473         (loop_break_test, loop_continue_test): New procedures.
3474
3475 2017-09-04  Simon Marchi  <simon.marchi@ericsson.com>
3476
3477         * gdb.base/commands.exp: Call new procedure.
3478         (define_if_without_arg_test): New procedure.
3479
3480 2017-09-04  Pedro Alves  <palves@redhat.com>
3481
3482         * gdb.base/list-ambiguous.exp: New file.
3483         * gdb.base/list-ambiguous0.c: New file.
3484         * gdb.base/list-ambiguous1.c: New file.
3485         * gdb.base/list.exp (test_list_range): Adjust expected output.
3486
3487 2017-08-31  Sergio Durigan Junior  <sergiodj@redhat.com>
3488
3489         * gdb.base/share-env-with-gdbserver.c: New file.
3490         * gdb.base/share-env-with-gdbserver.exp: Likewise.
3491
3492 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3493
3494         * gdb.base/commands.exp (gdbvar_simple_if_test,
3495         gdbvar_simple_if_test, gdbvar_complex_if_while_test,
3496         progvar_simple_if_test, progvar_simple_while_test,
3497         progvar_complex_if_while_test, user_defined_command_test,
3498         user_defined_command_args_eval,
3499         user_defined_command_args_stack_test,
3500         user_defined_command_manyargs_test, bp_deleted_in_command_test,
3501         temporary_breakpoint_commands,
3502         gdb_test_no_prompt, redefine_hook_test,
3503         redefine_backtrace_test): Remove "global gdb_prompt".
3504
3505 2017-08-28  Simon Marchi  <simon.marchi@ericsson.com>
3506
3507         * gdb.base/commands.exp (user_defined_command_case_sensitivity):
3508         New proc, call it from toplevel.
3509
3510 2017-08-23  Sergio Durigan Junior  <sergiodj@redhat.com>
3511
3512         PR remote/21852
3513         * gdb.server/normal.c: New file, copied from gdb.base.
3514         * gdb.server/run-without-local-binary.exp: New file.
3515
3516 2017-08-07  Weimin Pan  <weimin.pan@oracle.com>
3517
3518         * gdb.arch/sparc64-adi.exp: New file.
3519         * gdb.arch/sparc64-adi.c: New file.
3520
3521 2017-08-22  Pedro Alves  <palves@redhat.com>
3522
3523         * gdb.cp/overload.exp (line_range_pattern): New procedure.
3524         (top level): Add "list all overloads" tests.
3525
3526 2017-08-22  Tom Tromey  <tom@tromey.com>
3527
3528         * gdb.gdb/xfullpath.exp: Remove.
3529
3530 2017-08-21  Pedro Alves  <palves@redhat.com>
3531
3532         PR gdb/19487
3533         * gdb.base/symbol-alias.c: New.
3534         * gdb.base/symbol-alias2.c: New.
3535         * gdb.base/symbol-alias.exp: New.
3536
3537 2017-08-21  Pedro Alves  <palves@redhat.com>
3538
3539         * gdb.base/dfp-test.c
3540         (d32_t, d64_t, d128_t, d32_t2, d64_t2, d128_t2, v_d32_t, v_d64_t)
3541         (v_d128_t, v_d32_t2, v_d64_t2, v_d128_t2): New.
3542         * gdb.base/dfp-test.exp: Add whatis/ptype/cast tests.
3543         * gdb.base/gnu_vector.exp: Add whatis/ptype/cast tests.
3544         * gdb.base/whatis-ptype-typedefs.c: New.
3545         * gdb.base/whatis-ptype-typedefs.exp: New.
3546         * gdb.python/py-prettyprint.c (int_type, int_type2): New typedefs.
3547         (an_int, an_int_type, an_int_type2): New globals.
3548         * gdb.python/py-prettyprint.exp (run_lang_tests): Add tests
3549         involving typedefs and cast expressions.
3550         * gdb.python/py-prettyprint.py (class pp_int_typedef): New.
3551         (lookup_typedefs_function): New.
3552         (typedefs_pretty_printers_dict): New.
3553         (top level): Register lookup_typedefs_function in
3554         gdb.pretty_printers.
3555
3556 2017-08-18  Yao Qi  <yao.qi@linaro.org>
3557
3558         * gdb.server/unittest.exp: New.
3559
3560 2017-08-15  Sergio Durigan Junior  <sergiodj@redhat.com>
3561
3562         PR gdb/21954
3563         * gdb.base/environ.exp: Add test to check if 'unset environment'
3564         works.
3565
3566 2017-08-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3567
3568         * lib/gdb.exp (universal_compile_options): New caching proc.
3569         (gdb_compile): Suppress GCC's coloring of messages.
3570
3571 2017-08-14  Tom Tromey  <tom@tromey.com>
3572
3573         PR gdb/21675:
3574         * gdb.base/printcmds.exp (test_radices): New function.
3575         * gdb.dwarf2/var-access.exp: Use p/u, not p/d.
3576         * gdb.base/sizeof.exp (check_valueof): Use p/d.
3577         * lib/gdb.exp (get_integer_valueof): Use p/d.
3578
3579 2017-08-12  Simon Marchi  <simon.marchi@ericsson.com>
3580
3581         * lib/gdb.exp (get_valueof): Don't capture end-of-line
3582         characters.
3583
3584 2017-08-05  Tom Tromey  <tom@tromey.com>
3585
3586         * gdb.rust/simple.exp: Allow String to appear in a different
3587         namespace.
3588
3589 2017-07-26  Yao Qi  <yao.qi@linaro.org>
3590
3591         * gdb.gdb/unittest.exp: Invoke command
3592         "maintenance check xml-descriptions".
3593
3594 2017-07-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3595
3596         * gdb.arch/s390-vregs.exp: Calculate parameters to hex128 in the
3597         calling context.
3598         (hex128): Drop erroneous calculation of parameters.
3599
3600 2017-07-22  Simon Marchi  <simon.marchi@ericsson.com>
3601
3602         * gdb.python/py-unwind.exp: Disable stack protection when
3603         building test file.
3604
3605 2017-07-20  Pedro Alves  <palves@redhat.com>
3606
3607         * gdb.base/default.exp (set language): Adjust expected output.
3608
3609 2017-07-20  Pedro Alves  <palves@redhat.com>
3610
3611         * gdb.base/dmsym.c (pck__foo__bar__minsym): Rename to ...
3612         (test_minsym): ... this, and make static.
3613         (get_pck__foo__bar__minsym): Rename to ...
3614         (get_test_minsym): ... this.
3615         * gdb.base/dmsym.exp (): Remove "set language ada" call.  Adjust
3616         symbol names and comments.
3617         * gdb.base/dmsym_main.c (get_pck__foo__bar__minsym): Rename to ...
3618         (get_test_minsym): ... this.
3619         (pck__foo__bar__minsym__2): Rename to ...
3620         (test_minsym): ... this.
3621         (main): Adjust.
3622
3623 2017-07-17  Pedro Alves  <palves@redhat.com>
3624
3625         * gdb.base/completion.exp: Adjust expected output.
3626         * gdb.linespec/ls-errs.exp: Don't send tab characters, now that
3627         the completer works.
3628
3629 2017-07-17  Pedro Alves  <palves@redhat.com>
3630
3631         * gdb.linespec/ls-errs.exp (do_test): Adjust expected output.
3632
3633 2017-07-15  Andrew Burgess  <andrew.burgess@embecosm.com>
3634
3635         * gdb.mi/mi-vla-fortran.exp: Make test names unique.
3636
3637 2017-07-14  Tom Tromey  <tom@tromey.com>
3638
3639         PR rust/21764:
3640         * gdb.rust/simple.exp: Add tests.
3641
3642 2017-07-14  Tom Tromey  <tom@tromey.com>
3643
3644         * gdb.rust/simple.exp: Add regression test for PR rust/21763.
3645
3646 2017-07-14  Pedro Alves  <palves@redhat.com>
3647
3648         * gdb.linespec/base/one/thefile.cc (z1): New function.
3649         * gdb.linespec/base/two/thefile.cc (z2): New function.
3650         * gdb.linespec/linespec.exp: Add tests.
3651
3652 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3653
3654         * gdb.mi/mi-vla-fortran.exp: Correct even more parameter passing
3655         to mi_create_breakpoint.
3656
3657 2017-07-13  Andrew Burgess  <andrew.burgess@embecosm.com>
3658
3659         * gdb.mi/mi-vla-fortran.exp: Correct parameter passing to
3660         mi_create_breakpoint.
3661
3662 2017-07-11  Iain Buclaw  <ibuclaw@gdcproject.org>
3663
3664         * gdb.dlang/demangle.exp: Update for demangling changes.
3665
3666 2017-07-09  Tom Tromey  <tom@tromey.com>
3667
3668         * gdb.dwarf2/shortpiece.exp: New file.
3669
3670 2017-07-06  David Blaikie  <dblaikie@gmail.com>
3671
3672         * gdb.dwarf2/fission-multi-cu.S: Test containing multiple CUs in a DWO,
3673         built from fissiont-multi-cu{1,2}.c.
3674         * gdb.dwarf2/fission-multi-cu.exp: Test similar to fission-base.exp,
3675         except putting 'main' and 'func' in separate CUs in the same DWO file.
3676         * gdb.dwarf2/fission-multi-cu1.c: First CU for the multi-CU-single-DWO
3677         test.
3678         * gdb.dwarf2/fission-multi-cu2.c: Second CU in the multi-CU-single-DWO
3679         test.
3680
3681 2017-07-06  Pedro Alves  <palves@redhat.com>
3682
3683         * gdb.python/py-unwind.exp: Test flushregs.
3684
3685 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3686
3687         PR cli/21688
3688         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): Add new
3689         tests for alias commands and trailing whitespace.
3690
3691 2017-06-30  Sergio Durigan Junior  <sergiodj@redhat.com>
3692
3693         PR cli/21688
3694         * gdb.python/py-cmd.exp (test_python_inline_or_multiline): New
3695         procedure.  Call it.
3696
3697 2017-06-29  Pedro Alves  <palves@redhat.com>
3698
3699         * gdb.base/printcmds.exp: Add tests.
3700
3701 2017-06-28  Doug Gilmore  <Doug.Gilmore@imgtec.com>
3702
3703         PR gdb/21337
3704         * gdb.base/reread-readsym.exp: New file.
3705         * gdb.base/reread-readsym.c: New file.
3706
3707 2017-06-21  Kevin Buettner  <kevinb@redhat.com>
3708
3709         * gdb.exp (gdb_test): Using noncapturing parens for the $pattern
3710         subpattern.
3711
3712 2017-06-19  Peter Bergner  <bergner@vnet.ibm.com>
3713
3714         * gdb.arch/powerpc-power9.exp: Update test case for new lnia
3715         extended mnemonic.
3716         * gdb.arch/powerpc-power9.s: Likewise.
3717
3718 2017-06-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3719
3720         * gdb.dwarf2/var-access.exp: Use register name ecx instead of edx
3721         on 32-bit x86 targets.  Exploit is_*_target macros where
3722         appropriate.
3723
3724 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3725
3726         * gdb.dwarf2/var-access.exp: Add test for non-byte-aligned
3727         register pieces.
3728
3729 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3730
3731         * gdb.dwarf2/var-access.exp: Add tests for accessing bit-fields
3732         located in one or more DWARF pieces.
3733
3734 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3735
3736         * lib/gdb.exp (get_endianness): New proc.
3737         * gdb.arch/aarch64-fp.exp: Use it.
3738         * gdb.arch/altivec-regs.exp: Likewise.
3739         * gdb.arch/e500-regs.exp: Likewise.
3740         * gdb.arch/vsx-regs.exp: Likewise.
3741         * gdb.base/dump.exp: Likewise.
3742         * gdb.base/funcargs.exp: Likewise.
3743         * gdb.base/gnu_vector.exp: Likewise.
3744         * gdb.dwarf2/formdata16.exp: Likewise.
3745         * gdb.dwarf2/implptrpiece.exp: Likewise.
3746         * gdb.dwarf2/nonvar-access.exp: Likewise.
3747         * gdb.python/py-inferior.exp: Likewise.
3748         * gdb.trace/unavailable-dwarf-piece.exp: Likewise.
3749
3750 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3751
3752         PR gdb/21226
3753         * gdb.dwarf2/nonvar-access.exp: Add checks for verifying that
3754         stack value pieces are taken from the LSB end.
3755
3756 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3757
3758         * gdb.dwarf2/var-pieces.exp: Add test case for modifying a
3759         variable at nonzero offset.
3760
3761 2017-06-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3762
3763         * gdb.dwarf2/var-access.c: New file.
3764         * gdb.dwarf2/var-access.exp: New test.
3765         * lib/gdb-utils.exp (string_to_regexp): Quote braces as well.
3766
3767 2017-06-12  Tom Tromey  <tom@tromey.com>
3768
3769         * gdb.dwarf2/formdata16.exp: Add tests.
3770
3771 2017-06-12  Tom Tromey  <tom@tromey.com>
3772
3773         * gdb.arch/altivec-regs.exp: Expect decimal results for uint128.
3774
3775 2017-06-12  Tom Tromey  <tom@tromey.com>
3776
3777         PR exp/16225:
3778         * gdb.reverse/i386-sse-reverse.exp: Update tests.
3779         * gdb.arch/vsx-regs.exp: Update tests.
3780         * gdb.arch/s390-vregs.exp (hex128): New proc.
3781         Update test.
3782         * gdb.arch/altivec-regs.exp: Update tests.
3783
3784 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3785
3786         * gdb.base/startup-with-shell.c: New file.
3787         * gdb.base/startup-with-shell.exp: Likewise.
3788
3789 2017-06-07  Sergio Durigan Junior  <sergiodj@redhat.com>
3790
3791         * gdb.server/non-existing-program.exp: Update regex in order to
3792         reflect the fact that gdbserver is now using fork_inferior (with a
3793         shell) to startup the inferior.
3794
3795 2017-05-30  Simon Marchi  <simon.marchi@ericsson.com>
3796
3797         * gdb.base/watch-cond-infcall.exp: Don't run if target doesn't
3798         support function calls from GDB.
3799
3800 2017-05-21  Tom Tromey  <tom@tromey.com>
3801
3802         PR rust/21466:
3803         * gdb.rust/unsized.exp: New file.
3804         * gdb.rust/unsized.rs: New file.
3805
3806 2017-05-19  Tom Tromey  <tom@tromey.com>
3807
3808         PR rust/21484:
3809         * gdb.rust/watch.exp: New file.
3810         * gdb.rust/watch.rs: New file.
3811
3812 2017-05-18  Tom Tromey  <tom@tromey.com>
3813
3814         * gdb.rust/simple.exp: Allow Box to be qualified.
3815
3816 2017-05-18  Thomas Preud'homme  <thomas.preudhomme@arm.com>
3817
3818         * gdb.base/float.exp: Expect GDB prompt for targets without FPU.
3819
3820 2017-05-18  Pedro Alves  <palves@redhat.com>
3821
3822         * gdb.base/fileio.c (test_write, test_read, test_close)
3823         (test_fstat): Don't print 'ret' in the fail path.
3824
3825 2017-05-18  Pedro Alves  <palves@redhat.com>
3826
3827         * gdb.base/fileio.c (stop, test_open, test_write, test_read)
3828         (test_lseek, test_close, test_stat, test_fstat, test_isatty)
3829         (test_system, test_rename, test_unlink, test_time): Change
3830         prototypes.
3831         * gdb.base/fileio.exp (stop_msg): Adjust.
3832
3833 2017-05-18  Pedro Alves  <palves@redhat.com>
3834
3835         * gdb.base/fileio.c (null_str): New global.
3836         (test_stat): Use it.
3837         * gdb.base/fileio.exp: Remove nowarnings.
3838
3839 2017-05-17  Yao Qi  <yao.qi@linaro.org>
3840
3841         * gdb.base/fileio.exp: Pass nowarnings to gdb_compile.
3842
3843 2017-05-17  Simon Marchi  <simon.marchi@ericsson.com>
3844
3845         * gdb.base/set-inferior-tty.exp (test_set_inferior_tty): Add
3846         argument command.
3847         (top-level): Invoke test_set_inferior_tty.
3848
3849 2017-05-04  Pedro Alves  <palves@redhat.com>
3850
3851         * gdb.python/py-record-btrace-threads.exp (check_insn_for_thread):
3852         Add parens to print call for Python 3.
3853
3854 2017-05-03  Keith Seitz  <keiths@redhat.com>
3855
3856         * gdb.cp/oranking.cc (dummy): New function to grab malloc.
3857         (main): Call it.
3858
3859 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3860
3861         * gdb.python/py-record-btrace.exp: Rename prev_sibling and next_sibling
3862         to prev and next.
3863
3864 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3865
3866         * gdb.python/py-record-btrace.exp: Remove test for
3867         gdb.BtraceInstruction.error.
3868
3869 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3870
3871         * gdb.python/py-record-btrace.exp: Remove Record.ptid test.
3872
3873 2017-05-01  Tim Wiederhake  <tim.wiederhake@intel.com>
3874
3875         * gdb.python/py-record-btrace-threads.c: New file.
3876         * gdb.python/py-record-btrace-threads.exp: New file.
3877
3878 2017-04-28  Sergio Durigan Junior  <sergiodj@redhat.com>
3879
3880         PR testsuite/8595
3881         * gdb.base/environ.exp: Make test available in all architectures.
3882         Move bits related to "info program" testing to
3883         gdb.base/info-program.exp.  Rewrite tests to use the two new
3884         procedures mentione below.
3885         (test_set_show_env_var) New procedure.
3886         (test_set_show_env_var_equal): Likewise.
3887         * gdb.base/info-program.exp: New file.
3888
3889 2017-04-27  Keith Seitz  <keiths@redhat.com>
3890
3891         * gdb.cp/oranking.cc (test15): New function.
3892         (main): Call test15 and declare additional variables for testing.
3893         * gdb.cp/oranking.exp: Remove kfail status for "p foo4(&a)" and
3894         "p foo101('abc')" tests.
3895         Add tests for cv qualifier overloads.
3896         * gdb.cp/rvalue-ref-overloads.exp: Remove kfail status for
3897         "lvalue reference overload" test.
3898         * gdb.cp/rvalue-ref-params.exp: Remove kfail status for
3899         "print value of f1 on Child&& in f2" test.
3900
3901 2017-04-19  Pedro Alves  <palves@redhat.com>
3902
3903         * gdb.threads/threadapply.exp (kill_and_remove_inferior): New
3904         procedure.
3905         (top level): Call it.
3906         * lib/gdb.exp (gdb_define_cmd): New procedure.
3907
3908 2017-04-12  Pedro Alves  <palves@redhat.com>
3909
3910         PR gdb/21323
3911         * gdb.cp/wide_char_types.c: Include <wchar.h>.
3912         (wchar): New global.
3913         * gdb.cp/wide_char_types.exp (wide_char_types_program)
3914         (do_test_wide_char, wide_char_types_no_program, top level): Add
3915         wchar_t testing.
3916
3917 2017-04-12  Pedro Alves  <palves@redhat.com>
3918
3919         PR c++/21323
3920         * gdb.cp/wide_char_types.c: New file.
3921         * gdb.cp/wide_char_types.exp: New file.
3922
3923 2017-04-05  Sergio Durigan Junior  <sergiodj@redhat.com>
3924
3925         PR gdb/21352
3926         * gdb.trace/tsv.exp: Add test for "tsave -r".
3927
3928 2017-03-30  Iain Buclaw  <ibuclaw@gdcproject.org>
3929
3930         * gdb.dlang/watch-loc.c: New file.
3931         * gdb.dlang/watch-loc.exp: New file.
3932
3933 2017-03-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
3934
3935         * gdb.python/py-section-script.exp (sepdebug): New testcases.
3936
3937 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3938
3939         * gdb.arch/arc-analyze-prologue.S: New file.
3940         * gdb.arch/arc-analyze-prologue.exp: Likewise.
3941
3942 2017-03-28  Anton Kolesov  <anton.kolesov@synopsys.com>
3943
3944         * gdb.arch/arc-decode-insn.S: New file.
3945         * gdb.arch/arc-decode-insn.exp: Likewise.
3946
3947 2017-03-21  Ivo Raisr  <ivo.raisr@oracle.com>
3948
3949         PR tdep/20928
3950         * gdb.arch/sparc64-regs.exp: New file.
3951         * gdb.arch/sparc64-regs.S: Likewise.
3952
3953 2017-03-21  Tim Wiederhake  <tim.wiederhake@intel.com>
3954
3955         * gdb.python/py-record-btrace.exp: Check for buffer on Python 2
3956         and memory view on Python 3.
3957
3958 2017-03-20  Artemiy Volkov  <artemiyv@acm.org>
3959             Keith Seitz  <keiths@redhat.com>
3960
3961         PR gdb/14441
3962         * gdb.cp/demangle.exp: Add rvalue reference tests.
3963         * gdb.cp/rvalue-ref-casts.cc: New file.
3964         * gdb.cp/rvalue-ref-casts.exp: New file.
3965         * gdb.cp/rvalue-ref-overload.cc: New file.
3966         * gdb.cp/rvalue-ref-overload.exp: New file.
3967         * gdb.cp/rvalue-ref-params.cc: New file.
3968         * gdb.cp/rvalue-ref-params.exp: New file.
3969         * gdb.cp/rvalue-ref-sizeof.cc: New file.
3970         * gdb.cp/rvalue-ref-sizeof.exp: New file.
3971         * gdb.cp/rvalue-ref-types.cc: New file.
3972         * gdb.cp/rvalue-ref-types.exp: New file.
3973         * gdb.python/py-rvalue-ref-value-cc.cc: New file.
3974         * gdb.python/py-rvalue-ref-value-cc.exp: New file.
3975
3976 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
3977
3978         * gdb.mi/mi-solib.exp (test_file_list_shared_libraries):
3979         New procedure.
3980
3981 2017-03-20  Marc-Andre Laperle  <marc-andre.laperle@ericsson.com>
3982
3983         * lib/mi-support.exp (mi_gdb_test): Add additional message
3984         for unexpected output.
3985
3986 2017-03-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3987
3988         * gdb.base/examine-backward.c (Barrier): New character array
3989         constant, to ensure that TestStrings is preceded by a string
3990         terminator.
3991
3992 2017-03-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
3993
3994         * lib/dwarf.exp: Add support for DW_OP_implicit_pointer.
3995         * gdb.dwarf2/nonvar-access.exp: Add test for stack value location
3996         and implicit pointer into such a location.
3997
3998 2017-03-16  Doug Evans  <dje@google.com>
3999
4000         * gdb.python/py-lazy-string (pointer): Really add new typedef.
4001
4002 2017-03-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4003
4004         * gdb.cp/m-static.exp: Fix expectation for prototype of
4005         test5.single_constructor and single_constructor::single_constructor.
4006
4007 2017-03-16  Doug Evans  <dje@google.com>
4008
4009         * gdb.guile/scm-value.c (main) Delete locals sptr, sn.
4010         * gdb.guile/scm-lazy-string.c: New file.
4011         * gdb.guile/scm-value.exp: Move lazy string tests to ...
4012         * gdb.guile/scm-lazy-string.exp: ... here, new file.  Add more tests
4013         for pointer, array, typedef lazy strings.
4014
4015 2017-03-16  Doug Evans  <dje@google.com>
4016
4017         PR python/17728, python/18439, python/18779
4018         * gdb.python/py-value.c (main) Delete locals sptr, sn.
4019         * gdb.python/py-lazy-string.c (pointer): New typedef.
4020         (main): New locals ptr, array, typedef_ptr.
4021         * gdb.python/py-value.exp: Move lazy string tests to ...
4022         * gdb.python/py-lazy-string.exp: ... here.  Add more tests for pointer,
4023         array, typedef lazy strings.
4024
4025 2017-03-14  Anton Kolesov  <anton.kolesov@synopsys.com>
4026
4027         * lib/gdb.exp (get_valueof, get_integer_valueof, get_sizeof):
4028           Add optional 'test' parameter.
4029
4030 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
4031
4032         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4033         Skip for versions of DejaGnu < 1.5.
4034
4035 2017-03-13  Simon Marchi  <simon.marchi@ericsson.com>
4036
4037         * lib/gdb.exp (dejagnu_version): New proc.
4038         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
4039         Use dejagnu_version.
4040
4041 2017-03-10  Keith Seitz  <keiths@redhat.com>
4042
4043         PR c++/8128
4044         * gdb.cp/templates.exp (test_ptype_of_templates): Remove argument
4045         type from destructor regexps.
4046         Add a branch which actually passes the test.
4047         Adjust "ptype t5i" test names.
4048
4049 2017-03-08  Pedro Alves  <palves@redhat.com>
4050
4051         * gdb.base/step-over-exit.exp: Add explicit test message.
4052
4053 2017-03-08  Pedro Alves  <palves@redhat.com>
4054
4055         PR gdb/18360
4056         * gdb.threads/interrupt-while-step-over.c: New file.
4057         * gdb.threads/interrupt-while-step-over.exp: New file.
4058
4059 2017-03-08  Pedro Alves  <palves@redhat.com>
4060
4061         * gdb.arch/amd64-entry-value-param-dwarf5.exp: Use with_test_prefix.
4062         * gdb.arch/amd64-entry-value-param.exp: Use with_test_prefix.
4063
4064 2017-03-08  Pedro Alves  <palves@redhat.com>
4065
4066         * gdb.arch/i386-pkru.exp (probe PKRU support): Handle detecting
4067         PKRU as not supported as a PASS.
4068
4069 2017-03-08  Pedro Alves  <palves@redhat.com>
4070
4071         * gdb.base/break-fun-addr.exp: Use $testfile1/$testfile2 for test
4072         prefix instead of $binfile1/$binfile2.
4073         * gdb.btrace/gcore.exp: Use "core" instead of unstable path name
4074         in test message.
4075         * gdb.python/py-completion.exp: Use "load python file" as test
4076         messages instead of unstable path names.
4077
4078 2017-03-08  Pedro Alves  <palves@redhat.com>
4079             Jan Kratochvil  <jan.kratochvil@redhat.com>
4080
4081         PR cli/21218
4082         * gdb.base/commands.exp (backslash_in_multi_line_command_test):
4083         New proc.
4084         (top level): Call it.
4085
4086 2017-03-08  Pedro Alves  <palves@redhat.com>
4087
4088         PR tui/21216
4089         * gdb.tui/tui-nl-filtered-output.exp: New file.
4090
4091 2017-03-08  Pedro Alves  <palves@redhat.com>
4092
4093         * gdb.base/completion.exp: Move TUI completion tests to ...
4094         * gdb.tui/completion.exp: ... this new file.
4095
4096 2017-03-08  Pedro Alves  <palves@redhat.com>
4097
4098         * gdb.base/tui-disasm-long-lines.c,
4099         gdb.base/tui-disasm-long-lines.exp, gdb.base/tui-layout.c,
4100         gdb.base/tui-layout.exp: Move to ...
4101         * gdb.tui/: ... this new directory.
4102
4103 2017-03-07  Pedro Alves  <palves@redhat.com>
4104
4105         * gdb.base/tui-layout.c: New file.
4106         * gdb.base/tui-layout.exp: New file.
4107
4108 2017-03-07  Pedro Alves  <palves@redhat.com>
4109
4110         * gdb.base/tui-layout.c: Rename to ...
4111         * gdb.base/tui-disasm-long-lines.c: ... this.
4112         * gdb.base/tui-layout.exp: Rename to ...
4113         * gdb.base/tui-disasm-long-lines.exp: ... this.
4114
4115 2017-03-07  Pedro Alves  <palves@redhat.com>
4116
4117         * gdb.base/tui-layout.exp: Add intro comment and fix typo.
4118
4119 2017-03-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
4120
4121         * i386-mpx-call.c: New file.
4122         * i386-mpx-call.exp: New file.
4123
4124 2017-02-28  Peter Bergner  <bergner@vnet.ibm.com>
4125
4126         * gdb.arch/powerpc-power.exp: Delete test.
4127         * gdb.arch/powerpc-power.s: Likewise.
4128         * gdb.disasm/disassembler-options.exp: New test.
4129         * gdb.arch/powerpc-altivec.exp: Likewise.
4130         * gdb.arch/powerpc-altivec.s: Likewise.
4131         * gdb.arch/powerpc-altivec2.exp: Likewise.
4132         * gdb.arch/powerpc-altivec2.s: Likewise.
4133         * gdb.arch/powerpc-altivec3.exp: Likewise.
4134         * gdb.arch/powerpc-altivec3.s: Likewise.
4135         * gdb.arch/powerpc-power7.exp: Likewise.
4136         * gdb.arch/powerpc-power7.s: Likewise.
4137         * gdb.arch/powerpc-power8.exp: Likewise.
4138         * gdb.arch/powerpc-power8.s: Likewise.
4139         * gdb.arch/powerpc-power9.exp: Likewise.
4140         * gdb.arch/powerpc-power9.s: Likewise.
4141         * gdb.arch/powerpc-vsx.exp: Likewise.
4142         * gdb.arch/powerpc-vsx.s: Likewise.
4143         * gdb.arch/powerpc-vsx2.exp: Likewise.
4144         * gdb.arch/powerpc-vsx2.s: Likewise.
4145         * gdb.arch/powerpc-vsx3.exp: Likewise.
4146         * gdb.arch/powerpc-vsx3.s: Likewise.
4147         * gdb.arch/arm-disassembler-options.exp: Likewise.
4148         * gdb.arch/powerpc-disassembler-options.exp: Likewise.
4149         * gdb.arch/s390-disassembler-options.exp: Likewise.
4150
4151 2017-02-23  Luis Machado  <lgustavo@codesourcery.com>
4152
4153         * gdb.reverse/insn-reverse.x86.c (check_rdrand_support): Renamed to ...
4154         (check_supported_features): ... this. Changed return type to void.
4155         (supports_rdseed): New static global.
4156         (rdseed): Check supports_rdseed.
4157         (initialize): Call check_supported_features.
4158
4159 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4160
4161         * gdb.arch/ppc64-isa207-atomic-inst.exp: New testcase based on
4162         gdb.arch/ppc64-atomic-inst.exp.  Add tests for lbarx/stbcx, lharx/sthcx
4163         and lqarx/stqcx.
4164         * gdb.arch/ppc64-isa207-atomic-inst.S: New file.
4165         * gdb.arch/ppc64-isa207-atomic-inst.c: Likewise.
4166
4167 2017-02-21  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
4168
4169         * gdb.arch/ppc64-atomic-inst.exp: Fix test names starting with
4170         uppercase.
4171
4172 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4173
4174         * gdb.dwarf2/formdata16.c: New file.
4175         * gdb.dwarf2/formdata16.exp: New file.
4176         * lib/dwarf.exp (Dwarf): Add DW_FORM_data16.
4177
4178 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4179
4180         * gdb.arch/amd64-entry-value-param-dwarf5.S: New file.
4181         * gdb.arch/amd64-entry-value-param-dwarf5.c: New file.
4182         * gdb.arch/amd64-entry-value-param-dwarf5.exp: New file.
4183         * gdb.arch/amd64-entry-value.exp: Rename DW_OP_GNU_*, DW_TAG_GNU_* and
4184         DW_AT_GNU_*.
4185
4186 2017-02-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
4187
4188         * gdb.dwarf2/dw2-error.exp (file $testfile): Update expected string.
4189
4190 2017-02-15  Sergio Durigan Junior  <sergiodj@redhat.com>
4191
4192         PR gdb/21164
4193         * gdb.base/maint.exp: Add testcases for when the commands do
4194         not have arguments.
4195
4196 2017-02-15  Thomas Preud'homme  <thomas.preudhomme@arm.com>
4197
4198         * gdb.cp/chained-calls.exp: Use p instead of P.
4199
4200 2017-02-14  Tim Wiederhake  <tim.wiederhake@intel.com>
4201
4202         * gdb.python/py-record-btrace.c, gdb.python/py-record-btrace.exp,
4203         gdb.python/py-record-full.c, gdb.python/py-record-full.exp: New file.
4204
4205 2017-02-14  Tom Tromey  <tom@tromey.com>
4206
4207         PR python/13598:
4208         * gdb.python/py-events.exp: Add before_prompt event tests.
4209
4210 2017-02-14  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4211
4212         * gdb.dwarf2/implptrpiece.exp: Fix check for big-endian targets.
4213
4214 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
4215
4216         * gdb.linespec/explicit.c (my_unique_function_name): New function.
4217         (main): Call my_unique_function_name.
4218         * gdb.linespec/explicit.exp: Use my_unique_function_name to test
4219         completion of patterns with a single match.
4220         Add missing -re switches to gdb_test_multiple calls.
4221
4222 2017-02-13  Luis Machado  <lgustavo@codesourcery.com>
4223
4224         * gdb.arch/i386-biarch-core.exp: Check for i386 arch support and
4225         return if core file is not recognized.
4226
4227 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
4228
4229         * gdb.base/new-ui.exp (do_test): Test queries behavior on main
4230         and extra UIs.
4231
4232 2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
4233
4234         * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
4235         proc_with_prefix.
4236
4237 2017-02-10  Tom Tromey  <tom@tromey.com>
4238
4239         * gdb.python/py-xmethods.exp: Use "p" command, not "P".
4240
4241 2017-02-10  Martin Galvan  <martingalvan@sourceware.org>
4242
4243         PR gdb/21122
4244         * gdb.base/help.exp: Update match pattern for testing 'help commands'.
4245
4246 2017-02-08  Jerome Guitton  <guitton@adacore.com>
4247
4248         * gdb.base/define.exp: Add test for command abbreviations
4249         in define.
4250
4251 2017-02-06  Luis Machado  <lgustavo@codesourcery.com>
4252
4253         * gdb.reverse/insn-reverse.c: Include insn-reverse-x86.c.
4254         * gdb.reverse/insn-reverse-x86.c: New file.
4255
4256 2017-02-06  Ivo Raisr  <ivo.raisr@oracle.com>
4257
4258         PR tdep/20936
4259         * gdb.xml/tdesc-regs.exp: Provide sparc core registers for the tests.
4260
4261 2017-02-03  Tom Tromey  <tom@tromey.com>
4262
4263         PR rust/21097:
4264         * gdb.rust/simple.exp: Add new tests.
4265
4266 2017-02-02  Pedro Alves  <palves@redhat.com>
4267
4268         * gdb.mi/mi-logging.exp: Add "redirect while already logging"
4269         tests.
4270
4271 2017-02-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4272
4273         * gdb.dwarf2/dw2-op-stack-value.exp: Adjust expected result of
4274         taking a 2-byte value out of a 4-byte DWARF implicit value on
4275         big-endian targets.
4276         * gdb.dwarf2/nonvar-access.exp: Add more comments to existing
4277         logic.  Add test cases for DW_OP_implicit.
4278
4279 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4280
4281         * lib/gdb.exp (gdb_skip_xml_tests): Error if GDB is running.
4282
4283 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4284
4285         * gdb.btrace/enable.exp: Call gdb_exit before
4286         skip_gdbserver_tests.
4287
4288 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4289
4290         * gdb.btrace/non-stop.exp: Add '-ex "set non-stop on"' to
4291         GDBFLAGS.
4292
4293 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4294
4295         * gdb.btrace/buffer-size.exp: Add unsupported/untested message if
4296         the test is skipped.
4297         * gdb.btrace/data.exp: Likewise.
4298         * gdb.btrace/delta.exp: Likewise.
4299         * gdb.btrace/dlopen.exp: Likewise.
4300         * gdb.btrace/enable-running.exp: Likewise.
4301         * gdb.btrace/enable.exp: Likewise.
4302         * gdb.btrace/exception.exp: Likewise.
4303         * gdb.btrace/function_call_history.exp: Likewise.
4304         * gdb.btrace/gcore.exp: Likewise.
4305         * gdb.btrace/instruction_history.exp: Likewise.
4306         * gdb.btrace/multi-thread-step.exp: Likewise.
4307         * gdb.btrace/nohist.exp: Likewise.
4308         * gdb.btrace/non-stop.exp: Likewise.
4309         * gdb.btrace/reconnect.exp: Likewise.
4310         * gdb.btrace/record_goto-step.exp: Likewise.
4311         * gdb.btrace/record_goto.exp: Likewise.
4312         * gdb.btrace/rn-dl-bind.exp: Likewise.
4313         * gdb.btrace/segv.exp: Likewise.
4314         * gdb.btrace/step.exp: Likewise.
4315         * gdb.btrace/stepi.exp: Likewise.
4316         * gdb.btrace/tailcall-only.exp: Likewise.
4317         * gdb.btrace/tailcall.exp: Likewise.
4318         * gdb.btrace/tsx.exp: Likewise.
4319         * gdb.btrace/unknown_functions.exp: Likewise.
4320         * gdb.btrace/vdso.exp: Likewise.
4321
4322 2017-02-01  Markus Metzger  <markus.t.metzger@intel.com>
4323
4324         * gdb.btrace/enable-running.c: New.
4325         * gdb.btrace/enable-running.exp: New.
4326
4327 2017-01-27  Walfred Tedeschi  <walfred.tedeschi@intel.com>
4328
4329         * gdb.arch/amd64-gs_base.c: New file.
4330         * gdb.arch/amd64-gs_base.exp: New file.
4331
4332 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4333
4334         * lib/memory.exp: Remove spurious empty newlines.
4335
4336 2017-01-26  Simon Marchi  <simon.marchi@polymtl.ca>
4337
4338         * gdb.python/py-bad-printers.exp: Load python file using "source".
4339         * gdb.python/py-events.exp: Likewise.
4340         * gdb.python/py-evsignal.exp: Likewise.
4341         * gdb.python/py-evthreads.exp: Likewise.
4342         * gdb.python/py-frame-args.exp: Likewise.
4343         * gdb.python/py-framefilter-invalidarg.exp: Likewise.
4344         * gdb.python/py-framefilter-mi.exp: Likewise.
4345         * gdb.python/py-framefilter.exp: Likewise.
4346         * gdb.python/py-mi.exp: Likewise.
4347         * gdb.python/py-pp-maint.exp: Likewise.
4348         * gdb.python/py-pp-registration.exp: Likewise.
4349         * gdb.python/py-prettyprint.exp: Likewise.
4350         (run_lang_tests): Likewise.
4351         * gdb.python/py-typeprint.exp: Likewise.
4352
4353 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4354
4355         * lib/memory.exp: New file.
4356         * lib/gdb.exp: Load memory.exp.
4357         * gdb.base/memattr.exp (delete_memory): Move proc to
4358         lib/memory.exp and rename to delete_memory_regions.
4359         Replace delete_memory with delete_memory_regions.
4360         Cleanup memory regions before tests.
4361         * gdb.base/breakpoint-in-ro-region.exp: Cleanup memory regions
4362         before tests.
4363
4364 2017-01-26  Luis Machado  <lgustavo@codesourcery.com>
4365
4366         * gdb.reverse/insn-reverse.c: Move arm and aarch64 code to their own
4367         files.
4368         (initialize): New function conditionally defined.
4369         (testcases): Move within conditional block.
4370         (main): Call initialize.
4371         * gdb.reverse/insn-reverse-aarch64.c: New file, based on aarch64 bits
4372         of gdb.reverse/insn-reverse.c.
4373         * gdb.reverse/insn-reverse-arm.c: New file, based on arm bits of
4374         gdb.reverse/insn-reverse.c.
4375
4376 2017-01-26  Yao Qi  <yao.qi@linaro.org>
4377
4378         * gdb.base/all-architectures.exp.in (do_arch_tests): Test
4379         disassemble on address 0.
4380
4381 2017-01-25  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4382             Yao Qi  <yao.qi@linaro.org>
4383
4384         * gdb.dwarf2/implptr-64bit.exp: Use dwarf assembler.
4385         * gdb.dwarf2/implptr-64bit.S: Remove.
4386         * lib/dwarf.exp (Dwarf): Handle character "%".  Evaluate some
4387         variables in caller's context.  Add DW_OP_implicit_value.
4388
4389 2017-01-25  Yao Qi  <yao.qi@linaro.org>
4390
4391         * lib/dwarf.exp (Dwarf::_location): Handle
4392         DW_OP_GNU_implicit_pointer with proper size.
4393
4394 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4395
4396         * gdb.python/py-xmethods.exp: Fix test names starting with lowercase
4397         and add untested calls.
4398
4399 2017-01-20  Luis Machado  <lgustavo@codesourcery.com>
4400
4401         * gdb.python/python.exp: Check line number against what GDB thinks
4402         the line number is for func1.
4403
4404 2017-01-08  Iain Buclaw  <ibuclaw@gdcproject.org>
4405
4406         * gdb.dlang/debug-expr.exp: New file.
4407
4408 2016-12-23  Luis Machado  <lgustavo@codesourcery.com>
4409
4410         Fix test names for the following files:
4411
4412         * gdb.ada/exec_changed.exp
4413         * gdb.ada/info_types.exp
4414         * gdb.arch/aarch64-atomic-inst.exp
4415         * gdb.arch/aarch64-fp.exp
4416         * gdb.arch/altivec-abi.exp
4417         * gdb.arch/altivec-regs.exp
4418         * gdb.arch/amd64-byte.exp
4419         * gdb.arch/amd64-disp-step.exp
4420         * gdb.arch/amd64-dword.exp
4421         * gdb.arch/amd64-entry-value-inline.exp
4422         * gdb.arch/amd64-entry-value-param.exp
4423         * gdb.arch/amd64-entry-value-paramref.exp
4424         * gdb.arch/amd64-entry-value.exp
4425         * gdb.arch/amd64-i386-address.exp
4426         * gdb.arch/amd64-invalid-stack-middle.exp
4427         * gdb.arch/amd64-invalid-stack-top.exp
4428         * gdb.arch/amd64-optimout-repeat.exp
4429         * gdb.arch/amd64-prologue-skip.exp
4430         * gdb.arch/amd64-prologue-xmm.exp
4431         * gdb.arch/amd64-stap-special-operands.exp
4432         * gdb.arch/amd64-stap-wrong-subexp.exp
4433         * gdb.arch/amd64-tailcall-cxx.exp
4434         * gdb.arch/amd64-tailcall-noret.exp
4435         * gdb.arch/amd64-tailcall-ret.exp
4436         * gdb.arch/amd64-tailcall-self.exp
4437         * gdb.arch/amd64-word.exp
4438         * gdb.arch/arm-bl-branch-dest.exp
4439         * gdb.arch/arm-disp-step.exp
4440         * gdb.arch/arm-neon.exp
4441         * gdb.arch/arm-single-step-kernel-helper.exp
4442         * gdb.arch/avr-flash-qualifier.exp
4443         * gdb.arch/disp-step-insn-reloc.exp
4444         * gdb.arch/e500-abi.exp
4445         * gdb.arch/e500-regs.exp
4446         * gdb.arch/ftrace-insn-reloc.exp
4447         * gdb.arch/i386-avx512.exp
4448         * gdb.arch/i386-bp_permanent.exp
4449         * gdb.arch/i386-byte.exp
4450         * gdb.arch/i386-cfi-notcurrent.exp
4451         * gdb.arch/i386-disp-step.exp
4452         * gdb.arch/i386-dr3-watch.exp
4453         * gdb.arch/i386-float.exp
4454         * gdb.arch/i386-gnu-cfi.exp
4455         * gdb.arch/i386-mpx-map.exp
4456         * gdb.arch/i386-mpx-sigsegv.exp
4457         * gdb.arch/i386-mpx-simple_segv.exp
4458         * gdb.arch/i386-mpx.exp
4459         * gdb.arch/i386-permbkpt.exp
4460         * gdb.arch/i386-prologue.exp
4461         * gdb.arch/i386-signal.exp
4462         * gdb.arch/i386-size-overlap.exp
4463         * gdb.arch/i386-unwind.exp
4464         * gdb.arch/i386-word.exp
4465         * gdb.arch/mips-fcr.exp
4466         * gdb.arch/powerpc-d128-regs.exp
4467         * gdb.arch/powerpc-stackless.exp
4468         * gdb.arch/ppc64-atomic-inst.exp
4469         * gdb.arch/s390-stackless.exp
4470         * gdb.arch/s390-tdbregs.exp
4471         * gdb.arch/s390-vregs.exp
4472         * gdb.arch/sparc-sysstep.exp
4473         * gdb.arch/thumb-bx-pc.exp
4474         * gdb.arch/thumb-singlestep.exp
4475         * gdb.arch/thumb2-it.exp
4476         * gdb.arch/vsx-regs.exp
4477         * gdb.asm/asm-source.exp
4478         * gdb.base/a2-run.exp
4479         * gdb.base/advance.exp
4480         * gdb.base/all-bin.exp
4481         * gdb.base/anon.exp
4482         * gdb.base/args.exp
4483         * gdb.base/arithmet.exp
4484         * gdb.base/async-shell.exp
4485         * gdb.base/async.exp
4486         * gdb.base/attach-pie-noexec.exp
4487         * gdb.base/attach-twice.exp
4488         * gdb.base/auto-load.exp
4489         * gdb.base/bang.exp
4490         * gdb.base/bitfields.exp
4491         * gdb.base/break-always.exp
4492         * gdb.base/break-caller-line.exp
4493         * gdb.base/break-entry.exp
4494         * gdb.base/break-inline.exp
4495         * gdb.base/break-on-linker-gcd-function.exp
4496         * gdb.base/break-probes.exp
4497         * gdb.base/break.exp
4498         * gdb.base/breakpoint-shadow.exp
4499         * gdb.base/call-ar-st.exp
4500         * gdb.base/call-sc.exp
4501         * gdb.base/call-signal-resume.exp
4502         * gdb.base/call-strs.exp
4503         * gdb.base/callfuncs.exp
4504         * gdb.base/catch-fork-static.exp
4505         * gdb.base/catch-gdb-caused-signals.exp
4506         * gdb.base/catch-load.exp
4507         * gdb.base/catch-signal-fork.exp
4508         * gdb.base/catch-signal.exp
4509         * gdb.base/catch-syscall.exp
4510         * gdb.base/charset.exp
4511         * gdb.base/checkpoint.exp
4512         * gdb.base/chng-syms.exp
4513         * gdb.base/code-expr.exp
4514         * gdb.base/code_elim.exp
4515         * gdb.base/commands.exp
4516         * gdb.base/completion.exp
4517         * gdb.base/complex.exp
4518         * gdb.base/cond-expr.exp
4519         * gdb.base/condbreak.exp
4520         * gdb.base/consecutive.exp
4521         * gdb.base/continue-all-already-running.exp
4522         * gdb.base/coredump-filter.exp
4523         * gdb.base/corefile.exp
4524         * gdb.base/dbx.exp
4525         * gdb.base/debug-expr.exp
4526         * gdb.base/define.exp
4527         * gdb.base/del.exp
4528         * gdb.base/disabled-location.exp
4529         * gdb.base/disasm-end-cu.exp
4530         * gdb.base/disasm-optim.exp
4531         * gdb.base/display.exp
4532         * gdb.base/duplicate-bp.exp
4533         * gdb.base/ena-dis-br.exp
4534         * gdb.base/ending-run.exp
4535         * gdb.base/enumval.exp
4536         * gdb.base/environ.exp
4537         * gdb.base/eu-strip-infcall.exp
4538         * gdb.base/eval-avoid-side-effects.exp
4539         * gdb.base/eval-skip.exp
4540         * gdb.base/exitsignal.exp
4541         * gdb.base/expand-psymtabs.exp
4542         * gdb.base/filesym.exp
4543         * gdb.base/find-unmapped.exp
4544         * gdb.base/finish.exp
4545         * gdb.base/float.exp
4546         * gdb.base/foll-exec-mode.exp
4547         * gdb.base/foll-exec.exp
4548         * gdb.base/foll-fork.exp
4549         * gdb.base/fortran-sym-case.exp
4550         * gdb.base/freebpcmd.exp
4551         * gdb.base/func-ptr.exp
4552         * gdb.base/func-ptrs.exp
4553         * gdb.base/funcargs.exp
4554         * gdb.base/gcore-buffer-overflow.exp
4555         * gdb.base/gcore-relro-pie.exp
4556         * gdb.base/gcore-relro.exp
4557         * gdb.base/gcore.exp
4558         * gdb.base/gdb1090.exp
4559         * gdb.base/gdb11530.exp
4560         * gdb.base/gdb11531.exp
4561         * gdb.base/gdb1821.exp
4562         * gdb.base/gdbindex-stabs.exp
4563         * gdb.base/gdbvars.exp
4564         * gdb.base/hbreak.exp
4565         * gdb.base/hbreak2.exp
4566         * gdb.base/included.exp
4567         * gdb.base/infcall-input.exp
4568         * gdb.base/inferior-died.exp
4569         * gdb.base/infnan.exp
4570         * gdb.base/info-macros.exp
4571         * gdb.base/info-os.exp
4572         * gdb.base/info-proc.exp
4573         * gdb.base/info-shared.exp
4574         * gdb.base/info-target.exp
4575         * gdb.base/infoline.exp
4576         * gdb.base/interp.exp
4577         * gdb.base/interrupt.exp
4578         * gdb.base/jit-reader.exp
4579         * gdb.base/jit-simple.exp
4580         * gdb.base/kill-after-signal.exp
4581         * gdb.base/kill-detach-inferiors-cmd.exp
4582         * gdb.base/label.exp
4583         * gdb.base/langs.exp
4584         * gdb.base/ldbl_e308.exp
4585         * gdb.base/line-symtabs.exp
4586         * gdb.base/linespecs.exp
4587         * gdb.base/list.exp
4588         * gdb.base/long_long.exp
4589         * gdb.base/longest-types.exp
4590         * gdb.base/maint.exp
4591         * gdb.base/max-value-size.exp
4592         * gdb.base/memattr.exp
4593         * gdb.base/mips_pro.exp
4594         * gdb.base/morestack.exp
4595         * gdb.base/moribund-step.exp
4596         * gdb.base/multi-forks.exp
4597         * gdb.base/nested-addr.exp
4598         * gdb.base/nextoverexit.exp
4599         * gdb.base/noreturn-finish.exp
4600         * gdb.base/noreturn-return.exp
4601         * gdb.base/nostdlib.exp
4602         * gdb.base/offsets.exp
4603         * gdb.base/opaque.exp
4604         * gdb.base/pc-fp.exp
4605         * gdb.base/permissions.exp
4606         * gdb.base/print-symbol-loading.exp
4607         * gdb.base/prologue-include.exp
4608         * gdb.base/psymtab.exp
4609         * gdb.base/ptype.exp
4610         * gdb.base/random-signal.exp
4611         * gdb.base/randomize.exp
4612         * gdb.base/range-stepping.exp
4613         * gdb.base/readline-ask.exp
4614         * gdb.base/recpar.exp
4615         * gdb.base/recurse.exp
4616         * gdb.base/relational.exp
4617         * gdb.base/restore.exp
4618         * gdb.base/return-nodebug.exp
4619         * gdb.base/return.exp
4620         * gdb.base/run-after-attach.exp
4621         * gdb.base/save-bp.exp
4622         * gdb.base/scope.exp
4623         * gdb.base/sect-cmd.exp
4624         * gdb.base/set-lang-auto.exp
4625         * gdb.base/set-noassign.exp
4626         * gdb.base/setvar.exp
4627         * gdb.base/sigall.exp
4628         * gdb.base/sigbpt.exp
4629         * gdb.base/siginfo-addr.exp
4630         * gdb.base/siginfo-infcall.exp
4631         * gdb.base/siginfo-obj.exp
4632         * gdb.base/siginfo.exp
4633         * gdb.base/signals-state-child.exp
4634         * gdb.base/signest.exp
4635         * gdb.base/sigstep.exp
4636         * gdb.base/sizeof.exp
4637         * gdb.base/skip.exp
4638         * gdb.base/solib-corrupted.exp
4639         * gdb.base/solib-nodir.exp
4640         * gdb.base/solib-search.exp
4641         * gdb.base/stack-checking.exp
4642         * gdb.base/stale-infcall.exp
4643         * gdb.base/stap-probe.exp
4644         * gdb.base/start.exp
4645         * gdb.base/step-break.exp
4646         * gdb.base/step-bt.exp
4647         * gdb.base/step-line.exp
4648         * gdb.base/step-over-exit.exp
4649         * gdb.base/step-over-syscall.exp
4650         * gdb.base/step-resume-infcall.exp
4651         * gdb.base/step-test.exp
4652         * gdb.base/store.exp
4653         * gdb.base/structs3.exp
4654         * gdb.base/sym-file.exp
4655         * gdb.base/symbol-without-target_section.exp
4656         * gdb.base/term.exp
4657         * gdb.base/testenv.exp
4658         * gdb.base/ui-redirect.exp
4659         * gdb.base/until.exp
4660         * gdb.base/unwindonsignal.exp
4661         * gdb.base/value-double-free.exp
4662         * gdb.base/vla-datatypes.exp
4663         * gdb.base/vla-ptr.exp
4664         * gdb.base/vla-sideeffect.exp
4665         * gdb.base/volatile.exp
4666         * gdb.base/watch-cond-infcall.exp
4667         * gdb.base/watch-cond.exp
4668         * gdb.base/watch-non-mem.exp
4669         * gdb.base/watch-read.exp
4670         * gdb.base/watch-vfork.exp
4671         * gdb.base/watchpoint-cond-gone.exp
4672         * gdb.base/watchpoint-delete.exp
4673         * gdb.base/watchpoint-hw-hit-once.exp
4674         * gdb.base/watchpoint-hw.exp
4675         * gdb.base/watchpoint-stops-at-right-insn.exp
4676         * gdb.base/watchpoints.exp
4677         * gdb.base/wchar.exp
4678         * gdb.base/whatis-exp.exp
4679         * gdb.btrace/buffer-size.exp
4680         * gdb.btrace/data.exp
4681         * gdb.btrace/delta.exp
4682         * gdb.btrace/dlopen.exp
4683         * gdb.btrace/enable.exp
4684         * gdb.btrace/exception.exp
4685         * gdb.btrace/function_call_history.exp
4686         * gdb.btrace/gcore.exp
4687         * gdb.btrace/instruction_history.exp
4688         * gdb.btrace/nohist.exp
4689         * gdb.btrace/reconnect.exp
4690         * gdb.btrace/record_goto-step.exp
4691         * gdb.btrace/record_goto.exp
4692         * gdb.btrace/rn-dl-bind.exp
4693         * gdb.btrace/segv.exp
4694         * gdb.btrace/step.exp
4695         * gdb.btrace/stepi.exp
4696         * gdb.btrace/tailcall-only.exp
4697         * gdb.btrace/tailcall.exp
4698         * gdb.btrace/tsx.exp
4699         * gdb.btrace/unknown_functions.exp
4700         * gdb.btrace/vdso.exp
4701         * gdb.compile/compile-ifunc.exp
4702         * gdb.compile/compile-ops.exp
4703         * gdb.compile/compile-print.exp
4704         * gdb.compile/compile-setjmp.exp
4705         * gdb.cp/abstract-origin.exp
4706         * gdb.cp/ambiguous.exp
4707         * gdb.cp/annota2.exp
4708         * gdb.cp/annota3.exp
4709         * gdb.cp/anon-ns.exp
4710         * gdb.cp/anon-struct.exp
4711         * gdb.cp/anon-union.exp
4712         * gdb.cp/arg-reference.exp
4713         * gdb.cp/baseenum.exp
4714         * gdb.cp/bool.exp
4715         * gdb.cp/breakpoint.exp
4716         * gdb.cp/bs15503.exp
4717         * gdb.cp/call-c.exp
4718         * gdb.cp/casts.exp
4719         * gdb.cp/chained-calls.exp
4720         * gdb.cp/class2.exp
4721         * gdb.cp/classes.exp
4722         * gdb.cp/cmpd-minsyms.exp
4723         * gdb.cp/converts.exp
4724         * gdb.cp/cp-relocate.exp
4725         * gdb.cp/cpcompletion.exp
4726         * gdb.cp/cpexprs.exp
4727         * gdb.cp/cplabel.exp
4728         * gdb.cp/cplusfuncs.exp
4729         * gdb.cp/cpsizeof.exp
4730         * gdb.cp/ctti.exp
4731         * gdb.cp/derivation.exp
4732         * gdb.cp/destrprint.exp
4733         * gdb.cp/dispcxx.exp
4734         * gdb.cp/enum-class.exp
4735         * gdb.cp/exception.exp
4736         * gdb.cp/exceptprint.exp
4737         * gdb.cp/expand-psymtabs-cxx.exp
4738         * gdb.cp/expand-sals.exp
4739         * gdb.cp/extern-c.exp
4740         * gdb.cp/filename.exp
4741         * gdb.cp/formatted-ref.exp
4742         * gdb.cp/fpointer.exp
4743         * gdb.cp/gdb1355.exp
4744         * gdb.cp/gdb2495.exp
4745         * gdb.cp/hang.exp
4746         * gdb.cp/impl-this.exp
4747         * gdb.cp/infcall-dlopen.exp
4748         * gdb.cp/inherit.exp
4749         * gdb.cp/iostream.exp
4750         * gdb.cp/koenig.exp
4751         * gdb.cp/local.exp
4752         * gdb.cp/m-data.exp
4753         * gdb.cp/m-static.exp
4754         * gdb.cp/mb-ctor.exp
4755         * gdb.cp/mb-inline.exp
4756         * gdb.cp/mb-templates.exp
4757         * gdb.cp/member-name.exp
4758         * gdb.cp/member-ptr.exp
4759         * gdb.cp/meth-typedefs.exp
4760         * gdb.cp/method.exp
4761         * gdb.cp/method2.exp
4762         * gdb.cp/minsym-fallback.exp
4763         * gdb.cp/misc.exp
4764         * gdb.cp/namelessclass.exp
4765         * gdb.cp/namespace-enum.exp
4766         * gdb.cp/namespace-nested-import.exp
4767         * gdb.cp/namespace.exp
4768         * gdb.cp/nextoverthrow.exp
4769         * gdb.cp/no-dmgl-verbose.exp
4770         * gdb.cp/non-trivial-retval.exp
4771         * gdb.cp/noparam.exp
4772         * gdb.cp/nsdecl.exp
4773         * gdb.cp/nsimport.exp
4774         * gdb.cp/nsnested.exp
4775         * gdb.cp/nsnoimports.exp
4776         * gdb.cp/nsrecurs.exp
4777         * gdb.cp/nsstress.exp
4778         * gdb.cp/nsusing.exp
4779         * gdb.cp/operator.exp
4780         * gdb.cp/oranking.exp
4781         * gdb.cp/overload-const.exp
4782         * gdb.cp/overload.exp
4783         * gdb.cp/ovldbreak.exp
4784         * gdb.cp/ovsrch.exp
4785         * gdb.cp/paren-type.exp
4786         * gdb.cp/parse-lang.exp
4787         * gdb.cp/pass-by-ref.exp
4788         * gdb.cp/pr-1023.exp
4789         * gdb.cp/pr-1210.exp
4790         * gdb.cp/pr-574.exp
4791         * gdb.cp/pr10687.exp
4792         * gdb.cp/pr12028.exp
4793         * gdb.cp/pr17132.exp
4794         * gdb.cp/pr17494.exp
4795         * gdb.cp/pr9067.exp
4796         * gdb.cp/pr9167.exp
4797         * gdb.cp/pr9631.exp
4798         * gdb.cp/printmethod.exp
4799         * gdb.cp/psmang.exp
4800         * gdb.cp/psymtab-parameter.exp
4801         * gdb.cp/ptype-cv-cp.exp
4802         * gdb.cp/ptype-flags.exp
4803         * gdb.cp/re-set-overloaded.exp
4804         * gdb.cp/ref-types.exp
4805         * gdb.cp/rtti.exp
4806         * gdb.cp/scope-err.exp
4807         * gdb.cp/shadow.exp
4808         * gdb.cp/smartp.exp
4809         * gdb.cp/static-method.exp
4810         * gdb.cp/static-print-quit.exp
4811         * gdb.cp/temargs.exp
4812         * gdb.cp/templates.exp
4813         * gdb.cp/try_catch.exp
4814         * gdb.cp/typedef-operator.exp
4815         * gdb.cp/typeid.exp
4816         * gdb.cp/userdef.exp
4817         * gdb.cp/using-crash.exp
4818         * gdb.cp/var-tag.exp
4819         * gdb.cp/virtbase.exp
4820         * gdb.cp/virtfunc.exp
4821         * gdb.cp/virtfunc2.exp
4822         * gdb.cp/vla-cxx.exp
4823         * gdb.disasm/t01_mov.exp
4824         * gdb.disasm/t02_mova.exp
4825         * gdb.disasm/t03_add.exp
4826         * gdb.disasm/t04_sub.exp
4827         * gdb.disasm/t05_cmp.exp
4828         * gdb.disasm/t06_ari2.exp
4829         * gdb.disasm/t07_ari3.exp
4830         * gdb.disasm/t08_or.exp
4831         * gdb.disasm/t09_xor.exp
4832         * gdb.disasm/t10_and.exp
4833         * gdb.disasm/t11_logs.exp
4834         * gdb.disasm/t12_bit.exp
4835         * gdb.disasm/t13_otr.exp
4836         * gdb.dlang/circular.exp
4837         * gdb.dwarf2/arr-stride.exp
4838         * gdb.dwarf2/arr-subrange.exp
4839         * gdb.dwarf2/atomic-type.exp
4840         * gdb.dwarf2/bad-regnum.exp
4841         * gdb.dwarf2/bitfield-parent-optimized-out.exp
4842         * gdb.dwarf2/callframecfa.exp
4843         * gdb.dwarf2/clztest.exp
4844         * gdb.dwarf2/corrupt.exp
4845         * gdb.dwarf2/data-loc.exp
4846         * gdb.dwarf2/dup-psym.exp
4847         * gdb.dwarf2/dw2-anon-mptr.exp
4848         * gdb.dwarf2/dw2-anonymous-func.exp
4849         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp
4850         * gdb.dwarf2/dw2-bad-unresolved.exp
4851         * gdb.dwarf2/dw2-basic.exp
4852         * gdb.dwarf2/dw2-canonicalize-type.exp
4853         * gdb.dwarf2/dw2-case-insensitive.exp
4854         * gdb.dwarf2/dw2-common-block.exp
4855         * gdb.dwarf2/dw2-compdir-oldgcc.exp
4856         * gdb.dwarf2/dw2-compressed.exp
4857         * gdb.dwarf2/dw2-const.exp
4858         * gdb.dwarf2/dw2-cp-infcall-ref-static.exp
4859         * gdb.dwarf2/dw2-cu-size.exp
4860         * gdb.dwarf2/dw2-dup-frame.exp
4861         * gdb.dwarf2/dw2-entry-value.exp
4862         * gdb.dwarf2/dw2-icycle.exp
4863         * gdb.dwarf2/dw2-ifort-parameter.exp
4864         * gdb.dwarf2/dw2-inline-break.exp
4865         * gdb.dwarf2/dw2-inline-param.exp
4866         * gdb.dwarf2/dw2-intercu.exp
4867         * gdb.dwarf2/dw2-intermix.exp
4868         * gdb.dwarf2/dw2-lexical-block-bare.exp
4869         * gdb.dwarf2/dw2-linkage-name-trust.exp
4870         * gdb.dwarf2/dw2-minsym-in-cu.exp
4871         * gdb.dwarf2/dw2-noloc.exp
4872         * gdb.dwarf2/dw2-op-call.exp
4873         * gdb.dwarf2/dw2-op-out-param.exp
4874         * gdb.dwarf2/dw2-opt-structptr.exp
4875         * gdb.dwarf2/dw2-param-error.exp
4876         * gdb.dwarf2/dw2-producer.exp
4877         * gdb.dwarf2/dw2-ranges-base.exp
4878         * gdb.dwarf2/dw2-ref-missing-frame.exp
4879         * gdb.dwarf2/dw2-reg-undefined.exp
4880         * gdb.dwarf2/dw2-regno-invalid.exp
4881         * gdb.dwarf2/dw2-restore.exp
4882         * gdb.dwarf2/dw2-restrict.exp
4883         * gdb.dwarf2/dw2-single-line-discriminators.exp
4884         * gdb.dwarf2/dw2-strp.exp
4885         * gdb.dwarf2/dw2-undefined-ret-addr.exp
4886         * gdb.dwarf2/dw2-unresolved.exp
4887         * gdb.dwarf2/dw2-var-zero-addr.exp
4888         * gdb.dwarf2/dw4-sig-types.exp
4889         * gdb.dwarf2/dwz.exp
4890         * gdb.dwarf2/dynarr-ptr.exp
4891         * gdb.dwarf2/enum-type.exp
4892         * gdb.dwarf2/gdb-index.exp
4893         * gdb.dwarf2/implptr-64bit.exp
4894         * gdb.dwarf2/implptr-optimized-out.exp
4895         * gdb.dwarf2/implptr.exp
4896         * gdb.dwarf2/implref-array.exp
4897         * gdb.dwarf2/implref-const.exp
4898         * gdb.dwarf2/implref-global.exp
4899         * gdb.dwarf2/implref-struct.exp
4900         * gdb.dwarf2/mac-fileno.exp
4901         * gdb.dwarf2/main-subprogram.exp
4902         * gdb.dwarf2/member-ptr-forwardref.exp
4903         * gdb.dwarf2/method-ptr.exp
4904         * gdb.dwarf2/missing-sig-type.exp
4905         * gdb.dwarf2/nonvar-access.exp
4906         * gdb.dwarf2/opaque-type-lookup.exp
4907         * gdb.dwarf2/pieces-optimized-out.exp
4908         * gdb.dwarf2/pieces.exp
4909         * gdb.dwarf2/pr10770.exp
4910         * gdb.dwarf2/pr13961.exp
4911         * gdb.dwarf2/staticvirtual.exp
4912         * gdb.dwarf2/subrange.exp
4913         * gdb.dwarf2/symtab-producer.exp
4914         * gdb.dwarf2/trace-crash.exp
4915         * gdb.dwarf2/typeddwarf.exp
4916         * gdb.dwarf2/valop.exp
4917         * gdb.dwarf2/watch-notconst.exp
4918         * gdb.fortran/array-element.exp
4919         * gdb.fortran/charset.exp
4920         * gdb.fortran/common-block.exp
4921         * gdb.fortran/complex.exp
4922         * gdb.fortran/derived-type-function.exp
4923         * gdb.fortran/derived-type.exp
4924         * gdb.fortran/logical.exp
4925         * gdb.fortran/module.exp
4926         * gdb.fortran/multi-dim.exp
4927         * gdb.fortran/nested-funcs.exp
4928         * gdb.fortran/print-formatted.exp
4929         * gdb.fortran/subarray.exp
4930         * gdb.fortran/vla-alloc-assoc.exp
4931         * gdb.fortran/vla-datatypes.exp
4932         * gdb.fortran/vla-history.exp
4933         * gdb.fortran/vla-ptr-info.exp
4934         * gdb.fortran/vla-ptype-sub.exp
4935         * gdb.fortran/vla-ptype.exp
4936         * gdb.fortran/vla-sizeof.exp
4937         * gdb.fortran/vla-type.exp
4938         * gdb.fortran/vla-value-sub-arbitrary.exp
4939         * gdb.fortran/vla-value-sub-finish.exp
4940         * gdb.fortran/vla-value-sub.exp
4941         * gdb.fortran/vla-value.exp
4942         * gdb.fortran/whatis_type.exp
4943         * gdb.go/chan.exp
4944         * gdb.go/handcall.exp
4945         * gdb.go/hello.exp
4946         * gdb.go/integers.exp
4947         * gdb.go/methods.exp
4948         * gdb.go/package.exp
4949         * gdb.go/strings.exp
4950         * gdb.go/types.exp
4951         * gdb.go/unsafe.exp
4952         * gdb.guile/scm-arch.exp
4953         * gdb.guile/scm-block.exp
4954         * gdb.guile/scm-breakpoint.exp
4955         * gdb.guile/scm-cmd.exp
4956         * gdb.guile/scm-disasm.exp
4957         * gdb.guile/scm-equal.exp
4958         * gdb.guile/scm-frame-args.exp
4959         * gdb.guile/scm-frame-inline.exp
4960         * gdb.guile/scm-frame.exp
4961         * gdb.guile/scm-iterator.exp
4962         * gdb.guile/scm-math.exp
4963         * gdb.guile/scm-objfile.exp
4964         * gdb.guile/scm-ports.exp
4965         * gdb.guile/scm-symbol.exp
4966         * gdb.guile/scm-symtab.exp
4967         * gdb.guile/scm-value-cc.exp
4968         * gdb.guile/types-module.exp
4969         * gdb.linespec/break-ask.exp
4970         * gdb.linespec/cpexplicit.exp
4971         * gdb.linespec/explicit.exp
4972         * gdb.linespec/keywords.exp
4973         * gdb.linespec/linespec.exp
4974         * gdb.linespec/ls-dollar.exp
4975         * gdb.linespec/ls-errs.exp
4976         * gdb.linespec/skip-two.exp
4977         * gdb.linespec/thread.exp
4978         * gdb.mi/mi-async.exp
4979         * gdb.mi/mi-basics.exp
4980         * gdb.mi/mi-break.exp
4981         * gdb.mi/mi-catch-load.exp
4982         * gdb.mi/mi-cli.exp
4983         * gdb.mi/mi-cmd-param-changed.exp
4984         * gdb.mi/mi-console.exp
4985         * gdb.mi/mi-detach.exp
4986         * gdb.mi/mi-disassemble.exp
4987         * gdb.mi/mi-eval.exp
4988         * gdb.mi/mi-file-transfer.exp
4989         * gdb.mi/mi-file.exp
4990         * gdb.mi/mi-fill-memory.exp
4991         * gdb.mi/mi-inheritance-syntax-error.exp
4992         * gdb.mi/mi-linespec-err-cp.exp
4993         * gdb.mi/mi-logging.exp
4994         * gdb.mi/mi-memory-changed.exp
4995         * gdb.mi/mi-read-memory.exp
4996         * gdb.mi/mi-record-changed.exp
4997         * gdb.mi/mi-reg-undefined.exp
4998         * gdb.mi/mi-regs.exp
4999         * gdb.mi/mi-return.exp
5000         * gdb.mi/mi-reverse.exp
5001         * gdb.mi/mi-simplerun.exp
5002         * gdb.mi/mi-solib.exp
5003         * gdb.mi/mi-stack.exp
5004         * gdb.mi/mi-stepi.exp
5005         * gdb.mi/mi-syn-frame.exp
5006         * gdb.mi/mi-until.exp
5007         * gdb.mi/mi-var-block.exp
5008         * gdb.mi/mi-var-child.exp
5009         * gdb.mi/mi-var-cmd.exp
5010         * gdb.mi/mi-var-cp.exp
5011         * gdb.mi/mi-var-display.exp
5012         * gdb.mi/mi-var-invalidate.exp
5013         * gdb.mi/mi-var-list-children-invalid-grandchild.exp
5014         * gdb.mi/mi-vla-fortran.exp
5015         * gdb.mi/mi-watch.exp
5016         * gdb.mi/mi2-var-child.exp
5017         * gdb.mi/user-selected-context-sync.exp
5018         * gdb.modula2/unbounded-array.exp
5019         * gdb.multi/dummy-frame-restore.exp
5020         * gdb.multi/multi-arch-exec.exp
5021         * gdb.multi/multi-arch.exp
5022         * gdb.multi/tids.exp
5023         * gdb.multi/watchpoint-multi.exp
5024         * gdb.opencl/callfuncs.exp
5025         * gdb.opencl/convs_casts.exp
5026         * gdb.opencl/datatypes.exp
5027         * gdb.opencl/operators.exp
5028         * gdb.opencl/vec_comps.exp
5029         * gdb.opt/clobbered-registers-O2.exp
5030         * gdb.opt/inline-break.exp
5031         * gdb.opt/inline-bt.exp
5032         * gdb.opt/inline-cmds.exp
5033         * gdb.opt/inline-locals.exp
5034         * gdb.pascal/case-insensitive-symbols.exp
5035         * gdb.pascal/floats.exp
5036         * gdb.pascal/gdb11492.exp
5037         * gdb.python/lib-types.exp
5038         * gdb.python/py-arch.exp
5039         * gdb.python/py-as-string.exp
5040         * gdb.python/py-bad-printers.exp
5041         * gdb.python/py-block.exp
5042         * gdb.python/py-breakpoint-create-fail.exp
5043         * gdb.python/py-breakpoint.exp
5044         * gdb.python/py-caller-is.exp
5045         * gdb.python/py-cmd.exp
5046         * gdb.python/py-explore-cc.exp
5047         * gdb.python/py-explore.exp
5048         * gdb.python/py-finish-breakpoint.exp
5049         * gdb.python/py-finish-breakpoint2.exp
5050         * gdb.python/py-frame-args.exp
5051         * gdb.python/py-frame-inline.exp
5052         * gdb.python/py-frame.exp
5053         * gdb.python/py-framefilter-mi.exp
5054         * gdb.python/py-infthread.exp
5055         * gdb.python/py-lazy-string.exp
5056         * gdb.python/py-linetable.exp
5057         * gdb.python/py-mi-events.exp
5058         * gdb.python/py-mi-objfile.exp
5059         * gdb.python/py-mi.exp
5060         * gdb.python/py-objfile.exp
5061         * gdb.python/py-pp-integral.exp
5062         * gdb.python/py-pp-maint.exp
5063         * gdb.python/py-pp-re-notag.exp
5064         * gdb.python/py-pp-registration.exp
5065         * gdb.python/py-recurse-unwind.exp
5066         * gdb.python/py-strfns.exp
5067         * gdb.python/py-symbol.exp
5068         * gdb.python/py-symtab.exp
5069         * gdb.python/py-sync-interp.exp
5070         * gdb.python/py-typeprint.exp
5071         * gdb.python/py-unwind-maint.exp
5072         * gdb.python/py-unwind.exp
5073         * gdb.python/py-value-cc.exp
5074         * gdb.python/py-xmethods.exp
5075         * gdb.reverse/amd64-tailcall-reverse.exp
5076         * gdb.reverse/break-precsave.exp
5077         * gdb.reverse/break-reverse.exp
5078         * gdb.reverse/consecutive-precsave.exp
5079         * gdb.reverse/consecutive-reverse.exp
5080         * gdb.reverse/finish-precsave.exp
5081         * gdb.reverse/finish-reverse-bkpt.exp
5082         * gdb.reverse/finish-reverse.exp
5083         * gdb.reverse/fstatat-reverse.exp
5084         * gdb.reverse/getresuid-reverse.exp
5085         * gdb.reverse/i386-precsave.exp
5086         * gdb.reverse/i386-reverse.exp
5087         * gdb.reverse/i386-sse-reverse.exp
5088         * gdb.reverse/i387-env-reverse.exp
5089         * gdb.reverse/i387-stack-reverse.exp
5090         * gdb.reverse/insn-reverse.exp
5091         * gdb.reverse/machinestate-precsave.exp
5092         * gdb.reverse/machinestate.exp
5093         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5094         * gdb.reverse/pipe-reverse.exp
5095         * gdb.reverse/readv-reverse.exp
5096         * gdb.reverse/recvmsg-reverse.exp
5097         * gdb.reverse/rerun-prec.exp
5098         * gdb.reverse/s390-mvcle.exp
5099         * gdb.reverse/step-precsave.exp
5100         * gdb.reverse/step-reverse.exp
5101         * gdb.reverse/time-reverse.exp
5102         * gdb.reverse/until-precsave.exp
5103         * gdb.reverse/until-reverse.exp
5104         * gdb.reverse/waitpid-reverse.exp
5105         * gdb.reverse/watch-precsave.exp
5106         * gdb.reverse/watch-reverse.exp
5107         * gdb.rust/generics.exp
5108         * gdb.rust/methods.exp
5109         * gdb.rust/modules.exp
5110         * gdb.rust/simple.exp
5111         * gdb.server/connect-with-no-symbol-file.exp
5112         * gdb.server/ext-attach.exp
5113         * gdb.server/ext-restart.exp
5114         * gdb.server/ext-wrapper.exp
5115         * gdb.server/file-transfer.exp
5116         * gdb.server/server-exec-info.exp
5117         * gdb.server/server-kill.exp
5118         * gdb.server/server-mon.exp
5119         * gdb.server/wrapper.exp
5120         * gdb.stabs/exclfwd.exp
5121         * gdb.stabs/gdb11479.exp
5122         * gdb.threads/clone-new-thread-event.exp
5123         * gdb.threads/corethreads.exp
5124         * gdb.threads/current-lwp-dead.exp
5125         * gdb.threads/dlopen-libpthread.exp
5126         * gdb.threads/gcore-thread.exp
5127         * gdb.threads/sigstep-threads.exp
5128         * gdb.threads/watchpoint-fork.exp
5129         * gdb.trace/actions-changed.exp
5130         * gdb.trace/backtrace.exp
5131         * gdb.trace/change-loc.exp
5132         * gdb.trace/circ.exp
5133         * gdb.trace/collection.exp
5134         * gdb.trace/disconnected-tracing.exp
5135         * gdb.trace/ftrace.exp
5136         * gdb.trace/mi-trace-frame-collected.exp
5137         * gdb.trace/mi-trace-unavailable.exp
5138         * gdb.trace/mi-traceframe-changed.exp
5139         * gdb.trace/mi-tsv-changed.exp
5140         * gdb.trace/no-attach-trace.exp
5141         * gdb.trace/passc-dyn.exp
5142         * gdb.trace/qtro.exp
5143         * gdb.trace/range-stepping.exp
5144         * gdb.trace/read-memory.exp
5145         * gdb.trace/save-trace.exp
5146         * gdb.trace/signal.exp
5147         * gdb.trace/status-stop.exp
5148         * gdb.trace/tfile.exp
5149         * gdb.trace/trace-break.exp
5150         * gdb.trace/trace-buffer-size.exp
5151         * gdb.trace/trace-condition.exp
5152         * gdb.trace/tracefile-pseudo-reg.exp
5153         * gdb.trace/tstatus.exp
5154         * gdb.trace/unavailable.exp
5155         * gdb.trace/while-dyn.exp
5156         * gdb.trace/while-stepping.exp
5157
5158 2016-12-22  Doug Evans  <xdje42@gmail.com>
5159
5160         * gdb.base/maint.exp: Update tests for maint print symbols, psymbols
5161         and msymbols.
5162
5163 2016-12-19  Yao Qi  <yao.qi@linaro.org>
5164
5165         * gdb.gdb/selftest.exp (do_steps_and_nexts): Remove.
5166         (test_with_self): Don't call do_steps_and_nexts, and remove
5167         code about stepping into xmalloc.
5168
5169 2016-12-09  Yao Qi  <yao.qi@linaro.org>
5170
5171         * gdb.base/all-architectures.exp.in: Remove kfail for rx.
5172
5173 2016-12-09  Yao Qi  <yao.qi@linaro.org>
5174
5175         * gdb.base/all-architectures.exp.in: Remove kfail for rl78.
5176
5177 2016-12-09  Pedro Alves  <palves@redhat.com>
5178
5179         * gdb.base/all-architectures-0.exp: New file.
5180         * gdb.base/all-architectures-1.exp: New file.
5181         * gdb.base/all-architectures-2.exp: New file.
5182         * gdb.base/all-architectures-3.exp: New file.
5183         * gdb.base/all-architectures-4.exp: New file.
5184         * gdb.base/all-architectures-5.exp: New file.
5185         * gdb.base/all-architectures-6.exp: New file.
5186         * gdb.base/all-architectures-7.exp: New file.
5187         * gdb.base/all-architectures.exp.in: New file.
5188
5189 2016-12-09  Yao Qi  <yao.qi@linaro.org>
5190
5191         * gdb.perf/skip-prologue.exp: Add parameter COMPILE.
5192
5193 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
5194
5195         * gdb.base/maint.exp: Use gdb_test instead of gdb_test_multiple when
5196         possible.
5197         Remove useless pattern-matching code.
5198
5199 2016-12-02  Pedro Alves  <palves@redhat.com>
5200
5201         * gdb.base/commands.exp (user_defined_command_manyargs_test): New
5202         procedure.
5203         (top level): Call it.
5204
5205 2016-12-02  Pedro Alves  <palves@redhat.com>
5206
5207         * gdb.base/commands.exp (user_defined_command_args_stack_test):
5208         New procedure.
5209         (top level): Call it.
5210
5211 2016-12-02  Pedro Alves  <palves@redhat.com>
5212
5213         PR cli/20559
5214         * gdb.base/commands.exp (user_defined_command_args_eval): New
5215         procedure.
5216         (top level): Call it.
5217
5218 2016-12-02  Luis Machado  <lgustavo@codesourcery.com>
5219
5220         * gdb.base/ovldbreak.exp (take_gdb_out_of_choice_menu): Restore
5221         timeout handling.
5222
5223 2016-12-02  Tom Tromey  <tom@tromey.com>
5224
5225         * gdb.dwarf2/main-subprogram.c: New file.
5226         * gdb.dwarf2/main-subprogram.exp: New file.
5227
5228 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5229
5230         * gdb.base/maint.exp: Remove timeout handling for gdb_test_multiple.
5231         * gdb.cp/gdb2495.exp: Likewise and convert gdb_test_multiple into
5232         gdb_test_no_output for a couple of cases.
5233         * gdb.cp/ovldbreak.exp: Remove timeout handling for gdb_test_multiple.
5234
5235 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5236
5237         Fix test names and standardize compilation error messages throughout
5238         the following files:
5239
5240         * gdb.ada/start.exp
5241         * gdb.arch/alpha-step.exp
5242         * gdb.arch/e500-prologue.exp
5243         * gdb.arch/ftrace-insn-reloc.exp
5244         * gdb.arch/gdb1291.exp
5245         * gdb.arch/gdb1431.exp
5246         * gdb.arch/gdb1558.exp
5247         * gdb.arch/i386-dr3-watch.exp
5248         * gdb.arch/i386-sse-stack-align.exp
5249         * gdb.arch/ia64-breakpoint-shadow.exp
5250         * gdb.arch/pa-nullify.exp
5251         * gdb.arch/powerpc-aix-prologue.exp
5252         * gdb.arch/thumb-bx-pc.exp
5253         * gdb.base/annota1.exp
5254         * gdb.base/annota3.exp
5255         * gdb.base/arrayidx.exp
5256         * gdb.base/assign.exp
5257         * gdb.base/attach.exp
5258         * gdb.base/auxv.exp
5259         * gdb.base/bang.exp
5260         * gdb.base/bfp-test.exp
5261         * gdb.base/bigcore.exp
5262         * gdb.base/bitfields2.exp
5263         * gdb.base/break-fun-addr.exp
5264         * gdb.base/break-probes.exp
5265         * gdb.base/call-rt-st.exp
5266         * gdb.base/callexit.exp
5267         * gdb.base/catch-fork-kill.exp
5268         * gdb.base/charset.exp
5269         * gdb.base/checkpoint.exp
5270         * gdb.base/comprdebug.exp
5271         * gdb.base/constvars.exp
5272         * gdb.base/coredump-filter.exp
5273         * gdb.base/cursal.exp
5274         * gdb.base/cvexpr.exp
5275         * gdb.base/detach.exp
5276         * gdb.base/display.exp
5277         * gdb.base/dmsym.exp
5278         * gdb.base/dprintf-pending.exp
5279         * gdb.base/dso2dso.exp
5280         * gdb.base/dtrace-probe.exp
5281         * gdb.base/dump.exp
5282         * gdb.base/enum_cond.exp
5283         * gdb.base/exe-lock.exp
5284         * gdb.base/exec-invalid-sysroot.exp
5285         * gdb.base/execl-update-breakpoints.exp
5286         * gdb.base/exprs.exp
5287         * gdb.base/fileio.exp
5288         * gdb.base/find.exp
5289         * gdb.base/finish.exp
5290         * gdb.base/fixsection.exp
5291         * gdb.base/foll-vfork.exp
5292         * gdb.base/frame-args.exp
5293         * gdb.base/gcore.exp
5294         * gdb.base/gdb1250.exp
5295         * gdb.base/global-var-nested-by-dso.exp
5296         * gdb.base/gnu-ifunc.exp
5297         * gdb.base/hashline1.exp
5298         * gdb.base/hashline2.exp
5299         * gdb.base/hashline3.exp
5300         * gdb.base/hbreak-in-shr-unsupported.exp
5301         * gdb.base/huge.exp
5302         * gdb.base/infcall-input.exp
5303         * gdb.base/info-fun.exp
5304         * gdb.base/info-shared.exp
5305         * gdb.base/jit-simple.exp
5306         * gdb.base/jit-so.exp
5307         * gdb.base/jit.exp
5308         * gdb.base/jump.exp
5309         * gdb.base/label.exp
5310         * gdb.base/lineinc.exp
5311         * gdb.base/logical.exp
5312         * gdb.base/longjmp.exp
5313         * gdb.base/macscp.exp
5314         * gdb.base/miscexprs.exp
5315         * gdb.base/new-ui-echo.exp
5316         * gdb.base/new-ui-pending-input.exp
5317         * gdb.base/new-ui.exp
5318         * gdb.base/nodebug.exp
5319         * gdb.base/nofield.exp
5320         * gdb.base/offsets.exp
5321         * gdb.base/overlays.exp
5322         * gdb.base/pending.exp
5323         * gdb.base/pointers.exp
5324         * gdb.base/pr11022.exp
5325         * gdb.base/printcmds.exp
5326         * gdb.base/prologue.exp
5327         * gdb.base/ptr-typedef.exp
5328         * gdb.base/realname-expand.exp
5329         * gdb.base/relativedebug.exp
5330         * gdb.base/relocate.exp
5331         * gdb.base/remote.exp
5332         * gdb.base/reread.exp
5333         * gdb.base/return2.exp
5334         * gdb.base/savedregs.exp
5335         * gdb.base/sep.exp
5336         * gdb.base/sepdebug.exp
5337         * gdb.base/sepsymtab.exp
5338         * gdb.base/set-inferior-tty.exp
5339         * gdb.base/setshow.exp
5340         * gdb.base/shlib-call.exp
5341         * gdb.base/sigaltstack.exp
5342         * gdb.base/siginfo-addr.exp
5343         * gdb.base/signals.exp
5344         * gdb.base/signull.exp
5345         * gdb.base/sigrepeat.exp
5346         * gdb.base/so-impl-ld.exp
5347         * gdb.base/solib-display.exp
5348         * gdb.base/solib-overlap.exp
5349         * gdb.base/solib-search.exp
5350         * gdb.base/solib-symbol.exp
5351         * gdb.base/structs.exp
5352         * gdb.base/structs2.exp
5353         * gdb.base/symtab-search-order.exp
5354         * gdb.base/twice.exp
5355         * gdb.base/unload.exp
5356         * gdb.base/varargs.exp
5357         * gdb.base/watchpoint-solib.exp
5358         * gdb.base/watchpoint.exp
5359         * gdb.base/whatis.exp
5360         * gdb.base/wrong_frame_bt_full.exp
5361         * gdb.btrace/dlopen.exp
5362         * gdb.cell/ea-standalone.exp
5363         * gdb.cell/ea-test.exp
5364         * gdb.cp/dispcxx.exp
5365         * gdb.cp/gdb2384.exp
5366         * gdb.cp/method2.exp
5367         * gdb.cp/nextoverthrow.exp
5368         * gdb.cp/pr10728.exp
5369         * gdb.disasm/am33.exp
5370         * gdb.disasm/h8300s.exp
5371         * gdb.disasm/mn10300.exp
5372         * gdb.disasm/sh3.exp
5373         * gdb.dwarf2/dw2-dir-file-name.exp
5374         * gdb.fortran/complex.exp
5375         * gdb.fortran/library-module.exp
5376         * gdb.guile/scm-pretty-print.exp
5377         * gdb.guile/scm-symbol.exp
5378         * gdb.guile/scm-type.exp
5379         * gdb.guile/scm-value.exp
5380         * gdb.linespec/linespec.exp
5381         * gdb.mi/gdb701.exp
5382         * gdb.mi/gdb792.exp
5383         * gdb.mi/mi-breakpoint-changed.exp
5384         * gdb.mi/mi-dprintf-pending.exp
5385         * gdb.mi/mi-dprintf.exp
5386         * gdb.mi/mi-exit-code.exp
5387         * gdb.mi/mi-pending.exp
5388         * gdb.mi/mi-solib.exp
5389         * gdb.mi/new-ui-mi-sync.exp
5390         * gdb.mi/pr11022.exp
5391         * gdb.mi/user-selected-context-sync.exp
5392         * gdb.opt/solib-intra-step.exp
5393         * gdb.python/py-events.exp
5394         * gdb.python/py-finish-breakpoint.exp
5395         * gdb.python/py-mi.exp
5396         * gdb.python/py-prettyprint.exp
5397         * gdb.python/py-shared.exp
5398         * gdb.python/py-symbol.exp
5399         * gdb.python/py-template.exp
5400         * gdb.python/py-type.exp
5401         * gdb.python/py-value.exp
5402         * gdb.reverse/solib-precsave.exp
5403         * gdb.reverse/solib-reverse.exp
5404         * gdb.server/solib-list.exp
5405         * gdb.stabs/weird.exp
5406         * gdb.threads/reconnect-signal.exp
5407         * gdb.threads/stepi-random-signal.exp
5408         * gdb.trace/actions.exp
5409         * gdb.trace/ax.exp
5410         * gdb.trace/backtrace.exp
5411         * gdb.trace/change-loc.exp
5412         * gdb.trace/deltrace.exp
5413         * gdb.trace/ftrace-lock.exp
5414         * gdb.trace/ftrace.exp
5415         * gdb.trace/infotrace.exp
5416         * gdb.trace/mi-tracepoint-changed.exp
5417         * gdb.trace/packetlen.exp
5418         * gdb.trace/passcount.exp
5419         * gdb.trace/pending.exp
5420         * gdb.trace/range-stepping.exp
5421         * gdb.trace/report.exp
5422         * gdb.trace/stap-trace.exp
5423         * gdb.trace/tfind.exp
5424         * gdb.trace/trace-break.exp
5425         * gdb.trace/trace-condition.exp
5426         * gdb.trace/trace-enable-disable.exp
5427         * gdb.trace/trace-mt.exp
5428         * gdb.trace/tracecmd.exp
5429         * gdb.trace/tspeed.exp
5430         * gdb.trace/tsv.exp
5431         * lib/perftest.exp
5432
5433 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5434
5435         * gdb.cp/gdb2495.exp: Replace gdb_test_multiple
5436         with gdb_test_no_output.
5437         Use command as test name.
5438
5439 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5440
5441         Fix test names starting with uppercase throughout the files.
5442
5443         * gdb.ada/assign_1.exp
5444         * gdb.ada/boolean_expr.exp
5445         * gdb.base/arrayidx.exp
5446         * gdb.base/del.exp
5447         * gdb.base/gcore-buffer-overflow.exp
5448         * gdb.base/testenv.exp
5449         * gdb.compile/compile.exp
5450         * gdb.python/py-framefilter-invalidarg.exp
5451         * gdb.python/py-framefilter.exp
5452
5453 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5454
5455         Fix test names starting with uppercase throughout the files.
5456
5457         * gdb.ada/array_return.exp
5458         * gdb.ada/expr_delims.exp
5459         * gdb.ada/mi_dyn_arr.exp
5460         * gdb.ada/mi_interface.exp
5461         * gdb.ada/mi_var_array.exp
5462         * gdb.ada/watch_arg.exp
5463         * gdb.arch/alpha-step.exp
5464         * gdb.arch/altivec-regs.exp
5465         * gdb.arch/e500-regs.exp
5466         * gdb.arch/powerpc-d128-regs.exp
5467         * gdb.base/arrayidx.exp
5468         * gdb.base/break.exp
5469         * gdb.base/checkpoint.exp
5470         * gdb.base/debug-expr.exp
5471         * gdb.base/dmsym.exp
5472         * gdb.base/radix.exp
5473         * gdb.base/sepdebug.exp
5474         * gdb.base/testenv.exp
5475         * gdb.base/watch_thread_num.exp
5476         * gdb.base/watchpoint-cond-gone.exp
5477         * gdb.cell/break.exp
5478         * gdb.cell/ea-cache.exp
5479         * gdb.compile/compile.exp
5480         * gdb.cp/gdb2495.exp
5481         * gdb.gdb/selftest.exp
5482         * gdb.gdb/xfullpath.exp
5483         * gdb.go/hello.exp
5484         * gdb.go/integers.exp
5485         * gdb.objc/basicclass.exp
5486         * gdb.pascal/hello.exp
5487         * gdb.pascal/integers.exp
5488         * gdb.python/py-breakpoint.exp
5489         * gdb.python/py-cmd.exp
5490         * gdb.python/py-linetable.exp
5491         * gdb.python/py-xmethods.exp
5492         * gdb.python/python.exp
5493         * gdb.reverse/consecutive-precsave.exp
5494         * gdb.reverse/finish-precsave.exp
5495         * gdb.reverse/i386-precsave.exp
5496         * gdb.reverse/machinestate-precsave.exp
5497         * gdb.reverse/sigall-precsave.exp
5498         * gdb.reverse/solib-precsave.exp
5499         * gdb.reverse/step-precsave.exp
5500         * gdb.reverse/until-precsave.exp
5501         * gdb.reverse/watch-precsave.exp
5502         * gdb.threads/leader-exit.exp
5503         * gdb.threads/pthreads.exp
5504         * gdb.threads/wp-replication.exp
5505         * gdb.trace/actions.exp
5506         * gdb.trace/mi-tsv-changed.exp
5507         * gdb.trace/tsv.exp
5508
5509 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5510
5511         Fix test names starting with uppercase throughout the files.
5512
5513         * gdb.arch/i386-bp_permanent.exp
5514         * gdb.arch/i386-gnu-cfi.exp
5515         * gdb.base/disasm-end-cu.exp
5516         * gdb.base/macscp.exp
5517         * gdb.base/pending.exp
5518         * gdb.base/watch_thread_num.exp
5519         * gdb.cp/exception.exp
5520         * gdb.cp/gdb2495.exp
5521         * gdb.cp/local.exp
5522         * gdb.python/py-evsignal.exp
5523         * gdb.python/python.exp
5524         * gdb.trace/tracecmd.exp
5525
5526 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5527
5528         Fix test names starting with uppercase throughout the files.
5529
5530         * gdb.base/charset.exp
5531         * gdb.base/eval.exp
5532         * gdb.base/multi-forks.exp
5533         * gdb.guile/scm-progspace.exp
5534         * gdb.opencl/datatypes.exp
5535         * gdb.python/py-block.exp
5536         * gdb.python/py-function.exp
5537         * gdb.python/py-symbol.exp
5538         * gdb.python/py-symtab.exp
5539         * gdb.python/py-xmethods.exp
5540         * gdb.reverse/break-precsave.exp
5541         * gdb.reverse/break-reverse.exp
5542         * gdb.reverse/consecutive-precsave.exp
5543         * gdb.reverse/consecutive-reverse.exp
5544         * gdb.reverse/finish-precsave.exp
5545         * gdb.reverse/finish-reverse-bkpt.exp
5546         * gdb.reverse/finish-reverse.exp
5547         * gdb.reverse/fstatat-reverse.exp
5548         * gdb.reverse/getresuid-reverse.exp
5549         * gdb.reverse/i386-precsave.exp
5550         * gdb.reverse/i386-reverse.exp
5551         * gdb.reverse/i386-sse-reverse.exp
5552         * gdb.reverse/i387-stack-reverse.exp
5553         * gdb.reverse/insn-reverse.exp
5554         * gdb.reverse/machinestate-precsave.exp
5555         * gdb.reverse/machinestate.exp
5556         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5557         * gdb.reverse/pipe-reverse.exp
5558         * gdb.reverse/readv-reverse.exp
5559         * gdb.reverse/recvmsg-reverse.exp
5560         * gdb.reverse/rerun-prec.exp
5561         * gdb.reverse/s390-mvcle.exp
5562         * gdb.reverse/sigall-precsave.exp
5563         * gdb.reverse/sigall-reverse.exp
5564         * gdb.reverse/solib-precsave.exp
5565         * gdb.reverse/solib-reverse.exp
5566         * gdb.reverse/step-precsave.exp
5567         * gdb.reverse/step-reverse.exp
5568         * gdb.reverse/time-reverse.exp
5569         * gdb.reverse/until-precsave.exp
5570         * gdb.reverse/until-reverse.exp
5571         * gdb.reverse/waitpid-reverse.exp
5572         * gdb.reverse/watch-precsave.exp
5573         * gdb.reverse/watch-reverse.exp
5574
5575 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5576
5577         Fix test names starting with uppercase throughout the files.
5578
5579         * gdb.arch/i386-mpx-simple_segv.exp
5580         * gdb.arch/i386-mpx.exp
5581         * gdb.arch/i386-permbkpt.exp
5582         * gdb.arch/pa-nullify.exp
5583         * gdb.arch/powerpc-d128-regs.exp
5584         * gdb.arch/vsx-regs.exp
5585         * gdb.base/bfp-test.exp
5586         * gdb.base/break.exp
5587         * gdb.base/breakpoint-shadow.exp
5588         * gdb.base/callfuncs.exp
5589         * gdb.base/charset.exp
5590         * gdb.base/commands.exp
5591         * gdb.base/completion.exp
5592         * gdb.base/dfp-test.exp
5593         * gdb.base/echo.exp
5594         * gdb.base/ending-run.exp
5595         * gdb.base/eval.exp
5596         * gdb.base/expand-psymtabs.exp
5597         * gdb.base/float128.exp
5598         * gdb.base/floatn.exp
5599         * gdb.base/foll-exec-mode.exp
5600         * gdb.base/gdb1056.exp
5601         * gdb.base/gdb11531.exp
5602         * gdb.base/kill-after-signal.exp
5603         * gdb.base/multi-forks.exp
5604         * gdb.base/overlays.exp
5605         * gdb.base/pending.exp
5606         * gdb.base/sepdebug.exp
5607         * gdb.base/testenv.exp
5608         * gdb.base/valgrind-db-attach.exp
5609         * gdb.base/watch_thread_num.exp
5610         * gdb.base/watchpoint-cond-gone.exp
5611         * gdb.base/watchpoint.exp
5612         * gdb.base/watchpoints.exp
5613         * gdb.cp/arg-reference.exp
5614         * gdb.cp/baseenum.exp
5615         * gdb.cp/operator.exp
5616         * gdb.cp/shadow.exp
5617         * gdb.dwarf2/dw2-op-out-param.exp
5618         * gdb.dwarf2/dw2-reg-undefined.exp
5619         * gdb.go/chan.exp
5620         * gdb.go/hello.exp
5621         * gdb.go/integers.exp
5622         * gdb.go/methods.exp
5623         * gdb.go/package.exp
5624         * gdb.guile/scm-parameter.exp
5625         * gdb.guile/scm-progspace.exp
5626         * gdb.guile/scm-value.exp
5627         * gdb.mi/mi-pending.exp
5628         * gdb.mi/user-selected-context-sync.exp
5629         * gdb.multi/multi-attach.exp
5630         * gdb.multi/tids.exp
5631         * gdb.opt/clobbered-registers-O2.exp
5632         * gdb.pascal/floats.exp
5633         * gdb.pascal/integers.exp
5634         * gdb.python/py-block.exp
5635         * gdb.python/py-events.exp
5636         * gdb.python/py-parameter.exp
5637         * gdb.python/py-symbol.exp
5638         * gdb.python/py-symtab.exp
5639         * gdb.python/py-type.exp
5640         * gdb.python/py-value.exp
5641         * gdb.python/py-xmethods.exp
5642         * gdb.python/python.exp
5643         * gdb.reverse/break-precsave.exp
5644         * gdb.reverse/consecutive-precsave.exp
5645         * gdb.reverse/finish-precsave.exp
5646         * gdb.reverse/i386-precsave.exp
5647         * gdb.reverse/machinestate-precsave.exp
5648         * gdb.reverse/sigall-precsave.exp
5649         * gdb.reverse/solib-precsave.exp
5650         * gdb.reverse/step-precsave.exp
5651         * gdb.reverse/until-precsave.exp
5652         * gdb.reverse/watch-precsave.exp
5653         * gdb.server/ext-attach.exp
5654         * gdb.server/ext-restart.exp
5655         * gdb.server/ext-run.exp
5656         * gdb.server/ext-wrapper.exp
5657         * gdb.stabs/gdb11479.exp
5658         * gdb.stabs/weird.exp
5659         * gdb.threads/attach-many-short-lived-threads.exp
5660         * gdb.threads/kill.exp
5661         * gdb.threads/watchpoint-fork.exp
5662
5663 2016-12-01  Luis Machado  <lgustavo@codesourcery.com>
5664
5665         Fix test names starting with uppercase throughout all the files below.
5666
5667         * gdb.ada/array_return.exp
5668         * gdb.ada/catch_ex.exp
5669         * gdb.ada/info_exc.exp
5670         * gdb.ada/mi_catch_ex.exp
5671         * gdb.ada/mi_dyn_arr.exp
5672         * gdb.ada/mi_ex_cond.exp
5673         * gdb.ada/mi_exc_info.exp
5674         * gdb.ada/mi_interface.exp
5675         * gdb.ada/mi_task_arg.exp
5676         * gdb.ada/mi_task_info.exp
5677         * gdb.ada/mi_var_array.exp
5678         * gdb.arch/alpha-step.exp
5679         * gdb.arch/amd64-disp-step.exp
5680         * gdb.arch/arm-disp-step.exp
5681         * gdb.arch/disp-step-insn-reloc.exp
5682         * gdb.arch/e500-prologue.exp
5683         * gdb.arch/ftrace-insn-reloc.exp
5684         * gdb.arch/gdb1558.exp
5685         * gdb.arch/i386-bp_permanent.exp
5686         * gdb.arch/i386-disp-step.exp
5687         * gdb.arch/i386-float.exp
5688         * gdb.arch/i386-gnu-cfi.exp
5689         * gdb.arch/ia64-breakpoint-shadow.exp
5690         * gdb.arch/mips16-thunks.exp
5691         * gdb.arch/pa-nullify.exp
5692         * gdb.arch/powerpc-aix-prologue.exp
5693         * gdb.arch/powerpc-power.exp
5694         * gdb.arch/ppc-dfp.exp
5695         * gdb.arch/s390-tdbregs.exp
5696         * gdb.arch/spu-info.exp
5697         * gdb.arch/spu-ls.exp
5698         * gdb.arch/thumb-bx-pc.exp
5699         * gdb.base/advance.exp
5700         * gdb.base/annota-input-while-running.exp
5701         * gdb.base/arrayidx.exp
5702         * gdb.base/asmlabel.exp
5703         * gdb.base/async.exp
5704         * gdb.base/attach-wait-input.exp
5705         * gdb.base/auto-connect-native-target.exp
5706         * gdb.base/batch-preserve-term-settings.exp
5707         * gdb.base/bfp-test.exp
5708         * gdb.base/bigcore.exp
5709         * gdb.base/bp-permanent.exp
5710         * gdb.base/break-always.exp
5711         * gdb.base/break-fun-addr.exp
5712         * gdb.base/break-idempotent.exp
5713         * gdb.base/break-main-file-remove-fail.exp
5714         * gdb.base/break-probes.exp
5715         * gdb.base/break-unload-file.exp
5716         * gdb.base/break.exp
5717         * gdb.base/call-ar-st.exp
5718         * gdb.base/call-rt-st.exp
5719         * gdb.base/call-sc.exp
5720         * gdb.base/call-signal-resume.exp
5721         * gdb.base/call-strs.exp
5722         * gdb.base/callexit.exp
5723         * gdb.base/callfuncs.exp
5724         * gdb.base/catch-gdb-caused-signals.exp
5725         * gdb.base/catch-signal-siginfo-cond.exp
5726         * gdb.base/catch-syscall.exp
5727         * gdb.base/compare-sections.exp
5728         * gdb.base/cond-eval-mode.exp
5729         * gdb.base/condbreak-call-false.exp
5730         * gdb.base/consecutive-step-over.exp
5731         * gdb.base/cursal.exp
5732         * gdb.base/disabled-location.exp
5733         * gdb.base/disasm-end-cu.exp
5734         * gdb.base/display.exp
5735         * gdb.base/double-prompt-target-event-error.exp
5736         * gdb.base/dprintf-bp-same-addr.exp
5737         * gdb.base/dprintf-detach.exp
5738         * gdb.base/dprintf-next.exp
5739         * gdb.base/dprintf-non-stop.exp
5740         * gdb.base/dprintf-pending.exp
5741         * gdb.base/dso2dso.exp
5742         * gdb.base/ending-run.exp
5743         * gdb.base/enum_cond.exp
5744         * gdb.base/examine-backward.exp
5745         * gdb.base/exe-lock.exp
5746         * gdb.base/exec-invalid-sysroot.exp
5747         * gdb.base/execl-update-breakpoints.exp
5748         * gdb.base/execution-termios.exp
5749         * gdb.base/fileio.exp
5750         * gdb.base/fixsection.exp
5751         * gdb.base/foll-exec-mode.exp
5752         * gdb.base/foll-exec.exp
5753         * gdb.base/fork-running-state.exp
5754         * gdb.base/frame-args.exp
5755         * gdb.base/fullpath-expand.exp
5756         * gdb.base/func-ptr.exp
5757         * gdb.base/gcore-relro-pie.exp
5758         * gdb.base/gdb1090.exp
5759         * gdb.base/gdb1555.exp
5760         * gdb.base/global-var-nested-by-dso.exp
5761         * gdb.base/gnu-ifunc.exp
5762         * gdb.base/hbreak-in-shr-unsupported.exp
5763         * gdb.base/hbreak-unmapped.exp
5764         * gdb.base/hook-stop.exp
5765         * gdb.base/infcall-input.exp
5766         * gdb.base/info-fun.exp
5767         * gdb.base/info-shared.exp
5768         * gdb.base/interrupt-noterm.exp
5769         * gdb.base/jit-so.exp
5770         * gdb.base/jit.exp
5771         * gdb.base/line-symtabs.exp
5772         * gdb.base/list.exp
5773         * gdb.base/longjmp.exp
5774         * gdb.base/macscp.exp
5775         * gdb.base/max-value-size.exp
5776         * gdb.base/nodebug.exp
5777         * gdb.base/nofield.exp
5778         * gdb.base/overlays.exp
5779         * gdb.base/paginate-after-ctrl-c-running.exp
5780         * gdb.base/paginate-bg-execution.exp
5781         * gdb.base/paginate-inferior-exit.exp
5782         * gdb.base/pending.exp
5783         * gdb.base/pr11022.exp
5784         * gdb.base/printcmds.exp
5785         * gdb.base/ptr-typedef.exp
5786         * gdb.base/ptype.exp
5787         * gdb.base/randomize.exp
5788         * gdb.base/range-stepping.exp
5789         * gdb.base/realname-expand.exp
5790         * gdb.base/relativedebug.exp
5791         * gdb.base/remote.exp
5792         * gdb.base/savedregs.exp
5793         * gdb.base/sepdebug.exp
5794         * gdb.base/set-noassign.exp
5795         * gdb.base/shlib-call.exp
5796         * gdb.base/shreloc.exp
5797         * gdb.base/sigaltstack.exp
5798         * gdb.base/sigbpt.exp
5799         * gdb.base/siginfo-addr.exp
5800         * gdb.base/siginfo-obj.exp
5801         * gdb.base/siginfo-thread.exp
5802         * gdb.base/signest.exp
5803         * gdb.base/signull.exp
5804         * gdb.base/sigrepeat.exp
5805         * gdb.base/skip.exp
5806         * gdb.base/so-impl-ld.exp
5807         * gdb.base/solib-corrupted.exp
5808         * gdb.base/solib-disc.exp
5809         * gdb.base/solib-display.exp
5810         * gdb.base/solib-overlap.exp
5811         * gdb.base/solib-search.exp
5812         * gdb.base/solib-symbol.exp
5813         * gdb.base/source-execution.exp
5814         * gdb.base/sss-bp-on-user-bp-2.exp
5815         * gdb.base/sss-bp-on-user-bp.exp
5816         * gdb.base/stack-checking.exp
5817         * gdb.base/stale-infcall.exp
5818         * gdb.base/step-break.exp
5819         * gdb.base/step-line.exp
5820         * gdb.base/step-over-exit.exp
5821         * gdb.base/step-test.exp
5822         * gdb.base/structs.exp
5823         * gdb.base/sym-file.exp
5824         * gdb.base/symtab-search-order.exp
5825         * gdb.base/term.exp
5826         * gdb.base/type-opaque.exp
5827         * gdb.base/unload.exp
5828         * gdb.base/until-nodebug.exp
5829         * gdb.base/until.exp
5830         * gdb.base/unwindonsignal.exp
5831         * gdb.base/watch-cond.exp
5832         * gdb.base/watch-non-mem.exp
5833         * gdb.base/watch_thread_num.exp
5834         * gdb.base/watchpoint-reuse-slot.exp
5835         * gdb.base/watchpoint-solib.exp
5836         * gdb.base/watchpoint.exp
5837         * gdb.btrace/dlopen.exp
5838         * gdb.cell/arch.exp
5839         * gdb.cell/break.exp
5840         * gdb.cell/bt.exp
5841         * gdb.cell/core.exp
5842         * gdb.cell/data.exp
5843         * gdb.cell/dwarfaddr.exp
5844         * gdb.cell/ea-cache.exp
5845         * gdb.cell/ea-standalone.exp
5846         * gdb.cell/ea-test.exp
5847         * gdb.cell/f-regs.exp
5848         * gdb.cell/fork.exp
5849         * gdb.cell/gcore.exp
5850         * gdb.cell/mem-access.exp
5851         * gdb.cell/ptype.exp
5852         * gdb.cell/registers.exp
5853         * gdb.cell/sizeof.exp
5854         * gdb.cell/solib-symbol.exp
5855         * gdb.cell/solib.exp
5856         * gdb.compile/compile-tls.exp
5857         * gdb.cp/exception.exp
5858         * gdb.cp/gdb2495.exp
5859         * gdb.cp/local.exp
5860         * gdb.cp/mb-inline.exp
5861         * gdb.cp/mb-templates.exp
5862         * gdb.cp/pr10687.exp
5863         * gdb.cp/pr9167.exp
5864         * gdb.cp/scope-err.exp
5865         * gdb.cp/templates.exp
5866         * gdb.cp/virtfunc.exp
5867         * gdb.dwarf2/dw2-dir-file-name.exp
5868         * gdb.dwarf2/dw2-single-line-discriminators.exp
5869         * gdb.fortran/complex.exp
5870         * gdb.fortran/library-module.exp
5871         * gdb.guile/guile.exp
5872         * gdb.guile/scm-cmd.exp
5873         * gdb.guile/scm-frame-inline.exp
5874         * gdb.guile/scm-objfile.exp
5875         * gdb.guile/scm-pretty-print.exp
5876         * gdb.guile/scm-symbol.exp
5877         * gdb.guile/scm-type.exp
5878         * gdb.guile/scm-value.exp
5879         * gdb.linespec/keywords.exp
5880         * gdb.linespec/ls-errs.exp
5881         * gdb.linespec/macro-relative.exp
5882         * gdb.linespec/thread.exp
5883         * gdb.mi/mi-breakpoint-changed.exp
5884         * gdb.mi/mi-dprintf-pending.exp
5885         * gdb.mi/mi-fullname-deleted.exp
5886         * gdb.mi/mi-logging.exp
5887         * gdb.mi/mi-pending.exp
5888         * gdb.mi/mi-solib.exp
5889         * gdb.mi/new-ui-mi-sync.exp
5890         * gdb.mi/user-selected-context-sync.exp
5891         * gdb.multi/dummy-frame-restore.exp
5892         * gdb.multi/multi-arch-exec.exp
5893         * gdb.multi/remove-inferiors.exp
5894         * gdb.multi/watchpoint-multi-exit.exp
5895         * gdb.opt/solib-intra-step.exp
5896         * gdb.perf/backtrace.exp
5897         * gdb.perf/single-step.exp
5898         * gdb.perf/skip-command.exp
5899         * gdb.perf/skip-prologue.exp
5900         * gdb.perf/solib.exp
5901         * gdb.python/lib-types.exp
5902         * gdb.python/py-as-string.exp
5903         * gdb.python/py-bad-printers.exp
5904         * gdb.python/py-block.exp
5905         * gdb.python/py-breakpoint.exp
5906         * gdb.python/py-cmd.exp
5907         * gdb.python/py-events.exp
5908         * gdb.python/py-evthreads.exp
5909         * gdb.python/py-finish-breakpoint.exp
5910         * gdb.python/py-finish-breakpoint2.exp
5911         * gdb.python/py-frame-inline.exp
5912         * gdb.python/py-frame.exp
5913         * gdb.python/py-inferior.exp
5914         * gdb.python/py-infthread.exp
5915         * gdb.python/py-mi.exp
5916         * gdb.python/py-objfile.exp
5917         * gdb.python/py-pp-maint.exp
5918         * gdb.python/py-pp-registration.exp
5919         * gdb.python/py-prettyprint.exp
5920         * gdb.python/py-recurse-unwind.exp
5921         * gdb.python/py-shared.exp
5922         * gdb.python/py-symbol.exp
5923         * gdb.python/py-symtab.exp
5924         * gdb.python/py-template.exp
5925         * gdb.python/py-type.exp
5926         * gdb.python/py-unwind-maint.exp
5927         * gdb.python/py-unwind.exp
5928         * gdb.python/py-value.exp
5929         * gdb.python/python.exp
5930         * gdb.reverse/finish-reverse-bkpt.exp
5931         * gdb.reverse/insn-reverse.exp
5932         * gdb.reverse/next-reverse-bkpt-over-sr.exp
5933         * gdb.reverse/solib-precsave.exp
5934         * gdb.reverse/solib-reverse.exp
5935         * gdb.stabs/gdb11479.exp
5936         * gdb.stabs/weird.exp
5937         * gdb.threads/fork-child-threads.exp
5938         * gdb.threads/fork-plus-threads.exp
5939         * gdb.threads/fork-thread-pending.exp
5940         * gdb.threads/forking-threads-plus-breakpoint.exp
5941         * gdb.threads/hand-call-in-threads.exp
5942         * gdb.threads/interrupted-hand-call.exp
5943         * gdb.threads/linux-dp.exp
5944         * gdb.threads/local-watch-wrong-thread.exp
5945         * gdb.threads/next-while-other-thread-longjmps.exp
5946         * gdb.threads/non-ldr-exit.exp
5947         * gdb.threads/pending-step.exp
5948         * gdb.threads/print-threads.exp
5949         * gdb.threads/process-dies-while-detaching.exp
5950         * gdb.threads/process-dies-while-handling-bp.exp
5951         * gdb.threads/pthreads.exp
5952         * gdb.threads/queue-signal.exp
5953         * gdb.threads/reconnect-signal.exp
5954         * gdb.threads/signal-command-handle-nopass.exp
5955         * gdb.threads/signal-command-multiple-signals-pending.exp
5956         * gdb.threads/signal-delivered-right-thread.exp
5957         * gdb.threads/signal-sigtrap.exp
5958         * gdb.threads/sigthread.exp
5959         * gdb.threads/staticthreads.exp
5960         * gdb.threads/stepi-random-signal.exp
5961         * gdb.threads/thread-unwindonsignal.exp
5962         * gdb.threads/thread_check.exp
5963         * gdb.threads/thread_events.exp
5964         * gdb.threads/tid-reuse.exp
5965         * gdb.threads/tls-nodebug.exp
5966         * gdb.threads/tls-shared.exp
5967         * gdb.threads/tls-so_extern.exp
5968         * gdb.threads/tls.exp
5969         * gdb.threads/wp-replication.exp
5970         * gdb.trace/actions-changed.exp
5971         * gdb.trace/actions.exp
5972         * gdb.trace/backtrace.exp
5973         * gdb.trace/change-loc.exp
5974         * gdb.trace/collection.exp
5975         * gdb.trace/deltrace.exp
5976         * gdb.trace/disconnected-tracing.exp
5977         * gdb.trace/entry-values.exp
5978         * gdb.trace/ftrace-lock.exp
5979         * gdb.trace/ftrace.exp
5980         * gdb.trace/infotrace.exp
5981         * gdb.trace/mi-trace-frame-collected.exp
5982         * gdb.trace/mi-trace-unavailable.exp
5983         * gdb.trace/mi-traceframe-changed.exp
5984         * gdb.trace/mi-tracepoint-changed.exp
5985         * gdb.trace/mi-tsv-changed.exp
5986         * gdb.trace/no-attach-trace.exp
5987         * gdb.trace/packetlen.exp
5988         * gdb.trace/passc-dyn.exp
5989         * gdb.trace/passcount.exp
5990         * gdb.trace/pending.exp
5991         * gdb.trace/pr16508.exp
5992         * gdb.trace/qtro.exp
5993         * gdb.trace/range-stepping.exp
5994         * gdb.trace/read-memory.exp
5995         * gdb.trace/report.exp
5996         * gdb.trace/save-trace.exp
5997         * gdb.trace/signal.exp
5998         * gdb.trace/stap-trace.exp
5999         * gdb.trace/status-stop.exp
6000         * gdb.trace/strace.exp
6001         * gdb.trace/tfile.exp
6002         * gdb.trace/tfind.exp
6003         * gdb.trace/trace-break.exp
6004         * gdb.trace/trace-condition.exp
6005         * gdb.trace/trace-enable-disable.exp
6006         * gdb.trace/trace-mt.exp
6007         * gdb.trace/tracecmd.exp
6008         * gdb.trace/tracefile-pseudo-reg.exp
6009         * gdb.trace/tspeed.exp
6010         * gdb.trace/tstatus.exp
6011         * gdb.trace/tsv.exp
6012         * gdb.trace/unavailable.exp
6013         * gdb.trace/while-dyn.exp
6014         * gdb.trace/while-stepping.exp
6015         * lib/gdb-guile.exp
6016         * lib/gdb.exp
6017         * lib/mi-support.exp
6018         * lib/pascal.exp
6019         * lib/perftest.exp
6020         * lib/prelink-support.exp
6021         * lib/selftest-support.exp
6022
6023 2016-11-30  Simon Marchi  <simon.marchi@polymtl.ca>
6024
6025         * Makefile.in: Include disable-implicit-rules.mk.
6026
6027 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6028
6029         * gdb.dwarf2/nonvar-access.exp: Add a test for accessing
6030         non-byte-aligned bit fields.
6031
6032 2016-11-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6033
6034         PR gdb/12616
6035         * gdb.dwarf2/nonvar-access.exp: New testcase.  Check that GDB
6036         respects the DW_AT_data_bit_offset attribute.
6037
6038 2016-11-22  Simon Marchi  <simon.marchi@polymtl.ca>
6039
6040         * gdb.base/default.exp: Fix output of "set language".
6041
6042 2016-11-17  Simon Marchi  <simon.marchi@polymtl.ca>
6043
6044         * Makefile.in: Remove @GMAKE_TRUE@ prefixes and removes lines
6045         prefixed with @GMAKE_FALSE@.  Update comment related to non-GNU
6046         make.
6047         * configure.ac: Remove checks for the make program.
6048         * configure: Re-generate.
6049
6050 2016-11-16  Kevin Buettner  <kevinb@redhat.com>
6051
6052         * gdb.python/py-recurse-unwind.c (main): Add loop.
6053         * gdb.python/py-recurse-unwind.py (TestUnwinder): Add calls
6054         to read_register() and gdb.parse_and_eval().  Make each code
6055         call a separate case that can be individually tested.
6056         * gdb.python/py-recurse-unwind.exp (cont_and_backtrace): New
6057         proc. Call cont_and_backtrace for each of the code paths that
6058         we want to test in the unwinder.
6059
6060 2016-11-15  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6061
6062         * gdb.dwarf2/bitfield-parent-optimized-out.exp: Fix DWARF code for
6063         the definition of struct S.
6064
6065 2016-11-11  Catherine Moore  <clm@codesourcery.com>
6066
6067         * gdb.base/dump.exp: Identify verilog format dump tests as such.
6068
6069 2016-11-09  Pedro Alves  <palves@redhat.com>
6070
6071         * gdb.base/commands.exp (runto_or_return): New procedure.
6072         (gdbvar_simple_if_test, gdbvar_simple_while_test)
6073         (gdbvar_complex_if_while_test, progvar_simple_if_test)
6074         (progvar_simple_while_test, progvar_complex_if_while_test)
6075         (if_while_breakpoint_command_test)
6076         (infrun_breakpoint_command_test, breakpoint_command_test)
6077         (user_defined_command_test, watchpoint_command_test)
6078         (test_command_prompt_position, redefine_hook_test)
6079         (stray_arg0_test, error_clears_commands_left, redefine_hook_test)
6080         (redefine_backtrace_test): Use runto_or_return, $valnum_re,
6081         multi_line_input and multi_line.  Remove gdb_expect and
6082         gdb_stop_suppressing_tests uses.
6083         * lib/gdb.exp (valnum_re): New global.
6084         (multi_line_input): New procedure.
6085
6086 2016-11-09  Simon Marchi  <simon.marchi@polymtl.ca>
6087
6088         * gdb.mi/user-selected-context-sync.exp (with_test_prefix_procname):
6089         Remove.
6090         (test_setup): Define with proc_with_prefix.
6091         (test_cli_inferior): Likewise.
6092         (test_cli_thread): Likewise.
6093         (test_cli_frame): Likewise.
6094         (test_cli_select_frame): Likewise.
6095         (test_cli_up_down): Likewise.
6096         (test_mi_thread_select): Likewise.
6097         (test_mi_stack_select_frame): Likewise.
6098         (test_cli_in_mi_inferior): Likewise.
6099         (test_cli_in_mi_thread): Likewise.
6100         (test_cli_in_mi_frame): Likewise.
6101         (top level): Do not use with_test_prefix_procname.
6102
6103 2016-11-09  Pedro Alves  <palves@redhat.com>
6104
6105         * gdb.base/commands.exp (gdbvar_simple_if_test)
6106         (gdbvar_simple_while_test, gdbvar_complex_if_while_test)
6107         (progvar_simple_if_test, progvar_simple_while_test)
6108         (progvar_complex_if_while_test, if_while_breakpoint_command_test)
6109         (infrun_breakpoint_command_test, breakpoint_command_test)
6110         (user_defined_command_test, watchpoint_command_test)
6111         (test_command_prompt_position, deprecated_command_test)
6112         (bp_deleted_in_command, temporary_breakpoint_commands)
6113         (stray_arg0_test, source_file_with_indented_comment)
6114         (recursive_source_test, if_commands_test)
6115         (error_clears_commands_left, redefine_hook_test)
6116         (redefine_backtrace_test): Use proc_with_prefix.
6117         * lib/gdb.exp (proc_with_prefix): New proc.
6118
6119 2016-11-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6120
6121         * gdb.base/tui-layout.c: New file.
6122         * gdb.base/tui-layout.exp: Use tui-layout.c, to ensure that the
6123         disassembly window contains very long lines.
6124
6125 2016-11-08  Tom Tromey  <tom@tromey.com>
6126
6127         * gdb.python/py-value.exp (test_value_creation): Make "long" test
6128         depend on Python 2.
6129
6130 2016-11-08  Tom Tromey  <tom@tromey.com>
6131
6132         * gdb.python/py-framefilter.py (ElidingFrameDecorator.address):
6133         New method.
6134
6135 2016-10-29  Manish Goregaokar  <manish@mozilla.com>
6136
6137         * gdb.rust/simple.exp: Add tests for `sizeof(expr)`.
6138
6139 2016-10-27  Manish Goregaokar  <manish@mozilla.com>
6140
6141         * gdb.rust/simple.rs: Add test for univariant enums without
6142         discriminants and for encoded struct-like enums.
6143
6144 2016-10-28  Pedro Alves  <palves@redhat.com>
6145
6146         * gdb.base/maint.exp <maint info line-table w/o a file name>: Use
6147         gdb_test_multiple, tighten regexps and match symtabs and line
6148         tables incrementally.
6149
6150 2016-10-28  Luis Machado  <lgustavo@codesourcery.com>
6151
6152         * gdb.base/foll-exec.exp (do_exec_tests): Make test pattern more
6153         general.
6154
6155 2016-10-25  Luis Machado  <lgustavo@codesourcery.com>
6156
6157         * gdb.base/exec-invalid-sysroot.exp: New file.
6158
6159 2016-10-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
6160
6161         * gdb.base/morestack.exp: Try to build it using -fuse-ld=gold first.
6162
6163 2016-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6164
6165         * lib/gdb.exp (get_compiler_info): Generalize gcc_compile regexp.
6166
6167 2016-10-19  Maciej W. Rozycki  <macro@imgtec.com>
6168
6169         * gdb.base/killed-outside.exp: Remove $options from a call to
6170         `prepare_for_testing'.
6171
6172 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
6173
6174         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6175         Change test message.
6176
6177 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
6178
6179         * gdb.trace/mi-trace-save.exp (test_trace_save_wrong_num_args):
6180         Update comment.
6181
6182 2016-10-17  Simon Marchi  <simon.marchi@ericsson.com>
6183
6184         * gdb.trace/mi-trace-save.exp: New file.
6185
6186 2016-10-13  Yao Qi  <yao.qi@linaro.org>
6187
6188         * gdb.base/code_elim.exp (get_var_address): Remove.
6189         * gdb.base/relocate.exp: Likewise.
6190         * gdb.base/shreloc.exp: Likewise.
6191         * lib/gdb.exp (get_var_address): New.
6192
6193 2016-10-13  Yao Qi  <yao.qi@linaro.org>
6194
6195         * gdb.base/structs.exp: Invoke gdb_skip_float_test, and do
6196         floating point tests if $skip_float_test is false.
6197
6198 2016-10-12  Luis Machado  <lgustavo@codesourcery.com>
6199
6200         * gdb.python/py-value.c (main): Check if argv is NULL before using it.
6201         * gdb.python/py-value.exp (test_value_in_inferior): Don't use hardcoded
6202         argc values.
6203         Add 1 to argc so we guarantee distinct initial/modified argc values.
6204
6205 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6206
6207         * gdb.arch/powerpc-prologue.c (optimized_1): New declaration.
6208
6209 2016-10-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
6210
6211         * gdb.arch/powerpc-prologue.exp: Use standard_output_file
6212         * gdb.arch/ppc64-symtab-cordic.exp: Likewise.
6213         * gdb.arch/vsx-regs.exp: Likewise.
6214
6215 2016-10-07  Yao Qi  <yao.qi@linaro.org>
6216
6217         * gdb.xml/tdesc-regs.exp: Set regdir to "arm/".
6218
6219 2016-10-07  Markus Metzger  <markus.t.metzger@intel.com>
6220
6221         * gdb.python/python.exp: Test decode_line("*0").
6222
6223 2016-10-06  Doug Evans  <dje@google.com>
6224
6225         * gdb.python/py-value.exp (test_value_creation): Add test for large
6226         unsigned 64-bit value.
6227
6228 2016-10-06  Tom Tromey  <tom@tromey.com>
6229
6230         * gdb.compile/compile.exp: Change java tests to rust.
6231         * gdb.base/setshow.exp: Change java tests to rust.
6232         * gdb.base/default.exp: Remove java from language list.
6233         * README (Examples): Update language example.
6234         * gdb.python/py-lookup-type.exp (test_lookup_type): Remove java
6235         test.
6236         * lib/gdb.exp (skip_java_tests): Remove.
6237         * lib/java.exp: Remove.
6238         * gdb.java: Remove.
6239
6240 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
6241
6242         * gdb.arch/mips-fcr.exp: New test.
6243         * gdb.arch/mips-fcr.c: Source for the new test.
6244
6245 2016-10-06  Maciej W. Rozycki  <macro@imgtec.com>
6246
6247         * gdb.base/solib-disc.exp: Use `standard_output_file'
6248         throughout.
6249
6250 2016-10-06  Pedro Alves  <palves@redhat.com>
6251
6252         * gdb.base/jit-simple-dl.c: New file.
6253         * gdb.base/jit-simple-jit.c: New file, factored out from ...
6254         * gdb.base/jit-simple.c: ... this.
6255         * gdb.base/jit-simple.exp (jit_run): Delete.
6256         (build_jit): New proc.
6257         (jit_test_reread): Recompile either the main program or the shared
6258         library, depending on what is being tested.  Skip changing address
6259         if caller wants to.  Compare before/after addresses.  If testing
6260         standalone, explicitly load the binary.  Test "maint info
6261         breakpoints".
6262         (top level): Add "standalone vs shared lib" and "change address"
6263         vs "same address" axes.
6264
6265 2016-10-06  Pedro Alves  <palves@redhat.com>
6266
6267         * gdb.base/jit-simple.exp (top level) Delete get_compiler_info
6268         call.
6269         (jit_run): Delete.
6270         (jit_test_reread): Use with_test_prefix.  Reload the main binary
6271         explicitly.  Compare the before/after addresses of the JIT
6272         descriptor.
6273
6274 2016-08-15  Doug Evans  <dje@google.com>
6275
6276         * gdb.xml/extra-regs.xml: Update, end field now required, default type
6277         for single bitfields is bool.
6278         * gdb.xml/tdesc-regs.exp: Ditto.
6279
6280 2016-10-05  Jan Kratochvil  <jan.kratochvil@redhat.com>
6281
6282         * gdb.arch/i386-signal.exp (backtrace 10): Fix #2 typo.
6283
6284 2016-10-05  Yao Qi  <yao.qi@linaro.org>
6285
6286         * lib/gdb.exp (support_complex_tests): Return zero if
6287         gdb_skip_float_test return true.
6288
6289 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6290             Simon Marchi  <simon.marchi@ericsson.com>
6291
6292         PR gdb/20487
6293         * gdb.mi/user-selected-context-sync.exp: New file.
6294         * gdb.mi/user-selected-context-sync.c: New file.
6295
6296 2016-10-03  Antoine Tremblay  <antoine.tremblay@ericsson.com>
6297             Simon Marchi  <simon.marchi@ericsson.com>
6298
6299         PR gdb/20487
6300         * gdb.mi/mi-pthreads.exp (check_mi_thread_command_set): Adapt
6301         =thread-select-event check.
6302
6303 2016-09-29  Peter Bergner  <bergner@vnet.ibm.com>
6304
6305         * gdb.arch/powerpc-power.exp <cmprb>: Update tests to account for
6306         the compulsory L operand changes.
6307         * gdb.arch/powerpc-power.s: Likewise.
6308
6309 2016-09-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6310
6311         PR gdb/20609 - attach of JIT-debug-enabled inf 7.11.1 regression
6312         * gdb.base/jit-attach-pie.c: New file.
6313         * gdb.base/jit-attach-pie.exp: New file.
6314
6315 2016-09-28  Pedro Alves  <palves@redhat.com>
6316
6317         * gdb.base/infcall-input.c: New file.
6318         * gdb.base/infcall-input.exp: New file.
6319
6320 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6321
6322         * lib/gdbserver-support.exp: Rename mi_gdb_exit.
6323         (gdb_exit): Rename it to ...
6324         (gdbserver_gdb_exit): ...  Close GDBserver.
6325         (gdb_exit): New proc, call gdbserver_gdb_exit.
6326         (mi_gdb_exit): Likewise.
6327
6328 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6329
6330         * boards/gdbserver-base.exp (gdb_server_prog): Set the absolute
6331         path.
6332         * boards/remote-gdbserver-on-localhost.exp: Use gdbserver-base.
6333         Remove duplication.
6334
6335 2016-09-22  Yao Qi  <yao.qi@linaro.org>
6336
6337         * lib/gdbserver-support.exp: Check the existence of
6338         gdbserver_orig_gdb_exit rather than gdbserver_gdb_exit.
6339
6340 2016-09-21  Anton Kolesov  <anton.kolesov@synopsys.com>
6341
6342         * gdb.xml/tdesc-regs.exp: set core-regs for arc*-*-elf32.
6343
6344 2016-09-21  Tom Tromey  <tom@tromey.com>
6345
6346         PR gdb/20604:
6347         * gdb.base/quit.exp: New file.
6348
6349 2016-09-21  Simon Marchi  <simon.marchi@ericsson.com>
6350
6351         * .gitignore: New file.
6352
6353 2016-09-21  Maciej W. Rozycki  <macro@imgtec.com>
6354
6355         * gdb.arch/mips16-thunks.exp: Use `standard_output_file'
6356         throughout.
6357
6358 2016-09-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6359
6360         * lib/gdb.exp: No longer skip hardware breakpoint tests on s390.
6361
6362 2016-09-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
6363
6364         * gdb.cp/casts.cc (decltype): Move it ...
6365         (main): ... with its call to ...
6366         * gdb.cp/casts03.cc: ... a new file.
6367         * gdb.cp/casts.exp: Add new file casts03.cc, move decltype test to it.
6368
6369 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6370
6371         * gdb.cp/m-static.h (gnu_obj_4::somewhere): Use constexpr for C++11.
6372
6373 2016-09-15  Peter Bergner  <bergner@vnet.ibm.com>
6374
6375         * gdb.arch/powerpc-power.s: Update Power9 instruction tests
6376         and sync up the test with tests in gas/testsuite/gas/ppc.
6377         * gdb.arch/powerpc-power.exp: Likewise.
6378
6379 2016-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
6380
6381         * lib/future.exp: Set CCACHE_DISABLE, clear CCACHE_NODISABLE.
6382
6383 2016-09-11  Sergio Durigan Junior  <sergiodj@redhat.com>
6384             Jan Kratochvil  <jan.kratochvil@redhat.com>
6385
6386         * gdb.base/stap-probe.c (m1): New variable 'dummy', necessary to
6387         make m1's definition to be different from m2's.  Use 'dummy' as an
6388         argument for probe 'two'.
6389
6390 2016-09-10  Jon Beniston  <jon@beniston.com>
6391
6392         * lib/mi-support.exp (mi_gdb_target_load): Use target_sim_options
6393         for sim target.
6394
6395 2016-09-09  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6396
6397         * gdb.base/gnu-ifunc-lib.c (resolver_hwcap): New external
6398         variable declaration.
6399         (gnu_ifunc): Add parameter hwcap.  Store it in resolver_hwcap.
6400         * gdb.base/gnu-ifunc.c (resolver_hwcap): New global variable.
6401         * gdb.base/gnu-ifunc.exp: Add test to verify that the resolver
6402         received HWCAP as its argument.
6403
6404 2016-09-06  Pedro Alves  <palves@redhat.com>
6405
6406         * gdb.base/new-ui-pending-input.c: New file.
6407         * gdb.base/new-ui-pending-input.exp: New file.
6408         * gdb.exp (clear_gdb_spawn_id): New procedure.
6409         (with_spawn_id): Check whether gdb_spawn_id exists before
6410         referencing it.  If gdb_spawn_id didn't exist on entry, clear it
6411         on exit.
6412
6413 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6414
6415         * gdb.base/float128.c: New file.
6416         * gdb.base/float128.exp: Likewise.
6417         * gdb.base/floatn.c: Likewise.
6418         * gdb.base/floatn.exp: Likewise.
6419
6420 2016-09-05  Ulrich Weigand  <uweigand@de.ibm.com>
6421
6422         * gdb.cp/hang.exp: Remove reference to TYPE_FLAG_STUB in comment.
6423
6424 2016-09-05  Pedro Alves  <palves@redhat.com>
6425
6426         PR backtrace/19927
6427         * gdb.python/py-unwind-maint.exp: Adjust tests to not expect that
6428         unwinders are immediately called as side effect of "source" or
6429         "disable unwinder" commands.
6430         * gdb.python/py-recurse-unwind.exp: Remove setup_kfail calls.
6431
6432 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6433
6434         * gdb.base/return-nodebug.exp: Skip the test if skip_float_test
6435         is true and $type is "float" or "double".
6436
6437 2016-09-02  Yao Qi  <yao.qi@linaro.org>
6438
6439         * gdb.arch/arm-neon.exp: Skip it if gdb_skip_float_test returns
6440         true.
6441         * gdb.base/call-ar-st.exp: Invoke gdb_skip_float_test.
6442         * gdb.base/call-rt-st.exp: Likewise.
6443         * gdb.base/call-sc.exp: Invoke gdb_skip_float_test and use its
6444         return value instead of gdb,skip_float_test.
6445         * gdb.base/callfuncs.exp: Invoke gdb_skip_float_test.
6446         (do_function_calls): Use its return value instead of
6447         gdb,skip_float_test.
6448         * gdb.base/finish.exp: Likewise.
6449         * gdb.base/funcargs.exp: Likewise.
6450         * gdb.base/return.exp: Likewise.
6451         * gdb.base/return2.exp: Likewise.
6452         * gdb.base/varargs.exp: Likewise.
6453         * lib/gdb.exp (gdb_skip_float_test): Change it to
6454         gdb_caching_proc.  Detect the broken ptrace on arm-linux.
6455
6456 2016-08-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
6457
6458         * gdb.multi/tids.exp: Test "thread apply all".
6459
6460 2016-08-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
6461
6462         * gdb.base/default.exp (tty): Remove.
6463
6464 2016-08-24  Kevin Buettner  <kevinb@redhat.com>
6465
6466         * gdb.python/py-recurse-unwind.c: New file.
6467         * gdb.python/py-recurse-unwind.py: New file.
6468         * gdb.python/py-recurse-unwind.exp: New file.
6469
6470 2016-08-24  Simon Marchi  <simon.marchi@ericsson.com>
6471
6472         * gdb.base/set-inferior-tty.exp: New file.
6473         * gdb.base/set-inferior-tty.c: New file.
6474
6475 2016-08-23  Pedro Alves  <palves@redhat.com>
6476
6477         PR gdb/20494
6478         * gdb.base/new-ui-echo.c: New file.
6479         * gdb.base/new-ui-echo.exp: New file.
6480
6481 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6482
6483         * gdb.server/connect-stopped-target.exp (do_test): Pass "" to
6484         gdbserver_spawn.
6485         * gdb.server/connect-without-multi-process.exp (do_test):
6486         Likewise.
6487
6488 2016-08-23  Yao Qi  <yao.qi@linaro.org>
6489
6490         * gdb.base/signals-state-child.exp: Set variables gdb_txt and
6491         standalone_txt.  Delete gdb_txt and standalone_txt on host
6492         and target.  Spawn the binary on target.  Copy files from
6493         target to host.
6494
6495 2016-08-22  Pedro Alves  <palves@redhat.com>
6496
6497         PR gdb/20505
6498         * gdb.base/vdso-warning.exp: Test core dumps too.  Use
6499         with_test_prefix.  Factor out bits to ...
6500         (test_no_vdso): ... this new procedure.
6501
6502 2016-08-19  Carl Love  <cel@us.ibm.com>
6503
6504         * gdb.arch/altivec-regs.exp: Use standard_testfile instead of
6505         maintaining separate logic for constructing the output path.
6506         * gdb.arch/powerpc-d128-regs.exp: Likewise.
6507         * gdb.arch/ppc-dfp.exp: Likewise.
6508         * gdb.arch/ppc-fp.exp: Likewise.
6509         * gdb.arch/vsx-regs.exp: Likewise.
6510         * gdb.arch/altivec-abi.exp: Likewise, plus added local variable
6511         binprefix for generating the additional binary files.
6512
6513 2016-08-19  Pedro Alves  <palves@redhat.com>
6514
6515         * gdb.trace/mi-trace-frame-collected.exp
6516         (test_trace_frame_collected): On x32, expect two registers.
6517
6518 2016-08-18  Carl Love  <cel@us.ibm.com>
6519
6520         * gdb.arch/powerpc-power.s: Add new Power9 instruction tests
6521         and sync up the test with tests in gas/testsuite/gas/ppc.
6522         * gdb.arch/powerpc-power.exp: Likewise.
6523
6524 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6525
6526         * gdb.multi/remove-inferiors.exp (test_remove_inferiors): Fix
6527         expected error message.
6528
6529 2016-08-17  Simon Marchi  <simon.marchi@ericsson.com>
6530
6531         * gdb.multi/remove-inferiors.exp: New file.
6532         * gdb.multi/remove-inferiors.c: New file.
6533
6534 2016-08-12  Yao Qi  <yao.qi@linaro.org>
6535
6536         * gdb.base/signals-state-child.c (main): Remove "i" from fprintf's
6537         argument list.
6538
6539 2016-08-10  Pedro Alves  <palves@redhat.com>
6540
6541         PR gdb/19187
6542         * gdb.reverse/waitpid-reverse.exp: Add comment and remove
6543         setup_kfails.
6544
6545 2016-08-09  Pedro Alves  <palves@redhat.com>
6546             Simon Marchi  <simon.marchi@ericsson.com>
6547
6548         PR gdb/20418
6549         * gdb.mi/new-ui-mi-sync.c, gdb.mi/new-ui-mi-sync.exp: New files.
6550         * lib/mi-support.exp (mi_expect_interrupt): Remove anchors.
6551
6552 2016-08-09  Pedro Alves  <palves@redhat.com>
6553
6554         PR mi/20431
6555         * gdb.mi/mi-cmd-error.exp: New file.
6556
6557 2016-08-09  Pedro Alves  <palves@redhat.com>
6558
6559         PR gdb/18653
6560         * gdb.base/signals-state-child.c: New file.
6561         * gdb.base/signals-state-child.exp: New file.
6562         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new pattern.
6563
6564 2016-08-09  Pedro Alves  <palves@redhat.com>
6565
6566         * gdb.dwarf2/bitfield-parent-optimized-out.exp: New file.
6567
6568 2016-08-03  Tom Tromey  <tom@tromey.com>
6569
6570         PR python/18565:
6571         * gdb.python/py-frame-inline.exp: Add Frame.function test.
6572
6573 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6574
6575         * gdb.threads/process-dies-while-detaching.exp (do_test): Set
6576         variable mode to "multi-process" if $multi_process is 1, otherwise
6577         set it to "single-process".
6578
6579 2016-08-01  Yao Qi  <yao.qi@linaro.org>
6580
6581         * gdb.cp/anon-struct.exp: Check is_aarch32_target.
6582         * gdb.cp/cpexprs.exp: Likewise.
6583         * gdb.cp/m-static.exp: Likewise.
6584
6585 2016-07-26  Tom Tromey  <tom@tromey.com>
6586
6587         PR python/20190:
6588         * gdb.threads/tls.exp (check_thread_local): Add python symbol
6589         test.
6590
6591 2016-07-26  Markus Metzger  <markus.t.metzger@intel.com>
6592
6593         * gdb.btrace/record_goto.exp: se is_amd64_regs_target for
6594         selecting assembly source files.
6595         * gdb.btrace/stepi.exp: se is_amd64_regs_target for selecting
6596         assembly source files.
6597         * gdb.btrace/tailcall.exp: se is_amd64_regs_target for selecting
6598         assembly source files.
6599         * gdb.btrace/tailcall-only.exp: se is_amd64_regs_target for
6600         selecting assembly source files.
6601
6602 2016-07-25  Simon Marchi  <simon.marchi@ericsson.com>
6603
6604         * gdb.base/new-ui.exp (do_test_invalid_args): New
6605         procedure.
6606
6607 2016-07-25  Tim Wiederhake  <tim.wiederhake@intel.com>
6608
6609         * gdb.btrace/reconnect.c: New file.
6610         * gdb.btrace/reconnect.exp: New file.
6611
6612 2016-07-23  Gabriel Krisman Bertazi  <gabriel@krisman.be>
6613
6614         * gdb.base/catch-syscall.exp (do_syscall_tests): Add call
6615         to test_catch_syscall_group.
6616         (test_catch_syscall_group): New.
6617
6618 2016-07-21  Tom Tromey  <tom@tromey.com>
6619
6620         * gdb.rust/simple.rs (main): Use empty struct expression.
6621         * gdb.rust/simple.exp: Add tests for empty struct expression.
6622
6623 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6624
6625         * lib/gdbserver-support.exp (skip_gdbserver_tests): Return 1
6626         if gdb_skip_xml_test is true on some targets.
6627
6628 2016-07-21  Yao Qi  <yao.qi@linaro.org>
6629
6630         * gdb.server/solib-list.exp: Unset last_loaded_file.
6631
6632 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6633
6634         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add "next over TRY" and
6635         "step into captured_main (args)".
6636
6637 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6638
6639         * gdb.btrace/tailcall-only.exp: Use is_lp64_target check.
6640
6641 2016-07-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
6642
6643         * gdb.python/py-unwind.exp: Test also ![is_lp64_target].
6644
6645 2016-07-19  Pedro Alves  <palves@redhat.com>
6646
6647         * gdb.opt/inline-break.exp: Remove optimize=-O2.
6648         * gdb.opt/inline-bt.exp: Likewise.
6649         * gdb.opt/inline-cmds.exp: Remove optimize=-O2 and add
6650         additional_flags=-Winline.
6651         * gdb.opt/inline-locals.exp: Likewise.
6652         * gdb.opt/inline-markers.c (ATTR): Define.
6653         (inlined_fn): Use it.
6654
6655 2016-07-19  Yao Qi  <yao.qi@linaro.org>
6656
6657         * gdb.gdb/selftest.exp: Remove checks on is_remote and isnative.
6658         (test_with_self): Remove some code.  Remove argument executable.
6659         (top-level): Use do_self_tests.
6660
6661 2016-07-15  Zachary Welch  <zwelch@codesourcery.com>
6662             Don Breazeal <donb@codesourcery.com>
6663
6664         * gdb.base/maint.exp: Escape paths used in regular expressions.
6665         * gdb.stabs/weird.exp: Likewise.
6666
6667 2016-07-13  Tom Tromey  <tom@tromey.com>
6668
6669         PR python/15620, PR python/18620:
6670         * gdb.python/py-breakpoint.exp (connect_event, check_last_event)
6671         (test_bkpt_events): New procs.
6672
6673 2016-07-13  Tom Tromey  <tom@tromey.com>
6674
6675         PR python/17698:
6676         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add "pending"
6677         test.
6678         (test_watchpoints): Likewise.
6679         (test_bkpt_pending): New proc.
6680
6681 2016-07-13  Tom Tromey  <tom@tromey.com>
6682
6683         PR cli/18053:
6684         * gdb.base/jit-so.exp (one_jit_test): Add jit-reader-load
6685         completion test.
6686
6687 2016-07-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
6688
6689         * gdb.dwarf2/atomic-type.exp: Use function_range for low_pc and high_pc.
6690         * gdb.dwarf2/atomic.c (f): Rename f_end_lbl to f_label.
6691         * gdb.dwarf2/dw2-bad-mips-linkage-name.c (f): Rename f_end_lbl to
6692         f_label.
6693         (g): Rename g_end_lbl to g_label.
6694         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: Use function_range for
6695         low_pc and high_pc.
6696         * gdb.dwarf2/dw2-lexical-block-bare.exp: Likewise.
6697
6698 2016-07-12  Tom Tromey  <tom@tromey.com>
6699
6700         PR python/19293:
6701         * gdb.python/py-unwind-maint.exp: Update tests.
6702
6703 2016-07-12  Yao Qi  <yao.qi@linaro.org>
6704
6705         * lib/selftest-support.exp (selftest_setup): Match the output
6706         when captured_main is inlined.
6707
6708 2016-07-07  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6709
6710         * gdb.fortran/derived-types.exp (result_line, result_line_2):
6711         New variables.
6712         (print this%a, print this%b, print this): New tests.
6713         * gdb.fortran/derived-types.f90 (this): New object and
6714         initialization.
6715
6716 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6717
6718         * gdb.ada/arraydim.exp: Remove extra directory level in build
6719         directory.
6720
6721 2016-07-06  Simon Marchi  <simon.marchi@ericsson.com>
6722
6723         * lib/ada.exp: Remove extra directory level in build directory.
6724         * gdb.ada/cond_lang.exp: Likewise.
6725         * gdb.ada/exec_changed.exp: Likewise.
6726         * gdb.ada/lang_switch.exp: Likewise.
6727
6728 2016-07-06  Manish Goregaokar  <manish@mozilla.com>
6729
6730         * simple.rs: Add test for raw pointer subscripting.
6731         * simple.exp: Add test expectations.
6732
6733 2016-07-05  Yao Qi  <yao.qi@linaro.org>
6734
6735         * gdb.mi/mi-reverse.exp: Match =record-started output.
6736
6737 2016-07-01  Pedro Alves  <palves@redhat.com>
6738
6739         * gdb.base/jit-reader.exp (info_registers_current_frame): New
6740         procedure.
6741         (jit_reader_test): Test the jit reader's unwinder.
6742         * gdb.base/jithost.c (jit_function_00_code): New global.
6743         (main): Use memcpy to fill in the mmapped code, instead of poking
6744         bytes manually here.
6745         * gdb.base/jitreader.c (enum register_mapping) <AMD64_RBP>: New
6746         value.
6747         (read_debug_info): Save the function's range.
6748         (read_sp): New function.
6749         (unwind_frame): Use it.  Also unwind RBP.
6750         (get_frame_id): Use read_sp.
6751         (gdb_init_reader): Use calloc instead of malloc.
6752         * lib/gdb.exp (get_hexadecimal_valueof): Add optional 'test'
6753         parameter.  Use gdb_test_multiple.
6754
6755 2016-07-01  Pedro Alves  <palves@redhat.com>
6756             Antoine Tremblay  <antoine.tremblay@ericsson.com>
6757
6758         * gdb.threads/process-dies-while-detaching.c: New file.
6759         * gdb.threads/process-dies-while-detaching.exp: New file.
6760
6761 2016-07-01  Pedro Alves  <palves@redhat.com>
6762
6763         * gdb.multi/watchpoint-multi-exit.c: New file.
6764         * gdb.multi/watchpoint-multi-exit.exp: New file.
6765
6766 2016-06-30  Pedro Alves  <palves@redhat.com>
6767
6768         * lib/gdbserver-support.exp (close_gdbserver, gdb_exit): Don't
6769         unset inferior_spawn_id.
6770
6771 2016-06-30  Pedro Alves  <palves@redhat.com>
6772
6773         * lib/mi-support.exp (default_mi_gdb_start): Declare global
6774         FORCE_SEPARATE_MI_TTY, not SEPARATE_MI_TTY.
6775
6776 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6777
6778         * gdb.base/return.c: Add copyright header.
6779
6780 2016-06-29  Tom Tromey  <tom@tromey.com>
6781
6782         PR python/20129:
6783         * gdb.python/py-framefilter.exp: Add tests for setting priority
6784         and disabling of non-existent frame filter.
6785
6786 2016-06-29  Yao Qi  <yao.qi@linaro.org>
6787
6788         * gdb.base/catch-syscall.c [__arm__]: Set unknown_syscall to
6789         0x0f07ff.
6790
6791 2016-06-28  Yao Qi  <yao.qi@linaro.org>
6792
6793         * gdb.base/catch-syscall.exp: Remove check on isnative and target
6794         triplets.  Start gdb, execute catch syscall, and continue.  Check
6795         gdb's output to determine catch syscall is supported.
6796
6797 2016-06-27  Manish Goregaokar  <manish@mozilla.com>
6798
6799         * gdb.rust/simple.rs: Add test for returning unit in a function.
6800         * gdb.rust/simple.exp: Add expectation for functions returning
6801         unit.
6802
6803 2016-06-27  Pierre-Marie de Rodat  <derodat@adacore.com>
6804
6805         * gdb.python/py-breakpoint-create-fail.c,
6806         gdb.python/py-breakpoint-create-fail.exp,
6807         gdb.python/py-breakpoint-create-fail.py: New testcase.
6808
6809 2016-06-25  Manish Goregaokar  <manish@mozilla.com>
6810
6811         PR gdb/20239
6812         * gdb.rust/simple.rs: Add more tests for printing NonZero enums.
6813         * gdb.rust/simple.exp: Add test expectations for new NonZero
6814         tests.
6815
6816 2016-06-24  David Taylor  <dtaylor@emc.com>
6817
6818         * gdb.base/offsets.exp: New file.
6819         * gdb.base/offsets.c: New file.
6820
6821 2016-06-23  Tom Tromey  <tom@tromey.com>
6822
6823         PR gdb/16483:
6824         * gdb.python/py-framefilter.exp: Add "info frame-filter" test
6825         before any filters are loaded.
6826
6827 2016-06-21  Walfred Tedeschi  <walfred.tedeschi@intel.com>
6828
6829         * gdb.fortran/derived-type.exp (print q): Add fields to the output.
6830         * gdb.fortran/vla-type.exp (print twov): Fix vla tests with
6831         structs.
6832         * gdb.fortran/derived-type-function.exp: New file.
6833         * gdb.fortran/derived-type-function.f90: New file.
6834
6835
6836 2016-06-21  Pedro Alves  <palves@redhat.com>
6837
6838         * gdb.base/new-ui.exp: New file.
6839         * lib/mi-support.exp (switch_gdb_spawn_id): Move to ...
6840         * lib/gdb.exp (switch_gdb_spawn_id): ... here.
6841         (with_spawn_id): New procedure.
6842
6843 2016-06-21  Pedro Alves  <palves@redhat.com>
6844
6845         * gdb.mi/mi-exec-run.exp: New file.
6846
6847 2016-06-21  Pedro Alves  <palves@redhat.com>
6848
6849         * gdb.mi/mi-break.exp (test_breakpoint_commands): Always expect
6850         breakpoint command's output on the main UI.
6851         (test_break): New procedure, factored out from calls in the top
6852         level.
6853         (top level): Use foreach_with_prefix to test MI as main UI and as
6854         separate UI.
6855
6856 2016-06-21  Pedro Alves  <palves@redhat.com>
6857
6858         * gdb.mi/mi-watch.exp (test_watchpoint_creation_and_listing)
6859         (test_awatch_creation_and_listing)
6860         (test_rwatch_creation_and_listing, test_watchpoint_triggering):
6861         Remove 'type' parameter.
6862         (test_watchpoint_all): New parameter mi_mode.  Remove
6863         with_test_prefix.
6864         (top level): Use foreach_with_prefix, and add main/separate UI MI
6865         testing axis.
6866
6867 2016-06-21  Pedro Alves  <palves@redhat.com>
6868
6869         * README (Testsuite Parameters): Document FORCE_SEPARATE_MI_TTY.
6870         * lib/gdb.exp (default_gdb_exit): Clear inferior_spawn_id.
6871         * lib/mi-support.exp (mi_uncatched_gdb_exit): Unset
6872         gdb_main_spawn_id, mi_spawn_id, unset inferior_spawn_id.
6873         (gdb_main_spawn_id, mi_spawn_id): Declare and
6874         comment.
6875         (mi_create_inferior_pty): New procedure,
6876         factored out from default_mi_gdb_start.
6877         (switch_gdb_spawn_id, mi_gdb_start_separate_mi_tty): New
6878         procedures.
6879         (default_mi_gdb_start): Call mi_gdb_start_separate_mi_tty if the
6880         separate-mi-tty option is specified, or SEPARATE_MI_TTY is set.
6881         Use mi_create_inferior_pty.
6882         (mi_gdb_start): Use eval to pass down args list.
6883
6884 2016-06-21  Pedro Alves  <palves@redhat.com>
6885
6886         * gdb.opt/inline-cmds.c: Add "set mi break here" marker.
6887         * gdb.opt/inline-cmds.exp: Add MI tests.
6888
6889 2016-06-21  Pedro Alves  <palves@redhat.com>
6890
6891         * gdb.gdb/selftest.exp (do_steps_and_nexts): Add new regexp.
6892
6893 2016-06-21  Pedro Alves  <palves@redhat.com>
6894
6895         * gdb.ada/mi_catch_ex.exp (continue_to_exception): New procedure.
6896         (top level): Use it instead of mi_execute_to.
6897
6898 2016-06-21  Pedro Alves  <palves@redhat.com>
6899
6900         * gdb.python/py-mi-events-gdb.py (stop_handler_str)
6901         (cont_handler_str): New.
6902         (signal_stop_handler): Set stop_handler_str instead of printing to
6903         stdout.
6904         (continue_handler): Set cont_handler_str instead of printing to
6905         stdout.
6906         * gdb.python/py-mi-events.exp: Ues mi_execute_to instead of
6907         mi_send_resuming_command.  Print stop_handler_str and
6908         cont_handler_str instead of expecting the python events print
6909         directly.
6910
6911 2016-06-17  Sanjoy Das  <sanjoy@playingwithpointers.com>
6912
6913         * gdb.base/jit-reader.exp: New file.
6914         * gdb.base/jithost.c: New file.
6915         * gdb.base/jithost.h: New file.
6916         * gdb.base/jitreader.c : New file.
6917         * gdb.base/jit-protocol.h: New file.
6918
6919 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6920
6921         * gdb.base/step-over-syscall.exp (break_cond_on_syscall): New
6922         parameters follow_fork and detach_on_fork.  Set follow-fork-mode
6923         and detach-on-fork.  Adjust tests.
6924         (top level): Invoke break_cond_on_syscall with combinations of
6925         syscall, follow-fork-mode and detach-on-fork.
6926
6927 2016-06-17  Yao Qi  <yao.qi@linaro.org>
6928
6929         * gdb.base/step-over-exit.c: New.
6930         * gdb.base/step-over-exit.exp: New.
6931
6932 2016-06-17  Yan-Ting Lin  <currygt52@gmail.com>
6933
6934         * gdb.base/float.exp: Add target check for nds32*-*-*.
6935         * gdb.xml/tdesc-regs.exp: Set core-regs for nds32*-*-*.
6936
6937 2016-06-13  Andrew Burgess  <andrew.burgess@embecosm.com>
6938
6939         * gdb.base/call-ar-st.exp: Report unsupported rather than xfail
6940         for unsupported target features.
6941         * gdb.base/call-rt-st.exp: Likewise.
6942         * gdb.base/call-sc.exp: Likewise.
6943         * gdb.base/call-signal-resume.exp: Likewise.
6944         * gdb.base/call-strs.exp: Likewise.
6945         * gdb.base/callexit.exp: Likewise.
6946         * gdb.base/callfuncs.exp: Likewise.
6947         * gdb.base/nodebug.exp: Likewise.
6948         * gdb.base/printcmds.exp: Likewise.
6949         * gdb.base/ptype.exp: Likewise.
6950         * gdb.base/structs.exp: Likewise.
6951         * gdb.base/unwindonsignal.exp: Likewise.
6952         * gdb.cp/gdb2495.exp: Likewise.
6953         * gdb.cp/templates.exp: Likewise.
6954         * gdb.cp/virtfunc.exp: Likewise.
6955         * gdb.threads/hand-call-in-threads.exp: Likewise.
6956         * gdb.threads/interrupted-hand-call.exp: Likewise.
6957         * gdb.threads/thread-unwindonsignal.exp: Likewise.
6958
6959 2016-06-10  Tom Tromey  <tom@tromey.com>
6960
6961         PR rust/20110:
6962         * gdb.rust/expr.exp: Add test for integer constant larger than
6963         i32.
6964
6965 2016-06-10  Bernhard Heckel  <bernhard.heckel@intel.com>
6966
6967         * gdb.fortran/nested-funcs.exp: New.
6968         * gdb.fortran/nested-funcs.f90: New.
6969
6970 2016-06-09  Toshihito Kikuchi  <k.toshihito@yahoo.de>
6971
6972         * gdb.base/examine-backward.c: New file.
6973         * gdb.base/examine-backward.exp: New file.
6974
6975 2016-06-06  Simon Marchi  <simon.marchi@ericsson.com>
6976
6977         * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6978         matching.
6979
6980 2016-06-02  Tom Tromey  <tom@tromey.com>
6981
6982         PR python/18984:
6983         * gdb.python/py-shared.exp: Add solib_name test.
6984
6985 2016-06-02  Simon Marchi  <simon.marchi@ericsson.com>
6986
6987         * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
6988
6989 2016-05-31  Martin Galvan  <martin.galvan@tallertechnologies.com>
6990
6991         PR c++/19893
6992         * gdb.dwarf2/implref.exp: Rename to...
6993         * gdb.dwarf2/implref-const.exp: ...this.  Also add more test statements.
6994         * gdb.dwarf2/implref-array.c: New file.
6995         * gdb.dwarf2/implref-array.exp: Likewise.
6996         * gdb.dwarf2/implref-global.c: Likewise.
6997         * gdb.dwarf2/implref-global.exp: Likewise.
6998         * gdb.dwarf2/implref-struct.c: Likewise.
6999         * gdb.dwarf2/implref-struct.exp: Likewise.
7000
7001 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7002
7003         * gdb.trace/trace-condition.exp: Add 64bit tests.
7004
7005 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7006
7007         * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
7008         bits types.
7009         (main): Adapt to 8 to 64 bits types.
7010         * gdb.trace/trace-condition.exp: Add new tests.
7011
7012 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7013
7014         * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
7015
7016 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7017
7018         * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
7019         Move condition tests...
7020         * gdb.trace/trace-condition.exp: Here.
7021
7022 2016-05-30  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7023
7024         * gdb.trace/trace-condition.exp: Add counter-case tests.
7025
7026 2016-05-30  Jan Kratochvil  <jan.kratochvil@redhat.com>
7027
7028         PR c++/15231
7029         * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
7030         * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
7031
7032 2016-05-27  Pedro Alves  <palves@redhat.com>
7033
7034         * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
7035         New procedure.
7036         (top level): Call it, and bail out of DejaGnu is known to be bad.
7037
7038 2016-05-27  Andrew Burgess  <andrew.burgess@embecosm.com>
7039
7040         * gdb.base/whatis.c: Extend the test case.
7041         * gdb.base/whatis.exp: Add additional tests.
7042
7043 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7044
7045 * gdb.fortran/type.f90: Add pointer variable.
7046 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
7047
7048 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7049
7050         * gdb.fortran/vla-type.exp: Fix testcase name.
7051
7052 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7053
7054         * gdb.fortran/vla-type.exp: Access elements in nested structs.
7055
7056 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7057
7058         * gdb.fortran/type.f90: Add nested structures.
7059         * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
7060         * gdb.fortran/derived-type.exp: Adapt expected output.
7061         * gdb.fortran/vla-type.exp: Adapt expected output.
7062
7063 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7064
7065         * gdb.fortran/whatis_type.exp: Adapt expected output.
7066
7067 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7068
7069         * gdb.fortran/print_type.exp: Fix expected output.
7070         * gdb.fortran/whatis_type.exp: Fix expected output.
7071
7072 2016-05-25  Bernhard Heckel  <bernhard.heckel@intel.com>
7073
7074         * gdb.fortran/whatis_type.exp: Use multi_line.
7075
7076 2016-05-24  Tom Tromey  <tom@tromey.com>
7077
7078         PR python/17386:
7079         * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
7080         use value as an index.
7081
7082 2016-05-23  Tom Tromey  <tom@tromey.com>
7083
7084         PR python/17981:
7085         * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
7086         no-breakpoint case.
7087
7088 2016-05-24  Pedro Alves  <palves@redhat.com>
7089
7090         PR gdb/19828
7091         * gdb.threads/clone-attach-detach.c: New file.
7092         * gdb.threads/clone-attach-detach.exp: New file.
7093
7094 2016-05-24  Francis Ricci  <francisjricci@gmail.com>  (tiny patch)
7095
7096         * gdb.base/annota-input-while-running.exp: Fix syntax error.
7097
7098 2016-05-23  Tom Tromey  <tom@tromey.com>
7099
7100         PR python/19438, PR python/18393:
7101         * gdb.python/py-progspace.exp: Add "dir" test.
7102         * gdb.python/py-objfile.exp: Add "dir" test.
7103
7104 2016-05-23  Yao Qi  <yao.qi@linaro.org>
7105
7106         * gdb.arch/thumb-prologue.exp: Use standard_testfile.
7107         * gdb.arch/thumb2-it.exp: Likewise.
7108
7109 2016-05-18  Simon Marchi  <simon.marchi@ericsson.com>
7110
7111         * gdb.mi/mi-threads-interrupt.c: New file.
7112         * gdb.mi/mi-threads-interrupt.exp: New file.
7113
7114 2016-05-17  Simon Marchi  <simon.marchi@ericsson.com>
7115
7116         PR gdb/18077
7117         * gdb.mi/mi-async-run.exp: New file.
7118         * gdb.mi/mi-async-run.c: New file.
7119
7120 2016-05-17  Tom Tromey  <tom@tromey.com>
7121             Manish Goregaokar <manishsmail@gmail.com>
7122
7123         * lib/rust-support.exp: New file.
7124         * lib/gdb.exp (skip_rust_tests): New proc.
7125         (build_executable_from_specs): Handle rust.
7126         * lib/future.exp (gdb_find_rustc): New proc.
7127         (gdb_default_target_compile): Handle rust.
7128         * gdb.rust/expr.exp: New file.
7129         * gdb.rust/generics.exp: New file.
7130         * gdb.rust/generics.rs: New file.
7131         * gdb.rust/methods.exp: New file.
7132         * gdb.rust/methods.rs: New file.
7133         * gdb.rust/modules.exp: New file.
7134         * gdb.rust/modules.rs: New file.
7135         * gdb.rust/simple.exp: New file.
7136         * gdb.rust/simple.rs: New file.
7137
7138 2016-05-17  Tom Tromey  <tom@tromey.com>
7139
7140         * gdb.base/default.exp (set language): Add rust.
7141
7142 2016-05-17  Tom Tromey  <tom@tromey.com>
7143
7144         * gdb.gdb/unittest.exp: New file.
7145
7146 2016-05-16  Yao Qi  <yao.qi@linaro.org>
7147
7148         * gdb.base/batch-preserve-term-settings.exp: Remove variable
7149         shell_prompt.  Update shell_prompt_re.
7150
7151 2016-05-12  Doug Evans  <dje@google.com>
7152
7153         PR symtab/19999
7154         * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
7155         $options when building executable.
7156         * gdb.dwarf2/fission-loclists-pie.S: New file.
7157         * gdb.dwarf2/fission-loclists-pie.exp: New file.
7158
7159 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
7160
7161         * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
7162         of [is_remote target],
7163
7164 2016-05-04  Simon Marchi  <simon.marchi@ericsson.com>
7165
7166         * lib/gdb.exp (use_gdb_stub): New procedure.
7167
7168 2016-05-03  Yunlian Jiang <yunlian@google.com>
7169             Doug Evans  <dje@google.com>
7170
7171         PR symtab/19914
7172         * gdb.dwarf2/dwp-sepdebug.c: New file.
7173         * gdb.dwarf2/dwp-sepdebug.exp: New file.
7174
7175 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
7176
7177         * gdb.base/detach.exp: Remove is_remote check.
7178
7179 2016-05-02  Simon Marchi  <simon.marchi@ericsson.com>
7180
7181         * gdb.base/annota-input-while-running.exp: Don't check for
7182         [is_remote target].  Enable annotations after running to main.
7183         Remove unused "set test..." line.
7184
7185 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
7186
7187         * gdb.trace/trace-enable-disable.exp: New file.
7188         * gdb.trace/trace-enable-disable.c: New file.
7189
7190 2016-04-28  Simon Marchi  <simon.marchi@ericsson.com>
7191
7192         * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
7193         use it in info sharedlibrary test.
7194         * gdb.trace/ftrace-lock.exp: Likewise.
7195         * gdb.trace/ftrace.exp: Likewise.
7196         * gdb.trace/range-stepping.exp: Likewise.
7197         * gdb.trace/trace-break.exp: Likewise.
7198         * gdb.trace/trace-condition.exp: Likewise.
7199         * gdb.trace/trace-mt.exp: Likewise.
7200
7201 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
7202
7203         * lib/gdb.exp (gdb_load_shlibs): Rename to...
7204         (gdb_load_shlib): ... this.
7205         * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
7206         gdb_load_shlib.
7207         * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
7208         * gdb.base/ctxobj.exp: Likewise.
7209         * gdb.base/dprintf-pending.exp: Likewise.
7210         * gdb.base/dso2dso.exp: Likewise.
7211         * gdb.base/fixsection.exp: Likewise.
7212         * gdb.base/gcore-relro.exp: Likewise.
7213         * gdb.base/gdb1555.exp: Likewise.
7214         * gdb.base/global-var-nested-by-dso.exp: Likewise.
7215         * gdb.base/gnu-ifunc.exp: Likewise.
7216         * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
7217         * gdb.base/jit-so.exp (one_jit_test): Likewise.
7218         * gdb.base/pending.exp: Likewise.
7219         * gdb.base/print-file-var.exp: Likewise.
7220         * gdb.base/print-symbol-loading.exp: Likewise.
7221         * gdb.base/shlib-call.exp: Likewise.
7222         * gdb.base/shreloc.exp: Likewise.
7223         * gdb.base/so-impl-ld.exp: Likewise.
7224         * gdb.base/solib-disc.exp: Likewise.
7225         * gdb.base/solib-nodir.exp: Likewise.
7226         * gdb.base/solib-overlap.exp: Likewise.
7227         * gdb.base/solib-symbol.exp: Likewise.
7228         * gdb.base/solib-weak.exp (do_test): Likewise.
7229         * gdb.base/sym-file.exp: Likewise.
7230         * gdb.base/symtab-search-order.exp: Likewise.
7231         * gdb.base/type-opaque.exp: Likewise.
7232         * gdb.base/unload.exp: Likewise.
7233         * gdb.base/watchpoint-solib.exp: Likewise.
7234         * gdb.compile/compile.exp: Likewise.
7235         * gdb.cp/gdb2384.exp: Likewise.
7236         * gdb.cp/infcall-dlopen.exp: Likewise.
7237         * gdb.cp/re-set-overloaded.exp: Likewise.
7238         * gdb.fortran/library-module.exp: Likewise.
7239         * gdb.opt/solib-intra-step.exp: Likewise.
7240         * gdb.python/py-finish-breakpoint.exp: Likewise.
7241         * gdb.python/py-shared.exp: Likewise.
7242         * gdb.reverse/solib-precsave.exp: Likewise.
7243         * gdb.reverse/solib-reverse.exp: Likewise.
7244         * gdb.server/solib-list.exp: Likewise.
7245         * gdb.threads/dlopen-libpthread.exp: Likewise.
7246         * gdb.threads/tls-shared.exp: Likewise.
7247         * gdb.threads/tls-so_extern.exp: Likewise.
7248         * gdb.trace/change-loc.exp: Likewise.
7249         * gdb.trace/ftrace-lock.exp: Likewise.
7250         * gdb.trace/ftrace.exp: Likewise.
7251         * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
7252         * gdb.trace/pending.exp: Likewise.
7253         * gdb.trace/range-stepping.exp: Likewise.
7254         * gdb.trace/strace.exp (strace_remove_socket): Likewise.
7255         (strace_info_marker): Likewise.
7256         (strace_probe_marker): Likewise.
7257         (strace_trace_on_same_addr): Likewise.
7258         (strace_trace_on_diff_addr): Likewise.
7259         * gdb.trace/trace-break.exp: Likewise.
7260         * gdb.trace/trace-condition.exp: Likewise.
7261         * gdb.trace/trace-mt.exp: Likewise.
7262
7263 2016-04-27  Simon Marchi  <simon.marchi@ericsson.com>
7264
7265         * lib/gdb.exp (gdb_load_shlibs):  Accept a single argument.  Return
7266         result of gdb_remote_download.
7267         * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
7268         * gdb.base/dso2dso.exp: Likewise.
7269         * gdb.base/global-var-nested-by-dso.exp: Likewise.
7270         * gdb.base/print-file-var.exp: Likewise.
7271         * gdb.base/shlib-call.exp: Likewise.
7272         * gdb.base/shreloc.exp: Likewise.
7273         * gdb.base/solib-overlap.exp: Likewise.
7274         * gdb.base/solib-weak.exp (do_test): Likewise.
7275         * gdb.base/unload.exp: Likewise.
7276
7277 2016-04-27  Yao Qi  <yao.qi@linaro.org>
7278
7279         * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
7280         exists.
7281
7282 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7283
7284         * vla-type.exp: Print structure from toplevel.
7285
7286 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7287
7288         * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
7289         of dynamic types.
7290         * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
7291         of dynamic types.
7292
7293 2016-04-26  Bernhard Heckel  <bernhard.heckel@intel.com>
7294
7295         * gdb.fortran/vla-type.f90: New file.
7296         * gdb.fortran/vla-type.exp: New file.
7297
7298 2016-04-25  Yao Qi  <yao.qi@linaro.org>
7299
7300         * gdb.base/branch-to-self.c: New file.
7301         * gdb.base/branch-to-self.exp: New file.
7302
7303 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7304
7305         * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
7306         more after $hex.
7307
7308 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7309
7310         * gdb.base/annota1.exp: Set breakpoint on line $main_line.
7311         * gdb.base/annota3.exp: Likewise.
7312
7313 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7314
7315         * gdb.reverse/step-precsave.exp: Do one step and test program
7316         stops in "callee" and do multiple steps until program goes out
7317         of "callee".
7318         * gdb.reverse/step-reverse.exp: Likewise.
7319
7320 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7321
7322         * gdb.trace/signal.exp: Also pass if
7323         $tracepoint_hits($i) > $iterations.
7324
7325 2016-04-22  Yao Qi  <yao.qi@linaro.org>
7326
7327         * gdb.trace/signal.c: New file.
7328         * gdb.trace/signal.exp: New file.
7329
7330 2016-04-19  Doug Evans  <xdje42@gmail.com>
7331
7332         * gdb.base/bad-file.exp: New file.
7333
7334 2016-04-18  Martin Galvan  <martin.galvan@tallertechnologies.com>
7335
7336         * gdb.dwarf2/implref.exp: New file.
7337
7338 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
7339
7340         * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
7341         * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
7342         * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
7343         * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
7344         * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
7345         * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
7346         * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
7347         * lib/fortran.exp (fortran_int4): New procedure.
7348         (fortran_real4, fortran_real8, fortran_complex4): Likewise.
7349         (fortran_logical4): Likewise.
7350
7351 2016-04-18  Benrhard Heckel <bernhard.heckel@intel.com>
7352
7353         * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
7354
7355 2016-04-18  Bernhard Heckel <bernhard.heckel@intel.com>
7356
7357         * lib/compiler.c: Add Intel specific preprocessor macros.
7358         * lib/compiler.cc: Likewise.
7359
7360 2016-04-13  Luis Machado  <lgustavo@codesourcery.com>
7361
7362         * gdb.server/connect-with-no-symbol-file.c: New file.
7363         * gdb.server/connect-with-no-symbol-file.exp: New file.
7364
7365 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
7366
7367         * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
7368
7369 2016-04-13  Simon Marchi  <simon.marchi@ericsson.com>
7370
7371         * boards/gdbserver-base.exp (${board}_download): Copy source file to
7372         standard output directory.
7373
7374 2016-04-13  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7375
7376         * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
7377
7378 2016-04-13  Markus Metzger  <markus.t.metzger@intel.com>
7379
7380         * gdb.btrace/instruction_history.c (loop): Add declaration.
7381
7382 2016-04-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7383
7384         * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
7385
7386 2016-04-09  Simon Marchi  <simon.marchi@polymtl.ca>
7387
7388         * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
7389         parentheses to print.
7390         (continue_handler): Likewise.
7391
7392 2016-04-08  Simon Marchi  <simon.marchi@ericsson.com>
7393
7394         * gdb.server/solib-list.exp: Remove is_remote check.
7395         Pass shlib= to gdb_compile.  Don't link shared library with
7396         -soname.  Call gdb_remote_download instead of gdb_load_shlibs.
7397         Run binary filename through "readlink -f" on the target.
7398
7399 2016-04-08  Pedro Alves  <palves@redhat.com>
7400
7401         * gdb.server/solib-list.exp: Don't use gdb_load.  Instead pass the
7402         interpreter filename as argument to gdbserver_spawn.
7403         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7404         Return empty if $last_loaded_file does not exist.
7405
7406 2016-04-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
7407
7408         Fix compatibility with gcc-4.8.5-4.el7.x86_64.
7409         * gdb.base/jit-main.c: Use exit after usage.
7410
7411 2016-04-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
7412
7413         * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
7414         GDBHISTSIZE prior to the tests.
7415         * gdb.base/gdbinit-history.exp: Likewise.
7416
7417 2016-04-07  Pedro Alves  <palves@redhat.com>
7418
7419         * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
7420         instead of build_executable.  Use gdb_load_shlibs.
7421
7422 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7423
7424         * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
7425         Execute "si" command.
7426
7427 2016-04-07  Yao Qi  <yao.qi@linaro.org>
7428
7429         * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
7430         number instead of the comments on some line.
7431
7432 2016-04-06  Don Breazeal  <donb@codesourcery.com>
7433
7434         * gdb.dwarf2/dw2-opt-structptr.c: New test program.
7435         * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
7436
7437 2016-04-06  Simon Marchi  <simon.marchi@ericsson.com>
7438
7439         * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
7440         standard_output_file.  Remove unused binfile variable.
7441
7442 2016-04-05  Catalin Udma  <catalin.udma@freescale.com>
7443
7444         * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
7445         * gdb.python/py-mi-objfile.exp: Match "list main" output
7446         in console format.
7447
7448 2016-04-05  Simon Marchi  <simon.marchi@polymtl.ca>
7449
7450         * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
7451         absolute.
7452
7453 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7454
7455         * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
7456         absolute.
7457         * gdb.trace/ftrace.exp: Likewise.
7458         * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
7459         targets as well.
7460         (gdb_compile_shlib): Set SONAME for non-remote targets as well.
7461         (gdb_load_shlibs): Copy libraries to test directory when testing
7462         natively.  Only set solib-search-path if testing remotely.
7463         * lib/mi-support.exp (mi_load_shlibs): Likewise.
7464
7465 2016-04-05  Simon Marchi  <simon.marchi@ericsson.com>
7466
7467         * gdb.base/jit-so.exp: Use gdb_remote_download instead of
7468         gdb_download.  Use it even if the target is not remote.
7469         * gdb.base/jit.exp (compile_jit_test): Likewise.
7470         * lib/gdb.exp (gdb_remote_download): Copy files to the standard
7471         output directory if the destination board is local, otherwise use
7472         the standard remote_download from DejaGnu.
7473         (gdb_download): Remove.
7474         (gdb_load_shlibs): Use gdb_remote_download instead of
7475         gdb_download.
7476         * lib/gdbserver-support.exp (gdbserver_download_current_prog):
7477         Use gdb_remote_download instead of gdb_download.  Use it even if
7478         the target is not remote.
7479         * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
7480         instead of gdb_download.
7481
7482 2016-04-04  Simon Marchi  <simon.marchi@polymtl.ca>
7483
7484         * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
7485         (test_insert_delete_modify): Call mi_load_shlibs before trying to
7486         run.
7487
7488 2016-04-01  Artemiy Volkov  <artemiyv@acm.org>
7489
7490         PR gdb/19820
7491         * gdb.base/printcmds.exp: Add artificial arrays tests.
7492
7493 2016-03-31  Pedro Alves  <palves@redhat.com>
7494
7495         PR gdb/19858
7496         * gdb.base/jit-main.c: Include unistd.h.
7497         (ATTACH): Define to 0 if not already defined.
7498         (wait_for_gdb, mypid): New globals.
7499         (WAIT_FOR_GDB): New macro.
7500         (MAIN): Set an alarm.  Store the process's pid.  Wait for GDB at
7501         some breakpoint locations.
7502         * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
7503         New procedures.
7504         (one_jit_test): Add REATTACH parameter, and handle it.  Use
7505         continue_to_test_location.
7506         (top level): Test attach, and adjusts calls to one_jit_test.
7507
7508 2016-03-31  Pedro Alves  <palves@redhat.com>
7509
7510         PR gdb/19858
7511         * gdb.base/jit.exp (compile_jit_test): Add intro comment.  Add
7512         BINSUFFIX parameter, and handle it.
7513         (top level): Adjust calls compile_jit_test.
7514
7515 2016-03-31  Catalin Udma  <catalin.udma@freescale.com>
7516
7517         PR python/19743
7518         * gdb.python/py-mi-events-gdb.py: New file.
7519         * gdb.python/py-mi-events.c: New file.
7520         * gdb.python/py-mi-events.exp: New file.
7521
7522 2016-03-30  Yao Qi  <yao.qi@linaro.org>
7523
7524         * gdb.reverse/until-precsave.exp: Match function name only.
7525         * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
7526         Move malloc to a condition block.
7527         * gdb.reverse/until-reverse.exp: Match function name only.
7528
7529 2016-03-29  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7530
7531         * gdb.trace/ftrace.exp: Set arg0exp for s390.
7532         * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
7533         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
7534         variable for GPR 0 instead of assuming it is register 0.
7535         * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
7536         * lib/trace-support.exp: Add s390 registers.
7537
7538 2016-03-29  Yao Qi  <yao.qi@linaro.org>
7539
7540         * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
7541
7542 2016-03-24  Yao Qi  <yao.qi@linaro.org>
7543
7544         * gdb.reverse/break-reverse.exp: Add quotation mark in the
7545         test message.
7546
7547 2016-03-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7548
7549         * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
7550         maintaining separate logic for constructing the output path.
7551
7552 2016-03-16  Don Breazeal  <donb@codesourcery.com>
7553
7554         * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
7555         Retry fork and waitpid on interrupted system call errors.
7556         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7557         Use with_timeout_factor to increase timeout by factor of 10.
7558
7559 2016-03-15  Don Breazeal  <donb@codesourcery.com>
7560
7561         * gdb.cp/scope-err.cc: New test program.
7562         * gdb.cp/scope-err.exp: New test script.
7563         * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
7564         lines and "set breakpoint here" comment.
7565         * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
7566         Fixed some whitespace and format issues.
7567         * gdb.mi/mi-linespec-err-cp.cc: New test program.
7568         * gdb.mi/mi-linespec-err-cp.exp: New test script.
7569
7570 2016-03-15  Doug Evans  <dje@google.com>
7571
7572         * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
7573         * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
7574         All callers updated.  Add tests for enums, mixed flags register.
7575
7576 2016-03-15  Doug Evans  <dje@google.com>
7577
7578         * gdb.base/skip.c (main): Call test_skip_file_and_function.
7579         * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
7580
7581 2016-03-14  Simon Marchi  <simon.marchi@ericsson.com>
7582
7583         * gdb.base/default.exp: Add $_as_string to the list of expected
7584         convenience functions.
7585
7586 2016-03-11  Andrew Burgess  <andrew.burgess@embecosm.com>
7587
7588         * gdb.base/maint.exp: New tests for 'maint info line-table'.
7589
7590 2016-03-10  Simon Marchi  <simon.marchi@polymtl.ca>
7591
7592         * gdb.python/py-as-string.exp: New file.
7593         * gdb.python/py-as-string.c: New file.
7594
7595 2016-03-09  Pedro Alves  <palves@redhat.com>
7596
7597         * gdb.threads/attach-into-signal.exp: Adjust to "Program received
7598         signal" -> "Thread NN received signal" output change.
7599         * gdb.threads/ia64-sigill.exp: Likewise.
7600         * gdb.threads/linux-dp.exp: Likewise.
7601         * gdb.threads/manythreads.exp: Likewise.
7602         * gdb.threads/pending-step.exp: Likewise.
7603         * gdb.threads/print-threads.exp: Likewise.
7604         * gdb.threads/sigstep-threads.exp: Likewise.
7605         * gdb.threads/staticthreads.exp: Likewise.
7606         * gdb.threads/tls.exp: Likewise.
7607
7608 2016-03-09  Pedro Alves  <palves@redhat.com>
7609
7610         * gdb.base/command-line-input.exp: New file.
7611
7612 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7613
7614         * gdb.trace/ftrace.exp: Set arg0exp for ppc.
7615         * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
7616         * gdb.trace/pending.exp: Accept leading dot before function name.
7617         * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
7618         * lib/trace-support.exp: Set registers for ppc.
7619
7620 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7621
7622         * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
7623         use it for disassembly; accept .main in addition to main in backtrace.
7624
7625 2016-03-09  Wei-cheng Wang  <cole945@gmail.com>
7626             Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7627
7628         * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
7629         (gdb_recursion_test_ptr): New global variable.
7630         (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
7631         gdb_recursion_test.
7632         (gdb_c_test): Ditto.
7633
7634 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7635
7636         * gdb.trace/change-loc.exp: Don't depend on tracepoint location
7637         ordering.
7638
7639 2016-03-09  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7640
7641         * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
7642         (bar): Add bar_start_lbl label.
7643         * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
7644         of foo/bar for emitting DWARF and tracing.
7645
7646 2016-03-06  Sergio Durigan Junior  <sergiodj@redhat.com>
7647
7648         * analyze-racy-logs.py: Set executable bit.
7649
7650 2016-03-05  Sergio Durigan Junior  <sergiodj@redhat.com>
7651
7652         * Makefile.in (DEFAULT_RACY_ITER): New variable.
7653         (CHECK_TARGET_TMP): Likewise.
7654         (check-single-racy): New rule.
7655         (check-parallel-racy): Likewise.
7656         (TEST_TARGETS): Adjust rule to account for RACY_ITER.
7657         (do-check-parallel-racy): New rule.
7658         (check-racy/%.exp): Likewise.
7659         * README (Racy testcases): New section.
7660         * analyze-racy-logs.py: New file.
7661
7662 2016-03-03  Doug Evans  <dje@google.com>
7663
7664         * gdb.base/skip.exp: Use with_test_prefix.
7665
7666 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7667
7668         * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
7669         Invoke step_over_syscall "clone" and break_cond_on_syscall
7670         "clone".
7671         * gdb.base/step-over-clone.c: New file.
7672
7673 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7674
7675         * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
7676         code format.
7677
7678 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7679
7680         * gdb.base/disp-step-fork.c: Rename to ...
7681         * gdb.base/step-over-fork.c: ... it.  New file.
7682         * gdb.base/disp-step-vfork.c: Rename to ...
7683         * gdb.base/step-over-vfork.c: ... it.  New file.
7684         * gdb.base/disp-step-syscall.exp: Rename to ...
7685         * gdb.base/step-over-syscall.exp: ... it.  New file.
7686         (disp_step_cross_syscall): Rename to ...
7687         (step_over_syscall): ... it.
7688
7689 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7690
7691         * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
7692         If target supports condition evaluation on target, invoke
7693         break_cond_on_syscall for fork and vfork.
7694
7695 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7696
7697         * gdb.base/disp-step-syscall.exp: Don't invoke
7698         support_displaced_stepping.
7699         (disp_step_cross_syscall): Test with displaced stepping off and
7700         on if supported.
7701
7702 2016-03-03  Yao Qi  <yao.qi@linaro.org>
7703
7704         * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
7705         proc.
7706         (setup): New proc.
7707         (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
7708         and setup.
7709
7710 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7711
7712         * gdb.fortran/vla-history.exp: Remove breakpoint.
7713
7714 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7715
7716         * gdb.fortran/vla-history.exp: Lookup array elements and printing
7717         exceeds timeout.
7718
7719 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7720
7721         * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an
7722         breakpoint.
7723
7724 2016-03-02  Bernhard Heckel  <bernhard.heckel@intel.com>
7725
7726         * gdb.mi/vla.f90: Nullify pointer after declaration.
7727
7728 2016-03-01  Pedro Alves  <palves@redhat.com>
7729
7730         * gdb.trace/ftrace-lock.c: Include <unistd.h>.
7731
7732 2016-03-01  Pedro Alves  <palves@redhat.com>
7733
7734         * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
7735         before anything else.
7736         * gdb.threads/watchpoint-fork-mt.c: Likewise.  Don't define
7737         _GNU_SOURCE here.
7738         * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
7739         before anything else.
7740         * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
7741
7742 2016-03-01  Pedro Alves  <palves@redhat.com>
7743
7744         * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
7745
7746 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7747
7748         * gdb.arch/arm-disp-step.exp: Use standard_testfile and
7749         prepare_for_testing.
7750
7751 2016-03-01  Yao Qi  <yao.qi@linaro.org>
7752
7753         * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
7754
7755 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7756
7757         * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
7758         manually constructing the output path.
7759
7760 2016-03-01  Andreas Arnez  <arnez@linux.vnet.ibm.com>
7761
7762         * gdb.arch/s390-stackless.S: New.
7763         * gdb.arch/s390-stackless.exp: New.
7764
7765 2016-02-28  Iain Buclaw  <ibuclaw@gdcproject.org>
7766
7767         * gdb.dlang/circular.c: New file.
7768         * gdb.dlang/circular.exp: New file.
7769
7770 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7771
7772         * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
7773         [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
7774         (testcases): Update.
7775
7776 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7777
7778         * gdb.reverse/aarch64.c: Rename to ...
7779         * gdb.reverse/insn-reverse.c: ... it.
7780         * gdb.reverse/aarch64.exp: Rename to ...
7781         * gdb.reverse/insn-reverse.exp: ... it.
7782
7783 2016-02-26  Yao Qi  <yao.qi@linaro.org>
7784
7785         * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
7786         (testcase_ftype): New.
7787         (testcases): New array.
7788         (n_testcases): New.
7789         (main): Call each element in testcases.
7790         * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
7791         (read_testcase): New.
7792         Do the tests in a loop.
7793
7794 2016-02-25  Yao Qi  <yao.qi@linaro.org>
7795
7796         * gdb.base/branches.c: Remove.
7797
7798 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7799
7800         PR gdb/13808
7801         * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
7802
7803 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7804
7805         * gdb.trace/ftrace.exp: Remove unnecessary target check.
7806
7807 2016-02-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7808
7809         * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
7810         change x86_64 call_insn to 'callq'.
7811
7812 2016-02-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
7813
7814         * gdb.trace/tfile-avx.c: Move to...
7815         * gdb.trace/tracefile-pseudo-reg.c: Here.
7816         * gdb.trace/tfile-avx.exp: Move to...
7817         * gdb.trace/tracefile-pseudo-reg.exp: Here.
7818
7819 2016-02-24  Gary Benson <gbenson@redhat.com>
7820
7821         * gdb.base/attach-pie-noexec.exp: Do not expect an error
7822         message on attach.
7823
7824 2016-02-23  Doug Evans  <dje@google.com>
7825
7826         * gdb.base/skip.c (test_skip): New function.
7827         (end_test_skip_file_and_function): New function.
7828         (test_skip_file_and_function): New function.
7829         * gdb.base/skip1.c (test_skip): New function.
7830         (skip1_test_skip_file_and_function): New function.
7831         * gdb.base/skip.exp: Add tests for new skip options.
7832         * gdb.base/skip-solib.exp: Update expected output.
7833         * gdb.perf/skip-command.cc: New file.
7834         * gdb.perf/skip-command.exp: New file.
7835         * gdb.perf/skip-command.py: New file.
7836
7837 2016-02-22  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7838
7839         * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
7840         info registers pattern.
7841
7842 2016-02-18  Iain Buclaw  <ibuclaw@gdcproject.org>
7843
7844         * lib/future.exp: Add D support.
7845         (gdb_find_gdc): New proc.
7846         (gdb_default_target_compile): Add D support.
7847
7848 2016-02-18  Wei-cheng Wang  <cole945@gmail.com>
7849
7850         * gdb.trace/tspeed.c (myclock): Return wallclock instead of
7851         user+system time.
7852         (trace_speed_test): Determine the iteration count for a time
7853         between 15..30 seconds.
7854
7855 2016-02-18  Walfred Tedeschi  <walfred.tedeschi@intel.com>
7856
7857         * gdb.arch/i386-mpx-sigsegv.c: New file.
7858         * gdb.arch/i386-mpx-sigsegv.exp: New file.
7859         * gdb.arch/i386-mpx-simple_segv.c: New file.
7860         * gdb.arch/i386-mpx-simple_segv.exp: New file.
7861
7862 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7863
7864         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
7865         Don't call setup_kfail.
7866
7867 2016-02-18  Yao Qi  <yao.qi@linaro.org>
7868
7869         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7870         Set "set breakpoint condition-evaluation" per $cond_bp_target.
7871
7872 2016-02-16  Doug Evans  <dje@google.com>
7873
7874         * gdb.base/skip.c: Add copyright.  Whitespace cleanup.
7875         * gdb.base/skip1.c: Ditto.
7876         * gdb.base/skip.exp: Whitespace cleanup.
7877
7878 2016-02-16  Don Breazeal  <donb@codesourcery.com>
7879
7880         PR remote/19496
7881         * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
7882         Remove kfail for PR remote/19496.
7883
7884 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7885
7886         * lib/gdb.exp (standard_temp_file): Return a path specific to
7887         the runtest invocation.
7888
7889 2016-02-16  Simon Marchi  <simon.marchi@ericsson.com>
7890
7891         * gdb.trace/save-trace.exp: Change relative path to be in the
7892         standard output directory.
7893
7894 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7895
7896         * gdb.arch/i386-prologue.c: Add missing prototypes.
7897
7898 2016-02-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
7899
7900         * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
7901         * gdb.arch/i386-prologue.exp: Likewise.
7902         * gdb.arch/i386-size.exp: Likewise.
7903
7904 2016-02-15  Simon Marchi  <simon.marchi@ericsson.com>
7905
7906         * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
7907         define object file path.
7908         * gdb.btrace/gcore.exp: Use standard_output_file to define core
7909         file path.
7910         * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
7911         standard_output_file to define binfile.
7912
7913 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7914
7915         Fix compatibility with recent gfortran-5.3.1.
7916         * gdb.fortran/vla-history.exp (print vla1 allocated)
7917         (print vla2 allocated, print $2, print $3): Remove
7918         (print $4): Rename to ...
7919         (print $2): ... here.
7920         (print $9): Rename to ...
7921         (print $5): ... here.
7922         (print $10): Rename to ...
7923         (print $6): ... here.
7924         * gdb.fortran/vla.f90: Add pvla initialization.
7925
7926 2016-02-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
7927
7928         * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
7929         New test.
7930         * gdb.fortran/vla-value-sub.exp: Likewise.
7931
7932 2016-02-12  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7933
7934         * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
7935
7936 2016-02-12  Simon Marchi  <simon.marchi@ericsson.com>
7937
7938         * i386-biarch-core.exp: Define corefile using
7939         standard_output_file.
7940
7941 2016-02-12  Yao Qi  <yao.qi@linaro.org>
7942
7943         * gdb.arch/arm-single-step-kernel-helper.c: New.
7944         * gdb.arch/arm-single-step-kernel-helper.exp: New.
7945
7946 2016-02-12  Markus Metzger  <markus.t.metzger@intel.com>
7947
7948         * gdb.btrace/tailcall-only.exp: New.
7949         * gdb.btrace/tailcall-only.c: New.
7950         * gdb.btrace/x86_64-tailcall-only.S: New.
7951         * gdb.btrace/i686-tailcall-only.S: New.
7952
7953 2016-02-11  Pedro Alves  <palves@redhat.com>
7954
7955         * README (Parallel testing): Add missing double quotes.
7956
7957 2016-02-11  Pedro Alves  <palves@redhat.com>
7958
7959         * README (Parallel testing): New section.
7960         (GDB_PARALLEL): Rewrite.
7961         (FORCE_PARALLEL): Document.
7962
7963 2016-02-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
7964
7965         * gdb.trace/tfile-avx.c: New test.
7966         * gdb.trace/tfile-avx.exp: New test.
7967
7968 2016-02-09  Keith Seitz  <keiths@redhat.com>
7969
7970         PR breakpoints/19546
7971         * gdb.base/infcall-exec.c: New file.
7972         * gdb.base/infcall-exec2.c: New file.
7973         * gdb.base/infcall-exec.exp: New file.
7974
7975 2016-02-09  Keith Seitz  <keiths@redhat.com>
7976
7977         * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
7978         (toplevel): Call test_bkpt_address.
7979
7980 2016-02-09  Keith Seitz  <keiths@redhat.com>
7981
7982         PR python/19506
7983         * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
7984         (toplevel): Call test_bkpt_address.
7985
7986 2016-02-09  Simon Marchi  <simon.marchi@ericsson.com>
7987
7988         * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
7989         to AC_OUTPUT.
7990         * configure: Regenerate.
7991
7992 2016-02-09  Pedro Alves  <palves@redhat.com>
7993
7994         PR breakpoints/19548
7995         * gdb.base/execl-update-breakpoints.c (some_function): New
7996         function.
7997         (main): Call it.
7998         * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
7999         Tighten expected GDB output.
8000
8001 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
8002
8003         * Makefile.in (ALL_SUBDIRS): Remove.
8004         (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
8005         (distclean maintainer-clean realclean): Likewise.
8006         * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
8007         * configure: Regenerate.
8008         * gdb.ada/Makefile.in: Delete.
8009         * gdb.arch/Makefile.in: Likewise.
8010         * gdb.asm/Makefile.in: Likewise.
8011         * gdb.base/Makefile.in: Likewise.
8012         * gdb.btrace/Makefile.in: Likewise.
8013         * gdb.cell/Makefile.in: Likewise.
8014         * gdb.compile/Makefile.in: Likewise.
8015         * gdb.cp/Makefile.in: Likewise.
8016         * gdb.disasm/Makefile.in: Likewise.
8017         * gdb.dlang/Makefile.in: Likewise.
8018         * gdb.dwarf2/Makefile.in: Likewise.
8019         * gdb.fortran/Makefile.in: Likewise.
8020         * gdb.gdb/Makefile.in: Likewise.
8021         * gdb.go/Makefile.in: Likewise.
8022         * gdb.guile/Makefile.in: Likewise.
8023         * gdb.java/Makefile.in: Likewise.
8024         * gdb.linespec/Makefile.in: Likewise.
8025         * gdb.mi/Makefile.in: Likewise.
8026         * gdb.modula2/Makefile.in: Likewise.
8027         * gdb.multi/Makefile.in: Likewise.
8028         * gdb.objc/Makefile.in: Likewise.
8029         * gdb.opencl/Makefile.in: Likewise.
8030         * gdb.opt/Makefile.in: Likewise.
8031         * gdb.pascal/Makefile.in: Likewise.
8032         * gdb.perf/Makefile.in: Likewise.
8033         * gdb.python/Makefile.in: Likewise.
8034         * gdb.reverse/Makefile.in: Likewise.
8035         * gdb.server/Makefile.in: Likewise.
8036         * gdb.stabs/Makefile.in: Likewise.
8037         * gdb.threads/Makefile.in: Likewise.
8038         * gdb.trace/Makefile.in: Likewise.
8039         * gdb.xml/Makefile.in: Likewise.
8040         * lib/gdb.exp (make_gdb_parallel_path): Add check for
8041         GDB_PARALLEL.
8042         (standard_output_file): Remove check for GDB_PARALLEL, always
8043         return path in outputs/$subdir/$testname.
8044
8045 2016-02-08  Simon Marchi  <simon.marchi@ericsson.com>
8046
8047         * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
8048         (site.exp): Assign abs_srcdir to tcl's srcdir.
8049
8050 2016-02-04  Yao Qi  <yao.qi@linaro.org>
8051
8052         * gdb.base/foll-exec-mode.c: Include limits.h.
8053         (main): Add parameters argc and argv.  Get directory from
8054         argv[0].
8055         * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
8056         compilation.
8057         * gdb.base/foll-exec.c: Include limits.h.
8058         (main): Add parameters argc and argv.
8059         Get directory from argv[0].
8060         * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
8061         Adjust tests on the number of lines as source code changed.
8062         * gdb.base/foll-vfork-exit.c: Include limits.h.
8063         (main): Add one line of statement before vfork.
8064         * gdb.base/foll-vfork.c: Include limits.h and string.h.
8065         (main): Add parameters argc and argv.  Get directory from
8066         argv[0].
8067         * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
8068         (setup_gdb): Set tbreak to skip some source lines.
8069         * gdb.multi/bkpt-multi-exec.c: Include limits.h.
8070         (main): Add parameters argc and argv.  Get directory from
8071         argv[0].
8072         * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
8073         compilation.
8074         * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
8075         (main): Add parameters argc and argv.  Get directory from
8076         argv[0].
8077         * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
8078         compilation.
8079
8080 2016-02-01  Doug Evans  <dje@google.com>
8081
8082         * gdb.base/skip.exp: Clean up multiple references to same test name.
8083
8084 2016-02-01  Pedro Alves  <palves@redhat.com>
8085
8086         PR remote/19496
8087         * gdb.threads/forking-threads-plus-breakpoint.exp
8088         (displaced_stepping_supported): New global.
8089         (probe_displaced_stepping_support): New procedure.
8090         (do_test): Add 'displaced' parameter, and use it.
8091         (top level): Check for displaced stepping support.  Add displaced
8092         stepping on/off testing axis.
8093
8094 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
8095
8096         * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
8097         pointer.  Don't perform further tests on the unassociated pointer
8098         if the first test fails.
8099
8100 2016-02-01  Andrew Burgess  <andrew.burgess@embecosm.com>
8101
8102         * gdb.base/max-value-size.c: New file.
8103         * gdb.base/max-value-size.exp: New file.
8104         * gdb.base/huge.exp: Disable max-value-size for this test.
8105
8106 2016-01-28  Iain Buclaw  <ibuclaw@gdcproject.org>
8107
8108         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
8109
8110 2016-01-28  Yao Qi  <yao.qi@linaro.org>
8111
8112         * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
8113
8114 2016-01-25  Pedro Alves  <palves@redhat.com>
8115
8116         PR threads/19461
8117         * gdb.base/fork-running-state.c: New file.
8118         * gdb.base/fork-running-state.exp: New file.
8119
8120 2016-01-25  Pedro Alves  <palves@redhat.com>
8121
8122         PR gdb/19494
8123         * gdb.base/catch-fork-kill.c: New file.
8124         * gdb.base/catch-fork-kill.exp: New file.
8125
8126 2016-01-25  Pedro Alves  <palves@redhat.com>
8127
8128         * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
8129         Delete, moved to lib/gdb.exp.
8130         * gdb.threads/forking-threads-plus-breakpoint.exp
8131         (foreach_with_prefix): Likewise.
8132         * gdb.threads/process-dies-while-handling-bp.exp
8133         (foreach_with_prefix): Likewise.
8134         * lib/gdb.exp (foreach_with_prefix): New procedure.
8135
8136 2016-01-25  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8137
8138         * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
8139         * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
8140
8141 2016-01-23  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8142
8143         * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
8144         endian targets.
8145
8146 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8147             Pedro Alves  <palves@redhat.com>
8148
8149         Fix testsuite compatibility with Guile.
8150         * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
8151         number.
8152
8153 2016-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
8154
8155         Fix testsuite compatibility with Guile.
8156         * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
8157         (thread 1): New test for backtrace through signal handler.
8158
8159 2016-01-22  Yao Qi  <yao.qi@linaro.org>
8160
8161         PR testsuite/19491
8162         * gdb.base/multi-forks.c: Include
8163         ../lib/unbuffer_output.c
8164         (main): Call gdb_unbuffer_output.
8165
8166 2016-01-21  Doug Evans  <dje@google.com>
8167
8168         * lib/ada.exp (gdb_compile_ada): Fix typo.
8169
8170 2016-01-21  Joel Brobecker  <brobecker@adacore.com>
8171
8172         * gdb.base/break-fun-addr.exp: New file.
8173         * gdb.base/break-fun-addr1.c: New file.
8174         * gdb.base/break-fun-addr2.c: New file.
8175
8176 2016-01-20  Simon Marchi  <simon.marchi@polymtl.ca>
8177
8178         * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
8179         * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
8180         enum flag values.
8181
8182 2016-01-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
8183
8184         * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
8185         when GDB can not set the vector return value.  Add more comments
8186         for clarification.
8187
8188 2016-01-20  Antoine Tremblay  <antoine.tremblay@ericsson.com>
8189
8190         * gdb.trace/tspeed.exp:  Use shlib instead of libs in gdb_compile
8191         command.
8192
8193 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
8194
8195         * Makefile.in (DO_RUNTEST): Add --status and update usages.
8196
8197 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
8198
8199         * Makefile.in (check-single): Pass --status to runtest.
8200         (check/%.exp): Likewise.
8201
8202 2016-01-19  Simon Marchi  <simon.marchi@ericsson.com>
8203
8204         * Makefile.in (check-parallel): Propagate return code from make
8205         do-check-parallel.
8206
8207 2016-01-19  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8208
8209         * gdb.trace/ftrace.exp: Fix expected message on continue.
8210         * gdb.trace/pending.exp: Fix expected message on continue.
8211         * gdb.trace/trace-break.exp: Fix expected message on continue.
8212
8213 2016-01-18  Simon Marchi  <simon.marchi@ericsson.com>
8214
8215         * lib/gdb.exp (gdb_test): Remove unused global references.
8216
8217 2016-01-18  Pedro Alves  <palves@redhat.com>
8218
8219         * gdb.base/async-shell.exp: Adjust expected output.
8220         * gdb.base/dprintf-non-stop.exp: Adjust expected output.
8221         * gdb.base/siginfo-thread.exp: Adjust expected output.
8222         * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
8223         * gdb.java/jnpe.exp: Adjust expected output.
8224         * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
8225         * gdb.threads/continue-pending-status.exp: Adjust expected output.
8226         * gdb.threads/leader-exit.exp: Adjust expected output.
8227         * gdb.threads/manythreads.exp: Adjust expected output.
8228         * gdb.threads/pthreads.exp: Adjust expected output.
8229         * gdb.threads/schedlock.exp: Adjust expected output.
8230         * gdb.threads/siginfo-threads.exp: Adjust expected output.
8231         * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
8232         expected output.
8233         * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
8234         output.
8235         * gdb.threads/sigthread.exp: Adjust expected output.
8236         * gdb.threads/watchpoint-fork.exp: Adjust expected output.
8237
8238 2016-01-18  Yao Qi  <yao.qi@linaro.org>
8239
8240         * gdb.guile/scm-section-script.c: Replace @progbits with
8241         %progbits.
8242         * gdb.python/py-section-script.c: Likewise.
8243
8244 2016-01-15  Pedro Alves  <palves@redhat.com>
8245
8246         * gdb.multi/tids.exp: Test star wildcard ranges.
8247
8248 2016-01-15  Pedro Alves  <palves@redhat.com>
8249
8250         * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
8251         command from "thread apply" invocation.
8252         (thr_apply_info_thr_invalid): Default the expected output to the
8253         input tid list.
8254         (top level): Add tests that use convenience variables.  Add tests
8255         for "thread apply" with a valid TID list, but missing the command.
8256
8257 2016-01-13  Pedro Alves  <palves@redhat.com>
8258
8259         * gdb.base/default.exp: Expect $_gthread as well.
8260         * gdb.multi/tids.exp: Test $_gthread.
8261         * gdb.threads/thread-specific.exp: Test $_gthread.
8262
8263 2016-01-13  Pedro Alves  <palves@redhat.com>
8264
8265         * gdb.multi/tids.exp: Test "info threads -gid".
8266
8267 2016-01-13  Pedro Alves  <palves@redhat.com>
8268
8269         * gdb.multi/tids.exp: Test InferiorThread.global_num and
8270         Breakpoint.thread.
8271         * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
8272
8273 2016-01-07  Pedro Alves  <palves@redhat.com>
8274
8275         * gdb.base/break.exp: Adjust to output changes.
8276         * gdb.base/hbreak2.exp: Likewise.
8277         * gdb.base/sepdebug.exp: Likewise.
8278         * gdb.base/watch_thread_num.exp: Likewise.
8279         * gdb.linespec/keywords.exp: Likewise.
8280         * gdb.multi/info-threads.exp: Likewise.
8281         * gdb.threads/thread-find.exp: Likewise.
8282         * gdb.multi/tids.c: New file.
8283         * gdb.multi/tids.exp: New file.
8284
8285 2016-01-13  Pedro Alves  <palves@redhat.com>
8286
8287         * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
8288
8289 2016-01-13  Pedro Alves  <palves@redhat.com>
8290
8291         * gdb.base/default.exp: Expect $_inferior as well.
8292         * gdb.multi/base.exp: Test $_inferior.
8293
8294 2016-01-13  Pedro Alves  <palves@redhat.com>
8295
8296         PR breakpoints/19388
8297         * gdb.base/catch-signal-siginfo-cond.c: New file.
8298         * gdb.base/catch-signal-siginfo-cond.exp: New file.
8299
8300 2016-01-12  Josh Stone  <jistone@redhat.com>
8301             Philippe Waroquiers  <philippe.waroquiers@skynet.be>
8302
8303         * gdb.base/catch-syscall.c (do_execve): New variable.
8304         (main): Conditionally trigger an execve.
8305         * gdb.base/catch-syscall.exp: Enable testing for remote targets.
8306         (test_catch_syscall_execve): New, check entry/return across execve.
8307         (do_syscall_tests): Call test_catch_syscall_execve.
8308
8309 2016-01-12  Pedro Alves  <palves@redhat.com>
8310
8311         * gdb.base/random-signal.exp (do_test): New procedure, with body
8312         of testcase moved in.
8313
8314 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8315             Pedro Alves  <palves@redhat.com>
8316
8317         * gdb.base/funcargs.exp (finish from indirectly called function):
8318         Reintroduce the case for 'First'.
8319
8320 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8321             Pedro Alves  <palves@redhat.com>
8322
8323         * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
8324         (tcatch_vfork_then_child_follow_exec)
8325         (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
8326         identification.
8327
8328 2016-01-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
8329
8330         * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
8331         and repeats to unlimited.
8332         * gdb.python/py-value.exp: Likewise.
8333         * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
8334         and repeats to unlimited.
8335
8336 2016-01-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
8337
8338         * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
8339         and reordering the functions.
8340         * gdb.multi/hangout.c: Likewise.
8341         * gdb.multi/hello.c: Likewise.
8342
8343 2016-01-08  Simon Marchi  <simon.marchi@ericsson.com>
8344
8345         * gdb.perf/lib/perftest/perftest.py: Change relative imports to
8346         absolute.
8347         (SingleStatisticTestResult.report): Use dict.keys instead of
8348         dict.iterkeys.
8349
8350 2016-01-06  Pedro Alves  <palves@redhat.com>
8351
8352         * gdb.python/py-infthread.exp: Fix typo.  Expect t0.num to be 1.
8353
8354 2016-01-04  Markus Metzger  <markus.t.metzger@intel.com>
8355
8356         * gdb.btrace/dlopen.exp: New.
8357         * gdb.btrace/dlopen.c: New.
8358         * gdb.btrace/dlopen-dso.c: New.
8359
8360 2015-12-25  Sandra Loosemore  <sandra@codesourcery.com>
8361
8362         * lib/gdb.exp (gdb_test): Update comments to clarify that the
8363         PATTERN argument is optional.
8364
8365 2015-12-24  Joel Brobecker  <brobecker@adacore.com>
8366
8367         * lib/ada.exp (target_compile_ada_from_dir): New function.
8368         (gdb_compile_ada): Reimplement avoiding the use of project files.
8369         * gdb.ada/gnat_ada.gpr: Delete.
8370         * gdb.ada/cond_lang.exp: Adjust test to make path before
8371         filename optional.
8372         * gdb.ada/small_reg_param.exp: Likewise.
8373
8374 2015-12-22  Simon Marchi  <simon.marchi@ericsson.com>
8375
8376         * gdb.base/foll-vork.exp: Remove HP-UX special case.
8377
8378 2015-12-22  Thomas Preud'homme  <thomas.preudhomme@arm.com>
8379
8380         * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
8381         case.
8382
8383 2015-12-21  Simon Marchi  <simon.marchi@ericsson.com>
8384
8385         * gdb.base/break.exp: Remove dead code.
8386         * gdb.base/sepdebug.exp: Likewise.
8387
8388 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8389
8390         * gdb.asm/asm-source.exp: Remove HP-UX references.
8391         * gdb.base/annota1.exp: Likewise.
8392         * gdb.base/annota3.exp: Likewise.
8393         * gdb.base/attach.exp: Likewise.
8394         * gdb.base/bigcore.exp: Likewise.
8395         * gdb.base/break.exp: Likewise.
8396         * gdb.base/call-ar-st.exp: Likewise.
8397         * gdb.base/callfuncs.exp: Likewise.
8398         * gdb.base/catch-fork-static.exp: Likewise.
8399         * gdb.base/display.exp: Likewise.
8400         * gdb.base/foll-exec-mode.exp: Likewise.
8401         * gdb.base/foll-exec.exp: Likewise.
8402         * gdb.base/foll-fork.exp: Likewise.
8403         * gdb.base/foll-vfork.exp: Likewise.
8404         * gdb.base/funcargs.exp: Likewise.
8405         * gdb.base/hbreak2.exp: Likewise.
8406         * gdb.base/inferior-died.exp: Likewise.
8407         * gdb.base/interrupt.exp: Likewise.
8408         * gdb.base/multi-forks.exp: Likewise.
8409         * gdb.base/nodebug.exp: Likewise.
8410         * gdb.base/sepdebug.exp: Likewise.
8411         * gdb.base/solib1.c: Likewise.
8412         * gdb.base/step-test.exp: Likewise.
8413         * gdb.mi/non-stop.c: Likewise.
8414         * gdb.mi/pthreads.c: Likewise.
8415         * gdb.multi/bkpt-multi-exec.ex: Likewise.
8416         * gdb.threads/pthreads.c: Likewise.
8417         * gdb.threads/staticthreads.exp: Likewise.
8418         * lib/future.exp: Likewise.
8419         * lib/gdb.exp: Likewise.
8420         * gdb.base/so-indr-cl.c: Remove.
8421         * gdb.base/so-indr-cl.exp: Likewise.
8422         * gdb.base/solib.c: Likewise.
8423         * gdb.base/solib.exp: Likewise.
8424         * gdb.base/solib2.c: Likewise.
8425
8426 2015-12-21  Simon Marchi  <simon.marchi@polymtl.ca>
8427
8428         * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
8429         * gdb.base/call-ar-st.exp: Likewise.
8430         * gdb.base/callfuncs.exp: Likewise.
8431         * gdb.base/condbreak.exp: Likewise.
8432         * gdb.base/constvars.exp: Likewise.
8433         * gdb.base/hbreak2.exp: Likewise.
8434         * gdb.base/langs.exp: Likewise.
8435         * gdb.base/list.exp: Likewise.
8436         * gdb.base/long_long.exp: Likewise.
8437         * gdb.base/ptype.exp: Likewise.
8438         * gdb.base/scope.exp: Likewise.
8439         * gdb.base/signals.exp: Likewise.
8440         * gdb.base/so-impl-ld.exp: Likewise.
8441         * gdb.base/varargs.exp: Likewise.
8442         * gdb.base/volatile.exp: Likewise.
8443         * gdb.base/whatis.exp: Likewise.
8444         * gdb.cp/cplusfuncs.exp: Likewise.
8445         * gdb.cp/inherit.exp: Likewise.
8446         * gdb.cp/local.exp: Likewise.
8447         * gdb.cp/member-ptr.exp: Likewise.
8448         * gdb.cp/method.exp: Likewise.
8449         * gdb.cp/overload.exp: Likewise.
8450         * gdb.cp/templates.exp: Likewise.
8451         * gdb.stabs/weird.exp: Likewise.
8452         * lib/compiler.c: Likewise.
8453         * lib/compiler.cc: Likewise.
8454         * lib/cp-support.exp: Likewise.
8455         * lib/gdb.exp: Likewise.
8456
8457 2015-12-20  Simon Marchi  <simon.marchi@polymtl.ca>
8458
8459         * configure.ac: Remove HP-UX case.
8460         * configure: Regenerate.
8461
8462 2015-12-18  Simon Marchi  <simon.marchi@ericsson.com>
8463
8464         * lib/gdb.exp (gdb_compile): Add function doc.
8465
8466 2015-12-17  Pedro Alves  <palves@redhat.com>
8467
8468         PR threads/19354
8469         * gdb.multi/info-threads.exp: New file.
8470
8471 2015-12-15  Yao Qi  <yao.qi@linaro.org>
8472
8473         * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
8474         is aarch64*-*-*.
8475
8476 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8477
8478         * gdb.base/history-duplicates.exp: Skip if no readline support.
8479
8480 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8481
8482         * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
8483
8484 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8485
8486         * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
8487
8488 2015-12-14  Sandra Loosemore  <sandra@codesourcery.com>
8489
8490         * gdb.base/completion.exp: Skip tests that interrupt GDB with
8491         ctrl-C if nointerrupts target property is set.
8492         * gdb.base/double-prompt-target-event-error.exp: Likewise.
8493         * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
8494         * gdb.base/paginate-bg-execution.exp: Likewise.
8495         * gdb.base/paginate-execution-startup.exp: Likewise.
8496         * gdb.base/random-signal.exp: Likewise.
8497         * gdb.base/range-stepping.exp: Likewise.
8498         * gdb.cp/annota2.exp: Likewise.
8499         * gdb.cp/annota3.exp: Likewise.
8500         * gdb.gdb/selftest.exp: Likewise.
8501         * gdb.threads/continue-pending-status.exp: Likewise.
8502         * gdb.threads/leader-exit.exp: Likewise.
8503         * gdb.threads/manythreads.exp: Likewise.
8504         * gdb.threads/pthreads.exp: Likewise.
8505         * gdb.threads/schedlock.exp: Likewise.
8506         * gdb.threads/sigthread.exp: Likewise.
8507
8508 2015-12-11  Don Breazeal  <donb@codesourcery.com>
8509
8510         * gdb.base/execl-update-breakpoints.exp (main): Enable for target
8511         remote.
8512         * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
8513         * gdb.base/foll-exec.exp (main): Enable for target remote.
8514         * gdb.base/foll-fork.exp (main): Likewise.
8515         * gdb.base/foll-vfork.exp (main): Likewise.
8516         * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
8517         (proc continue_to_exit_bp_loc): Use clean_restart.
8518         * gdb.base/pie-execl.exp (main): Disable for target remote.
8519         * gdb.base/watch-vfork.exp (main): Enable for target remote.
8520         * gdb.mi/mi-nsthrexec.exp (main): Likewise.
8521         * gdb.threads/execl.exp (main): Likewise.
8522         * gdb.threads/fork-child-threads.exp (main): Likewise.
8523         * gdb.threads/fork-plus-threads.exp (main): Disable for target
8524         remote.
8525         * gdb.threads/fork-thread-pending.exp (main): Enable for target
8526         remote.
8527         * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
8528         pid.tid style ptids, instead of just tid.
8529         * gdb.threads/thread-execl.exp (main): Enable for target remote.
8530         * gdb.threads/watchpoint-fork.exp (main): Likewise.
8531         * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
8532         ptids, instead of just tid.
8533
8534 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8535
8536         * gdb.base/list.exp (test_list_forward): Add end of file error
8537         test.
8538         (test_repeat_list_command): Add end of file error test.
8539         (test_list_backwards): Add beginning of file error test.
8540
8541 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8542
8543         * gdb.base/list.exp (test_list_invalid_args): New function,
8544         defined, and called.
8545
8546 2015-12-11  Andrew Burgess  <andrew.burgess@embecosm.com>
8547
8548         * gdb.base/list.exp (test_list): Make test names unique.
8549
8550 2015-12-11  Yao Qi  <yao.qi@linaro.org>
8551
8552         * gdb.base/coremaker2.c: Remove.
8553
8554 2015-12-10  Pedro Alves  <palves@redhat.com>
8555
8556         * gdb.multi/base.exp: Remove stale "spaces" references.
8557
8558 2015-12-10  Pedro Alves  <palves@redhat.com>
8559
8560         * gdb.multi/base.exp: Don't use nowarnings.
8561         * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
8562         * gdb.multi/hangout.c: Include stdio.h.
8563         * gdb.multi/hello.c: Include stdlib.h.
8564         * gdb.multi/multi-arch-exec.c: Include stdlib.h.
8565         * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
8566         * gdb.multi/multi-arch.exp: Don't use nowarnings.
8567
8568 2015-12-10  Andrew Burgess  <andrew.burgess@embecosm.com>
8569
8570         * gdb.dwarf2/dw2-ranges-base.c: New file.
8571         * gdb.dwarf2/dw2-ranges-base.exp: New file.
8572         * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
8573         support additional line table, and debug ranges generation.
8574         (Dwarf::ranges): New function, generate .debug_ranges.
8575         (Dwarf::lines): Support generating simple line table programs.
8576         (Dwarf::assemble): Initialise new namespace variables.
8577
8578 2015-12-09  Kevin Buettner  <kevinb@redhat.com>
8579
8580         * gdb.base/async.exp (proc test_background): Add case for
8581         asynchronous execution not supported.
8582
8583 2015-12-09  Luis Machado  <lgustavo@codesourcery.com>
8584
8585         * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
8586           format and change test names to make them unique.
8587
8588 2015-12-09  Ruslan Kabatsayev  <b7.10110111@gmail.com>
8589             Pedro Alves  <pedro@redhat.com>
8590
8591         PR gdb/18702
8592         Add checking of floatformats setup on x86_64 hosts.
8593         * gdb.arch/i386-float.S (main): Load bigval and smallval.
8594         (smallval, bigval): New labels/constants.
8595         * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
8596         float" after loading bigval and smallval.
8597
8598 2015-12-07  Pierre-Marie de Rodat  <derodat@adacore.com>
8599
8600         * gdb.ada/fun_overload_menu.exp: New testcase.
8601         * gdb.ada/fun_overload_menu/foo.adb: New testcase.
8602
8603 2015-12-04  Josh Stone  <jistone@redhat.com>
8604
8605         * gdb.base/catch-fork-static.exp: New.
8606
8607 2015-12-03  Yao Qi  <yao.qi@linaro.org>
8608
8609         * gdb.base/sizeof.c: Don't include stdio.h and
8610         ../lib/unbuffer_output.c.
8611         (main): New variable 'size' and 'value'.  Remove printf and
8612         gdb_unbuffer_output.  Assign return value to size and value.
8613         * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
8614         at the beginning.
8615         (check_sizeof): Check the result by printing variable 'size'.
8616         (check_valueof): Check the result by printing variable 'value'.
8617
8618 2015-12-01  Yao Qi  <yao.qi@linaro.org>
8619
8620         * gdb.base/disp-step-syscall.exp: Define syscall instruction
8621         for aarch64*-*-linux* target.
8622
8623 2015-11-30  Pedro Alves  <palves@redhat.com>
8624
8625         * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
8626
8627 2015-11-30  Pedro Alves  <palves@redhat.com>
8628
8629         * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
8630         Handle non-stop mode vCont replies.
8631
8632 2015-11-30  Pedro Alves  <palves@redhat.com>
8633
8634         * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
8635         prepare_for_testing.  Start gdb with "set non-stop on" appended to
8636         GDBFLAGS.  Lax expected stop output.
8637
8638 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8639
8640         * gdb.arch/arm-neon.exp: New.
8641         * gdb.arch/arm-neon.c: New.
8642
8643 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8644
8645         * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
8646
8647 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8648
8649         * gdb.cp/annota2.exp: Allow multiple occurrences of the
8650         frames-invalid annotation.
8651
8652 2015-11-27  Yao Qi  <yao.qi@linaro.org>
8653
8654         * gdb.cp/annota2.exp: Use ${frames_invalid}.
8655
8656 2015-11-26  Simon Marchi  <simon.marchi@ericsson.com>
8657
8658         * gdb.threads/names.exp: New file.
8659         * gdb.threads/names.c: New file.
8660         * README: Mention gdb,no_thread_names.
8661
8662 2015-11-26  Markus Metzger  <markus.t.metzger@intel.com>
8663
8664         PR 19297
8665         * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
8666         support" error.
8667
8668 2015-11-24  Pedro Alves  <palves@redhat.com>
8669
8670         PR 17539
8671         * gdb.base/display.exp: Expect displays to be sorted in ascending
8672         order.  Use multi_line.
8673         * gdb.base/solib-display.exp: Likewise.
8674
8675 2015-11-24  Pedro Alves  <palves@redhat.com>
8676
8677         PR 17539
8678         * gdb.base/display.exp: Expect displays to be sorted in ascending
8679         order.  Use multi_line.
8680         * gdb.base/solib-display.exp: Likewise.
8681
8682 2015-11-24  Pedro Alves  <palves@redhat.com>
8683
8684         PR 17539
8685         * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
8686         threads in ascending order.
8687         * gdb.base/foll-fork.exp: Likewise.
8688         * gdb.base/foll-vfork.exp: Likewise.
8689         * gdb.base/multi-forks.exp: Likewise.
8690         * gdb.mi/mi-nonstop.exp: Likewise.
8691         * gdb.mi/mi-nsintrall.exp: Likewise.
8692         * gdb.multi/base.exp: Likewise.
8693         * gdb.multi/multi-arch.exp: Likewise.
8694         * gdb.python/py-inferior.exp: Likewise.
8695         * gdb.threads/break-while-running.exp: Likewise.
8696         * gdb.threads/execl.exp: Likewise.
8697         * gdb.threads/gcore-thread.exp: Likewise.
8698         * gdb.threads/info-threads-cur-sal.exp: Likewise.
8699         * gdb.threads/kill.exp: Likewise.
8700         * gdb.threads/linux-dp.exp: Likewise.
8701         * gdb.threads/multiple-step-overs.exp: Likewise.
8702         * gdb.threads/next-bp-other-thread.exp: Likewise.
8703         * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
8704         * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
8705         * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
8706         * gdb.threads/thread-find.exp: Likewise.
8707         * gdb.threads/tls.exp: Likewise.
8708         * lib/mi-support.exp (mi_reverse_list): Delete.
8709         (mi_check_thread_states): No longer reverse list.
8710
8711 2015-11-24  Pedro Alves  <palves@redhat.com>
8712
8713         * gdb.python/py-inferior.exp: Use with_test_prefix.  Consistently
8714         use lowercase.
8715
8716 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8717
8718         * gdb.trace/actions.c: Include trace-common.h.
8719         (main): Add a location for a fast tracepoint.
8720         * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
8721         the normal tracepoints.
8722         (gdb_verify_tracepoints): Adjust number of expected tracepoints.
8723
8724 2015-11-23  Simon Marchi  <simon.marchi@ericsson.com>
8725
8726         * save-trace.exp: Factor out code to these...
8727         (gdb_save_tracepoints): New.
8728         (gdb_load_tracepoints): New.
8729         (do_save_load_test): New.
8730
8731 2015-11-23  Kevin Buettner  <kevinb@redhat.com>
8732
8733         * gdb.base/asmlabel.exp: New test.
8734         * gdb.base/asmlabel.c: New test case.
8735
8736 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8737
8738         * gdb.base/wrong_frame_bt_full-main.c: New file.
8739         * gdb.base/wrong_frame_bt_full-opaque.c: New file.
8740         * gdb.base/wrong_frame_bt_full.exp: New file.
8741
8742 2015-11-23  Joel Brobecker  <brobecker@adacore.com>
8743
8744         * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
8745
8746 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8747
8748         * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
8749         pstate register when comparing registers values in
8750         sparc64-*-linux-gnu targets to avoid spurious differences.
8751
8752 2015-11-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
8753
8754         * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
8755
8756 2015-11-19  Sandra Loosemore  <sandra@codesourcery.com>
8757
8758         * gdb.base/nested-subp1.exp: Pass executable, not executable name,
8759         as type argument to gdb_compile.
8760         * gdb.base/nested-subp2.exp: Likewise.
8761         * gdb.base/nested-subp3.exp: Likewise.
8762
8763 2015-11-17  Dominik Vogt  <vogt@linux.vnet.ibm.com>
8764
8765         * lib/dwarf.exp (_note): Fix left shift of negative value.
8766         * gdb.trace/trace-condition.exp: Likewise.
8767
8768 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8769
8770         * gdb.base/call-sc.exp (test_scalar_returns): Remove the
8771         comments about d10v.
8772         (test_scalar_returns): Likewise.
8773         * gdb.base/d10v.ld: Remove.
8774         * gdb.base/overlays.exp: Remove the target triplet checking for
8775         d10v-*-*.
8776         * gdb.base/structs.exp (test_struct_returns): Remove the
8777         comments about d10v.
8778         (test_struct_calls): Likewise.
8779
8780 2015-11-13  Yao Qi  <yao.qi@linaro.org>
8781
8782         * gdb.base/gnu_vector.exp: Check the return value by "p res".
8783         * gdb.base/gnu_vector.c: Don't include stdio.h.
8784         (main): Don't print res and call add_some_intvecs.
8785
8786 2015-11-11  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8787
8788         * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
8789         macro.
8790         (func5): Removed.
8791         (func4): Use FAST_TRACEPOINT_LABEL.
8792         * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
8793         macro.
8794         (func): Removed.
8795         (thread_function): Use FAST_TRACEPOINT_LABEL.
8796         * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
8797         (func): Remove.
8798         (marker): Use FAST_TRACEPOINT_LABEL.
8799         * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
8800         (pendfunc1): Remove.
8801         (pendfunc): Use FAST_TRACEPOINT_LABEL.
8802         * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
8803         (foo): Remove.
8804         (pendfunc2): Use FAST_TRACEPOINT_LABEL.
8805         * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
8806         macro.
8807         (func): Remove.
8808         (marker): Use FAST_TRACEPOINT_LABEL.
8809         * gdb.trace/trace-common.h: New header.
8810         * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
8811         macro.
8812         (func): Remove.
8813         (marker): Use FAST_TRACEPOINT_LABEL.
8814         * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
8815         (func): Remove.
8816         (thread_function): Use FAST_TRACEPOINT_LABEL.
8817
8818 2015-11-10  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8819
8820         * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
8821         in front.
8822         * gdb.trace/change-loc.exp: Use global pcreg definition.
8823         * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
8824         * gdb.trace/entry-values.exp: Use global spreg definition, add $
8825         in front.
8826         * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
8827         * gdb.trace/pending.exp: Likewise.
8828         * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
8829         * gdb.trace/trace-break.exp: Likewise.
8830         * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
8831         in front.
8832         * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
8833         * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
8834         in front.
8835         * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
8836
8837 2015-11-09  Joel Brobecker  <brobecker@adacore.com>
8838
8839         * gdb.ada/fin_fun_out: New testcase.
8840
8841 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8842
8843         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
8844         value associated with DW_AT_byte_size.
8845         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
8846         constants for DW_AT_byte_size, DW_AT_lower_bound, and
8847         DW_AT_upper_bound.
8848
8849 2015-11-07  Kevin Buettner  <kevinb@redhat.com>
8850
8851         * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
8852         (gdb_target_symbol_prefix_flags): Define in terms of _asm
8853         version.
8854         * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
8855         gdb.dwarf2/dw2-canonicalize-type.exp,
8856         gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
8857         gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
8858         gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
8859         provided by gdb_target_symbol_prefix_flags_asm.
8860         * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
8861         testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
8862         testsuite/gdb.dwarf2/dw2-unresolved-main.c,
8863         testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
8864         gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
8865         macros where needed).  Use this macro for symbols which require
8866         the prefix provided by SYMBOL_PREFIX.
8867
8868 2015-11-05  Kevin Buettner  <kevinb@redhat.com>
8869
8870         * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
8871         New procs.
8872         * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
8873         representing expressions, of more than one list element.
8874         * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
8875         to prepend linker symbol prefix to f.
8876         * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
8877         table_1 and table_2.
8878         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
8879         Likewise, for f and g.
8880         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
8881         for ptr.
8882         * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
8883         for main.
8884         * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
8885         table_1_ptr and table_2_ptr.
8886
8887 2015-11-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
8888             Joel Brobecker  <brobecker@adacore.com>
8889
8890         * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
8891
8892 2015-11-04  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8893
8894         * gdb.reverse/s390-mvcle.c: New test.
8895         * gdb.reverse/s390-mvcle.exp: New file.
8896         * lib/gdb.exp: Enable reverse tests on s390*-linux.
8897
8898 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8899
8900         * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
8901
8902 2015-11-02  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8903
8904         * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
8905         reaching marker2.
8906         * gdb.reverse/getresuid-reverse.exp: Likewise.
8907         * gdb.reverse/pipe-reverse.exp: Likewise.
8908         * gdb.reverse/readv-reverse.exp: Likewise.
8909         * gdb.reverse/recvmsg-reverse.exp: Likewise.
8910         * gdb.reverse/time-reverse.exp: Likewise.
8911         * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
8912
8913 2015-10-30  Yao Qi  <yao.qi@linaro.org>
8914
8915         * gdb.threads/wp-replication.c (watch_count_done): Remove.
8916         (empty_cycle): Remove.
8917         (main): Don't call empty_cycle.  Don't use watch_count_done.
8918         * gdb.threads/wp-replication.exp: Don't set breakpoint on
8919         empty_cycle.  Rewrite the code counting HW watchpoints.
8920
8921 2015-10-30  Marcin KoÅ›cielnicki  <koriakin@0x04.net>
8922
8923         * gdb.reverse/fstatat-reverse.c: New test.
8924         * gdb.reverse/fstatat-reverse.exp: New file.
8925         * gdb.reverse/getresuid-reverse.c: New test.
8926         * gdb.reverse/getresuid-reverse.exp: New file.
8927         * gdb.reverse/pipe-reverse.c: New test.
8928         * gdb.reverse/pipe-reverse.exp: New file.
8929         * gdb.reverse/readv-reverse.c: New test.
8930         * gdb.reverse/readv-reverse.exp: New file.
8931         * gdb.reverse/recvmsg-reverse.c: New test.
8932         * gdb.reverse/recvmsg-reverse.exp: New file.
8933         * gdb.reverse/time-reverse.c: New test.
8934         * gdb.reverse/time-reverse.exp: New file.
8935         * gdb.reverse/waitpid-reverse.c: New test.
8936         * gdb.reverse/waitpid-reverse.exp: New file.
8937
8938 2015-10-27  Jan Kratochvil  <jan.kratochvil@redhat.com>
8939
8940         * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
8941
8942 2015-10-26  Doug Evans  <dje@google.com>
8943
8944         PR symtab/17391
8945         * lib/dwarf.exp (_location): Add support for DW_OP_regx.
8946         * gdb.dwarf2/bad-regnum.c: New file.
8947         * gdb.dwarf2/bad-regnum.exp: New file.
8948
8949 2015-10-26  Doug Evans  <dje@google.com>
8950
8951         PR python/18938
8952         * gdb.python/python.exp: Add test for symlink from .py file to .notpy
8953         file.
8954
8955 2015-10-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
8956
8957         * gdb.compile/compile.exp (compile code globalvar): Update expectation
8958         for a change by "Mention language in compile error message".
8959
8960 2015-10-21  Simon Marchi  <simon.marchi@polymtl.ca>
8961
8962         PR python/18073
8963         * gdb.python/py-type.c (C::a_method): New.
8964         (C::a_const_method): New.
8965         (C::a_static_method): New.
8966         (a_function): New.
8967         * gdb.python/py-type.exp (test_fields): Test getting fields
8968         from function and method.
8969
8970 2015-10-21  Keven Boell  <keven.boell@intel.com>
8971
8972         * gdb.fortran/vla-alloc-assoc.exp: New file.
8973         * gdb.fortran/vla-datatypes.exp: New file.
8974         * gdb.fortran/vla-datatypes.f90: New file.
8975         * gdb.fortran/vla-history.exp: New file.
8976         * gdb.fortran/vla-ptype-sub.exp: New file.
8977         * gdb.fortran/vla-ptype.exp: New file.
8978         * gdb.fortran/vla-sizeof.exp: New file.
8979         * gdb.fortran/vla-sub.f90: New file.
8980         * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
8981         * gdb.fortran/vla-value-sub-finish.exp: New file.
8982         * gdb.fortran/vla-value-sub.exp: New file.
8983         * gdb.fortran/vla-value.exp: New file.
8984         * gdb.fortran/vla-ptr-info.exp: New file.
8985         * gdb.mi/mi-vla-fortran.exp: New file.
8986         * gdb.mi/vla.f90: New file.
8987
8988 2015-10-21  Sandra Loosemore  <sandra@codesourcery.com>
8989
8990         * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
8991         of hardwired timeout value.
8992
8993 2015-10-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
8994             Pedro Alves  <palves@redhat.com>
8995
8996         * gdb.dwarf2/dw2-regno-invalid.exp: New file.
8997         * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
8998
8999 2015-10-19  Josh Stone  <jistone@redhat.com>
9000
9001         * gdb.base/catch-syscall.c: Include <sched.h>.
9002         (unknown_syscall): New variable.
9003         (main): Trigger a vfork and an unknown syscall.
9004         * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
9005         (unknown_syscall_number): Likewise.
9006         (check_call_to_syscall): Accept an optional syscall pattern.
9007         (check_return_from_syscall): Likewise.
9008         (check_continue): Likewise.
9009         (test_catch_syscall_without_args): Check for vfork and ENOSYS.
9010         (test_catch_syscall_skipping_return): New test toggling off 'catch
9011         syscall' to step over the syscall return, then toggling back on.
9012         (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
9013         during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
9014         (do_syscall_tests): Call test_catch_syscall_without_args and
9015         test_catch_syscall_mid_vfork.
9016         (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
9017         (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
9018
9019 2015-10-19  Andrew Stubbs  <ams@codesourcery.com>
9020
9021         * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
9022         print g_vE): Add new pass patterns.
9023         * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
9024         print various symbol names for vptr fields.
9025
9026 2015-10-12  Andrew Burgess  <andrew.burgess@embecosm.com>
9027
9028         * gdb.base/dbx.exp (test_func): Remove xfails, update expected
9029         results.
9030
9031 2015-10-12  Yao Qi  <yao.qi@linaro.org>
9032
9033         * gdb.arch/disp-step-insn-reloc.exp: New test case.
9034
9035 2015-10-12  Yao Qi  <yao.qi@linaro.org>
9036
9037         * lib/gdb.exp (support_displaced_stepping): Return 1 if target
9038         is aarch64*-*-linux*.
9039
9040 2015-10-12  Yao Qi  <yao.qi@linaro.org>
9041
9042         * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
9043         (can_relocate_bcond_true): ... it.
9044         (can_relocate_bcond_false): New function.
9045         (foo): Likewise.
9046         (can_relocate_bl): Likewise.
9047         (testcases) [__aarch64__]: Add can_relocate_bcond_false and
9048         can_relocate_bl.
9049
9050 2015-10-12  Pierre-Marie de Rodat  <derodat@adacore.com>
9051
9052         * gdb.base/nested-addr.c: New file.
9053         * gdb.base/nested-addr.exp: New testcase.
9054
9055 2015-10-09  Markus Metzger  <markus.t.metzger@intel.com>
9056
9057         * gdb.btrace/vdso.c (main): Remove breakpoint markers.
9058         * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
9059         its output.  Ignore the output of "record goto begin" and instead
9060         check that GDB is replaying.
9061
9062 2015-10-09  Pedro Alves  <palves@redhat.com>
9063
9064         * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
9065         (top level): Use it in the run with no args test.
9066
9067 2015-10-08  Iain Buclaw  <ibuclaw@gdcproject.org>
9068
9069         * gdb.dlang/properties.exp: New file.
9070
9071 2015-10-02  Sandra Loosemore  <sandra@codesourcery.com>
9072
9073         * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
9074         whether or not address 0x1000 is mapped on the target.
9075
9076 2015-09-30  Simon Marchi  <simon.marchi@ericsson.com>
9077
9078         * gdb.python/py-type.exp: Do not run tests if binaries fail to
9079         build.
9080
9081 2015-09-30  Markus Metzger  <markus.t.metzger@intel.com>
9082
9083         * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
9084         instruction-history test.
9085
9086 2015-09-28  Doug Evans  <dje@google.com>
9087
9088         * gdb.base/gcore.c (array_func): Add reference to static_array.
9089
9090 2015-09-25  Simon Marchi  <simon.marchi@ericsson.com>
9091
9092         * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
9093         source line.
9094
9095 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
9096
9097         * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
9098         short or char as base type.
9099
9100 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
9101
9102         * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
9103         to allow any size enum.
9104
9105 2015-09-23  Pierre-Marie de Rodat  <derodat@adacore.com>
9106
9107         * gdb.ada/array_ptr_renaming.exp: New testcase.
9108         * gdb.ada/array_ptr_renaming/foo.adb: New file.
9109         * gdb.ada/array_ptr_renaming/pack.ads: New file.
9110
9111 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
9112
9113         * gdb.trace/ftrace-lock.c: New file.
9114         * gdb.trace/ftrace-lock.exp: New file.
9115
9116 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
9117
9118         * gdb.arch/insn-reloc.c: New file.
9119         * gdb.arch/ftrace-insn-reloc.exp: New file.
9120
9121 2015-09-21  Pierre Langlois  <pierre.langlois@arm.com>
9122
9123         * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
9124         instruction.
9125         * gdb.trace/pendshr1.c (pendfunc): Likewise.
9126         * gdb.trace/pendshr2.c (pendfunc2): Likewise.
9127         * gdb.trace/range-stepping.c: Likewise.
9128         * gdb.trace/trace-break.c: Likewise.
9129         * gdb.trace/trace-mt.c (thread_function): Likewise.
9130         * gdb.trace/ftrace.c (marker): Likewise.
9131         * gdb.trace/trace-condition.c (marker): Likewise.
9132         * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
9133         * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
9134         is_aarch64_target.
9135
9136 2015-09-18  Doug Evans  <xdje42@gmail.com>
9137
9138         * gdb.dwarf2/dw2-bad-unresolved.c: New file.
9139         * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
9140
9141 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9142
9143         * gdb.base/dso2dso.exp: Don't use directory prefix when setting
9144         the breakpoint.
9145
9146 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9147
9148         * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
9149         the pending breakpoint.  Remove timeout override for "Run till
9150         MI pending breakpoint on pendfunc3 on thread 2" test.
9151
9152 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9153
9154         * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
9155         filename pattern.
9156
9157 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9158
9159         * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
9160         in breakpoint filename pattern.
9161
9162 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9163
9164         * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
9165
9166 2015-09-18  Sandra Loosemore  <sandra@codesourcery.com>
9167
9168         * gdb.linespec/explicit.exp: Check for readline support for
9169         tab-completion tests.  Fix obvious typo.
9170
9171 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
9172
9173         * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
9174         and replay.
9175
9176 2015-09-18  Markus Metzger  <markus.t.metzger@intel.com>
9177
9178         * gdb.btrace/non-stop.c: New.
9179         * gdb.btrace/non-stop.exp: New.
9180
9181 2015-09-17  Pierre Langlois  <pierre.langlois@arm.com>
9182             Yao Qi  <yao.qi@linaro.org>
9183
9184         * gdb.trace/trace-condition.c: New file.
9185         * gdb.trace/trace-condition.exp: New file.
9186
9187 2015-09-16  Wei-cheng Wang  <cole945@gmail.com>
9188
9189         * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
9190         for testing bytecode compilation.
9191
9192 2015-09-16  Pedro Alves  <palves@redhat.com>
9193             Sandra Loosemore <sandra@codesourcery.com>
9194
9195         * gdb.threads/non-stop-fair-events.c (timeout): New global.
9196         (SECONDS): Redefine.
9197         (main): Call pthread_kill and alarm early.
9198         * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
9199         support.
9200         (test): If the target can't hardware step and doesn't support
9201         displaced stepping, increase the timeout.
9202
9203 2015-09-16  Pedro Alves  <palves@redhat.com>
9204
9205         * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
9206         (enable_debug): New procedures.
9207         (test): Use them.  Bail out if waiting for threads fails.
9208         (top level): Bail out if a test fails.
9209
9210 2015-09-16  Yao Qi  <yao.qi@linaro.org>
9211
9212         * gdb.asm/asm-source.exp: Set asm-arch for
9213         aarch64*-*-* target.
9214         * gdb.asm/aarch64.inc: New file.
9215
9216 2015-09-15  Pierre-Marie de Rodat  <derodat@adacore.com>
9217
9218         * gdb.ada/array_of_variable_length.exp: New testcase.
9219         * gdb.ada/array_of_variable_length/foo.adb: New file.
9220         * gdb.ada/array_of_variable_length/pck.adb: New file.
9221         * gdb.ada/array_of_variable_length/pck.ads: New file.
9222
9223 2015-09-15  Doug Evans  <dje@google.com>
9224
9225         * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
9226         of function static local variable.
9227
9228 2015-09-15  Philippe Waroquiers  <philippe.waroquiers@skynet.be>
9229
9230         * gdb.threads/tls-so_extern.exp: New test file.
9231         * gdb.threads/tls-so_extern.c: New test file.
9232         * gdb.threads/tls-so_extern_main.c: New test file.
9233
9234 2015-09-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
9235
9236         * gdb.opt/solib-intra-step-lib.c: New file.
9237         * gdb.opt/solib-intra-step-main.c: New file.
9238         * gdb.opt/solib-intra-step.exp: New file.
9239
9240 2015-09-15  Pedro Alves  <palves@redhat.com>
9241
9242         * gdb.threads/non-ldr-exc-3.exp (do_test): Use
9243         gdb_continue_to_breakpoint instead of gdb_test_multiple.
9244
9245 2015-09-14  Pedro Alves  <palves@redhat.com>
9246
9247         * gdb.base/hook-stop-continue.c: Delete.
9248         * gdb.base/hook-stop-continue.exp: Delete.
9249         * gdb.base/hook-stop-frame.c: Delete.
9250         * gdb.base/hook-stop-frame.exp: Delete.
9251         * gdb.base/hook-stop.c: New file.
9252         * gdb.base/hook-stop.exp: New file.
9253
9254 2015-09-14  Pierre-Marie de Rodat  <derodat@adacore.com>
9255
9256         * gdb.ada/access_to_packed_array.exp: New testcase.
9257         * gdb.ada/access_to_packed_array/foo.adb: New file.
9258         * gdb.ada/access_to_packed_array/pack.adb: New file.
9259         * gdb.ada/access_to_packed_array/pack.ads: New file.
9260
9261 2015-09-14  Markus Metzger  <markus.t.metzger@intel.com>
9262
9263         * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
9264         buffer size test.
9265
9266 2015-09-11  Don Breazeal  <donb@codesourcery.com>
9267
9268         * gdb.base/foll-exec.c: Add copyright header.  Fix
9269         formatting issues.
9270         * gdb.base/foll-exec.exp (zap_session): Delete proc.
9271         (do_exec_tests): Use clean_restart in place of zap_session,
9272         and for test initialization.  Fix formatting issues.  Use
9273         fail in place of perror.
9274         * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
9275         an expect statement to match an expression with output from
9276         the program under debug.
9277         * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
9278         non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
9279         * gdb.threads/non-ldr-exc-2.exp: Likewise.
9280         * gdb.threads/non-ldr-exc-3.exp: Likewise.
9281         * gdb.threads/non-ldr-exc-4.exp: Likewise.
9282
9283 2015-09-09  Doug Evans  <dje@google.com>
9284
9285         * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
9286
9287 2015-09-09  Doug Evans  <dje@google.com>
9288
9289         * gdb.base/pie-execl.exp: Fix result test of build_executable.
9290
9291 2015-09-09  Doug Evans  <dje@google.com>
9292
9293         * gdb.base/savedregs.exp: Fix typo.
9294
9295 2015-09-09  Pedro Alves  <palves@redhat.com>
9296
9297         * gdb.mi/mi-cli.exp: Add CLI finish tests.
9298
9299 2015-09-08  Sandra Loosemore  <sandra@codesourcery.com>
9300
9301         * gdb.threads/hand-call-in-threads.exp: Make sure the thread
9302         command actually switches threads.  Give up on remaining
9303         tests if target fails to stop at breakpoint.
9304
9305 2015-09-03  Pierre-Marie de Rodat  <derodat@adacore.com>
9306
9307         * gdb.ada/funcall_char.exp: New testcase.
9308         * gdb.ada/funcall_char/foo.adb: New file.
9309
9310 2015-09-01  Pierre-Marie de Rodat  <derodat@adacore.com>
9311
9312         * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
9313         expected outputs.  Add two testcases for completing ambiguous
9314         functions.
9315         * gdb.ada/complete/aux_pck.adb: New file.
9316         * gdb.ada/complete/aux_pck.ads: New file.
9317         * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
9318         Ambiguous_Func functions.
9319         * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
9320         * gdb.ada/complete/pck.adb: Likewise.
9321
9322 2015-08-27  Ulrich Weigand  <uweigand@de.ibm.com>
9323
9324         * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
9325         failures to run the test program under GDB.
9326
9327 2015-08-26  Luis Machado  <lgustavo@codesourcery.com>
9328
9329         * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
9330         to C.
9331
9332 2015-08-26  Patrick Palka  <patrick@parcs.ath.cx>
9333
9334         * gdb.base/run-after-attach.exp: New test file.
9335         * gdb.base/run-after-attach.c: New test file.
9336
9337 2015-08-26  Don Breazeal  <donb@codesourcery.com>
9338
9339         * gdb.base/foll-exec-2.c: New test program.
9340         * gdb.base/foll-exec-2.exp: New test.
9341
9342 2015-08-25  Pierre-Marie de Rodat  <derodat@adacore.com>
9343
9344         * gdb.base/nested-subp1.exp: New file.
9345         * gdb.base/nested-subp1.c: New file.
9346         * gdb.base/nested-subp2.exp: New file.
9347         * gdb.base/nested-subp2.c: New file.
9348         * gdb.base/nested-subp3.exp: New file.
9349         * gdb.base/nested-subp3.c: New file.
9350
9351 2015-08-24  Pedro Alves  <palves@redhat.com>
9352
9353         * gdb.server/connect-without-multi-process.c: New file.
9354         * gdb.server/connect-without-multi-process.exp: New file.
9355
9356 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9357
9358         * gdb.opt/inline-markers.c: Make z int.
9359
9360 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9361
9362         * gdb.opt/inline-markers.c: Make z volatile.
9363
9364 2015-08-24  Luis Machado  <lgustavo@codesourcery.com>
9365
9366         * gdb.opt/inline-bt.c: New volatile global z.
9367         * gdb.opt/inline-cmds.c: Likewise.
9368         * gdb.opt/inline-locals.c: Likewise.
9369         * gdb.opt/inline-markers.c: New extern global z.
9370         (marker): Use z.
9371         (inline_fn): Likewise.
9372
9373 2015-08-24  Pedro Alves  <palves@redhat.com>
9374
9375         * config/m32r-stub.exp: Remove file.
9376         * gdb.base/call-ar-st.exp: Remove reference to sparclet.
9377         * gdb.base/call-rt-st.exp: Likewise.
9378         * gdb.base/call-strs.exp: Likewise.
9379         * gdb.base/default.exp: Remove references to h8300-*-hms and
9380         *-*-udi*.
9381         * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
9382
9383 2015-08-24  Andreas Arnez  <arnez@linux.vnet.ibm.com>
9384
9385         * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
9386         -Wno-psabi" if "-mcpu=native" fails.  For the tests with "finish"
9387         and "return" use KFAIL when GDB can not read/write the vector
9388         return value.
9389
9390 2015-08-21  Gary Benson <gbenson@redhat.com>
9391
9392         * gdb.trace/pending.exp: Cope with remote transfer warnings.
9393
9394 2015-08-20  Pedro Alves  <palves@redhat.com>
9395
9396         * gdb.server/solib-list.exp: No longer expect an interior stop in
9397         non-stop mode.
9398
9399 2015-08-20  Pedro Alves  <palves@redhat.com>
9400
9401         * gdb.server/connect-stopped-target.c: New file.
9402         * gdb.server/connect-stopped-target.exp: New file.
9403
9404 2015-08-20  Pedro Alves  <palves@redhat.com>
9405
9406         * gdb.dwarf2/comp-unit-lang.exp: New file.
9407         * gdb.dwarf2/comp-unit-lang.c: New file.
9408
9409 2015-08-20  Pierre-Marie de Rodat  <derodat@adacore.com>
9410
9411         * gdb.ada/attr_ref_and_charlit.exp: New testcase.
9412         * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
9413
9414 2015-08-19  Kevin Buettner  <kevinb@redhat.com>
9415
9416         * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
9417         * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
9418
9419 2015-08-18  Doug Evans  <dje@google.com>
9420             Adrian Sendroiu <adrian.sendroiu@freescale.com>
9421
9422         * lib/gdb.exp (skip_python_tests_prompt): Renamed from
9423         skip_python_tests.  New arg prompt_regexp.
9424         (skip_python_tests): New function.
9425         * lib/mi-support.exp (mi_skip_python_tests): New function.
9426         * gdb.python/py-mi-objfile-gdb.py: New file.
9427         * gdb.python/py-mi-objfile.c: New file.
9428         * gdb.python/py-mi-objfile.exp: New file.
9429
9430 2015-08-17  Keith Seitz  <keiths@redhat.com>
9431
9432         * gdb.linespec/explicit.exp: Move strace test from here ...
9433         * gdb.trace/strace.exp: ... to here.
9434
9435 2015-08-15  Patrick Palka  <patrick@parcs.ath.cx>
9436
9437         * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
9438         * gdb.base/kill-detach-inferiors-cmd.c: New test file.
9439
9440 2015-08-14  Doug Evans  <xdje42@gmail.com>
9441
9442         * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
9443         inferior before selecting a new file.
9444
9445 2015-08-14  Doug Evans  <xdje42@gmail.com>
9446
9447         * gdb.mi/mi-disassemble.exp: Update.
9448         * gdb.base/disasm-optim.S: New file.
9449         * gdb.base/disasm-optim.c: New file.
9450         * gdb.base/disasm-optim.h: New file.
9451         * gdb.base/disasm-optim.exp: New file.
9452
9453 2015-08-14  Keith Seitz  <keiths@redhat.com>
9454
9455         * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
9456         "evaluated-by".
9457
9458 2015-08-13  Joel Brobecker  <brobecker@adacore.com>
9459
9460         * gdb.base/dso2dso.exp: Improve the testcase's documentation.
9461
9462 2015-08-13  Pierre-Marie de Rodat  <derodat@adacore.com>
9463
9464         * gdb.ada/fun_renaming.exp: New testcase.
9465         * gdb.ada/fun_renaming/fun_renaming.adb: New file.
9466         * gdb.ada/fun_renaming/pack.adb: New file.
9467         * gdb.ada/fun_renaming/pack.ads: New file.
9468
9469 2015-08-12  Keith Seitz  <keiths@redhat.com>
9470
9471         * gdb.base/dso2dso.exp: Pass basename of source file in call to
9472         gdb_get_line_number.
9473
9474 2015-08-12  Joel Brobecker  <brobecker@adacore.com>
9475
9476         * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
9477         gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
9478         gdb.base/dso2dso.exp: New files.
9479
9480 2015-08-12  Sergio Durigan Junior  <sergiodj@redhat.com>
9481             Pedro Alves  <palves@redhat.com>
9482             Keith Seitz  <keiths@redhat.com>
9483
9484         * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
9485         GDBFLAGS.
9486
9487 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9488
9489         * gdb.base/gdbhistsize-history.exp
9490         (test_histsize_history_setting): Use save_vars.
9491         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
9492         Use save_vars.
9493         (test_no_truncation_of_unlimited_history_file): Use save_vars.
9494         * gdb.base/readline.exp: Use save_vars.
9495
9496 2015-08-12  Patrick Palka  <patrick@parcs.ath.cx>
9497
9498         * lib/gdb.exp (save_vars): New proc.
9499
9500 2015-08-11  Keith Seitz  <keiths@redhat.com>
9501
9502         * gdb.base/help.exp: Update help_breakpoint_text.
9503
9504 2015-08-11  Keith Seitz  <keiths@redhat.com>
9505
9506         * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
9507         (at toplevel): Call test_explicit_breakpoints.
9508         * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
9509         breakpoints.
9510         * lib/mi-support.exp (mi_make_breakpoint): Add support for
9511         breakpoint conditions, "-cond".
9512
9513 2015-08-11  Keith Seitz  <keiths@redhat.com>
9514
9515         * gdb.linespec/3explicit.c: New file.
9516         * gdb.linespec/cpexplicit.cc: New file.
9517         * gdb.linespec/cpexplicit.exp: New file.
9518         * gdb.linespec/explicit.c: New file.
9519         * gdb.linespec/explicit.exp: New file.
9520         * gdb.linespec/explicit2.c: New file.
9521         * gdb.linespec/ls-errs.exp: Add explicit location tests.
9522         * lib/gdb.exp (capture_command_output): Regexp-escape `command'
9523         before using in the matching pattern.
9524         Clarify that `prefix' is a regular expression.
9525
9526 2015-08-11  Keith Seitz  <keiths@redhat.com>
9527
9528         * gdb.base/dprintf-pending.exp: Update dprintf "without format"
9529         test.
9530         Add tests for missing ",FMT" and ",".
9531
9532 2015-08-10  Doug Evans  <dje@google.com>
9533             Keith Seitz  <keiths@redhat.com>
9534
9535         PR gdb/17960
9536         * gdb.base/completion.exp: Add location completer tests.
9537
9538 2015-08-07  Pedro Alves  <palves@redhat.com>
9539
9540         * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
9541         tests here.
9542         (top level): Run do_test with and without displaced stepping.
9543
9544 2015-08-07  Pedro Alves  <palves@redhat.com>
9545
9546         * gdb.base/valgrind-disp-step.c: New file.
9547         * gdb.base/valgrind-disp-step.exp: New file.
9548
9549 2015-08-07  Pedro Alves  <palves@redhat.com>
9550
9551         * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
9552         Delete function.
9553         (main): Add alarm.  Run an infinite loop instead of calling
9554         wait_threads.
9555         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
9556         comment.
9557         * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
9558         Delete function.
9559         (main): Add alarm.  Run an infinite loop instead of calling
9560         wait_threads.
9561         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
9562         comment.
9563
9564 2015-08-07  Pedro Alves  <palves@redhat.com>
9565
9566         * gdb.base/checkpoint-ns.exp: New file.
9567         * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
9568         standard_testfile.
9569
9570 2015-08-07  Markus Metzger  <markus.t.metzger@intel.com>
9571
9572         * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
9573         * gdb.btrace/instruction_history.exp: Update.
9574         * gdb.btrace/tsx.exp: New.
9575         * gdb.btrace/tsx.c: New.
9576
9577 2015-08-06  Pedro Alves <palves@redhat.com>
9578
9579         * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
9580         increase timeout.
9581         * gdb.reverse/until-precsave.exp: Bump timeouts.
9582
9583 2015-08-06  Pedro Alves  <palves@redhat.com>
9584
9585         * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
9586
9587 2015-08-06  Pedro Alves  <palves@redhat.com>
9588
9589         PR gdb/18749
9590         * gdb.threads/process-dies-while-handling-bp.c: New file.
9591         * gdb.threads/process-dies-while-handling-bp.exp: New file.
9592
9593 2015-08-06  Pedro Alves  <palves@redhat.com>
9594
9595         * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
9596         * gdb.threads/forking-threads-plus-breakpoint.c: New file.
9597
9598 2015-08-05  Pedro Alves  <palves@redhat.com>
9599
9600         * gdb.threads/next-while-other-thread-longjmps.c: New file.
9601         * gdb.threads/next-while-other-thread-longjmps.exp: New file.
9602
9603 2015-08-03  Sandra Loosemore  <sandra@codesourcery.com>
9604
9605         * gdb.base/bp-permanent.exp: Report test as unsupported if
9606         the target cannot stop at the permanent breakpoint.
9607
9608 2015-08-03  Doug Evans  <dje@google.com>
9609
9610         * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
9611         10000.
9612
9613 2015-08-03  Doug Evans  <dje@google.com>
9614
9615         * Makefile.in (workers/%.worker, build-perf): New rule.
9616         (GDB_PERFTEST_MODE): New variable.
9617         (check-perf): Use it.
9618         (clean): Clean up gdb.perf parallel build subdirs.
9619         * lib/build-piece.exp: New file.
9620         * lib/gdb.exp (make_gdb_parallel_path): New function
9621         (standard_output_file, standard_temp_file): Call it.
9622         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9623         of $GDB_PARALLEL.
9624         * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
9625
9626 2015-08-03  Doug Evans  <dje@google.com>
9627
9628         * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
9629         (LOG_FILE_NAME): New global.
9630         (TextReporter.__init__): Initialize self.txt_sum.
9631         (TextReporter.report): Add support for multiple data-points.
9632         Move report to perftest.sum, put raw data in perftest.log.
9633         (TextReporter.start): Open sum and log files.
9634         (TextReporter.end): Close sum and log files.
9635         * gdb.perf/lib/perftest/testresult.py
9636         (SingleStatisticTestResult.record): Handle multiple data-points.
9637
9638 2015-07-31  Pedro Alves  <palves@redhat.com>
9639
9640         * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
9641         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9642         kill_wait_spawned_process instead of explicit "kill -9".
9643         * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
9644         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9645         kill_wait_spawned_process.
9646         * gdb.base/attach-twice.exp: Likewise.
9647         * gdb.base/attach.exp: Likewise.
9648         (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
9649         gdb_test_multiple.
9650         * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
9651         returning a spawn id instead of a pid.  Use spawn_id_get_pid and
9652         kill_wait_spawned_process.
9653         * gdb.base/valgrind-infcall.exp: Likewise.
9654         * gdb.multi/multi-attach.exp: Likewise.
9655         * gdb.python/py-prompt.exp: Likewise.
9656         * gdb.python/py-sync-interp.exp: Likewise.
9657         * gdb.server/ext-attach.exp: Likewise.
9658         * gdb.threads/attach-into-signal.exp (corefunc): Use
9659         spawn_wait_for_attach, spawn_id_get_pid and
9660         kill_wait_spawned_process.
9661         * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
9662         spawn_wait_for_attach returning a spawn id instead of a pid.  Use
9663         spawn_id_get_pid and kill_wait_spawned_process.
9664         * gdb.threads/attach-stopped.exp (corefunc): Use
9665         spawn_wait_for_attach, spawn_id_get_pid and
9666         kill_wait_spawned_process.
9667         * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
9668         Use spawn_id_get_pid.  Wait for spawn id after eof.  Use
9669         kill_wait_spawned_process instead of explicit "kill -9".
9670         * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
9671         (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
9672         (spawn_wait_for_attach): Use spawn instead of exec to spawn
9673         processes.  Don't map cygwin/windows pids here.  Now returns a
9674         spawn id list.
9675
9676 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9677
9678         * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
9679         4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
9680         correct patch.
9681
9682 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9683
9684         * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
9685
9686 2015-07-30  Sandra Loosemore  <sandra@codesourcery.com>
9687
9688         Reapply:
9689         2014-05-21  Mark Wielaard  <mjw@redhat.com>
9690
9691         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
9692
9693 2015-07-30  Pedro Alves  <palves@redhat.com>
9694
9695         * linux-low.c (handle_extended_wait): Set the child's last
9696         reported status to TARGET_WAITKIND_STOPPED.
9697
9698 2015-07-30  Pedro Alves  <palves@redhat.com>
9699
9700         PR threads/18600
9701         * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
9702         only shows inferior 1.
9703
9704 2015-07-30  Simon Marchi  <simon.marchi@ericsson.com>
9705             Pedro Alves  <palves@redhat.com>
9706
9707         PR threads/18600
9708         * gdb.threads/fork-plus-threads.c: New file.
9709         * gdb.threads/fork-plus-threads.exp: New file.
9710
9711 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9712
9713         * gdb.base/batch-preserve-term-settings.exp
9714         (test_terminal_settings_preserved_after_cli_exit): Use
9715         send_quit_command.
9716
9717 2015-07-29  Pedro Alves  <palves@redhat.com>
9718             Don Breazeal  <donb@codesourcery.com>
9719
9720         * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
9721         output from both inferior_spawn_id and gdb_spawn_id.
9722
9723 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9724
9725         * gdb.threads/attach-into-signal.exp (corefunc): Use
9726         with_test_prefix on nested loops, uniquefying the test messages.
9727
9728 2015-07-29  Sergio Durigan Junior  <sergiodj@redhat.com>
9729
9730         * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
9731         commit.
9732
9733 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9734
9735         * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
9736         New proc.
9737         (test_terminal_settings_preserved_after_sigterm): New test.
9738
9739 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9740
9741         * gdb.base/batch-preserve-term-settings.exp
9742         (test_terminal_settings_preserved_after_cli_exit): New test.
9743
9744 2015-07-29  Patrick Palka  <patrick@parcs.ath.cx>
9745
9746         * gdb.base/batch-preserve-term-settings.exp: Remove top-level
9747         manipulation of saved_gdbflags.
9748         (test_terminal_settings_preserved): Remove global declaration of
9749         the unused variable pagination_prompt.  Remove manipulation of
9750         saved_gdbflags.  Use a local variable EXTRA_GDBFLAGS instead of
9751         GDBFLAGS.
9752
9753 2015-07-29  Pedro Alves  <palves@redhat.com>
9754
9755         * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
9756
9757 2015-07-29  Pedro Alves  <palves@redhat.com>
9758
9759         * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
9760         at the top.
9761
9762 2015-07-29  Pedro Alves  <palves@redhat.com>
9763
9764         * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
9765         (main): Call gdb_unbuffer_output.
9766         * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
9767         (main): Call gdb_unbuffer_output.
9768         * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
9769         (main): Call gdb_unbuffer_output.
9770         * gdb.base/call-strs.exp: Adjust to step over the
9771         gdb_unbuffer_output call.
9772         * gdb.base/catch-gdb-caused-signals.c: Include
9773         "../lib/unbuffer_output.c".
9774         (main): Call gdb_unbuffer_output.
9775         * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
9776         (main): Call gdb_unbuffer_output.
9777         * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
9778         (main): Call gdb_unbuffer_output.
9779         * gdb.base/run.c: Include "../lib/unbuffer_output.c".
9780         (main): Call gdb_unbuffer_output.
9781         * gdb.base/shlib-call.exp: Adjust to step over the
9782         gdb_unbuffer_output call.
9783         * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
9784         (main): Call gdb_unbuffer_output.
9785         * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
9786         (main): Call gdb_unbuffer_output.
9787         * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
9788         (main): Rename to ...
9789         (test): ... this.
9790         (main): Reimplement.
9791         * gdb.base/varargs.exp: Run to test instead of to main.
9792         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9793         (main): Call gdb_unbuffer_output.
9794
9795 2015-07-29  Pedro Alves  <palves@redhat.com>
9796
9797         * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
9798         factore out from mi_continue_dprintf.  For call-style dprintfs,
9799         expect dprintf output out of $inferior_spawn_id.
9800         (mi_continue_dprintf): Use mi_expect_dprintf.
9801         * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
9802         (main): Call gdb_unbuffer_output.
9803
9804 2015-07-29  Pedro Alves  <palves@redhat.com>
9805
9806         * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
9807         (default_mi_gdb_start): Set inferior_spawn_id instead of
9808         mi_inferior_spawn_id.  If $inferior_spawn_id is not set, set it to
9809         gdb_spawn_id.
9810         (mi_gdb_test): Always expect inferior output from both
9811         $inferior_spawn_id and $gdb_spawn_id.
9812
9813 2015-07-29  Pedro Alves  <palves@redhat.com>
9814
9815         * gdb.gdb/selftest.exp (test_with_self): Update comment.  Use
9816         send_inferior and $inferior_spawn_id.
9817
9818 2015-07-29  Pedro Alves  <palves@redhat.com>
9819
9820         * gdb.gdb/complaints.exp (test_initial_complaints)
9821         (test_serial_complaints, test_short_complaints): Use
9822         gdb_test_stdio.
9823         (test_empty_complaint): Handle $inferior_spawn_id !=
9824         $gdb_spawn_id.
9825
9826 2015-07-29  Pedro Alves  <palves@redhat.com>
9827
9828         * gdb.base/varargs.exp: Use gdb_test_stdio.
9829
9830 2015-07-29  Pedro Alves  <palves@redhat.com>
9831
9832         * gdb.base/shlib-call.exp: Use gdb_test_stdio.
9833
9834 2015-07-29  Pedro Alves  <palves@redhat.com>
9835
9836         * gdb.base/ending-run.exp: Use gdb_test_stdio.
9837
9838 2015-07-29  Pedro Alves  <palves@redhat.com>
9839
9840         * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
9841         parameter into two new parameters, "inf_result" and "gdb_result".
9842         Expect inferior output and gdb output from $inferior_spawn_id and
9843         $gdb_spawn_id, respectively.  Adjust all callers.
9844
9845 2015-07-29  Pedro Alves  <palves@redhat.com>
9846
9847         * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
9848         of gdb_test_sequence.
9849
9850 2015-07-29  Pedro Alves  <palves@redhat.com>
9851
9852         * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
9853         (saw_spurious_output): Expect inferior output from
9854         $inferior_spawn_id.  Use gdb_test_stdio.
9855
9856 2015-07-29  Pedro Alves  <palves@redhat.com>
9857
9858         * gdb.base/dprintf.exp: Use standard_testfile.  Change
9859         prepare_for_testing call.
9860         (srcfile): Don't set.
9861         (restart): New procedure.
9862         (test_dprintf): New procecure, use to continue over dprintfs.
9863         (test_call, test_agent): New procedures, tests moved here.
9864         Restart gdb and recreate dprintfs.  Adjust expected output.
9865
9866 2015-07-29  Pedro Alves  <palves@redhat.com>
9867
9868         * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
9869
9870 2015-07-29  Pedro Alves  <palves@redhat.com>
9871
9872         * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
9873
9874 2015-07-29  Pedro Alves  <palves@redhat.com>
9875
9876         * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
9877         gdb_test_stdio.
9878
9879 2015-07-29  Pedro Alves  <palves@redhat.com>
9880
9881         * lib/gdb.exp (gdb_test_stdio): New procedure.
9882
9883 2015-07-29  Pedro Alves  <palves@redhat.com>
9884
9885         * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
9886
9887 2015-07-29  Pedro Alves  <palves@redhat.com>
9888
9889         * gdb.base/call-signal-resume.exp: Remove check for
9890         gdb,noinferiorio.  Don't expect "no signal".  Use gdb_test.
9891         * gdb.base/unwindonsignal.exp: Likewise.
9892         * gdb.base/call-signals.c (gen_signal): Remove printf call.
9893         * gdb.base/unwindonsignal.c (gen_signal): Likewise.
9894
9895 2015-07-29  Pedro Alves  <palves@redhat.com>
9896
9897         * gdb.base/siginfo-addr.c (pass): New function.
9898         (handler): Call it iff si_addr is correct.
9899         * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
9900         Set a breakpoint at "pass" and continue to it.
9901
9902 2015-07-28  Sergio Durigan Junior  <sergiodj@redhat.com>
9903
9904         * gdb.python/py-objfile.exp: Make some tests have unique names.
9905         * gdb.python/py-pp-registration.exp: Likewise.
9906
9907 2015-07-28  Pedro Alves  <palves@redhat.com>
9908
9909         * gdb.server/server-exec-info.exp: Issue a "disconnect".
9910
9911 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9912
9913         * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
9914
9915 2015-07-27  Simon Marchi  <simon.marchi@ericsson.com>
9916
9917         * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
9918
9919 2015-07-27  Patrick Palka  <patrick@parcs.ath.cx>
9920
9921         * gdb.base/gdb-sigterm-2.exp: New test.
9922
9923 2015-07-25  Doug Evans  <xdje42@gmail.com>
9924
9925         Revert:
9926         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
9927         (workers/%.worker, build-perf): New rule.
9928         (GDB_PERFTEST_MODE): New variable.
9929         (check-perf): Use it.
9930         (clean): Clean up gdb.perf parallel build subdirs.
9931         * lib/build-piece.exp: New file.
9932         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
9933         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
9934         name.
9935         (standard_temp_file): Ditto.
9936         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
9937         of $GDB_PARALLEL.
9938
9939 2015-07-24  Doug Evans  <dje@google.com>
9940
9941         * gdb.perf/lib/perftest/utils.py: New file.
9942         * gdb.perf/gm-hello.cc: New file.
9943         * gdb.perf/gm-pervasive-typedef.cc: New file.
9944         * gdb.perf/gm-pervasive-typedef.h: New file.
9945         * gdb.perf/gm-std.cc: New file.
9946         * gdb.perf/gm-std.h: New file.
9947         * gdb.perf/gm-use-cerr.cc: New file.
9948         * gdb.perf/gm-utils.h: New file.
9949         * gdb.perf/gmonster-null-lookup.py: New file.
9950         * gdb.perf/gmonster-pervasive-typedef.py: New file.
9951         * gdb.perf/gmonster-print-cerr.py: New file.
9952         * gdb.perf/gmonster-ptype-string.py: New file.
9953         * gdb.perf/gmonster-runto-main.py: New file.
9954         * gdb.perf/gmonster-select-file.py: New file.
9955         * gdb.perf/gmonster1-null-lookup.exp: New file.
9956         * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
9957         * gdb.perf/gmonster1-print-cerr.exp: New file.
9958         * gdb.perf/gmonster1-ptype-string.exp: New file.
9959         * gdb.perf/gmonster1-runto-main.exp: New file.
9960         * gdb.perf/gmonster1-select-file.exp: New file.
9961         * gdb.perf/gmonster1.cc: New file.
9962         * gdb.perf/gmonster1.exp: New file.
9963         * gdb.perf/gmonster2-null-lookup.exp: New file.
9964         * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
9965         * gdb.perf/gmonster2-print-cerr.exp: New file.
9966         * gdb.perf/gmonster2-ptype-string.exp: New file.
9967         * gdb.perf/gmonster2-runto-main.exp: New file.
9968         * gdb.perf/gmonster2-select-file.exp: New file.
9969         * gdb.perf/gmonster2.cc: New file.
9970         * gdb.perf/gmonster2.exp: New file.
9971
9972 2015-07-24  Doug Evans  <dje@google.com>
9973
9974         * gdb.perf/README: New file.
9975         * lib/perftest.exp (tcl_string_list_to_python_list): New function.
9976         * lib/gen-perf-test.exp: New file.
9977
9978 2015-07-24  Doug Evans  <dje@google.com>
9979
9980         * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
9981         (PerfTest::startup): New function.
9982         (PerfTest::run): Return result of calling body.
9983         (PerfTest::assemble): Rewrite.
9984         * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
9985         * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
9986         * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
9987         * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
9988         * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
9989
9990 2015-07-24  Doug Evans  <dje@google.com>
9991
9992         * lib/gdb.exp (clean_restart): Make executable optional.
9993
9994 2015-07-24  Doug Evans  <dje@google.com>
9995
9996         * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
9997         compiler_info references.
9998         * gdb.cp/temargs.exp: Ditto.
9999         * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
10000         (get_compiler_info): Early exit if already computed.  Set compiler_info
10001         to "unknown" if there was a problem.
10002         (test_compiler_info): Add function comment.  Call get_compiler_info.
10003
10004 2015-07-24  Doug Evans  <dje@google.com>
10005
10006         * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
10007         (workers/%.worker, build-perf): New rule.
10008         (GDB_PERFTEST_MODE): New variable.
10009         (check-perf): Use it.
10010         (clean): Clean up gdb.perf parallel build subdirs.
10011         * lib/build-piece.exp: New file.
10012         * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
10013         * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
10014         name.
10015         (standard_temp_file): Ditto.
10016         (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
10017         of $GDB_PARALLEL.
10018
10019 2015-07-24  Doug Evans  <dje@google.com>
10020
10021         * lib/future.exp (gdb_default_target_compile): New option
10022         "early_flags".
10023         * lib/gdb.exp (gdb_compile): Undo debian's change in default of
10024         --as-needed.
10025
10026 2015-07-24  Sergio Durigan Junior  <sergiodj@redhat.com>
10027
10028         * gdb.base/catch-syscall.exp: Call gdb_exit before
10029         gdb_skip_xml_test.
10030
10031 2015-07-24  Pedro Alves  <palves@redhat.com>
10032
10033         * gdb.python/py-events.exp: Accept output between the stop event
10034         and the prompt.
10035         * gdb.python/py-evsignal.exp: Likewise.
10036         * gdb.python/py-evthreads.exp: Likewise.
10037
10038 2015-07-24  Pedro Alves  <palves@redhat.com>
10039
10040         PR gdb/18717
10041         * gdb.threads/non-ldr-exit.c: New file.
10042         * gdb.threads/non-ldr-exit.exp: New file.
10043
10044 2015-07-24  Yao Qi  <yao.qi@linaro.org>
10045
10046         * gdb.server/ext-wrapper.exp: Test --wrapper option when
10047         restarting process.
10048
10049 2015-07-24  Yao Qi  <yao.qi@linaro.org>
10050
10051         * gdb.server/ext-restart.exp: New file.
10052
10053 2015-07-24  Yao Qi  <yao.qi@linaro.org>
10054
10055         * lib/gdbserver-support.exp (gdbserver_start_extended): Add
10056         argument options.
10057         * gdb.server/ext-wrapper.exp: New file.
10058
10059 2015-07-23  Doug Evans  <dje@google.com>
10060
10061         * gdb.dwarf2/dw2-dummy-cu.S: New file.
10062         * gdb.dwarf2/dw2-dummy-cu.exp: New file.
10063
10064 2015-07-23  Pierre-Marie de Rodat  <derodat@adacore.com>
10065
10066         * gdb.ada/var_arr_typedef.exp: New testcase.
10067         * gdb.ada/var_arr_typedef/pack.adb: New file.
10068         * gdb.ada/var_arr_typedef/pack.ads: New file.
10069         * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
10070
10071 2015-07-20  Joel Brobecker  <brobecker@adacore.com>
10072
10073         * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
10074
10075 2015-07-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10076
10077         * gdb.arch/i386-biarch-core.exp: Replace istarget
10078         by "complete set gnutarget". Remove expectation for the "core-file"
10079         command.
10080
10081 2015-07-15  Jan Kratochvil  <jan.kratochvil@redhat.com>
10082
10083         Revert the previous commit:
10084         Tests for validate symbol file using build-id.
10085
10086 2015-07-15  Aleksandar Ristovski  <aristovski@qnx.com
10087
10088         Tests for validate symbol file using build-id.
10089         * gdb.base/solib-mismatch-lib.c: New file.
10090         * gdb.base/solib-mismatch-libmod.c: New file.
10091         * gdb.base/solib-mismatch.c: New file.
10092         * gdb.base/solib-mismatch.exp: New file.
10093
10094 2015-07-15  Sandra Loosemore  <sandra@codesourcery.com>
10095
10096         * gdb.base/sigaltstack.exp (finish_test): Add kfail for
10097         nios2-*-linux*.
10098         * gdb.base/sigbpt.exp (stepi_out): Likewise.
10099         * gdb.base/siginfo.exp: Likewise.
10100         * gdb.base/sigstep.exp (advance, advancei): Likewise.
10101
10102 2015-07-15  Pierre Langlois  <pierre.langlois@arm.com>
10103
10104         * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
10105         Move it to ...
10106         * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
10107         ... here.
10108         * gdb.trace/range-stepping.exp: Check that the target supports
10109         range stepping.
10110
10111 2015-07-14  Jan Kratochvil  <jan.kratochvil@redhat.com>
10112
10113         * gdb.arch/i386-biarch-core.exp: Fix comment typo.
10114
10115 2015-07-14  Pedro Alves  <palves@redhat.com>
10116
10117         * gdb.base/killed-outside.exp: New file.
10118         * gdb.base/killed-outside.c: New file.
10119
10120 2015-07-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
10121
10122         * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
10123         (n at main): New.
10124         * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
10125
10126 2015-07-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10127
10128         * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
10129         infcall tests instead of setting up for KFAIL.
10130
10131 2015-07-10  Markus Metzger  <markus.t.metzger@intel.com>
10132
10133         * gdb.btrace/record_goto-step.exp: New.
10134
10135 2015-07-08  Jan Kratochvil  <jan.kratochvil@redhat.com>
10136
10137         PR compile/18484
10138         * gdb.compile/compile.c (struct struct_type): Add volatile to
10139         selffield's type.
10140         * gdb.compile/compile.exp
10141         (compile code struct_object.selffield = &struct_object): Skip further
10142         struct_object tests if this one xfails.
10143
10144 2015-07-08  Robert O'Callahan  <robert@ocallahan.org>
10145
10146         PR exp/18617
10147         * gdb.trace/ax.exp: Add test.
10148
10149 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10150
10151         * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
10152         instead of istarget "aarch64*-*-*".
10153         * gdb.arch/aarch64-fp.exp: Likewise.
10154         * gdb.base/float.exp: Likewise.
10155         * gdb.reverse/aarch64.exp: Likewise.
10156         * lib/gdb.exp (is_aarch64_target): New proc.
10157
10158 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10159
10160         * lib/gdb.exp (is_aarch32_target): New proc.
10161         * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
10162         instead of "istarget "arm*-*-*"".
10163         * gdb.arch/arm-disp-step.exp: Likewise.
10164         * gdb.arch/thumb-bx-pc.exp: Likewise.
10165         * gdb.arch/thumb-prologue.exp: Likewise.
10166         * gdb.arch/thumb-singlestep.exp: Likewise.
10167         * gdb.base/disp-step-syscall.exp: Likewise.
10168         * gdb.base/float.exp: Likewise.
10169
10170 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10171
10172         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
10173         Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
10174
10175 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10176
10177         * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
10178         is aarch64.  If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
10179         if it exists.
10180         * gdb.multi/multi-arch.exp: Likewise.
10181
10182 2015-07-07  Simon Marchi  <simon.marchi@ericsson.com>
10183
10184         * gdb.python/py-lazy-string.exp: Add missing parentheses to
10185         print.
10186
10187 2015-07-07  Yao Qi  <yao.qi@linaro.org>
10188
10189         * gdb.arch/thumb-singlestep.exp: Do one more single step.
10190
10191 2015-06-30  Martin Galvan  <martin.galvan@tallertechnologies.com>
10192
10193         * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
10194         '[' and ']' characters.
10195
10196 2015-06-30  Iain Buclaw  <ibuclaw@gdcproject.org>
10197
10198         * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
10199
10200 2015-06-29  Pedro Alves  <palves@redhat.com>
10201
10202         PR threads/18127
10203         * gdb.threads/hand-call-new-thread.c: New file.
10204         * gdb.threads/hand-call-new-thread.c: New file.
10205
10206 2015-06-26  Keith Seitz  <keiths@redhat.com>
10207             Doug Evans  <dje@google.com>
10208
10209         PR 16253
10210         * gdb.cp/var-tag-2.cc: New file.
10211         * gdb.cp/var-tag-3.cc: New file.
10212         * gdb.cp/var-tag-4.cc: New file.
10213         * gdb.cp/var-tag.cc: New file.
10214         * gdb.cp/var-tag.exp: New file.
10215
10216 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
10217
10218         * gdb.base/history-duplicates.exp: New test.
10219
10220 2015-06-26  Patrick Palka  <patrick@parcs.ath.cx>
10221
10222         * gdb.base/completion.exp: Test the completion of the "focus"
10223         command.
10224
10225 2015-06-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
10226
10227         * gdb.arch/amd64-prologue-skip.S: New file.
10228         * gdb.arch/amd64-prologue-skip.exp: New file.
10229
10230 2015-06-25  Simon Marchi  <simon.marchi@ericsson.com>
10231
10232         * gdb.python/py-prettyprint.exp (run_lang_tests): Add
10233         is_address_zero_readable check.
10234
10235 2015-06-24  Peter Bergner  <bergner@vnet.ibm.com>
10236
10237         * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
10238         * gdb.arch/powerpc-power.s <rfebb>: Likewise.
10239
10240 2015-06-24  Yao Qi  <yao.qi@linaro.org>
10241
10242         * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
10243         linux targets.
10244
10245 2015-06-24  Yao Qi  <yao.qi@linaro.org>
10246
10247         * lib/gdb.exp (supports_get_siginfo_type): New proc.
10248         * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
10249         * gdb.base/siginfo-thread.exp: Likewise.
10250
10251 2015-06-22  Yao Qi  <yao.qi@linaro.org>
10252
10253         * boards/remote-gdbserver-on-localhost.exp: Add comments.
10254
10255 2015-06-22  Yao Qi  <yao.qi@linaro.org>
10256
10257         * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
10258         aarch64*-*-*.
10259         (skip_hw_watchpoint_tests): Likewise.
10260
10261 2015-06-18  Patrick Palka  <patrick@parcs.ath.cx>
10262
10263         * gdb.base/gdbinit-history.exp: Test the interaction between
10264         setting GDBHISTSIZE and setting the history size via .gdbinit.
10265
10266 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10267
10268         PR gdb/16999
10269         * gdb.base/gdbhistsize-history.exp: New test.
10270
10271 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10272
10273         * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
10274         with GDBHISTSIZE.
10275         * gdb.base/readline.exp: Likewise.
10276
10277 2015-06-17  Yao Qi  <yao.qi@linaro.org>
10278
10279         * lib/gdb.exp (get_build_id): Move braces and "else" to the same
10280         line.
10281
10282 2015-06-17  Patrick Palka  <patrick@parcs.ath.cx>
10283
10284         * gdb.base/gdbinit-history.exp: Add test case to check that
10285         an unlimited history file does not get truncated on exit.
10286
10287 2015-06-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10288
10289         * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
10290         (VECTOR): New macro.  Use it...
10291         (int4, uint4, char4, float4, int2, longlong2, float2, double2):
10292         ...for these typedefs.
10293         (int8, char1, int1, double1): New typedefs.
10294         (struct just_int2, struct two_int2): New structures.
10295         (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
10296         (add_structvecs, add_singlevecs): New functions.
10297         (main): Call add_some_intvecs twice.
10298         * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
10299         the compile and exit upon failure.  Try compiling for the "native"
10300         architecture.  Test inferior function calls with vector arguments
10301         and vector return value handling with "finish" and "return".
10302
10303 2015-06-10  Jon Turney  <jon.turney@dronecode.org.uk>
10304
10305         * gdb.base/sepdebug.exp: Add EXEEXT where needed.
10306         * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
10307         PE file.
10308         * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
10309
10310 2015-06-12  Antoine Tremblay  <antoine.tremblay@ericsson.com>
10311
10312         PR breakpoints/16465
10313         * gdb.mi/mi-dprintf-pending.c: New file.
10314         * gdb.mi/mi-dprintf-pending.exp: New test.
10315         * gdb.mi/mi-dprintf-pendshr.c: New file.
10316
10317 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10318             Mircea Gherzan  <mircea.gherzan@intel.com>
10319
10320         * gdb.arch/i386-mpx-map.c: New file.
10321         * gdb.arch/i386-mpx-map.exp: New File.
10322
10323 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10324
10325         * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
10326         * gdb.arch/i386-mpx.exp: Indentation fixed.
10327
10328 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10329
10330         * gdb.arch/i386-mpx.c: Added final return to the have_mpx
10331         function and improved indentation.
10332         * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
10333         gdb_test_multiple. Added additional tests to skip the test.
10334
10335 2015-06-10  Walfred Tedeschi  <walfred.tedeschi@intel.com>
10336
10337         * gdb.arch/i386-avx512.c: Change path in include file.
10338         * gdb.arch/i386-avx512.exp: Change include dir path
10339         compilation flag.
10340         * gdb.arch/i386-mpx.c: Change path in include file.
10341         * gdb.arch/i386-mpx.exp: Change include dir path compilation
10342         flag.
10343
10344 2015-06-04  Jan Kratochvil  <jan.kratochvil@redhat.com>
10345
10346         * gdb.compile/compile-print.exp (compile print *vararray@3)
10347         (compile print *vararrayp@3): Change xfail to kfail compile/18489.
10348
10349 2015-06-03  Jan Kratochvil  <jan.kratochvil@redhat.com>
10350
10351         * gdb.compile/compile.exp (keep jit in memory): Rename to ...
10352         (do not keep jit in memory): ... this.
10353         (expect 5): Change it to ...
10354         (expect no 5): ... this.
10355
10356 2015-06-02  Simon Marchi  <simon.marchi@ericsson.com>
10357
10358         PR gdb/15564
10359         * gdb.mi/mi-detach.exp: New file.
10360
10361 2015-06-01  Jan Kratochvil  <jan.kratochvil@redhat.com>
10362
10363         PR symtab/18392
10364         * gdb.arch/amd64-tailcall-self.S: New file.
10365         * gdb.arch/amd64-tailcall-self.c: New file.
10366         * gdb.arch/amd64-tailcall-self.exp: New file.
10367
10368 2015-05-28  Don Breazeal  <donb@codesourcery.com>
10369
10370         * gdb.base/foll-vfork.exp (main): Disable exec-dependent
10371         tests for remote targets by checking is_target_gdbserver.
10372
10373 2015-05-27  Doug Evans  <dje@google.com>
10374
10375         * gdb.dwarf2/opaque-type-lookup-2.c: New file.
10376         * gdb.dwarf2/opaque-type-lookup.c: New file.
10377         * gdb.dwarf2/opaque-type-lookup.exp: New file.
10378
10379 2015-05-26  Doug Evans  <dje@google.com>
10380
10381         * gdb.cp/iostream.cc: New file.
10382         * gdb.cp/iostream.exp: New file.
10383
10384 2015-05-26  Doug Evans  <dje@google.com>
10385
10386         * gdb.dwarf2/dw2-op-call.exp: Update.
10387         * gdb.dwarf2/dw4-sig-types.exp: Update.
10388         * gdb.dwarf2/implptr.exp: Update.
10389         * gdb.mi/mi-cmd-param-changed.exp: Update.
10390
10391 2015-05-26  Doug Evans  <dje@google.com>
10392
10393         * gdb.python/py-lazy-string.c: New file.
10394         * gdb.python/py-lazy-string.exp: New file.
10395         * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
10396         (main): Update.  Add estring3.
10397         * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
10398         * gdb.python/py-prettyprint.py (pp_ls): Handle length.
10399
10400 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10401             Yao Qi  <yao.qi@linaro.org>
10402
10403         * gdb.reverse/aarch64.c: New.
10404         * gdb.reverse/aarch64.exp: New.
10405
10406 2015-05-26  Omair Javaid  <omair.javaid@linaro.org>
10407
10408         * lib/gdb.exp (supports_process_record): Return true for
10409         aarch64*-linux*.
10410         (supports_reverse): Likewise.
10411
10412 2015-05-22  Patrick Palka  <patrick@parcs.ath.cx>
10413
10414         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10415         Use with_test_prefix.
10416
10417 2015-05-21  Andrew Burgess  <andrew.burgess@embecosm.com>
10418
10419         * gdb.base/completion.exp: Add test for completion of layout
10420         names.
10421
10422 2015-05-20  Andrew Burgess  <andrew.burgess@embecosm.com>
10423
10424         * lib/gdb.exp (skip_tui_tests): New proc.
10425         * gdb.base/tui-layout.exp: Check skip_tui_tests.
10426
10427 2015-05-19  Pedro Alves  <palves@redhat.com>
10428
10429         * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
10430         Save the whole env array instead of just HOME.  Unset HISTSIZE in
10431         the environment while testing.  Restore whole environment
10432         afterwards.
10433
10434 2015-05-16  Doug Evans  <xdje42@gmail.com>
10435
10436         * gdb.guile/scm-ports.c: New file.
10437         * gdb.guile/scm-ports.exp: Add memory port tests.
10438
10439 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10440
10441         * gdb.compile/compile-print.c: New file.
10442         * gdb.compile/compile-print.exp: New file.
10443
10444 2015-05-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
10445
10446         * gdb.compile/compile-ops.exp: Cast param to void.
10447         * gdb.compile/compile.exp: Complete type for _gdb_expr.
10448         (compile code struct_object.selffield = &struct_object): Add xfail.
10449
10450 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10451
10452         * gdb.ada/arr_enum_with_gap: New testcase.
10453
10454 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10455
10456         * gdb.ada/byte_packed_arr: New testcase.
10457
10458 2015-05-15  Joel Brobecker  <brobecker@adacore.com>
10459
10460         * gdb.ada/pckd_neg: New testcase.
10461
10462 2015-05-13  Patrick Palka  <patrick@parcs.ath.cx>
10463
10464         PR gdb/17820
10465         * gdb.base/gdbinit-history.exp: New test.
10466         * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
10467         * gdb.base/gdbinit-history/zero/.gdbinit: New file.
10468
10469 2015-05-09  Siva Chandra Reddy  <sivachandra@google.com>
10470
10471         * gdb.python/py-xmethods.cc: Enhance test case.
10472         * gdb.python/py-xmethods.exp: New tests.
10473         * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
10474         function.
10475         (B_indexoper): Likewise.
10476         (global_dm_list) : Add new xmethod worker functions.
10477
10478 2015-05-08  Sergio Durigan Junior  <sergiodj@redhat.com>
10479
10480         * gdb.base/coredump-filter.exp: Correctly unset
10481         "coredump_var_addr" array.
10482
10483 2015-05-08  Pedro Alves  <palves@redhat.com>
10484
10485         * gdb.server/non-existing-program.exp: Unset spawn_id.
10486
10487 2015-05-08  Siva Chandra Reddy  <sivachandra@google.com>
10488
10489         PR python/18291
10490         * gdb.python/py-xmethods.exp: Add tests.
10491
10492 2015-05-08  Yao Qi  <yao.qi@linaro.org>
10493
10494         PR gdb/18208
10495         * gdb.base/coredump-filter.c (set_coredump_filter): New function.
10496         * gdb.base/coredump-filter.exp (do_save_core): Call inferior
10497         function set_coredump_filter, and remove remote_exec call.
10498         Remove argument ipid.  Callers update.
10499         (top level): Don't get inferior's PID.
10500
10501 2015-05-08  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10502
10503         * gdb.base/watch_thread_num.exp: Skip test on targets without
10504         access watchpoints.
10505
10506 2015-05-06  Pedro Alves  <palves@redhat.com>
10507
10508         PR server/18081
10509         * gdb.server/non-existing-program.exp: New file.
10510
10511 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10512
10513         * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
10514
10515 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10516
10517         * gdb.ada/out_of_line_in_inlined: New testcase.
10518
10519 2015-05-05  Joel Brobecker  <brobecker@adacore.com>
10520
10521         * gdb.ada/var_rec_arr: New testcase.
10522
10523 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10524
10525         * gdb.base/break-idempotent.exp: If
10526         skip_hw_watchpoint_multi_tests returns true, skip the tests
10527         on "rwatch" and "awatch".
10528
10529 2015-04-30  Yao Qi  <yao.qi@linaro.org>
10530
10531         * gdb.base/relativedebug.exp: Invoke gdb command
10532         "info sharedlibrary", and if libc.so doesn't have debug info,
10533         skip the test.
10534
10535 2015-04-29  Doug Evans  <dje@google.com>
10536
10537         * gdb.python/py-xmethods.exp: Add ptype tests.
10538         * gdb.python/py-xmethods.py (E_method_char_worker): Add
10539         get_result_type method.
10540
10541 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10542
10543         * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
10544         the target does not support hardware watchpoints.
10545
10546 2015-04-29  Luis Machado  <lgustavo@codesourcery.com>
10547
10548         * gdb.base/break-always.exp: Abort testing if writing to memory
10549         causes an error.
10550
10551 2015-04-28  Doug Evans  <dje@google.com>
10552
10553         * gdb.python/py-pp-maint.py: Move "replace" testing to ...
10554         * gdb.python/py-pp-registration.exp: ... here.  New file.
10555         * gdb.python/py-pp-registration.c: New file.
10556         * gdb.python/py-pp-registration.py: New file.
10557
10558 2015-04-28  Doug Evans  <dje@google.com>
10559
10560         * gdb.python/py-bad-printers.c: New file.
10561         * gdb.python/py-bad-printers.py: New file.
10562         * gdb.python/py-bad-printers.exp: New file.
10563
10564 2015-04-28  Sasha Smundak  <asmundak@google.com>
10565
10566         * gdb.python/py-type.exp: New test.
10567
10568 2015-04-28  Andy Wingo  <wingo@igalia.com>
10569
10570         * gdb.python/py-parameter.exp:
10571         * gdb.guile/scm-parameter.exp: Escape the path that we are
10572         matching against, as it might contain characters that are special
10573         to regular expressions.
10574
10575 2015-04-27  Joel Brobecker  <brobecker@adacore.com>
10576
10577         * gdb.ada/rec_comp: New testcase.
10578
10579 2015-04-26  Sergio Durigan Junior  <sergiodj@redhat.com>
10580
10581         * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
10582         before using it.
10583
10584 2015-04-24  Andrew Burgess  <andrew.burgess@embecosm.com>
10585
10586         * gdb.base/dump.exp: Add *.verilog files to all_files list.  Add
10587         new tests for verilog output.
10588
10589 2015-04-24  Yao Qi  <yao.qi@linaro.org>
10590
10591         * boards/remote-gdbserver-on-localhost.exp: New file.
10592
10593 2015-04-23  Pedro Alves  <palves@redhat.com>
10594
10595         * gdb.base/interrupt.exp: Use an indirect spawn id list holding
10596         $inferior_spawn_id instead of $inferior_spawn_id directly.  On
10597         "end of file", remove $inferior_spawn_id from the indirect list.
10598
10599 2015-04-23  Pedro Alves  <palves@redhat.com>
10600
10601         * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
10602
10603 2015-04-23  Pedro Alves  <palves@redhat.com>
10604
10605         * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
10606         on $any_spawn_id instead of only on $gdb_spawn_id.
10607
10608 2015-04-21  Pierre Muller  <muller@sourceware.org>
10609
10610         PR pascal/17815
10611         * lib/pascal.exp (gpc_compile): Add new option "class".
10612         (fpc_compile): Likewise.
10613         * gdb.pascal/case-insensitive-symbols.pas: New file.
10614         * gdb.pascal/case-insensitive-symbols.exp: New file.
10615
10616 2015-04-20  Gary Benson <gbenson@redhat.com>
10617
10618         * gdb.base/attach.exp: Fix three extended remote failures.
10619
10620 2015-04-17  Gary Benson <gbenson@redhat.com>
10621
10622         * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
10623         the main executable over the remote protocol.
10624
10625 2015-04-16  Pedro Alves  <palves@redhat.com>
10626
10627         * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
10628         a new gdbserver if gdbserver_reconnect_p is set.
10629
10630 2015-04-16  Pedro Alves  <palves@redhat.com>
10631
10632         * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
10633         is set, don't exit gdbserver.
10634
10635 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10636
10637         * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
10638         appropriate .insn, such that an older assembler can be used.
10639         * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
10640         the z/Architecture instruction set on 31-bit targets as well.
10641
10642 2015-04-16  Andreas Arnez  <arnez@linux.vnet.ibm.com>
10643
10644         * gdb.go/handcall.exp: Remove all logic related to the first
10645         breakpoint and rely on go_runto_main instead.
10646         * gdb.go/strings.exp: Likewise.
10647         * gdb.go/unsafe.exp: Likewise.
10648         * gdb.go/hello.exp: Likewise.  Also rename the remaining
10649         breakpoint marker to "breakpoint 1".
10650         * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
10651         * gdb.go/strings.go: Likewise.
10652         * gdb.go/unsafe.go: Likewise.
10653         * gdb.go/hello.go: Likewise.  Also remove the second occurrence of
10654         "set breakpoint 2 here" and rename the remaining breakpoint marker
10655         to "breakpoint 1".
10656
10657 2015-04-15  Simon Marchi  <simon.marchi@ericsson.com>
10658
10659         * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
10660         if itertools.imap is not present.
10661         * gdb.python/py-objfile.exp: Add parentheses.
10662         * gdb.python/py-type.exp: Same.
10663         * gdb.python/py-unwind-maint.py: Same.
10664
10665 2015-04-15  Yao Qi  <yao.qi@linaro.org>
10666
10667         * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
10668         of ":$ptr_size" and set its form explicitly.
10669
10670 2015-04-15  Pedro Alves  <palves@redhat.com>
10671             Yao Qi  <yao.qi@linaro.org>
10672
10673         * gdb.base/watch-bitfields.exp (test_watch_location): Increase
10674         timeout by factor of 4.
10675         (test_regular_watch): Likewise.
10676         * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
10677         * gdb.reverse/sigall-reverse.exp: Likewise.
10678         * gdb.reverse/until-precsave.exp: Likewise.
10679         * lib/gdb.exp (with_timeout_factor): New proc.
10680         (gdb_expect): Move some code to ...
10681         (get_largest_timeout): ... here.  New procedure.
10682
10683 2015-04-14  Luis Machado  <lgustavo@codesourcery.com>
10684
10685         * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
10686
10687 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10688
10689         * gdb.base/bp-permanent.exp (test): Handle the case of being unable
10690         to write to the .text section.
10691
10692 2015-04-13  Luis Machado  <lgustavo@codesourcery.com>
10693
10694         * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
10695         Handle the case of targets that do not provide PID information.
10696
10697 2015-04-13  Yao Qi  <yao.qi@linaro.org>
10698
10699         * lib/gdbserver-support.exp (gdb_exit): Catch exception
10700         and use expect instead of gdb_expect.
10701
10702 2015-04-13  Sergio Durigan Junior  <sergiodj@redhat.com>
10703
10704         * gdb.base/coredump-filter.exp: Rename variable "addr" to
10705         "coredump_var_addr" to avoid naming conflict with other testcases.
10706
10707 2015-04-10  Pedro Alves  <palves@redhat.com>
10708
10709         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
10710         gdb_test_sequence and gdb_assert.
10711
10712 2015-04-10  Pedro Alves  <palves@redhat.com>
10713
10714         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
10715         test messages that don't include the breakpoint address.
10716
10717 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10718
10719         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
10720         false for some offset and width combinations which aren't
10721         supported by linux kernel.
10722
10723 2015-04-10  Pedro Alves  <palves@redhat.com>
10724
10725         * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
10726         procedure, factored out from ...
10727         (top level): ... here.  Add "set displaced-stepping" testing axis.
10728         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
10729         parameter "displaced".  Use it.
10730         (top level): Use foreach and add "set displaced-stepping" testing
10731         axis.
10732
10733 2015-04-10  Pedro Alves  <palves@redhat.com>
10734
10735         * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
10736         Remove comment.
10737         * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
10738         both the address of the instruction that triggers the watchpoint
10739         and the address of the instruction immediately after, and use
10740         those addresses for the test.  Fix comment.
10741
10742 2015-04-10  Pedro Alves  <palves@redhat.com>
10743
10744         * gdb.base/sigstep.exp (breakpoint_to_handler)
10745         (breakpoint_to_handler_entry): New parameter 'displaced'.  Use it.
10746         Test "backtrace" in handler.
10747         (breakpoint_over_handler): New parameter 'displaced'.  Use it.
10748         (top level): Add new "displaced" test axis to
10749         breakpoint_to_handler, breakpoint_to_handler_entry and
10750         breakpoint_over_handler.
10751
10752 2015-04-10  Pedro Alves  <palves@redhat.com>
10753
10754         PR gdb/18216
10755         * gdb.threads/multiple-step-overs.exp: Remove expected eof.
10756
10757 2015-04-10  Yao Qi  <yao.qi@linaro.org>
10758
10759         * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
10760         (test_add_rn_pc): New function.
10761         * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
10762         (top level): Invoke test_add_rn_pc.
10763
10764 2015-04-10  Pedro Alves  <palves@redhat.com>
10765
10766         PR gdb/13858
10767         * gdb.base/step-over-no-symbols.exp: New file.
10768
10769 2015-04-09  Andy Wingo  <wingo@igalia.com>
10770
10771         * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
10772         after the Python tests.
10773
10774 2015-04-08  Keith Seitz  <keiths@redhat.com>
10775
10776         PR python/16699
10777         * gdb.python/py-completion.exp: New tests for completion.
10778         * gdb.python/py-completion.py (CompleteLimit1): New class.
10779         (CompleteLimit2): Likewise.
10780         (CompleteLimit3): Likewise.
10781         (CompleteLimit4): Likewise.
10782         (CompleteLimit5): Likewise.
10783         (CompleteLimit6): Likewise.
10784         (CompleteLimit7): Likewise.
10785
10786 2015-04-08  Pedro Alves  <palves@redhat.com>
10787
10788         PR gdb/18214
10789         PR gdb/18216
10790         * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
10791         function.
10792         (main): Install it as SIGUSR1 handler.
10793         * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
10794         parameter.  Always use "setup" as prefix.  Toggle "set
10795         displaced-stepping" off/on depending on global.  Don't switch to
10796         thread 1 here.
10797         (top level): Add displaced stepping "off/on" test axis.  Update
10798         "setup" calls.  Wrap each subtest with with_test_prefix.  Test
10799         continuing with a queued signal in each thread.
10800
10801 2015-04-08  Pedro Alves  <palves@redhat.com>
10802
10803         * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
10804         * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd.  Use
10805         gdb_breakpoint instead of gdb_test that doesn't expect anything.
10806         Return early if running to main fails.
10807         * gdb.trace/while-stepping.exp: Likewise.
10808
10809 2015-04-07  Pedro Alves  <palves@redhat.com>
10810
10811         * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
10812         $gdb_spawn_id.  Use send_inferior and $inferior_spawn_id to
10813         interact with inferior program.
10814
10815 2015-04-07  Pedro Alves  <palves@redhat.com>
10816
10817         * lib/gdb.exp (inferior_spawn_id): New global.
10818         (gdb_test_multiple): Handle "-i".  Reset the spawn id to GDB's
10819         spawn id after processing the user code.
10820         (default_gdb_start): Set inferior_spawn_id.
10821         (send_inferior): New procedure.
10822         * lib/gdbserver-support.exp (gdbserver_start): Set
10823         inferior_spawn_id.
10824         (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
10825
10826 2015-04-07  Pedro Alves  <palves@redhat.com>
10827
10828         * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
10829         * lib/gdbserver-support.exp (gdbserver_start): Make
10830         $server_spawn_id global.
10831         (gdbserver_start): Don't wait for gdbserver's spawn id with
10832         expect_background.
10833         (close_gdbserver): New procedure.
10834         (gdb_exit): Rename the default version and reimplement.
10835
10836 2015-04-07  Pedro Alves  <palves@redhat.com>
10837
10838         * lib/gdb.exp (gdb_test_multiple): When processing an argument,
10839         append the substituted item, not the original item.
10840
10841 2015-04-07  Pedro Alves  <palves@redhat.com>
10842
10843         * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
10844         gdb_expect.
10845
10846 2015-04-07  Pedro Alves  <palves@redhat.com>
10847
10848         * gdb.base/interrupt.exp: Don't handle the case of the inferior
10849         output appearing once only.
10850
10851 2015-04-07  Pedro Alves  <palves@redhat.com>
10852
10853         * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
10854         that doesn't expect anything.  Return early if running to main
10855         fails.
10856
10857 2015-04-07  Yao Qi  <yao.qi@linaro.org>
10858
10859         * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
10860         (child_function): Call alarm.
10861         (main): Move call to alarm into the loop.
10862         * gdb.threads/non-stop-fair-events.exp: Build program with
10863         -DTIMEOUT=$timeout.
10864
10865 2015-04-06  Doug Evans  <xdje42@gmail.com>
10866
10867         * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
10868         Fix dest parameter to board_info.
10869         (fpc_compile): Ditto.
10870         (gdb_compile_pascal): Rename dest arg to destfile.
10871
10872 2015-04-03  Pierre-Marie de Rodat  <derodat@adacore.com>
10873
10874         * gdb.ada/funcall_ref.exp: New file.
10875         * gdb.ada/funcall_ref/foo.adb: New file.
10876
10877 2015-04-02  Yao Qi  <yao.qi@linaro.org>
10878
10879         * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
10880         is remote.
10881
10882 2015-04-02  Gary Benson <gbenson@redhat.com>
10883
10884         * gdb.base/break-probes.exp: Cope with "target:" sysroot.
10885
10886 2015-04-01  Sasha Smundak  <asmundak@google.com>
10887
10888         * gdb.python/py-unwind-maint.c: New file.
10889         * gdb.python/py-unwind-maint.exp: New test.
10890         * gdb.python/py-unwind-maint.py: New file.
10891         * gdb.python/py-unwind.c: New file.
10892         * gdb.python/py-unwind.exp: New test.
10893         * gdb.python/py-unwind.py: New test.
10894
10895 2015-04-01  Pedro Alves  <palves@redhat.com>
10896
10897         * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
10898         to fail instead of non-existent $test.
10899
10900 2015-04-01  Pedro Alves  <palves@redhat.com>
10901
10902         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
10903         GDBFLAGS if not empty.
10904
10905 2015-04-01  Pierre-Marie de Rodat  <derodat@adacore.com>
10906
10907         * gdb.ada/complete.exp: Remove "multi_line".
10908         * gdb.ada/info_exc.exp: Remove "multi_line".
10909         * gdb.ada/packed_tagged.exp: Remove "multi_line".
10910         * gdb.ada/ptype_field.exp: Remove "multi_line".
10911         * gdb.ada/sym_print_name.exp: Remove "multi_line".
10912         * gdb.ada/tagged.exp: Remove "multi_line".
10913         * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
10914         [multi_line ...]
10915         * gdb.btrace/delta.exp: Likewise.
10916         * gdb.btrace/exception.exp: Likewise.
10917         * gdb.btrace/function_call_history.exp: Likewise.
10918         * gdb.btrace/instruction_history.exp: Likewise.
10919         * gdb.btrace/nohist.exp: Likewise.
10920         * gdb.btrace/record_goto.exp: Likewise.
10921         * gdb.btrace/segv.exp: Likewise.
10922         * gdb.btrace/stepi.exp: Likewise.
10923         * gdb.btrace/tailcall.exp: Likewise.
10924         * gdb.btrace/unknown_functions.exp: Likewise.
10925         * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
10926         * lib/gdb.exp: Add the "multi_line" helper.
10927
10928 2015-04-01  Pedro Alves  <palves@redhat.com>
10929
10930         * gdb.threads/tid-reuse.c: New file.
10931         * gdb.threads/tid-reuse.exp: New file.
10932
10933 2015-03-31  Sergio Durigan Junior  <sergiodj@redhat.com>
10934
10935         PR corefiles/16092
10936         * gdb.base/coredump-filter.c: New file.
10937         * gdb.base/coredump-filter.exp: Likewise.
10938
10939 2015-03-27  Petr Machata  <pmachata@redhat.com>
10940
10941         * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
10942         (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
10943         (Dwarf::assemble): Initialize them.
10944         (Dwarf::lines): New function.
10945
10946 2015-03-26  Jon Turney  <jon.turney@dronecode.org.uk>
10947
10948         * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
10949         SYMBOL_PREFIX for x86_64-*-cygwin.
10950
10951 2015-03-26  Andy Wingo  <wingo@igalia.com>
10952
10953         PR symtab/18148
10954         * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
10955         const_value but not a location.
10956         * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
10957         location defined in non-main CUs are visible.
10958
10959 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10960
10961         PR testsuite/18139
10962         * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
10963         Add a line number entry for the same line.
10964         * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
10965         Add a line number entry for the same line.
10966
10967 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10968
10969         * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
10970         .int 0.
10971         (func): Likewise.  Add .Lfunc_1 label.
10972         Use .Lfunc_1 label.
10973         * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
10974         .int 0.
10975         (func): Likewise.
10976         Use .Lfunc_1 label.
10977
10978 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10979
10980         * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
10981         Call gdb_compile instead to compile each .s files without debug
10982         information.
10983
10984 2015-03-26  Yao Qi  <yao.qi@linaro.org>
10985
10986         * gdb.base/savedregs.exp (process_saved_regs): Make
10987         "Saved registers:" optional in the pattern.
10988
10989 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
10990
10991         * gdb.btrace/next.exp: Merged into step.exp.
10992         * gdb.btrace/finish.exp: Merged into step.exp.
10993         * gdb.btrace/nexti.exp: Merged into stepi.exp.
10994         * gdb.btrace/step.exp: Use record_goto.c as test file.  Avoid using
10995         "record goto" and checking the exact replay position.
10996         * gdb.btrace/stepi.exp: Choose test file based on target.  Do not
10997         check for "Recording format" in "info record" output.
10998         * gdb.btrace/record_goto.exp: Choose test file based on target.
10999         * gdb.btrace/x86-record_goto.S: Renamed into ...
11000         * gdb.btrace/x86_64-record_goto.S: ... this.
11001         * gdb.btrace/i686-record_goto.S: New.
11002         * gdb.btrace/x86-tailcall.S: Renamed into ...
11003         * gdb.btrace/x86_64-tailcall.S: ... this.
11004         * gdb.btrace/i686-tailcall.S: New.
11005         * gdb.btrace/x86-tailcall.c: Renamed into ...
11006         * gdb.btrace/tailcall.c: ... this.  Split "return ++answer" into two
11007         separate statements.  Update test.
11008         * gdb.btrace/delta.exp: Use record_goto.c as test file.
11009         * gdb.btrace/gcore.exp: Use record_goto.c as test file.
11010         * gdb.btrace/nohist.exp: Use record_goto.c as test file.
11011         * gdb.btrace/tailcall.exp: Choose test file based on target.
11012         * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
11013
11014 2015-03-25  Markus Metzger  <markus.t.metzger@intel.com>
11015
11016         * gdb.btrace/exception.exp: Increase BTS buffer size.
11017
11018 2015-03-24  Pedro Alves  <palves@redhat.com>
11019
11020         * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
11021
11022 2015-03-24  Pedro Alves  <palves@redhat.com>
11023
11024         * gdb.threads/schedlock.exp (test_step): No longer expect that
11025         "set scheduler-locking step" with "next" over a function call runs
11026         threads unlocked.
11027
11028 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11029
11030         * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
11031
11032 2015-03-24  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11033
11034         PR breakpoints/16466
11035         * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
11036         * gdb.mi/mi-pending.c (thread_func): New function.
11037         (int main): Add threading support required.
11038         * gdb.mi/mi-pending.exp: Add tests for this issue.
11039         * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
11040         (pendfunc2): Remove stdio dependency.
11041         * gdb.mi/mi-pendshr2.c: New file.
11042
11043 2015-03-23  Keith Seitz  <keiths@redhat.com>
11044
11045         * gdb.linespec/keywords.c: New file.
11046         * gdb.linespec/keywords.exp: New file.
11047
11048 2015-03-23  Keith Seitz  <keiths@redhat.com>
11049
11050         PR gdb/18021
11051         * gdb.dwarf2/staticvirtual.exp: New test.
11052
11053 2015-03-20  Jan Kratochvil  <jan.kratochvil@redhat.com>
11054
11055         * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
11056         * README: Remove HP-UX and gdb.hp.
11057         (configuration):
11058         * configure: Regenerate.
11059         * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
11060         gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
11061         gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
11062         gdb.hp/gdb.defects/Makefile.
11063         * gdb.hp/Makefile.in: File deleted.
11064         * gdb.hp/gdb.aCC/Makefile.in: File deleted.
11065         * gdb.hp/gdb.aCC/optimize.c: File deleted.
11066         * gdb.hp/gdb.aCC/optimize.exp: File deleted.
11067         * gdb.hp/gdb.aCC/run.c: File deleted.
11068         * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
11069         * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
11070         * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
11071         * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
11072         * gdb.hp/gdb.base-hp/dollar.c: File deleted.
11073         * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
11074         * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
11075         * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
11076         * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
11077         * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
11078         * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
11079         * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
11080         * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
11081         * gdb.hp/gdb.base-hp/reg.exp: File deleted.
11082         * gdb.hp/gdb.base-hp/reg.s: File deleted.
11083         * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
11084         * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
11085         * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
11086         * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
11087         * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
11088         * gdb.hp/gdb.compat/Makefile.in: File deleted.
11089         * gdb.hp/gdb.compat/average.c: File deleted.
11090         * gdb.hp/gdb.compat/sum.c: File deleted.
11091         * gdb.hp/gdb.compat/xdb.c: File deleted.
11092         * gdb.hp/gdb.compat/xdb0.c: File deleted.
11093         * gdb.hp/gdb.compat/xdb0.h: File deleted.
11094         * gdb.hp/gdb.compat/xdb1.c: File deleted.
11095         * gdb.hp/gdb.compat/xdb1.exp: File deleted.
11096         * gdb.hp/gdb.compat/xdb2.exp: File deleted.
11097         * gdb.hp/gdb.compat/xdb3.exp: File deleted.
11098         * gdb.hp/gdb.defects/Makefile.in: File deleted.
11099         * gdb.hp/gdb.defects/bs14602.c: File deleted.
11100         * gdb.hp/gdb.defects/bs14602.exp: File deleted.
11101         * gdb.hp/gdb.defects/solib-d.c: File deleted.
11102         * gdb.hp/gdb.defects/solib-d.exp: File deleted.
11103         * gdb.hp/gdb.defects/solib-d1.c: File deleted.
11104         * gdb.hp/gdb.defects/solib-d2.c: File deleted.
11105         * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
11106         * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
11107         * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
11108         * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
11109         * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
11110         * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
11111         * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
11112         * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
11113         * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
11114         * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
11115         * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
11116         * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
11117         * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
11118         * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
11119         * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
11120         * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
11121         * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
11122         * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
11123         * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
11124         * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
11125         * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
11126         * gdb.hp/tools/odump: File deleted.
11127
11128 2015-03-19  Pedro Alves  <palves@redhat.com>
11129
11130         * gdb.threads/continue-pending-status.exp (saw_thread_2)
11131         (saw_thread_3): New globals.
11132         (top level): Increment them when an event for the corresponding
11133         thread is seen.
11134         (no thread starvation): New test.
11135
11136 2015-03-19  Pedro Alves  <palves@redhat.com>
11137
11138         * gdb.threads/continue-pending-status.c: New file.
11139         * gdb.threads/continue-pending-status.exp: New file.
11140
11141 2015-03-18  Pedro Alves  <palves@redhat.com>
11142
11143         * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
11144         Use gdb_is_target_remote instead of is_remote.  Use
11145         gdb_test_multiple instead of gdb_expect.  Exit early if
11146         gdb_test_multiple hits its internal matches.  Tighten stepi tests
11147         expected output.  Fail on exit with any signal, instead of just
11148         SIGILL.
11149
11150 2015-03-18  Yao Qi  <yao.qi@linaro.org>
11151
11152         PR tdep/18107
11153         * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
11154         variable.
11155         * gdb.base/catch-syscall.exp: Don't skip it on
11156         aarch64*-*-linux* target.  Remove elements in all_syscalls.
11157         (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
11158         target.
11159         (setup_all_syscalls): New proc.
11160
11161 2015-03-16  Yao Qi  <yao.qi@linaro.org>
11162
11163         * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
11164         (top level): Skip tests if valid_addr_p returns false for
11165         $cmd1 or $cmd2.
11166
11167 2015-03-11  Andy Wingo  <wingo@igalia.com>
11168
11169         * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
11170
11171 2015-03-11  Yao Qi  <yao.qi@linaro.org>
11172
11173         * gdb.base/catch-syscall.exp: Fix typo in comments.
11174
11175 2015-03-11  Yao Qi  <yao.qi@linaro.org>
11176
11177         * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
11178
11179 2015-03-09  Pedro Alves  <palves@redhat.com>
11180
11181         * dg-extract-results.py: Delete.
11182
11183 2015-03-09  Pedro Alves  <palves@redhat.com>
11184
11185         Merge dg-extract-results.sh from GCC upstream (r218843).
11186
11187         2014-12-17  Sergio Durigan Junior  <sergiodj@redhat.com>
11188                 * dg-extract-results.sh: Use --text with grep to avoid issues with
11189                 binary files.  Fall back to cat -v, if that doesn't work.
11190
11191 2015-03-05  Pedro Alves  <palves@redhat.com>
11192
11193         * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
11194
11195 2015-03-04  Simon Marchi  <simon.marchi@ericsson.com>
11196
11197         * lib/mi-support.exp (mi_expect_interrupt): Accept
11198         alternative event for when in all-stop mode.
11199
11200 2015-03-04  Pedro Alves  <palves@redhat.com>
11201
11202         * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
11203
11204 2015-03-04  Mark Kettenis  <kettenis@gnu.org>
11205
11206         * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
11207
11208 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11209
11210         * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
11211         regexps for GDB's current line display, accept a hex address
11212         preceding the line number.
11213
11214 2015-03-04  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11215
11216         * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
11217         the 'arch1' variable for "s390*-linux*" targets.
11218
11219 2015-03-04  Pedro Alves  <palves@redhat.com>
11220
11221         * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
11222         (main): Pass missing retval argument to pthread_join call.
11223
11224 2015-03-02  Pedro Alves  <palves@redhat.com>
11225
11226         * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
11227         (top level): Call do_test with non-stop as well.
11228
11229 2015-03-02  Pedro Alves  <palves@redhat.com>
11230
11231         * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
11232         -1.
11233
11234 2015-03-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11235
11236         * gdb.arch/s390-vregs.exp: New test.
11237         * gdb.arch/s390-vregs.S: New file.
11238
11239 2015-02-27  Pedro Alves  <palves@redhat.com>
11240
11241         * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
11242         call to catch_command_errors.
11243         * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
11244         catch_command_errors.
11245
11246 2015-02-27  Pedro Alves  <palves@redhat.com>
11247
11248         * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
11249         "true" for boolean result.
11250         * gdb.gdb/selftest.exp (test_with_self): Also accept full
11251         prototype of main.
11252
11253 2015-02-27  Pedro Alves  <palves@redhat.com>
11254
11255         * lib/unbuffer_output.c: New file.
11256         * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
11257         (main): Call gdb_unbuffer_output.
11258
11259 2015-02-27  Yao Qi  <yao.qi@linaro.org>
11260
11261         * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
11262         target.
11263
11264 2015-02-26  Doug Evans  <dje@google.com>
11265
11266         * gdb.cp/class2.cc (Dbase, D): New classes.
11267         (main): New local delta.
11268         * gdb.cp/class2.exp: Test printing delta.
11269         * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
11270         (dynbar): New global.
11271         * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
11272
11273 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
11274
11275         * gdb.compile/compile-ifunc.c: New file.
11276         * gdb.compile/compile-ifunc.exp: New file.
11277
11278 2015-02-26  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11279
11280         * gdb.base/structs.exp: Check for correct struct on finish.
11281
11282 2015-02-26  Yao Qi  <yao.qi@linaro.org>
11283
11284         * lib/dwarf.exp (function_range): Adjust pattern when $func_length
11285         is zero.
11286
11287 2015-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
11288
11289         * gdb.arch/cordic.ko.bz2: New file.
11290         * gdb.arch/cordic.ko.debug.bz2: New file.
11291         * gdb.arch/ppc64-symtab-cordic.exp: New file.
11292
11293 2015-02-25  Yao Qi  <yao.qi@linaro.org>
11294
11295         * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
11296         aarch64*-*-* target.
11297
11298 2015-02-23  Pedro Alves  <palves@redhat.com>
11299
11300         * lib/gdb.exp (delete_breakpoints): Rewrite using
11301         gdb_test_multiple.
11302
11303 2015-02-23  Pedro Alves  <palves@redhat.com>
11304
11305         * gdb.base/info-os.c: Include stdlib.h.
11306
11307 2015-02-22  Doug Evans  <xdje42@gmail.com>
11308
11309         PR symtab/17855
11310         * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
11311         is read after symbols have been re-read.
11312         * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
11313         * gdb.ada/exec_changed/second.adb (Second): Ditto.
11314
11315 2015-02-21  Doug Evans  <dje@google.com>
11316
11317         * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
11318
11319 2015-02-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
11320
11321         PR corefiles/17808
11322         * gdb.arch/i386-biarch-core.core.bz2: New file.
11323         * gdb.arch/i386-biarch-core.exp: New file.
11324
11325 2015-02-21  Pedro Alves  <palves@redhat.com>
11326
11327         * gdb.threads/multi-create-ns-info-thr.exp: Return early if
11328         runto_main fails.
11329
11330 2015-02-20  Pedro Alves  <palves@redhat.com>
11331
11332         * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
11333         info probes.
11334
11335 2015-02-20  Pedro Alves  <palves@redhat.com>
11336
11337         * gdb.threads/multi-create-ns-info-thr.exp: New file.
11338
11339 2015-02-20  Pedro Alves  <palves@redhat.com>
11340
11341         * gdb.trace/no-attach-trace.exp: Don't run to main.  Do
11342         clean_restart before gdb_target_supports_trace.
11343
11344 2015-02-20  Pedro Alves  <palves@redhat.com>
11345
11346         PR threads/18006
11347         * gdb.threads/clone-thread_db.c: New file.
11348         * gdb.threads/clone-thread_db.exp: New file.
11349
11350 2015-02-19  Antoine Tremblay  <antoine.tremblay@ericsson.com>
11351
11352         PR breakpoints/16812
11353         * gdb.base/catch-gdb-caused-signals.c: New file.
11354         * gdb.base/catch-gdb-caused-signals.exp: New file.
11355
11356 2015-02-18  Jose E. Marchesi  <jose.marchesi@oracle.com>
11357
11358         * configure: Regenerated.
11359         * configure.ac: Use GDB_AC_TRANSFORM.
11360         * aclocal.m4: sinclude ../transform.m4.
11361
11362 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11363
11364         * lib/dtrace.exp: New file.
11365         * gdb.base/dtrace-probe.exp: Likewise.
11366         * gdb.base/dtrace-probe.d: Likewise.
11367         * gdb.base/dtrace-probe.c: Likewise.
11368         * lib/pdtrace.in: Likewise.
11369         * configure.ac: Output variables with the transformed names of
11370         the strip, readelf, as and nm tools.  AC_SUBST lib/pdtrace.in.
11371         * configure: Regenerated.
11372
11373 2015-02-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11374
11375         * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
11376         expected message when trying to access $_probe_* convenience
11377         variables while not on a probe.
11378
11379 2015-02-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11380
11381         * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
11382
11383 2015-02-11  Pedro Alves  <pedro@codesourcery.com>
11384
11385         * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
11386         * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
11387
11388 2015-02-10  Doug Evans  <xdje42@gmail.com>
11389
11390         * lib/gdb.exp (gdb_load): Always return a result.
11391
11392 2015-02-10  Pedro Alves  <palves@redhat.com>
11393
11394         * gdb.threads/signal-sigtrap.c: New file.
11395         * gdb.threads/signal-sigtrap.exp: New file.
11396
11397 2015-02-10  Antoine Tremblay <antoine.tremblay@ericsson.com>
11398
11399         * gdb.trace/no-attach-trace.c: New file.
11400         * gdb.trace/no-attach-trace.exp: New file.
11401
11402 2015-02-09  Mark Wielaard  <mjw@redhat.com>
11403
11404         * gdb.dwarf2/atomic.c: New file.
11405         * gdb.dwarf2/atomic-type.exp: Likewise.
11406
11407 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11408
11409         * gdb.btrace/buffer-size.exp: Update "info record" output.
11410         * gdb.btrace/delta.exp: Update "info record" output.
11411         * gdb.btrace/enable.exp: Update "info record" output.
11412         * gdb.btrace/finish.exp: Update "info record" output.
11413         * gdb.btrace/instruction_history.exp: Update "info record" output.
11414         * gdb.btrace/next.exp: Update "info record" output.
11415         * gdb.btrace/nexti.exp: Update "info record" output.
11416         * gdb.btrace/step.exp: Update "info record" output.
11417         * gdb.btrace/stepi.exp: Update "info record" output.
11418         * gdb.btrace/nohist.exp: Update "info record" output.
11419
11420 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11421
11422         * gdb.btrace/buffer-size: New.
11423
11424 2015-02-09  Markus Metzger  <markus.t.metzger@intel.com>
11425
11426         * gdb.btrace/delta.exp: Update "info record" output.
11427         * gdb.btrace/enable.exp: Update "info record" output.
11428         * gdb.btrace/finish.exp: Update "info record" output.
11429         * gdb.btrace/instruction_history.exp: Update "info record" output.
11430         * gdb.btrace/next.exp: Update "info record" output.
11431         * gdb.btrace/nexti.exp: Update "info record" output.
11432         * gdb.btrace/step.exp: Update "info record" output.
11433         * gdb.btrace/stepi.exp: Update "info record" output.
11434         * gdb.btrace/nohist.exp: Update "info record" output.
11435
11436 2015-02-06  Simon Marchi  <simon.marchi@ericsson.com>
11437
11438         PR gdb/15678
11439         * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
11440
11441 2015-02-06  Pedro Alves  <palves@redhat.com>
11442
11443         * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
11444         macro.
11445         (seconds_left, again): New globals.
11446         (main): Wait seconds_left in a 1-second sleep loop instead of
11447         sleeping 180 seconds.  If 'again' is set, reset the seconds
11448         counter.
11449         * gdb.threads/attach-many-short-lived-threads.exp (test): Set
11450         'again' in the inferior before detaching.  Print the seconds left.
11451         (options): New global.
11452         (top level): Build program with -DTIMEOUT=$timeout.
11453
11454 2015-02-06  Pedro Alves  <palves@redhat.com>
11455
11456         * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
11457         determine how many seconds to pass to 'alarm'.
11458         * gdb.base/gdb-sigterm.exp (top level): Build program with
11459         -DTIMEOUT=$timeout.
11460         (do_test): Return success/failure indication.  Add more verbose
11461         logging.  Don't fail if 200 single steps are seen.  Instead, fail
11462         when the test times out.
11463         (passes): New global.
11464         (top level): Break the testing loop if testing fails on any
11465         iteration.  Use gdb_assert.
11466
11467 2015-02-04  Don Breazeal  <donb@codesourcery.com>
11468
11469         * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
11470         and initialize them.
11471         (ipc_cleanup): New function.
11472         (main): Don't declare shmid, semid, and msqid.  Add a call to
11473         atexit so that we call ipc_cleanup on exit.
11474
11475 2015-02-04  Pedro Alves  <palves@redhat.com>
11476
11477         * boards/native-extended-gdbserver.exp: Remove any target variant
11478         specifications from the board name before clearing the isremote
11479         flag from board_info.
11480
11481 2015-01-31  Doug Evans  <xdje42@gmail.com>
11482
11483         * gdb.base/maint.exp <maint print type argc>: Update expected output.
11484
11485 2015-01-31  Gary Benson <gbenson@redhat.com>
11486
11487         * gdb.base/completion.exp: Disable completion limiting for
11488         existing tests.  Add new tests to check completion limiting.
11489         * gdb.linespec/ls-errs.exp: Disable completion limiting.
11490
11491 2015-01-31  Doug Evans  <xdje42@gmail.com>
11492
11493         * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
11494
11495 2015-01-31  Doug Evans  <xdje42@gmail.com>
11496
11497         * gdb.guile/scm-section-script.c: Add duplicate inlined section script
11498         entries.  Duplicate file section script entries.
11499         * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
11500         inlined entries.  Add test for safe-path rejection.
11501         * gdb.python/py-section-script.c: Add duplicate inlined section script
11502         entries.  Duplicate file section script entries.
11503         * gdb.python/py-section-script.exp: Add tests for duplicate entries,
11504         inlined entries.  Add test for safe-path rejection.
11505
11506 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11507
11508         * gdb.ada/disc_arr_bound: New testcase.
11509
11510 2015-01-29  Joel Brobecker  <brobecker@adacore.com>
11511
11512         * gdb.ada/mi_var_array: New testcase.
11513
11514 2015-01-27  Doug Evans  <dje@google.com>
11515
11516         * gdb.python/py-objfile.exp: Add tests for objfile.username.
11517         Add test for objfile.filename, objfile.username after objfile
11518         has been unloaded.
11519
11520 2015-01-26  Joel Brobecker  <brobecker@adacore.com>
11521
11522         * gdb.python/py-lookup-type.exp (test_lookup_type): Change
11523         the second test to print the name attribute of value
11524         returned by the call to gdb.lookup_type, and adjust
11525         the expected output accordingly.
11526
11527 2015-01-25  Mark Wielaard  <mjw@redhat.com>
11528
11529         * gdb.arch/i386-bp_permanent.c (standard): New declaration.
11530         * gdb.base/disp-step-fork.c: Include unistd.h.
11531         * gdb.base/siginfo-obj.c: Include stdio.h.
11532         * gdb.base/siginfo-thread.c: Likewise.
11533         * gdb.mi/non-stop.c: Include unistd.h.
11534         * gdb.mi/nsthrexec.c: Include stdio.h.
11535         * gdb.mi/pthreads.c: Include unistd.h.
11536         * gdb.modula2/unbounded1.c (main): Declare returns int.
11537         * gdb.reverse/consecutive-reverse.c: Likewise.
11538         * gdb.threads/create-fail.c: Include unistd.h.
11539         * gdb.threads/killed.c: Likewise.
11540         * gdb.threads/linux-dp.c: Likewise.
11541         * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
11542         * gdb.threads/non-ldr-exc-2.c: Likewise.
11543         * gdb.threads/non-ldr-exc-3.c: Likewise.
11544         * gdb.threads/non-ldr-exc-4.c: Likewise.
11545         * gdb.threads/pthreads.c: Include unistd.h.
11546         (main): Declare returns int.
11547         * gdb.threads/tls-main.c (foo): New declaration.
11548         * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
11549
11550 2015-01-23  Simon Marchi  <simon.marchi@ericsson.com>
11551
11552         * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
11553         * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
11554
11555 2015-01-15  Mark Wielaard  <mjw@redhat.com>
11556
11557         * gdb.base/noreturn-return.c: New file.
11558         * gdb.base/noreturn-return.exp: New file.
11559         * gdb.base/noreturn-finish.c: New file.
11560         * gdb.base/noreturn-finish.exp: New file.
11561
11562 2015-01-23  Pedro Alves  <palves@redhat.com>
11563
11564         * gdb.threads/continue-pending-after-query.c: New file.
11565         * gdb.threads/continue-pending-after-query.exp: New file.
11566
11567 2015-01-22  Anders Granlund  <anders.granlund@ericsson.com>
11568             Simon Marchi  <simon.marchi@ericsson.com>
11569
11570         * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
11571         * gdb.base/valgrind-db-attach.exp: Same.
11572         * gdb.base/valgrind-infcall.exp: Same.
11573         * lib/mi-support.exp (default_mi_gdb_start): Same.
11574         * lib/prompt.exp (default_prompt_gdb_start): Same.
11575         * lib/gdb.exp (default_gdb_spawn): Same.
11576         (gdb_interact): New.
11577
11578
11579 2015-01-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
11580
11581         * gdb.compile/compile.exp (pointer to jit function): New test.
11582
11583 2015-01-17  Wei-cheng Wang  <cole945@gmail.com>
11584
11585         * lib/gdb.exp (supports_process_record): Return true for
11586         powerpc*-*-linux*.
11587         (supports_reverse): Likewise.
11588
11589 2015-01-15  Don Breazeal  <donb@codesourcery.com>
11590
11591         * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
11592         instead of checking whether the target board is remote and
11593         use spawn_wait_for_attach instead of exec/sleep.
11594         * gdb.base/attach-twice.exp: Likewise.
11595
11596 2015-01-15  Joel Brobecker  <brobecker@adacore.com>
11597
11598         * gdb.ada/var_arr_attrs: New testcase.
11599
11600 2015-01-14  Pedro Alves  <palves@redhat.com>
11601             Joel Brobecker  <brobecker@adacore.com>
11602
11603         PR gdb/17525
11604         * gdb.base/bp-cmds-execution-x-script.c: New file.
11605         * gdb.base/bp-cmds-execution-x-script.exp: New file.
11606         * gdb.base/bp-cmds-execution-x-script.gdb: New file.
11607
11608 2015-01-14  Pedro Alves  <palves@redhat.com>
11609
11610         PR cli/17828
11611         * gdb.base/batch-preserve-term-settings.c: New file.
11612         * gdb.base/batch-preserve-term-settings.exp: New file.
11613
11614 2015-01-13  Doug Evans  <dje@google.com>
11615
11616         * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
11617         binary.
11618
11619 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11620
11621         * Makefile.in (clean mostlyclean): Do not delete *.py.
11622
11623 2015-01-13  Joel Brobecker  <brobecker@adacore.com>
11624
11625         * gdb.python/py-lookup-type.exp: New file.
11626
11627 2015-01-12  Pedro Alves  <palves@redhat.com>
11628
11629         * gdb.python/py-prompt.exp: When the board can't spawn for attach,
11630         restore GDBFLAGS before returning.
11631
11632 2015-01-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
11633
11634         * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
11635         is_amd64_regs_target and is_x86_like_target.
11636
11637 2015-01-11  Doug Evans  <xdje42@gmail.com>
11638
11639         * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
11640         is given without an explicit form.
11641         * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
11642         attributes.
11643         * gdb.dwarf/corrupt.exp: Ditto.
11644         * gdb.dwarf2/enum-type.exp: Ditto.
11645         * gdb.trace/entry-values.exp: Ditto.
11646         * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
11647
11648 2015-01-11  Doug Evans  <xdje42@gmail.com>
11649
11650         PR gdb/15830
11651         * gdb.base/maint.exp: Remove references to "maint demangle".
11652         * gdb.cp/demangle.exp: Update.  "maint demangle" -> "demangle".
11653         Add tests for explicitly specifying language to demangle.
11654         * gdb.dlang/demangle.exp: Ditto.
11655
11656 2015-01-09  Pedro Alves  <palves@redhat.com>
11657
11658         * gdb.threads/non-stop-fair-events.c: New file.
11659         * gdb.threads/non-stop-fair-events.exp: New file.
11660
11661 2015-01-09  Pedro Alves  <palves@redhat.com>
11662
11663         * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
11664         the global scope.  Set a breakpoint after all threads are started
11665         rather than stepping over two source lines.  Expect the prompt.
11666         * gdb.base/watch_thread_num.c (threads_started_barrier): New
11667         global.
11668         (NUM): Now 15.
11669         (main): Use threads_started_barrier to wait for all threads to
11670         start.  Main thread no longer calls thread_function.  Exit after
11671         180 seconds.
11672         (loop): New function.
11673         (thread_function): Wait on threads_started_barrier barrier.  Call
11674         'loop' at each iteration.
11675         * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
11676         threads have started, instead of hardcoding number of "next"
11677         steps.  Use an access watchpoint instead of a write watchpoint.
11678
11679 2015-01-09  Pedro Alves  <palves@redhat.com>
11680
11681         * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
11682         (thread_func): Wait on barrier.
11683         (main): Wait for all threads to start before stopping GDB.
11684         * gdb.threads/siginfo-threads.c (threads_started_barrier): New
11685         global.
11686         (thread1_func, thread2_func): Wait on barrier.
11687         (main): Wait for all threads to start before stopping GDB.
11688         * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
11689         New global.
11690         (thread1_func, thread2_func): Wait on barrier.
11691         (main): Wait for all threads to start before stopping GDB.
11692
11693 2015-01-09  Pedro Alves  <palves@redhat.com>
11694
11695         * gdb.threads/attach-many-short-lived-threads.c: New file.
11696         * gdb.threads/attach-many-short-lived-threads.exp: New file.
11697
11698 2014-01-09  Pedro Alves  <palves@redhat.com>
11699
11700         * gdb.threads/fork-thread-pending.exp: Switch to the main thread
11701         instead of to thread 2.
11702         * gdb.threads/signal-command-multiple-signals-pending.c (main):
11703         Add barrier around each pthread_create call instead of around all
11704         calls.
11705         * gdb.threads/signal-command-multiple-signals-pending.exp (test):
11706         Set a break on thread_function and have the child threads hit it
11707         one at at a time.
11708
11709 2015-01-09  Pedro Alves  <palves@redhat.com>
11710
11711         * lib/gdb.exp (can_spawn_for_attach): New procedure.
11712         (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
11713         false.
11714         * gdb.base/attach.exp: Use can_spawn_for_attach instead of
11715         checking whether the target board is remote.
11716         * gdb.multi/multi-attach.exp: Likewise.
11717         * gdb.python/py-sync-interp.exp: Likewise.
11718         * gdb.server/ext-attach.exp: Likewise.
11719         * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
11720         tests that need to attach, instead of checking whether the target
11721         board is remote at the top of the file.
11722
11723 2015-01-08  Yao Qi  <yao@codesourcery.com>
11724
11725         * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
11726
11727 2015-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
11728
11729         Fix testcase compilation.
11730         * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
11731
11732 2015-01-06  Joel Brobecker  <brobecker@adacore.com>
11733
11734         * gdb.python/py-type.exp: Add a couple test about empty
11735         array creation, and negative-length array creation.
11736
11737 2015-01-02  Doug Evans  <xdje42@gmail.com>
11738
11739         * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
11740
11741 2015-01-02  Doug Evans  <dje@google.com>
11742
11743         * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
11744
11745 2014-12-29  Yao Qi  <yao@codesourcery.com>
11746
11747         * gdb.trace/entry-values.exp: Update comments.  Rename variable
11748         bar_call_foo to returned_from_foo.
11749
11750 2014-12-20  Mihail-Marian Nistor  <mihail.nistor@freescale.com>
11751
11752         PR gdb/17394
11753         * gdb.linespec/break-asm-file.c: New file.
11754         * gdb.linespec/break-asm-file.exp: New file.
11755         * gdb.linespec/break-asm-file0.s: New file.
11756         * gdb.linespec/break-asm-file1.s: New file.
11757
11758 2014-12-18  Nigel Stephens  <nigel@mips.com>
11759             Maciej W. Rozycki  <macro@codesourcery.com>
11760
11761         * gdb.base/float.exp: Handle the new output from "info float" on
11762         MIPS targets.
11763
11764 2014-12-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
11765
11766         Fix MinGW compilation.
11767         * gdb.compile/compile-ops.exp: Update untested message if
11768         !skip_compile_feature_tests.
11769         * gdb.compile/compile-setjmp.exp: Likewise.
11770         * gdb.compile/compile-tls.exp: Likewise.
11771         * gdb.compile/compile.exp: Likewise.
11772         * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
11773         supported on this host".
11774
11775 2014-12-16  Doug Evans  <xdje42@gmail.com>
11776
11777         * boards/stabs.exp: New file.
11778
11779 2014-12-16  Andreas Arnez  <arnez@vnet.linux.ibm.com>
11780
11781         * gdb.base/completion.exp: Adjust to format changes of "maint
11782         print user-registers".
11783
11784 2014-12-16  Catalin Udma  <catalin.udma@freescale.com>
11785
11786         PR server/17457
11787         * gdb.arch/aarch64-fp.c: New file.
11788         * gdb.arch/aarch64-fp.exp: New file.
11789
11790 2014-12-15  Sergio Durigan Junior  <sergiodj@redhat.com>
11791
11792         Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
11793         r210637, r210913, r211666, r215400, r215817).
11794
11795         2014-05-08  Richard Sandiford  <rdsandiford@googlemail.com>
11796                 * dg-extract-results.py: New file.
11797                 * dg-extract-results.sh: Use it if the environment seems
11798                 suitable.
11799
11800         2014-05-20  Richard Sandiford  <rdsandiford@googlemail.com>
11801
11802                 * dg-extract-results.py (parse_run): Handle warnings that
11803                 are printed before a test harness is run.
11804
11805         2014-05-25  Richard Sandiford  <rdsandiford@googlemail.com>
11806
11807                 * dg-extract-results.py (Named): Remove __cmp__ method.
11808                 (output_variation): Use a key to sort variation.harnesses.
11809
11810         2014-06-14  Richard Sandiford  <rdsandiford@googlemail.com>
11811
11812                 * dg-extract-results.py: For Python 3, force sys.stdout to
11813                 handle surrogate escape sequences.
11814                 (safe_open): New function.
11815                 (output_segment, main): Use it.
11816
11817         2014-09-19  Segher Boessenkool  <segher@kernel.crashing.org>
11818
11819                 * dg-extract-results.py (Prog.result_re): Include options
11820                 in test name.
11821
11822         2014-10-02  Segher Boessenkool  <segher@kernel.crashing.org>
11823
11824                 * dg-extract-results.py (output_variation): Always sort if
11825                 do_sum.
11826
11827 2014-12-15  Simon Marchi  <simon.marchi@ericsson.com>
11828
11829         * lib/gdb.exp (default_gdb_start): After starting gdb, loop
11830         as long as we get pagination notifications.
11831
11832 2014-12-15  Jason Merrill  <jason@redhat.com>
11833
11834         * Makefile.in (check-gdb.%): Restore.
11835         * README: Mention it.
11836
11837 2014-12-13  Joel Brobecker  <brobecker@adacore.com>
11838
11839         * gdb.ada/str_uninit: New testcase.
11840
11841 2014-12-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
11842
11843         PR symtab/17642
11844         * gdb.base/vla-stub-define.c: New file.
11845         * gdb.base/vla-stub.c: New file.
11846         * gdb.base/vla-stub.exp: New file.
11847
11848 2014-12-12  Phil Muldoon  <pmuldoon@redhat.com>
11849             Jan Kratochvil  <jan.kratochvil@redhat.com>
11850             Tom Tromey  <tromey@redhat.com>
11851
11852         * configure.ac: Add gdb.compile/.
11853         * configure: Regenerate.
11854         * gdb.compile/Makefile.in: New file.
11855         * gdb.compile/compile-ops.exp: New file.
11856         * gdb.compile/compile-ops.c: New file.
11857         * gdb.compile/compile-tls.c: New file.
11858         * gdb.compile/compile-tls.exp: New file.
11859         * gdb.compile/compile-constvar.S: New file.
11860         * gdb.compile/compile-constvar.c: New file.
11861         * gdb.compile/compile-mod.c: New file.
11862         * gdb.compile/compile-nodebug.c: New file.
11863         * gdb.compile/compile-setjmp-mod.c: New file.
11864         * gdb.compile/compile-setjmp.c: New file.
11865         * gdb.compile/compile-setjmp.exp: New file.
11866         * gdb.compile/compile-shlib.c: New file.
11867         * gdb.compile/compile.c: New file.
11868         * gdb.compile/compile.exp: New file.
11869         * lib/gdb.exp (skip_compile_feature_tests): New proc.
11870
11871 2014-12-12  Tom Tromey  <tromey@redhat.com>
11872
11873         * lib/dwarf.exp (_location): Ignore blank lines.  Allow comments.
11874         Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
11875
11876 2014-12-12  Doug Evans  <dje@google.com>
11877
11878         * lib/gdb-python.exp (get_python_valueof): New function.
11879         * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
11880
11881 2014-12-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11882
11883         * gdb.base/completion.exp: Add test for completion of "info
11884         registers ".
11885
11886 2014-12-12  Maciej W. Rozycki  <macro@codesourcery.com>
11887
11888         * gdb.base/func-ptrs.c: New file.
11889         * gdb.base/func-ptrs.exp: New file.
11890
11891 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11892
11893         PR breakpoints/17012
11894         * gdb.base/dprintf-detach.c: New file.
11895         * gdb.base/dprintf-detach.exp: New file.
11896
11897 2014-12-10  Simon Marchi  <simon.marchi@ericsson.com>
11898
11899         * gdb.trace/qtro.exp: Replace gdbserver detection code by...
11900         * lib/gdb.exp (target_is_gdbserver): New procedure.
11901
11902 2014-12-08  Doug Evans  <dje@google.com>
11903
11904         * gdb.python/py-objfile.exp: Add tests for objfile.owner.
11905
11906 2014-12-05  Yao Qi  <yao@codesourcery.com>
11907
11908         * gdb.guile/scm-error.exp: Remove the third argument to
11909         gdb_remote_download.
11910         * gdb.guile/scm-frame-args.exp: Likewise.
11911         * gdb.guile/scm-section-script.exp: Likewise.
11912
11913 2014-12-05  Yao Qi  <yao@codesourcery.com>
11914
11915         * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
11916
11917 2014-12-04  Doug Evans  <dje@google.com>
11918
11919         * gdb.python/py-objfile.exp: Add tests for
11920         objfile.add_separate_debug_file.
11921
11922 2014-12-04  Doug Evans  <dje@google.com>
11923
11924         * lib/gdb.exp (get_build_id): New function.
11925         (build_id_debug_filename_get): Rewrite to use it.
11926         * gdb.python/py-objfile.exp: Add test for objfile.build_id.
11927
11928 2014-12-04  Maciej W. Rozycki  <macro@codesourcery.com>
11929
11930         * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
11931         `method(long)', not just 0x0.
11932         * gdb.cp/nsalias.exp: Align code labels to 4.
11933         * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
11934         * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
11935         * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
11936         * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
11937         (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
11938         * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
11939
11940 2014-12-02  Doug Evans  <dje@google.com>
11941
11942         PR symtab/17602
11943         * gdb.cp/anon-ns.cc: Move guts of this file to ...
11944         * gdb.cp/anon-ns2.cc: ... here.  New file.
11945         * gdb.cp/anon-ns.exp: Update.
11946
11947 2014-12-02  Nick Bull  <nicholaspbull@gmail.com>
11948
11949         * gdb.python/py-events.py (inferior_call_handler): New.
11950         (register_changed_handler, memory_changed_handler): New.
11951         (test_events.invoke): Register new handlers.
11952         * gdb.python/py-events.exp: Add tests for inferior call,
11953         memory_changed and register_changed events.
11954
11955 2014-12-02  Andreas Arnez  <arnez@linux.vnet.ibm.com>
11956
11957         * gdb.base/execl-update-breakpoints.exp: Specify the link address
11958         with '-Ttext-segment' instead of '-Ttext'.  Fall back to '-Ttext'
11959         if the linker doesn't understand this.
11960
11961 2014-12-01  Simon Marchi  <simon.marchi@ericsson.com>
11962
11963         * gdb.python/python.exp: Change expected reply to help().
11964
11965 2014-12-01  Yao Qi  <yao@codesourcery.com>
11966
11967         * configure.ac: Remove AC_ARG_ENABLE for gdbtk.  Don't invoke
11968         AC_CONFIG_SUBDIRS(gdb.gdbtk).
11969         * configure: Re-generated.
11970
11971 2014-11-28  Siva Chandra Reddy  <sivachandra@google.com>
11972
11973         * gdb.cp/chained-calls.cc: New file.
11974         * gdb.cp/chained-calls.exp: New file.
11975         * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
11976
11977 2014-11-28  Simon Marchi  <simon.marchi@ericsson.com>
11978
11979         * gdb.ada/py_range.exp: Add parentheses to python calls to print.
11980         * gdb.dwarf2/symtab-producer.exp: Same.
11981         * gdb.gdb/python-interrupts.exp: Same.
11982         * gdb.gdb/python-selftest.exp: Same.
11983         * gdb.python/py-linetable.exp: Same.
11984         * gdb.python/py-type.exp: Same.
11985         * gdb.python/py-value-cc.exp: Same.
11986         * gdb.python/py-value.exp: Same.
11987
11988 2014-11-28  Yao Qi  <yao@codesourcery.com>
11989
11990         * gdb.base/break-probes.exp: Match library name prefixed with
11991         sysroot.
11992
11993 2014-11-27  Simon Marchi  <simon.marchi@ericsson.com>
11994
11995         * gdb.python/py-linetable.exp: Escape properly sorted(fset)
11996         test expected output.  Add parentheses for the call to print.
11997         Remove L suffix from integers.
11998
11999 2014-11-26  Doug Evans  <dje@google.com>
12000
12001         * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
12002
12003 2014-11-22  Yao Qi  <yao@codesourcery.com>
12004
12005         * gdb.trace/entry-values.c: Remove asms.
12006         (foo): Add foo_label.
12007         (bar): Add bar_label.
12008         * gdb.trace/entry-values.exp: Remove code computing  foo's
12009         length and bar's length.
12010         (Dwarf::assemble): Invoke function_range for bar and use
12011         MACRO_AT_func for foo.
12012
12013 2014-11-22  Yao Qi  <yao@codesourcery.com>
12014
12015         * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
12016         and .Lgcc43_procstart.  Use .Lgcc42_procstart instead of gcc42.
12017         Use .Lgcc43_procstart instead of gcc43.
12018
12019 2014-11-21  Joel Brobecker  <brobecker@adacore.com>
12020
12021         * gdb.ada/n_arr_bound: New testcase.
12022
12023 2014-11-20  Sergio Durigan Junior  <sergiodj@redhat.com>
12024
12025         PR breakpoints/10737
12026         * gdb.base/catch-syscall.exp (do_syscall_tests): Call
12027         test_catch_syscall_multi_arch.
12028         (test_catch_syscall_multi_arch): New function.
12029
12030 2014-11-20  Doug Evans  <xdje42@gmail.com>
12031
12032         * gdb.base/maint.exp: Update expected output.
12033
12034 2014-11-19  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12035
12036         * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
12037         4-byte instruction on S390.
12038
12039 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
12040
12041         * gdb.ada/arr_arr: New testcase.
12042
12043 2014-11-19  Joel Brobecker  <brobecker@adacore.com>
12044
12045         * gdb.ada/pkd_arr_elem: New Testcase.
12046
12047 2014-11-18  Luis Machado  <lgustavo@codesourcery.com>
12048
12049         * gdb.reverse/break-precsave: Expect completion message for
12050         core file reads.
12051         * gdb.reverse/consecutive-precsave.exp: Likewise.
12052         * gdb.reverse/finish-precsave.exp: Likewise.
12053         * gdb.reverse/i386-precsave.exp: Likewise.
12054         * gdb.reverse/machinestate-precsave.exp: Likewise.
12055         * gdb.reverse/sigall-precsave.exp: Likewise.
12056         * gdb.reverse/solib-precsave.exp: Likewise.
12057         * gdb.reverse/step-precsave.exp: Likewise.
12058         * gdb.reverse/until-precsave.exp: Likewise.
12059         * gdb.reverse/watch-precsave.exp: Likewise.
12060
12061 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12062
12063         * gdb.base/bp-permanent.c: Include unistd.h.
12064         * gdb.python/py-framefilter-mi.c (main): Add return type.
12065         * gdb.python/py-framefilter.c (main): Likewise.
12066         * gdb.trace/actions-changed.c (main): Likewise.
12067
12068 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12069
12070         * gdb.mi/until.c: Add eye-catchers.
12071         * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
12072         line numbers.
12073
12074 2014-11-17  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12075
12076         * gdb.base/condbreak.exp: Drop references to removed non-prototype
12077         function header variants in break1.c.
12078         * gdb.base/ena-dis-br.exp: Likewise.
12079         * gdb.base/hbreak2.exp: Likewise.
12080         * gdb.reverse/until-precsave.exp: Drop references to removed
12081         non-prototype function header variants in ur1.c.
12082         * gdb.reverse/until-reverse.exp: Likewise.
12083
12084 2014-11-17  Petr Machata  <pmachata@redhat.com>
12085
12086         * lib/dwarf.exp  (Dwarf::cu, Dwarf::tu): Emit
12087         ${_cu_offset_size} bytes abbrev offset.
12088
12089 2014-11-15  Doug Evans  <xdje42@gmail.com>
12090
12091         PR symtab/17559
12092         * gdb.base/line-symtabs.exp: New file.
12093         * gdb.base/line-symtabs.c: New file.
12094         * gdb.base/line-symtabs.h: New file.
12095
12096 2014-11-14  Yao Qi  <yao@codesourcery.com>
12097
12098         * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
12099         (func): Add label func_label.
12100         * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
12101         Replace low_pc and high_pc with MACRO_AT_range.
12102         Replace name, low_pc and high_pc with MACRO_AT_func.
12103
12104 2014-11-14  Yao Qi  <yao@codesourcery.com>
12105
12106         * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
12107         Replace name, low_pc and high_pc with MACRO_AT_func.
12108
12109 2014-11-14  Yao Qi  <yao@codesourcery.com>
12110
12111         * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
12112         produce debug information.
12113         * gdb.dwarf2/implptr-optimized-out.S: Removed.
12114
12115 2014-11-14  Yao Qi  <yao@codesourcery.com>
12116
12117         * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
12118         object and get function length.
12119         (Dwarf::assemble): Replace name, low_pc and high_pc attributes
12120         with MACRO_AT_func.
12121         (top-level): Replace gdb_compile and clean_restart with
12122         prepare_for_testing.
12123         * gdb.dwarf2/main.c (main): Add label main_label.
12124
12125 2014-11-14  Yao Qi  <yao@codesourcery.com>
12126
12127         * lib/dwarf.exp (function_range): New procedure.
12128         (Dwarf::_handle_macro_at_func): New procedure.
12129         (Dwarf::_handle_macro_at_range): New procedure.
12130         (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
12131
12132 2014-11-14  Yao Qi  <yao@codesourcery.com>
12133
12134         * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
12135         (_handle_attribute): New procedure.
12136
12137 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12138
12139         * gdb.ada/cond_lang/foo.c (callme): Add return type.
12140         * gdb.base/call-sc.c (zed): Likewise.
12141         * gdb.base/checkpoint.c (main): Likewise.
12142         * gdb.base/dump.c (main): Likewise.
12143         * gdb.base/gcore.c (main): Likewise.
12144         * gdb.base/huge.c (main): Likewise.
12145         * gdb.base/multi-forks.c (main): Likewise.
12146         * gdb.base/pr10179-a.c (main): Likewise.
12147         * gdb.base/savedregs.c (main): Likewise.
12148         * gdb.base/sigaltstack.c (main): Likewise.
12149         * gdb.base/siginfo.c (main): Likewise.
12150         * gdb.base/structs.c (zed): Likewise.
12151         * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
12152         * gdb.mi/mi-syn-frame.c (main): Likewise.
12153         * gdb.mi/until.c (foo, main): Likewise.
12154         * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
12155         * gdb.base/solib-weak.c (foo): Declare.
12156         * gdb.base/attach-twice.c: Include stdio.h.
12157         * gdb.base/weaklib1.c: Likewise.
12158         * gdb.base/weaklib2.c: Likewise.
12159         * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
12160         * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
12161         unistd.h.
12162         * gdb.base/attach-pie-misread.c: Include stdlib.h.
12163         * gdb.mi/mi-exit-code.c: Likewise.
12164         * gdb.base/break-interp-lib.c: Include string.h.
12165         * gdb.base/coremaker.c: Likewise.
12166         * gdb.base/testenv.c: Likewise.
12167         * gdb.python/py-finish-breakpoint.c: Likewise.
12168         * gdb.base/inferior-died.c: Include sys/wait.h.
12169         * gdb.base/fileio.c: Include time.h.
12170         * gdb.base/async-shell.c: Include unistd.h.
12171         * gdb.base/dprintf-non-stop.c: Likewise.
12172         * gdb.base/info-os.c: Likewise.
12173         * gdb.mi/mi-console.c: Likewise.
12174         * gdb.mi/watch-nonstop.c: Likewise.
12175         * gdb.python/py-events.c: Likewise.
12176         * gdb.base/async.c (baz): Move up before its invocation.
12177         * gdb.base/code_elim2.c (my_global_func): Likewise.
12178         * gdb.base/skip-solib-lib.c (multiply): Likewise.
12179         * gdb.base/advance.c (func2): Likewise.
12180
12181 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12182
12183         * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
12184         variant.
12185         * gdb.base/annota3.c: Likewise.
12186         * gdb.base/async.c: Likewise.
12187         * gdb.base/average.c: Likewise.
12188         * gdb.base/call-ar-st.c: Likewise.
12189         * gdb.base/call-rt-st.c: Likewise.
12190         * gdb.base/call-sc.c: Likewise.
12191         * gdb.base/call-strs.c: Likewise.
12192         * gdb.base/ending-run.c: Likewise.
12193         * gdb.base/execd-prog.c: Likewise.
12194         * gdb.base/exprs.c: Likewise.
12195         * gdb.base/foll-exec.c: Likewise.
12196         * gdb.base/foll-fork.c: Likewise.
12197         * gdb.base/foll-vfork.c: Likewise.
12198         * gdb.base/funcargs.c: Likewise.
12199         * gdb.base/gcore.c: Likewise.
12200         * gdb.base/jump.c: Likewise.
12201         * gdb.base/langs0.c: Likewise.
12202         * gdb.base/langs1.c: Likewise.
12203         * gdb.base/langs2.c: Likewise.
12204         * gdb.base/mips_pro.c: Likewise.
12205         * gdb.base/nodebug.c: Likewise.
12206         * gdb.base/opaque0.c: Likewise.
12207         * gdb.base/opaque1.c: Likewise.
12208         * gdb.base/recurse.c: Likewise.
12209         * gdb.base/run.c: Likewise.
12210         * gdb.base/scope0.c: Likewise.
12211         * gdb.base/scope1.c: Likewise.
12212         * gdb.base/setshow.c: Likewise.
12213         * gdb.base/setvar.c: Likewise.
12214         * gdb.base/shmain.c: Likewise.
12215         * gdb.base/shr1.c: Likewise.
12216         * gdb.base/shr2.c: Likewise.
12217         * gdb.base/sigall.c: Likewise.
12218         * gdb.base/signals.c: Likewise.
12219         * gdb.base/so-indr-cl.c: Likewise.
12220         * gdb.base/solib2.c: Likewise.
12221         * gdb.base/structs.c: Likewise.
12222         * gdb.base/sum.c: Likewise.
12223         * gdb.base/vforked-prog.c: Likewise.
12224         * gdb.base/watchpoint.c: Likewise.
12225         * gdb.reverse/shr2.c: Likewise.
12226         * gdb.reverse/until-reverse.c: Likewise.
12227         * gdb.reverse/ur1.c: Likewise.
12228         * gdb.reverse/watch-reverse.c: Likewise.
12229
12230 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12231
12232         * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
12233         variant.
12234         * gdb.base/sepdebug.exp: Drop references to removed code.
12235
12236 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12237
12238         * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
12239         variant.  Preserve original line numbering.
12240         * gdb.base/list1.c: Likewise.
12241
12242 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12243
12244         * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
12245         variant.
12246         * gdb.base/break1.c: Likewise.
12247         * gdb.base/break.exp: Drop references to removed code.
12248
12249 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12250
12251         * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
12252         variant.
12253
12254 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12255
12256         * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
12257
12258 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12259
12260         * gdb.base/callfuncs.exp: Remove 'prototypes' variable.  Move main
12261         logic into perform_all_tests() and invoke it with and without
12262         function header prototypes.
12263         (do_function_calls): Remove conditional XFAIL for PR 5318.
12264         (rerun_and_prepare): Remove duplicate code.
12265         (perform_all_tests): New.  Main logic moved here.
12266
12267 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12268
12269         * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
12270         code guarded by #ifdef NO_PROTOTYPES.
12271         (t_double_many_args): Likewise.
12272         (DEF_FUNC_MANY_ARGS_1): Likewise.
12273         (DEF_FUNC_VALUES_1): Likewise.
12274         (t_structs_ldc): Renamed from t_structs_fc in conditional code
12275         guarded by #ifdef PROTOTYPES.
12276
12277 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12278
12279         * gdb.mi/mi-console.c: Add eye-catcher.
12280         * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
12281         instead of literal line number.
12282
12283 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12284
12285         * gdb.base/shr2.c: Add eye-catcher.
12286         * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
12287         line number.
12288
12289 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12290
12291         * gdb.base/jump.c: Add eye-catchers.
12292         * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
12293         numbers.
12294
12295 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12296
12297         * gdb.base/execd-prog.c: Add eye-catchers.
12298         * gdb.base/foll-exec.c: Likewise.
12299         * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
12300         line numbers.
12301
12302 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12303
12304         * gdb.base/ending-run.c: Add eye-catchers.
12305         * gdb.base/ending-run.exp: Refer to eye-catchers instead of
12306         literal line numbers.
12307
12308 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12309
12310         * gdb.base/call-rt-st.c: Add eye-catchers.
12311         * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
12312         literal line numbers.
12313
12314 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12315
12316         * gdb.base/call-ar-st.c: Add eye-catchers.
12317         * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
12318         literal line numbers.
12319
12320 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12321
12322         * gdb.base/average.c: Add eye-catchers.
12323         * gdb.base/sum.c: Likewise.
12324         * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
12325         regexps dynamically.
12326
12327 2014-11-13  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12328
12329         * gdb.base/solib1.c: Add eye-catchers.
12330         * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
12331         literal line numbers.
12332
12333 2014-11-12  Pedro Alves  <palves@redhat.com>
12334
12335         * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
12336         leader has exited.
12337
12338 2014-11-12  Pedro Alves  <palves@redhat.com>
12339
12340         * gdb.arch/i386-bp_permanent.c: New file.
12341         * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
12342         (srcfile): Set to i386-bp_permanent.c.
12343         (top level): Adjust to work in both 32-bit and 64-bit modes.  Test
12344         that stepi does not execute the 'leave' instruction, instead of
12345         testing it does execute.
12346         * gdb.base/bp-permanent.c: New file.
12347         * gdb.base/bp-permanent.exp: New file.
12348
12349 2014-11-10  Doug Evans  <xdje42@gmail.com>
12350
12351         PR symtab/17564
12352         * gdb.base/symtab-search-order.exp: New file.
12353         * gdb.base/symtab-search-order.c: New file.
12354         * gdb.base/symtab-search-order-1.c: New file.
12355         * gdb.base/symtab-search-order-shlib-1.c: New file.
12356
12357 2014-11-07  Pedro Alves  <palves@redhat.com>
12358
12359         PR gdb/17511
12360         * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
12361         i?86-*-linux*.
12362
12363 2014-11-03  Siva Chandra Reddy  <sivachandra@google.com>
12364
12365         PR c++/17494
12366         * gdb.cp/pr17494.cc: New file.
12367         * gdb.cp/pr17494.exp: New file.
12368
12369 2014-11-02  Yao Qi  <yao@codesourcery.com>
12370
12371         * gdb.python/python.exp: Get working directory and match the
12372         output of "set extended-prompt \\w " with it.
12373
12374 2014-10-30  Doug Evans  <dje@google.com>
12375
12376         * gdb.python/py-objfile.exp: Add tests for setting random attributes
12377         in objfiles.
12378         * gdb.python/py-progspace.exp: Add tests for setting random attributes
12379         in progspaces.
12380
12381 2014-10-30  Janis Johnson  <janisjo@codesourcery.com>
12382
12383         * gdb.base/fullpath-expand.exp: Skip for a remote host.
12384         * gdb.base/realname-expand.exp: Likewise.
12385         * gdb.linespec/macro-relative.exp: Likewise.
12386
12387 2014-10-29  Pedro Alves  <palves@redhat.com>
12388
12389         PR gdb/17408
12390         * gdb.threads/schedlock.c (some_function): New function.
12391         (call_function): New global.
12392         (MAYBE_CALL_SOME_FUNCTION): New macro.
12393         (thread_function): Call it.
12394         * gdb.threads/schedlock.exp (get_args): Add description parameter,
12395         and use it instead of a global counter.  Adjust all callers.
12396         (get_current_thread): Use "find current thread" for test message
12397         here rather than having all callers pass down the same string.
12398         (goto_loop): New procedure, factored out from ...
12399         (my_continue): ... this.
12400         (step_ten_loops): Change parameter from test message to command to
12401         use.  Adjust.
12402         (list_count): Delete global.
12403         (check_result): New procedure, factored out from duplicate top
12404         level code.
12405         (continue tests): Wrap in with_test_prefix.
12406         (test_step): New procedure, factored out from duplicate top level
12407         code.
12408         (top level): Test "step" in combination with all scheduler-locking
12409         modes.  Test "next" in combination with all scheduler-locking
12410         modes, and in combination with stepping over a function call or
12411         not.
12412         * gdb.threads/next-bp-other-thread.c: New file.
12413         * gdb.threads/next-bp-other-thread.exp: New file.
12414
12415 2014-10-29  Pedro Alves  <palves@redhat.com>
12416
12417         PR python/17372
12418         * gdb.python/python.exp: Test a multi-line command that spawns
12419         interactive Python.
12420         * gdb.base/multi-line-starts-subshell.exp: New file.
12421
12422 2014-10-29  Yao Qi  <yao@codesourcery.com>
12423
12424         * gdb.base/fileio.exp: Make directories on host.
12425
12426 2014-10-29  Yao Qi  <yao@codesourcery.com>
12427
12428         * gdb.base/fileio.c (test_write): Close the file.
12429
12430 2014-10-28  Pedro Alves  <palves@redhat.com>
12431
12432         PR gdb/12623
12433         * gdb.base/sigstep.c (no_handler): New global.
12434         (main): If 'no_handler is true, set the signal handlers to
12435         SIG_IGN.
12436         * gdb.base/sigstep.exp (breakpoint_over_handler): Add
12437         with_sw_watch and no_handler parameters.  Handle them.
12438         (top level) <stepping over handler when stopped at a breakpoint
12439         test>: Add a test axis for testing with a software watchpoint, and
12440         another for testing with the signal handler set to SIG_IGN.
12441         * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
12442         * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
12443
12444 2014-10-28  Pedro Alves  <palves@redhat.com>
12445
12446         PR gdb/17511
12447         * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
12448         * gdb.base/sigstep.exp (other_handler_location): New global.
12449         (advance): Support stepping into the signal handler, and running
12450         commands while in the handler.
12451         (in_handler_map): New global.
12452         (top level): In the advance test, add combinations for getting
12453         into the handler with stepping commands, and for running commands
12454         in the handler.  Add comment descripting the advancei tests.
12455
12456 2014-10-28  Pedro Alves  <palves@redhat.com>
12457
12458         * gdb.base/sigstep.exp: Use build_executable instead of
12459         prepare_for_testing.
12460         (top level): Move code that starts GDB, runs to main and creates a
12461         display to ...
12462         (restart): ... this new procedure.
12463         (top level): Move backtrace from signal handler test to ...
12464         (validate_backtrace): ... this new procedure.
12465         (advance, advancei): Rename parameter from 'i' to 'cmd'.  Use
12466         with_test_prefix.  Always restart GDB.
12467         (skip_to_handler): Rename parameter from 'i' to 'cmd'.  Use
12468         with_test_prefix.  Always restart GDB.  No need to delete
12469         breakpoints after the test.
12470         (test_skip_handler): Remove prefix parameter.
12471         (skip_over_handler, breakpoint_to_handler)
12472         (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
12473         parameter from 'i' to 'cmd'.  Use with_test_prefix.  Always
12474         restart GDB.  No need to delete breakpoints after the test.
12475         (top level): Use foreach to call the test procedures with
12476         different commands.
12477
12478 2014-10-28  Pedro Alves  <palves@redhat.com>
12479
12480         * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
12481         instead of GNATS numbers.
12482         * gdb.base/sigbpt.exp: Likewise.
12483         * gdb.base/siginfo.exp: Likewise.
12484         * gdb.base/sigstep.exp: Likewise.
12485
12486 2014-10-27  Pedro Alves  <palves@redhat.com>
12487
12488         * gdb.base/sigstep.c (dummy): New global.
12489         (main): Issue a couple writes to the new global.
12490         * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
12491         procedures.
12492         (skip_over_handler): Use test_skip_handler.
12493         (top level): Call skip_over_handler for stepi and nexti too.
12494         (breakpoint_over_handler): Use test_skip_handler.
12495         (top level): Call breakpoint_over_handler for stepi and nexti too.
12496
12497 2014-10-27  Yao Qi  <yao@codesourcery.com>
12498
12499         * gdb.trace/tfile.c (adjust_function_address)
12500         [__powerpc64__ && _CALL_ELF != 2]: Get function address from
12501         function descriptor.
12502
12503 2014-10-24  Don Breazeal  <donb@codesourcery.com>
12504
12505         * gdb.base/foll-fork.exp (test_follow_fork,
12506         catch_fork_child_follow): Check for updated fork messages emitted
12507         from infrun.c.
12508         * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
12509         vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
12510         vfork_and_exec_child_follow_through_step): Check for updated vfork
12511         messages emitted from infrun.c.
12512
12513 2014-10-24  Pedro Alves  <palves@redhat.com>
12514
12515         * gdb.base/corefile.exp: Remove references to ultrix.
12516         * gdb.base/interrupt.exp: Likewise.
12517         * gdb.base/whatis.exp: Likewise.
12518         * gdb.gdb/selftest.exp: Likewise.
12519         * gdb.threads/manythreads.exp: Likewise.
12520         * gdb.threads/print-threads.exp: Likewise.
12521         * gdb.threads/pthreads.exp:: Likewise.
12522         * gdb.threads/schedlock.exp: Likewise.
12523
12524 2014-10-24  Siva Chandra Reddy  <sivachandra@google.com>
12525
12526         * gdb.cp/non-trivial-retval.cc: Add a test case.
12527         * gdb.cp/non-trivial-retval.exp: Add a test.
12528
12529 2014-10-20  Yao Qi  <yao@codesourcery.com>
12530
12531         * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
12532         * gdb.python/py-objfile-script-gdb.py: New file.
12533         * gdb.python/py-objfile-script.exp: Update reference to
12534         py-objfile-script-gdb.py.in.  Use gdb_remote_donwload instead
12535         of remote_download.  Remove the dest file.
12536
12537 2014-10-20  Yao Qi  <yao@codesourcery.com>
12538
12539         * gdb.base/checkpoint.exp: Don't remove file copied on host.
12540         * gdb.base/step-line.exp: Likewise.
12541         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
12542         * gdb.dwarf2/dw2-basic.exp: Likewise.
12543         * gdb.dwarf2/dw2-compressed.exp: Likewise.
12544         * gdb.dwarf2/dw2-filename.exp: Likewise.
12545         * gdb.dwarf2/dw2-intercu.exp: Likewise.
12546         * gdb.dwarf2/dw2-intermix.exp: Likewise.
12547         * gdb.dwarf2/dw2-producer.exp: Likewise.
12548         * gdb.dwarf2/mac-fileno.exp: Likewise.
12549         * gdb.python/py-frame-args.exp: Likewise.
12550         * gdb.python/py-framefilter.exp: Likewise.
12551         * gdb.python/py-mi.exp: Likewise.
12552         * gdb.python/py-objfile-script.exp: Likewise
12553         * gdb.python/py-pp-integral.exp: Likewise.
12554         * gdb.python/py-pp-re-notag.exp: Likewise.
12555         * gdb.python/py-prettyprint.exp: Likewise.
12556         * gdb.python/py-section-script.exp: Likewise.
12557         * gdb.python/py-typeprint.exp: Likewise.
12558         * gdb.python/py-xmethods.exp: Likewise.
12559         * gdb.stabs/weird.exp: Likewise.
12560         * gdb.xml/tdesc-regs.exp: Likewise.
12561
12562 2014-10-18  Kwok Cheung Yeung  <kcy@codesourcery.com>
12563
12564         * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
12565         (out_cu): Use addr_len for the size of addresses.
12566         (out_line): Likewise.  Size DW_LNE_set_address instruction
12567         according to addr_len.
12568         * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
12569         (FUNC): Add START_INSNS to definition.
12570
12571 2014-10-18  Yao Qi  <yao@codesourcery.com>
12572
12573         * gdb.base/argv0-symlink.exp: Check argv[0] value if
12574         gdb_has_argv0 return true.
12575         * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
12576         check [target_info exists noargs], check [gdb_has_argv0]
12577         instead.
12578         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
12579         * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
12580         procedures.
12581
12582 2014-10-17  Doug Evans  <dje@google.com>
12583
12584         * gdb.python/py-events.exp: Update expected output for clear_objfiles
12585         event.
12586         * gdb.python/py-events.py: Add clear_objfiles event.
12587
12588 2014-10-17  Doug Evans  <dje@google.com>
12589
12590         * gdb.python/py-objfile.exp: Test progspace attribute.
12591
12592 2014-10-17  Luis Machado  <lgustavo@codesourcery.com>
12593
12594         * gdb.guile/scm-breakpoint.exp: Do not assume any
12595         directory separators when matching source file paths.
12596         * gdb.python/py-breakpoint.exp: Likewise.
12597         * gdb.reverse/break-precsave.exp: Likewise.
12598         * gdb.reverse/break-reverse.exp: Likewise.
12599         * gdb.reverse/consecutive-precsave.exp: Likewise.
12600         * gdb.reverse/finish-precsave.exp: Likewise.
12601         * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
12602         * gdb.reverse/finish-reverse.exp: Likewise.
12603         * gdb.reverse/i386-precsave.exp: Likewise.
12604         * gdb.reverse/i387-env-reverse.exp: Likewise.
12605         * gdb.reverse/i387-stack-reverse.exp: Likewise.
12606         * gdb.reverse/machinestate-precsave.exp: Likewise.
12607         * gdb.reverse/machinestate.exp: Likewise.
12608         * gdb.reverse/sigall-precsave.exp: Likewise.
12609         * gdb.reverse/solib-precsave.exp: Likewise.
12610         * gdb.reverse/step-precsave.exp: Likewise.
12611         * gdb.reverse/until-precsave.exp: Likewise.
12612         * gdb.reverse/watch-precsave.exp: Likewise.
12613         * gdb.reverse/watch-reverse.exp: Likewise.
12614
12615 2014-10-17  Yao Qi  <yao@codesourcery.com>
12616
12617         * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
12618         * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
12619
12620 2014-10-17  Pedro Alves  <palves@redhat.com>
12621
12622         PR gdb/17471
12623         * gdb.base/bg-execution-repeat.c: New file.
12624         * gdb.base/bg-execution-repeat.exp: New file.
12625
12626 2014-10-17  Pedro Alves  <palves@redhat.com>
12627
12628         PR gdb/17300
12629         * gdb.base/continue-all-already-running.c: New file.
12630         * gdb.base/continue-all-already-running.exp: New file.
12631
12632 2014-10-17  Pedro Alves  <palves@redhat.com>
12633
12634         PR gdb/17472
12635         * gdb.base/annota-input-while-running.c: New file.
12636         * gdb.base/annota-input-while-running.exp: New file.
12637
12638 2014-10-17  Pedro Alves  <palves@redhat.com>
12639
12640         * gdb.base/callfuncs.exp: emove references to osf.
12641         * gdb.base/sigall.exp: Likewise.
12642         * gdb.gdb/selftest.exp: Likewise.
12643         * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
12644         * gdb.mi/non-stop.c: Likewise.
12645         * gdb.mi/pthreads.c: Likewise.
12646         * gdb.reverse/sigall-precsave.exp: Likewise.
12647         * gdb.reverse/sigall-reverse.exp: Likewise.
12648         * gdb.threads/pthreads.c: Likewise.
12649         * gdb.threads/pthreads.exp: Likewise.
12650
12651 2014-10-17  Yao Qi  <yao@codesourcery.com>
12652
12653         * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
12654         check 'target_info exists noargs'.
12655         (test_command_prompt_position): Likewise.
12656         (progvar_simple_if_test): Don't check 'target_info exists noargs'.
12657         Remove "set args".
12658         (progvar_simple_while_test): Likewise.
12659         (progvar_complex_if_while_test): Likewise.
12660         (if_while_breakpoint_command_test): Likewise.
12661         (infrun_breakpoint_command_test): Likewise.
12662         (breakpoint_command_test): Likewise.
12663         (watchpoint_command_test): Likewise.
12664         (bp_deleted_in_command_test): Likewise.
12665         (temporary_breakpoint_commands): Likewise.
12666
12667 2014-10-16  Yao Qi  <yao@codesourcery.com>
12668
12669         * gdb.base/remotetimeout.exp: Remove noargs checking.
12670
12671 2014-10-15  Pedro Alves  <palves@redhat.com>
12672
12673         PR breakpoints/9649
12674         * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
12675         * gdb.base/breakpoint-in-ro-region.exp
12676         (probe_target_hardware_step): New procedure.
12677         (top level): Probe hardware stepping and hardware breakpoint
12678         support.  Test stepping through a read-only region, with both
12679         "breakpoint auto-hw" on and off and both "always-inserted" on and
12680         off.
12681
12682 2014-10-15  Iain Buclaw  <ibuclaw@gdcproject.org>
12683
12684         * gdb.dlang/demangle.exp: Update for demangling changes.
12685
12686 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12687
12688         * gdb.cp/non-trivial-retval.cc: Add new test cases.
12689         * gdb.cp/non-trivial-retval.exp: Add new tests.
12690
12691 2014-10-15  Siva Chandra Reddy  <sivachandra@google.com>
12692
12693         PR c++/13403
12694         PR c++/15154
12695         * gdb.cp/non-trivial-retval.cc: New file.
12696         * gdb.cp/non-trivial-retval.exp: New file.
12697
12698 2014-10-15  Yao Qi  <yao@codesourcery.com>
12699
12700         * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
12701         remote host.
12702
12703 2014-10-15  Yao Qi  <yao@codesourcery.com>
12704
12705         * gdb.python/py-symbol.exp: Match file base name if host is
12706         remote, otherwise match file name with dir name.
12707         * gdb.python/py-symtab.exp: Likewise.
12708         * gdb.python/python.exp: Likewise.
12709
12710 2014-10-15  Yao Qi  <yao@codesourcery.com>
12711
12712         * gdb.python/py-symbol.exp: Remove trailing ".*" in the
12713         pattern.
12714         * gdb.python/py-symtab.exp: Likewise.
12715         * gdb.python/python.exp: Remove trailing ".*".  Fix typo
12716         locationn.
12717
12718 2014-10-14  Joel Brobecker  <brobecker@adacore.com>
12719
12720         * gdb.ada/addr_arith: New testcase.
12721
12722 2014-10-14  Maciej W. Rozycki  <macro@codesourcery.com>
12723
12724         * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
12725         * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
12726         * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
12727         * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
12728
12729 2014-10-14  Sergio Durigan Junior  <sergiodj@redhat.com>
12730
12731         * gdb.arch/stap-eval-lang-ada.S: Likewise.
12732         * gdb.arch/stap-eval-lang-ada.c: Likewise.
12733         * gdb.arch/stap-eval-lang-ada.exp: New file.
12734
12735 2014-10-14  Yao Qi  <yao@codesourcery.com>
12736
12737         * gdb.mi/mi-var-child.c (nothing1): New function.
12738         (nothing2): New function.
12739         (do_children_tests): Set function pointers by nothing1 and
12740         nothing2.
12741         * gdb.mi/mi-var-child.exp: Step over new added statements.
12742         Update test to match the new output.
12743         * gdb.mi/var-cmd.c (nothing1): New function.
12744         (nothing2): New function.
12745         (do_children_tests): Set function pointers by  nothing1 and
12746         nothing2.
12747         * gdb.mi/mi-var-display.exp: Update test to match output.
12748         Step to the line specified by $line_dct_nothing.
12749         Increase the number of lines to step.
12750
12751 2014-10-14  Yao Qi  <yao@codesourcery.com>
12752
12753         * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
12754         tests.
12755         * gdb.mi/mi2-var-child.exp: Likewise.
12756
12757 2014-10-13  Doug Evans  <dje@google.com>
12758
12759         * gdb.python/py-objfile.exp: Change name of file name test.
12760
12761 2014-10-13  Doug Evans  <dje@google.com>
12762
12763         * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
12764         from the start of the CU.
12765
12766 2014-10-13  Jan Kratochvil  <jan.kratochvil@redhat.com>
12767             Yao Qi  <yao@codesourcery.com>
12768
12769         Fix "save breakpoints" for "catch" command.
12770         * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
12771         Remove -nonewline.  Match also the added "main" line.
12772
12773 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12774
12775         Fix "save breakpoints" for "disable $bpnum" command.
12776         * gdb.base/save-bp.c (main): Add label.
12777         * gdb.base/save-bp.exp: Add 8th disabled breakpoint.  Match it.
12778
12779 2014-10-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12780
12781         * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
12782
12783 2014-10-11  Yao Qi  <yao@codesourcery.com>
12784
12785         * gdb.server/server-kill.exp: Execute command
12786         "set remote trace-status-packet on" before "tstatus".
12787
12788 2014-10-11  Yao Qi  <yao@codesourcery.com>
12789
12790         * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
12791         (main): Call getppid.
12792         * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
12793         and continue to it.  Read variable "server_pid".
12794
12795 2014-10-11  Yao Qi  <yao@codesourcery.com>
12796
12797         * gdb.server/server-kill.exp: Remove "delete_breakpoints".
12798
12799 2014-10-11  Yao Qi  <yao@codesourcery.com>
12800
12801         * gdb.threads/thread-find.exp: Don't execute command
12802         "info threads".
12803         * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
12804         * gdb.threads/linux-dp.exp: Don't check the condition
12805         $threads_created equals to zero.
12806
12807 2014-10-10  Pedro Alves  <palves@redhat.com>
12808
12809         * gdb.base/bigcore.exp: Remove references to IRIX.
12810         * gdb.base/funcargs.exp: Likewise.
12811         * gdb.base/interrupt.exp: Likewise.
12812         * gdb.base/mips_pro.exp: Likewise.
12813         * gdb.base/nodebug.exp: Likewise.
12814         * gdb.base/setvar.exp: Likewise.
12815         * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
12816
12817 2014-10-10  Jan Kratochvil  <jan.kratochvil@redhat.com>
12818             Pedro Alves  <palves@redhat.com>
12819
12820         PR symtab/14466
12821         * gdb.base/vdso-warning.c: New file.
12822         * gdb.base/vdso-warning.exp: New file.
12823
12824 2014-10-02  Doug Evans  <dje@google.com>
12825
12826         * gdb.base/structs.c (main): Don't run forever.
12827
12828 2014-10-02  Pedro Alves  <palves@redhat.com>
12829
12830         * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
12831         (top level) <stop threads 1, stop threads 2>: Use it.
12832
12833 2014-10-02  Pedro Alves  <palves@redhat.com>
12834
12835         * gdb.threads/break-while-running.exp (test): Add new
12836         'update_thread_list' argument.  Skip "info threads" if false.
12837         (top level): Add new 'update_thread_list' axis.
12838
12839 2014-10-02  Pedro Alves  <palves@redhat.com>
12840
12841         PR breakpoints/17431
12842         * gdb.base/execl-update-breakpoints.c: New file.
12843         * gdb.base/execl-update-breakpoints.exp: New file.
12844
12845 2014-10-01  Pedro Alves  <palves@redhat.com>
12846
12847         * gdb.base/breakpoint-in-ro-region.c: New file.
12848         * gdb.base/breakpoint-in-ro-region.exp: New file.
12849
12850 2014-10-01  Simon Marchi  <simon.marchi@ericsson.com>
12851
12852         * gdb.mi/mi-exit-code.exp: New file.
12853         * gdb.mi/mi-exit-code.c: New file.
12854
12855 2014-09-30  Yao Qi  <yao@codesourcery.com>
12856
12857         * lib/prelink-support.exp (build_executable_own_libs): Error if
12858         the target isn't native.
12859
12860 2014-09-30  Yao Qi  <yao@codesourcery.com>
12861
12862         * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
12863         false.
12864
12865 2014-09-22  Pedro Alves  <palves@redhat.com>
12866
12867         * gdb.threads/break-while-running.exp: New file.
12868         * gdb.threads/break-while-running.c: New file.
12869
12870 2014-09-19  Yao Qi  <yao@codesourcery.com>
12871
12872         * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
12873         Invoke test.  Restart GDB with --readnow and invoke test again.
12874
12875 2014-09-19  Yao Qi  <yao@codesourcery.com>
12876
12877         * gdb.base/break-on-linker-gcd-function.exp: Move test into new
12878         proc set_breakpoint_on_gcd_function.  Invoke
12879         set_breakpoint_on_gcd_function.  Restart GDB with --readnow and
12880         invoke set_breakpoint_on_gcd_function again.
12881
12882 2014-09-18  Doug Evans  <dje@google.com>
12883
12884         * gdb.dwarf2/symtab-producer.exp: New file.
12885
12886 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12887
12888         * gdb.base/global-var-nested-by-dso-solib1.c: New file.
12889         * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
12890         * gdb.base/global-var-nested-by-dso.c: Likewise.
12891         * gdb.base/global-var-nested-by-dso.exp: Likewise.
12892
12893 2014-09-16  Sergio Durigan Junior  <sergiodj@redhat.com>
12894             Pedro Alves  <palves@redhat.com>
12895
12896         * gdb.base/watch-bitfields.exp: Pass string other than test file
12897         name to prepare_for_testing.
12898         (watch): New procedure.
12899         (expect_watchpoint): Use with_test_prefix.
12900         (top level): Factor out tests to ...
12901         (test_watch_location, test_regular_watch): ... these new
12902         procedures, and use with_test_prefix and gdb_continue_to_end.
12903
12904 2014-09-16  Patrick Palka  <patrick@parcs.ath.cx>
12905
12906         PR breakpoints/12526
12907         * gdb.base/watch-bitfields.exp: New file.
12908         * gdb.base/watch-bitfields.c: New file.
12909
12910 2014-09-16  Pedro Alves  <palves@redhat.com>
12911
12912         * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
12913         software and hardware addresses, not software address against
12914         itself.
12915
12916 2014-09-16  Pedro Alves  <palves@redhat.com>
12917
12918         * gdb.base/watchpoint-stops-at-right-insn.c: New file.
12919         * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
12920
12921 2014-09-16  Pedro Alves  <palves@redhat.com>
12922
12923         * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
12924         files.
12925         * gdb.base/a2-run.exp: Remove all code guarded by istarget
12926         "*-*-vxworks*" throughout.
12927         * gdb.base/break.exp: Likewise.
12928         * gdb.base/default.exp: Likewise.
12929         * gdb.base/scope.exp: Likewise.
12930         * gdb.base/sepdebug.exp: Likewise.
12931         * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
12932         throughout.
12933         * gdb.base/run.c: Likewise.
12934         * gdb.base/sepdebug.c: Likewise.
12935         * gdb.hp/gdb.aCC/run.c: Likewise.
12936         * gdb.reverse/until-reverse.c: Likewise.
12937         * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
12938
12939 2014-09-16  Yao Qi  <yao@codesourcery.com>
12940
12941         * boards/local-remote-host-native.exp: New file.
12942
12943 2014-09-14  Doug Evans  <xdje42@gmail.com>
12944
12945         * gdb.threads/queue-signal.c (thread_count): New variable.
12946         (thread_count_mutex, thread_count_condvar): New variables.
12947         (incr_thread_count, wait_all_threads_running): New functions.
12948         (main): Wait for all threads to be in their thread functions.
12949
12950 2014-09-13  Doug Evans  <xdje42@gmail.com>
12951
12952         * gdb.threads/queue-signal.c: New file.
12953         * gdb.threads/queue-signal.exp: New file.
12954
12955 2014-09-13  Doug Evans  <xdje42@gmail.com>
12956
12957         * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
12958         be consistent with what default_gdb_init uses.
12959         (with_gdb_prompt): Change form of PROMPT argument from a regexp to
12960         the plain text of the prompt.  Add some logging printfs.
12961         * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
12962
12963 2014-09-12  Pedro Alves  <palves@redhat.com>
12964
12965         * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
12966         gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
12967         * gdb.arch/i386-size-overlap.exp: Likewise.
12968         * gdb.arch/i386-size.exp: Likewise.
12969         * gdb.arch/i386-unwind.exp: Likewise.
12970         * gdb.base/a2-run.exp: Likewise.
12971         * gdb.base/break.exp: Likewise.
12972         * gdb.base/charset.exp: Likewise.
12973         * gdb.base/chng-syms.exp: Likewise.
12974         * gdb.base/commands.exp: Likewise.
12975         * gdb.base/dbx.exp: Likewise.
12976         * gdb.base/find.exp: Likewise.
12977         * gdb.base/funcargs.exp: Likewise.
12978         * gdb.base/jit-simple.exp: Likewise.
12979         * gdb.base/reread.exp: Likewise.
12980         * gdb.base/sepdebug.exp: Likewise.
12981         * gdb.base/step-bt.exp: Likewise.
12982         * gdb.cp/mb-inline.exp: Likewise.
12983         * gdb.cp/mb-templates.exp: Likewise.
12984         * gdb.objc/basicclass.exp: Likewise.
12985         * gdb.threads/killed.exp: Likewise.
12986
12987 2014-09-12  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
12988
12989         PR tdep/17379
12990         * gdb.arch/powerpc-stackless.S: New file.
12991         * gdb.arch/powerpc-stackless.exp: New file.
12992
12993 2014-09-12  Jan Kratochvil  <jan.kratochvil@redhat.com>
12994
12995         * gdb.base/attach.c: Include unistd.h.
12996         (main): Call alarm.  Add label postloop.
12997         * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
12998         gdb_breakpoint, gdb_continue_to_breakpoint.
12999         (test_command_line_attach_run): Kill ${testpid} in one exit path.
13000
13001 2014-09-11  Pedro Alves  <palves@redhat.com>
13002
13003         PR gdb/17347
13004         * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
13005         * gdb.base/attach.exp (test_command_line_attach_run): New
13006         procedure.
13007         (top level): Call it.
13008
13009 2014-09-11  Pedro Alves  <palves@redhat.com>
13010
13011         * lib/gdb.exp (spawn_wait_for_attach): New procedure.
13012         * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
13013         (do_command_attach_tests): Use spawn_wait_for_attach.
13014         * gdb.base/solib-overlap.exp: Likewise.
13015         * gdb.multi/multi-attach.exp: Likewise.
13016         * gdb.python/py-prompt.exp: Likewise.
13017         * gdb.python/py-sync-interp.exp: Likewise.
13018         * gdb.server/ext-attach.exp: Likewise.
13019
13020 2014-09-11  Gabriel Krisman Bertazi  <gabriel@krisman.be>
13021
13022         * gdb.fortran/array-element.exp: Remove unexpected "continue"
13023         command in testcase.  Simplify testcase.
13024
13025 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13026
13027         * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
13028
13029 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13030
13031         * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
13032
13033 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13034
13035         * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
13036
13037 2014-09-10  Joel Brobecker  <brobecker@adacore.com>
13038
13039         * gdb.dwarf2/dynarr-ptr.c: New file.
13040         * gdb.dwarf2/dynarr-ptr.exp: New file.
13041
13042 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13043
13044         * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
13045         of 30 rather than hardcoding 120 for a slow test case.  Take the
13046         `gdb,timeout' target setting into account for this calculation.
13047         Don't extend the timeout for the test cases that don't need it.
13048
13049 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13050
13051         * gdb.reverse/sigall-reverse.exp: Increase the timeout by
13052         a factor of 2 for a slow test case.  Take the `gdb,timeout'
13053         target setting into account for this calculation.
13054         * gdb.reverse/until-precsave.exp: Increase the timeout by
13055         a factor of 15 and 3 respectively rather than adding 120
13056         for a pair of slow test cases.  Take the `gdb,timeout'
13057         target setting into account for this calculation.
13058
13059 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13060
13061         * lib/gdb.exp (gdb_test_multiple): Remove code to select the
13062         timeout, don't pass one down to gdb_expect.
13063         (gdb_expect): Rework timeout selection.
13064
13065 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13066
13067         * lib/gdbserver-support.exp (gdbserver_start): Throw an error
13068         exception on timeout.
13069         (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
13070         (gdbserver_start_extended): Catch any `gdbserver_start' error
13071         exceptions.
13072         (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
13073         * lib/mi-support.exp (mi_gdb_target_load): Catch any
13074         `gdbserver_gdb_load' error exceptions.
13075
13076 2014-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
13077
13078         * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
13079         120 on waiting for the TCP socket to open.
13080
13081 2014-09-09  Doug Evans  <xdje42@gmail.com>
13082
13083         * gdb.base/default.exp (show_conv_list): Add _caller_is,
13084         _caller_matches, _any_caller_is, _any_caller_matches.
13085
13086 2014-09-09  Doug Evans  <xdje42@gmail.com>
13087
13088         * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
13089
13090 2014-09-09  Yao Qi  <yao@codesourcery.com>
13091
13092         * gdb.mi/mi-var-display.exp: Set print symbol off.
13093
13094 2014-09-07  Gabriel Krisman Bertazi  <gabriel@krisman.be>
13095
13096         PR gdb/17035
13097         * gdb.base/commands.exp: Add tests to verify user-defined
13098         commands with empty bodies.
13099         * gdb.python/py-cmd.exp: Test that we don't show user-defined
13100         python commands in `show user command`.
13101         * gdb.python/scm-cmd.exp: Test that we don't show user-defined
13102         scheme commands in `show user command`.
13103
13104 2014-09-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
13105
13106         PR python/17355
13107         * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
13108         * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
13109         * gdb.python/py-framefilter-invalidarg.exp: New file.
13110         * gdb.python/py-framefilter-invalidarg.py: New file.
13111
13112 2014-09-06  Doug Evans  <xdje42@gmail.com>
13113
13114         PR 15276
13115         * gdb.python/py-caller-is.c: New file.
13116         * gdb.python/py-caller-is.exp: New file.
13117
13118 2014-09-05  Sergio Durigan Junior  <sergiodj@redhat.com>
13119
13120         PR gdb/17235
13121         * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
13122         * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
13123
13124 2014-09-04  Sergio Durigan Junior  <sergiodj@redhat.com>
13125
13126         PR fortran/17237
13127         * gdb.fortran/print-formatted.exp: New file.
13128         * gdb.fortran/print-formatted.f90: Likewise.
13129
13130 2014-09-03  Sasha Smundak  <asmundak@google.com>
13131
13132         * gdb.python/py-frame.exp: Test Frame.read_register.
13133
13134 2014-09-03  Sergio Durigan Junior  <sergiodj@redhat.com>
13135
13136         PR python/16699
13137         * gdb.python/py-completion.exp: New file.
13138         * gdb.python/py-completion.py: Likewise.
13139
13140 2014-08-28  Doug Evans  <dje@google.com>
13141
13142         * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
13143         eax,etc. are live with values set by gdb and thus the compiler can't
13144         use them.
13145         * gdb.arch/i386-pseudo.c (main): Ditto.
13146
13147 2014-08-27  Doug Evans  <dje@google.com>
13148
13149         * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
13150
13151 2014-08-25  Doug Evans  <dje@google.com>
13152
13153         * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
13154         (main): Ditto.
13155
13156 2014-08-25  Doug Evans  <dje@google.com>
13157
13158         * gdb.threads/thread-execl.exp: #include <stdio.h>.
13159
13160 2014-08-24  Yao Qi  <yao@codesourcery.com>
13161
13162         * gdb.guile/scm-value.exp (test_lazy_strings): Set print
13163         symbol off.
13164         * gdb.python/py-value.exp (test_lazy_strings): Likewise.
13165
13166 2014-08-22  Doug Evans  <dje@google.com>
13167
13168         PR 17276
13169         * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
13170         * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
13171         * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
13172
13173 2014-08-22  Yao Qi  <yao@codesourcery.com>
13174
13175         * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
13176         * gdb.python/py-finish-breakpoint2.exp: Likewise.
13177         * gdb.python/python.exp: Likewise.  Use .py file on the host
13178         instead of the build.
13179
13180 2014-08-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
13181
13182         * gdb.threads/gcore-stale-thread.c: New file.
13183         * gdb.threads/gcore-stale-thread.exp: New file.
13184
13185 2014-08-21  Pedro Alves  <palves@redhat.com>
13186
13187         * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
13188         * gdb.base/gcore-relro-pie.exp: Likewise.
13189         * gdb.base/gcore-relro.exp: Likewise.
13190         * gdb.base/gcore.exp: Likewise.
13191         * gdb.base/print-symbol-loading.exp: Likewise.
13192         * gdb.threads/gcore-thread.exp: Likewise.
13193         * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
13194
13195 2014-08-20  Pedro Alves  <palves@redhat.com>
13196             Jan Kratochvil  <jan.kratochvil@redhat.com>
13197
13198         * Makefile.in (EXTRA_RULES, CC): New variables, get from
13199         configure.
13200         (EXPECT): Handle READ1 being set.
13201         (all): Depend on EXTRA_RULES.
13202         (check-read1, expect-read1, read1.so, read1): New rules.
13203         * README (Testsuite Parameters): Document the READ1 make variable.
13204         (Race detection): New section.
13205         * configure: Regenerate.
13206         * configure.ac: If build==host==target, and running under a
13207         GNU/glibc system, add read1 to the extra Makefile rules.
13208         (EXTRA_RULES): AC_SUBST it.
13209         * lib/read1.c: New file.
13210
13211 2014-08-20  Joel Brobecker  <brobecker@adacore.com>
13212
13213         * gdb.dwarf2/data-loc.exp: Add additional tests exercising
13214         the handling of variables declared as a typedef to an array
13215         which a DW_AT_data_location attribute.
13216
13217 2014-08-19  Andrew Burgess  <aburgess@broadcom.com>
13218             Pedro Alves  <palves@redhat.com>
13219
13220         PR symtab/14604
13221         PR symtab/14605
13222         * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
13223         gdb_test.
13224
13225 2014-08-19  Pedro Alves  <palves@redhat.com>
13226
13227         * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
13228
13229 2014-08-19  Yao Qi  <yao@codesourcery.com>
13230
13231         * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
13232         right line.
13233
13234 2014-08-18  David Blaikie  <dblaikie@gmail.com>
13235
13236         * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
13237
13238 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
13239
13240         * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
13241         attribute in array range.
13242
13243 2014-08-18  Joel Brobecker  <brobecker@adacore.com>
13244
13245         * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
13246
13247 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
13248
13249         PR c++/17132
13250         * gdb.cp/pr17132.cc: New file.
13251         * gdb.cp/pr17132.exp: New file.
13252
13253 2014-08-15  Siva Chandra Reddy  <sivachandra@google.com>
13254
13255         * gdb.python/py-xmethods.py (A_getarrayind)
13256         (E_method_char_worker.__call__, E_method_int_worker.__call__):
13257         Use 'print' with function call syntax.
13258         (E_method_matcher.match): Fix tab vs space indentation mixup.
13259
13260 2014-08-15  Yao Qi  <yao@codesourcery.com>
13261
13262         * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
13263         false.
13264
13265 2014-08-15  Yao Qi  <yao@codesourcery.com>
13266
13267         * gdb.cp/casts.exp: Set print symbol off.
13268         * gdb.cp/class2.exp: Likewise.
13269         * gdb.cp/overload.exp: Likewise.
13270         * gdb.cp/templates.exp: Likewise.
13271
13272 2014-08-11  Doug Evans  <dje@google.com>
13273
13274         * gdb.base/print-symbol-loading.exp (test_load_core): Update.
13275         (test_load_shlib): Update.
13276
13277 2014-08-09  Yao Qi  <yao@codesourcery.com>
13278
13279         * gdb.base/display.exp: Invoke is_address_zero_readable.
13280         * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
13281         * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
13282         * gdb.base/hbreak-unmapped.exp: Return if
13283         is_address_zero_readable returns true.
13284         * gdb.base/signest.exp: Likewise.
13285         * gdb.base/signull.exp: Likewise.
13286         * gdb.base/sigbpt.exp: Likewise.
13287         * gdb.guile/scm-disasm.exp: Do the test if
13288         is_address_zero_readable returns false.
13289         * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
13290         * gdb.python/py-arch.exp: Likewise.
13291         * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
13292         * lib/gdb.exp (is_address_zero_readable): New proc.
13293
13294 2014-08-09  Yao Qi  <yao@codesourcery.com>
13295
13296         PR testsuite/13443
13297         * gdb.mi/mi-var-display.exp: Make test messages unique.
13298
13299 2014-08-04  Tom Tromey  <tromey@redhat.com>
13300
13301         * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
13302         target 0".
13303
13304 2014-08-04  Tom Tromey  <tromey@redhat.com>
13305
13306         * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
13307         "target_resume".
13308
13309 2014-08-01  Joel Brobecker  <brobecker@adacore.com>
13310
13311         * gdb.base/vla-datatypes.c (vla_factory): Add new variable
13312         inner_vla_struct_object_size.
13313         * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
13314         as xfail.
13315
13316 2014-07-30  Pedro Alves  <palves@redhat.com>
13317
13318         * gdb.threads/signal-command-handle-nopass.exp (test): Add
13319         comment.
13320
13321 2014-07-29  Yao Qi  <yao@codesourcery.com>
13322
13323         PR gdb/17206
13324         * gdb.base/until-nodebug.exp: New.
13325
13326 2014-07-28  Doug Evans  <xdje42@gmail.com>
13327
13328         PR guile/17203
13329         * gdb.guile/scm-parameter.exp: Add tests for trying to create
13330         previously existing parameter, and previously ambiguously spelled
13331         parameter.
13332
13333 2014-07-28  Will Newton  <will.newton@linaro.org>
13334
13335         * gdb.base/varargs.exp: Remove KFAILs for ARM.
13336
13337 2014-07-26  Ludovic Courtès  <ludo@gnu.org>
13338             Doug Evans  <xdje42@gmail.com>
13339
13340         PR guile/17146
13341         * gdb.guile/types-module.exp: Add tests for wrong type arguments.
13342
13343 2014-07-25  Pedro Alves  <palves@redhat.com>
13344
13345         * gdb.threads/signal-command-handle-nopass.c: New file.
13346         * gdb.threads/signal-command-handle-nopass.exp: New file.
13347         * gdb.threads/signal-command-multiple-signals-pending.c: New file.
13348         * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
13349         * gdb.threads/signal-delivered-right-thread.c: New file.
13350         * gdb.threads/signal-delivered-right-thread.exp: New file.
13351
13352 2014-07-25  Pedro Alves  <palves@redhat.com>
13353
13354         * gdb.base/double-prompt-target-event-error.exp
13355         (cancel_pagination_in_target_event): Remove '-notransfer <return>'
13356         match.
13357         (cancel_pagination_in_target_event): Rework double prompt
13358         detection.
13359         * gdb.base/paginate-after-ctrl-c-running.exp
13360         (test_ctrlc_while_target_running_paginates): Remove '-notransfer
13361         <return>' match.
13362         * gdb.base/paginate-bg-execution.exp
13363         (test_bg_execution_pagination_return)
13364         (test_bg_execution_pagination_cancel): Remove '-notransfer
13365         <return>' matches.
13366         * gdb.base/paginate-execution-startup.exp
13367         (test_fg_execution_pagination_return)
13368         (test_fg_execution_pagination_cancel): Remove '-notransfer
13369         <return>' matches.
13370         * gdb.base/paginate-inferior-exit.exp
13371         (test_paginate_inferior_exited): Remove '-notransfer <return>'
13372         match.
13373         * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
13374         * lib/gdb.exp (pagination_prompt): Run text through
13375         string_to_regexp.
13376         (gdb_test_multiple): Match $pagination_prompt instead of
13377         "<return>".
13378         (string_to_regexp): Move to lib/gdb-utils.exp.
13379
13380 2014-07-22  Jan Kratochvil  <jan.kratochvil@redhat.com>
13381
13382         * gdb.arch/amd64-entry-value-paramref.S: New file.
13383         * gdb.arch/amd64-entry-value-paramref.cc: New file.
13384         * gdb.arch/amd64-entry-value-paramref.exp: New file.
13385         * gdb.arch/amd64-optimout-repeat.S: New file.
13386         * gdb.arch/amd64-optimout-repeat.c: New file.
13387         * gdb.arch/amd64-optimout-repeat.exp: New file.
13388
13389 2014-07-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
13390
13391         PR gdb/17170
13392         * gdb.base/statistics.exp: New file.
13393
13394 2014-07-17  Doug Evans  <dje@google.com>
13395
13396         PR gdb/17170
13397         * gdb.base/maint.exp: Update testing of per-command stats.
13398
13399 2014-07-16  Pedro Alves  <palves@redhat.com>
13400
13401         * gdb.trace/tfile.c: Include unistd.h and stdint.h.
13402         (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
13403         (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
13404         (tfile_write_buf): New functions.
13405         (add_memory_block): Rewrite using the above.
13406         (adjust_function_address): New function.
13407         (FUNCTION_ADDRESS): New macro.
13408         (write_basic_trace_file): Remove short_x local, and use
13409         tfile_write_16. Change type of func_addr local to unsigned long
13410         long.  Use FUNCTION_ADDRESS instead of handling the Thumb bit
13411         here.  Cast argument of add_memory_block to char pointer.
13412         (write_error_trace_file): Avoid alloca.  Use FUNCTION_ADDRESS.
13413         (main): Remove parameters.
13414         * gdb.trace/tfile.exp: Remove nowarnings.
13415
13416 2014-07-15  Simon Marchi  <simon.marchi@ericsson.com>
13417
13418         * gdb.base/debug-expr.exp: Test string evaluation with
13419         "debug expression" on.
13420
13421 2014-07-15  Pedro Alves  <palves@redhat.com>
13422
13423         * gdb.base/reread.exp: Use clean_restart.
13424
13425 2014-07-15  Pierre Langlois  <pierre.langlois@embecosm.com>
13426
13427         * gdb.arch/avr-flash-qualifer.c: New.
13428         * gdb.arch/avr-flash-qualifer.exp: New.
13429
13430 2014-07-14  Pedro Alves  <palves@redhat.com>
13431
13432         * gdb.base/paginate-after-ctrl-c-running.c: New file.
13433         * gdb.base/paginate-after-ctrl-c-running.exp: New file.
13434
13435 2014-07-14  Pedro Alves  <palves@redhat.com>
13436
13437         * gdb.base/double-prompt-target-event-error.c: New file.
13438         * gdb.base/double-prompt-target-event-error.exp: New file.
13439
13440 2014-07-14  Pedro Alves  <palves@redhat.com>
13441
13442         PR gdb/17072
13443         * gdb.base/paginate-inferior-exit.c: New file.
13444         * gdb.base/paginate-inferior-exit.exp: New file.
13445
13446 2014-07-14  Pedro Alves  <palves@redhat.com>
13447
13448         PR gdb/17072
13449         * gdb.base/paginate-bg-execution.c: New file.
13450         * gdb.base/paginate-bg-execution.exp: New file.
13451
13452 2014-07-14  Pedro Alves  <palves@redhat.com>
13453
13454         PR gdb/17072
13455         * gdb.base/paginate-execution-startup.c: New file.
13456         * gdb.base/paginate-execution-startup.exp: New file.
13457         * lib/gdb.exp (pagination_prompt): New global.
13458         (default_gdb_spawn): New procedure, factored out from
13459         default_gdb_spawn.
13460         (default_gdb_start): Adjust to call default_gdb_spawn.
13461         (gdb_spawn): New procedure.
13462
13463 2014-07-14  Pedro Alves  <palves@redhat.com>
13464
13465         * lib/gdb.exp (gdb_assert): New procedure.
13466         * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
13467
13468 2014-07-14  Pedro Alves  <palves@redhat.com>
13469
13470         * gdb.base/execution-termios.c: New file.
13471         * gdb.base/execution-termios.exp: New file.
13472
13473 2014-07-14  Tom Tromey  <tromey@redhat.com>
13474
13475         * gdb.cp/vla-cxx.cc: New file.
13476         * gdb.cp/vla-cxx.exp: New file.
13477
13478 2014-07-14  Tom Tromey  <tromey@redhat.com>
13479
13480         * gdb.reverse/rerun-prec.c: New file.
13481         * gdb.reverse/rerun-prec.exp: New file.
13482
13483 2014-07-12  Maciej W. Rozycki  <macro@mips.com>
13484             Maciej W. Rozycki  <macro@codesourcery.com>
13485
13486         * lib/gdb-utils.exp: New file.
13487         * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
13488         inline `gdb_init_command' processing.
13489         (gdb_start_cmd): Likewise.
13490         * lib/mi-support.exp (mi_run_cmd): Likewise.
13491         * README: Document `gdb_init_command' and `gdb_init_commands'.
13492
13493 2014-07-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13494
13495         Fix false FAIL running under a very long directory name.
13496         * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
13497         and "set print elements 10000".  Twice.
13498
13499 2014-07-11  Yao Qi  <yao@codesourcery.com>
13500
13501         * gdb.base/exprs.exp: "set print symbol off".
13502
13503 2014-07-11  Pedro Alves  <palves@redhat.com>
13504
13505         * gdb.threads/kill.c: New file.
13506         * gdb.threads/kill.exp: New file.
13507
13508 2014-07-10  Yao Qi  <yao@codesourcery.com>
13509
13510         * gdb.trace/tfile.c (write_basic_trace_file)
13511         [__thumb__||__thumb2__]: Clear the Thumb bit of the function
13512         address written to trace file.
13513
13514 2014-07-09  Pedro Alves  <palves@redhat.com>
13515
13516         * gdb.base/attach-wait-input.exp: New file.
13517         * gdb.base/attach-wait-input.c: New file.
13518
13519 2014-07-09  Andrew Burgess  <andrew.burgess@embecosm.com>
13520
13521         * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
13522         setting up test structures.
13523         (main): Call new test function.
13524         * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
13525         test function, continue into test function and walk test
13526         structures.
13527
13528 2014-07-02  Yao Qi  <yao@codesourcery.com>
13529
13530         * gdb.trace/entry-values.c: Define labels 'foo_start' and
13531         'bar_start' at the beginning of functions 'foo' and 'bar'
13532         respectively.
13533         * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
13534         instead of 'foo' and 'bar'.
13535
13536 2014-07-08  Markus Metzger  <markus.t.metzger@intel.com>
13537
13538         * gdb.btrace/segv.exp: New.
13539         * gdb.btrace/segv.c: New.
13540
13541 2014-07-02  Luis Machado  <lgustavo@codesourcery.com>
13542
13543         * gdb.trace/entry-values.exp: Handle powerpc-specific branch
13544         instruction.
13545
13546 2014-06-30  Mark Wielaard  <mjw@redhat.com>
13547
13548         * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
13549         vulture, vilify, villar): New volatile array constants.
13550         (vindictive, vegetation): New const volatile array constants.
13551         * gdb.base/volatile.exp: Test volatile and const volatile array
13552         types.
13553
13554 2014-06-30  Andreas Arnez  <arnez@linux.vnet.ibm.com>
13555
13556         * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
13557         target lacks support for awatch, rwatch, or hbreak.
13558
13559 2014-06-27  Yao Qi  <yao@codesourcery.com>
13560
13561         * gdb.multi/dummy-frame-restore.exp: New.
13562         * gdb.multi/dummy-frame-restore.c: New.
13563
13564 2014-06-25  Markus Metzger  <markus.t.metzger@intel.com>
13565
13566         * gdb.btrace/gcore.exp: New.
13567
13568 2014-06-23  Pedro Alves  <palves@redhat.com>
13569
13570         * gdb.base/watchpoint-reuse-slot.c: New file.
13571         * gdb.base/watchpoint-reuse-slot.exp: New file.
13572
13573 2014-06-23  Siva Chandra Reddy  <sivachandra@google.com>
13574
13575         * gdb.python/py-xmethods.exp: Use "progspace" instead of the
13576         progspace's filename in 'info', 'enable' and 'disable' command
13577         tests.
13578
13579 2014-06-23  Jan Kratochvil  <jan.kratochvil@redhat.com>
13580
13581         * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
13582         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
13583         * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
13584
13585 2014-06-20  Gary Benson  <gbenson@redhat.com>
13586
13587         * gdb.arch/i386-avx.exp: Fix include file location.
13588         * gdb.arch/i386-sse.exp: Likewise.
13589
13590 2014-06-19  Iain Buclaw  <ibuclaw@gdcproject.org>
13591
13592         * gdb.dlang/expression.exp: New file.
13593
13594 2014-06-19  Pedro Alves  <palves@redhat.com>
13595
13596         * gdb.threads/thread-execl.exp (do_test): New procedure, factored
13597         out from ...
13598         (top level): ... here.  Iterate running tests under different
13599         scheduler-locking settings.
13600
13601 2014-06-18  Luis Machado  <lgustavo@codesourcery.com>
13602
13603         * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
13604         to DW_FORM_addr and use non-zero addresses.
13605
13606 2014-06-18  Siva Chandra Reddy  <sivachandra@google.com>
13607
13608         PR gdb/17017
13609         * gdb.python/py-xmethods.cc: Add global function call counters and
13610         increment them in their respective functions.  Remove "cout"
13611         statements.
13612         * gdb.python/py-xmethods.exp: Make tests check the global function
13613         call counters instead of depending on inferior IO.
13614
13615 2014-06-18  Don Breazeal  <donb@codesourcery.com>
13616
13617         * gdb.base/foll-fork.exp (default_fork_parent_follow):
13618         Deleted procedure.
13619         (explicit_fork_parent_follow): Deleted procedure.
13620         (explicit_fork_child_follow): Deleted procedure.
13621         (test_follow_fork): New procedure.
13622         (do_fork_tests): Replace calls to deleted procedures with
13623         calls to test_follow_fork and reset GDB for subsequent
13624         procedure calls.
13625
13626 2014-06-17  Yao Qi  <yao@codesourcery.com>
13627
13628         * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
13629         CP1252.
13630
13631 2014-06-17  Luis Machado  <lgustavo@codesourcery.com>
13632
13633         * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
13634         Initialize ptr and S explicitly.
13635         (skip_type_update_when_not_use_rtti_test): Likewise.
13636
13637 2014-06-16  Keith Seitz  <keiths@redhat.com>
13638
13639         PR mi/15863
13640         * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
13641         the inferior is started.
13642
13643 2014-06-16  Pedro Alves  <palves@redhat.com>
13644
13645         * gdb.base/break-main-file-remove-fail.c: New file.
13646         * gdb.base/break-main-file-remove-fail.exp: New file.
13647         * gdb.base/break-unload-file.exp: Use build_executable instead of
13648         prepare_for_testing.
13649         (test_break): New parameter "initial_load".  Handle it.
13650         (top level): Add initial_load cmdline/file axis.
13651
13652 2014-06-12  Tom Tromey  <tromey@redhat.com>
13653
13654         * gdb.base/completion.exp: Don't use directory name in test.
13655
13656 2014-06-09  Gary Benson  <gbenson@redhat.com>
13657
13658         * gdb.base/sigall.c [Functions to send signals]: Reorder to
13659         separate the always-available ANSI-standard signals from the
13660         signals that require checking.
13661         (main): Likewise.
13662         * gdb.reverse/sigall-reverse.c [Functions to send signals]:
13663         Likewise.
13664         (main): Likewise.
13665
13666 2014-06-07  Keith Seitz  <keiths@redhat.com>
13667
13668         Revert:
13669         PR c++/16253
13670         * gdb.cp/var-tag.cc: New file.
13671         * gdb.cp/var-tag.exp: New file.
13672         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
13673         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
13674         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
13675         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
13676
13677 2014-06-06  Doug Evans  <xdje42@gmail.com>
13678
13679         * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
13680
13681 2014-06-06  Pedro Alves  <palves@redhat.com>
13682
13683         * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
13684         in target debug output instead of looking at RSP packets,
13685         disabling the test on any target that uses hardware stepping.
13686         Update comments.
13687
13688 2014-06-06  Pedro Alves  <palves@redhat.com>
13689
13690         * gdb.base/break-unload-file.exp: Fix typo.
13691
13692 2014-06-06  Yao Qi  <yao@codesourcery.com>
13693
13694         * gdb.base/jit.exp (one_jit_test): Restrict the pattern
13695         from "jit_function" to "^jit_function".
13696
13697 2014-06-06  Yao Qi  <yao@codesourcery.com>
13698
13699         * gdb.base/async.c (foo): Add one statement.
13700         * gdb.base/async.exp: Get the next instruction address and
13701         match the output of "nexti" by instruction address.  Match
13702         the hex address in the output of "finish".
13703
13704 2014-06-06  Gary Benson  <gbenson@redhat.com>
13705
13706         * gdb.base/call-signals.c: Remove preprocessor conditionals
13707         for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
13708         SIGSEGV and SIGTERM.
13709         * gdb.base/sigall.c: Likewise.
13710         * gdb.base/unwindonsignal.c: Likewise.
13711         * gdb.reverse/sigall-reverse.c: Likewise.
13712
13713 2014-06-06  Yao Qi  <yao@codesourcery.com>
13714
13715         * gdb.base/hbreak-unmapped.exp: Read memory at address 0.  If
13716         readable, skip the test.
13717
13718 2014-06-06  Yao Qi  <yao@codesourcery.com>
13719
13720         * gdb.threads/staticthreads.c (thread_function): Move the line
13721         setting breakpoint on forward.
13722         * gdb.threads/staticthreads.exp: Update comments.
13723
13724 2014-06-05  Ludovic Courtès  <ludo@gnu.org>
13725
13726         * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
13727         "history-append! type error".
13728
13729 2014-06-05  Simon Marchi  <simon.marchi@ericsson.com>
13730
13731         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
13732         erroneous dprintf expected input.
13733
13734 2014-06-04  Doug Evans  <xdje42@gmail.com>
13735
13736         * gdb.guile/scm-generics.exp: Delete.
13737
13738 2014-06-04  Doug Evans  <xdje42@gmail.com>
13739
13740         * gdb.guile/scm-breakpoint.exp: Update.
13741         Add tests for breakpoint registration.
13742
13743 2014-06-04  Tom Tromey  <tromey@redhat.com>
13744
13745         * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
13746         VLA-in-union.
13747         * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
13748         inner_vla_struct, vla_union types.  Initialize objects of those
13749         types and compute their sizes.
13750
13751 2014-06-04  Nathan Sidwell  <nathan@codesourcery.com>
13752             Hui Zhu  <hui@codesourcery.com>
13753
13754         * gdb.base/fileio.exp: Add test for shell not available as well as
13755         available.
13756         * gdb.base/fileio.c (test_system): Check for shell twice.
13757
13758 2014-06-04  Yao Qi  <yao@codesourcery.com>
13759
13760         * gdb.base/auto-connect-native-target.exp: Remove redundant
13761         space from the regexp pattern.
13762
13763 2014-06-04  Yao Qi  <yao@codesourcery.com>
13764
13765         * gdb.base/default.exp: Replace "child" with "native" in
13766         regexp pattern.
13767
13768 2014-06-03  Siva Chandra Reddy  <sivachandra@google.com>
13769
13770         * gdb.python/py-xmethods.cc: New testcase to test xmethods.
13771         * gdb.python/py-xmethods.exp: New tests to test xmethods.
13772         * gdb.python/py-xmethods.py: Python script supporting the
13773         new testcase and tests.
13774
13775 2014-06-03  Joel Brobecker  <brobecker@adacore.com>
13776             Pedro Alves  <palves@redhat.com>
13777
13778         PR breakpoints/17000
13779         * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
13780         * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
13781
13782 2014-06-03  Brad Mouring  <bmouring@ni.com>  (tiny patch)
13783
13784         * gdb.base/subst.exp: Add tests to verify partial path matching
13785         output.
13786
13787 2014-06-03  Pedro Alves  <palves@redhat.com>
13788
13789         * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
13790         target that doesn't use software single-stepping.
13791
13792 2014-06-03  Pedro Alves  <palves@redhat.com>
13793
13794         PR breakpoints/17000
13795         * gdb.base/sss-bp-on-user-bp-2.c: New file.
13796         * gdb.base/sss-bp-on-user-bp-2.exp: New file.
13797
13798 2014-06-02  Doug Evans  <xdje42@gmail.com>
13799
13800         * gdb.guile/scm-parameter.exp: New file.
13801
13802 2014-06-02  Doug Evans  <xdje42@gmail.com>
13803
13804         * gdb.guile/scm-cmd.c: New file.
13805         * gdb.guile/scm-cmd.exp: New file.
13806
13807 2014-06-02  Doug Evans  <xdje42@gmail.com>
13808
13809         * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
13810         pretty-printer lookup.
13811         * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
13812         (make-pp_s-printer): Call it.
13813         (make-pretty-printer-from-dict): New function.
13814         (lookup-pretty-printer-maker-from-dict): New function.
13815         (*pretty-printer*): Simplify.
13816         (make-objfile-pp_s-printer): New function.
13817         (install-objfile-pretty-printers!): New function.
13818         (make-progspace-pp_s-printer): New function.
13819         (install-progspace-pretty-printers!): New function.
13820         * gdb.guile/scm-progspace.c: New file.
13821         * gdb.guile/scm-progspace.exp: New file.
13822
13823 2014-06-02  Pedro Alves  <palves@redhat.com>
13824
13825         * gdb.base/dprintf-bp-same-addr.c: New file.
13826         * gdb.base/dprintf-bp-same-addr.exp: New file.
13827
13828 2014-06-02  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
13829
13830         * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
13831         * gdb.arch/powerpc-power.s: Likewise.
13832
13833 2014-06-02  Joel Brobecker  <brobecker@adacore.com>
13834
13835         * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
13836
13837 2014-06-01  Yao Qi  <yao@codesourcery.com>
13838
13839         * gdb.base/watchpoint.exp (test_watch_location): Check null
13840         pointer can be dereferenced.  If not, do the test, otherwise
13841         skip it.
13842
13843 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13844
13845         * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
13846         results.
13847         * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
13848
13849 2014-05-30  Andrew Burgess  <aburgess@broadcom.com>
13850
13851         * gdb.arch/amd64-invalid-stack-middle.S: New file.
13852         * gdb.arch/amd64-invalid-stack-middle.c: New file.
13853         * gdb.arch/amd64-invalid-stack-middle.exp: New file.
13854         * gdb.arch/amd64-invalid-stack-top.c: New file.
13855         * gdb.arch/amd64-invalid-stack-top.exp: New file.
13856
13857 2014-05-30  Pedro Alves  <palves@redhat.com>
13858
13859         PR breakpoints/17000
13860         * gdb.base/sss-bp-on-user-bp.c: New file.
13861         * gdb.base/sss-bp-on-user-bp.exp: New file.
13862
13863 2014-05-30  David Blaikie  <dblaikie@gmail.com>
13864
13865         * gdb.opt/inline-break.c: Fix clang compatibility by specifying
13866         gnu_inline semantics via attribute.
13867         * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
13868         source explicitly specifies the required semantics.
13869
13870 2014-05-30  Maciej W. Rozycki  <macro@codesourcery.com>
13871
13872         * gdb.reverse/sigall-reverse.exp: Fix a typo.
13873
13874 2014-05-29  Pedro Alves  <palves@redhat.com>
13875             Tom Tromey  <tromey@redhat.com>
13876
13877         * gdb.base/async-shell.exp: Don't enable target-async.
13878         * gdb.base/async.exp
13879         * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
13880         parameter.  Adjust.
13881         (top level): Don't test with "target-async".
13882         * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
13883         * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
13884         * gdb.base/inferior-died.exp: Don't enable target-async.
13885         * gdb.base/interrupt-noterm.exp: Likewise.
13886         * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
13887         * gdb.mi/mi-nonstop-exit.exp: Likewise.
13888         * gdb.mi/mi-nonstop.exp: Likewise.
13889         * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
13890         * gdb.mi/mi-nsintrall.exp: Likewise.
13891         * gdb.mi/mi-nsmoribund.exp: Likewise.
13892         * gdb.mi/mi-nsthrexec.exp: Likewise.
13893         * gdb.mi/mi-watch-nonstop.exp: Likewise.
13894         * gdb.multi/watchpoint-multi.exp: Adjust comment.
13895         * gdb.python/py-evsignal.exp: Don't enable target-async.
13896         * gdb.python/py-evthreads.exp: Likewise.
13897         * gdb.python/py-prompt.exp: Likewise.
13898         * gdb.reverse/break-precsave.exp: Don't test with "target-async".
13899         * gdb.server/solib-list.exp: Don't enable target-async.
13900         * gdb.threads/thread-specific-bp.exp: Likewise.
13901         * lib/mi-support.exp: Adjust to use mi-async.
13902
13903 2014-05-29  Pedro Alves  <palves@redhat.com>
13904
13905         PR gdb/13860
13906         * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
13907         reason, even in sync mode.
13908
13909 2014-05-29  Pedro Alves  <palves@redhat.com>
13910             Hui Zhu  <hui@codesourcery.com>
13911
13912         PR PR15693
13913         * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
13914         * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
13915         * gdb.mi/mi-condbreak-call-thr-state.c: New file.
13916         * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
13917
13918 2014-05-28  Joel Brobecker  <brobecker@adacore.com>
13919
13920         * config/monitor.exp (gdb_target_monitor): Replace use of
13921         "set remotebaud" by "set serial baud".
13922
13923 2014-05-26  Andy Wingo  <wingo@igalia.com>
13924
13925         * gdb.guile/scm-breakpoint.exp:
13926         * gdb.guile/scm-gsmob.exp: Update to use plain old object
13927         properties instead of gdb-object-properties.
13928
13929 2014-05-26  Yao Qi  <yao@codesourcery.com>
13930
13931         * gdb.server/no-thread-db.exp: Specify source file name
13932         explicitly when setting a breakpoint.
13933
13934 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13935
13936         * gdb.btrace/vdso.c: New.
13937         * gdb.btrace/vdso.exp: New.
13938
13939 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13940
13941         * gdb.base/gcore.exp (capture_command_output): Move ...
13942         * lib/gdb.exp (capture_command_output): ... here.
13943
13944 2014-05-23  Markus Metzger  <markus.t.metzger@intel.com>
13945
13946         * gdb.btrace/data.exp: Test memory access during btrace replay.
13947
13948 2014-05-22  Simon Marchi  <simon.marchi@ericsson.com>
13949
13950         * lib/mi-support.exp (mi_run_cmd_full): Add comments.
13951
13952 2014-05-21  Pedro Alves  <palves@redhat.com>
13953
13954         PR gdb/13860
13955         * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
13956         (top level): Test that output related to execution commands is
13957         sent to the console with CLI commands, but not with MI commands.
13958         Test that breakpoint events are always mirrored to the console.
13959         Also expect the new source line to be output after a "next" in
13960         async mode too.  Make it a pass/fail test.
13961         * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
13962         output.
13963         * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
13964
13965 2014-05-21  Pedro Alves  <palves@redhat.com>
13966
13967         * gdb.base/list.exp (build_pattern, test_list): New procedures.
13968         Use them to test variations of "list" after reaching a breakpoint.
13969         * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
13970         Test "list" with listsize 10 after reaching a breakpoint.
13971         * gdb.python/python.exp (decode_line current location line
13972         number): Adjust expected line number.
13973
13974 2014-05-21  Simon Marchi  <simon.marchi@ericsson.com>
13975
13976         * lib/mi-support.exp (mi_run_cmd_full): Revert to original
13977         behavior for $args, pass it directly to "run".
13978
13979 2014-05-21  Maciej W. Rozycki  <macro@codesourcery.com>
13980
13981         * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
13982         30000 to 65536.
13983
13984 2014-05-21  Pedro Alves  <palves@redhat.com>
13985
13986         * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
13987         auto-connect-native-target off".
13988         * gdb.base/auto-connect-native-target.c: New file.
13989         * gdb.base/auto-connect-native-target.exp: New file.
13990
13991 2014-05-21  Pedro Alves  <palves@redhat.com>
13992
13993         * gdb.base/default.exp: Test "target native" instead of "target
13994         child".
13995
13996 2014-05-21  Mark Wielaard  <mjw@redhat.com>
13997
13998         * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
13999
14000 2014-05-21  Jan Kratochvil  <jan.kratochvil@redhat.com>
14001
14002         Fix TLS access for -static -pthread.
14003         * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
14004         <HAVE_TLS> (thread_function, main): Initialize it.
14005         * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
14006         Add clean_restart.
14007         <$have_tls != "">: Check TLSVAR.
14008
14009 2014-05-21  Pedro Alves  <palves@redhat.com>
14010
14011         * gdb.base/dcache-line-read-error.c: New.
14012         * gdb.base/dcache-line-read-error.exp: New.
14013
14014 2014-05-20  Pedro Alves  <palves@redhat.com>
14015
14016         * gdb.base/compare-sections.c: New file.
14017         * gdb.base/compare-sections.exp: New file.
14018
14019 2014-05-20  Pedro Alves  <palves@redhat.com>
14020
14021         * gdb.base/break-idempotent.c: New file.
14022         * gdb.base/break-idempotent.exp: New file.
14023
14024 2014-05-20  Markus Metzger  <markus.t.metzger@intel.com>
14025
14026         * gdb.btrace/nohist.exp: New.
14027
14028 2014-05-20  Yao Qi  <yao@codesourcery.com>
14029
14030         * lib/gdb.exp (gdb_init): Set timeout if test file is under
14031         gdb.reverse directory and gdb_reverse_timeout exists in board
14032         setting.
14033         * README: Document gdb_reverse_timeout.
14034
14035 2014-05-20  Yao Qi  <yao@codesourcery.com>
14036
14037         * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
14038         'test_file_name'.  Treat args as a string instead of a list.
14039         (gdb_init): Rename argument 'args' by 'test_file_name'.
14040
14041 2014-05-19  Jan Kratochvil  <jan.kratochvil@redhat.com>
14042
14043         * gdb.arch/powerpc-power.exp: New file.
14044         * gdb.arch/powerpc-power.s: New file.
14045
14046 2014-05-16  Doug Evans  <dje@google.com>
14047
14048         * gdb.base/Makefile.in (EXECUTABLES): Add completion.
14049         * gdb.base/completion.exp: Check that all expected files exist
14050         before doing file completion.
14051
14052 2014-05-16  Doug Evans  <dje@google.com>
14053
14054         * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
14055         Update.
14056         (do_syscall_tests_without_xml): Update.
14057
14058 2014-05-16  Pedro Alves  <palves@redhat.com>
14059
14060         * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
14061         instead of "unknown output after running".
14062
14063 2014-05-16  Yao Qi  <yao@codesourcery.com>
14064
14065         * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host.  Remove
14066         file1.txt from host at the end.
14067         * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
14068
14069 2014-05-15  Doug Evans  <dje@google.com>
14070
14071         * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
14072         * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
14073         loading file.  Add test for TU lookup.
14074
14075 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
14076
14077         * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
14078         calling "-exec-arguments" or "set args" before running the
14079         inferior.
14080
14081 2014-05-15  Simon Marchi  <simon.marchi@ericsson.com>
14082
14083         * lib/mi-support.exp (mi_expect_stop): Expect message for
14084         inferiors that exit with non-zero exit code.
14085
14086 2014-05-14  Yao Qi  <yao@codesourcery.com>
14087
14088         * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
14089         match absolute path on remote host.
14090         (test_file_list_exec_source_files): Remove "/" from the
14091         pattern.
14092
14093 2014-05-14  Yao Qi  <yao@codesourcery.com>
14094
14095         * boards/local-remote-host-notty.exp (${board}_file): New
14096         proc.
14097
14098 2014-05-07  Kyle McMartin  <kyle@redhat.com>
14099
14100         Pushed by Joel Brobecker  <brobecker@adacore.com>.
14101         * gdb.arch/aarch64-atomic-inst.c: New file.
14102         * gdb.arch/aarch64-atomic-inst.exp: New file.
14103
14104 2014-05-07  Yao Qi  <yao@codesourcery.com>
14105
14106         * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
14107         in current context" too.
14108
14109 2014-05-05  Keith Seitz  <keiths@redhat.com>
14110
14111         * gdb.linespec/ls-dollar.exp: Add test for linespec
14112         file:convenience_variable.
14113
14114 2014-05-05  Yao Qi  <yao@codesourcery.com>
14115
14116         * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
14117         traceframes into tfile and ctf trace files.  Read data from
14118         trace file and test collected data.
14119         (gdb_collect_locals_test): Likewise.
14120         (gdb_unavailable_registers_test): Likewise.
14121         (gdb_unavailable_floats): Likewise.
14122         (gdb_collect_globals_test): Likewise.
14123         (top-level): Append "ctf" to trace_file_targets if GDB
14124         supports.
14125
14126 2014-05-05  Yao Qi  <yao@codesourcery.com>
14127
14128         * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
14129         code to ...
14130         (gdb_collect_args_test_1): ... it.  New proc.
14131         (gdb_collect_locals_test): Move some code to ...
14132         (gdb_collect_locals_test_1): ... it.  New proc.
14133         (gdb_unavailable_registers_test): Move some code to ...
14134         (gdb_unavailable_registers_test_1): ... it.  New proc.
14135         (gdb_unavailable_floats): Move some code to ...
14136         (gdb_unavailable_floats_1): ... it.  New proc.
14137
14138 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
14139
14140         * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
14141         probes to test for bitness recognition.
14142         * gdb.arch/amd64-stap-optional-prefix.exp
14143         (test_probe_value_without_reg): New procedure.
14144         Add code to test for different kinds of bitness.
14145
14146 2014-05-02  Sergio Durigan Junior  <sergiodj@redhat.com>
14147
14148         PR breakpoints/16889
14149         * gdb.arch/amd64-stap-optional-prefix.S: New file.
14150         * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
14151
14152 2014-05-01  Pedro Alves  <palves@redhat.com>
14153
14154         * lib/gdb.exp (gdb_load): Extend comment.  Skip calling
14155         gdb_file_cmd if no file is specified.
14156         * boards/native-extended-gdbserver.exp (gdb_load): Use the
14157         last_loaded_file to set the remote exec-file.
14158
14159 2014-05-01  Pedro Alves  <palves@redhat.com>
14160
14161         * boards/local-remote-host.exp: New file.
14162
14163 2014-05-01  Pedro Alves  <palves@redhat.com>
14164
14165         * boards/local-remote-host.exp: Rename to ...
14166         * boards/local-remote-host-notty.exp: ... this.
14167
14168 2014-04-28  Joel Brobecker  <brobecker@adacore.com>
14169
14170         * gdb.ada/dyn_arrayidx: New testcase.
14171
14172 2014-04-26  Yao Qi  <yao@codesourcery.com>
14173
14174         * gdb.dwarf2/dwz.exp: Compile main.c to object.  Restart GDB
14175         and compute the length of function main.  Save it in
14176         $main_length.
14177         (Dwarf::assemble): Use $main_length instead of hard-coded 10.
14178         (top-level): Use gdb_compile to compile objects into
14179         executable and restart GDB.  Remove invocation to
14180         prepare_for_testing.
14181
14182 2014-04-25  Simon Marchi  <simon.marchi@ericsson.com>
14183             Pedro Alves  <palves@redhat.com>
14184
14185         PR server/16255
14186         * gdb.multi/multi-attach.c: New file.
14187         * gdb.multi/multi-attach.exp: New file.
14188
14189 2014-04-25  Pedro Alves  <palves@redhat.com>
14190
14191         * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
14192         user.
14193         (top level): Test that "set remote conditional-breakpoints-packet
14194         off" works as intended.
14195         * gdb.base/dprintf.exp: Test that "set remote
14196         breakpoint-commands-packet off" works as intended.
14197         * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
14198         New function.
14199         (top level): Call it.
14200         * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
14201         remote fast-tracepoints-packet off" works as intended.
14202         * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
14203         * lib/gdb.exp (gdb_is_target_remote): ... here.
14204
14205 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14206
14207         * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
14208         ensure clang would not discard them.
14209         * gdb.base/gdbvars.c: Ditto.
14210         * gdb.base/memattr.c: Ditto.
14211         * gdb.base/whatis.c: Ditto.
14212         * gdb.python/py-prettyprint.c: Ditto.
14213         * gdb.trace/actions.c: Ditto.
14214         * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
14215         ensure clang would not discard it.
14216
14217 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14218
14219         * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
14220         clang to emit the full definition of type required by the test
14221         * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
14222
14223 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14224
14225         * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
14226         coax Clang into emitting the definition of the type.
14227         * gdb.cp/pr10728-x.h (y): Ditto.
14228         * gdb.cp/pr10728-y.cc (y): Ditto.
14229
14230 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14231
14232         * gdb.base/label.exp: XFAIL label related tests under Clang.
14233         * gdb.cp/cplabel.exp: Ditto.
14234         * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
14235         under Clang those using labels.
14236
14237 2014-04-25  Yao Qi  <yao@codesourcery.com>
14238
14239         * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
14240         double_label.
14241         * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
14242         partial_label and double_label.
14243
14244 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14245
14246         * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
14247
14248 2014-04-24  David Blaikie  <dblaikie@gmail.com>
14249
14250         * gdb.cp/cpexprs.cc: Move braces to the same line as the start
14251         of the function to work across GCC and Clang.
14252         * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
14253         pointer types (const void ** const V void **).
14254
14255 2014-04-24  Michael Sturm  <michael.sturm@mintel.com>
14256             Walfred Tedeschi  <walfred.tedeschi@intel.com>
14257
14258         * Makefile.in (EXECUTABLES): Added i386-avx512.
14259         * gdb.arch/i386-avx512.c: New file.
14260         * gdb.arch/i386-avx512.exp: Likewise.
14261
14262 2014-04-23  Keith Seitz  <keiths@redhat.com>
14263
14264         * lib/mi-support.exp (mi_list_breakpoints): Delete.
14265         (mi_make_breakpoint_table): New procedure.
14266         (mi_create_breakpoint): Use mi_make_breakpoint
14267         and return the result.
14268         (mi_make_breakpoint): New procedure.
14269         (mi_build_kv_pairs): New procedure.
14270
14271         * gdb.mi/mi-break.exp: Remove unused globals,
14272         update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
14273         All callers updated.
14274         * gdb.mi/mi-dprintf.exp: Use variable to track command
14275         number.
14276         Update all callers of mi_create_breakpoint and use
14277         mi_make_breakpoint_table.
14278         Remove any unused global variables.
14279         * gdb.mi/mi-nonstop.exp: Likewise.
14280         * gdb.mi/mi-nsintrall.exp: Likewise.
14281         * gdb.mi/mi-nsmoribund.exp: Likewise.
14282         * gdb.mi/mi-nsthrexec.exp: Likewise.
14283         * gdb.mi/mi-reverse.exp: Likewise.
14284         * gdb.mi/mi-simplerun.exp: Likewise.
14285         * gdb.mi/mi-stepn.exp: Likewise.
14286         * gdb.mi/mi-syn-frame.exp: Likewise.
14287         * gdb.mi/mi-until.exp: Likewise.
14288         * gdb.mi/mi-var-cp.exp: Likewise.
14289         * gdb.mi/mi-var-display.exp: Likewise.
14290         * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
14291         * gdb.mi/mi2-var-child.exp: Likewise.
14292         * gdb.mi/mi-vla-c99.exp: Likewise.
14293         * lib/mi-support.exp: Likewise.
14294
14295         From Ian Lance Taylor  <iant@cygnus.com>:
14296         * lib/gdb.exp (parse_args): New procedure.
14297
14298 2014-04-23  Pedro Alves  <palves@redhat.com>
14299
14300         * gdb.base/break-unload-file.c: New file.
14301         * gdb.base/break-unload-file.exp: New file.
14302         * gdb.base/sym-file-lib.c (baz): New function.
14303         * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
14304         field.
14305         (load): Store the segment's mapped size.
14306         (unload): New function.
14307         (unload_shlib): New function.
14308         * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
14309         * gdb.base/sym-file-main.c (main): Unload, and reload the library,
14310         set a breakpoint at baz, and call it.
14311         * gdb.base/sym-file.exp: New tests for stale breakpoint
14312         instructions.
14313
14314 2014-04-23  Pedro Alves  <palves@redhat.com>
14315
14316         * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
14317         * gdb.base/hbreak-in-shr-unsupported.c: New file.
14318         * gdb.base/hbreak-in-shr-unsupported.exp: New file.
14319         * gdb.base/hbreak-unmapped.c: New file.
14320         * gdb.base/hbreak-unmapped.exp: New file.
14321         * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
14322         * lib/gdb.exp (gdb_is_target_remote): ... here.
14323
14324 2014-04-22  Pedro Alves  <palves@redhat.com>
14325
14326         * gdb.base/consecutive-step-over.c: New file.
14327         * gdb.base/consecutive-step-over.exp: New file.
14328
14329 2014-04-22  Pedro Alves  <palves@redhat.com>
14330
14331         * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
14332         instead of send_gdb/gdb_expect.
14333
14334 2014-04-22  Yao Qi  <yao@codesourcery.com>
14335
14336         * lib/trace-support.exp (generate_tracefile): New procedure.
14337         * gdb.trace/tfile.exp: Skip the test if generate_tracefile
14338         return 0.
14339         * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
14340         if generate_tracefile returns 1.
14341
14342 2014-04-18  Tom Tromey  <palves@redhat.com>
14343             Pedro alves  <tromey@redhat.com>
14344
14345         PR backtrace/15558
14346         * gdb.opt/inline-bt.exp: Test backtracing from an inline function
14347         with a backtrace limit.
14348         * gdb.python/py-frame-inline.exp: Test running to an inline
14349         function with a backtrace limit, and printing the newest frame.
14350         * gdb.python/py-frame-inline.c (main): Call f.
14351
14352 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14353
14354         * gdb.java/jnpe.exp: Drop srcdir from untested path.
14355
14356 2014-04-17  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14357
14358         * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
14359         Drop prefix from unsupported source file path.
14360
14361 2014-04-17  Yao Qi  <yao@codesourcery.com>
14362
14363         * lib/gdb.exp (with_target_charset): New proc.
14364         * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
14365         with_target_charset.
14366         (test_print_strings): Likewise.
14367         (test_repeat_bytes): Likewise.
14368         * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
14369         for some tests.
14370
14371 2014-04-16  Keith Seitz  <keiths@redhat.com>
14372
14373         PR gdb/15827
14374         * gdb.dwarf2/corrupt.c: New file.
14375         * gdb.dwarf2/corrupt.exp: New file.
14376
14377 2014-04-16  Keith Seitz  <keiths@redhat.com>
14378
14379         PR c++/16597
14380         * gdb.cp/namelessclass.cc: New file.
14381         * gdb.cp/namelessclass.exp: New file.
14382         * gdb.cp/namelessclass.S: New file.
14383
14384 2014-04-16  Doug Evans  <dje@google.com>
14385
14386         * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
14387         Add comment.
14388         (gdbserver_default_get_comm_port): New function.
14389         (gdbserver_start): Check if board file provided
14390         "gdbserver,get_comm_port" and use it if so.
14391         * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
14392         (gdb,socketport): Set to "stdio".
14393         (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
14394         (stdio_gdbserver_template): Delete.
14395         (${board}_get_remote_address): Update.
14396         (${board}_build_remote_cmd): Delete.
14397         (${board}_get_comm_port): New function.
14398         (${board}_spawn): Update.
14399         * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
14400         Delete.
14401         (${board}_get_remote_address): Update.
14402         (${board}_get_comm_port): New function.
14403
14404 2014-04-16  Andrew Burgess  <aburgess@broadcom.com>
14405
14406         * gdb.base/memattr.exp: Improve regexps to handle memory regions
14407         appearing in any order.
14408
14409 2014-04-15  Doug Evans  <dje@google.com>
14410
14411         * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
14412         uninitialized value of "description".
14413
14414 2014-04-15  Keith Seitz  <keiths@redhat.com>
14415
14416         * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
14417         Remove unused globals.
14418         (test_running_the_program): Likewise.
14419         (test_controlled_execution): Likewise.
14420         (test_controlling_breakpoints): Likewise.
14421         (test_program_termination): Likewise.
14422
14423 2014-04-15  Keith Seitz  <keiths@redhat.com>
14424
14425         * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
14426         unused globals.
14427         (test_rbreak_creation_and_listing): Likewise.
14428         (test_ignore_count): Likewise.
14429         (test_error): Likewise.
14430
14431 2014-04-15  Pedro Alves  <palves@redhat.com>
14432
14433         * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
14434         <ansidecl.h>, <elf/common.h> and <elf/external.h> to
14435         sym-file-loader.c.
14436         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14437         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14438         to sym-file-loader.c.
14439         (struct library): Forward declare.
14440         (load_shlib, lookup_function): Change prototypes.
14441         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14442         (translate_offset): Remove declarations.
14443         (get_text_addr): New declaration.
14444         * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
14445         <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
14446         sym-file-loader.h.
14447         (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
14448         (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
14449         here from sym-file-loader.h.
14450         (struct library): New structure.
14451         (load_shlib, lookup_function): Change prototypes and adjust to
14452         work with a struct library.
14453         (find_shstrtab, find_strtab, find_shdr, find_symtab)
14454         (translate_offset): Make static.
14455         (get_text_addr): New function.
14456         * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
14457
14458 2014-04-15  Pedro Alves  <palves@redhat.com>
14459
14460         * gdb.base/sym-file-loader.c: Fix typo.  SELF_LINK, not SELK_LINK.
14461
14462 2014-04-15  Pedro Alves  <palves@redhat.com>
14463
14464         * gdb.base/sym-file-loader.c: Include <limits.h>.
14465         (SELF_LINK): New define.
14466         (get_origin): New function.
14467         (load_shlib): Use it.
14468         * gdb.base/sym-file.exp: Don't early return if the target is
14469         remote.  Use runto_main, and issue fail is that fails.  Use
14470         gdb_load_shlibs.
14471         (shlib_name): Delete.
14472         (lib_so, lib_syms, lib_dlopen): New globals.  Use them throughout.
14473
14474 2014-04-15  Pedro Alves <palves@redhat.com>
14475
14476         * gdb.base/sym-file.exp: Remove regex characters from test
14477         message.  Don't refer to breakpoint numbers in test messages.
14478
14479 2014-04-14  Keith Seitz  <keiths@redhat.com>
14480
14481         PR c++/16253
14482         * gdb.cp/var-tag.cc: New file.
14483         * gdb.cp/var-tag.exp: New file.
14484         * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
14485         * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
14486         * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
14487         * gdb.dwarf2/dw2-inheritance.exp: Likewise.
14488
14489 2014-04-14  Tom Tromey  <tromey@redhat.com>
14490
14491         * gdb.cp/classes.exp (test_enums): Handle underlying type.
14492         * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
14493         type.
14494         * gdb.cp/enum-class.exp: New file.
14495         * gdb.cp/enum-class.cc: New file.
14496
14497 2014-04-14  Tom Tromey  <tromey@redhat.com>
14498
14499         * gdb.dwarf2/enum-type.exp: New file.
14500
14501 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14502
14503         * gdb.mi/mi-vla-c99.exp: New file.
14504         * gdb.mi/vla.c: New file.
14505
14506 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14507
14508         * gdb.base/vla-datatypes.c: New file.
14509         * gdb.base/vla-datatypes.exp: New file.
14510
14511 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14512
14513         * gdb.base/vla-ptr.c: New file.
14514         * gdb.base/vla-ptr.exp: New file.
14515
14516 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14517
14518         * gdb.dwarf2/count.exp: New file.
14519
14520 2014-04-14  Sanimir Agovic  <sanimir.agovic@intel.com>
14521
14522         * gdb.base/vla-sideeffect.c: New file.
14523         * gdb.base/vla-sideeffect.exp: New file.
14524
14525 2014-04-14  David Blaikie <dblaikie@gmail.com>
14526
14527         * gdb.mi/non-stop.c: Add return value for non-void function return
14528         statement.
14529         * gdb.threads/staticthreads.c: Ditto.
14530
14531 2014-04-12  Siva Chandra Reddy  <sivachandra@google.com>
14532             Doug Evans  <xdje42@gmail.com>
14533
14534         * gdb.guile/scm-value.c: Improve test case.
14535         * gdb.guile/scm-value.exp: Add new test.
14536
14537 2014-04-11  David Blaikie  <dblaikie@gmail.com>
14538
14539         * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
14540         override Clang's default.
14541
14542 2014-04-11  Joel Brobecker  <brobecker@adacore.com>
14543
14544         Revert the following changes (regressions):
14545
14546         * gdb.base/vla-sideeffect.c: New file.
14547         * gdb.base/vla-sideeffect.exp: New file.
14548
14549         * gdb.dwarf2/count.exp: New file.
14550
14551         * gdb.base/vla-multi.c: New file.
14552         * gdb.base/vla-multi.exp: New file.
14553
14554         * gdb.base/vla-ptr.c: New file.
14555         * gdb.base/vla-ptr.exp: New file.
14556
14557         * gdb.base/vla-datatypes.c: New file.
14558         * gdb.base/vla-datatypes.exp: New file.
14559
14560         * gdb.mi/mi-vla-c99.exp: New file.
14561         * gdb.mi/vla.c: New file.
14562
14563 2014-04-11  Keith Seitz  <keiths@redhat.com>
14564
14565         PR c++/16675
14566         * gdb.cp/cpsizeof.exp: New file.
14567         * gdb.cp/cpsizeof.cc: New file.
14568
14569 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14570
14571         * gdb.mi/mi-vla-c99.exp: New file.
14572         * gdb.mi/vla.c: New file.
14573
14574 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14575
14576         * gdb.base/vla-datatypes.c: New file.
14577         * gdb.base/vla-datatypes.exp: New file.
14578
14579 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14580
14581         * gdb.base/vla-ptr.c: New file.
14582         * gdb.base/vla-ptr.exp: New file.
14583
14584 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14585
14586         * gdb.base/vla-multi.c: New file.
14587         * gdb.base/vla-multi.exp: New file.
14588
14589 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14590
14591         * gdb.dwarf2/count.exp: New file.
14592
14593 2014-04-11  Sanimir Agovic  <sanimir.agovic@intel.com>
14594
14595         * gdb.base/vla-sideeffect.c: New file.
14596         * gdb.base/vla-sideeffect.exp: New file.
14597
14598 2014-04-11  Yao Qi  <yao@codesourcery.com>
14599
14600         * gdb.base/completion.exp: Check file exists before running tests
14601         on file completion.
14602
14603 2014-04-10  Pedro Alves  <palves@redhat.com>
14604
14605         * gdb.base/cond-eval-mode.c: New file.
14606         * gdb.base/cond-eval-mode.exp: Use standard_testfile.  Adjust
14607         prepare_for_testing to build the new file.  Check result of
14608         runto_main.
14609         (test_break, test_watch): New procedures.
14610         (top level): Use them.
14611
14612 2014-04-08  Pierre Muller  <muller@sourceware.org>
14613
14614         * gdb.base/printcmds.exp (test_artificial_arrays): Disable
14615         Ctrl-V use for mingw hosts.
14616
14617 2014-04-07  Siva Chandra Reddy  <sivachandra@google.com>
14618
14619         * gdb.python/py-value.c: Improve test case.
14620         * gdb.python/py-value.exp: Add new test.
14621
14622 2014-04-07  David Blaikie  <dblaikie@gmail.com>
14623
14624         * lib/compiler.c: Identify the clang compiler.
14625         * lib/compiler.cc: Ditto.
14626
14627 2014-04-03  Yao Qi  <yao@codesourcery.com>
14628
14629         * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
14630
14631 2014-04-01  Anton Blanchard  <anton@samba.org>
14632
14633         * gdb.arch/ppc64-atomic-inst.exp: Use untested.  Make test
14634         messages unique.
14635
14636 2014-04-01  Anton Blanchard  <anton@samba.org>
14637
14638         * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
14639         prepare_for_testing.
14640
14641 2014-04-01  Anton Blanchard  <anton@samba.org>
14642
14643         * gdb.arch/ppc64-atomic-inst.c: Remove.
14644         * gdb.arch/ppc64-atomic-inst.S: New file.
14645         * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
14646
14647 2014-03-31  Doug Evans  <dje@google.com>
14648
14649         * gdb.base/print-symbol-loading-lib.c: New file.
14650         * gdb.base/print-symbol-loading-main.c: New file.
14651         * gdb.base/print-symbol-loading.exp: New file.
14652
14653 2014-03-31  Yao Qi  <yao@codesourcery.com>
14654
14655         * gdb.base/source-dir.exp: Allow ';' as a directory separator.
14656
14657 2014-03-28  Joel Brobecker  <brobecker@adacore.com>
14658
14659         * gdb.ada/mi_dyn_arr: New testcase.
14660
14661 2014-03-27  Doug Evans  <dje@google.com>
14662
14663         * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
14664
14665 2014-03-27  Yao Qi  <yao@codesourcery.com>
14666
14667         * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
14668         if target is nios2-*-*.
14669
14670 2014-03-26  Yao Qi  <yao@codesourcery.com>
14671
14672         * lib/gdb.exp (readline_is_used): New proc.
14673         * gdb.base/completion.exp: Move tests on command complete up.
14674         Skip the rest of tests if readline is not used.
14675         * gdb.ada/complete.exp: Skp the test if readline is not
14676         used.
14677         * gdb.base/filesym.exp: Likewise.
14678         * gdb.base/macscp.exp: Likewise.
14679         * gdb.base/readline-ask.exp: Likewise.
14680         * gdb.base/readline.exp: Likewise.
14681         * gdb.python/py-cmd.exp: Likewise.
14682         * gdb.trace/tfile.exp: Likewise.
14683
14684 2014-03-26  Yao Qi  <yao@codesourcery.com>
14685
14686         * gdb.base/macscp.exp: Fix code format issues.
14687
14688 2014-03-25  Ulrich Weigand  <uweigand@de.ibm.com>
14689
14690         * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
14691         * gdb.asm/powerpc64le.inc: New file.
14692
14693 2014-03-25  Pedro Alves  <palves@redhat.com>
14694             Doug Evans  <dje@google.com>
14695
14696         * gdb.base/source-execution.c: New file.
14697         * gdb.base/source-execution.exp: New file.
14698         * gdb.base/source-execution.gdb: New file.
14699
14700 2014-03-24  Doug Evans  <dje@google.com>
14701
14702         * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
14703         using fission.
14704
14705 2014-03-24  Hui Zhu  <hui@codesourcery.com>
14706             Pedro Alves  <palves@redhat.com>
14707
14708         PR breakpoints/16101
14709         * gdb.base/dprintf.exp: Use unsupported rather than changing the
14710         test pass/fail messages.  Detect missing support for dprintf when
14711         breakpoints are actually inserted.
14712         * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
14713         breakpoints are actually inserted.
14714         * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
14715         fails.
14716
14717 2014-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
14718
14719         * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
14720
14721 2014-03-22  Doug Evans  <xdje42@gmail.com>
14722
14723         * gdb.python/python.exp (python not supported): Verify multi-line
14724         python command issues an error.
14725         * gdb.guile/guile.exp (guile not supported): Verify multi-line
14726         guile command issues an error.
14727
14728 2014-03-21  Maciej W. Rozycki  <macro@codesourcery.com>
14729
14730         * gdb.threads/thread-specific.exp: Handle the lack of usable
14731         $this_breakpoint and $this_thread.
14732
14733 2014-03-21  Hui Zhu  <hui@codesourcery.com>
14734
14735         * gdb.base/attach.exp (do_command_attach_tests): New.
14736
14737 2014-03-20  Tom Tromey  <tromey@redhat.com>
14738             Pedro Alves  <palves@redhat.com>
14739
14740         PR cli/15718
14741         * gdb.base/condbreak-call-false.c: New file.
14742         * gdb.base/condbreak-call-false.exp: New file.
14743
14744 2014-03-20  Pedro Alves  <palves@redhat.com>
14745
14746         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
14747         Delete.
14748         (block_signals, unblock_signals): Delete.
14749         (child_function_2, main): Remove references to deleted variable
14750         and functions.
14751
14752 2014-03-20  Pedro Alves  <palves@redhat.com>
14753
14754         * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
14755         Use pthread_kill to signal thread 2.
14756         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14757         Adjust to make the test send itself a signal rather than using the
14758         host's "kill" command.
14759
14760 2014-03-20  Pedro Alves  <palves@redhat.com>
14761
14762         * gdb.threads/multiple-step-overs.c: New file.
14763         * gdb.threads/multiple-step-overs.exp: New file.
14764         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14765         Adjust expected infrun debug output.
14766
14767 2014-03-20  Pedro Alves  <palves@redhat.com>
14768
14769         * gdb.threads/step-over-trips-on-watchpoint.c: New file.
14770         * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
14771
14772 2014-03-20  Pedro Alves  <palves@redhat.com>
14773
14774         PR breakpoints/7143
14775         * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
14776         old gnats gdb/38.  Remove kfail.  Adjust to use gdb_test instead
14777         of gdb_test_multiple.
14778         * gdb.cp/annota2.exp: Remove kfail for gdb/38.
14779         * gdb.cp/annota3.exp: Remove kfail for gdb/38.
14780
14781 2014-03-20  Pedro Alves  <palves@redhat.com>
14782
14783         * gdb.threads/step-over-lands-on-breakpoint.c: New file.
14784         * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
14785
14786 2014-03-19  Pedro Alves  <palves@redhat.com>
14787
14788         * gdb.base/async.exp: Remove early return.
14789
14790 2014-03-19  Pedro Alves  <palves@redhat.com>
14791
14792         * gdb.base/async.exp (step& tests): Pass explicit test messages.
14793
14794 2014-03-19  Pedro Alves  <palves@redhat.com>
14795
14796         * gdb.base/async.exp (test_background): Expect \r\n after
14797         "completed." in the fail pattern.
14798
14799 2014-03-19  Pedro Alves  <palves@redhat.com>
14800
14801         * gdb.base/async.exp (test_background): New procedure.
14802         Use it for all background execution command tests.
14803
14804 2014-03-19  Pedro Alves  <palves@redhat.com>
14805
14806         * gdb.base/async.exp: Use prepare_for_testing.
14807
14808 2014-03-19  Pedro Alves  <palves@redhat.com>
14809
14810         * gdb.base/async.c (foo): Make 'x' volatile.  Write to it twice in
14811         the same line.
14812
14813 2014-03-19  Pedro Alves  <palves@redhat.com>
14814
14815         * gdb.base/async.c (main): Add "jump here" and "until here" line
14816         marker comments.
14817         * gdb.base/async.exp (jump_here): New global.
14818         (jump& test): Use it.
14819         (until_here): New global.
14820         (until& test): Use it.
14821
14822 2014-03-19  Pedro Alves  <palves@redhat.com>
14823
14824         * gdb.base/async.exp: Don't frob gdb_protocol.
14825
14826 2014-03-18  Doug Evans  <xdje42@gmail.com>
14827
14828         * gdb.base/async.exp: Whitespace fixes.  Turn on target-async.
14829         Fix spelling of exec-done-display.
14830
14831 2014-03-18  Jan Kratochvil  <jan.kratochvil@redhat.com>
14832
14833         PR gdb/15358
14834         * gdb.base/gdb-sigterm.c: New file.
14835         * gdb.base/gdb-sigterm.exp: New file.
14836
14837 2014-03-18  Pedro Alves  <palves@redhat.com>
14838
14839         PR gdb/13860
14840         * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
14841         * lib/mi-support.exp (mi_expect_stop): Add special handling for
14842         solib-event.
14843
14844 2014-03-17  Joel Brobecker  <brobecker@adacore.com>
14845
14846         * gdb.ada/pckd_arr_ren: New testcase.
14847
14848 2014-03-13  Doug Evans  <xdje42@gmail.com>
14849
14850         PR guile/16612
14851         * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
14852         collect after discarding symbols.
14853
14854 2014-03-13  Ludovic Courtès  <ludo@gnu.org>
14855             Doug Evans  <xdje42@gmail.com>
14856
14857         * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
14858         to history survives a gc.
14859
14860 2014-03-13  Pedro Alves  <palves@redhat.com>
14861
14862         * gdb.base/default.exp: Don't test "target procfs".
14863
14864 2014-03-13  Pedro Alves  <palves@redhat.com>
14865
14866         * gdb.base/default.exp: Update "target child" and "target procfs"
14867         tests to not expect "Unix".
14868
14869 2014-03-12  Tom Tromey  <tromey@redhat.com>
14870
14871         * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
14872         New procs.  Add target-async tests.
14873         * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
14874         Add target-async tests.
14875
14876 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14877
14878         * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
14879         'func_start' and 'func_end' for the beginning and end of the
14880         function code, respectively.
14881         * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
14882         'func_end' instead of 'func' and 'main'.
14883
14884 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14885
14886         * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
14887         * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
14888         generate the debug info assembler source.
14889
14890 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14891
14892         * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
14893         * gdb.dwarf2/arr-subrange.exp: Likewise.
14894         * gdb.dwarf2/dwz.exp: Likewise.
14895         * gdb.dwarf2/method-ptr.exp: Likewise.
14896         * gdb.dwarf2/missing-sig-type.exp: Likewise.
14897         * gdb.dwarf2/subrange.exp: Likewise.
14898         * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
14899         * gdb.dwarf2/implptrpiece.exp: Likewise.
14900         * gdb.dwarf2/nostaticblock.exp: Likewise.
14901
14902 2014-03-12  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14903
14904         * lib/gdb.exp (build_executable_from_specs): Don't prepend source
14905         directory to absolute path name arguments.
14906
14907 2014-03-10  Joel Brobecker  <brobecker@adacore.com>
14908
14909         * gdb.ada/tagged_access: New testcase.
14910
14911 2014-03-07  Markus Metzger  <markus.t.metzger@intel.com>
14912
14913         * gdb.btrace/data.exp: Update expected output.
14914
14915 2014-03-06  Yao Qi  <yao@codesourcery.com>
14916
14917         * gdb.trace/pr16508.exp: New file.
14918
14919 2014-03-05  Pedro Alves  <palves@redhat.com>
14920
14921         PR gdb/16575
14922         * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
14923         procedure.
14924         (top level): Adjust to use it.  Add tests that exercise breakpoint
14925         interaction with the code-cache.
14926
14927 2014-02-26  Ludovic Courtès  <ludo@gnu.org>
14928
14929         * gdb.guile/scm-value.exp (test_value_in_inferior): Add
14930         test for 'history-append!'.
14931
14932 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14933
14934         * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
14935         * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
14936         * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
14937         * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
14938         * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
14939         * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
14940
14941 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14942
14943         * testsuite/gdb.python/py-pp-re-notag.c: New file.
14944         * testsuite/gdb.python/py-pp-re-notag.ex: New file.
14945         * testsuite/gdb.python/py-pp-re-notag.p: New file.
14946
14947 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14948
14949         * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
14950
14951 2014-02-26  Joel Brobecker  <brobecker@adacore.com>
14952
14953         * gdb.dwarf2/arr-stride.c: New file.
14954         * gdb.dwarf2/arr-stride.exp: New file.
14955
14956 2014-02-26  Pedro Alves  <palves@redhat.com>
14957
14958         * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
14959         that won't ever trigger.  Make sure that GDB reports the correct
14960         breakpoint that caused the stop.
14961
14962 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14963
14964         PR gdb/16626
14965         * gdb.base/auto-load-script: New file.
14966         * gdb.base/auto-load.c: New file.
14967         * gdb.base/auto-load.exp: New file.
14968
14969         PR gdb/16626
14970         * gdb.base/auto-load.exp: Fix out-of-srctree run.
14971
14972 2014-02-25  Jan Kratochvil  <jan.kratochvil@redhat.com>
14973
14974         Fix dw2-icycle.exp -fsanitize=address GDB crash.
14975         * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
14976
14977 2014-02-24  Doug Evans  <dje@google.com>
14978
14979         * lib/gdb.exp (run_on_host): Log error output if program fails.
14980
14981 2014-02-21  Pedro Alves  <palves@redhat.com>
14982
14983         * gdb.threads/step-after-sr-lock.c: Rename to ...
14984         * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
14985         * gdb.threads/step-after-sr-lock.exp: Rename to ...
14986         * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
14987         ... this.
14988
14989 2014-02-20  Sergio Durigan Junior  <sergiodj@redhat.com>
14990
14991         PR tdep/16397
14992         * gdb.arch/amd64-stap-special-operands.exp: New file.
14993         * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
14994         * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
14995         * gdb.arch/amd64-stap-triplet.S: Likewise.
14996         * gdb.arch/amd64-stap-triplet.c: Likewise.
14997
14998 2014-02-20  Joel Brobecker  <brobecker@adacore.com>
14999
15000         * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
15001         in .section pseudo-op.
15002
15003 2014-02-20  lin zuojian  <manjian2006@gmail.com>
15004             Joel Brobecker  <brobecker@adacore.com>
15005             Doug Evans  <xdje42@gmail.com>
15006
15007         PR symtab/16581
15008         * gdb.dwarf2/dw2-icycle.S: New file.
15009         * gdb.dwarf2/dw2-icycle.c: New file.
15010         * gdb.dwarf2/dw2-icycle.exp: New file.
15011
15012 2014-02-19  Siva Chandra Reddy  <sivachandra@google.com>
15013
15014         * gdb.python/py-value-cc.cc: Improve test case to enable testing
15015         operations on gdb.Value objects.
15016         * gdb.python/py-value-cc.exp: Add new test to test operations on
15017         gdb.Value objects.
15018
15019 2014-02-18  Doug Evans  <dje@google.com>
15020
15021         * Makefile.in (TESTS): New variable.
15022         (expanded_tests, expanded_tests_or_none): New variables
15023         (check-single): Pass $(expanded_tests_or_none) to runtest.
15024         (check-parallel): Only run tests in $(TESTS) if non-empty.
15025         (check/no-matching-tests-found): New rule.
15026         * README: Document TESTS makefile variable.
15027
15028 2014-02-18  Doug Evans  <dje@google.com>
15029
15030         * Makefile.in (check-parallel): rm -rf outputs temp.
15031
15032 2014-02-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
15033
15034         Fix "ERROR: no fileid for" in the testsuite.
15035         * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
15036
15037 2014-02-12  Doug Evans  <dje@google.com>
15038
15039         * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
15040         (MISCELLANEOUS): New variable.
15041         (clean): rm -rf $(MISCELLANEOUS).
15042         * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
15043         dwp live in the same directory as symlinks, with each symlink pointed
15044         to a differently named file in a different directory.
15045
15046 2014-02-11  Doug Evans  <dje@google.com>
15047
15048         * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
15049         of Tcl file commands.
15050
15051 2014-02-10  Mark Kettenis  <kettenis@gnu.org>
15052
15053         * gdb.threads/step-after-sr-lock.exp: Avoid executing
15054         "kill -SIGUSR1 -1".
15055
15056 2014-02-10  Joel Brobecker  <brobecker@adacore.com>
15057
15058         * gdb.ada/tick_length_array_enum_idx: New testcase.
15059
15060 2014-02-10  Doug Evans  <xdje42@gmail.com>
15061
15062         * configure.ac (AC_OUTPUT): Add gdb.guile.
15063         * configure: Regenerate.
15064         * lib/gdb-guile.exp: New file.
15065         * lib/gdb.exp (get_target_charset): New function.
15066         * gdb.base/help.exp: Update expected output from "apropos apropos".
15067         * gdb.guile/Makefile.in: New file.
15068         * gdb.guile/guile.exp: New file.
15069         * gdb.guile/scm-arch.c: New file.
15070         * gdb.guile/scm-arch.exp: New file.
15071         * gdb.guile/scm-block.c: New file.
15072         * gdb.guile/scm-block.exp: New file.
15073         * gdb.guile/scm-breakpoint.c: New file.
15074         * gdb.guile/scm-breakpoint.exp: New file.
15075         * gdb.guile/scm-disasm.c: New file.
15076         * gdb.guile/scm-disasm.exp: New file.
15077         * gdb.guile/scm-equal.c: New file.
15078         * gdb.guile/scm-equal.exp: New file.
15079         * gdb.guile/scm-error.exp: New file.
15080         * gdb.guile/scm-error.scm: New file.
15081         * gdb.guile/scm-frame-args.c: New file.
15082         * gdb.guile/scm-frame-args.exp: New file.
15083         * gdb.guile/scm-frame-args.scm: New file.
15084         * gdb.guile/scm-frame-inline.c: New file.
15085         * gdb.guile/scm-frame-inline.exp: New file.
15086         * gdb.guile/scm-frame.c: New file.
15087         * gdb.guile/scm-frame.exp: New file.
15088         * gdb.guile/scm-generics.exp: New file.
15089         * gdb.guile/scm-gsmob.exp: New file.
15090         * gdb.guile/scm-iterator.c: New file.
15091         * gdb.guile/scm-iterator.exp: New file.
15092         * gdb.guile/scm-math.c: New file.
15093         * gdb.guile/scm-math.exp: New file.
15094         * gdb.guile/scm-objfile-script-gdb.in: New file.
15095         * gdb.guile/scm-objfile-script.c: New file.
15096         * gdb.guile/scm-objfile-script.exp: New file.
15097         * gdb.guile/scm-objfile.c: New file.
15098         * gdb.guile/scm-objfile.exp: New file.
15099         * gdb.guile/scm-ports.exp: New file.
15100         * gdb.guile/scm-pretty-print.c: New file.
15101         * gdb.guile/scm-pretty-print.exp: New file.
15102         * gdb.guile/scm-pretty-print.scm: New file.
15103         * gdb.guile/scm-section-script.c: New file.
15104         * gdb.guile/scm-section-script.exp: New file.
15105         * gdb.guile/scm-section-script.scm: New file.
15106         * gdb.guile/scm-symbol.c: New file.
15107         * gdb.guile/scm-symbol.exp: New file.
15108         * gdb.guile/scm-symtab-2.c: New file.
15109         * gdb.guile/scm-symtab.c: New file.
15110         * gdb.guile/scm-symtab.exp: New file.
15111         * gdb.guile/scm-type.c: New file.
15112         * gdb.guile/scm-type.exp: New file.
15113         * gdb.guile/scm-value-cc.cc: New file.
15114         * gdb.guile/scm-value-cc.exp: New file.
15115         * gdb.guile/scm-value.c: New file.
15116         * gdb.guile/scm-value.exp: New file.
15117         * gdb.guile/source2.scm: New file.
15118         * gdb.guile/types-module.cc: New file.
15119         * gdb.guile/types-module.exp: New file.
15120
15121 2014-02-10  Yao Qi  <yao@codesourcery.com>
15122
15123         PR testsuite/16543
15124         * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
15125         * configure: Regenerated.
15126         * Makefile.in: New file.
15127
15128 2014-02-08  Andreas Schwab  <schwab@linux-m68k.org>
15129
15130         * gdb.python/py-framefilter.exp: Fix typo.
15131
15132 2014-02-08  Yao Qi  <yao@codesourcery.com>
15133
15134         * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
15135         that no =breakpoint-modified is emitted when breakpoints are
15136         modified through MI commands.
15137
15138 2014-02-07  Pedro Alves  <pedro@codesourcery.com>
15139             Pedro Alves  <palves@redhat.com>
15140
15141         * gdb.threads/step-after-sr-lock.c: New file.
15142         * gdb.threads/step-after-sr-lock.exp: New file.
15143
15144 2014-02-07  Pedro Alves  <palves@redhat.com>
15145
15146         * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
15147
15148 2014-02-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
15149
15150         Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
15151         * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
15152
15153 2014-02-06  Doug Evans  <xdje42@gmail.com>
15154
15155         * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
15156         output.
15157
15158         * gdb.gdb/python-interrupts.exp: New file.
15159
15160 2014-02-05  Yao Qi  <yao@codesourcery.com>
15161
15162         * gdb.trace/report.exp (use_collected_data): Test the output
15163         of "info threads" and "info inferiors".
15164
15165 2014-02-05  Yao Qi  <yao@codesourcery.com>
15166
15167         Revert this patch:
15168
15169         2013-05-24  Yao Qi  <yao@codesourcery.com>
15170
15171         * gdb.trace/tfile.exp: Test inferior and thread.
15172
15173 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15174
15175         * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
15176         on a function.
15177         * gdb.base/step-bt.c: Call hello via function pointer to make
15178         sure its first instruction is executed on powerpc64le-linux.
15179
15180 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15181
15182         * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
15183
15184 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15185
15186         * gdb.arch/vsx-regs.exp: Check target endianness.  Provide variants
15187         of the test patterns for use on little-endian systems.
15188
15189 2014-02-04  Ulrich Weigand  <uweigand@de.ibm.com>
15190
15191         * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
15192         (decimal_vector): Fix for little-endian.
15193
15194 2014-01-29  Jose E. Marchesi  <jose.marchesi@oracle.com>
15195
15196         * gdb.arch/sparc-sysstep.exp: New file.
15197         * gdb.arch/sparc-sysstep.c: Likewise.
15198
15199         * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
15200
15201 2014-01-28  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
15202
15203         * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
15204
15205 2014-01-23  Tom Tromey  <tromey@redhat.com>
15206
15207         * gdb.ada/array_char_idx: New testcase.
15208
15209 2014-01-23  Tom Tromey  <tromey@redhat.com>
15210
15211         PR python/16487:
15212         * gdb.python/py-framefilter.exp: Add test using "Error" filter.
15213         * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
15214         classes.
15215
15216 2014-01-23  Tom Tromey  <tromey@redhat.com>
15217
15218         PR python/16491:
15219         * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
15220         string from an inferior frame.
15221         * gdb.python/py-framefilter-mi.exp: Update.
15222
15223 2014-01-22  Doug Evans  <dje@google.com>
15224
15225         * gdb.server/server-mon.exp: Add tests for "set debug-format".
15226
15227 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15228
15229         * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
15230
15231 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15232
15233         * gdb.trace/entry-values.exp: Remove excess space character from
15234         regex patterns.  Handle s390 call instruction.
15235
15236 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15237
15238         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
15239         define "*_start" label.  Make "name" static.
15240         * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
15241         ${name} by references to ${name}_start.
15242
15243 2014-01-22  Andreas Arnez  <arnez@vnet.linux.ibm.com>
15244
15245         * gdb.base/info-macros.exp: Remove "debug" from the compile
15246         options.
15247
15248 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
15249
15250         * gdb.dlang/demangle.exp: New file.
15251
15252 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
15253
15254         * gdb.dlang/primitive-types.exp: New file.
15255
15256 2014-01-17  Iain Buclaw  <ibuclaw@gdcproject.org>
15257
15258         * configure.ac: Create gdb.dlang/Makefile.
15259         * configure: Regenerate.
15260         * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
15261         * gdb.dlang/Makefile.in: New file.
15262         * lib/d-support.exp: New file.
15263         * lib/gdb.exp (skip_d_tests): New proc.
15264
15265 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15266
15267         * gdb.btrace/delta.exp: Check reverse stepi.
15268         * gdb.btrace/tailcall.exp: Update.  Add stepping tests.
15269         * gdb.btrace/finish.exp: New.
15270         * gdb.btrace/next.exp: New.
15271         * gdb.btrace/nexti.exp: New.
15272         * gdb.btrace/record_goto.c: Add comments.
15273         * gdb.btrace/step.exp: New.
15274         * gdb.btrace/stepi.exp: New.
15275         * gdb.btrace/multi-thread-step.c: New.
15276         * gdb.btrace/multi-thread-step.exp: New.
15277         * gdb.btrace/rn-dl-bind.c: New.
15278         * gdb.btrace/rn-dl-bind.exp: New.
15279         * gdb.btrace/data.c: New.
15280         * gdb.btrace/data.exp: New.
15281         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15282
15283 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15284
15285         * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
15286         * gdb.btrace/exception.exp: Update.
15287         * gdb.btrace/instruction_history.exp: Update.
15288         * gdb.btrace/record_goto.exp: Update.
15289         * gdb.btrace/tailcall.exp: Update.
15290         * gdb.btrace/unknown_functions.exp: Update.
15291         * gdb.btrace/delta.exp: New.
15292
15293 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15294
15295         * gdb.btrace/record_goto.exp: Add backtrace test.
15296         * gdb.btrace/tailcall.exp: Add backtrace test.
15297
15298 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15299
15300         * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
15301         * gdb.btrace/record_goto.c: New.
15302         * gdb.btrace/record_goto.exp: New.
15303         * gdb.btrace/x86-record_goto.S: New.
15304
15305 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15306
15307         * gdb.btrace/function_call_history.exp: Update tests.
15308         * gdb.btrace/instruction_history.exp: Update tests.
15309
15310 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15311
15312         * gdb.btrace/function_call_history.exp: Fix expected field
15313         order for "record function-call-history".
15314         Add new tests for "record function-call-history /c".
15315         * gdb.btrace/exception.cc: New.
15316         * gdb.btrace/exception.exp: New.
15317         * gdb.btrace/tailcall.exp: New.
15318         * gdb.btrace/x86-tailcall.S: New.
15319         * gdb.btrace/x86-tailcall.c: New.
15320         * gdb.btrace/unknown_functions.c: New.
15321         * gdb.btrace/unknown_functions.exp: New.
15322         * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
15323
15324 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15325
15326         * gdb.btrace/instruction_history.exp: Update.
15327         * gdb.btrace/function_call_history.exp: Update.
15328
15329 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15330
15331         * gdb.btrace/function_call_history.exp: Fix expected function
15332         trace.
15333         * gdb.btrace/instruction_history.exp: Initialize traced.
15334         Remove traced_functions.
15335
15336 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15337
15338         * gdb.btrace/function_call_history.exp: Update
15339         * gdb.btrace/instruction_history.exp: Update.
15340
15341 2014-01-16  Markus Metzger  <markus.t.metzger@intel.com>
15342
15343         * gdb.btrace/enable.exp: Update expected text.
15344
15345 2014-01-16  Omair Javaid  <Omair.Javaid@linaro.org>
15346
15347         * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
15348         bytes.
15349
15350 2014-01-15  Maciej W. Rozycki  <macro@codesourcery.com>
15351
15352         * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
15353
15354 2014-01-15  Omair Javaid  <omair.javaid@linaro.org>
15355
15356         * lib/gdb.exp (supports_process_record): Return true for
15357         arm*-linux*.  (supports_reverse): Likewise.
15358
15359 2014-01-13  Siva Chandra Reddy  <sivachandra@google.com>
15360
15361         PR python/15464
15362         PR python/16113
15363         * gdb.python/py-type.c: Enhance test case.
15364         * gdb.python/py-value-cc.cc: Likewise
15365         * gdb.python/py-type.exp: Add new tests.
15366         * gdb.python/py-value-cc.exp: Likewise
15367
15368 2014-01-10  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15369             Pedro Alves <palves@redhat.com>
15370
15371         * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
15372         Make "name" extern.
15373         * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
15374         references to ${name}_start by references to ${name}.
15375
15376 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15377
15378         * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
15379
15380 2014-01-10  Joel Brobecker  <brobecker@adacore.com>
15381
15382         * gdb.python/py-pp-integral.exp: Remove path from "source" test.
15383
15384 2014-01-09  Maciej W. Rozycki  <macro@codesourcery.com>
15385             Pedro Alves  <palves@redhat.com>
15386
15387         * gdb.mi/mi-info-os.exp: Connect to the target with
15388         mi_gdb_target_load.
15389
15390 2014-01-08  Pedro Alves  <palves@redhat.com>
15391
15392         * gdb.threads/reconnect-signal.c: New file.
15393         * gdb.threads/reconnect-signal.exp: New file.
15394
15395 2014-01-07  Jan Kratochvil  <jan.kratochvil@redhat.com>
15396
15397         * gdb.base/source-dir.exp: New file.
15398
15399 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15400
15401         * gdb.ada/mi_interface: New testcase.
15402
15403 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15404
15405         * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
15406         gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
15407         gdb.ada/pp-rec-component/pck.ads: New files.
15408
15409 2014-01-07  Joel Brobecker  <brobecker@adacore.com>
15410
15411         * gdb.python/py-pp-integral.c: New file.
15412         * gdb.python/py-pp-integral.py: New file.
15413         * gdb.python/py-pp-integral.exp: New file.
15414
15415 For older changes see ChangeLog-1993-2013.
15416 \f
15417 ;; Local Variables:
15418 ;; mode: change-log
15419 ;; left-margin: 8
15420 ;; fill-column: 74
15421 ;; version-control: never
15422 ;; End:
15423
15424     Copyright 2014-2019 Free Software Foundation, Inc.
15425   Copying and distribution of this file, with or without modification,
15426   are permitted provided the copyright notice and this notice are preserved.